Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DInstructionSimplify.cpp494 if (match(TCmp, m_One())) in ThreadCmpOverSelect()
499 if (match(FCmp, m_One()) && match(TCmp, m_Zero())) in ThreadCmpOverSelect()
783 match(Op0, m_Shl(m_Specific(Op1), m_One()))) in SimplifySubInst()
913 if (match(Op1, m_One())) in SimplifyMulInst()
986 if (match(Op1, m_One())) in SimplifyDiv()
1111 if (match(Op1, m_One())) in SimplifyRem()
1665 if (match(RHS, m_One())) in SimplifyICmpInst()
1680 if (match(RHS, m_One())) in SimplifyICmpInst()
1690 if (match(RHS, m_One())) in SimplifyICmpInst()
DValueTracking.cpp811 if (match(V, m_Shl(m_One(), m_Value()))) in isPowerOfTwo()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp226 if (match(Op0, m_Shl(m_One(), m_Value(Y)))) in visitMul()
228 if (match(Op1, m_Shl(m_One(), m_Value(Y)))) in visitMul()
DInstCombineCompares.cpp2021 if (match(LHS, m_Shl(m_One(), m_Value(X)))) { in visitICmpInst()
2058 if (match(LHS, m_Shl(m_One(), m_Value(X)))) { in visitICmpInst()
/external/llvm/include/llvm/Support/
DPatternMatch.h204 inline cst_pred_ty<is_one> m_One() { return cst_pred_ty<is_one>(); } in m_One() function
205 inline api_pred_ty<is_one> m_One(const APInt *&V) { return V; } in m_One() function