| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.cp/ |
| namelessclass.cc | 35 template <typename Func> 36 int fudge (Func func) { return func (); }
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.cp/ |
| namelessclass.cc | 35 template <typename Func> 36 int fudge (Func func) { return func (); }
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
| PPCLowerMASSVEntries.cpp | 56 static std::string createMASSVFuncName(Function &Func, 58 bool handlePowSpecialCases(CallInst *CI, Function &Func, Module &M); 59 bool lowerMASSVCall(CallInst *CI, Function &Func, Module &M, 92 PPCLowerMASSVEntries::createMASSVFuncName(Function &Func, 95 auto GenericName = Func.getName().drop_back(MASSVSuffixLength).str(); 102 bool PPCLowerMASSVEntries::handlePowSpecialCases(CallInst *CI, Function &Func, 104 if (Func.getName() != "__powf4_P8" && Func.getName() != "__powd2_P8") 131 bool PPCLowerMASSVEntries::lowerMASSVCall(CallInst *CI, Function &Func, 138 if (handlePowSpecialCases(CI, Func, M) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| EntryExitInstrumenter.cpp | 24 static void insertCall(Function &CurFn, StringRef Func, 29 if (Func == "mcount" || 30 Func == ".mcount" || 31 Func == "llvm.arm.gnu.eabi.mcount" || 32 Func == "\01_mcount" || 33 Func == "\01mcount" || 34 Func == "__mcount" || 35 Func == "_mcount" || 36 Func == "__cyg_profile_func_enter_bare") { 37 FunctionCallee Fn = M.getOrInsertFunction(Func, Type::getVoidTy(C)) [all...] |
| LibCallsShrinkWrap.cpp | 96 bool performCallDomainErrorOnly(CallInst *CI, const LibFunc &Func); 97 bool performCallErrors(CallInst *CI, const LibFunc &Func); 98 bool performCallRangeErrorOnly(CallInst *CI, const LibFunc &Func); 99 Value *generateOneRangeCond(CallInst *CI, const LibFunc &Func); 100 Value *generateTwoRangeCond(CallInst *CI, const LibFunc &Func); 101 Value *generateCondForPow(CallInst *CI, const LibFunc &Func); 137 const LibFunc &Func) { 140 switch (Func) { 189 const LibFunc &Func) { 192 switch (Func) { [all...] |
| /src/external/apache2/llvm/dist/clang/lib/AST/Interp/ |
| InterpFrame.cpp | 20 InterpFrame::InterpFrame(InterpState &S, Function *Func, InterpFrame *Caller, 22 : Caller(Caller), S(S), Func(Func), This(std::move(This)), RetPC(RetPC), 23 ArgSize(Func ? Func->getArgSize() : 0), 25 if (Func) { 26 if (unsigned FrameSize = Func->getFrameSize()) { 28 for (auto &Scope : Func->scopes()) { 39 if (Func && Func->isConstructor() && This.isBaseClass() [all...] |
| Context.cpp | 30 Function *Func = P->getFunction(FD); 31 if (!Func) { 33 Func = *R; 42 if (!Func->isConstexpr()) 46 return Run(Parent, Func, Dummy); 113 bool Context::Run(State &Parent, Function *Func, APValue &Result) { 115 State.Current = new InterpFrame(State, Func, nullptr, {}, {});
|
| InterpFrame.h | 35 InterpFrame(InterpState &S, Function *Func, InterpFrame *Caller, 60 Function *getFunction() const { return Func; } 100 bool isRoot() const { return !Func; } 103 CodePtr getPC() const { return Func->getCodeBegin(); } 133 Function *Func;
|
| Program.h | 77 auto *Func = new Function(*this, Def, std::forward<Ts>(Args)...); 78 Funcs.insert({Def, std::unique_ptr<Function>(Func)}); 79 return Func; 84 auto *Func = new Function(*this, std::forward<Ts>(Args)...); 85 AnonFuncs.emplace_back(Func); 86 return Func;
|
| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| Threading.cpp | 65 llvm::unique_function<void()> Func, 67 (void)Func; 75 llvm::unique_function<void()> Func, 78 std::thread(std::move(Func)).detach(); 126 llvm::unique_function<void()> Func, 129 new AsyncThreadInfo(std::move(Func)),
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/DIA/ |
| DIAUtils.h | 17 HRESULT (__stdcall Obj::*Func)(BSTR *)) { 19 HRESULT Result = (Object.*Func)(&Str16);
|
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| Iterator.cpp | 76 bool isInsertCall(const FunctionDecl *Func) { 77 const auto *IdInfo = Func->getIdentifier(); 80 if (Func->getNumParams() < 2 || Func->getNumParams() > 3) 82 if (!isIteratorType(Func->getParamDecl(0)->getType())) 87 bool isEmplaceCall(const FunctionDecl *Func) { 88 const auto *IdInfo = Func->getIdentifier(); 91 if (Func->getNumParams() < 2) 93 if (!isIteratorType(Func->getParamDecl(0)->getType())) 98 bool isEraseCall(const FunctionDecl *Func) { [all...] |
| MismatchedIteratorChecker.cpp | 65 const auto *Func = dyn_cast_or_null<FunctionDecl>(Call.getDecl()); 66 if (!Func) 69 if (Func->isOverloadedOperator() && 70 isComparisonOperator(Func->getOverloadedOperator())) { 96 if (isEraseCall(Func) || isEraseAfterCall(Func)) { 103 } else if (isInsertCall(Func)) { 111 } else if (isEmplaceCall(Func)) { 150 const auto *Templ = Func->getPrimaryTemplate(); 155 const auto *TArgs = Func->getTemplateSpecializationArgs() [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| AMDGPUHSAMetadataStreamer.cpp | 246 void MetadataStreamerV2::emitKernelLanguage(const Function &Func) { 250 auto Node = Func.getParent()->getNamedMetadata("opencl.ocl.version"); 264 void MetadataStreamerV2::emitKernelAttrs(const Function &Func) { 267 if (auto Node = Func.getMetadata("reqd_work_group_size")) 269 if (auto Node = Func.getMetadata("work_group_size_hint")) 271 if (auto Node = Func.getMetadata("vec_type_hint")) { 276 if (Func.hasFnAttribute("runtime-handle")) { 278 Func.getFnAttribute("runtime-handle").getValueAsString().str(); 282 void MetadataStreamerV2::emitKernelArgs(const Function &Func) { 283 for (auto &Arg : Func.args() [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/ |
| RecordSerialization.h | 74 serialize_conditional_impl(T &Item, U Func) : Item(Item), Func(Func) {} 77 if (!Func()) 83 U Func; 87 serialize_conditional_impl<T, U> serialize_conditional(T &Item, U Func) { 88 return serialize_conditional_impl<T, U>(Item, Func); 92 serialize_array_impl(ArrayRef<T> &Item, U Func) : Item(Item), Func(Func) {} [all...] |
| TypeCollection.h | 34 template <typename TFunc> void ForEachRecord(TFunc Func) { 39 Func(N, getType(N));
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/ |
| ObjCARC.cpp | 47 FunctionCallee Func, ArrayRef<Value *> Args, const Twine &NameStr, 50 FunctionType *FTy = Func.getFunctionType(); 51 Value *Callee = Func.getCallee(); 107 Function *Func = EP.get(IsRetainRV ? ARCRuntimeEntryPointKind::RetainRV 109 Type *ParamTy = Func->getArg(0)->getType(); 112 createCallInstWithColors(Func, CallArg, "", InsertPt, BlockColors);
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
| ValueProfilePlugins.inc | 58 LibFunc Func; 59 if (TLI.getLibFunc(CI, Func) && 60 (Func == LibFunc_memcmp || Func == LibFunc_bcmp)) {
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/Utils/ |
| AMDGPULDSUtils.h | 22 bool isKernelCC(Function *Func);
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-cov/ |
| llvm-cov.cpp | 69 MainFunction Func = StringSwitch<MainFunction>(argv[1]) 79 if (Func) { 82 return Func(argc - 1, argv + 1);
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| AbstractCallSite.h | 224 /// Apply function Func to each CB's callback call site. 226 void forEachCallbackCallSite(const CallBase &CB, UnaryFunction Func) { 232 Func(ACS); 236 /// Apply function Func to each CB's callback function. 238 void forEachCallbackFunction(const CallBase &CB, UnaryFunction Func) { 239 forEachCallbackCallSite(CB, [&Func](AbstractCallSite &ACS) { 241 Func(Callback);
|
| /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/ |
| PDBContext.cpp | 41 if (auto Func = dyn_cast_or_null<PDBSymbolFunc>(Symbol.get())) { 42 Length = Func->getLength(); 141 auto *Func = dyn_cast_or_null<PDBSymbolFunc>(FuncSymbol.get()); 153 if (!Func || Func->getVirtualAddress() == PS->getVirtualAddress()) 158 return Func ? Func->getName() : std::string();
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
| RPCUtils.h | 185 /// template <typename Func> T allocate(): 186 /// Allocate a unique id for function Func. 198 template <typename Func> T allocate() { return NextId++; } 994 /// Negotiate a function id for Func with the other end of the channel. 995 template <typename Func> Error negotiateFunction(bool Retry = false) { 996 return getRemoteFunctionId<Func>(true, Retry).takeError(); 999 /// Append a call Func, does not call send on the channel. 1001 /// function returns. The handler should take an Expected<Func::ReturnType>, 1002 /// or an Error (if Func::ReturnType is void). The handler will be called 1004 template <typename Func, typename HandlerT, typename... ArgTs [all...] |
| /src/external/gpl3/gcc/dist/libsanitizer/tsan/ |
| tsan_platform.h | 684 template <typename Func, typename Arg> 690 return Func::template Apply<MappingGoPPC64_46>(arg); 692 return Func::template Apply<MappingGoPPC64_47>(arg); 695 return Func::template Apply<MappingGoMips64_47>(arg); 697 return Func::template Apply<MappingGoS390x>(arg); 699 return Func::template Apply<MappingGoAarch64>(arg); 701 return Func::template Apply<MappingGoWindows>(arg); 703 return Func::template Apply<MappingGo48>(arg); 707 return Func::template Apply<MappingAppleAarch64>(arg); 709 return Func::template Apply<Mapping48AddressSpace>(arg) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/ProfileData/ |
| InstrProfWriter.cpp | 256 for (auto &Func : I.getValue()) 257 addRecord(I.getKey(), Func.first, std::move(Func.second), 1, Warn); 263 for (const auto &Func : PD) { 264 const InstrProfRecord &IPR = Func.second; 410 Error InstrProfWriter::validateRecord(const InstrProfRecord &Func) { 412 uint32_t NS = Func.getNumValueSites(VK); 416 uint32_t ND = Func.getNumValueDataForSite(VK, S); 417 std::unique_ptr<InstrProfValueData[]> VD = Func.getValueForSite(VK, S); 432 const InstrProfRecord &Func, [all...] |