lestes::backend_v2::intercode::ge_sp Class Reference

Ge-level sequencepoint. More...

#include <ge.g.hh>

Inheritance diagram for lestes::backend_v2::intercode::ge_sp:

Inheritance graph
[legend]
List of all members.

Public Member Functions

bool is_jmp_target_get () const
 The method is_jmp_target_get returns the value of the field ge_sp::is_jmp_target.
void is_jmp_target_set (bool)
 The method is_jmp_target_set sets the field ge_sp::is_jmp_target to the given value.
virtual ge_pi::kind_type kind_get ()
 Returns kind of the pseudoinstruction.
virtual lstring accept_visitor_ge_pi2lstring_gen_base (ptr< visitor_ge_pi2lstring_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_spcreate (ptr< ::lestes::md::instructions::tm_instr_base > a__ge_pi__instruction, ptr< ::lestes::backend_v2::intercode::pi_pi > a__ge_pi__pi_source, ptr< ::lestes::std::vector< srp< ge_operand > > > a__ge_pi__operands_input, ptr< ::lestes::std::vector< srp< ge_operand > > > a__ge_pi__operands_output, ptr< ::lestes::std::set< srp< ge_pi > > > a__ge_pi__dependencies, ptr< ::lestes::std::vector< srp< ge_sp > > > a__ge_pi__jmp_targets, ulint a__ge_pi__schedule_pos, ptr< ::lestes::backend_v2::workers::basic_block > a__ge_pi__bb, ptr< ::lestes::std::map< ulint, lstring > > a__ge_pi__properties, bool a__ge_sp__is_jmp_target)
 First generated factory method for class ge_sp.
static ptr< ge_spcreate (ptr< ::lestes::md::instructions::tm_instr_base > a__ge_pi__instruction, ptr< ::lestes::backend_v2::intercode::pi_pi > a__ge_pi__pi_source)
 Second generated factory method for class ge_sp.

Protected Member Functions

 ge_sp (ptr< ::lestes::md::instructions::tm_instr_base > a__ge_pi__instruction, ptr< ::lestes::backend_v2::intercode::pi_pi > a__ge_pi__pi_source, ptr< ::lestes::std::vector< srp< ge_operand > > > a__ge_pi__operands_input, ptr< ::lestes::std::vector< srp< ge_operand > > > a__ge_pi__operands_output, ptr< ::lestes::std::set< srp< ge_pi > > > a__ge_pi__dependencies, ptr< ::lestes::std::vector< srp< ge_sp > > > a__ge_pi__jmp_targets, ulint a__ge_pi__schedule_pos, ptr< ::lestes::backend_v2::workers::basic_block > a__ge_pi__bb, ptr< ::lestes::std::map< ulint, lstring > > a__ge_pi__properties, bool a__ge_sp__is_jmp_target)
 Generated constructor for class ge_sp.
virtual void gc_mark ()
 Marking routine for class ge_sp.

Private Attributes

bool is_jmp_target
 Tells whether the sequencepoint is a jump target.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Ge-level sequencepoint.

It represents supplemental pseudoinstruction that has no output to a output asm code. It is used e.g. to mark basic block boundary and jump targets.


Constructor & Destructor Documentation

lestes::backend_v2::intercode::ge_sp::ge_sp ( ptr< ::lestes::md::instructions::tm_instr_base a__ge_pi__instruction,
ptr< ::lestes::backend_v2::intercode::pi_pi a__ge_pi__pi_source,
ptr< ::lestes::std::vector< srp< ge_operand > > >  a__ge_pi__operands_input,
ptr< ::lestes::std::vector< srp< ge_operand > > >  a__ge_pi__operands_output,
ptr< ::lestes::std::set< srp< ge_pi > > >  a__ge_pi__dependencies,
ptr< ::lestes::std::vector< srp< ge_sp > > >  a__ge_pi__jmp_targets,
ulint  a__ge_pi__schedule_pos,
ptr< ::lestes::backend_v2::workers::basic_block a__ge_pi__bb,
ptr< ::lestes::std::map< ulint, lstring > >  a__ge_pi__properties,
bool  a__ge_sp__is_jmp_target 
) [protected]

Generated constructor for class ge_sp.

Generated constructor for class ge_sp.

Author:
lsg


Member Function Documentation

bool lestes::backend_v2::intercode::ge_sp::is_jmp_target_get (  )  const

The method is_jmp_target_get returns the value of the field ge_sp::is_jmp_target.

Returns:
The value of ge_sp::is_jmp_target.
Author:
lsg

void lestes::backend_v2::intercode::ge_sp::is_jmp_target_set ( bool  x  ) 

The method is_jmp_target_set sets the field ge_sp::is_jmp_target to the given value.

Parameters:
[in] x The new value to set ge_sp::is_jmp_target to.
Author:
lsg

ge_pi::kind_type lestes::backend_v2::intercode::ge_sp::kind_get (  )  [virtual]

Returns kind of the pseudoinstruction.

Reimplemented from lestes::backend_v2::intercode::ge_pi.

lstring lestes::backend_v2::intercode::ge_sp::accept_visitor_ge_pi2lstring_gen_base ( ptr< visitor_ge_pi2lstring_gen_base v  )  [virtual]

Reimplemented from lestes::backend_v2::intercode::ge_pi.

ptr< ge_sp > lestes::backend_v2::intercode::ge_sp::create ( ptr< ::lestes::md::instructions::tm_instr_base a__ge_pi__instruction,
ptr< ::lestes::backend_v2::intercode::pi_pi a__ge_pi__pi_source,
ptr< ::lestes::std::vector< srp< ge_operand > > >  a__ge_pi__operands_input,
ptr< ::lestes::std::vector< srp< ge_operand > > >  a__ge_pi__operands_output,
ptr< ::lestes::std::set< srp< ge_pi > > >  a__ge_pi__dependencies,
ptr< ::lestes::std::vector< srp< ge_sp > > >  a__ge_pi__jmp_targets,
ulint  a__ge_pi__schedule_pos,
ptr< ::lestes::backend_v2::workers::basic_block a__ge_pi__bb,
ptr< ::lestes::std::map< ulint, lstring > >  a__ge_pi__properties,
bool  a__ge_sp__is_jmp_target 
) [static]

First generated factory method for class ge_sp.

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

Author:
lsg

ptr< ge_sp > lestes::backend_v2::intercode::ge_sp::create ( ptr< ::lestes::md::instructions::tm_instr_base a__ge_pi__instruction,
ptr< ::lestes::backend_v2::intercode::pi_pi a__ge_pi__pi_source 
) [static]

Second generated factory method for class ge_sp.

This factory method for class ge_sp uses initializers.

Author:
lsg

Reimplemented from lestes::backend_v2::intercode::ge_pi.

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

for purposes of dumping

Reimplemented from lestes::backend_v2::intercode::ge_pi.

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

for purposes of dumping

Reimplemented from lestes::backend_v2::intercode::ge_pi.

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

Marking routine for class ge_sp.

Marking routine is used for garbage collection.

Author:
lsg

Reimplemented from lestes::backend_v2::intercode::ge_pi.


Member Data Documentation

bool lestes::backend_v2::intercode::ge_sp::is_jmp_target [private]

Tells whether the sequencepoint is a jump target.

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

Reimplemented from lestes::backend_v2::intercode::ge_pi.


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