Lines Matching refs:Expo
2040 Value *Base = Pow->getArgOperand(0), *Expo = Pow->getArgOperand(1); in replacePowWithExp() local
2095 Value *FMul = B.CreateFMul(BaseFn->getArgOperand(0), Expo, "mul"); in replacePowWithExp()
2123 (isa<SIToFPInst>(Expo) || isa<UIToFPInst>(Expo)) && in replacePowWithExp()
2129 if (Value *ExpoI = getIntToFPVal(Expo, B, TLI->getIntSize())) { in replacePowWithExp()
2157 Value *FMul = B.CreateFMul(Expo, ConstantFP::get(Ty, N), "mul"); in replacePowWithExp()
2174 B.CreateIntrinsic(Intrinsic::exp10, {Ty}, {Expo}, Pow, "exp10"); in replacePowWithExp()
2178 return copyFlags(*Pow, emitUnaryFloatFnCall(Expo, TLI, LibFunc_exp10, in replacePowWithExp()
2198 Value *FMul = B.CreateFMul(Log, Expo, "mul"); in replacePowWithExp()
2234 Value *Sqrt, *Base = Pow->getArgOperand(0), *Expo = Pow->getArgOperand(1); in replacePowWithSqrt() local
2239 if (!match(Expo, m_APFloat(ExpoF)) || in replacePowWithSqrt()
2284 static Value *createPowWithIntegerExponent(Value *Base, Value *Expo, Module *M, in createPowWithIntegerExponent() argument
2286 Value *Args[] = {Base, Expo}; in createPowWithIntegerExponent()
2287 Type *Types[] = {Base->getType(), Expo->getType()}; in createPowWithIntegerExponent()
2293 Value *Expo = Pow->getArgOperand(1); in optimizePow() local
2316 if (match(Expo, m_SpecificFP(-1.0))) in optimizePow()
2320 if (match(Expo, m_AnyZeroFP())) in optimizePow()
2324 if (match(Expo, m_FPOne())) in optimizePow()
2328 if (match(Expo, m_SpecificFP(2.0))) in optimizePow()
2338 if (AllowApprox && match(Expo, m_APFloat(ExpoF)) && in optimizePow()
2387 if (AllowApprox && (isa<SIToFPInst>(Expo) || isa<UIToFPInst>(Expo))) { in optimizePow()
2388 if (Value *ExpoI = getIntToFPVal(Expo, B, TLI->getIntSize())) in optimizePow()