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

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

Collaboration diagram for llvm::MIPatternMatch::GCstAndRegMatch:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

Optional< ValueAndVReg > & ValReg
 

Detailed Description

Definition at line 141 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ GCstAndRegMatch()

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

Definition at line 143 of file MIPatternMatch.h.

Member Function Documentation

◆ match()

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

Definition at line 144 of file MIPatternMatch.h.

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

Member Data Documentation

◆ ValReg

Optional<ValueAndVReg>& llvm::MIPatternMatch::GCstAndRegMatch::ValReg

Definition at line 142 of file MIPatternMatch.h.

Referenced by match().


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