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

References

lib/Transforms/InstCombine/InstCombineAddSub.cpp
 1732     if (match(Op1, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) {
 1732     if (match(Op1, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) {
 1736         return CastInst::CreateSExtOrBitCast(X, I.getType());
 1737       return SelectInst::Create(X, SubOne(C), C);
 1739     if (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) {
 1739     if (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) {
 1743         return CastInst::CreateZExtOrBitCast(X, I.getType());
 1744       return SelectInst::Create(X, AddOne(C), C);
 1748     if (match(Op1, m_Not(m_Value(X))))
 1749       return BinaryOperator::CreateAdd(X, AddOne(C));
 1764     if (match(Op1, m_Sub(m_Constant(C2), m_Value(X))))
 1765       return BinaryOperator::CreateAdd(X, ConstantExpr::getSub(C, C2));
 1768     if (match(Op1, m_Add(m_Value(X), m_Constant(C2))))
 1769       return BinaryOperator::CreateSub(ConstantExpr::getSub(C, C2), X);