Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2113 const APFloat *BaseF; in replacePowWithExp() local
2114 if (!match(Base, m_APFloat(BaseF))) in replacePowWithExp()
2122 if ((UseIntrinsic || !Ty->isVectorTy()) && BaseF->isExactlyValue(2.0) && in replacePowWithExp()
2147 BaseR.convert(BaseF->getSemantics(), APFloat::rmTowardZero, &Ignored); in replacePowWithExp()
2148 BaseR = BaseR / *BaseF; in replacePowWithExp()
2149 bool IsInteger = BaseF->isInteger(), IsReciprocal = BaseR.isInteger(); in replacePowWithExp()
2150 const APFloat *NF = IsReciprocal ? &BaseR : BaseF; in replacePowWithExp()
2169 if (BaseF->isExactlyValue(10.0) && in replacePowWithExp()
2184 if (Pow->hasApproxFunc() && Pow->hasNoNaNs() && BaseF->isFiniteNonZero() && in replacePowWithExp()
2185 !BaseF->isNegative()) { in replacePowWithExp()
[all …]