Lines Matching defs:ShAmt
95 ARM_AM::ShiftOpc ShOpcVal, unsigned ShAmt);
457 unsigned ShAmt) {
464 (ShAmt == 2 || (Subtarget->isSwift() && ShAmt == 1));
584 unsigned ShAmt = Log2_32(RHSC);
586 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt,
612 unsigned ShAmt = 0;
622 ShAmt = Sh->getZExtValue();
623 if (isShifterOpProfitable(Offset, ShOpcVal, ShAmt))
626 ShAmt = 0;
644 ShAmt = Sh->getZExtValue();
645 if (isShifterOpProfitable(N.getOperand(0), ShOpcVal, ShAmt)) {
649 ShAmt = 0;
658 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, ShOpcVal),
683 unsigned ShAmt = Log2_32(RHSC);
685 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt,
752 unsigned ShAmt = 0;
762 ShAmt = Sh->getZExtValue();
763 if (isShifterOpProfitable(Offset, ShOpcVal, ShAmt))
766 ShAmt = 0;
784 ShAmt = Sh->getZExtValue();
785 if (isShifterOpProfitable(N.getOperand(0), ShOpcVal, ShAmt)) {
789 ShAmt = 0;
798 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, ShOpcVal),
817 unsigned ShAmt = 0;
822 ShAmt = Sh->getZExtValue();
823 if (isShifterOpProfitable(N, ShOpcVal, ShAmt))
826 ShAmt = 0;
834 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, ShOpcVal),
1374 unsigned ShAmt = 0;
1390 ShAmt = Sh->getZExtValue();
1391 if (ShAmt < 4 && isShifterOpProfitable(OffReg, ShOpcVal, ShAmt))
1394 ShAmt = 0;
1402 ShImm = CurDAG->getTargetConstant(ShAmt, MVT::i32);