lestes::md::instructions::instruction_group_base Class Reference

Represents a group of instructions that perform the same operation but they differ in type or kind of operands or execution background (used register, execution units ). More...

#include <instruction_group_base.g.hh>

Inheritance diagram for lestes::md::instructions::instruction_group_base:

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ::lestes::std::vector<
ulint > > 
instructions_get () const
 The method instructions_get returns the value of the field instruction_group_base::instructions.
void instructions_set (const ptr< ::lestes::std::vector< ulint > > &)
 The method instructions_set sets the field instruction_group_base::instructions to the given value.
ptr< ::lestes::std::vector<
ulint > > 
input_operand_pids_get () const
 The method input_operand_pids_get returns the value of the field instruction_group_base::input_operand_pids.
void input_operand_pids_set (const ptr< ::lestes::std::vector< ulint > > &)
 The method input_operand_pids_set sets the field instruction_group_base::input_operand_pids to the given value.
ptr< ::lestes::std::vector<
ulint > > 
output_operand_pids_get () const
 The method output_operand_pids_get returns the value of the field instruction_group_base::output_operand_pids.
void output_operand_pids_set (const ptr< ::lestes::std::vector< ulint > > &)
 The method output_operand_pids_set sets the field instruction_group_base::output_operand_pids to the given value.
ptr< ::lestes::std::vector<
ulint > > 
input_operand_refs_get () const
 The method input_operand_refs_get returns the value of the field instruction_group_base::input_operand_refs.
void input_operand_refs_set (const ptr< ::lestes::std::vector< ulint > > &)
 The method input_operand_refs_set sets the field instruction_group_base::input_operand_refs to the given value.
ptr< ::lestes::std::vector<
ulint > > 
output_operand_refs_get () const
 The method output_operand_refs_get returns the value of the field instruction_group_base::output_operand_refs.
void output_operand_refs_set (const ptr< ::lestes::std::vector< ulint > > &)
 The method output_operand_refs_set sets the field instruction_group_base::output_operand_refs 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

 instruction_group_base (ptr< ::lestes::std::vector< ulint > > a__instruction_group_base__instructions, ptr< ::lestes::std::vector< ulint > > a__instruction_group_base__input_operand_pids, ptr< ::lestes::std::vector< ulint > > a__instruction_group_base__output_operand_pids, ptr< ::lestes::std::vector< ulint > > a__instruction_group_base__input_operand_refs, ptr< ::lestes::std::vector< ulint > > a__instruction_group_base__output_operand_refs)
 Generated constructor for class instruction_group_base.
virtual void gc_mark ()
 Marking routine for class instruction_group_base.

Private Attributes

srp< ::lestes::std::vector<
ulint > > 
instructions
 Grouped instructions.
srp< ::lestes::std::vector<
ulint > > 
input_operand_pids
 Ids of output operands of another instruction_group that this instruction_group receives as input operands.
srp< ::lestes::std::vector<
ulint > > 
output_operand_pids
 Ids of group's output operands that allows other instruction_groups to reference them.
srp< ::lestes::std::vector<
ulint > > 
input_operand_refs
 An item within this list marks operand of grouped instructions that corresponds to an id within input_operand_pids at the same index.
srp< ::lestes::std::vector<
ulint > > 
output_operand_refs
 An item within this list marks operand of grouped instructions that corresponds to an id within output_operand_pids at the same index.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Represents a group of instructions that perform the same operation but they differ in type or kind of operands or execution background (used register, execution units ).

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::instruction_group_base::instruction_group_base ( ptr< ::lestes::std::vector< ulint > >  a__instruction_group_base__instructions,
ptr< ::lestes::std::vector< ulint > >  a__instruction_group_base__input_operand_pids,
ptr< ::lestes::std::vector< ulint > >  a__instruction_group_base__output_operand_pids,
ptr< ::lestes::std::vector< ulint > >  a__instruction_group_base__input_operand_refs,
ptr< ::lestes::std::vector< ulint > >  a__instruction_group_base__output_operand_refs 
) [protected]

Generated constructor for class instruction_group_base.

Generated constructor for class instruction_group_base.

Author:
lsg


Member Function Documentation

ptr<::lestes::std::vector< ulint > > lestes::md::instructions::instruction_group_base::instructions_get (  )  const

The method instructions_get returns the value of the field instruction_group_base::instructions.

Returns:
The value of instruction_group_base::instructions.
Author:
lsg

void lestes::md::instructions::instruction_group_base::instructions_set ( const ptr< ::lestes::std::vector< ulint > > &  x  ) 

The method instructions_set sets the field instruction_group_base::instructions to the given value.

Parameters:
[in] x The new value to set instruction_group_base::instructions to.
Author:
lsg

ptr<::lestes::std::vector< ulint > > lestes::md::instructions::instruction_group_base::input_operand_pids_get (  )  const

The method input_operand_pids_get returns the value of the field instruction_group_base::input_operand_pids.

Returns:
The value of instruction_group_base::input_operand_pids.
Author:
lsg

void lestes::md::instructions::instruction_group_base::input_operand_pids_set ( const ptr< ::lestes::std::vector< ulint > > &  x  ) 

The method input_operand_pids_set sets the field instruction_group_base::input_operand_pids to the given value.

Parameters:
[in] x The new value to set instruction_group_base::input_operand_pids to.
Author:
lsg

ptr<::lestes::std::vector< ulint > > lestes::md::instructions::instruction_group_base::output_operand_pids_get (  )  const

The method output_operand_pids_get returns the value of the field instruction_group_base::output_operand_pids.

Returns:
The value of instruction_group_base::output_operand_pids.
Author:
lsg

void lestes::md::instructions::instruction_group_base::output_operand_pids_set ( const ptr< ::lestes::std::vector< ulint > > &  x  ) 

The method output_operand_pids_set sets the field instruction_group_base::output_operand_pids to the given value.

Parameters:
[in] x The new value to set instruction_group_base::output_operand_pids to.
Author:
lsg

ptr<::lestes::std::vector< ulint > > lestes::md::instructions::instruction_group_base::input_operand_refs_get (  )  const

The method input_operand_refs_get returns the value of the field instruction_group_base::input_operand_refs.

Returns:
The value of instruction_group_base::input_operand_refs.
Author:
lsg

void lestes::md::instructions::instruction_group_base::input_operand_refs_set ( const ptr< ::lestes::std::vector< ulint > > &  x  ) 

The method input_operand_refs_set sets the field instruction_group_base::input_operand_refs to the given value.

Parameters:
[in] x The new value to set instruction_group_base::input_operand_refs to.
Author:
lsg

ptr<::lestes::std::vector< ulint > > lestes::md::instructions::instruction_group_base::output_operand_refs_get (  )  const

The method output_operand_refs_get returns the value of the field instruction_group_base::output_operand_refs.

Returns:
The value of instruction_group_base::output_operand_refs.
Author:
lsg

void lestes::md::instructions::instruction_group_base::output_operand_refs_set ( const ptr< ::lestes::std::vector< ulint > > &  x  ) 

The method output_operand_refs_set sets the field instruction_group_base::output_operand_refs to the given value.

Parameters:
[in] x The new value to set instruction_group_base::output_operand_refs to.
Author:
lsg

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

for purposes of dumping

Reimplemented from lestes::std::object.

Reimplemented in lestes::md::instructions::instruction_group.

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

for purposes of dumping

Reimplemented from lestes::std::object.

Reimplemented in lestes::md::instructions::instruction_group.

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

Marking routine for class instruction_group_base.

Marking routine is used for garbage collection.

Author:
lsg

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

Reimplemented in lestes::md::instructions::instruction_group.


Member Data Documentation

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

Grouped instructions.

srp< ::lestes::std::vector< ulint > > lestes::md::instructions::instruction_group_base::input_operand_pids [private]

Ids of output operands of another instruction_group that this instruction_group receives as input operands.

srp< ::lestes::std::vector< ulint > > lestes::md::instructions::instruction_group_base::output_operand_pids [private]

Ids of group's output operands that allows other instruction_groups to reference them.

srp< ::lestes::std::vector< ulint > > lestes::md::instructions::instruction_group_base::input_operand_refs [private]

An item within this list marks operand of grouped instructions that corresponds to an id within input_operand_pids at the same index.

srp< ::lestes::std::vector< ulint > > lestes::md::instructions::instruction_group_base::output_operand_refs [private]

An item within this list marks operand of grouped instructions that corresponds to an id within output_operand_pids at the same index.

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

Reimplemented from lestes::std::object.

Reimplemented in lestes::md::instructions::instruction_group.


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