Lines Matching defs:ShAmt
90 ARM_AM::ShiftOpc ShOpcVal, unsigned ShAmt);
551 unsigned ShAmt) {
558 (ShAmt == 2 || (Subtarget->isSwift() && ShAmt == 1));
743 unsigned ShAmt = Log2_32(RHSC);
745 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt,
771 unsigned ShAmt = 0;
781 ShAmt = Sh->getZExtValue();
782 if (isShifterOpProfitable(Offset, ShOpcVal, ShAmt))
785 ShAmt = 0;
803 ShAmt = Sh->getZExtValue();
804 if (isShifterOpProfitable(N.getOperand(0), ShOpcVal, ShAmt)) {
808 ShAmt = 0;
826 ShAmt = PowerOfTwo;
831 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, ShOpcVal),
850 unsigned ShAmt = 0;
855 ShAmt = Sh->getZExtValue();
856 if (isShifterOpProfitable(N, ShOpcVal, ShAmt))
859 ShAmt = 0;
867 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, ShOpcVal),
1511 unsigned ShAmt = 0;
1527 ShAmt = Sh->getZExtValue();
1528 if (ShAmt < 4 && isShifterOpProfitable(OffReg, ShOpcVal, ShAmt))
1531 ShAmt = 0;
1545 ShAmt = PowerOfTwo;
1549 ShImm = CurDAG->getTargetConstant(ShAmt, SDLoc(N), MVT::i32);