Lines Matching refs:getOpcode
817 bool DivIsSigned = DivI->getOpcode() == Instruction::SDiv;
976 if (ICI.isSigned() != (Shr->getOpcode() == Instruction::AShr))
982 if (Shr->getOpcode() == Instruction::AShr &&
993 Shr->getOpcode() == Instruction::AShr ?
1005 assert(TheDiv->getOpcode() == Instruction::SDiv ||
1006 TheDiv->getOpcode() == Instruction::UDiv);
1018 if (Shr->getOpcode() == Instruction::LShr)
1055 switch (LHSI->getOpcode()) {
1198 unsigned ShiftOpcode = Shift->getOpcode();
1270 if (Shift->getOpcode() == Instruction::LShr) {
1632 switch (BO->getOpcode()) {
1799 if (DL && LHSCI->getOpcode() == Instruction::PtrToInt &&
1817 if (LHSCI->getOpcode() != Instruction::ZExt &&
1818 LHSCI->getOpcode() != Instruction::SExt)
1821 bool isSignedExt = LHSCI->getOpcode() == Instruction::SExt;
1832 if (CI->getOpcode() != LHSCI->getOpcode())
1856 Constant *Res2 = ConstantExpr::getCast(LHSCI->getOpcode(),
2039 assert(MulInstr->getOpcode() == Instruction::Mul);
2043 assert(LHS->getOpcode() == Instruction::ZExt);
2044 assert(RHS->getOpcode() == Instruction::ZExt);
2075 if (BO->getOpcode() != Instruction::And)
2199 assert(BO->getOpcode() == Instruction::And);
2310 if (!BinOp || BinOp->getOpcode() != Instruction::Sub)
2743 switch (LHSI->getOpcode()) {
2876 if (BO0 && BO0->getOpcode() == Instruction::Add)
2878 if (BO1 && BO1->getOpcode() == Instruction::Add)
2971 if (BO0 && BO0->getOpcode() == Instruction::Sub)
2973 if (BO1 && BO1->getOpcode() == Instruction::Sub)
3008 if (BO0 && BO0->getOpcode() == Instruction::SRem &&
3012 else if (BO1 && BO1->getOpcode() == Instruction::SRem &&
3035 if (BO0 && BO1 && BO0->getOpcode() == BO1->getOpcode() &&
3038 switch (BO0->getOpcode()) {
3535 switch (LHSI->getOpcode()) {