LLVM 24.0.0git
llvm::MIPatternMatch::SrcImmOp_match< SrcTy, ImmTy, Opcode > Struct Template Reference

Matches an op that binds a source operand and an immediate operand with sub-matchers (e.g. More...

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

Public Member Functions

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

Public Attributes

SrcTy L
ImmTy Imm

Detailed Description

template<typename SrcTy, typename ImmTy, unsigned Opcode>
struct llvm::MIPatternMatch::SrcImmOp_match< SrcTy, ImmTy, Opcode >

Matches an op that binds a source operand and an immediate operand with sub-matchers (e.g.

G_SEXT_INREG, G_ASSERT_ZEXT).

Definition at line 1033 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ SrcImmOp_match()

template<typename SrcTy, typename ImmTy, unsigned Opcode>
llvm::MIPatternMatch::SrcImmOp_match< SrcTy, ImmTy, Opcode >::SrcImmOp_match ( const SrcTy & LHS,
const ImmTy & Imm )
inline

Definition at line 1037 of file MIPatternMatch.h.

References Imm, L, and LHS.

Member Function Documentation

◆ match()

Member Data Documentation

◆ Imm

template<typename SrcTy, typename ImmTy, unsigned Opcode>
ImmTy llvm::MIPatternMatch::SrcImmOp_match< SrcTy, ImmTy, Opcode >::Imm

Definition at line 1035 of file MIPatternMatch.h.

Referenced by match(), and SrcImmOp_match().

◆ L

template<typename SrcTy, typename ImmTy, unsigned Opcode>
SrcTy llvm::MIPatternMatch::SrcImmOp_match< SrcTy, ImmTy, Opcode >::L

Definition at line 1034 of file MIPatternMatch.h.

Referenced by match(), and SrcImmOp_match().


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