Home
last modified time | relevance | path

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

12

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
DTargetLibraryInfo.h34 enum LibFunc : unsigned { enum
62 void setState(LibFunc F, AvailabilityState State) { in setState()
66 AvailabilityState getState(LibFunc F) const { in getState()
78 bool isValidProtoForLibFunc(const FunctionType &FTy, LibFunc F,
111 bool getLibFunc(StringRef funcName, LibFunc &F) const;
118 bool getLibFunc(const Function &FDecl, LibFunc &F) const;
121 void setUnavailable(LibFunc F) { in setUnavailable()
126 void setAvailable(LibFunc F) { in setAvailable()
132 void setAvailableWithName(LibFunc F, StringRef Name) { in setAvailableWithName()
240 LibFunc LF;
[all …]
DMemoryBuiltins.h174 bool isLibFreeFunction(const Function *F, const LibFunc TLIFn);
DTargetLibraryInfo.def17 // When adding a function which frees memory include the LibFunc
20 // When adding a LibFunc which reallocates memory include the LibFunc
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
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,
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,
DMemoryOpRemark.h81 void visitKnownLibCall(const CallInst &CI, LibFunc LF,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
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 …]
DMemoryOpRemark.cpp52 LibFunc LF; in canHandle()
248 LibFunc LF; in visitCall()
265 void MemoryOpRemark::visitKnownLibCall(const CallInst &CI, LibFunc LF, in visitKnownLibCall()
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()
DSimplifyLibCalls.cpp54 static bool ignoreCallingConv(LibFunc Func) { in ignoreCallingConv()
1179 LibFunc Func; in foldMallocMemset()
1368 static Value *optimizeTrigReflections(CallInst *Call, LibFunc Func, in optimizeTrigReflections()
1472 LibFunc LibFn; in replacePowWithExp()
1480 LibFunc LibFnFloat, LibFnDouble, LibFnLongDouble; in replacePowWithExp()
1866 LibFunc LogLb, ExpLb, Exp2Lb, Exp10Lb, PowLb; in optimizeLog()
1958 LibFunc ArgLb = NotLibFunc; in optimizeLog()
2089 LibFunc Func; in optimizeTan()
2212 LibFunc Func; in classifyArgUse()
2834 LibFunc Func; in hasFloatVersion()
[all …]
DMetaRenamer.cpp127 LibFunc Tmp; in MetaRename()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/LTO/
DUpdateCompilerUsed.cpp65 for (unsigned I = 0, E = static_cast<unsigned>(LibFunc::NumLibFuncs); in initializeLibCalls()
67 LibFunc F = static_cast<LibFunc>(I); in initializeLibCalls()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
DPGOMemOPSizeOpt.cpp191 LibFunc Func; in isMemcmp()
199 LibFunc Func; in isBcmp()
209 LibFunc Func; in getName()
255 LibFunc Func; in visitCallInst()
DValueProfilePlugins.inc58 LibFunc Func;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
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()
DTargetLibraryInfo.cpp36 StringLiteral const TargetLibraryInfoImpl::StandardNames[LibFunc::NumLibFuncs] =
702 bool TargetLibraryInfoImpl::getLibFunc(StringRef funcName, LibFunc &F) const { in getLibFunc()
711 F = (LibFunc)(I - Start); in getLibFunc()
718 LibFunc F, in isValidProtoForLibFunc()
1594 case LibFunc::NumLibFuncs: in isValidProtoForLibFunc()
1595 case LibFunc::NotLibFunc: in isValidProtoForLibFunc()
1603 LibFunc &F) const { in getLibFunc()
DMemoryLocation.cpp230 LibFunc F; in getForArgument()
DConstantFolding.cpp2165 LibFunc Func = NotLibFunc; in ConstantFoldScalarCall1()
2489 LibFunc Func = NotLibFunc; in ConstantFoldScalarCall2()
3156 LibFunc LibF; in ConstantFoldCall()
3190 LibFunc Func; in isMathLibCallNoop()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyMemIntrinsicResults.cpp165 LibFunc Func; in optimizeCall()
DWebAssemblyPeephole.cpp162 LibFunc Func; in runOnMachineFunction()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DPartiallyInlineLibCalls.cpp129 LibFunc LF; in runPartiallyInlineLibCalls()
DDeadStoreElimination.cpp190 LibFunc LF; in hasAnalyzableMemoryWrite()
1106 LibFunc LF; in getLocForWriteEx()
/freebsd-12-stable/contrib/llvm-project/llvm/tools/opt/
Dopt.cpp765 LibFunc F; in main()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp719 LibFunc Func; in canVectorizeInstrs()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
DExpandMemCmp.cpp862 LibFunc Func; in runOnBlock()

12