Searched refs:m_Power2 (Results 1 – 8 of 8) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 145 if (!match(V, m_And(m_Value(), m_Power2(AndRHS)))) in foldSelectICmpAnd() 608 if (!match(CmpLHS, m_And(m_Value(), m_Power2(C1)))) in foldSelectICmpAndOr() 634 bool OrOnFalseVal = match(FalseVal, m_Or(m_Specific(TrueVal), m_Power2(C2))); in foldSelectICmpAndOr() 636 OrOnTrueVal = match(TrueVal, m_Or(m_Specific(FalseVal), m_Power2(C2))); in foldSelectICmpAndOr() 1449 match(CmpLHS, m_And(m_Value(X), m_Power2(Y))) && in foldSelectInstWithICmp()
|
D | InstCombineMulDivRem.cpp | 890 if (match(Op1, m_Power2())) { in visitUDivOperand() 896 if (match(Op1, m_Shl(m_Power2(), m_Value())) || in visitUDivOperand() 897 match(Op1, m_ZExt(m_Shl(m_Power2(), m_Value())))) { in visitUDivOperand()
|
D | InstCombineShifts.cpp | 406 if (Op1->hasOneUse() && match(Op1, m_SRem(m_Value(A), m_Power2(B)))) { in commonShiftTransforms()
|
D | InstCombineAndOrXor.cpp | 939 m_ICmp(Pred, m_Add(m_Value(X), m_Power2(I01)), m_Power2(I1))) && in foldSignedTruncationCheck()
|
D | InstCombineCompares.cpp | 2273 if (!C.isNullValue() || !match(SRem->getOperand(1), m_Power2(DivisorC))) in foldICmpSRemConstant() 5054 match(LHS, m_LShr(m_Power2(CI), m_Value(X)))) { in foldICmpUsingKnownBits()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 435 inline cst_pred_ty<is_power2> m_Power2() { in m_Power2() function 438 inline api_pred_ty<is_power2> m_Power2(const APInt *&V) { in m_Power2() function
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 835 if (match(W, m_Power2(RHS))) { in visitMulExpr()
|
D | ValueTracking.cpp | 1836 if (match(V, m_Power2())) in isKnownToBeAPowerOfTwo()
|