/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | BuildLibCalls.h | 38 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, 75 LibFunc TheLibFunc); 82 LibFunc DoubleFn, LibFunc FloatFn, LibFunc LongDoubleFn); 87 LibFunc DoubleFn, LibFunc FloatFn, LibFunc LongDoubleFn, 88 LibFunc &TheLibFunc); 206 LibFunc DoubleFn, LibFunc FloatFn, [all …]
|
H A D | SimplifyLibCalls.h | 60 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 *optimizeSymmetric(CallInst *CI, LibFunc Func, IRBuilderBase &B); 209 Value *optimizeFloatingPointLibCall(CallInst *CI, LibFunc Func,
|
H A D | MemoryOpRemark.h | 79 void visitKnownLibCall(const CallInst &CI, LibFunc LF,
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetLibraryInfo.h | 69 enum LibFunc : unsigned { enum 97 void setState(LibFunc F, AvailabilityState State) { in setState() 101 AvailabilityState getState(LibFunc F) const { in getState() 113 bool isValidProtoForLibFunc(const FunctionType &FTy, LibFunc F, 149 bool getLibFunc(StringRef funcName, LibFunc &F) const; 158 bool getLibFunc(const Function &FDecl, LibFunc &F) const; 162 bool getLibFunc(unsigned int Opcode, Type *Ty, LibFunc &F) const; 165 void setUnavailable(LibFunc F) { in setUnavailable() 170 void setAvailable(LibFunc F) { in setAvailable() 176 void setAvailableWithName(LibFunc F, StringRef Name) { in setAvailableWithName() [all …]
|
H A D | MemoryBuiltins.h | 84 bool isLibFreeFunction(const Function *F, const LibFunc TLIFn);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LibCallsShrinkWrap.cpp | 75 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); 131 const LibFunc &Func) { in performCallDomainErrorOnly() 183 const LibFunc &Func) { in performCallRangeErrorOnly() 221 const LibFunc &Func) { in performCallErrors() 294 LibFunc Func; in checkCandidate() [all …]
|
H A D | BuildLibCalls.cpp | 263 LibFunc TheLibFunc; in inferNonMandatoryLibFuncAttrs() 1301 LibFunc TheLibFunc, FunctionType *T, in getOrInsertLibFunc() 1374 LibFunc TheLibFunc, FunctionType *T) { in getOrInsertLibFunc() 1379 LibFunc TheLibFunc) { in isLibFuncEmittable() 1397 LibFunc TheLibFunc; in isLibFuncEmittable() 1403 LibFunc DoubleFn, LibFunc FloatFn, LibFunc LongDoubleFn) { in hasFloatFn() 1417 Type *Ty, LibFunc DoubleFn, LibFunc FloatFn, in getFloatFn() 1418 LibFunc LongDoubleFn, LibFunc &TheLibFunc) { in getFloatFn() 1448 static Value *emitLibCall(LibFunc TheLibFunc, Type *ReturnType, in emitLibCall() 1706 static Value *emitUnaryFloatFnCallHelper(Value *Op, LibFunc TheLibFunc, in emitUnaryFloatFnCallHelper() [all …]
|
H A D | MemoryOpRemark.cpp | 54 LibFunc LF; in canHandle() 251 LibFunc LF; in visitCall() 268 void MemoryOpRemark::visitKnownLibCall(const CallInst &CI, LibFunc LF, in visitKnownLibCall()
|
H A D | SimplifyLibCalls.cpp | 101 static bool ignoreCallingConv(LibFunc Func) { in ignoreCallingConv() 1727 LibFunc &Func) { in optimizeNew() 2061 LibFunc LibFn; in replacePowWithExp() 2069 LibFunc LibFnFloat, LibFnDouble, LibFnLongDouble; in replacePowWithExp() 2495 LibFunc LogLb, ExpLb, Exp2Lb, Exp10Lb, PowLb; in optimizeLog() 2587 LibFunc ArgLb = NotLibFunc; in optimizeLog() 2643 LibFunc ArgLb = NotLibFunc; in mergeSqrtToExp() 2646 LibFunc SqrtLb, ExpLb, Exp2Lb, Exp10Lb; in mergeSqrtToExp() 2794 LibFunc Func; in optimizeTrigInversionPairs() 2798 LibFunc inverseFunc = llvm::StringSwitch<LibFunc>(Callee->getName()) in optimizeTrigInversionPairs() [all …]
|
H A D | MetaRenamer.cpp | 160 LibFunc Tmp; in MetaRename()
|
/freebsd/contrib/llvm-project/llvm/lib/LTO/ |
H A D | UpdateCompilerUsed.cpp | 65 for (unsigned I = 0, E = static_cast<unsigned>(LibFunc::NumLibFuncs); in initializeLibCalls() 67 LibFunc F = static_cast<LibFunc>(I); in initializeLibCalls()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-tli-checker/ |
H A D | llvm-tli-checker.cpp | 127 reserve(LibFunc::NumLibFuncs); 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/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | TargetLibraryInfo.cpp | 45 StringLiteral const TargetLibraryInfoImpl::StandardNames[LibFunc::NumLibFuncs] = 90 static_assert(sizeof Signatures / sizeof *Signatures == LibFunc::NumLibFuncs, 974 static DenseMap<StringRef, LibFunc> 976 DenseMap<StringRef, LibFunc> Indices; in buildIndexMap() 978 Indices.reserve(LibFunc::NumLibFuncs); in buildIndexMap() 980 Indices[Func] = static_cast<LibFunc>(Idx++); in buildIndexMap() 984 bool TargetLibraryInfoImpl::getLibFunc(StringRef funcName, LibFunc &F) const { in getLibFunc() 989 static const DenseMap<StringRef, LibFunc> Indices = in getLibFunc() 1049 LibFunc F, in isValidProtoForLibFunc() 1153 LibFunc &F) const { in getLibFunc() [all …]
|
H A D | MemoryBuiltins.cpp | 119 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 D | MemoryLocation.cpp | 249 LibFunc F; in getForArgument()
|
H A D | ConstantFolding.cpp | 2126 LibFunc Fp128Func = NotLibFunc; in ConstantFoldScalarCall1() 2296 LibFunc Func = NotLibFunc; in ConstantFoldScalarCall1() 2581 LibFunc Func = NotLibFunc; in ConstantFoldLibCall2() 3475 LibFunc LibF; in ConstantFoldCall() 3515 LibFunc Func; in isMathLibCallNoop()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | PGOMemOPSizeOpt.cpp | 145 LibFunc Func; in isMemcmp() 153 LibFunc Func; in isBcmp() 163 LibFunc Func; in getName() 206 LibFunc Func; in visitCallInst()
|
H A D | NumericalStabilitySanitizer.cpp | 759 LibFunc LFunc = LibFunc::NumLibFuncs; in shouldCheckArgs() 804 LibFunc LFunc; in populateShadowStack() 1241 static const char *get(LibFunc LFunc); 1252 LibFunc LFunc; 1464 const char *KnownIntrinsic::get(LibFunc LFunc) { in get() 1483 LibFunc LFunc; in getIntrinsicFromLibfunc()
|
H A D | ValueProfilePlugins.inc | 59 LibFunc Func;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Function.h | 53 enum LibFunc : unsigned; 130 static constexpr LibFunc UnknownLibFunc = LibFunc(-1); 135 mutable LibFunc LibFuncCache = UnknownLibFunc;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyPeephole.cpp | 139 LibFunc Func; in runOnMachineFunction()
|
H A D | WebAssemblyMemIntrinsicResults.cpp | 164 LibFunc Func; in optimizeCall()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | PartiallyInlineLibCalls.cpp | 133 LibFunc LF; in runPartiallyInlineLibCalls()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | ModuleInliner.cpp | 94 LibFunc LF; in isKnownLibFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | AggressiveInstCombine.cpp | 414 static bool foldSqrt(CallInst *Call, LibFunc Func, TargetTransformInfo &TTI, in foldSqrt() 930 StrNCmpInliner(CallInst *CI, LibFunc Func, DomTreeUpdater *DTU, 940 LibFunc Func; 1198 LibFunc LF; in foldLibCalls()
|