Namespace assem
, delivered for T7.
This directory contains the implementation of the Assem language: yet another intermediate representation that aims at encoding an assembly language, plus a few need features so that register allocation can be performed afterward. Given in full.
Implementation of the basic types of assembly instructions.
Implementation of
assem::Fragment
,assem::ProcFrag
, andassem::DataFrag
. They are comparable totranslate::Fragment
: aggregate some informations that must remain together, such as aframe::Frame
and the instructions (a list ofassem::Instr
).
The root of assembler visitors.
A pretty printing visitor for
assem::Fragment
.
The interface of the module, and its implementation.