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

} More...

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

Public Member Functions

 SpecificRegisterMatch (Register RequestedReg)
bool match (const MachineRegisterInfo &MRI, Register Reg)

Public Attributes

Register RequestedReg

Detailed Description


Matcher for a specific register.

Definition at line 245 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ SpecificRegisterMatch()

llvm::MIPatternMatch::SpecificRegisterMatch::SpecificRegisterMatch ( Register  RequestedReg)

Definition at line 247 of file MIPatternMatch.h.

Member Function Documentation

◆ match()

bool llvm::MIPatternMatch::SpecificRegisterMatch::match ( const MachineRegisterInfo MRI,
Register  Reg 

Definition at line 248 of file MIPatternMatch.h.

References Reg, and RequestedReg.

Member Data Documentation

◆ RequestedReg

Register llvm::MIPatternMatch::SpecificRegisterMatch::RequestedReg

Definition at line 246 of file MIPatternMatch.h.

Referenced by match().

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