reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  926   if (match(N, m_ZExt(m_Value(X))) && match(D, m_ZExt(m_Value(Y))) &&
  927       X->getType() == Y->getType() && (N->hasOneUse() || D->hasOneUse())) {
  930     Value *NarrowOp = Builder.CreateBinOp(Opcode, X, Y);
  935   if ((match(N, m_OneUse(m_ZExt(m_Value(X)))) && match(D, m_Constant(C))) ||
  936       (match(D, m_OneUse(m_ZExt(m_Value(X)))) && match(N, m_Constant(C)))) {
  938     Constant *TruncC = ConstantExpr::getTrunc(C, X->getType());
  946     Value *NarrowOp = isa<Constant>(D) ? Builder.CreateBinOp(Opcode, X, TruncC)
  947                                        : Builder.CreateBinOp(Opcode, TruncC, X);