Match machine instruction MI against pattern P.
Declared in <llvm/CodeGen/GlobalISel/MIPatternMatch.h>
template<typename Pattern>
[[nodiscard]]
bool
mi_match(
MachineInstr& MI,
MachineRegisterInfo const& MRI,
Pattern&& P);
| Name | Description |
|---|---|
| MI | Instruction to match. |
| MRI | Register info used by the pattern. |
| P | Pattern object providing match(). |