GPUOcelot
|
ProgramStructureGraphs are overlays over the ControlFlowGraph that capture some structure other than basic blocks. More...
#include <ProgramStructureGraph.h>
Classes | |
class | Block |
Public Types | |
typedef std::vector< Block > | BlockVector |
typedef BlockVector::iterator | iterator |
typedef BlockVector::const_iterator | const_iterator |
Public Member Functions | |
iterator | begin () |
Get an iterator to the first block. | |
iterator | end () |
Get an iterator to the end of the block list. | |
const_iterator | begin () const |
Get a const iterator to the first block. | |
const_iterator | end () const |
Get a const iterator to the end of the block list. | |
size_t | size () const |
Get the number of basic blocks in the graph. | |
bool | empty () const |
Is the graph empty? | |
Protected Attributes | |
BlockVector | _blocks |
ProgramStructureGraphs are overlays over the ControlFlowGraph that capture some structure other than basic blocks.
Examples of program structures from literature may include Superblocks, Hyperblocks, Treegions, or Subkernels.
typedef std::vector<Block> analysis::ProgramStructureGraph::BlockVector |
typedef BlockVector::const_iterator analysis::ProgramStructureGraph::const_iterator |
typedef BlockVector::iterator analysis::ProgramStructureGraph::iterator |
ProgramStructureGraph::iterator analysis::ProgramStructureGraph::begin | ( | ) |
Get an iterator to the first block.
ProgramStructureGraph::const_iterator analysis::ProgramStructureGraph::begin | ( | ) | const |
Get a const iterator to the first block.
bool analysis::ProgramStructureGraph::empty | ( | ) | const |
Is the graph empty?
ProgramStructureGraph::const_iterator analysis::ProgramStructureGraph::end | ( | ) | const |
Get a const iterator to the end of the block list.
ProgramStructureGraph::iterator analysis::ProgramStructureGraph::end | ( | ) |
Get an iterator to the end of the block list.
size_t analysis::ProgramStructureGraph::size | ( | ) | const |
Get the number of basic blocks in the graph.
BlockVector analysis::ProgramStructureGraph::_blocks [protected] |