MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
spilling.cpp File Reference
#include <limits>
#include <ranges>
#include <mim/driver.h>
#include "mim/plug/mach/liveness.h"
#include "mim/plug/mach/regalloc.h"
#include "mim/plug/mach/subst.h"
Include dependency graph for spilling.cpp:

Go to the source code of this file.

Namespaces

namespace  mim
namespace  mim::plug
namespace  mim::plug::mach
 The mach Plugin

Functions

std::optional< size_t > mim::plug::mach::arg_k (Driver &, const Target &)
 The k of spill_fun(): -X <backend>:k=<n>, if given.
void mim::plug::mach::spill_fun (const FunPhase &, Lam *fun, const LamMap< Conv > &convs, std::optional< size_t > k)
 Spills and reloads until at most k values of each register class are live at every point of a scheduled function.