Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp194 if (match(&I, m_Mul(m_Shl(m_Value(NewOp), m_Constant(C2)), in visitMul()
195 m_Constant(C1))) && in visitMul()
209 if (match(&I, m_Mul(m_Value(NewOp), m_Constant(C1)))) { in visitMul()
272 if (match(Op0, m_OneUse(m_Add(m_Value(X), m_Constant(C1))))) { in visitMul()
1232 if (match(Op0, m_FMul(m_Value(X), m_Constant(C1)))) { in visitFDiv()
1238 } else if (match(Op0, m_FDiv(m_Value(X), m_Constant(C1)))) { in visitFDiv()
1271 if (match(Op1, m_FMul(m_Value(X), m_Constant(C2)))) in visitFDiv()
1273 else if (match(Op1, m_FDiv(m_Value(X), m_Constant(C2)))) { in visitFDiv()
1276 } else if (match(Op1, m_FDiv(m_Constant(C2), m_Value(X)))) { in visitFDiv()
DInstCombineAddSub.cpp1556 if (match(Op1, m_Add(m_Value(X), m_Constant(C2)))) in visitSub()
1640 if (match(Op1, m_SDiv(m_Value(X), m_Constant(C))) && match(Op0, m_Zero()) && in visitSub()
1658 if (match(Op1, m_Mul(m_Value(A), m_Constant(CI))) || in visitSub()
1659 match(Op1, m_Mul(m_Constant(CI), m_Value(A)))) { in visitSub()
DInstCombineShifts.cpp730 if (match(I.getOperand(0), m_OneUse(m_Shl(m_Constant(C1), m_Value(A)))) && in visitShl()
731 match(I.getOperand(1), m_Constant(C2))) in visitShl()
DInstCombineCasts.cpp867 match(SrcI, m_OneUse(m_And(m_Trunc(m_Value(X)), m_Constant(C)))) && in visitZExt()
873 if (SrcI && match(SrcI, m_OneUse(m_Xor(m_Value(And), m_Constant(C)))) && in visitZExt()
DInstCombineVectorOps.cpp104 if (match(V, m_Add(m_Value(Val), m_Constant(Con)))) { in FindScalarElement()
/external/llvm/lib/CodeGen/
DWinEHPrepare.cpp747 m_Intrinsic<Intrinsic::eh_typeid_for>(m_Constant(Selector))) && in isSelectorDispatch()
748 !match(RHS, m_Intrinsic<Intrinsic::eh_typeid_for>(m_Constant(Selector)))) in isSelectorDispatch()
/external/llvm/include/llvm/IR/
DPatternMatch.h83 inline class_match<Constant> m_Constant() { return class_match<Constant>(); } in m_Constant() function
308 inline bind_ty<Constant> m_Constant(Constant *&C) { return C; } in m_Constant() function