| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | BuildLibCalls.h | 41 LibFunc TheLibFunc, 46 LibFunc TheLibFunc, 50 LibFunc TheLibFunc, AttributeList AttributeList, in getOrInsertLibFunc() 60 LibFunc TheLibFunc, Type *RetTy, ArgsTy... Args) { in getOrInsertLibFunc() 68 LibFunc TheLibFunc, AttributeList AttributeList, 82 LibFunc TheLibFunc); 90 Type *Ty, LibFunc DoubleFn, LibFunc FloatFn, 91 LibFunc LongDoubleFn); 96 Type *Ty, LibFunc DoubleFn, LibFunc FloatFn, 97 LibFunc LongDoubleFn, LibFunc &TheLibFunc); [all …]
|
| H A D | SimplifyLibCalls.h | 62 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func); 63 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func); 191 Value *optimizeNew(CallInst *CI, IRBuilderBase &B, LibFunc &Func); 213 Value *optimizeSymmetric(CallInst *CI, LibFunc Func, IRBuilderBase &B); 217 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 | 72 enum LibFunc : unsigned { enum 100 void setState(LibFunc F, AvailabilityState State) { in setState() 104 AvailabilityState getState(LibFunc F) const { in getState() 116 LLVM_ABI bool isValidProtoForLibFunc(const FunctionType &FTy, LibFunc F, 152 LLVM_ABI bool getLibFunc(StringRef funcName, LibFunc &F) const; 161 LLVM_ABI bool getLibFunc(const Function &FDecl, LibFunc &F) const; 165 LLVM_ABI bool getLibFunc(unsigned int Opcode, Type *Ty, LibFunc &F) const; 168 void setUnavailable(LibFunc F) { in setUnavailable() 173 void setAvailable(LibFunc F) { in setAvailable() 179 void setAvailableWithName(LibFunc F, StringRef Name) { in setAvailableWithName() [all …]
|
| H A D | MemoryBuiltins.h | 86 LLVM_ABI 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 | 316 LibFunc TheLibFunc; in inferNonMandatoryLibFuncAttrs() 1450 LibFunc TheLibFunc, FunctionType *T, in getOrInsertLibFunc() 1523 LibFunc TheLibFunc, FunctionType *T) { in getOrInsertLibFunc() 1528 LibFunc TheLibFunc) { in isLibFuncEmittable() 1546 LibFunc TheLibFunc; in isLibFuncEmittable() 1552 LibFunc DoubleFn, LibFunc FloatFn, LibFunc LongDoubleFn) { in hasFloatFn() 1566 Type *Ty, LibFunc DoubleFn, LibFunc FloatFn, in getFloatFn() 1567 LibFunc LongDoubleFn, LibFunc &TheLibFunc) { in getFloatFn() 1597 static Value *emitLibCall(LibFunc TheLibFunc, Type *ReturnType, in emitLibCall() 1864 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 | 104 static bool ignoreCallingConv(LibFunc Func) { in ignoreCallingConv() 1722 LibFunc &Func) { in optimizeNew() 2072 LibFunc LibFn; in replacePowWithExp() 2080 LibFunc LibFnFloat, LibFnDouble, LibFnLongDouble; in replacePowWithExp() 2499 LibFunc LogLb, ExpLb, Exp2Lb, Exp10Lb, PowLb; in optimizeLog() 2615 LibFunc ArgLb = NotLibFunc; in optimizeLog() 2671 LibFunc ArgLb = NotLibFunc; in mergeSqrtToExp() 2674 LibFunc SqrtLb, ExpLb, Exp2Lb, Exp10Lb; in mergeSqrtToExp() 2851 LibFunc Func; in optimizeTrigInversionPairs() 2855 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 | 129 reserve(LibFunc::NumLibFuncs); in initialize() 131 for (unsigned FI = 0; FI != LibFunc::NumLibFuncs; ++FI) { in initialize() 132 LibFunc LF = (LibFunc)FI; in initialize() 140 outs() << "TLI knows " << LibFunc::NumLibFuncs << " symbols, " << NumAvailable in initialize() 348 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, 997 static DenseMap<StringRef, LibFunc> 999 DenseMap<StringRef, LibFunc> Indices; in buildIndexMap() 1001 Indices.reserve(LibFunc::NumLibFuncs); in buildIndexMap() 1003 Indices[Func] = static_cast<LibFunc>(Idx++); in buildIndexMap() 1007 bool TargetLibraryInfoImpl::getLibFunc(StringRef funcName, LibFunc &F) const { in getLibFunc() 1012 static const DenseMap<StringRef, LibFunc> Indices = in getLibFunc() 1071 static bool isValidProtoForSizeReturningNew(const FunctionType &FTy, LibFunc F, in isValidProtoForSizeReturningNew() 1115 LibFunc F, in isValidProtoForLibFunc() [all …]
|
| H A D | MemoryBuiltins.cpp | 118 static const std::pair<LibFunc, AllocFnsTy> AllocationFnData[] = { 185 LibFunc TLIFn; in getAllocationDataForFunction() 190 AllocationFnData, [TLIFn](const std::pair<LibFunc, AllocFnsTy> &P) { in getAllocationDataForFunction() argument 458 static const std::pair<LibFunc, FreeFnsTy> FreeFnData[] = { 492 const LibFunc TLIFn) { in getFreeFunctionDataForFunction() 494 find_if(FreeFnData, [TLIFn](const std::pair<LibFunc, FreeFnsTy> &P) { in getFreeFunctionDataForFunction() argument 505 LibFunc TLIFn; in getAllocationFamily() 529 bool llvm::isLibFreeFunction(const Function *F, const LibFunc TLIFn) { in isLibFreeFunction() 550 LibFunc TLIFn; in getFreedOperand() 1050 LibFunc TLIFn; in findLoadOffsetRange()
|
| H A D | MemoryLocation.cpp | 254 LibFunc F; in getForArgument()
|
| /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 | 813 LibFunc LFunc = LibFunc::NumLibFuncs; in shouldCheckArgs() 858 LibFunc LFunc; in populateShadowStack() 1295 static const char *get(LibFunc LFunc); 1306 LibFunc LFunc; 1518 const char *KnownIntrinsic::get(LibFunc LFunc) { in get() 1537 LibFunc LFunc; in getIntrinsicFromLibfunc()
|
| H A D | ValueProfilePlugins.inc | 59 LibFunc Func;
|
| H A D | MemProfUse.cpp | 153 LibFunc Func; in isAllocationWithHotColdVariant()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Function.h | 54 enum LibFunc : unsigned; 131 static constexpr LibFunc UnknownLibFunc = LibFunc(-1); 136 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 | 136 LibFunc LF; in runPartiallyInlineLibCalls()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 429 static bool foldSqrt(CallInst *Call, LibFunc Func, TargetTransformInfo &TTI, in foldSqrt() 993 StrNCmpInliner(CallInst *CI, LibFunc Func, DomTreeUpdater *DTU, in StrNCmpInliner() 1003 LibFunc Func; 1269 LibFunc LF; in foldLibCalls()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | ModuleInliner.cpp | 102 LibFunc LF; in isKnownLibFunction()
|