|
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 244 of file MIPatternMatch.h.
|
inline |
Definition at line 246 of file MIPatternMatch.h.
References RequestedVal.
|
inline |
Definition at line 248 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 245 of file MIPatternMatch.h.
Referenced by match(), and SpecificConstantOrSplatMatch().