Lines Matching refs:PowerOfTwo
354 unsigned &PowerOfTwo, SDValue &NewMulConst) const;
548 unsigned &PowerOfTwo, in canExtractShiftFromMul() argument
566 PowerOfTwo = MaxShift; in canExtractShiftFromMul()
567 while ((MulConstVal % (1 << PowerOfTwo)) != 0) { in canExtractShiftFromMul()
568 --PowerOfTwo; in canExtractShiftFromMul()
569 if (PowerOfTwo == 0) return false; in canExtractShiftFromMul()
573 unsigned NewMulConstVal = MulConstVal / (1 << PowerOfTwo); in canExtractShiftFromMul()
595 unsigned PowerOfTwo = 0; in SelectImmShifterOperand() local
597 if (canExtractShiftFromMul(N, 31, PowerOfTwo, NewMulConst)) { in SelectImmShifterOperand()
603 ARM_AM::getSORegOpc(ARM_AM::lsl, PowerOfTwo), Loc, MVT::i32); in SelectImmShifterOperand()
805 unsigned PowerOfTwo = 0; in SelectLdStSOReg() local
807 if (canExtractShiftFromMul(Offset, 31, PowerOfTwo, NewMulConst)) { in SelectLdStSOReg()
811 ShAmt = PowerOfTwo; in SelectLdStSOReg()
1526 unsigned PowerOfTwo = 0; in SelectT2AddrModeSoReg() local
1528 if (canExtractShiftFromMul(OffReg, 3, PowerOfTwo, NewMulConst)) { in SelectT2AddrModeSoReg()
1532 ShAmt = PowerOfTwo; in SelectT2AddrModeSoReg()