LLVM  15.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"

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

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 181 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ SpecificConstantMatch()

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

Definition at line 183 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 182 of file MIPatternMatch.h.

Referenced by match().


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