Searched refs:m_Power2 (Results 1 – 8 of 8) sorted by relevance
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 146 if (!match(V, m_And(m_Value(), m_Power2(AndRHS)))) in foldSelectICmpAnd() 557 if (!match(CmpLHS, m_And(m_Value(), m_Power2(C1)))) in foldSelectICmpAndOr() 583 bool OrOnFalseVal = match(FalseVal, m_Or(m_Specific(TrueVal), m_Power2(C2))); in foldSelectICmpAndOr() 585 OrOnTrueVal = match(TrueVal, m_Or(m_Specific(FalseVal), m_Power2(C2))); in foldSelectICmpAndOr() 1000 match(CmpLHS, m_And(m_Value(X), m_Power2(Y))) && in foldSelectInstWithICmp()
|
| H A D | InstCombineMulDivRem.cpp | 802 if (match(Op1, m_Power2())) { in visitUDivOperand() 808 if (match(Op1, m_Shl(m_Power2(), m_Value())) || in visitUDivOperand() 809 match(Op1, m_ZExt(m_Shl(m_Power2(), m_Value())))) { in visitUDivOperand()
|
| H A D | InstCombineShifts.cpp | 56 if (Op1->hasOneUse() && match(Op1, m_SRem(m_Value(A), m_Power2(B)))) { in commonShiftTransforms()
|
| H A D | InstCombineAndOrXor.cpp | 942 m_ICmp(Pred, m_Add(m_Value(X), m_Power2(I01)), m_Power2(I1))) && in foldSignedTruncationCheck()
|
| H A D | InstCombineCompares.cpp | 4422 match(LHS, m_LShr(m_Power2(CI), m_Value(X)))) { in foldICmpUsingKnownBits()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | PatternMatch.h | 385 inline cst_pred_ty<is_power2> m_Power2() { in m_Power2() function 388 inline api_pred_ty<is_power2> m_Power2(const APInt *&V) { in m_Power2() function
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ScalarEvolutionExpander.cpp | 824 if (match(W, m_Power2(RHS))) { in visitMulExpr()
|
| H A D | ValueTracking.cpp | 1711 if (match(V, m_Power2())) in isKnownToBeAPowerOfTwo()
|