Searched refs:PowerOf2 (Results 1 – 5 of 5) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 36 Value *A = 0, *B = 0, *PowerOf2 = 0; in simplifyValueKnownNonZero() local 37 if (match(V, m_LShr(m_OneUse(m_Shl(m_Value(PowerOf2), m_Value(A))), in simplifyValueKnownNonZero() 40 isPowerOfTwo(PowerOf2, IC.getTargetData())) { in simplifyValueKnownNonZero() 42 return IC.Builder->CreateShl(PowerOf2, A); in simplifyValueKnownNonZero()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 512 ConstantInt *PowerOf2 = in factorArrayIndex() local 514 allocateCandidatesAndFindBasisForGEP(Base, PowerOf2, LHS, ElementSize, GEP); in factorArrayIndex()
|
/external/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 476 ConstantInt *PowerOf2 = in factorArrayIndex() local 478 allocateCandidatesAndFindBasisForGEP(Base, PowerOf2, LHS, ElementSize, GEP); in factorArrayIndex()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelDAGToDAG.cpp | 1975 unsigned PowerOf2; in balanceSubTree() local 1978 Child.hasOneUse() && (PowerOf2 = getPowerOf2Factor(Child))) { in balanceSubTree() 1984 MaxPowerOf2 = PowerOf2; in balanceSubTree() 1987 MaxPowerOf2 = std::min(MaxPowerOf2, PowerOf2); in balanceSubTree()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | icmp.ll | 2031 ; X | C == C --> X <=u C (when C+1 is PowerOf2). 2043 ; X | C == C --> X <=u C (when C+1 is PowerOf2). 2055 ; X | C != C --> X >u C (when C+1 is PowerOf2). 2067 ; X | C != C --> X >u C (when C+1 is PowerOf2).
|