| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetLibraryInfo.h | 152 LLVM_ABI bool getLibFunc(StringRef funcName, LibFunc &F) const; 161 LLVM_ABI bool getLibFunc(const Function &FDecl, LibFunc &F) const; 165 LLVM_ABI bool getLibFunc(unsigned int Opcode, Type *Ty, LibFunc &F) const; 316 if (getLibFunc(AttrStr, LF)) 352 bool getLibFunc(StringRef funcName, LibFunc &F) const { in getLibFunc() function 353 return Impl->getLibFunc(funcName, F); in getLibFunc() 356 bool getLibFunc(const Function &FDecl, LibFunc &F) const { in getLibFunc() function 357 return Impl->getLibFunc(FDecl, F); in getLibFunc() 362 bool getLibFunc(const CallBase &CB, LibFunc &F) const { in getLibFunc() function 364 getLibFunc(*(CB.getCalledFunction()), F); in getLibFunc() [all …]
|
| /freebsd/contrib/llvm-project/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() 207 if (TLI.getLibFunc(CI, Func) && in visitCallInst()
|
| H A D | ValueProfilePlugins.inc | 60 if (TLI.getLibFunc(CI, Func) &&
|
| H A D | NumericalStabilitySanitizer.cpp | 815 if (ID == Intrinsic::ID() && !TLI.getLibFunc(*Fn, LFunc)) in shouldCheckArgs() 859 if (Fn->isIntrinsic() || TLI.getLibFunc(*Fn, LFunc)) in populateShadowStack() 1538 if (!TLI.getLibFunc(Fn, LFunc)) in getIntrinsicFromLibfunc()
|
| H A D | MemProfUse.cpp | 154 if (!TLI.getLibFunc(*Callee, Func)) in isAllocationWithHotColdVariant()
|
| H A D | GCOVProfiling.cpp | 614 if (TLI->getLibFunc(*Callee, LF)) { in AddFlushBeforeForkAndExec()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | MemoryOpRemark.cpp | 55 bool KnownLibCall = TLI.getLibFunc(*CF, LF) && TLI.has(LF); in canHandle() 252 bool KnownLibCall = TLI.getLibFunc(*F, LF) && TLI.has(LF); in visitCall()
|
| H A D | LibCallsShrinkWrap.cpp | 298 if (!TLI.getLibFunc(*Callee, Func) || !TLI.has(Func)) in checkCandidate() 491 TLI.getLibFunc(*Callee, Func); in perform()
|
| H A D | MetaRenamer.cpp | 163 GetTLI(F).getLibFunc(F, Tmp) || in MetaRename()
|
| H A D | SimplifyLibCalls.cpp | 2075 if (CalleeFn && TLI->getLibFunc(CalleeFn->getName(), LibFn) && in replacePowWithExp() 2502 if (TLI->getLibFunc(LogNm, LogLb)) { in optimizeLog() 2616 TLI->getLibFunc(*Arg, ArgLb); in optimizeLog() 2672 TLI->getLibFunc(*Arg, ArgLb); in mergeSqrtToExp() 2676 if (TLI->getLibFunc(SqrtFn->getName(), SqrtLb)) in mergeSqrtToExp() 2853 if (F && TLI->getLibFunc(F->getName(), Func) && in optimizeTrigInversionPairs() 2911 TLI->getLibFunc(Name, TheLibFunc); in insertSinCosCall() 3056 if (!Callee || !TLI->getLibFunc(*Callee, Func) || in classifyArgUse() 3835 if (TLI->getLibFunc(*Callee, Func) && isLibFuncEmittable(M, TLI, Func)) { in optimizeStringMemoryLibCall() 4152 if (TLI->getLibFunc(*Callee, Func) && isLibFuncEmittable(M, TLI, Func)) { in optimizeCall() [all …]
|
| H A D | BuildLibCalls.cpp | 317 if (!(TLI.getLibFunc(F, TheLibFunc) && TLI.has(TheLibFunc))) in inferNonMandatoryLibFuncAttrs() 1547 return TLI->getLibFunc(Name, TheLibFunc) && in isLibFuncEmittable() 1894 TLI->getLibFunc(Name, TheLibFunc); in emitUnaryFloatFnCall() 1947 TLI->getLibFunc(Name, TheLibFunc); in emitBinaryFloatFnCall()
|
| /freebsd/contrib/llvm-project/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()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | PartiallyInlineLibCalls.cpp | 138 !TLI->getLibFunc(*CalledFunc, LF) || !TLI->has(LF)) in runPartiallyInlineLibCalls()
|
| H A D | DeadStoreElimination.cpp | 1048 if (TLI.getLibFunc(*CB, F) && TLI.has(F) && in strengthenLocationSize() 2034 if (!TLI.getLibFunc(*InnerCallee, Func) || !TLI.has(Func) || in tryFoldIntoCalloc()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | ModuleInliner.cpp | 107 return TLI.getLibFunc(F, LF) || in isKnownLibFunction()
|
| /freebsd/contrib/llvm-project/llvm/tools/opt/ |
| H A D | optdriver.cpp | 678 if (TLII.getLibFunc(FuncName, F)) in optMain() 688 if (TLII.getLibFunc(FuncName, F)) in optMain()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TargetLibraryInfo.cpp | 1007 bool TargetLibraryInfoImpl::getLibFunc(StringRef funcName, LibFunc &F) const { in getLibFunc() function in TargetLibraryInfoImpl 1224 bool TargetLibraryInfoImpl::getLibFunc(const Function &FDecl, in getLibFunc() function in TargetLibraryInfoImpl 1235 if (!getLibFunc(FDecl.getName(), FDecl.LibFuncCache)) in getLibFunc() 1245 bool TargetLibraryInfoImpl::getLibFunc(unsigned int Opcode, Type *Ty, in getLibFunc() function in TargetLibraryInfoImpl
|
| H A D | MemoryBuiltins.cpp | 186 if (!TLI || !TLI->getLibFunc(*Callee, TLIFn) || !TLI->has(TLIFn)) in getAllocationDataForFunction() 506 if (TLI && TLI->getLibFunc(*Callee, TLIFn) && TLI->has(TLIFn)) { in getAllocationFamily() 551 if (TLI && TLI->getLibFunc(*Callee, TLIFn) && TLI->has(TLIFn) && in getFreedOperand() 1051 if (!TLI || !TLI->getLibFunc(*CB->getCalledFunction(), TLIFn) || in findLoadOffsetRange()
|
| H A D | MemoryLocation.cpp | 255 if (TLI && TLI->getLibFunc(*Call, F) && TLI->has(F)) { in getForArgument()
|
| H A D | ConstantFolding.cpp | 2321 if (TLI && TLI->getLibFunc(Name, Fp128Func) && TLI->has(Fp128Func) && in ConstantFoldScalarCall1() 2581 if (!TLI->getLibFunc(Name, Func)) in ConstantFoldScalarCall1() 2907 if (!TLI->getLibFunc(Name, Func)) in ConstantFoldLibCall2() 4053 if (!TLI->getLibFunc(*F, LibF)) in ConstantFoldCall() 4093 if (!TLI || !TLI->getLibFunc(*F, Func)) in isMathLibCallNoop()
|
| H A D | BranchProbabilityInfo.cpp | 994 TLI->getLibFunc(*CalledFn, Func); in calcZeroHeuristics()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ExpandMemCmp.cpp | 955 if (TLI->getLibFunc(*CI, Func) && in runOnBlock()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorizationLegality.cpp | 913 TLI->getLibFunc(CI->getCalledFunction()->getName(), Func) && in canVectorizeInstrs()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 1270 if (!TLI.getLibFunc(*CalledFunc, LF) || in foldLibCalls()
|