llvm::PatternMatch::m_Shift

Matches shift operations.

Synopsis

Declared in <llvm/IR/PatternMatch.h>

template<
    typename LHS,
    typename RHS>
BinOpPred_match<LHS, RHS, is_shift_op>
m_Shift(
    LHS const& L,
    RHS const& R);

Return Value

A matcher for shift operations.

Parameters

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