zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TIntermLoop Class Reference

#include <intermediate.h>

Inherits TIntermNode.

Public Member Functions

 TIntermLoop (TLoopType aType, TIntermNode *aInit, TIntermTyped *aCond, TIntermTyped *aExpr, TIntermNode *aBody)
 
virtual TIntermLoopgetAsLoopNode ()
 
TIntermNodegetBody ()
 
TIntermTypedgetCondition ()
 
TIntermTypedgetExpression ()
 
TIntermNodegetInit ()
 
TLoopType getType () const
 
bool getUnrollFlag ()
 
void setUnrollFlag (bool flag)
 
virtual void traverse (TIntermTraverser *)
 
- Public Member Functions inherited from TIntermNode
 TIntermNode ()
 
virtual ~TIntermNode ()
 
virtual TIntermAggregategetAsAggregate ()
 
virtual TIntermBinarygetAsBinaryNode ()
 
virtual TIntermConstantUniongetAsConstantUnion ()
 
virtual TIntermSelectiongetAsSelectionNode ()
 
virtual TIntermSymbolgetAsSymbolNode ()
 
virtual TIntermTypedgetAsTyped ()
 
virtual TIntermUnarygetAsUnaryNode ()
 
const TSourceLocgetLine () const
 
 POOL_ALLOCATOR_NEW_DELETE ()
 
void setLine (const TSourceLoc &l)
 

Protected Attributes

TIntermNodebody
 
TIntermTypedcond
 
TIntermTypedexpr
 
TIntermNodeinit
 
TLoopType type
 
bool unrollFlag
 
- Protected Attributes inherited from TIntermNode
TSourceLoc line
 

Detailed Description

Definition at line 284 of file intermediate.h.

Constructor & Destructor Documentation

TIntermLoop::TIntermLoop ( TLoopType  aType,
TIntermNode aInit,
TIntermTyped aCond,
TIntermTyped aExpr,
TIntermNode aBody 
)
inline

Definition at line 286 of file intermediate.h.

Member Function Documentation

virtual TIntermLoop* TIntermLoop::getAsLoopNode ( )
inlinevirtual

Reimplemented from TIntermNode.

Definition at line 296 of file intermediate.h.

TLoopType TIntermLoop::getType ( ) const
inline
bool TIntermLoop::getUnrollFlag ( )
inline

Definition at line 306 of file intermediate.h.

References unrollFlag.

Referenced by ForLoopUnroll::FillLoopIndexInfo(), and TOutputGLSLBase::visitLoop().

void TIntermLoop::setUnrollFlag ( bool  flag)
inline

Definition at line 305 of file intermediate.h.

References unrollFlag.

Member Data Documentation

TIntermNode* TIntermLoop::body
protected

Definition at line 313 of file intermediate.h.

Referenced by getBody(), and traverse().

TIntermTyped* TIntermLoop::cond
protected

Definition at line 311 of file intermediate.h.

Referenced by getCondition(), and traverse().

TIntermTyped* TIntermLoop::expr
protected

Definition at line 312 of file intermediate.h.

Referenced by getExpression(), and traverse().

TIntermNode* TIntermLoop::init
protected

Definition at line 310 of file intermediate.h.

Referenced by getInit().

TLoopType TIntermLoop::type
protected

Definition at line 309 of file intermediate.h.

Referenced by getType().

bool TIntermLoop::unrollFlag
protected

Definition at line 315 of file intermediate.h.

Referenced by getUnrollFlag(), and setUnrollFlag().


The documentation for this class was generated from the following files: