Lines Matching refs:ShOpcVal
89 ARM_AM::ShiftOpc ShOpcVal, unsigned ShAmt);
464 ARM_AM::ShiftOpc ShOpcVal, in isShifterOpProfitable() argument
471 return ShOpcVal == ARM_AM::lsl && in isShifterOpProfitable()
554 ARM_AM::ShiftOpc ShOpcVal = ARM_AM::getShiftOpcForNode(N.getOpcode()); in SelectImmShifterOperand() local
558 if (ShOpcVal == ARM_AM::no_shift) return false; in SelectImmShifterOperand()
565 Opc = CurDAG->getTargetConstant(ARM_AM::getSORegOpc(ShOpcVal, ShImmVal), in SelectImmShifterOperand()
578 ARM_AM::ShiftOpc ShOpcVal = ARM_AM::getShiftOpcForNode(N.getOpcode()); in SelectRegShifterOperand() local
582 if (ShOpcVal == ARM_AM::no_shift) return false; in SelectRegShifterOperand()
590 if (CheckProfitability && !isShifterOpProfitable(N, ShOpcVal, ShImmVal)) in SelectRegShifterOperand()
592 Opc = CurDAG->getTargetConstant(ARM_AM::getSORegOpc(ShOpcVal, ShImmVal), in SelectRegShifterOperand()
692 ARM_AM::ShiftOpc ShOpcVal = in SelectLdStSOReg() local
699 if (ShOpcVal != ARM_AM::no_shift) { in SelectLdStSOReg()
705 if (isShifterOpProfitable(Offset, ShOpcVal, ShAmt)) in SelectLdStSOReg()
709 ShOpcVal = ARM_AM::no_shift; in SelectLdStSOReg()
712 ShOpcVal = ARM_AM::no_shift; in SelectLdStSOReg()
717 if (N.getOpcode() != ISD::SUB && ShOpcVal == ARM_AM::no_shift && in SelectLdStSOReg()
720 ShOpcVal = ARM_AM::getShiftOpcForNode(N.getOperand(0).getOpcode()); in SelectLdStSOReg()
721 if (ShOpcVal != ARM_AM::no_shift) { in SelectLdStSOReg()
727 if (isShifterOpProfitable(N.getOperand(0), ShOpcVal, ShAmt)) { in SelectLdStSOReg()
732 ShOpcVal = ARM_AM::no_shift; in SelectLdStSOReg()
735 ShOpcVal = ARM_AM::no_shift; in SelectLdStSOReg()
748 ShOpcVal = ARM_AM::lsl; in SelectLdStSOReg()
752 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, ShOpcVal), in SelectLdStSOReg()
846 ARM_AM::ShiftOpc ShOpcVal = in SelectAddrMode2Worker() local
853 if (ShOpcVal != ARM_AM::no_shift) { in SelectAddrMode2Worker()
859 if (isShifterOpProfitable(Offset, ShOpcVal, ShAmt)) in SelectAddrMode2Worker()
863 ShOpcVal = ARM_AM::no_shift; in SelectAddrMode2Worker()
866 ShOpcVal = ARM_AM::no_shift; in SelectAddrMode2Worker()
871 if (N.getOpcode() != ISD::SUB && ShOpcVal == ARM_AM::no_shift && in SelectAddrMode2Worker()
874 ShOpcVal = ARM_AM::getShiftOpcForNode(N.getOperand(0).getOpcode()); in SelectAddrMode2Worker()
875 if (ShOpcVal != ARM_AM::no_shift) { in SelectAddrMode2Worker()
881 if (isShifterOpProfitable(N.getOperand(0), ShOpcVal, ShAmt)) { in SelectAddrMode2Worker()
886 ShOpcVal = ARM_AM::no_shift; in SelectAddrMode2Worker()
889 ShOpcVal = ARM_AM::no_shift; in SelectAddrMode2Worker()
894 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, ShOpcVal), in SelectAddrMode2Worker()
912 ARM_AM::ShiftOpc ShOpcVal = ARM_AM::getShiftOpcForNode(N.getOpcode()); in SelectAddrMode2OffsetReg() local
914 if (ShOpcVal != ARM_AM::no_shift) { in SelectAddrMode2OffsetReg()
919 if (isShifterOpProfitable(N, ShOpcVal, ShAmt)) in SelectAddrMode2OffsetReg()
923 ShOpcVal = ARM_AM::no_shift; in SelectAddrMode2OffsetReg()
926 ShOpcVal = ARM_AM::no_shift; in SelectAddrMode2OffsetReg()
930 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, ShOpcVal), in SelectAddrMode2OffsetReg()
1399 ARM_AM::ShiftOpc ShOpcVal = ARM_AM::getShiftOpcForNode(OffReg.getOpcode()); in SelectT2AddrModeSoReg() local
1400 if (ShOpcVal != ARM_AM::lsl) { in SelectT2AddrModeSoReg()
1401 ShOpcVal = ARM_AM::getShiftOpcForNode(Base.getOpcode()); in SelectT2AddrModeSoReg()
1402 if (ShOpcVal == ARM_AM::lsl) in SelectT2AddrModeSoReg()
1406 if (ShOpcVal == ARM_AM::lsl) { in SelectT2AddrModeSoReg()
1411 if (ShAmt < 4 && isShifterOpProfitable(OffReg, ShOpcVal, ShAmt)) in SelectT2AddrModeSoReg()
2370 ARM_AM::ShiftOpc ShOpcVal = ARM_AM::getShiftOpcForNode(ISD::SRL); in tryV6T2BitfieldExtractOp() local
2372 CurDAG->getTargetConstant(ARM_AM::getSORegOpc(ShOpcVal, LSB), dl, in tryV6T2BitfieldExtractOp()