Lines Matching refs:PowerOfTwo
257 unsigned &PowerOfTwo, SDValue &NewMulConst) const;
472 unsigned &PowerOfTwo, in canExtractShiftFromMul() argument
490 PowerOfTwo = MaxShift; in canExtractShiftFromMul()
491 while ((MulConstVal % (1 << PowerOfTwo)) != 0) { in canExtractShiftFromMul()
492 --PowerOfTwo; in canExtractShiftFromMul()
493 if (PowerOfTwo == 0) return false; in canExtractShiftFromMul()
497 unsigned NewMulConstVal = MulConstVal / (1 << PowerOfTwo); in canExtractShiftFromMul()
519 unsigned PowerOfTwo = 0; in SelectImmShifterOperand() local
521 if (canExtractShiftFromMul(N, 31, PowerOfTwo, NewMulConst)) { in SelectImmShifterOperand()
527 ARM_AM::getSORegOpc(ARM_AM::lsl, PowerOfTwo), Loc, MVT::i32); in SelectImmShifterOperand()
729 unsigned PowerOfTwo = 0; in SelectLdStSOReg() local
731 if (canExtractShiftFromMul(Offset, 31, PowerOfTwo, NewMulConst)) { in SelectLdStSOReg()
735 ShAmt = PowerOfTwo; in SelectLdStSOReg()
1296 unsigned PowerOfTwo = 0; in SelectT2AddrModeSoReg() local
1298 if (canExtractShiftFromMul(OffReg, 3, PowerOfTwo, NewMulConst)) { in SelectT2AddrModeSoReg()
1302 ShAmt = PowerOfTwo; in SelectT2AddrModeSoReg()