SH::ShBasicBlock Class Reference

A basic block. More...

#include <ShBasicBlock.hpp>

Inheritance diagram for SH::ShBasicBlock:

Inheritance graph
[legend]
Collaboration diagram for SH::ShBasicBlock:

Collaboration graph
[legend]
List of all members.

Add statement at end.

Adds the given statement before the statements in this block

void prependStatement (const ShStatement &stmt)
bool empty ()
const_iterator begin () const
const_iterator end () const
iterator begin ()
iterator end ()
const_reverse_iterator rbegin () const
const_reverse_iterator rend () const
reverse_iterator rbegin ()
reverse_iterator rend ()
iterator erase (iterator I)
void splice (iterator I, ShStmtList &l)
void splice (iterator I, ShStmtList &l, iterator lI)
ShStmtList m_statements

Public Types

typedef std::list< ShStatementShStmtList
typedef ShStmtList::iterator iterator
typedef ShStmtList::const_iterator const_iterator
typedef ShStmtList::reverse_iterator reverse_iterator
typedef ShStmtList::const_reverse_iterator const_reverse_iterator

Public Member Functions

 ~ShBasicBlock ()
void print (std::ostream &out, int indent) const
 Output a textual representation of this control statement.
void graphvizDump (std::ostream &out) const
Add statement at start.
Adds the given statement after the statements in this block

void addStatement (const ShStatement &stmt)

Detailed Description

A basic block.

A basic block is a block composed of simpler statements, but with no loops or conditionals. It may only contain arithmetic operations, texture lookups, and assignments (although some of these assignments might be conditional).

Definition at line 35 of file ShBasicBlock.hpp.


The documentation for this class was generated from the following files:
Generated on Thu Feb 16 14:55:16 2006 for Sh by  doxygen 1.4.6