Home
last modified time | relevance | path

Searched refs:hasFloatFn (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DBuildLibCalls.h74 bool hasFloatFn(const Module *M, const TargetLibraryInfo *TLI, Type *Ty,
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1827 hasFloatFn(M, TLI, Ty, LibFunc_ldexp, LibFunc_ldexpf, LibFunc_ldexpl)) { in replacePowWithExp()
1836 if (hasFloatFn(M, TLI, Ty, LibFunc_exp2, LibFunc_exp2f, LibFunc_exp2l)) { in replacePowWithExp()
1863 hasFloatFn(M, TLI, Ty, LibFunc_exp10, LibFunc_exp10f, LibFunc_exp10l)) in replacePowWithExp()
1888 else if (hasFloatFn(M, TLI, Ty, LibFunc_exp2, LibFunc_exp2f, in replacePowWithExp()
1910 if (hasFloatFn(M, TLI, V->getType(), LibFunc_sqrt, LibFunc_sqrtf, in getSqrtCall()
2110 hasFloatFn(M, TLI, Ty, LibFunc_ldexp, LibFunc_ldexpf, LibFunc_ldexpl)) { in optimizeExp2()
H A DBuildLibCalls.cpp1382 bool llvm::hasFloatFn(const Module *M, const TargetLibraryInfo *TLI, Type *Ty, in hasFloatFn() function in llvm
1399 assert(hasFloatFn(M, TLI, Ty, DoubleFn, FloatFn, LongDoubleFn) && in getFloatFn()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp1399 if ((IsTan || IsCot) && hasFloatFn(M, &TLI, I.getType(), LibFunc_tan, in visitFDiv()