LLVM 24.0.0git
llvm::MIPatternMatch::SExtInRegMatch< SrcTy > Struct Template Reference

Matches a G_SEXT_INREG, binding its source operand. More...

#include "llvm/CodeGen/GlobalISel/MIPatternMatch.h"

Public Member Functions

 SExtInRegMatch (const SrcTy &LHS)
template<typename OpTy>
bool match (const MachineRegisterInfo &MRI, OpTy &&Op)

Public Attributes

SrcTy L

Detailed Description

template<typename SrcTy>
struct llvm::MIPatternMatch::SExtInRegMatch< SrcTy >

Matches a G_SEXT_INREG, binding its source operand.

G_SEXT_INREG has an extra immediate operand, so it does not fit the plain UnaryOp_match shape.

Definition at line 770 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ SExtInRegMatch()

template<typename SrcTy>
llvm::MIPatternMatch::SExtInRegMatch< SrcTy >::SExtInRegMatch ( const SrcTy & LHS)
inline

Definition at line 773 of file MIPatternMatch.h.

References L, and LHS.

Member Function Documentation

◆ match()

Member Data Documentation

◆ L

template<typename SrcTy>
SrcTy llvm::MIPatternMatch::SExtInRegMatch< SrcTy >::L

Definition at line 771 of file MIPatternMatch.h.

Referenced by match(), and SExtInRegMatch().


The documentation for this struct was generated from the following file: