Debian Codegraph @

lib/mlrisc-lib/MLRISC/Doc/latex/regmap.tex

raw
1 \section{Regmap}
2 A \newdef{regmap}
3 is a mapping from virtual register to virtual or physical
4 register, and is used by MLRISC register allocators to
5 represent the current binding of virtual registers. Regmaps are implemented
6 as \mlrischref{library/intmap.sml}{Intmap}
7 in MLRISC, and are defined in the
8 \href{cells.html}{CELLS} interface.
9
10 Regmaps are used in phases such as
11 \href{asm.html}{assembly generation} and
12 \href{mc.html}{machine code}. MLRISC program representations such
13 \href{cluster.html}{clusters} and \href{mlrisc-ir.html}{IR}
14 each contains a global regmap per compilation unit. Representations
15 such as \href{hyperblock.html}{hyperblock} may contain its own
16 regmap, which overrides the global regmap.