Lines Matching refs:PowerOfTwo
281 unsigned &PowerOfTwo, SDValue &NewMulConst) const;
494 unsigned &PowerOfTwo, in canExtractShiftFromMul() argument
512 PowerOfTwo = MaxShift; in canExtractShiftFromMul()
513 while ((MulConstVal % (1 << PowerOfTwo)) != 0) { in canExtractShiftFromMul()
514 --PowerOfTwo; in canExtractShiftFromMul()
515 if (PowerOfTwo == 0) return false; in canExtractShiftFromMul()
519 unsigned NewMulConstVal = MulConstVal / (1 << PowerOfTwo); in canExtractShiftFromMul()
541 unsigned PowerOfTwo = 0; in SelectImmShifterOperand() local
543 if (canExtractShiftFromMul(N, 31, PowerOfTwo, NewMulConst)) { in SelectImmShifterOperand()
548 PowerOfTwo), in SelectImmShifterOperand()
743 unsigned PowerOfTwo = 0; in SelectLdStSOReg() local
745 if (canExtractShiftFromMul(Offset, 31, PowerOfTwo, NewMulConst)) { in SelectLdStSOReg()
747 ShAmt = PowerOfTwo; in SelectLdStSOReg()
1422 unsigned PowerOfTwo = 0; in SelectT2AddrModeSoReg() local
1424 if (canExtractShiftFromMul(OffReg, 3, PowerOfTwo, NewMulConst)) { in SelectT2AddrModeSoReg()
1426 ShAmt = PowerOfTwo; in SelectT2AddrModeSoReg()