ΒΆtemplate <typename ValTy>
inline OverflowingBinaryOp_match<
    cst_pred_ty<llvm::PatternMatch::is_zero_int>,
    ValTy,
    Instruction::Sub,
    OverflowingBinaryOperator::NoSignedWrap>
m_NSWNeg(const ValTy& V)

Description

Matches a 'Neg' as 'sub nsw 0, V'.

Declared at: llvm/include/llvm/IR/PatternMatch.h:2282

Templates

ValTy

Parameters

const ValTy& V