/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCLowerMASSVEntries.cpp | 55 static std::string createMASSVFuncName(Function &Func, 57 bool lowerMASSVCall(CallInst *CI, Function &Func, Module &M, 91 PPCLowerMASSVEntries::createMASSVFuncName(Function &Func, argument 94 auto GenericName = Func.getName().drop_back(MASSVSuffixLength).str(); 102 bool PPCLowerMASSVEntries::lowerMASSVCall(CallInst *CI, Function &Func, argument 108 std::string MASSVEntryName = createMASSVFuncName(Func, Subtarget); 110 MASSVEntryName, Func.getFunctionType(), Func.getAttributes()); 128 for (Function &Func : M) { 129 if (!Func [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | Iterator.cpp | 76 bool isInsertCall(const FunctionDecl *Func) { argument 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) { argument 88 const auto *IdInfo = Func->getIdentifier(); 91 if (Func->getNumParams() < 2) 93 if (!isIteratorType(Func->getParamDecl(0)->getType())) 98 bool isEraseCall(const FunctionDecl *Func) { argument 112 isEraseAfterCall(const FunctionDecl *Func) argument [all...] |
H A D | InvalidatedIteratorChecker.cpp | 53 const auto *Func = dyn_cast_or_null<FunctionDecl>(Call.getDecl()); local 54 if (!Func) 57 if (Func->isOverloadedOperator() && 58 isAccessOperator(Func->getOverloadedOperator())) {
|
H A D | MismatchedIteratorChecker.cpp | 64 const auto *Func = dyn_cast_or_null<FunctionDecl>(Call.getDecl()); local 65 if (!Func) 68 if (Func->isOverloadedOperator() && 69 isComparisonOperator(Func->getOverloadedOperator())) { 95 if (isEraseCall(Func) || isEraseAfterCall(Func)) { 102 } else if (isInsertCall(Func)) { 110 } else if (isEmplaceCall(Func)) { 149 const auto *Templ = Func->getPrimaryTemplate(); 154 const auto *TArgs = Func [all...] |
H A D | IteratorRangeChecker.cpp | 63 const auto *Func = dyn_cast_or_null<FunctionDecl>(Call.getDecl()); local 64 if (!Func) 67 if (Func->isOverloadedOperator()) { 68 if (isIncrementOperator(Func->getOverloadedOperator())) { 77 } else if (isDecrementOperator(Func->getOverloadedOperator())) { 86 } else if (isRandomIncrOrDecrOperator(Func->getOverloadedOperator())) { 91 verifyRandomIncrOrDecr(C, Func->getOverloadedOperator(), 98 verifyRandomIncrOrDecr(C, Func->getOverloadedOperator(), 102 } else if (isDereferenceOperator(Func->getOverloadedOperator())) {
|
H A D | IteratorModeling.cpp | 140 bool isBeginCall(const FunctionDecl *Func); 141 bool isEndCall(const FunctionDecl *Func); 142 bool isAssignCall(const FunctionDecl *Func); 143 bool isClearCall(const FunctionDecl *Func); 144 bool isPushBackCall(const FunctionDecl *Func); 145 bool isEmplaceBackCall(const FunctionDecl *Func); 146 bool isPopBackCall(const FunctionDecl *Func); 147 bool isPushFrontCall(const FunctionDecl *Func); 148 bool isEmplaceFrontCall(const FunctionDecl *Func); 149 bool isPopFrontCall(const FunctionDecl *Func); 208 const auto *Func = dyn_cast_or_null<FunctionDecl>(Call.getDecl()); local 1153 isBeginCall(const FunctionDecl *Func) argument 1160 isEndCall(const FunctionDecl *Func) argument 1167 isAssignCall(const FunctionDecl *Func) argument 1176 isClearCall(const FunctionDecl *Func) argument 1185 isPushBackCall(const FunctionDecl *Func) argument 1194 isEmplaceBackCall(const FunctionDecl *Func) argument 1203 isPopBackCall(const FunctionDecl *Func) argument 1212 isPushFrontCall(const FunctionDecl *Func) argument 1221 isEmplaceFrontCall(const FunctionDecl *Func) argument 1230 isPopFrontCall(const FunctionDecl *Func) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | EntryExitInstrumenter.cpp | 21 static void insertCall(Function &CurFn, StringRef Func, argument 26 if (Func == "mcount" || 27 Func == ".mcount" || 28 Func == "llvm.arm.gnu.eabi.mcount" || 29 Func == "\01_mcount" || 30 Func == "\01mcount" || 31 Func == "__mcount" || 32 Func == "_mcount" || 33 Func == "__cyg_profile_func_enter_bare") { 34 FunctionCallee Fn = M.getOrInsertFunction(Func, Typ [all...] |
H A D | 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) { 136 performCallDomainErrorOnly(CallInst *CI, const LibFunc &Func) argument 188 performCallRangeErrorOnly(CallInst *CI, const LibFunc &Func) argument 226 performCallErrors(CallInst *CI, const LibFunc &Func) argument 319 generateOneRangeCond(CallInst *CI, const LibFunc &Func) argument 341 generateTwoRangeCond(CallInst *CI, const LibFunc &Func) argument 420 generateCondForPow(CallInst *CI, const LibFunc &Func) argument 506 LibFunc Func; local [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | InterpFrame.cpp | 20 InterpFrame::InterpFrame(InterpState &S, Function *Func, InterpFrame *Caller, argument 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 [all...] |
H A D | Context.cpp | 29 Function *Func = P->getFunction(FD); local 30 if (!Func) { 32 Func = *R; 41 if (!Func->isConstexpr()) 45 return Run(Parent, Func, Dummy); 112 bool Context::Run(State &Parent, Function *Func, APValue &Result) { argument 114 State.Current = new InterpFrame(State, Func, nullptr, {}, {});
|
H A D | 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; member in class:clang::interp::final
|
H A D | Program.h | 77 auto *Func = new Function(*this, Def, std::forward<Ts>(Args)...); local 78 Funcs.insert({Def, std::unique_ptr<Function>(Func)}); 79 return Func; 84 auto *Func = new Function(*this, std::forward<Ts>(Args)...); local 85 AnonFuncs.emplace_back(Func); 86 return Func;
|
H A D | Disasm.cpp | 63 for (auto &Func : Funcs) { 64 Func.second->dump();
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | Threading.cpp | 62 llvm::unique_function<void()> Func, 64 (void)Func; 72 llvm::unique_function<void()> Func, 75 std::thread(std::move(Func)).detach(); 135 llvm::unique_function<void()> Func, 138 new AsyncThreadInfo(std::move(Func)), 61 llvm_execute_on_thread_async( llvm::unique_function<void()> Func, llvm::Optional<unsigned> StackSizeInBytes) argument 71 llvm_execute_on_thread_async( llvm::unique_function<void()> Func, llvm::Optional<unsigned> StackSizeInBytes) argument 134 llvm_execute_on_thread_async( llvm::unique_function<void()> Func, llvm::Optional<unsigned> StackSizeInBytes) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/DIA/ |
H A D | DIAUtils.h | 17 HRESULT (__stdcall Obj::*Func)(BSTR *)) { 19 HRESULT Result = (Object.*Func)(&Str16);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUHSAMetadataStreamer.cpp | 265 void MetadataStreamerV2::emitKernelLanguage(const Function &Func) { argument 269 auto Node = Func.getParent()->getNamedMetadata("opencl.ocl.version"); 283 void MetadataStreamerV2::emitKernelAttrs(const Function &Func) { argument 286 if (auto Node = Func.getMetadata("reqd_work_group_size")) 288 if (auto Node = Func.getMetadata("work_group_size_hint")) 290 if (auto Node = Func.getMetadata("vec_type_hint")) { 295 if (Func.hasFnAttribute("runtime-handle")) { 297 Func.getFnAttribute("runtime-handle").getValueAsString().str(); 301 void MetadataStreamerV2::emitKernelArgs(const Function &Func) { argument 302 for (auto &Arg : Func 309 auto Func = Arg.getParent(); local 399 emitHiddenKernelArgs(const Function &Func) argument 472 auto &Func = MF.getFunction(); local 677 emitKernelLanguage(const Function &Func, msgpack::MapDocNode Kern) argument 696 emitKernelAttrs(const Function &Func, msgpack::MapDocNode Kern) argument 717 emitKernelArgs(const Function &Func, msgpack::MapDocNode Kern) argument 731 auto Func = Arg.getParent(); local 835 emitHiddenKernelArgs(const Function &Func, unsigned &Offset, msgpack::ArrayDocNode Args) argument 943 auto &Func = MF.getFunction(); local [all...] |
H A D | AMDGPUHSAMetadataStreamer.h | 81 void emitKernelLanguage(const Function &Func, msgpack::MapDocNode Kern); 83 void emitKernelAttrs(const Function &Func, msgpack::MapDocNode Kern); 85 void emitKernelArgs(const Function &Func, msgpack::MapDocNode Kern); 96 void emitHiddenKernelArgs(const Function &Func, unsigned &Offset, 153 void emitKernelLanguage(const Function &Func); 155 void emitKernelAttrs(const Function &Func); 157 void emitKernelArgs(const Function &Func); 167 void emitHiddenKernelArgs(const Function &Func);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | RecordSerialization.h | 74 serialize_conditional_impl(T &Item, U Func) : Item(Item), Func(Func) {} argument 77 if (!Func()) 83 U Func; member in struct:llvm::codeview::serialize_conditional_impl 87 serialize_conditional_impl<T, U> serialize_conditional(T &Item, U Func) { argument 88 return serialize_conditional_impl<T, U>(Item, Func); 92 serialize_array_impl(ArrayRef<T> &Item, U Func) : Item(Item), Func(Func) {} argument 99 U Func; member in struct:llvm::codeview::serialize_array_impl 162 serialize_array(ArrayRef<T> &Item, U Func) argument [all...] |
H A D | TypeCollection.h | 34 template <typename TFunc> void ForEachRecord(TFunc Func) { argument 39 Func(N, getType(N));
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | CallPrinter.cpp | 31 if (Function *Func = Node->getFunction()) 32 return Func->getName();
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cov/ |
H A D | llvm-cov.cpp | 69 MainFunction Func = StringSwitch<MainFunction>(argv[1]) local 79 if (Func) { 82 return Func(argc - 1, argv + 1);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/RPC/ |
H A D | RPCUtils.h | 180 /// template <typename Func> T allocate(): 181 /// Allocate a unique id for function Func. 194 template <typename Func> T allocate() { return NextId++; } 1001 /// Negotiate a function id for Func with the other end of the channel. 1002 template <typename Func> Error negotiateFunction(bool Retry = false) { 1003 return getRemoteFunctionId<Func>(true, Retry).takeError(); 1006 /// Append a call Func, does not call send on the channel. 1008 /// function returns. The handler should take an Expected<Func::ReturnType>, 1009 /// or an Error (if Func::ReturnType is void). The handler will be called 1011 template <typename Func, typenam [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/ |
H A D | PDBContext.cpp | 41 if (auto Func = dyn_cast_or_null<PDBSymbolFunc>(Symbol.get())) { 42 Length = Func->getLength(); 106 auto *Func = dyn_cast_or_null<PDBSymbolFunc>(FuncSymbol.get()); local 118 if (!Func || Func->getVirtualAddress() == PS->getVirtualAddress()) 123 return Func ? Func->getName() : std::string();
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsCCState.h | 33 const Type *RetTy, const char * Func); 44 const char *Func); 92 const char *Func) { 93 PreAnalyzeCallOperands(Outs, FuncArgs, Func); 121 const char *Func) { 122 PreAnalyzeCallResultForF128(Ins, RetTy, Func); 89 AnalyzeCallOperands(const SmallVectorImpl<ISD::OutputArg> &Outs, CCAssignFn Fn, std::vector<TargetLowering::ArgListEntry> &FuncArgs, const char *Func) argument 119 AnalyzeCallResult(const SmallVectorImpl<ISD::InputArg> &Ins, CCAssignFn Fn, const Type *RetTy, const char *Func) argument
|
H A D | MipsCCState.cpp | 40 static bool originalTypeIsF128(const Type *Ty, const char *Func) { argument 50 return (Func && Ty->isIntegerTy(128) && isF128SoftLibCall(Func)); 134 const char *Func) { 138 OriginalArgWasF128.push_back(originalTypeIsF128(FuncArg.Ty, Func)); 131 PreAnalyzeCallOperands( const SmallVectorImpl<ISD::OutputArg> &Outs, std::vector<TargetLowering::ArgListEntry> &FuncArgs, const char *Func) argument
|