Searched refs:m_One (Results 1 – 5 of 5) sorted by relevance
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 420 if (match(TCmp, m_One())) in ThreadCmpOverSelect() 425 if (match(FCmp, m_One()) && match(TCmp, m_Zero())) in ThreadCmpOverSelect() 618 match(Op0, m_Shl(m_Specific(Op1), m_One()))) in SimplifySubInst() 734 if (match(Op1, m_One())) in SimplifyMulInst() 810 if (match(Op1, m_One())) in SimplifyDiv() 933 if (match(Op1, m_One())) in SimplifyRem() 1432 if (match(RHS, m_One())) in SimplifyICmpInst() 1447 if (match(RHS, m_One())) in SimplifyICmpInst() 1457 if (match(RHS, m_One())) in SimplifyICmpInst()
|
D | ValueTracking.cpp | 722 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 | 1967 if (match(LHS, m_Shl(m_One(), m_Value(X)))) { in visitICmpInst() 2004 if (match(LHS, m_Shl(m_One(), m_Value(X)))) { in visitICmpInst()
|
/external/llvm/include/llvm/Support/ |
D | PatternMatch.h | 182 inline cst_pred_ty<is_one> m_One() { return cst_pred_ty<is_one>(); } in m_One() function 183 inline api_pred_ty<is_one> m_One(const APInt *&V) { return V; } in m_One() function
|