LLVM 22.0.0git
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.

References RequestedVal.

Member Function Documentation

◆ match()

Member Data Documentation

◆ RequestedVal

APInt llvm::MIPatternMatch::SpecificConstantOrSplatMatch::RequestedVal

Definition at line 244 of file MIPatternMatch.h.

Referenced by match(), and SpecificConstantOrSplatMatch().


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