Represents a basic block in the CFG. More...
#include <BasicBlock.h>
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 () |
Friends | |
| class | boost::serialization::access |
Represents a basic block in the CFG.
| vector< Instruction * > & sail::BasicBlock::get_statements | ( | ) |
| bool sail::BasicBlock::is_basicblock | ( | ) | [virtual] |
Reimplemented from sail::Block.
1.6.3