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

Public Member Functions

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

Public Attributes

APInt RequestedVal
 

Detailed Description

Matcher for a specific constant or constant splat.

Definition at line 243 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ SpecificConstantOrSplatMatch()

llvm::MIPatternMatch::SpecificConstantOrSplatMatch::SpecificConstantOrSplatMatch ( const APInt  RequestedVal)
inline

Definition at line 245 of file MIPatternMatch.h.

Member Function Documentation

◆ match()

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

Member Data Documentation

◆ RequestedVal

APInt llvm::MIPatternMatch::SpecificConstantOrSplatMatch::RequestedVal

Definition at line 244 of file MIPatternMatch.h.

Referenced by match().


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