Home
last modified time | relevance | path

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

/external/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp285 unsigned &PowerOfTwo, SDValue &NewMulConst) const;
501 unsigned &PowerOfTwo, in canExtractShiftFromMul() argument
519 PowerOfTwo = MaxShift; in canExtractShiftFromMul()
520 while ((MulConstVal % (1 << PowerOfTwo)) != 0) { in canExtractShiftFromMul()
521 --PowerOfTwo; in canExtractShiftFromMul()
522 if (PowerOfTwo == 0) return false; in canExtractShiftFromMul()
526 unsigned NewMulConstVal = MulConstVal / (1 << PowerOfTwo); in canExtractShiftFromMul()
548 unsigned PowerOfTwo = 0; in SelectImmShifterOperand() local
550 if (canExtractShiftFromMul(N, 31, PowerOfTwo, NewMulConst)) { in SelectImmShifterOperand()
557 PowerOfTwo), in SelectImmShifterOperand()
[all …]
/external/clang/lib/ARCMigrate/
DObjCMT.cpp801 bool PowerOfTwo = true; in UseNSOptionsMacro() local
807 PowerOfTwo = false; in UseNSOptionsMacro()
817 if (PowerOfTwo && EnumVal) { in UseNSOptionsMacro()
819 PowerOfTwo = false; in UseNSOptionsMacro()
837 return AllHexdecimalEnumerator || (PowerOfTwo && (MaxPowerOfTwoVal > 2)); in UseNSOptionsMacro()