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.cpp2124 const APFloat *BaseF; in replacePowWithExp() local
2125 if (!match(Base, m_APFloat(BaseF))) in replacePowWithExp()
2133 if ((UseIntrinsic || !Ty->isVectorTy()) && BaseF->isExactlyValue(2.0) && in replacePowWithExp()
2158 BaseR.convert(BaseF->getSemantics(), APFloat::rmTowardZero, &Ignored); in replacePowWithExp()
2159 BaseR = BaseR / *BaseF; in replacePowWithExp()
2160 bool IsInteger = BaseF->isInteger(), IsReciprocal = BaseR.isInteger(); in replacePowWithExp()
2161 const APFloat *NF = IsReciprocal ? &BaseR : BaseF; in replacePowWithExp()
2180 if (BaseF->isExactlyValue(10.0) && in replacePowWithExp()
2195 if (Pow->hasApproxFunc() && Pow->hasNoNaNs() && BaseF->isFiniteNonZero() && in replacePowWithExp()
2196 !BaseF->isNegative()) { in replacePowWithExp()
[all …]