/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSelect.cpp | 313 if (!match(CmpLHS, m_And(m_Value(X), m_Power2(C1)))) 318 bool OrOnFalseVal = match(FalseVal, m_Or(m_Specific(TrueVal), m_Power2(C2))); 320 OrOnTrueVal = match(TrueVal, m_Or(m_Specific(FalseVal), m_Power2(C2))); 553 match(CmpLHS, m_And(m_Value(X), m_Power2(Y))) && [all...] |
InstCombineMulDivRem.cpp | [all...] |
InstCombineShifts.cpp | 46 if (Op1->hasOneUse() && match(Op1, m_SRem(m_Value(A), m_Power2(B)))) { [all...] |
InstCombineCompares.cpp | [all...] |
/external/llvm/include/llvm/IR/ |
PatternMatch.h | 272 inline cst_pred_ty<is_power2> m_Power2() { return cst_pred_ty<is_power2>(); } 273 inline api_pred_ty<is_power2> m_Power2(const APInt *&V) { return V; } [all...] |
/external/llvm/lib/Analysis/ |
ScalarEvolutionExpander.cpp | 772 if (match(W, m_Power2(RHS))) { [all...] |