Lines Matching refs:PowerOfTwo
354 unsigned &PowerOfTwo, SDValue &NewMulConst) const;
550 unsigned &PowerOfTwo, in canExtractShiftFromMul() argument
568 PowerOfTwo = MaxShift; in canExtractShiftFromMul()
569 while ((MulConstVal % (1 << PowerOfTwo)) != 0) { in canExtractShiftFromMul()
570 --PowerOfTwo; in canExtractShiftFromMul()
571 if (PowerOfTwo == 0) return false; in canExtractShiftFromMul()
575 unsigned NewMulConstVal = MulConstVal / (1 << PowerOfTwo); in canExtractShiftFromMul()
597 unsigned PowerOfTwo = 0; in SelectImmShifterOperand() local
599 if (canExtractShiftFromMul(N, 31, PowerOfTwo, NewMulConst)) { in SelectImmShifterOperand()
605 ARM_AM::getSORegOpc(ARM_AM::lsl, PowerOfTwo), Loc, MVT::i32); in SelectImmShifterOperand()
807 unsigned PowerOfTwo = 0; in SelectLdStSOReg() local
809 if (canExtractShiftFromMul(Offset, 31, PowerOfTwo, NewMulConst)) { in SelectLdStSOReg()
813 ShAmt = PowerOfTwo; in SelectLdStSOReg()
1528 unsigned PowerOfTwo = 0; in SelectT2AddrModeSoReg() local
1530 if (canExtractShiftFromMul(OffReg, 3, PowerOfTwo, NewMulConst)) { in SelectT2AddrModeSoReg()
1534 ShAmt = PowerOfTwo; in SelectT2AddrModeSoReg()