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

Matcher for a specific constant value. More...

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

Public Member Functions

 SpecificConstantMatch (int64_t RequestedVal)
 
bool match (const MachineRegisterInfo &MRI, Register Reg)
 

Public Attributes

int64_t RequestedVal
 

Detailed Description

Matcher for a specific constant value.

Definition at line 185 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ SpecificConstantMatch()

llvm::MIPatternMatch::SpecificConstantMatch::SpecificConstantMatch ( int64_t  RequestedVal)
inline

Definition at line 187 of file MIPatternMatch.h.

Member Function Documentation

◆ match()

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

Member Data Documentation

◆ RequestedVal

int64_t llvm::MIPatternMatch::SpecificConstantMatch::RequestedVal

Definition at line 186 of file MIPatternMatch.h.

Referenced by match().


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