Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DBuildLibCalls.h38 LibFunc TheLibFunc, FunctionType *T,
41 LibFunc TheLibFunc, FunctionType *T);
62 LibFunc TheLibFunc, AttributeList AttributeList,
68 LibFunc TheLibFunc);
75 LibFunc DoubleFn, LibFunc FloatFn, LibFunc LongDoubleFn);
80 LibFunc DoubleFn, LibFunc FloatFn, LibFunc LongDoubleFn,
81 LibFunc &TheLibFunc);
199 LibFunc DoubleFn, LibFunc FloatFn,
200 LibFunc LongDoubleFn, IRBuilderBase &B,
216 LibFunc FloatFn, LibFunc LongDoubleFn,
[all …]
H A DSimplifyLibCalls.h60 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func);
61 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func);
186 Value *optimizeNew(CallInst *CI, IRBuilderBase &B, LibFunc &Func);
207 Value *optimizeFloatingPointLibCall(CallInst *CI, LibFunc Func,
H A DMemoryOpRemark.h79 void visitKnownLibCall(const CallInst &CI, LibFunc LF,
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h69 enum LibFunc : unsigned { enum
97 void setState(LibFunc F, AvailabilityState State) { in setState()
101 AvailabilityState getState(LibFunc F) const { in getState()
148 bool getLibFunc(StringRef funcName, LibFunc &F) const;
164 void setUnavailable(LibFunc F) { in setUnavailable()
169 void setAvailable(LibFunc F) { in setAvailable()
175 void setAvailableWithName(LibFunc F, StringRef Name) { in setAvailableWithName()
301 LibFunc LF;
392 bool has(LibFunc F) const { in has()
412 bool hasOptimizedCodeGen(LibFunc F) const { in hasOptimizedCodeGen()
[all …]
H A DMemoryBuiltins.h84 bool isLibFreeFunction(const Function *F, const LibFunc TLIFn);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp75 bool performCallDomainErrorOnly(CallInst *CI, const LibFunc &Func);
76 bool performCallErrors(CallInst *CI, const LibFunc &Func);
77 bool performCallRangeErrorOnly(CallInst *CI, const LibFunc &Func);
78 Value *generateOneRangeCond(CallInst *CI, const LibFunc &Func);
79 Value *generateTwoRangeCond(CallInst *CI, const LibFunc &Func);
80 Value *generateCondForPow(CallInst *CI, const LibFunc &Func);
221 const LibFunc &Func) { in performCallErrors()
294 LibFunc Func; in checkCandidate()
314 const LibFunc &Func) { in generateOneRangeCond()
415 const LibFunc &Func) { in generateCondForPow()
[all …]
H A DBuildLibCalls.cpp263 LibFunc TheLibFunc; in inferNonMandatoryLibFuncAttrs()
1386 LibFunc TheLibFunc; in isLibFuncEmittable()
1392 LibFunc DoubleFn, LibFunc FloatFn, LibFunc LongDoubleFn) { in hasFloatFn()
1406 Type *Ty, LibFunc DoubleFn, LibFunc FloatFn, in getFloatFn()
1407 LibFunc LongDoubleFn, LibFunc &TheLibFunc) { in getFloatFn()
1724 LibFunc TheLibFunc; in emitUnaryFloatFnCall()
1731 LibFunc DoubleFn, LibFunc FloatFn, in emitUnaryFloatFnCall()
1736 LibFunc TheLibFunc; in emitUnaryFloatFnCall()
1777 LibFunc TheLibFunc; in emitBinaryFloatFnCall()
1785 LibFunc DoubleFn, LibFunc FloatFn, in emitBinaryFloatFnCall()
[all …]
H A DMemoryOpRemark.cpp54 LibFunc LF; in canHandle()
251 LibFunc LF; in visitCall()
268 void MemoryOpRemark::visitKnownLibCall(const CallInst &CI, LibFunc LF, in visitKnownLibCall()
H A DSimplifyLibCalls.cpp92 static bool ignoreCallingConv(LibFunc Func) { in ignoreCallingConv()
1718 LibFunc &Func) { in optimizeNew()
1992 LibFunc LibFn; in replacePowWithExp()
2401 LibFunc LogLb, ExpLb, Exp2Lb, Exp10Lb, PowLb; in optimizeLog()
2493 LibFunc ArgLb = NotLibFunc; in optimizeLog()
2631 LibFunc Func; in optimizeTan()
2674 LibFunc TheLibFunc; in insertSinCosCall()
2762 LibFunc Func; in classifyArgUse()
3483 LibFunc Func; in optimizeStringMemoryLibCall()
3694 LibFunc Func; in optimizeCall()
[all …]
H A DMetaRenamer.cpp160 LibFunc Tmp; in MetaRename()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-tli-checker/
H A Dllvm-tli-checker.cpp127 reserve(LibFunc::NumLibFuncs); in initialize()
129 for (unsigned FI = 0; FI != LibFunc::NumLibFuncs; ++FI) { in initialize()
130 LibFunc LF = (LibFunc)FI; in initialize()
138 outs() << "TLI knows " << LibFunc::NumLibFuncs << " symbols, " << NumAvailable in initialize()
346 LibFunc::NumLibFuncs); in main()
/freebsd-14.2/contrib/llvm-project/llvm/lib/LTO/
H A DUpdateCompilerUsed.cpp64 for (unsigned I = 0, E = static_cast<unsigned>(LibFunc::NumLibFuncs); in initializeLibCalls()
66 LibFunc F = static_cast<LibFunc>(I); in initializeLibCalls()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetLibraryInfo.cpp42 StringLiteral const TargetLibraryInfoImpl::StandardNames[LibFunc::NumLibFuncs] =
87 static_assert(sizeof Signatures / sizeof *Signatures == LibFunc::NumLibFuncs,
950 static DenseMap<StringRef, LibFunc>
952 DenseMap<StringRef, LibFunc> Indices; in buildIndexMap()
954 Indices.reserve(LibFunc::NumLibFuncs); in buildIndexMap()
956 Indices[Func] = static_cast<LibFunc>(Idx++); in buildIndexMap()
960 bool TargetLibraryInfoImpl::getLibFunc(StringRef funcName, LibFunc &F) const { in getLibFunc()
965 static const DenseMap<StringRef, LibFunc> Indices = in getLibFunc()
1025 LibFunc F, in isValidProtoForLibFunc()
1129 LibFunc &F) const { in getLibFunc()
[all …]
H A DMemoryBuiltins.cpp119 static const std::pair<LibFunc, AllocFnsTy> AllocationFnData[] = {
188 LibFunc TLIFn; in getAllocationDataForFunction()
193 AllocationFnData, [TLIFn](const std::pair<LibFunc, AllocFnsTy> &P) { in getAllocationDataForFunction() argument
467 static const std::pair<LibFunc, FreeFnsTy> FreeFnData[] = {
501 const LibFunc TLIFn) { in getFreeFunctionDataForFunction()
503 find_if(FreeFnData, [TLIFn](const std::pair<LibFunc, FreeFnsTy> &P) { in getFreeFunctionDataForFunction() argument
517 LibFunc TLIFn; in getAllocationFamily()
539 bool llvm::isLibFreeFunction(const Function *F, const LibFunc TLIFn) { in isLibFreeFunction()
564 LibFunc TLIFn; in getFreedOperand()
918 LibFunc TLIFn; in findLoadSizeOffset()
H A DMemoryLocation.cpp249 LibFunc F; in getForArgument()
H A DConstantFolding.cpp2255 LibFunc Func = NotLibFunc; in ConstantFoldScalarCall1()
2633 LibFunc Func = NotLibFunc; in ConstantFoldScalarCall2()
3387 LibFunc LibF; in ConstantFoldCall()
3422 LibFunc Func; in isMathLibCallNoop()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOMemOPSizeOpt.cpp145 LibFunc Func; in isMemcmp()
153 LibFunc Func; in isBcmp()
163 LibFunc Func; in getName()
209 LibFunc Func; in visitCallInst()
H A DValueProfilePlugins.inc59 LibFunc Func;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DFunction.h51 enum LibFunc : unsigned;
127 static constexpr LibFunc UnknownLibFunc = LibFunc(-1);
132 mutable LibFunc LibFuncCache = UnknownLibFunc;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyPeephole.cpp139 LibFunc Func; in runOnMachineFunction()
H A DWebAssemblyMemIntrinsicResults.cpp164 LibFunc Func; in optimizeCall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DPartiallyInlineLibCalls.cpp133 LibFunc LF; in runPartiallyInlineLibCalls()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DModuleInliner.cpp94 LibFunc LF; in isKnownLibFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DReplaceWithVeclib.cpp144 LibFunc Func; in replaceWithCallToVeclib()
/freebsd-14.2/contrib/llvm-project/llvm/tools/opt/
H A Dopt.cpp682 LibFunc F; in main()

12