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

Matcher for a specific constant splat. More...

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

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

Public Member Functions

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

Public Attributes

int64_t RequestedVal
 

Detailed Description

Matcher for a specific constant splat.

Definition at line 196 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ SpecificConstantSplatMatch()

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

Definition at line 198 of file MIPatternMatch.h.

Member Function Documentation

◆ match()

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

Definition at line 200 of file MIPatternMatch.h.

References llvm::isBuildVectorConstantSplat(), MRI, and RequestedVal.

Member Data Documentation

◆ RequestedVal

int64_t llvm::MIPatternMatch::SpecificConstantSplatMatch::RequestedVal

Definition at line 197 of file MIPatternMatch.h.

Referenced by match().


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