#include "mim/plug/mach/liveness.h"#include <deque>#include <ranges>#include <mim/tuple.h>#include <mim/world.h>Go to the source code of this file.
Namespaces | |
| namespace | mim |
| namespace | mim::plug |
| namespace | mim::plug::mach |
| The mach Plugin | |
Functions | |
| fe::Vector< const Liveness::Block * > | mim::plug::mach::layout (const Liveness &livelive, const LamMap< Lam * > &forward={}) |
The blocks of live in emission order: each block is followed by the one it falls through to, where possible. | |
| fe::Vector< ArgLoc > | mim::plug::mach::arg_locs (const Target &target, const Def *arg, size_t n, size_t num, const ParamRegs *conv) |
The ArgLocs of the first num of the n arguments in arg under conv, or the ABI if it is nullptr. | |
| ParamRegs | mim::plug::mach::param_regs (const Target &target, Lam *fun, const DefMap< size_t > ®s) |
Where the known() function fun receives its parameters, given the registers regs that Color assigned to them. | |
| void | mim::plug::mach::rewrite_blocks (const Liveness &livelive, Rewriter &rw) |
Rewrites the filter and body of each block of live in place. | |