|
LLVM 22.0.0git
|
Matcher for a specific constant value. More...
#include "llvm/CodeGen/GlobalISel/MIPatternMatch.h"
Public Member Functions | |
| SpecificConstantMatch (const APInt &RequestedVal) | |
| bool | match (const MachineRegisterInfo &MRI, Register Reg) |
Public Attributes | |
| APInt | RequestedVal |
Matcher for a specific constant value.
Definition at line 194 of file MIPatternMatch.h.
|
inline |
Definition at line 196 of file MIPatternMatch.h.
References RequestedVal.
|
inline |
Definition at line 198 of file MIPatternMatch.h.
References llvm::APInt::getBitWidth(), llvm::APInt::isSameValue(), llvm::MIPatternMatch::m_ICst(), llvm::MIPatternMatch::mi_match(), MRI, Reg, RequestedVal, and llvm::APInt::sext().
| APInt llvm::MIPatternMatch::SpecificConstantMatch::RequestedVal |
Definition at line 195 of file MIPatternMatch.h.
Referenced by match(), and SpecificConstantMatch().