MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
mach.h File Reference
#include <utility>
#include <mim/axm.h>
#include <mim/lam.h>
#include <mim/world.h>
#include "mim/plug/mach/autogen.h"
Include dependency graph for mach.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Functions

template<class Reg>
constexpr size_t mim::plug::mach::encoding (Reg r)
 The hardware encoding of the register r of a backend's module reg, whose subtags are in encoding order.
const Def * mim::plug::mach::fold_ext (const Def *type, const Def *x, bool sign)
 x of Idx s as a literal of type, sign-extended if sign.
void mim::plug::mach::check_addr_space (const App *app, const Def *a)
 Bails unless the address space a of the mem operation app is 0.