Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetLibraryInfo.h106 bool getLibFunc(StringRef funcName, LibFunc &F) const;
113 bool getLibFunc(const Function &FDecl, LibFunc &F) const;
231 bool getLibFunc(StringRef funcName, LibFunc &F) const { in getLibFunc() function
232 return Impl->getLibFunc(funcName, F); in getLibFunc()
235 bool getLibFunc(const Function &FDecl, LibFunc &F) const { in getLibFunc() function
236 return Impl->getLibFunc(FDecl, F); in getLibFunc()
241 bool getLibFunc(ImmutableCallSite CS, LibFunc &F) const { in getLibFunc() function
243 getLibFunc(*(CS.getCalledFunction()), F); in getLibFunc()
/external/llvm/include/llvm/Analysis/
DTargetLibraryInfo.h116 bool getLibFunc(StringRef funcName, LibFunc::Func &F) const;
123 bool getLibFunc(const Function &FDecl, LibFunc::Func &F) const;
217 bool getLibFunc(StringRef funcName, LibFunc::Func &F) const { in getLibFunc() function
218 return Impl->getLibFunc(funcName, F); in getLibFunc()
221 bool getLibFunc(const Function &FDecl, LibFunc::Func &F) const { in getLibFunc() function
222 return Impl->getLibFunc(FDecl, F); in getLibFunc()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DTargetLibraryInfoTest.cpp52 if (!TLI.getLibFunc(*FDecl, F)) in isLibFunc()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp783 if (!TLI.getLibFunc("calloc", Func) || !TLI.has(Func)) in emitCalloc()
818 if (!TLI.getLibFunc(*InnerCallee, Func) || !TLI.has(Func) || in foldMallocMemset()
1024 if (OpCCallee && TLI->getLibFunc(OpCCallee->getName(), Func) && in optimizePow()
1233 if (F && ((TLI->getLibFunc(F->getName(), Func) && TLI->has(Func) && in optimizeLog()
1240 if (F && Name == "log" && TLI->getLibFunc(F->getName(), Func) && in optimizeLog()
1338 if (F && TLI->getLibFunc(F->getName(), Func) && TLI->has(Func) && in optimizeTan()
1454 if (!Callee || !TLI->getLibFunc(*Callee, Func) || !TLI->has(Func) || in classifyArgUse()
1881 if (TLI->getLibFunc(FloatFuncName, Func)) in hasFloatVersion()
1891 if (TLI->getLibFunc(*Callee, Func) && TLI->has(Func)) { in optimizeStringMemoryLibCall()
2009 if (TLI->getLibFunc(*Callee, Func) && TLI->has(Func)) { in optimizeCall()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DMetaRenamer.cpp133 TLI.getLibFunc(F, Tmp)) in runOnModule()
DSimplifyLibCalls.cpp142 if (!TLI->getLibFunc(*InnerCallee, Func) || !TLI->has(Func) || in isLocallyOpenedFile()
884 if (!TLI.getLibFunc(*InnerCallee, Func) || !TLI.has(Func) || in foldMallocMemset()
1207 if (CalleeFn && TLI->getLibFunc(CalleeFn->getName(), LibFn) && in optimizePow()
1403 if (F && ((TLI->getLibFunc(F->getName(), Func) && TLI->has(Func) && in optimizeLog()
1410 if (F && Name == "log" && TLI->getLibFunc(F->getName(), Func) && in optimizeLog()
1510 if (F && TLI->getLibFunc(F->getName(), Func) && TLI->has(Func) && in optimizeTan()
1632 if (!Callee || !TLI->getLibFunc(*Callee, Func) || !TLI->has(Func) || in classifyArgUse()
2208 if (TLI->getLibFunc(FloatFuncName, Func)) in hasFloatVersion()
2218 if (TLI->getLibFunc(*Callee, Func) && TLI->has(Func)) { in optimizeStringMemoryLibCall()
2436 if (TLI->getLibFunc(*Callee, Func) && TLI->has(Func)) { in optimizeCall()
[all …]
DLibCallsShrinkWrap.cpp304 if (!TLI.getLibFunc(*Callee, Func) || !TLI.has(Func)) in checkCandidate()
509 TLI.getLibFunc(*Callee, Func); in perform()
DLocal.cpp2407 if (TLI.getLibFunc(CS, LF)) { in callsGCLeafFunction()
2715 TLI->getLibFunc(F->getName(), Func) && TLI->hasOptimizedCodeGen(Func) && in maybeMarkSanitizerLibraryCallNoBuiltin()
/external/llvm/lib/Transforms/Scalar/
DPartiallyInlineLibCalls.cpp103 !TLI->getLibFunc(CalledFunc->getName(), LibFunc)) in runPartiallyInlineLibCalls()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DPartiallyInlineLibCalls.cpp107 !TLI->getLibFunc(*CalledFunc, LF) || !TLI->has(LF)) in runPartiallyInlineLibCalls()
/external/llvm/lib/Analysis/
DMemoryLocation.cpp146 if (CS.getCalledFunction() && TLI.getLibFunc(*CS.getCalledFunction(), F) && in getForArgument()
DMemoryBuiltins.cpp134 if (!TLI || !TLI->getLibFunc(FnName, TLIFn) || !TLI->has(TLIFn)) in getAllocationData()
320 if (!TLI || !TLI->getLibFunc(FnName, TLIFn) || !TLI->has(TLIFn)) in isFreeCall()
DTargetLibraryInfo.cpp470 bool TargetLibraryInfoImpl::getLibFunc(StringRef funcName, in getLibFunc() function in TargetLibraryInfoImpl
994 bool TargetLibraryInfoImpl::getLibFunc(const Function &FDecl, in getLibFunc() function in TargetLibraryInfoImpl
998 return getLibFunc(FDecl.getName(), F) && in getLibFunc()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyStoreResults.cpp161 if (!LibInfo.getLibFunc(Name, Func)) in optimizeCall()
DWebAssemblyPeephole.cpp141 if (LibInfo.getLibFunc(Name, Func)) { in runOnMachineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemoryLocation.cpp162 if (CS.getCalledFunction() && TLI.getLibFunc(*CS.getCalledFunction(), F) && in getForArgument()
DTargetLibraryInfo.cpp584 bool TargetLibraryInfoImpl::getLibFunc(StringRef funcName, in getLibFunc() function in TargetLibraryInfoImpl
1372 bool TargetLibraryInfoImpl::getLibFunc(const Function &FDecl, in getLibFunc() function in TargetLibraryInfoImpl
1376 return getLibFunc(FDecl.getName(), F) && in getLibFunc()
DMemoryBuiltins.cpp141 if (!TLI || !TLI->getLibFunc(FnName, TLIFn) || !TLI->has(TLIFn)) in getAllocationDataForFunction()
372 if (!TLI || !TLI->getLibFunc(FnName, TLIFn) || !TLI->has(TLIFn)) in isFreeCall()
DBranchProbabilityInfo.cpp682 TLI->getLibFunc(*CalledFn, Func); in calcZeroHeuristics()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyStoreResults.cpp169 if (!LibInfo.getLibFunc(Name, Func)) in optimizeCall()
DWebAssemblyPeephole.cpp150 if (LibInfo.getLibFunc(Name, Func)) { in runOnMachineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp348 LibInfo->getLibFunc(F->getName(), Func) && in mightUseCTR()
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp320 LibInfo->getLibFunc(F->getName(), Func) && in mightUseCTR()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DExpandMemCmp.cpp785 if (TLI->getLibFunc(ImmutableCallSite(CI), Func) && in runOnBlock()
/external/clang/lib/CodeGen/
DBackendUtil.cpp289 if (TLII->getLibFunc(FuncName, F)) in createTLII()

12