zenilib
0.5.3.0
|
#include <intermediate.h>
Inherits TIntermNode.
Public Member Functions | |
TIntermLoop (TLoopType aType, TIntermNode *aInit, TIntermTyped *aCond, TIntermTyped *aExpr, TIntermNode *aBody) | |
virtual TIntermLoop * | getAsLoopNode () |
TIntermNode * | getBody () |
TIntermTyped * | getCondition () |
TIntermTyped * | getExpression () |
TIntermNode * | getInit () |
TLoopType | getType () const |
bool | getUnrollFlag () |
void | setUnrollFlag (bool flag) |
virtual void | traverse (TIntermTraverser *) |
![]() | |
TIntermNode () | |
virtual | ~TIntermNode () |
virtual TIntermAggregate * | getAsAggregate () |
virtual TIntermBinary * | getAsBinaryNode () |
virtual TIntermConstantUnion * | getAsConstantUnion () |
virtual TIntermSelection * | getAsSelectionNode () |
virtual TIntermSymbol * | getAsSymbolNode () |
virtual TIntermTyped * | getAsTyped () |
virtual TIntermUnary * | getAsUnaryNode () |
const TSourceLoc & | getLine () const |
POOL_ALLOCATOR_NEW_DELETE () | |
void | setLine (const TSourceLoc &l) |
Protected Attributes | |
TIntermNode * | body |
TIntermTyped * | cond |
TIntermTyped * | expr |
TIntermNode * | init |
TLoopType | type |
bool | unrollFlag |
![]() | |
TSourceLoc | line |
Definition at line 284 of file intermediate.h.
|
inline |
Definition at line 286 of file intermediate.h.
|
inlinevirtual |
Reimplemented from TIntermNode.
Definition at line 296 of file intermediate.h.
|
inline |
Definition at line 303 of file intermediate.h.
References body.
Referenced by sh::OutputHLSL::handleExcessiveLoop(), TDependencyGraphBuilder::visitLoop(), ValidateLimitations::visitLoop(), TOutputGLSLBase::visitLoop(), and sh::OutputHLSL::visitLoop().
|
inline |
Definition at line 301 of file intermediate.h.
References cond.
Referenced by ForLoopUnroll::FillLoopIndexInfo(), sh::OutputHLSL::handleExcessiveLoop(), TDependencyGraphBuilder::visitLoop(), sh::UnfoldShortCircuit::visitLoop(), TOutputGLSLBase::visitLoop(), and sh::OutputHLSL::visitLoop().
|
inline |
Definition at line 302 of file intermediate.h.
References expr.
Referenced by sh::OutputHLSL::handleExcessiveLoop(), TDependencyGraphBuilder::visitLoop(), sh::UnfoldShortCircuit::visitLoop(), TOutputGLSLBase::visitLoop(), and sh::OutputHLSL::visitLoop().
|
inline |
Definition at line 300 of file intermediate.h.
References init.
Referenced by ForLoopUnroll::FillLoopIndexInfo(), sh::OutputHLSL::handleExcessiveLoop(), sh::UnfoldShortCircuit::visitLoop(), TOutputGLSLBase::visitLoop(), MapLongVariableNames::visitLoop(), and sh::OutputHLSL::visitLoop().
|
inline |
Definition at line 299 of file intermediate.h.
References type.
Referenced by ForLoopUnroll::FillLoopIndexInfo(), TOutputGLSLBase::visitLoop(), and sh::OutputHLSL::visitLoop().
|
inline |
Definition at line 306 of file intermediate.h.
References unrollFlag.
Referenced by ForLoopUnroll::FillLoopIndexInfo(), and TOutputGLSLBase::visitLoop().
|
inline |
Definition at line 305 of file intermediate.h.
References unrollFlag.
|
virtual |
Implements TIntermNode.
Definition at line 217 of file IntermTraverse.cpp.
References body, cond, TIntermTraverser::decrementDepth(), expr, TIntermTraverser::incrementDepth(), PostVisit, TIntermTraverser::postVisit, PreVisit, TIntermTraverser::preVisit, TIntermTraverser::rightToLeft, TIntermNode::traverse(), and TIntermTraverser::visitLoop().
|
protected |
Definition at line 313 of file intermediate.h.
Referenced by getBody(), and traverse().
|
protected |
Definition at line 311 of file intermediate.h.
Referenced by getCondition(), and traverse().
|
protected |
Definition at line 312 of file intermediate.h.
Referenced by getExpression(), and traverse().
|
protected |
Definition at line 310 of file intermediate.h.
Referenced by getInit().
|
protected |
Definition at line 309 of file intermediate.h.
Referenced by getType().
|
protected |
Definition at line 315 of file intermediate.h.
Referenced by getUnrollFlag(), and setUnrollFlag().