Lines Matching refs:Op1
1053 Value *Op1 = CI->getArgOperand(0); in optimizeCos() local
1054 if (BinaryOperator::isFNeg(Op1)) { in optimizeCos()
1055 BinaryOperator *BinExpr = cast<BinaryOperator>(Op1); in optimizeCos()
1101 Value *Op1 = CI->getArgOperand(0), *Op2 = CI->getArgOperand(1); in optimizePow() local
1102 if (ConstantFP *Op1C = dyn_cast<ConstantFP>(Op1)) { in optimizePow()
1108 hasUnaryFloatFn(TLI, Op1->getType(), LibFunc::exp2, LibFunc::exp2f, in optimizePow()
1114 hasUnaryFloatFn(TLI, Op1->getType(), LibFunc::exp10, LibFunc::exp10f, in optimizePow()
1130 if (auto *OpC = dyn_cast<CallInst>(Op1)) { in optimizePow()
1161 return EmitUnaryFloatFnCall(Op1, TLI->getName(LibFunc::sqrt), B, in optimizePow()
1170 Value *Sqrt = EmitUnaryFloatFnCall(Op1, "sqrt", B, Callee->getAttributes()); in optimizePow()
1173 Value *FCmp = B.CreateFCmpOEQ(Op1, NegInf); in optimizePow()
1179 return Op1; in optimizePow()
1181 return B.CreateFMul(Op1, Op1, "pow2"); in optimizePow()
1183 return B.CreateFDiv(ConstantFP::get(CI->getType(), 1.0), Op1, "powrecip"); in optimizePow()
1196 InnerChain[1] = Op1; in optimizePow()
1197 InnerChain[2] = B.CreateFMul(Op1, Op1); in optimizePow()
1332 Value *Op1 = CI->getArgOperand(1); in optimizeFMinFMax() local
1334 B.CreateFCmpOLT(Op0, Op1) : B.CreateFCmpOGT(Op0, Op1); in optimizeFMinFMax()
1335 return B.CreateSelect(Cmp, Op0, Op1); in optimizeFMinFMax()
1354 Value *Op1 = CI->getArgOperand(0); in optimizeLog() local
1355 auto *OpC = dyn_cast<CallInst>(Op1); in optimizeLog()
1405 Value *Op1 = I->getOperand(1); in optimizeSqrt() local
1408 if (Op0 == Op1) { in optimizeSqrt()
1423 OtherOp = Op1; in optimizeSqrt()
1471 Value *Op1 = CI->getArgOperand(0); in optimizeTan() local
1472 auto *OpC = dyn_cast<CallInst>(Op1); in optimizeTan()