|
LLVM 24.0.0git
|
Binds the defining instruction of Reg if it is a Class.
More...
#include "llvm/CodeGen/GlobalISel/MIPatternMatch.h"
Public Member Functions | |
| GInstrBind (Class *&Inst) | |
| bool | match (const MachineRegisterInfo &MRI, Register Reg) |
Public Attributes | |
| Class *& | Inst |
Binds the defining instruction of Reg if it is a Class.
Prefer the named helpers below so the opcode is spelled out at the call site.
Definition at line 510 of file MIPatternMatch.h.
|
inline |
Definition at line 513 of file MIPatternMatch.h.
References Inst.
|
inline |
Definition at line 514 of file MIPatternMatch.h.
References llvm::dyn_cast(), Inst, llvm::MIPatternMatch::m_MInstr(), llvm::MIPatternMatch::mi_match(), and Reg.
| Class*& llvm::MIPatternMatch::GInstrBind< Class >::Inst |
Definition at line 511 of file MIPatternMatch.h.
Referenced by GInstrBind(), and match().