lestes::md::instructions::pi_operand2ge_operand_base Class Reference

Provides a way to convert pi_operand instance to corresponding ge_operand. More...

#include <pi_operand2ge_operand_base.g.hh>

Inheritance diagram for lestes::md::instructions::pi_operand2ge_operand_base:

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ::lestes::std::map< srp<
::lestes::backend_v2::intercode::pi_operand >,
srp< ::lestes::backend_v2::intercode::ge_operand > > > 
pi_op2ge_op_get () const
 The method pi_op2ge_op_get returns the value of the field pi_operand2ge_operand_base::pi_op2ge_op.
void pi_op2ge_op_set (const ptr< ::lestes::std::map< srp< ::lestes::backend_v2::intercode::pi_operand >, srp< ::lestes::backend_v2::intercode::ge_operand > > > &)
 The method pi_op2ge_op_set sets the field pi_operand2ge_operand_base::pi_op2ge_op to the given value.
ptr< ::lestes::backend_v2::intercode::ge_operandconvert (ptr< ::lestes::backend_v2::intercode::pi_operand > pi)
 Converts pi_operand to ge_operand.
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_operand2ge_operand_base (ptr< ::lestes::std::map< srp< ::lestes::backend_v2::intercode::pi_operand >, srp< ::lestes::backend_v2::intercode::ge_operand > > > a__pi_operand2ge_operand_base__pi_op2ge_op)
 Generated constructor for class pi_operand2ge_operand_base.
virtual void gc_mark ()
 Marking routine for class pi_operand2ge_operand_base.

Private Attributes

srp< ::lestes::std::map< srp<
::lestes::backend_v2::intercode::pi_operand >,
srp< ::lestes::backend_v2::intercode::ge_operand > > > 
pi_op2ge_op
 Already converted instances of pi_operand class.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Provides a way to convert pi_operand instance to corresponding ge_operand.

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_operand2ge_operand_base::pi_operand2ge_operand_base ( ptr< ::lestes::std::map< srp< ::lestes::backend_v2::intercode::pi_operand >, srp< ::lestes::backend_v2::intercode::ge_operand > > >  a__pi_operand2ge_operand_base__pi_op2ge_op  )  [protected]

Generated constructor for class pi_operand2ge_operand_base.

Generated constructor for class pi_operand2ge_operand_base.

Author:
lsg


Member Function Documentation

ptr<::lestes::std::map< srp<::lestes::backend_v2::intercode::pi_operand >, srp<::lestes::backend_v2::intercode::ge_operand > > > lestes::md::instructions::pi_operand2ge_operand_base::pi_op2ge_op_get (  )  const

The method pi_op2ge_op_get returns the value of the field pi_operand2ge_operand_base::pi_op2ge_op.

Returns:
The value of pi_operand2ge_operand_base::pi_op2ge_op.
Author:
lsg

void lestes::md::instructions::pi_operand2ge_operand_base::pi_op2ge_op_set ( const ptr< ::lestes::std::map< srp< ::lestes::backend_v2::intercode::pi_operand >, srp< ::lestes::backend_v2::intercode::ge_operand > > > &  x  ) 

The method pi_op2ge_op_set sets the field pi_operand2ge_operand_base::pi_op2ge_op to the given value.

Parameters:
[in] x The new value to set pi_operand2ge_operand_base::pi_op2ge_op to.
Author:
lsg

ptr<::lestes::backend_v2::intercode::ge_operand > lestes::md::instructions::pi_operand2ge_operand_base::convert ( ptr< ::lestes::backend_v2::intercode::pi_operand pi  ) 

Converts pi_operand to ge_operand.

It caches results of previous conversion. So if conversion of an already converted pi_operand instance is requested, the function returns the same instance of ge_operand class as the last time.

Parameters:
pi A pi_operand instance.
Returns:
A ge_operand instance.

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

for purposes of dumping

Reimplemented from lestes::backend_v2::intercode::visitor_pi_operand2ge_operand_gen_base.

Reimplemented in lestes::md::instructions::pi_operand2ge_operand.

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

for purposes of dumping

Reimplemented from lestes::backend_v2::intercode::visitor_pi_operand2ge_operand_gen_base.

Reimplemented in lestes::md::instructions::pi_operand2ge_operand.

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

Marking routine for class pi_operand2ge_operand_base.

Marking routine is used for garbage collection.

Author:
lsg

Reimplemented from lestes::backend_v2::intercode::visitor_pi_operand2ge_operand_gen_base.

Reimplemented in lestes::md::instructions::pi_operand2ge_operand.


Member Data Documentation

srp< ::lestes::std::map< srp< ::lestes::backend_v2::intercode::pi_operand >, srp< ::lestes::backend_v2::intercode::ge_operand > > > lestes::md::instructions::pi_operand2ge_operand_base::pi_op2ge_op [private]

Already converted instances of pi_operand class.

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

Reimplemented from lestes::backend_v2::intercode::visitor_pi_operand2ge_operand_gen_base.

Reimplemented in lestes::md::instructions::pi_operand2ge_operand.


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