Lines Matching refs:Expo
1457 Value *Base = Pow->getArgOperand(0), *Expo = Pow->getArgOperand(1); in replacePowWithExp() local
1510 Value *FMul = B.CreateFMul(BaseFn->getArgOperand(0), Expo, "mul"); in replacePowWithExp()
1535 (isa<SIToFPInst>(Expo) || isa<UIToFPInst>(Expo)) && in replacePowWithExp()
1537 if (Value *ExpoI = getIntToFPVal(Expo, B)) in replacePowWithExp()
1556 Value *FMul = B.CreateFMul(Expo, ConstantFP::get(Ty, N), "mul"); in replacePowWithExp()
1570 return emitUnaryFloatFnCall(Expo, TLI, LibFunc_exp10, LibFunc_exp10f, in replacePowWithExp()
1588 Value *FMul = B.CreateFMul(Log, Expo, "mul"); in replacePowWithExp()
1624 Value *Sqrt, *Base = Pow->getArgOperand(0), *Expo = Pow->getArgOperand(1); in replacePowWithSqrt() local
1630 if (!match(Expo, m_APFloat(ExpoF)) || in replacePowWithSqrt()
1673 static Value *createPowWithIntegerExponent(Value *Base, Value *Expo, Module *M, in createPowWithIntegerExponent() argument
1675 Value *Args[] = {Base, Expo}; in createPowWithIntegerExponent()
1682 Value *Expo = Pow->getArgOperand(1); in optimizePow() local
1713 if (match(Expo, m_SpecificFP(-1.0))) in optimizePow()
1717 if (match(Expo, m_AnyZeroFP())) in optimizePow()
1721 if (match(Expo, m_FPOne())) in optimizePow()
1725 if (match(Expo, m_SpecificFP(2.0))) in optimizePow()
1733 if (AllowApprox && match(Expo, m_APFloat(ExpoF)) && in optimizePow()
1796 if (AllowApprox && (isa<SIToFPInst>(Expo) || isa<UIToFPInst>(Expo))) { in optimizePow()
1797 if (Value *ExpoI = getIntToFPVal(Expo, B)) in optimizePow()