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

#include <oper.hh>

Inheritance diagram for assem::Oper:
Collaboration diagram for assem::Oper:

Public Member Functions

 Oper (const std::string &assem, const temp::temp_list_type &used_temps, const temp::temp_list_type &defd_temps, const temp::label_list_type &jump_labels=temp::label_list_type())
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::Oper::Oper ( const std::string &  assem,
const temp::temp_list_type used_temps,
const temp::temp_list_type defd_temps,
const temp::label_list_type jump_labels = temp::label_list_type() 
)
inline

Member Function Documentation

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

References assem::Instr::def_.

std::ostream & assem::Oper::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().

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

References 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
temp::label_list_type assem::Instr::jumps_
protectedinherited

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

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

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