lestes::backend_v2::workers::liveness_analysis Class Reference

Performs liveness analysis of instruction operands. More...

#include <liveness_analysis.g.hh>

Inheritance diagram for lestes::backend_v2::workers::liveness_analysis:

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ::lestes::backend_v2::structs::func_datadata_get () const
 The method data_get returns the value of the field liveness_analysis::data.
void data_set (const ptr< ::lestes::backend_v2::structs::func_data > &)
 The method data_set sets the field liveness_analysis::data to the given value.
ptr< ::lestes::std::map< srp<
::lestes::backend_v2::intercode::ge_pi >,
srp< ::lestes::std::pair<
srp< set< srp< ::lestes::backend_v2::intercode::ge_operand_reg > > >,
srp< set< srp< ::lestes::backend_v2::intercode::ge_operand_reg > > > > > > > 
inout_get () const
 The method inout_get returns the value of the field liveness_analysis::inout.
void inout_set (const ptr< ::lestes::std::map< srp< ::lestes::backend_v2::intercode::ge_pi >, srp< ::lestes::std::pair< srp< set< srp< ::lestes::backend_v2::intercode::ge_operand_reg > > >, srp< set< srp< ::lestes::backend_v2::intercode::ge_operand_reg > > > > > > > &)
 The method inout_set sets the field liveness_analysis::inout to the given value.
void process ()
ptr< vector< srp< liveness_range > > > get_result ()
 Returns a vector of the computed live ranges.
ptr< ::lestes::backend_v2::intercode::ge_operand_regextract_reg_operand (ptr< ::lestes::backend_v2::intercode::ge_operand > op)
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< liveness_analysiscreate (ptr< ::lestes::backend_v2::structs::func_data > a__liveness_analysis__data, ptr< ::lestes::std::map< srp< ::lestes::backend_v2::intercode::ge_pi >, srp< ::lestes::std::pair< srp< set< srp< ::lestes::backend_v2::intercode::ge_operand_reg > > >, srp< set< srp< ::lestes::backend_v2::intercode::ge_operand_reg > > > > > > > a__liveness_analysis__inout)
 First generated factory method for class liveness_analysis.
static ptr< liveness_analysiscreate (ptr< ::lestes::backend_v2::structs::func_data > a__liveness_analysis__data)
 Second generated factory method for class liveness_analysis.

Protected Member Functions

 liveness_analysis (ptr< ::lestes::backend_v2::structs::func_data > a__liveness_analysis__data, ptr< ::lestes::std::map< srp< ::lestes::backend_v2::intercode::ge_pi >, srp< ::lestes::std::pair< srp< set< srp< ::lestes::backend_v2::intercode::ge_operand_reg > > >, srp< set< srp< ::lestes::backend_v2::intercode::ge_operand_reg > > > > > > > a__liveness_analysis__inout)
 Generated constructor for class liveness_analysis.
virtual void gc_mark ()
 Marking routine for class liveness_analysis.

Private Attributes

srp< ::lestes::backend_v2::structs::func_datadata
srp< ::lestes::std::map< srp<
::lestes::backend_v2::intercode::ge_pi >,
srp< ::lestes::std::pair<
srp< set< srp< ::lestes::backend_v2::intercode::ge_operand_reg > > >,
srp< set< srp< ::lestes::backend_v2::intercode::ge_operand_reg > > > > > > > 
inout
 Holds a pseudoinstruction to inout set map.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Performs liveness analysis of instruction operands.


Constructor & Destructor Documentation

lestes::backend_v2::workers::liveness_analysis::liveness_analysis ( ptr< ::lestes::backend_v2::structs::func_data a__liveness_analysis__data,
ptr< ::lestes::std::map< srp< ::lestes::backend_v2::intercode::ge_pi >, srp< ::lestes::std::pair< srp< set< srp< ::lestes::backend_v2::intercode::ge_operand_reg > > >, srp< set< srp< ::lestes::backend_v2::intercode::ge_operand_reg > > > > > > >  a__liveness_analysis__inout 
) [protected]

Generated constructor for class liveness_analysis.

Generated constructor for class liveness_analysis.

Author:
lsg


Member Function Documentation

ptr<::lestes::backend_v2::structs::func_data > lestes::backend_v2::workers::liveness_analysis::data_get (  )  const

The method data_get returns the value of the field liveness_analysis::data.

Returns:
The value of liveness_analysis::data.
Author:
lsg

void lestes::backend_v2::workers::liveness_analysis::data_set ( const ptr< ::lestes::backend_v2::structs::func_data > &  x  ) 

The method data_set sets the field liveness_analysis::data to the given value.

Parameters:
[in] x The new value to set liveness_analysis::data to.
Author:
lsg

ptr<::lestes::std::map< srp<::lestes::backend_v2::intercode::ge_pi >, srp<::lestes::std::pair< srp< set< srp<::lestes::backend_v2::intercode::ge_operand_reg > > >, srp< set< srp<::lestes::backend_v2::intercode::ge_operand_reg > > > > > > > lestes::backend_v2::workers::liveness_analysis::inout_get (  )  const

The method inout_get returns the value of the field liveness_analysis::inout.

Returns:
The value of liveness_analysis::inout.
Author:
lsg

void lestes::backend_v2::workers::liveness_analysis::inout_set ( const ptr< ::lestes::std::map< srp< ::lestes::backend_v2::intercode::ge_pi >, srp< ::lestes::std::pair< srp< set< srp< ::lestes::backend_v2::intercode::ge_operand_reg > > >, srp< set< srp< ::lestes::backend_v2::intercode::ge_operand_reg > > > > > > > &  x  ) 

The method inout_set sets the field liveness_analysis::inout to the given value.

Parameters:
[in] x The new value to set liveness_analysis::inout to.
Author:
lsg

void lestes::backend_v2::workers::liveness_analysis::process (  ) 

ptr< vector< srp< liveness_range > > > lestes::backend_v2::workers::liveness_analysis::get_result (  ) 

Returns a vector of the computed live ranges.

ptr< ::lestes::backend_v2::intercode::ge_operand_reg > lestes::backend_v2::workers::liveness_analysis::extract_reg_operand ( ptr< ::lestes::backend_v2::intercode::ge_operand op  ) 

ptr< liveness_analysis > lestes::backend_v2::workers::liveness_analysis::create ( ptr< ::lestes::backend_v2::structs::func_data a__liveness_analysis__data,
ptr< ::lestes::std::map< srp< ::lestes::backend_v2::intercode::ge_pi >, srp< ::lestes::std::pair< srp< set< srp< ::lestes::backend_v2::intercode::ge_operand_reg > > >, srp< set< srp< ::lestes::backend_v2::intercode::ge_operand_reg > > > > > > >  a__liveness_analysis__inout 
) [static]

First generated factory method for class liveness_analysis.

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

Author:
lsg

ptr< liveness_analysis > lestes::backend_v2::workers::liveness_analysis::create ( ptr< ::lestes::backend_v2::structs::func_data a__liveness_analysis__data  )  [static]

Second generated factory method for class liveness_analysis.

This factory method for class liveness_analysis uses initializers.

Author:
lsg

ptr< object::reflection_list > lestes::backend_v2::workers::liveness_analysis::reflection_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::std::object.

ptr< object::field_list_list > lestes::backend_v2::workers::liveness_analysis::field_values_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::std::object.

void lestes::backend_v2::workers::liveness_analysis::gc_mark ( void   )  [protected, virtual]

Marking routine for class liveness_analysis.

Marking routine is used for garbage collection.

Author:
lsg

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


Member Data Documentation

srp< ::lestes::backend_v2::structs::func_data > lestes::backend_v2::workers::liveness_analysis::data [private]

srp< ::lestes::std::map< srp< ::lestes::backend_v2::intercode::ge_pi >, srp< ::lestes::std::pair< srp<set< srp< ::lestes::backend_v2::intercode::ge_operand_reg > > >, srp<set< srp< ::lestes::backend_v2::intercode::ge_operand_reg > > > > > > > lestes::backend_v2::workers::liveness_analysis::inout [private]

Holds a pseudoinstruction to inout set map.

ptr< object::reflection_list > lestes::backend_v2::workers::liveness_analysis::reflection = reflection [static, private]

Reimplemented from lestes::std::object.


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