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

Matcher for a specific constant or constant splat. More...

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

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

Public Member Functions

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

Public Attributes

int64_t RequestedVal
 

Detailed Description

Matcher for a specific constant or constant splat.

Definition at line 214 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ SpecificConstantOrSplatMatch()

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

Definition at line 216 of file MIPatternMatch.h.

Member Function Documentation

◆ match()

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

Member Data Documentation

◆ RequestedVal

int64_t llvm::MIPatternMatch::SpecificConstantOrSplatMatch::RequestedVal

Definition at line 215 of file MIPatternMatch.h.

Referenced by match().


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