sail::BasicBlock Class Reference

Represents a basic block in the CFG. More...

#include <BasicBlock.h>

Inheritance diagram for sail::BasicBlock:

List of all members.

Public Member Functions

 BasicBlock (const BasicBlock &other)
void add_statement (Instruction *inst)
void add_statements (vector< Instruction * > &stmts)
void set_dominators (set< BasicBlock * > &doms)
void set_post_dominators (set< BasicBlock * > &pdoms)
set< BasicBlock * > & get_dominators ()
set< BasicBlock * > & get_post_dominators ()
bool is_empty_block ()
vector< Instruction * > & get_statements ()
string to_string () const
string to_string (bool pretty_print, bool print_block_id=true) const
virtual string to_dotty (string prelude, bool pretty_print=true)
virtual bool is_basicblock ()


class boost::serialization::access

Detailed Description

Represents a basic block in the CFG.

Member Function Documentation

vector< Instruction * > & sail::BasicBlock::get_statements (  ) 
the sequence of low-level instructions used in this basic block.
bool sail::BasicBlock::is_basicblock (  )  [virtual]
Is this block a basic block?

Reimplemented from sail::Block.

The documentation for this class was generated from the following files:
Generated on Sun Oct 17 14:01:31 2010 by  doxygen 1.6.3