Home
last modified time | relevance | path

Searched refs:LibFunc (Results 1 – 25 of 37) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h34 enum LibFunc : unsigned { enum
61 void setState(LibFunc F, AvailabilityState State) { in setState()
65 AvailabilityState getState(LibFunc F) const { in getState()
77 bool isValidProtoForLibFunc(const FunctionType &FTy, LibFunc F,
110 bool getLibFunc(StringRef funcName, LibFunc &F) const;
117 bool getLibFunc(const Function &FDecl, LibFunc &F) const;
120 void setUnavailable(LibFunc F) { in setUnavailable()
125 void setAvailable(LibFunc F) { in setAvailable()
131 void setAvailableWithName(LibFunc F, StringRef Name) { in setAvailableWithName()
229 LibFunc LF;
[all …]
H A DMemoryBuiltins.h174 bool isLibFreeFunction(const Function *F, const LibFunc TLIFn);
H A DTargetLibraryInfo.def17 // When adding a function which frees memory include the LibFunc
20 // When adding a LibFunc which reallocates memory include the LibFunc
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
H A DBuildLibCalls.h35 LibFunc DoubleFn, LibFunc FloatFn, LibFunc LongDoubleFn);
40 LibFunc DoubleFn, LibFunc FloatFn,
41 LibFunc LongDoubleFn);
163 LibFunc DoubleFn, LibFunc FloatFn,
164 LibFunc LongDoubleFn, IRBuilderBase &B,
177 const TargetLibraryInfo *TLI, LibFunc DoubleFn,
178 LibFunc FloatFn, LibFunc LongDoubleFn,
H A DSimplifyLibCalls.h59 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func);
60 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func);
201 Value *optimizeFloatingPointLibCall(CallInst *CI, LibFunc Func,
H A DAutoInitRemark.h60 void inspectKnownLibCall(CallInst &CI, LibFunc LF,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp96 bool performCallDomainErrorOnly(CallInst *CI, const LibFunc &Func);
97 bool performCallErrors(CallInst *CI, const LibFunc &Func);
98 bool performCallRangeErrorOnly(CallInst *CI, const LibFunc &Func);
99 Value *generateOneRangeCond(CallInst *CI, const LibFunc &Func);
100 Value *generateTwoRangeCond(CallInst *CI, const LibFunc &Func);
101 Value *generateCondForPow(CallInst *CI, const LibFunc &Func);
137 const LibFunc &Func) { in performCallDomainErrorOnly()
189 const LibFunc &Func) { in performCallRangeErrorOnly()
227 const LibFunc &Func) { in performCallErrors()
300 LibFunc Func; in checkCandidate()
[all …]
H A DBuildLibCalls.cpp219 LibFunc TheLibFunc; in inferLibFuncAttributes()
1181 LibFunc DoubleFn, LibFunc FloatFn, LibFunc LongDoubleFn) { in hasFloatFn()
1195 LibFunc DoubleFn, LibFunc FloatFn, in getFloatFnName()
1196 LibFunc LongDoubleFn) { in getFloatFnName()
1219 static Value *emitLibCall(LibFunc TheLibFunc, Type *ReturnType, in emitLibCall()
1475 LibFunc DoubleFn, LibFunc FloatFn, in emitUnaryFloatFnCall()
1476 LibFunc LongDoubleFn, IRBuilderBase &B, in emitUnaryFloatFnCall()
1524 LibFunc DoubleFn, LibFunc FloatFn, in emitBinaryFloatFnCall()
1525 LibFunc LongDoubleFn, IRBuilderBase &B, in emitBinaryFloatFnCall()
H A DAutoInitRemark.cpp111 LibFunc LF; in inspectCall()
128 void AutoInitRemark::inspectKnownLibCall(CallInst &CI, LibFunc LF, in inspectKnownLibCall()
H A DSimplifyLibCalls.cpp54 static bool ignoreCallingConv(LibFunc Func) { in ignoreCallingConv()
1178 LibFunc Func; in foldMallocMemset()
1367 static Value *optimizeTrigReflections(CallInst *Call, LibFunc Func, in optimizeTrigReflections()
1470 LibFunc LibFn; in replacePowWithExp()
1478 LibFunc LibFnFloat, LibFnDouble, LibFnLongDouble; in replacePowWithExp()
1863 LibFunc LogLb, ExpLb, Exp2Lb, Exp10Lb, PowLb; in optimizeLog()
1955 LibFunc ArgLb = NotLibFunc; in optimizeLog()
2086 LibFunc Func; in optimizeTan()
2209 LibFunc Func; in classifyArgUse()
2830 LibFunc Func; in hasFloatVersion()
[all …]
H A DMetaRenamer.cpp127 LibFunc Tmp; in MetaRename()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/LTO/
H A DUpdateCompilerUsed.cpp65 for (unsigned I = 0, E = static_cast<unsigned>(LibFunc::NumLibFuncs); in initializeLibCalls()
67 LibFunc F = static_cast<LibFunc>(I); in initializeLibCalls()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DPGOMemOPSizeOpt.cpp191 LibFunc Func; in isMemcmp()
199 LibFunc Func; in isBcmp()
209 LibFunc Func; in getName()
255 LibFunc Func; in visitCallInst()
H A DValueProfilePlugins.inc58 LibFunc Func;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp73 static const std::pair<LibFunc, AllocFnsTy> AllocationFnData[] = {
145 LibFunc TLIFn; in getAllocationDataForFunction()
150 AllocationFnData, [TLIFn](const std::pair<LibFunc, AllocFnsTy> &P) { in getAllocationDataForFunction() argument
434 bool llvm::isLibFreeFunction(const Function *F, const LibFunc TLIFn) { in isLibFreeFunction()
494 LibFunc TLIFn; in isFreeCall()
H A DTargetLibraryInfo.cpp36 StringLiteral const TargetLibraryInfoImpl::StandardNames[LibFunc::NumLibFuncs] =
689 bool TargetLibraryInfoImpl::getLibFunc(StringRef funcName, LibFunc &F) const { in getLibFunc()
698 F = (LibFunc)(I - Start); in getLibFunc()
705 LibFunc F, in isValidProtoForLibFunc()
1575 case LibFunc::NumLibFuncs: in isValidProtoForLibFunc()
1576 case LibFunc::NotLibFunc: in isValidProtoForLibFunc()
1584 LibFunc &F) const { in getLibFunc()
H A DMemoryLocation.cpp230 LibFunc F; in getForArgument()
H A DConstantFolding.cpp2070 LibFunc Func = NotLibFunc; in ConstantFoldScalarCall1()
2357 LibFunc Func = NotLibFunc; in ConstantFoldScalarCall2()
3026 LibFunc Func; in isMathLibCallNoop()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMemIntrinsicResults.cpp165 LibFunc Func; in optimizeCall()
H A DWebAssemblyPeephole.cpp162 LibFunc Func; in runOnMachineFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DPartiallyInlineLibCalls.cpp129 LibFunc LF; in runPartiallyInlineLibCalls()
H A DDeadStoreElimination.cpp188 LibFunc LF; in hasAnalyzableMemoryWrite()
1079 LibFunc LF; in getLocForWriteEx()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp703 LibFunc Func; in canVectorizeInstrs()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DExpandMemCmp.cpp862 LibFunc Func; in runOnBlock()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/opt/
H A Dopt.cpp765 LibFunc F; in main()

12