Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp708 if (match(I.getOperand(0), m_OneUse(m_Shl(m_Constant(C1), m_Value(A)))) && in visitShl()
709 match(I.getOperand(1), m_Constant(C2))) in visitShl()
DInstCombineMulDivRem.cpp135 if (match(&I, m_Mul(m_Shl(m_Value(NewOp), m_Constant(C2)), in visitMul()
136 m_Constant(C1))) && in visitMul()
141 if (match(&I, m_Mul(m_Value(NewOp), m_Constant(C1)))) { in visitMul()
DInstCombineVectorOps.cpp99 if (match(V, m_Add(m_Value(Val), m_Constant(Con)))) { in FindScalarElement()
DInstCombineAddSub.cpp1453 if (match(Op1, m_SDiv(m_Value(X), m_Constant(C))) && in visitSub()
/external/llvm/include/llvm/Support/
DPatternMatch.h78 inline class_match<Constant> m_Constant() { return class_match<Constant>(); } in m_Constant() function
306 inline bind_ty<Constant> m_Constant(Constant *&C) { return C; } in m_Constant() function