LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::MIPatternMatch::GCstAndRegMatch Struct Reference

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

Public Member Functions

 GCstAndRegMatch (std::optional< ValueAndVReg > &ValReg)
 
bool match (const MachineRegisterInfo &MRI, Register Reg)
 

Public Attributes

std::optional< ValueAndVReg > & ValReg
 

Detailed Description

Definition at line 142 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ GCstAndRegMatch()

llvm::MIPatternMatch::GCstAndRegMatch::GCstAndRegMatch ( std::optional< ValueAndVReg > &  ValReg)
inline

Definition at line 144 of file MIPatternMatch.h.

Member Function Documentation

◆ match()

bool llvm::MIPatternMatch::GCstAndRegMatch::match ( const MachineRegisterInfo MRI,
Register  Reg 
)
inline

Definition at line 145 of file MIPatternMatch.h.

References llvm::getIConstantVRegValWithLookThrough(), MRI, Reg, true, and ValReg.

Member Data Documentation

◆ ValReg

std::optional<ValueAndVReg>& llvm::MIPatternMatch::GCstAndRegMatch::ValReg

Definition at line 143 of file MIPatternMatch.h.

Referenced by match().


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