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

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

Constructor & Destructor Documentation

◆ SpecificConstantSplatMatch()

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

Definition at line 202 of file MIPatternMatch.h.

Member Function Documentation

◆ match()

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

Definition at line 204 of file MIPatternMatch.h.

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

Member Data Documentation

◆ RequestedVal

int64_t llvm::MIPatternMatch::SpecificConstantSplatMatch::RequestedVal

Definition at line 201 of file MIPatternMatch.h.

Referenced by match().

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