Matches a G_SMAX (signed maximum) with the given operand sub‐patterns.

Synopsis

Declared in <llvm/CodeGen/GlobalISel/MIPatternMatch.h>

template<
    typename LHS,
    typename RHS>
BinaryOp_match<LHS, RHS, TargetOpcode::G_SMAX, true>
m_GSMax(
    LHS const& L,
    RHS const& R);

Return Value

A matcher for a G_SMAX (signed maximum) with the given operand sub‐patterns.

Parameters

Name

Description

L

Sub‐pattern for the left‐hand operand.

R

Sub‐pattern for the right‐hand operand.

Created with MrDocs