Home
last modified time | relevance | path

Searched refs:PowerOfTwo (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp348 unsigned &PowerOfTwo, SDValue &NewMulConst) const;
554 unsigned &PowerOfTwo, in canExtractShiftFromMul() argument
572 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() local
603 if (canExtractShiftFromMul(N, 31, PowerOfTwo, NewMulConst)) { in SelectImmShifterOperand()
609 ARM_AM::getSORegOpc(ARM_AM::lsl, PowerOfTwo), Loc, MVT::i32); in SelectImmShifterOperand()
[all …]