/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetLibraryInfo.h | 149 bool getLibFunc(StringRef funcName, LibFunc &F) const; 158 bool getLibFunc(const Function &FDecl, LibFunc &F) const; 162 bool getLibFunc(unsigned int Opcode, Type *Ty, LibFunc &F) const; 310 if (getLibFunc(AttrStr, LF)) 346 bool getLibFunc(StringRef funcName, LibFunc &F) const { in getLibFunc() function 347 return Impl->getLibFunc(funcName, F); in getLibFunc() 350 bool getLibFunc(const Function &FDecl, LibFunc &F) const { in getLibFunc() function 351 return Impl->getLibFunc(FDecl, F); in getLibFunc() 356 bool getLibFunc(const CallBase &CB, LibFunc &F) const { in getLibFunc() function 358 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 | 761 if (ID == Intrinsic::ID() && !TLI.getLibFunc(*Fn, LFunc)) in shouldCheckArgs() 805 if (Fn->isIntrinsic() || TLI.getLibFunc(*Fn, LFunc)) in populateShadowStack() 1484 if (!TLI.getLibFunc(Fn, LFunc)) in getIntrinsicFromLibfunc()
|
H A D | MemProfiler.cpp | 753 if (!TLI.getLibFunc(*Callee, Func)) in isNewWithHotColdVariant()
|
/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 | 2064 if (CalleeFn && TLI->getLibFunc(CalleeFn->getName(), LibFn) && in replacePowWithExp() 2498 if (TLI->getLibFunc(LogNm, LogLb)) in optimizeLog() 2588 TLI->getLibFunc(*Arg, ArgLb); in optimizeLog() 2644 TLI->getLibFunc(*Arg, ArgLb); in mergeSqrtToExp() 2648 if (TLI->getLibFunc(SqrtFn->getName(), SqrtLb)) in mergeSqrtToExp() 2796 if (F && TLI->getLibFunc(F->getName(), Func) && in optimizeTrigInversionPairs() 2854 TLI->getLibFunc(Name, TheLibFunc); in insertSinCosCall() 2999 if (!Callee || !TLI->getLibFunc(*Callee, Func) || in classifyArgUse() 3720 if (TLI->getLibFunc(*Callee, Func) && isLibFuncEmittable(M, TLI, Func)) { in optimizeStringMemoryLibCall() 3996 if (TLI->getLibFunc(*Callee, Func) && isLibFuncEmittable(M, TLI, Func)) { in optimizeCall() [all …]
|
H A D | BuildLibCalls.cpp | 264 if (!(TLI.getLibFunc(F, TheLibFunc) && TLI.has(TheLibFunc))) in inferNonMandatoryLibFuncAttrs() 1398 return TLI->getLibFunc(Name, TheLibFunc) && in isLibFuncEmittable() 1736 TLI->getLibFunc(Name, TheLibFunc); in emitUnaryFloatFnCall() 1789 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 | 135 !TLI->getLibFunc(*CalledFunc, LF) || !TLI->has(LF)) in runPartiallyInlineLibCalls()
|
H A D | DeadStoreElimination.cpp | 919 if (TLI.getLibFunc(*CB, F) && TLI.has(F) && in strengthenLocationSize() 1875 if (!TLI.getLibFunc(*InnerCallee, Func) || !TLI.has(Func) || in tryFoldIntoCalloc()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | ModuleInliner.cpp | 99 return TLI.getLibFunc(F, LF) || in isKnownLibFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | MemoryBuiltins.cpp | 189 if (!TLI || !TLI->getLibFunc(*Callee, TLIFn) || !TLI->has(TLIFn)) in getAllocationDataForFunction() 519 if (TLI && TLI->getLibFunc(*Callee, TLIFn) && TLI->has(TLIFn)) { in getAllocationFamily() 565 if (TLI && TLI->getLibFunc(*Callee, TLIFn) && TLI->has(TLIFn) && in getFreedOperand() 919 if (!TLI || !TLI->getLibFunc(*CB->getCalledFunction(), TLIFn) || in findLoadSizeOffset()
|
H A D | TargetLibraryInfo.cpp | 984 bool TargetLibraryInfoImpl::getLibFunc(StringRef funcName, LibFunc &F) const { in getLibFunc() function in TargetLibraryInfoImpl 1152 bool TargetLibraryInfoImpl::getLibFunc(const Function &FDecl, in getLibFunc() function in TargetLibraryInfoImpl 1163 if (!getLibFunc(FDecl.getName(), FDecl.LibFuncCache)) in getLibFunc() 1173 bool TargetLibraryInfoImpl::getLibFunc(unsigned int Opcode, Type *Ty, in getLibFunc() function in TargetLibraryInfoImpl
|
H A D | MemoryLocation.cpp | 250 if (TLI && TLI->getLibFunc(*Call, F) && TLI->has(F)) { in getForArgument()
|
H A D | ConstantFolding.cpp | 2127 if (TLI->getLibFunc(Name, Fp128Func) && TLI->has(Fp128Func) && in ConstantFoldScalarCall1() 2297 if (!TLI->getLibFunc(Name, Func)) in ConstantFoldScalarCall1() 2582 if (!TLI->getLibFunc(Name, Func)) in ConstantFoldLibCall2() 3476 if (!TLI->getLibFunc(*F, LibF)) in ConstantFoldCall() 3516 if (!TLI || !TLI->getLibFunc(*F, Func)) in isMathLibCallNoop()
|
H A D | BranchProbabilityInfo.cpp | 998 TLI->getLibFunc(*CalledFn, Func); in calcZeroHeuristics()
|
H A D | TargetTransformInfo.cpp | 910 TLibInfo->getLibFunc(Instruction::FRem, Ty->getScalarType(), Func) && in getArithmeticInstrCost()
|
/freebsd/contrib/llvm-project/llvm/tools/opt/ |
H A D | optdriver.cpp | 684 if (TLII.getLibFunc(FuncName, F)) in optMain()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandMemCmp.cpp | 956 if (TLI->getLibFunc(*CI, Func) && in runOnBlock()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorizationLegality.cpp | 908 TLI->getLibFunc(CI->getCalledFunction()->getName(), Func) && in canVectorizeInstrs()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | AggressiveInstCombine.cpp | 1199 if (!TLI.getLibFunc(*CalledFunc, LF) || in foldLibCalls()
|