|
LRDE Tiger Compiler
1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
|
Abstract SPIM's fragments's layout. More...
#include <spim-layout.hh>


Public Member Functions | |
| virtual void | operator() (typename Const< ProcFrag >::type &a) |
| Visit an assembly procedure fragment. | |
| virtual void | operator() (typename Const< DataFrag >::type &a) |
| Visit an assembly data fragment. | |
| template<class E > | |
| void | operator() (E *e) |
| To enable the use of standard algorithm on containers of pointers. | |
| virtual void | operator() (typename Const< Fragments >::type &fs) |
| Visit a list of assembly fragments. | |
| template<template< typename > class Const> | |
| void | operator() (typename Const< ast::Ast >::type &e) |
Fragments's visitor. | |
| virtual void | operator() (const assem::ProcFrag &a) override |
| Layout an assembly procedure fragment. | |
| virtual void | operator() (const assem::DataFrag &a) override |
| Layout an assembly data fragment. | |
| virtual void | operator() (const assem::Fragments &a) override |
| Layout a list of assembly fragments. | |
Layout parameters. | |
| void | ostr_set (std::ostream &ostr) |
| void | tempmap_set (const temp::TempMap &tempmap) |
| void | debug_set (bool debug) |
Protected Attributes | |
Fragments's visitor. | |
| std::ostream * | postr_ |
Construction. | |
| SpimLayout () | |
| Construct a SpimLayout. | |
| static SpimLayout & | instance () |
| Return the unique instance of SpimLayout. | |
Abstract SPIM's fragments's layout.
|
protected |
Construct a SpimLayout.
|
inherited |
|
static |
Return the unique instance of SpimLayout.
|
inherited |
|
virtualinherited |
Visit an assembly procedure fragment.
|
virtualinherited |
Visit an assembly data fragment.
|
inherited |
To enable the use of standard algorithm on containers of pointers.
|
overridevirtual |
Layout an assembly procedure fragment.
Implements assem::Layout.
References assem::ProcFrag::instrs_get(), assem::ProcFrag::name_get(), assem::Layout::postr_, and precondition.
Referenced by operator()().
|
virtualinherited |
Visit a list of assembly fragments.
References misc::for_each().
|
overridevirtual |
Layout an assembly data fragment.
Implements assem::Layout.
References assem::DataFrag::data_get(), tree::DataFrag::data_get(), misc::escape(), tree::DataFrag::label_get(), assem::Layout::postr_, and precondition.
|
overridevirtual |
Layout a list of assembly fragments.
Reimplemented from assem::Layout.
References operator()(), assem::Layout::postr_, and precondition.
|
inlineinherited |
References assem::Layout::postr_.
Referenced by target::instructions_dump().
|
inherited |
|
protectedinherited |