Lines Matching refs:ShAmt
2530 inline static bool isTruncatedShiftCountForLEA(unsigned ShAmt) { in isTruncatedShiftCountForLEA() argument
2536 return ShAmt < 4 && ShAmt > 0; in isTruncatedShiftCountForLEA()
2653 unsigned ShAmt = MI->getOperand(2).getImm(); in convertToThreeAddressWithLEA() local
2654 MIB.addReg(0).addImm(1 << ShAmt) in convertToThreeAddressWithLEA()
2758 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local
2759 if (!isTruncatedShiftCountForLEA(ShAmt)) return nullptr; in convertToThreeAddress()
2769 .addReg(0).addImm(1 << ShAmt).addOperand(Src).addImm(0).addReg(0); in convertToThreeAddress()
2774 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local
2775 if (!isTruncatedShiftCountForLEA(ShAmt)) return nullptr; in convertToThreeAddress()
2789 .addReg(0).addImm(1 << ShAmt) in convertToThreeAddress()
2800 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in convertToThreeAddress() local
2801 if (!isTruncatedShiftCountForLEA(ShAmt)) return nullptr; in convertToThreeAddress()
2807 .addReg(0).addImm(1 << ShAmt).addOperand(Src).addImm(0).addReg(0); in convertToThreeAddress()
4826 unsigned ShAmt = getTruncatedShiftCount(MI, 2); in isDefConvertible() local
4827 if (isTruncatedShiftCountForLEA(ShAmt)) return false; in isDefConvertible()
4828 return ShAmt != 0; in isDefConvertible()