| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | TargetLibraryInfo.h | 112 bool getLibFunc(StringRef funcName, LibFunc &F) const; 121 bool getLibFunc(const Function &FDecl, LibFunc &F) const; 251 if (getLibFunc(AttrStr, LF)) 294 bool getLibFunc(StringRef funcName, LibFunc &F) const { in getLibFunc() function 295 return Impl->getLibFunc(funcName, F); in getLibFunc() 298 bool getLibFunc(const Function &FDecl, LibFunc &F) const { in getLibFunc() function 299 return Impl->getLibFunc(FDecl, F); in getLibFunc() 304 bool getLibFunc(const CallBase &CB, LibFunc &F) const { in getLibFunc() function 306 getLibFunc(*(CB.getCalledFunction()), F); in getLibFunc()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | PGOMemOPSizeOpt.cpp | 146 if (asMI() == nullptr && TLI.getLibFunc(*asCI(), Func) && in isMemcmp() 154 if (asMI() == nullptr && TLI.getLibFunc(*asCI(), Func) && in isBcmp() 164 if (TLI.getLibFunc(*asCI(), Func)) { in getName() 210 if (TLI.getLibFunc(CI, Func) && in visitCallInst()
|
| H A D | ValueProfilePlugins.inc | 60 if (TLI.getLibFunc(CI, Func) &&
|
| H A D | GCOVProfiling.cpp | 634 if (TLI->getLibFunc(*Callee, LF)) { in AddFlushBeforeForkAndExec()
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | TargetLibraryInfoTest.cpp | 51 if (!TLI.getLibFunc(*FDecl, F)) in isLibFunc()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | MemoryOpRemark.cpp | 53 bool KnownLibCall = TLI.getLibFunc(*CF, LF) && TLI.has(LF); in canHandle() 249 bool KnownLibCall = TLI.getLibFunc(*F, LF) && TLI.has(LF); in visitCall()
|
| H A D | LibCallsShrinkWrap.cpp | 302 if (!TLI.getLibFunc(*Callee, Func) || !TLI.has(Func)) in checkCandidate() 507 TLI.getLibFunc(*Callee, Func); in perform()
|
| H A D | MetaRenamer.cpp | 189 GetTLI(F).getLibFunc(F, Tmp) || in MetaRename()
|
| H A D | SimplifyLibCalls.cpp | 1774 TLI->getLibFunc(CalleeFn->getName(), LibFn) && in replacePowWithExp() 2170 if (TLI->getLibFunc(LogNm, LogLb)) in optimizeLog() 2260 TLI->getLibFunc(*Arg, ArgLb); in optimizeLog() 2394 if (F && TLI->getLibFunc(F->getName(), Func) && in optimizeTan() 2437 TLI->getLibFunc(Name, TheLibFunc); in insertSinCosCall() 2526 if (!Callee || !TLI->getLibFunc(*Callee, Func) || in classifyArgUse() 3178 if (TLI->getLibFunc(*Callee, Func) && isLibFuncEmittable(M, TLI, Func)) { in optimizeStringMemoryLibCall() 3442 if (TLI->getLibFunc(*Callee, Func) && isLibFuncEmittable(M, TLI, Func)) { in optimizeCall() 3853 if (!TLI->getLibFunc(*Callee, Func)) in optimizeCall()
|
| H A D | BuildLibCalls.cpp | 268 if (!(TLI.getLibFunc(F, TheLibFunc) && TLI.has(TheLibFunc))) in inferNonMandatoryLibFuncAttrs() 1378 return TLI->getLibFunc(Name, TheLibFunc) && in isLibFuncEmittable() 1687 TLI->getLibFunc(Name, TheLibFunc); in emitUnaryFloatFnCall() 1740 TLI->getLibFunc(Name, TheLibFunc); in emitBinaryFloatFnCall()
|
| H A D | Local.cpp | 2773 if (TLI.getLibFunc(*Call, LF)) { in callsGCLeafFunction() 3263 TLI->getLibFunc(F->getName(), Func) && TLI->hasOptimizedCodeGen(Func) && in maybeMarkSanitizerLibraryCallNoBuiltin()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyPeephole.cpp | 140 if (LibInfo.getLibFunc(Name, Func)) { in runOnMachineFunction()
|
| H A D | WebAssemblyMemIntrinsicResults.cpp | 165 if (!LibInfo.getLibFunc(Name, Func)) in optimizeCall()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | PartiallyInlineLibCalls.cpp | 135 !TLI->getLibFunc(*CalledFunc, LF) || !TLI->has(LF)) in runPartiallyInlineLibCalls()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | MemoryBuiltins.cpp | 183 if (!TLI || !TLI->getLibFunc(*Callee, TLIFn) || !TLI->has(TLIFn)) in getAllocationDataForFunction() 537 if (TLI && TLI->getLibFunc(*Callee, TLIFn) && TLI->has(TLIFn)) { in getAllocationFamily() 583 if (TLI && TLI->getLibFunc(*Callee, TLIFn) && TLI->has(TLIFn) && in getFreedOperand() 918 if (!TLI || !TLI->getLibFunc(*CB->getCalledFunction(), TLIFn) || in findLoadSizeOffset()
|
| H A D | MemoryLocation.cpp | 248 if (TLI && TLI->getLibFunc(*Call, F) && TLI->has(F)) { in getForArgument()
|
| H A D | TargetLibraryInfo.cpp | 900 bool TargetLibraryInfoImpl::getLibFunc(StringRef funcName, LibFunc &F) const { in getLibFunc() function in TargetLibraryInfoImpl 1806 bool TargetLibraryInfoImpl::getLibFunc(const Function &FDecl, in getLibFunc() function in TargetLibraryInfoImpl 1816 return getLibFunc(FDecl.getName(), F) && in getLibFunc()
|
| H A D | ConstantFolding.cpp | 2196 if (!TLI->getLibFunc(Name, Func)) in ConstantFoldScalarCall1() 2541 if (!TLI->getLibFunc(Name, Func)) in ConstantFoldScalarCall2() 3208 if (!TLI->getLibFunc(*F, LibF)) in ConstantFoldCall() 3242 if (!TLI || !TLI->getLibFunc(*F, Func)) in isMathLibCallNoop()
|
| H A D | BranchProbabilityInfo.cpp | 1008 TLI->getLibFunc(*CalledFn, Func); in calcZeroHeuristics()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | ModuleInliner.cpp | 105 return TLI.getLibFunc(F, LF) || in isKnownLibFunction()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 443 if (!TLI.getLibFunc(*Call, Func) || !isLibFuncEmittable(M, &TLI, Func)) in foldSqrt()
|
| /llvm-project-15.0.7/llvm/tools/opt/ |
| H A D | opt.cpp | 717 if (TLII.getLibFunc(FuncName, F)) in main()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | ExpandMemCmp.cpp | 866 if (TLI->getLibFunc(*CI, Func) && in runOnBlock()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorizationLegality.cpp | 751 TLI->getLibFunc(CI->getCalledFunction()->getName(), Func) && in canVectorizeInstrs()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.cpp | 570 LibInfo->getLibFunc(F->getName(), Func) && in mightUseCTR()
|