Lines Matching refs:getOpcode
758 bool DivIsSigned = DivI->getOpcode() == Instruction::SDiv;
917 if (ICI.isSigned() != (Shr->getOpcode() == Instruction::AShr))
923 if (Shr->getOpcode() == Instruction::AShr &&
934 Shr->getOpcode() == Instruction::AShr ?
946 assert(TheDiv->getOpcode() == Instruction::SDiv ||
947 TheDiv->getOpcode() == Instruction::UDiv);
959 if (Shr->getOpcode() == Instruction::LShr)
997 switch (LHSI->getOpcode()) {
1147 if (Shift->getOpcode() == Instruction::Shl)
1154 if (ConstantExpr::get(Shift->getOpcode(),
1168 if (Shift->getOpcode() == Instruction::Shl)
1188 if (Shift->getOpcode() == Instruction::LShr) {
1369 switch (BO->getOpcode()) {
1527 if (TD && LHSCI->getOpcode() == Instruction::PtrToInt &&
1546 if (LHSCI->getOpcode() != Instruction::ZExt &&
1547 LHSCI->getOpcode() != Instruction::SExt)
1550 bool isSignedExt = LHSCI->getOpcode() == Instruction::SExt;
1561 if (CI->getOpcode() != LHSCI->getOpcode())
1585 Constant *Res2 = ConstantExpr::getCast(LHSCI->getOpcode(),
2152 switch (LHSI->getOpcode()) {
2285 if (BO0 && BO0->getOpcode() == Instruction::Add)
2287 if (BO1 && BO1->getOpcode() == Instruction::Add)
2314 if (BO0 && BO0->getOpcode() == Instruction::Sub)
2316 if (BO1 && BO1->getOpcode() == Instruction::Sub)
2341 if (BO0 && BO0->getOpcode() == Instruction::SRem &&
2345 else if (BO1 && BO1->getOpcode() == Instruction::SRem &&
2368 if (BO0 && BO1 && BO0->getOpcode() == BO1->getOpcode() &&
2371 switch (BO0->getOpcode()) {
2811 switch (LHSI->getOpcode()) {