Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp1934 unsigned MaxPowerOf2 = 0; in balanceSubTree() local
1984 MaxPowerOf2 = PowerOf2; in balanceSubTree()
1987 MaxPowerOf2 = std::min(MaxPowerOf2, PowerOf2); in balanceSubTree()
1990 if (MaxPowerOf2 > 3) in balanceSubTree()
1991 MaxPowerOf2 = 3; in balanceSubTree()
2045 if (CanFactorize && (willShiftRightEliminate(Mul1.Value, MaxPowerOf2) || in balanceSubTree()
2046 willShiftRightEliminate(Mul2.Value, MaxPowerOf2))) { in balanceSubTree()
2050 SDValue Mul1Factored = factorOutPowerOf2(Mul1.Value, MaxPowerOf2); in balanceSubTree()
2051 SDValue Mul2Factored = factorOutPowerOf2(Mul2.Value, MaxPowerOf2); in balanceSubTree()
2054 SDValue Const = CurDAG->getConstant(MaxPowerOf2, SDLoc(N), in balanceSubTree()