Lines Matching refs:PowerOfTwo
285 unsigned &PowerOfTwo, SDValue &NewMulConst) const;
501 unsigned &PowerOfTwo, in canExtractShiftFromMul() argument
519 PowerOfTwo = MaxShift; in canExtractShiftFromMul()
520 while ((MulConstVal % (1 << PowerOfTwo)) != 0) { in canExtractShiftFromMul()
521 --PowerOfTwo; in canExtractShiftFromMul()
522 if (PowerOfTwo == 0) return false; in canExtractShiftFromMul()
526 unsigned NewMulConstVal = MulConstVal / (1 << PowerOfTwo); in canExtractShiftFromMul()
548 unsigned PowerOfTwo = 0; in SelectImmShifterOperand() local
550 if (canExtractShiftFromMul(N, 31, PowerOfTwo, NewMulConst)) { in SelectImmShifterOperand()
557 PowerOfTwo), in SelectImmShifterOperand()
750 unsigned PowerOfTwo = 0; in SelectLdStSOReg() local
752 if (canExtractShiftFromMul(Offset, 31, PowerOfTwo, NewMulConst)) { in SelectLdStSOReg()
754 ShAmt = PowerOfTwo; in SelectLdStSOReg()
1421 unsigned PowerOfTwo = 0; in SelectT2AddrModeSoReg() local
1423 if (canExtractShiftFromMul(OffReg, 3, PowerOfTwo, NewMulConst)) { in SelectT2AddrModeSoReg()
1425 ShAmt = PowerOfTwo; in SelectT2AddrModeSoReg()