#include <optional>#include <string_view>#include <mim/driver.h>#include <mim/phase.h>#include "mim/plug/mach/rule_table.h"Go to the source code of this file.
Classes | |
| class | mim::plug::mach::Gen |
| Writes the closed rules among the annexes of a backend's isel plugin as the C++ matchers and builders of a rules::Table in mim::plug::<backend>::rules, to -X <isel>:o=<file> or stdout. More... | |
| struct | mim::plug::mach::Gen::Annexes |
| The annexes of the isel plugin that Gen knows; 0 for one it does not have. More... | |
Namespaces | |
| namespace | mim |
| namespace | mim::plug |
| namespace | mim::plug::mach |
| The mach Plugin | |
Functions | |
| void | mim::plug::mach::mim_mach_gen (Gen &) |
| Gen::start, compiled once into libmim_mach; Gen reaches it via GET_FUN_PTR. | |
| struct mim::plug::mach::Gen::Annexes |
The annexes of the isel plugin that Gen knows; 0 for one it does not have.
| Class Members | ||
|---|---|---|
| flags_t | addr = 0 | addr p: the address p as an address operand, Want::Addr. |
| flags_t | commutes | The tuple of the operations whose two operands a rule also matches swapped. |
| flags_t | formats | The values of a family parameter of type «2; Nat». |
| flags_t | imm = 0 | The guard imm x: Want::Imm. |
| flags_t | lit = 0 | The guard lit x: a literal. |
| flags_t | reg_imm = 0 | reg_imm x: Want::RegImm. |
| flags_t | reg_sh = 0 | reg_sh x: Want::RegSh. |
| flags_t | scaled = 0 | scaled i: Want::Scaled. |
| flags_t | sizes | The values of a family parameter of type Nat. |
| flags_t | zx = 0 | zx x: Want::Zx of a meta variable, else the non-terminal Zx of a rhs or conversion. |