An abstract class that BasicBlock and SuperBlock inherit from. More...
#include <Block.h>
Public Member Functions | |
virtual bool | is_basicblock () |
virtual bool | is_superblock () |
virtual string | to_string () const =0 |
virtual string | to_dotty (string prelude, bool pretty_print=true)=0 |
void | add_successor_edge (CfgEdge *edge) |
void | add_predecessor_edge (CfgEdge *edge) |
void | set_block_id (int id) |
int | get_block_id () const |
set< CfgEdge * > & | get_successors () |
set< CfgEdge * > & | get_predecessors () |
Protected Attributes | |
int | block_id |
set< CfgEdge * > | successors |
set< CfgEdge * > | predecessors |
Friends | |
class | boost::serialization::access |
An abstract class that BasicBlock and SuperBlock inherit from.
set< CfgEdge * > & sail::Block::get_predecessors | ( | ) |
set< CfgEdge * > & sail::Block::get_successors | ( | ) |
bool sail::Block::is_basicblock | ( | ) | [virtual] |
Reimplemented in sail::BasicBlock.
bool sail::Block::is_superblock | ( | ) | [virtual] |
Reimplemented in sail::SuperBlock.