LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
assem::Move Class Reference

#include <move.hh>

Inheritance diagram for assem::Move:
Collaboration diagram for assem::Move:

Public Member Functions

 Move (const std::string &assem, const temp::Temp &used_temps, const temp::Temp &defd_temps)
temp::Temp dst_get () const
temp::Temp src_get () const
temp::Temp use_get () const
temp::Temp def_get () const
virtual std::ostream & dump (std::ostream &ostr) const override
 Output the TempMap m onto ostr.
const temp::temp_list_typeuse () const
temp::temp_list_typeuse ()
const temp::temp_list_typedef () const
temp::temp_list_typedef ()
const temp::label_list_typejumps () const

Static Public Attributes

static const misc::xalloc< bool > debug
 Set whether Instr::print report debugging information? Return the previous value.

Protected Attributes

std::string assem_
temp::temp_list_type use_
temp::temp_list_type def_
temp::label_list_type jumps_

Constructor & Destructor Documentation

assem::Move::Move ( const std::string &  assem,
const temp::Temp used_temps,
const temp::Temp defd_temps 
)
inline

Member Function Documentation

const temp::temp_list_type & assem::Instr::def ( ) const
inlineinherited

References assem::Instr::def_.

Referenced by dst_get(), and assem::Instr::dump().

temp::temp_list_type & assem::Instr::def ( )
inlineinherited

References assem::Instr::def_.

temp::Temp assem::Move::def_get ( ) const
inline

References assem::Instr::def_, and precondition.

temp::Temp assem::Move::dst_get ( ) const
inline

References assem::Instr::def().

std::ostream & assem::Move::dump ( std::ostream &  ostr) const
inlineoverridevirtual

Output the TempMap m onto ostr.

Reimplemented from assem::Instr.

const temp::label_list_type & assem::Instr::jumps ( ) const
inlineinherited

References assem::Instr::jumps_.

Referenced by assem::Instr::dump().

temp::Temp assem::Move::src_get ( ) const
inline

References assem::Instr::use().

const temp::temp_list_type & assem::Instr::use ( ) const
inlineinherited

References assem::Instr::use_.

Referenced by assem::Instr::dump(), and src_get().

temp::temp_list_type & assem::Instr::use ( )
inlineinherited

References assem::Instr::use_.

temp::Temp assem::Move::use_get ( ) const
inline

References precondition, and assem::Instr::use_.

Member Data Documentation

std::string assem::Instr::assem_
protectedinherited
const misc::xalloc< bool > assem::Instr::debug
staticinherited

Set whether Instr::print report debugging information? Return the previous value.

Referenced by assem::Instr::dump(), and target::instructions_dump().

temp::temp_list_type assem::Instr::def_
protectedinherited

Referenced by assem::Instr::def(), and def_get().

temp::label_list_type assem::Instr::jumps_
protectedinherited

Referenced by assem::Instr::jumps().

temp::temp_list_type assem::Instr::use_
protectedinherited

Referenced by assem::Instr::use(), and use_get().


The documentation for this class was generated from the following files: