lestes::backend_v2::workers::basic_block Class Reference

Represents a basic block. More...

#include <bb_finder.g.hh>

Inheritance diagram for lestes::backend_v2::workers::basic_block:

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< ::lestes::backend_v2::intercode::ge_spfsp_get () const
 The method fsp_get returns the value of the field basic_block::fsp.
void fsp_set (const ptr< ::lestes::backend_v2::intercode::ge_sp > &)
 The method fsp_set sets the field basic_block::fsp to the given value.
ptr< ::lestes::backend_v2::intercode::ge_splsp_get () const
 The method lsp_get returns the value of the field basic_block::lsp.
void lsp_set (const ptr< ::lestes::backend_v2::intercode::ge_sp > &)
 The method lsp_set sets the field basic_block::lsp to the given value.
ptr< ::lestes::std::vector<
srp< ::lestes::backend_v2::intercode::ge_pi > > > 
instructions_get () const
 The method instructions_get returns the value of the field basic_block::instructions.
void instructions_set (const ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::ge_pi > > > &)
 The method instructions_set sets the field basic_block::instructions 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

Static Public Member Functions

static ptr< basic_blockcreate (ptr< ::lestes::backend_v2::intercode::ge_sp > a__basic_block__fsp, ptr< ::lestes::backend_v2::intercode::ge_sp > a__basic_block__lsp, ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::ge_pi > > > a__basic_block__instructions)
 First generated factory method for class basic_block.
static ptr< basic_blockcreate ()
 Second generated factory method for class basic_block.

Protected Member Functions

 basic_block (ptr< ::lestes::backend_v2::intercode::ge_sp > a__basic_block__fsp, ptr< ::lestes::backend_v2::intercode::ge_sp > a__basic_block__lsp, ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::ge_pi > > > a__basic_block__instructions)
 Generated constructor for class basic_block.
virtual void gc_mark ()
 Marking routine for class basic_block.

Private Attributes

srp< ::lestes::backend_v2::intercode::ge_spfsp
 A sequencepoint that encloses beginning of the basic block.
srp< ::lestes::backend_v2::intercode::ge_splsp
 A sequencepoint that encloses end of the basic block.
srp< ::lestes::std::vector<
srp< ::lestes::backend_v2::intercode::ge_pi > > > 
instructions
 A list of the basic block's instructions.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Represents a basic block.

A basic block is a straight-line piece of code without any jumps or jump targets in the middle; jump targets, if any, start a block, and jumps end a block.


Constructor & Destructor Documentation

lestes::backend_v2::workers::basic_block::basic_block ( ptr< ::lestes::backend_v2::intercode::ge_sp a__basic_block__fsp,
ptr< ::lestes::backend_v2::intercode::ge_sp a__basic_block__lsp,
ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::ge_pi > > >  a__basic_block__instructions 
) [protected]

Generated constructor for class basic_block.

Generated constructor for class basic_block.

Author:
lsg


Member Function Documentation

ptr<::lestes::backend_v2::intercode::ge_sp > lestes::backend_v2::workers::basic_block::fsp_get (  )  const

The method fsp_get returns the value of the field basic_block::fsp.

Returns:
The value of basic_block::fsp.
Author:
lsg

void lestes::backend_v2::workers::basic_block::fsp_set ( const ptr< ::lestes::backend_v2::intercode::ge_sp > &  x  ) 

The method fsp_set sets the field basic_block::fsp to the given value.

Parameters:
[in] x The new value to set basic_block::fsp to.
Author:
lsg

ptr<::lestes::backend_v2::intercode::ge_sp > lestes::backend_v2::workers::basic_block::lsp_get (  )  const

The method lsp_get returns the value of the field basic_block::lsp.

Returns:
The value of basic_block::lsp.
Author:
lsg

void lestes::backend_v2::workers::basic_block::lsp_set ( const ptr< ::lestes::backend_v2::intercode::ge_sp > &  x  ) 

The method lsp_set sets the field basic_block::lsp to the given value.

Parameters:
[in] x The new value to set basic_block::lsp to.
Author:
lsg

ptr<::lestes::std::vector< srp<::lestes::backend_v2::intercode::ge_pi > > > lestes::backend_v2::workers::basic_block::instructions_get (  )  const

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

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

void lestes::backend_v2::workers::basic_block::instructions_set ( const ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::ge_pi > > > &  x  ) 

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

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

ptr< basic_block > lestes::backend_v2::workers::basic_block::create ( ptr< ::lestes::backend_v2::intercode::ge_sp a__basic_block__fsp,
ptr< ::lestes::backend_v2::intercode::ge_sp a__basic_block__lsp,
ptr< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::ge_pi > > >  a__basic_block__instructions 
) [static]

First generated factory method for class basic_block.

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

Author:
lsg

ptr< basic_block > lestes::backend_v2::workers::basic_block::create (  )  [static]

Second generated factory method for class basic_block.

This factory method for class basic_block uses initializers.

Author:
lsg

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

for purposes of dumping

Reimplemented from lestes::std::object.

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

for purposes of dumping

Reimplemented from lestes::std::object.

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

Marking routine for class basic_block.

Marking routine is used for garbage collection.

Author:
lsg

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


Member Data Documentation

srp< ::lestes::backend_v2::intercode::ge_sp > lestes::backend_v2::workers::basic_block::fsp [private]

A sequencepoint that encloses beginning of the basic block.

srp< ::lestes::backend_v2::intercode::ge_sp > lestes::backend_v2::workers::basic_block::lsp [private]

A sequencepoint that encloses end of the basic block.

srp< ::lestes::std::vector< srp< ::lestes::backend_v2::intercode::ge_pi > > > lestes::backend_v2::workers::basic_block::instructions [private]

A list of the basic block's instructions.

ptr< object::reflection_list > lestes::backend_v2::workers::basic_block::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:13 2007 for lestes by doxygen 1.5.1-20070107