Searched refs:m_One (Results 1 – 5 of 5) sorted by relevance
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 494 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()
|
D | ValueTracking.cpp | 811 if (match(V, m_Shl(m_One(), m_Value()))) in isPowerOfTwo()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 226 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()
|
D | InstCombineCompares.cpp | 2021 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/ |
D | PatternMatch.h | 204 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
|