Searched refs:PowerOfTwo (Results 1 – 1 of 1) sorted by relevance
348 unsigned &PowerOfTwo, SDValue &NewMulConst) const;554 unsigned &PowerOfTwo, in canExtractShiftFromMul() argument572 PowerOfTwo = MaxShift; in canExtractShiftFromMul()573 while ((MulConstVal % (1 << PowerOfTwo)) != 0) { in canExtractShiftFromMul()574 --PowerOfTwo; in canExtractShiftFromMul()575 if (PowerOfTwo == 0) return false; in canExtractShiftFromMul()579 unsigned NewMulConstVal = MulConstVal / (1 << PowerOfTwo); in canExtractShiftFromMul()601 unsigned PowerOfTwo = 0; in SelectImmShifterOperand() local603 if (canExtractShiftFromMul(N, 31, PowerOfTwo, NewMulConst)) { in SelectImmShifterOperand()609 ARM_AM::getSORegOpc(ARM_AM::lsl, PowerOfTwo), Loc, MVT::i32); in SelectImmShifterOperand()[all …]