Home
last modified time | relevance | path

Searched refs:getLibFunc (Results 1 – 25 of 36) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h148 bool getLibFunc(StringRef funcName, LibFunc &F) const;
157 bool getLibFunc(const Function &FDecl, LibFunc &F) const;
161 bool getLibFunc(unsigned int Opcode, Type *Ty, LibFunc &F) const;
309 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-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOMemOPSizeOpt.cpp146 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 DValueProfilePlugins.inc60 if (TLI.getLibFunc(CI, Func) &&
H A DGCOVProfiling.cpp636 if (TLI->getLibFunc(*Callee, LF)) { in AddFlushBeforeForkAndExec()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMemoryOpRemark.cpp55 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 DLibCallsShrinkWrap.cpp298 if (!TLI.getLibFunc(*Callee, Func) || !TLI.has(Func)) in checkCandidate()
491 TLI.getLibFunc(*Callee, Func); in perform()
H A DMetaRenamer.cpp163 GetTLI(F).getLibFunc(F, Tmp) || in MetaRename()
H A DSimplifyLibCalls.cpp1995 if (CalleeFn && TLI->getLibFunc(CalleeFn->getName(), LibFn) && in replacePowWithExp()
2404 if (TLI->getLibFunc(LogNm, LogLb)) in optimizeLog()
2494 TLI->getLibFunc(*Arg, ArgLb); in optimizeLog()
2633 if (F && TLI->getLibFunc(F->getName(), Func) && in optimizeTan()
2675 TLI->getLibFunc(Name, TheLibFunc); in insertSinCosCall()
2763 if (!Callee || !TLI->getLibFunc(*Callee, Func) || in classifyArgUse()
3486 if (TLI->getLibFunc(*Callee, Func) && isLibFuncEmittable(M, TLI, Func)) { in optimizeStringMemoryLibCall()
3746 if (TLI->getLibFunc(*Callee, Func) && isLibFuncEmittable(M, TLI, Func)) { in optimizeCall()
4142 if (!TLI->getLibFunc(*Callee, Func)) in optimizeCall()
H A DBuildLibCalls.cpp264 if (!(TLI.getLibFunc(F, TheLibFunc) && TLI.has(TheLibFunc))) in inferNonMandatoryLibFuncAttrs()
1387 return TLI->getLibFunc(Name, TheLibFunc) && in isLibFuncEmittable()
1725 TLI->getLibFunc(Name, TheLibFunc); in emitUnaryFloatFnCall()
1778 TLI->getLibFunc(Name, TheLibFunc); in emitBinaryFloatFnCall()
H A DLocal.cpp3471 if (TLI.getLibFunc(*Call, LF)) { in callsGCLeafFunction()
4008 TLI->getLibFunc(F->getName(), Func) && TLI->hasOptimizedCodeGen(Func) && in maybeMarkSanitizerLibraryCallNoBuiltin()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyPeephole.cpp140 if (LibInfo.getLibFunc(Name, Func)) { in runOnMachineFunction()
H A DWebAssemblyMemIntrinsicResults.cpp165 if (!LibInfo.getLibFunc(Name, Func)) in optimizeCall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DPartiallyInlineLibCalls.cpp135 !TLI->getLibFunc(*CalledFunc, LF) || !TLI->has(LF)) in runPartiallyInlineLibCalls()
H A DDeadStoreElimination.cpp907 if (TLI.getLibFunc(*CB, F) && TLI.has(F) && in strengthenLocationSize()
1875 if (!TLI.getLibFunc(*InnerCallee, Func) || !TLI.has(Func) || in tryFoldIntoCalloc()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DModuleInliner.cpp99 return TLI.getLibFunc(F, LF) || in isKnownLibFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp189 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 DTargetLibraryInfo.cpp960 bool TargetLibraryInfoImpl::getLibFunc(StringRef funcName, LibFunc &F) const { in getLibFunc() function in TargetLibraryInfoImpl
1128 bool TargetLibraryInfoImpl::getLibFunc(const Function &FDecl, in getLibFunc() function in TargetLibraryInfoImpl
1139 if (!getLibFunc(FDecl.getName(), FDecl.LibFuncCache)) in getLibFunc()
1149 bool TargetLibraryInfoImpl::getLibFunc(unsigned int Opcode, Type *Ty, in getLibFunc() function in TargetLibraryInfoImpl
H A DMemoryLocation.cpp250 if (TLI && TLI->getLibFunc(*Call, F) && TLI->has(F)) { in getForArgument()
H A DConstantFolding.cpp2256 if (!TLI->getLibFunc(Name, Func)) in ConstantFoldScalarCall1()
2634 if (!TLI->getLibFunc(Name, Func)) in ConstantFoldScalarCall2()
3388 if (!TLI->getLibFunc(*F, LibF)) in ConstantFoldCall()
3423 if (!TLI || !TLI->getLibFunc(*F, Func)) in isMathLibCallNoop()
H A DBranchProbabilityInfo.cpp998 TLI->getLibFunc(*CalledFn, Func); in calcZeroHeuristics()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DReplaceWithVeclib.cpp145 if (!TLI.getLibFunc(I.getOpcode(), ScalarTy, Func)) in replaceWithCallToVeclib()
H A DExpandMemCmp.cpp956 if (TLI->getLibFunc(*CI, Func) && in runOnBlock()
/freebsd-14.2/contrib/llvm-project/llvm/tools/opt/
H A Dopt.cpp684 if (TLII.getLibFunc(FuncName, F)) in main()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp412 if (!TLI.getLibFunc(*Call, Func) || !isLibFuncEmittable(M, &TLI, Func)) in foldSqrt()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp908 TLI->getLibFunc(CI->getCalledFunction()->getName(), Func) && in canVectorizeInstrs()

12