llvm::PatternMatch::m_NUWAddLike

Match either "add nuw" or "or disjoint".

Synopsis

Declared in <llvm/IR/PatternMatch.h>

template<
    typename LHS,
    typename RHS>
match_combine_or<OverflowingBinaryOp_match<LHS, RHS, Instruction::Add, OverflowingBinaryOperator::NoUnsignedWrap>, DisjointOr_match<LHS, RHS>>
m_NUWAddLike(
    LHS const& L,
    RHS const& R);

Return Value

A matcher for either "add nuw" or "or disjoint".

Parameters

NameDescription
LSub-pattern for the left-hand operand.
RSub-pattern for the right-hand operand.