lestes::md::instructions::pi_pi2ge_pi_template_base Class Reference

A template that represents possible conversion from a pi_pi pseudoinstruction to a list of ge_pi pseudoinstructions. More...

#include <pi_pi2ge_pi_template_base.g.hh>

Inheritance diagram for lestes::md::instructions::pi_pi2ge_pi_template_base:

Inheritance graph
[legend]
List of all members.

Public Member Functions

ulint id_get () const
 The method id_get returns the value of the field pi_pi2ge_pi_template_base::id.
void id_set (ulint)
 The method id_set sets the field pi_pi2ge_pi_template_base::id to the given value.
ptr< ::lestes::std::vector<
srp< instruction_group_base > > > 
instruction_groups_get () const
 The method instruction_groups_get returns the value of the field pi_pi2ge_pi_template_base::instruction_groups.
void instruction_groups_set (const ptr< ::lestes::std::vector< srp< instruction_group_base > > > &)
 The method instruction_groups_set sets the field pi_pi2ge_pi_template_base::instruction_groups to the given value.
virtual ptr< reflection_listreflection_get () const
 for purposes of dumping
virtual ptr< field_list_listfield_values_get () const
 for purposes of dumping

Protected Member Functions

 pi_pi2ge_pi_template_base (ulint a__pi_pi2ge_pi_template_base__id, ptr< ::lestes::std::vector< srp< instruction_group_base > > > a__pi_pi2ge_pi_template_base__instruction_groups)
 Generated constructor for class pi_pi2ge_pi_template_base.
virtual void gc_mark ()
 Marking routine for class pi_pi2ge_pi_template_base.

Private Attributes

ulint id
 The template's id.
srp< ::lestes::std::vector<
srp< instruction_group_base > > > 
instruction_groups
 List of instruction groups.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

A template that represents possible conversion from a pi_pi pseudoinstruction to a list of ge_pi pseudoinstructions.

The machine description provides template for every descendant class of pi_pi class. The template contains list of instruction groups. Every instruction group represents list of instructions that perform the same operation but differ by operands, datatypes or execution background (registers,units,...). Single ge_pi pseudoinstruction from each group is selected to the output of conversion during processing by pi_pi2ge_pi.

Note: A concrete derived class is target dependent and it is placed in /target/machine/${TARGET_CPU}/lestes/md/instructions/ directory.


Constructor & Destructor Documentation

lestes::md::instructions::pi_pi2ge_pi_template_base::pi_pi2ge_pi_template_base ( ulint  a__pi_pi2ge_pi_template_base__id,
ptr< ::lestes::std::vector< srp< instruction_group_base > > >  a__pi_pi2ge_pi_template_base__instruction_groups 
) [protected]

Generated constructor for class pi_pi2ge_pi_template_base.

Generated constructor for class pi_pi2ge_pi_template_base.

Author:
lsg


Member Function Documentation

ulint lestes::md::instructions::pi_pi2ge_pi_template_base::id_get (  )  const

The method id_get returns the value of the field pi_pi2ge_pi_template_base::id.

Returns:
The value of pi_pi2ge_pi_template_base::id.
Author:
lsg

void lestes::md::instructions::pi_pi2ge_pi_template_base::id_set ( ulint  x  ) 

The method id_set sets the field pi_pi2ge_pi_template_base::id to the given value.

Parameters:
[in] x The new value to set pi_pi2ge_pi_template_base::id to.
Author:
lsg

ptr<::lestes::std::vector< srp< instruction_group_base > > > lestes::md::instructions::pi_pi2ge_pi_template_base::instruction_groups_get (  )  const

The method instruction_groups_get returns the value of the field pi_pi2ge_pi_template_base::instruction_groups.

Returns:
The value of pi_pi2ge_pi_template_base::instruction_groups.
Author:
lsg

void lestes::md::instructions::pi_pi2ge_pi_template_base::instruction_groups_set ( const ptr< ::lestes::std::vector< srp< instruction_group_base > > > &  x  ) 

The method instruction_groups_set sets the field pi_pi2ge_pi_template_base::instruction_groups to the given value.

Parameters:
[in] x The new value to set pi_pi2ge_pi_template_base::instruction_groups to.
Author:
lsg

ptr< object::reflection_list > lestes::md::instructions::pi_pi2ge_pi_template_base::reflection_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::std::object.

Reimplemented in lestes::md::instructions::pi_pi2ge_pi_template.

ptr< object::field_list_list > lestes::md::instructions::pi_pi2ge_pi_template_base::field_values_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::std::object.

Reimplemented in lestes::md::instructions::pi_pi2ge_pi_template.

void lestes::md::instructions::pi_pi2ge_pi_template_base::gc_mark ( void   )  [protected, virtual]

Marking routine for class pi_pi2ge_pi_template_base.

Marking routine is used for garbage collection.

Author:
lsg

Reimplemented from lestes::std::mem::keystone.

Reimplemented in lestes::md::instructions::pi_pi2ge_pi_template.


Member Data Documentation

ulint lestes::md::instructions::pi_pi2ge_pi_template_base::id [private]

The template's id.

srp< ::lestes::std::vector< srp< instruction_group_base > > > lestes::md::instructions::pi_pi2ge_pi_template_base::instruction_groups [private]

List of instruction groups.

ptr< object::reflection_list > lestes::md::instructions::pi_pi2ge_pi_template_base::reflection = reflection [static, private]

Reimplemented from lestes::std::object.

Reimplemented in lestes::md::instructions::pi_pi2ge_pi_template.


The documentation for this class was generated from the following files:
Generated on Mon Feb 12 18:49:10 2007 for lestes by doxygen 1.5.1-20070107