Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DBuildLibCalls.h38 LibFunc TheLibFunc, FunctionType *T,
41 LibFunc TheLibFunc, FunctionType *T);
44 LibFunc TheLibFunc, AttributeList AttributeList, in getOrInsertLibFunc()
54 LibFunc TheLibFunc, Type *RetTy, ArgsTy... Args) { in getOrInsertLibFunc()
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);
202 LibFunc DoubleFn, LibFunc FloatFn,
[all …]
H A DSimplifyLibCalls.h59 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func);
60 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func);
204 Value *optimizeFloatingPointLibCall(CallInst *CI, LibFunc Func,
H A DMemoryOpRemark.h79 void visitKnownLibCall(const CallInst &CI, LibFunc LF,
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h36 enum LibFunc : unsigned { enum
64 void setState(LibFunc F, AvailabilityState State) { in setState()
68 AvailabilityState getState(LibFunc F) const { in getState()
80 bool isValidProtoForLibFunc(const FunctionType &FTy, LibFunc F,
114 bool getLibFunc(StringRef funcName, LibFunc &F) const;
123 bool getLibFunc(const Function &FDecl, LibFunc &F) const;
126 void setUnavailable(LibFunc F) { in setUnavailable()
131 void setAvailable(LibFunc F) { in setAvailable()
137 void setAvailableWithName(LibFunc F, StringRef Name) { in setAvailableWithName()
255 LibFunc LF;
[all …]
H A DMemoryBuiltins.h84 bool isLibFreeFunction(const Function *F, const LibFunc TLIFn);
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp97 bool performCallDomainErrorOnly(CallInst *CI, const LibFunc &Func);
98 bool performCallErrors(CallInst *CI, const LibFunc &Func);
99 bool performCallRangeErrorOnly(CallInst *CI, const LibFunc &Func);
100 Value *generateOneRangeCond(CallInst *CI, const LibFunc &Func);
101 Value *generateTwoRangeCond(CallInst *CI, const LibFunc &Func);
102 Value *generateCondForPow(CallInst *CI, const LibFunc &Func);
138 const LibFunc &Func) { in performCallDomainErrorOnly()
190 const LibFunc &Func) { in performCallRangeErrorOnly()
228 const LibFunc &Func) { in performCallErrors()
301 LibFunc Func; in checkCandidate()
[all …]
H A DBuildLibCalls.cpp263 LibFunc TheLibFunc; in inferNonMandatoryLibFuncAttrs()
1286 LibFunc TheLibFunc, FunctionType *T, in getOrInsertLibFunc()
1359 LibFunc TheLibFunc, FunctionType *T) { in getOrInsertLibFunc()
1364 LibFunc TheLibFunc) { in isLibFuncEmittable()
1382 LibFunc TheLibFunc; in isLibFuncEmittable()
1388 LibFunc DoubleFn, LibFunc FloatFn, LibFunc LongDoubleFn) { in hasFloatFn()
1402 Type *Ty, LibFunc DoubleFn, LibFunc FloatFn, in getFloatFn()
1403 LibFunc LongDoubleFn, LibFunc &TheLibFunc) { in getFloatFn()
1438 static Value *emitLibCall(LibFunc TheLibFunc, Type *ReturnType, in emitLibCall()
1696 static Value *emitUnaryFloatFnCallHelper(Value *Op, LibFunc TheLibFunc, in emitUnaryFloatFnCallHelper()
[all …]
H A DMemoryOpRemark.cpp53 LibFunc LF; in canHandle()
250 LibFunc LF; in visitCall()
267 void MemoryOpRemark::visitKnownLibCall(const CallInst &CI, LibFunc LF, in visitKnownLibCall()
H A DMetaRenamer.cpp185 LibFunc Tmp; in MetaRename()
H A DSimplifyLibCalls.cpp51 static bool ignoreCallingConv(LibFunc Func) { in ignoreCallingConv()
1801 static Value *optimizeTrigReflections(CallInst *Call, LibFunc Func, in optimizeTrigReflections()
1882 LibFunc LibFn; in replacePowWithExp()
1890 LibFunc LibFnFloat, LibFnDouble, LibFnLongDouble; in replacePowWithExp()
2282 LibFunc LogLb, ExpLb, Exp2Lb, Exp10Lb, PowLb; in optimizeLog()
2374 LibFunc ArgLb = NotLibFunc; in optimizeLog()
2508 LibFunc Func; in optimizeTan()
2551 LibFunc TheLibFunc; in insertSinCosCall()
2639 LibFunc Func; in classifyArgUse()
3364 LibFunc Func; in optimizeStringMemoryLibCall()
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/tools/llvm-tli-checker/
H A Dllvm-tli-checker.cpp134 reserve(LibFunc::NumLibFuncs); in initialize()
136 for (unsigned FI = 0; FI != LibFunc::NumLibFuncs; ++FI) { in initialize()
137 LibFunc LF = (LibFunc)FI; in initialize()
145 outs() << "TLI knows " << LibFunc::NumLibFuncs << " symbols, " << NumAvailable in initialize()
353 LibFunc::NumLibFuncs); in main()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp112 static const std::pair<LibFunc, AllocFnsTy> AllocationFnData[] = {
173 LibFunc TLIFn; in getAllocationDataForFunction()
178 AllocationFnData, [TLIFn](const std::pair<LibFunc, AllocFnsTy> &P) { in getAllocationDataForFunction() argument
455 static const std::pair<LibFunc, FreeFnsTy> FreeFnData[] = {
489 const LibFunc TLIFn) { in getFreeFunctionDataForFunction()
491 find_if(FreeFnData, [TLIFn](const std::pair<LibFunc, FreeFnsTy> &P) { in getFreeFunctionDataForFunction() argument
505 LibFunc TLIFn; in getAllocationFamily()
527 bool llvm::isLibFreeFunction(const Function *F, const LibFunc TLIFn) { in isLibFreeFunction()
552 LibFunc TLIFn; in getFreedOperand()
884 LibFunc TLIFn; in findLoadSizeOffset()
H A DTargetLibraryInfo.cpp38 StringLiteral const TargetLibraryInfoImpl::StandardNames[LibFunc::NumLibFuncs] =
75 static_assert(sizeof Signatures / sizeof *Signatures == LibFunc::NumLibFuncs,
932 bool TargetLibraryInfoImpl::getLibFunc(StringRef funcName, LibFunc &F) const { in getLibFunc()
941 F = (LibFunc)(I - Start); in getLibFunc()
997 LibFunc F, in isValidProtoForLibFunc()
1101 LibFunc &F) const { in getLibFunc()
H A DMemoryLocation.cpp249 LibFunc F; in getForArgument()
H A DConstantFolding.cpp2245 LibFunc Func = NotLibFunc; in ConstantFoldScalarCall1()
2590 LibFunc Func = NotLibFunc; in ConstantFoldScalarCall2()
3282 LibFunc LibF; in ConstantFoldCall()
3316 LibFunc Func; in isMathLibCallNoop()
/openbsd-src/gnu/llvm/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;
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyPeephole.cpp139 LibFunc Func; in runOnMachineFunction()
H A DWebAssemblyMemIntrinsicResults.cpp164 LibFunc Func; in optimizeCall()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DPartiallyInlineLibCalls.cpp133 LibFunc LF; in runPartiallyInlineLibCalls()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DModuleInliner.cpp94 LibFunc LF; in isKnownLibFunction()
/openbsd-src/gnu/llvm/llvm/tools/opt/
H A Dopt.cpp661 LibFunc F; in main()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DExpandMemCmp.cpp866 LibFunc Func; in runOnBlock()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp412 LibFunc Func; in foldSqrt()

12