• Home
  • Raw
  • Download

Lines Matching refs:ShAmt

89                              ARM_AM::ShiftOpc ShOpcVal, unsigned ShAmt);
465 unsigned ShAmt) { in isShifterOpProfitable() argument
472 (ShAmt == 2 || (Subtarget->isSwift() && ShAmt == 1)); in isShifterOpProfitable()
666 unsigned ShAmt = Log2_32(RHSC); in SelectLdStSOReg() local
668 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, in SelectLdStSOReg()
694 unsigned ShAmt = 0; in SelectLdStSOReg() local
704 ShAmt = Sh->getZExtValue(); in SelectLdStSOReg()
705 if (isShifterOpProfitable(Offset, ShOpcVal, ShAmt)) in SelectLdStSOReg()
708 ShAmt = 0; in SelectLdStSOReg()
726 ShAmt = Sh->getZExtValue(); in SelectLdStSOReg()
727 if (isShifterOpProfitable(N.getOperand(0), ShOpcVal, ShAmt)) { in SelectLdStSOReg()
731 ShAmt = 0; in SelectLdStSOReg()
747 ShAmt = PowerOfTwo; in SelectLdStSOReg()
752 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, ShOpcVal), in SelectLdStSOReg()
777 unsigned ShAmt = Log2_32(RHSC); in SelectAddrMode2Worker() local
779 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, in SelectAddrMode2Worker()
848 unsigned ShAmt = 0; in SelectAddrMode2Worker() local
858 ShAmt = Sh->getZExtValue(); in SelectAddrMode2Worker()
859 if (isShifterOpProfitable(Offset, ShOpcVal, ShAmt)) in SelectAddrMode2Worker()
862 ShAmt = 0; in SelectAddrMode2Worker()
880 ShAmt = Sh->getZExtValue(); in SelectAddrMode2Worker()
881 if (isShifterOpProfitable(N.getOperand(0), ShOpcVal, ShAmt)) { in SelectAddrMode2Worker()
885 ShAmt = 0; in SelectAddrMode2Worker()
894 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, ShOpcVal), in SelectAddrMode2Worker()
913 unsigned ShAmt = 0; in SelectAddrMode2OffsetReg() local
918 ShAmt = Sh->getZExtValue(); in SelectAddrMode2OffsetReg()
919 if (isShifterOpProfitable(N, ShOpcVal, ShAmt)) in SelectAddrMode2OffsetReg()
922 ShAmt = 0; in SelectAddrMode2OffsetReg()
930 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, ShOpcVal), in SelectAddrMode2OffsetReg()
1394 unsigned ShAmt = 0; in SelectT2AddrModeSoReg() local
1410 ShAmt = Sh->getZExtValue(); in SelectT2AddrModeSoReg()
1411 if (ShAmt < 4 && isShifterOpProfitable(OffReg, ShOpcVal, ShAmt)) in SelectT2AddrModeSoReg()
1414 ShAmt = 0; in SelectT2AddrModeSoReg()
1426 ShAmt = PowerOfTwo; in SelectT2AddrModeSoReg()
1430 ShImm = CurDAG->getTargetConstant(ShAmt, SDLoc(N), MVT::i32); in SelectT2AddrModeSoReg()