Searched refs:PowerOf2 (Results 1 – 2 of 2) 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/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 476 ConstantInt *PowerOf2 = in factorArrayIndex() local 478 allocateCandidatesAndFindBasisForGEP(Base, PowerOf2, LHS, ElementSize, GEP); in factorArrayIndex()
|