Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:getOpcode

56       if (I->getOpcode() == Instruction::LShr && !I->isExact()) {
61 if (I->getOpcode() == Instruction::Shl && !I->hasNoUnsignedWrap()) {
216 (BO->getOpcode() != Instruction::UDiv &&
217 BO->getOpcode() != Instruction::SDiv)) {
224 (BO->getOpcode() == Instruction::UDiv ||
225 BO->getOpcode() == Instruction::SDiv)) {
237 if (BO->getOpcode() == Instruction::UDiv)
313 if (I->getOpcode() != Instruction::FMul || !I->hasUnsafeAlgebra())
331 if (!I || (I->getOpcode() != Instruction::FMul &&
332 I->getOpcode() != Instruction::FDiv))
370 if (FMulOrDiv->getOpcode() == Instruction::FMul) {
440 (FAddSub->getOpcode() == Instruction::FAdd ||
441 FAddSub->getOpcode() == Instruction::FSub)) {
460 if (Swap && FAddSub->getOpcode() == Instruction::FSub)
463 Value *R = (FAddSub->getOpcode() == Instruction::FAdd) ?
689 if (Instruction::BinaryOps(LHS->getOpcode()) == I.getOpcode())
692 I.getOpcode()==Instruction::SDiv))
694 return BinaryOperator::Create(I.getOpcode(), LHS->getOperand(0),
715 bool isSigned = I.getOpcode() == Instruction::SDiv;
718 return BinaryOperator::Create(I.getOpcode(), X, Op1);