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

An IA-32 Target is the union of an IA-32 Cpu and an IA-32 Codegen. More...

#include <target.hh>

Inheritance diagram for target::ia32::Target:
Collaboration diagram for target::ia32::Target:

Public Member Functions

virtual const Cpucpu_get () const override
 Access the IA-32 CPU (read only).
virtual Cpucpu_get () override
 Access the IA-32 CPU.
virtual const Assemblyassembly_get () const override
 Access the current assembly language (read only).
virtual Assemblyassembly_get () override
 Access the current assembly language.
virtual const Codegencodegen_get () const override
 Access the current code generator (read only).
virtual Codegencodegen_get () override
 Access the current code generator.
std::ostream & dump (std::ostream &ostr) const
 Description.
Ctor & dtor.
 Target (bool rule_trace_p=false)
virtual ~Target ()

Protected Attributes

ia32::Cpu cpu_
 The description of an IA-32 CPU.
ia32::Codegen codegen_
 The selected code generator.
ia32::GasAssembly assembly_

Detailed Description

An IA-32 Target is the union of an IA-32 Cpu and an IA-32 Codegen.

Constructor & Destructor Documentation

target::ia32::Target::Target ( bool  rule_trace_p = false)

References assembly_, codegen_, and cpu_.

target::ia32::Target::~Target ( )
virtual

Reimplemented from target::Target.

Member Function Documentation

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

Access the current assembly language (read only).

Implements target::Target.

References assembly_.

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

Access the current assembly language.

Implements target::Target.

References assembly_.

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

Access the current code generator (read only).

Implements target::Target.

References codegen_.

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

Access the current code generator.

Implements target::Target.

References codegen_.

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

Access the IA-32 CPU (read only).

Implements target::Target.

References cpu_.

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

Access the IA-32 CPU.

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

ia32::GasAssembly target::ia32::Target::assembly_
protected

Referenced by assembly_get(), and Target().

ia32::Codegen target::ia32::Target::codegen_
protected

The selected code generator.

Referenced by codegen_get(), and Target().

ia32::Cpu target::ia32::Target::cpu_
protected

The description of an IA-32 CPU.

Referenced by cpu_get(), and Target().


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