LLVM 22.0.0git
|
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 |
Matcher for a specific constant or constant splat.
Definition at line 243 of file MIPatternMatch.h.
|
inline |
Definition at line 245 of file MIPatternMatch.h.
|
inline |
Definition at line 247 of file MIPatternMatch.h.
References llvm::APInt::getBitWidth(), llvm::isBuildVectorConstantSplat(), llvm::APInt::isSameValue(), llvm::MIPatternMatch::m_ICst(), llvm::MIPatternMatch::mi_match(), MRI, Reg, RequestedVal, and llvm::APInt::sext().
APInt llvm::MIPatternMatch::SpecificConstantOrSplatMatch::RequestedVal |
Definition at line 244 of file MIPatternMatch.h.
Referenced by match().