Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:getOpcode

873   bool DivIsSigned = DivI->getOpcode() == Instruction::SDiv;
1031 if (ICI.isSigned() != (Shr->getOpcode() == Instruction::AShr))
1037 if (Shr->getOpcode() == Instruction::AShr &&
1048 Shr->getOpcode() == Instruction::AShr ?
1060 assert(TheDiv->getOpcode() == Instruction::SDiv ||
1061 TheDiv->getOpcode() == Instruction::UDiv);
1072 if (Shr->getOpcode() == Instruction::LShr)
1218 switch (LHSI->getOpcode()) {
1369 unsigned ShiftOpcode = Shift->getOpcode();
1441 if (Shift->getOpcode() == Instruction::LShr) {
1861 switch (BO->getOpcode()) {
2028 if (LHSCI->getOpcode() == Instruction::PtrToInt &&
2049 if (LHSCI->getOpcode() != Instruction::ZExt &&
2050 LHSCI->getOpcode() != Instruction::SExt)
2053 bool isSignedExt = LHSCI->getOpcode() == Instruction::SExt;
2064 if (CI->getOpcode() != LHSCI->getOpcode())
2088 Constant *Res2 = ConstantExpr::getCast(LHSCI->getOpcode(),
2339 assert(MulInstr->getOpcode() == Instruction::Mul);
2343 assert(LHS->getOpcode() == Instruction::ZExt);
2344 assert(RHS->getOpcode() == Instruction::ZExt);
2375 if (BO->getOpcode() != Instruction::And)
2498 assert(BO->getOpcode() == Instruction::And);
2608 if (!BinOp || BinOp->getOpcode() != Instruction::Sub)
3193 switch (LHSI->getOpcode()) {
3357 if (BO0 && BO0->getOpcode() == Instruction::Add)
3359 if (BO1 && BO1->getOpcode() == Instruction::Add)
3478 if (BO0 && BO0->getOpcode() == Instruction::Sub)
3480 if (BO1 && BO1->getOpcode() == Instruction::Sub)
3515 if (BO0 && BO0->getOpcode() == Instruction::SRem &&
3519 else if (BO1 && BO1->getOpcode() == Instruction::SRem &&
3542 if (BO0 && BO1 && BO0->getOpcode() == BO1->getOpcode() &&
3545 switch (BO0->getOpcode()) {
4134 switch (LHSI->getOpcode()) {