Searched refs:m_Power2 (Results 1 – 5 of 5) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 413 if (!match(CmpLHS, m_And(m_Value(X), m_Power2(C1)))) in foldSelectICmpAndOr() 437 bool OrOnFalseVal = match(FalseVal, m_Or(m_Specific(TrueVal), m_Power2(C2))); in foldSelectICmpAndOr() 439 OrOnTrueVal = match(TrueVal, m_Or(m_Specific(FalseVal), m_Power2(C2))); in foldSelectICmpAndOr()
|
D | InstCombineMulDivRem.cpp | 872 if (match(Op1, m_Power2())) { in visitUDivOperand() 885 if (match(Op1, m_Shl(m_Power2(), m_Value())) || in visitUDivOperand() 886 match(Op1, m_ZExt(m_Shl(m_Power2(), m_Value())))) { in visitUDivOperand() 1017 if (match(Op1, m_Shl(m_Power2(), m_Value()))) { in visitSDiv()
|
D | InstCombineShifts.cpp | 46 if (Op1->hasOneUse() && match(Op1, m_SRem(m_Value(A), m_Power2(B)))) { in commonShiftTransforms()
|
D | InstCombineCompares.cpp | 2561 match(LHS, m_LShr(m_Power2(CI), m_Value(X)))) in visitICmpInst() 2606 match(LHS, m_LShr(m_Power2(CI), m_Value(X)))) in visitICmpInst()
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 281 inline cst_pred_ty<is_power2> m_Power2() { return cst_pred_ty<is_power2>(); } in m_Power2() function 282 inline api_pred_ty<is_power2> m_Power2(const APInt *&V) { return V; } in m_Power2() function
|