Home
last modified time | relevance | path

Searched refs:m_Power2 (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp413 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()
DInstCombineMulDivRem.cpp872 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()
DInstCombineShifts.cpp46 if (Op1->hasOneUse() && match(Op1, m_SRem(m_Value(A), m_Power2(B)))) { in commonShiftTransforms()
DInstCombineCompares.cpp2561 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/
DPatternMatch.h281 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