Home | History | Annotate | Download | only in InstCombine

Lines Matching defs:OpI

1259   // If we have fptrunc(OpI (fpextend x), (fpextend y)), we would like to
1266 BinaryOperator *OpI = dyn_cast<BinaryOperator>(CI.getOperand(0));
1267 if (OpI && OpI->hasOneUse()) {
1268 Value *LHSOrig = lookThroughFPExtensions(OpI->getOperand(0));
1269 Value *RHSOrig = lookThroughFPExtensions(OpI->getOperand(1));
1270 unsigned OpWidth = OpI->getType()->getFPMantissaWidth();
1275 switch (OpI->getOpcode()) {
1281 // will not occur because the result of OpI is exact (as we will for
1303 BinaryOperator::Create(OpI->getOpcode(), LHSOrig, RHSOrig);
1304 RI->copyFastMathFlags(OpI);
1321 RI->copyFastMathFlags(OpI);
1339 RI->copyFastMathFlags(OpI);
1345 // type of OpI doesn't enter into things at all. We simply evaluate
1354 if (LHSOrig != OpI->getOperand(0) || RHSOrig != OpI->getOperand(1)) {
1357 RI->copyFastMathFlags(OpI);
1363 if (BinaryOperator::isFNeg(OpI)) {
1364 Value *InnerTrunc = Builder->CreateFPTrunc(OpI->getOperand(1),
1367 RI->copyFastMathFlags(OpI);
1426 Instruction *OpI = cast<Instruction>(FI.getOperand(0));
1428 Value *SrcI = OpI->getOperand(0);
1430 Type *OpITy = OpI->getType();
1432 bool IsInputSigned = isa<SIToFPInst>(OpI);
1464 Instruction *OpI = dyn_cast<Instruction>(FI.getOperand(0));
1465 if (!OpI)
1475 Instruction *OpI = dyn_cast<Instruction>(FI.getOperand(0));
1476 if (!OpI)