Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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

typedef std::list< ShStatementShStmtList
void prependStatement (const ShStatement &stmt)
ShStmtList::const_iterator begin () const
ShStmtList::const_iterator end () const
ShStmtList::iterator begin ()
ShStmtList::iterator end ()
ShStmtList::iterator erase (ShStmtList::iterator I)
void splice (ShStmtList::iterator I, ShStmtList &l)
void splice (ShStmtList::iterator I, ShStmtList &l, ShStmtList::iterator lI)
ShStmtList m_statements

Public Member Functions

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 42 of file ShBasicBlock.hpp.


The documentation for this class was generated from the following files:
Generated on Mon Jan 24 18:38:05 2005 for Sh by  doxygen 1.4.1