|
LLVM 24.0.0git
|
Matches a G_CONSTANT and binds the defining instruction. More...
#include "llvm/CodeGen/GlobalISel/MIPatternMatch.h"
Public Member Functions | |
| GConstantMatch (Class *&Inst) | |
| bool | match (const MachineRegisterInfo &MRI, Register Reg) |
Public Attributes | |
| Class *& | Inst |
Matches a G_CONSTANT and binds the defining instruction.
Unlike m_ICst, this returns the instruction (not the value) and does not look through vector splats.
Definition at line 477 of file MIPatternMatch.h.
|
inline |
Definition at line 480 of file MIPatternMatch.h.
References Inst.
|
inline |
Definition at line 481 of file MIPatternMatch.h.
References llvm::dyn_cast(), Inst, llvm::MIPatternMatch::m_MInstr(), llvm::MIPatternMatch::mi_match(), and Reg.
| Class*& llvm::MIPatternMatch::GConstantMatch< Class >::Inst |
Definition at line 478 of file MIPatternMatch.h.
Referenced by GConstantMatch(), and match().