lestes::backend_v2::intercode::ge_operand_reg Class Reference

A register operand. More...

#include <ge.g.hh>

Inheritance diagram for lestes::backend_v2::intercode::ge_operand_reg:

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ::lestes::std::map< srp<
ge_pi >, ulint > > 
assigned_registers_get () const
 The method assigned_registers_get returns the value of the field ge_operand_reg::assigned_registers.
void assigned_registers_set (const ptr< ::lestes::std::map< srp< ge_pi >, ulint > > &)
 The method assigned_registers_set sets the field ge_operand_reg::assigned_registers to the given value.
virtual ge_operand::kind_type kind_get ()
 Returns kind of the operand.
virtual lstring accept_visitor_ge_operand2lstring_gen_base (ptr< visitor_ge_operand2lstring_gen_base > v)
virtual ptr< reflection_listreflection_get () const
 for purposes of dumping
virtual ptr< field_list_listfield_values_get () const
 for purposes of dumping

Static Public Member Functions

static ptr< ge_operand_regcreate (ptr< ::lestes::md::types::tm_data_type_base > a__ge_operand__type, ptr< ge_pi > a__ge_operand__origin, ptr< ::lestes::backend_v2::intercode::pi_operand > a__ge_operand__pi_source, ptr< ::lestes::std::map< srp< ge_pi >, ulint > > a__ge_operand_reg__assigned_registers)
 First generated factory method for class ge_operand_reg.
static ptr< ge_operand_regcreate (ptr< ::lestes::md::types::tm_data_type_base > a__ge_operand__type, ptr< ge_pi > a__ge_operand__origin, ptr< ::lestes::backend_v2::intercode::pi_operand > a__ge_operand__pi_source)
 Second generated factory method for class ge_operand_reg.

Protected Member Functions

 ge_operand_reg (ptr< ::lestes::md::types::tm_data_type_base > a__ge_operand__type, ptr< ge_pi > a__ge_operand__origin, ptr< ::lestes::backend_v2::intercode::pi_operand > a__ge_operand__pi_source, ptr< ::lestes::std::map< srp< ge_pi >, ulint > > a__ge_operand_reg__assigned_registers)
 Generated constructor for class ge_operand_reg.
virtual void gc_mark ()
 Marking routine for class ge_operand_reg.

Private Attributes

srp< ::lestes::std::map< srp<
ge_pi >, ulint > > 
assigned_registers
 Registers assigned to the operand within each pseudoinstruction that use it.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

A register operand.


Constructor & Destructor Documentation

lestes::backend_v2::intercode::ge_operand_reg::ge_operand_reg ( ptr< ::lestes::md::types::tm_data_type_base a__ge_operand__type,
ptr< ge_pi a__ge_operand__origin,
ptr< ::lestes::backend_v2::intercode::pi_operand a__ge_operand__pi_source,
ptr< ::lestes::std::map< srp< ge_pi >, ulint > >  a__ge_operand_reg__assigned_registers 
) [protected]

Generated constructor for class ge_operand_reg.

Generated constructor for class ge_operand_reg.

Author:
lsg


Member Function Documentation

ptr<::lestes::std::map< srp< ge_pi >, ulint > > lestes::backend_v2::intercode::ge_operand_reg::assigned_registers_get (  )  const

The method assigned_registers_get returns the value of the field ge_operand_reg::assigned_registers.

Returns:
The value of ge_operand_reg::assigned_registers.
Author:
lsg

void lestes::backend_v2::intercode::ge_operand_reg::assigned_registers_set ( const ptr< ::lestes::std::map< srp< ge_pi >, ulint > > &  x  ) 

The method assigned_registers_set sets the field ge_operand_reg::assigned_registers to the given value.

Parameters:
[in] x The new value to set ge_operand_reg::assigned_registers to.
Author:
lsg

ge_operand::kind_type lestes::backend_v2::intercode::ge_operand_reg::kind_get (  )  [virtual]

Returns kind of the operand.

Implements lestes::backend_v2::intercode::ge_operand.

lstring lestes::backend_v2::intercode::ge_operand_reg::accept_visitor_ge_operand2lstring_gen_base ( ptr< visitor_ge_operand2lstring_gen_base v  )  [virtual]

Implements lestes::backend_v2::intercode::ge_operand.

ptr< ge_operand_reg > lestes::backend_v2::intercode::ge_operand_reg::create ( ptr< ::lestes::md::types::tm_data_type_base a__ge_operand__type,
ptr< ge_pi a__ge_operand__origin,
ptr< ::lestes::backend_v2::intercode::pi_operand a__ge_operand__pi_source,
ptr< ::lestes::std::map< srp< ge_pi >, ulint > >  a__ge_operand_reg__assigned_registers 
) [static]

First generated factory method for class ge_operand_reg.

This factory method for class ge_operand_reg takes values of all fields as arguments.

Author:
lsg

ptr< ge_operand_reg > lestes::backend_v2::intercode::ge_operand_reg::create ( ptr< ::lestes::md::types::tm_data_type_base a__ge_operand__type,
ptr< ge_pi a__ge_operand__origin,
ptr< ::lestes::backend_v2::intercode::pi_operand a__ge_operand__pi_source 
) [static]

Second generated factory method for class ge_operand_reg.

This factory method for class ge_operand_reg uses initializers.

Author:
lsg

ptr< object::reflection_list > lestes::backend_v2::intercode::ge_operand_reg::reflection_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::backend_v2::intercode::ge_operand.

ptr< object::field_list_list > lestes::backend_v2::intercode::ge_operand_reg::field_values_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::backend_v2::intercode::ge_operand.

void lestes::backend_v2::intercode::ge_operand_reg::gc_mark ( void   )  [protected, virtual]

Marking routine for class ge_operand_reg.

Marking routine is used for garbage collection.

Author:
lsg

Reimplemented from lestes::backend_v2::intercode::ge_operand.


Member Data Documentation

srp< ::lestes::std::map< srp< ge_pi >, ulint > > lestes::backend_v2::intercode::ge_operand_reg::assigned_registers [private]

Registers assigned to the operand within each pseudoinstruction that use it.

ptr< object::reflection_list > lestes::backend_v2::intercode::ge_operand_reg::reflection = reflection [static, private]

Reimplemented from lestes::backend_v2::intercode::ge_operand.


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