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

A MIPS Target is the union of a MIPS Cpu and a MIPS Codegen. More...

#include <target.hh>

Inheritance diagram for target::mips::Target:
Collaboration diagram for target::mips::Target:

Public Member Functions

virtual const Cpucpu_get () const override
virtual Cpucpu_get () override
virtual const Assemblyassembly_get () const override
virtual Assemblyassembly_get () override
virtual const Codegencodegen_get () const override
virtual Codegencodegen_get () override
std::ostream & dump (std::ostream &ostr) const
 Description.
Ctor & dtor.
 Target (const CpuLimits &limits, bool rule_trace_p=false)
 Build a Target.
virtual ~Target ()

Protected Attributes

mips::Cpu cpu_
mips::Codegen codegen_
mips::SpimAssembly assembly_

Detailed Description

A MIPS Target is the union of a MIPS Cpu and a MIPS Codegen.

Constructor & Destructor Documentation

target::mips::Target::Target ( const CpuLimits limits,
bool  rule_trace_p = false 
)

Build a Target.

References assembly_, codegen_, and cpu_.

target::mips::Target::~Target ( )
virtual

Reimplemented from target::Target.

Member Function Documentation

const Assembly & target::mips::Target::assembly_get ( ) const
overridevirtual

Implements target::Target.

References assembly_.

Assembly & target::mips::Target::assembly_get ( )
overridevirtual

Implements target::Target.

References assembly_.

const Codegen & target::mips::Target::codegen_get ( ) const
overridevirtual

Implements target::Target.

References codegen_.

Codegen & target::mips::Target::codegen_get ( )
overridevirtual

Implements target::Target.

References codegen_.

const Cpu & target::mips::Target::cpu_get ( ) const
overridevirtual

Implements target::Target.

References cpu_.

Cpu & target::mips::Target::cpu_get ( )
overridevirtual

Implements target::Target.

References cpu_.

std::ostream & target::Target::dump ( std::ostream &  ostr) const
inherited

Description.

References target::Target::cpu_get().

Referenced by target::operator<<().

Member Data Documentation

mips::SpimAssembly target::mips::Target::assembly_
protected

Referenced by assembly_get(), and Target().

mips::Codegen target::mips::Target::codegen_
protected

Referenced by codegen_get(), and Target().

mips::Cpu target::mips::Target::cpu_
protected

Referenced by cpu_get(), and Target().


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