Lines Matching refs:OpI
1193 BinaryOperator *OpI = dyn_cast<BinaryOperator>(CI.getOperand(0)); in visitFPTrunc() local
1194 if (OpI && OpI->hasOneUse()) { in visitFPTrunc()
1195 Value *LHSOrig = LookThroughFPExtensions(OpI->getOperand(0)); in visitFPTrunc()
1196 Value *RHSOrig = LookThroughFPExtensions(OpI->getOperand(1)); in visitFPTrunc()
1197 unsigned OpWidth = OpI->getType()->getFPMantissaWidth(); in visitFPTrunc()
1202 switch (OpI->getOpcode()) { in visitFPTrunc()
1230 BinaryOperator::Create(OpI->getOpcode(), LHSOrig, RHSOrig); in visitFPTrunc()
1231 RI->copyFastMathFlags(OpI); in visitFPTrunc()
1248 RI->copyFastMathFlags(OpI); in visitFPTrunc()
1266 RI->copyFastMathFlags(OpI); in visitFPTrunc()
1281 if (LHSOrig != OpI->getOperand(0) || RHSOrig != OpI->getOperand(1)) { in visitFPTrunc()
1284 RI->copyFastMathFlags(OpI); in visitFPTrunc()
1290 if (BinaryOperator::isFNeg(OpI)) { in visitFPTrunc()
1291 Value *InnerTrunc = Builder->CreateFPTrunc(OpI->getOperand(1), in visitFPTrunc()
1294 RI->copyFastMathFlags(OpI); in visitFPTrunc()
1345 Instruction *OpI = cast<Instruction>(FI.getOperand(0)); in FoldItoFPtoI() local
1347 Value *SrcI = OpI->getOperand(0); in FoldItoFPtoI()
1349 Type *OpITy = OpI->getType(); in FoldItoFPtoI()
1351 bool IsInputSigned = isa<SIToFPInst>(OpI); in FoldItoFPtoI()
1383 Instruction *OpI = dyn_cast<Instruction>(FI.getOperand(0)); in visitFPToUI() local
1384 if (!OpI) in visitFPToUI()
1394 Instruction *OpI = dyn_cast<Instruction>(FI.getOperand(0)); in visitFPToSI() local
1395 if (!OpI) in visitFPToSI()