36 #ifndef _MACHINE_INDEPENDENT_LIVE_TRAVERSER_H 37 #define _MACHINE_INDEPENDENT_LIVE_TRAVERSER_H 41 #include "../Include/Common.h" 48 #include <unordered_set> 77 for (
unsigned int f = 0;
f < globals.size(); ++
f) {
Definition: intermediate.h:1194
GLuint const GLchar * name
Definition: glext.h:6671
Definition: intermediate.h:1520
const bool inVisit
Definition: intermediate.h:1653
const TIntermediate & intermediate
Definition: LiveTraverser.h:130
virtual bool visitSelection(TVisit, TIntermSelection *node)
Definition: LiveTraverser.h:101
const bool preVisit
Definition: intermediate.h:1652
virtual TIntermNode * getTrueBlock() const
Definition: intermediate.h:1532
Definition: intermediate.h:1610
GLfloat f
Definition: glext.h:8207
Definition: localintermediate.h:210
bool traverseAll
Definition: LiveTraverser.h:133
const bool postVisit
Definition: intermediate.h:1654
const TConstUnionArray & getConstArray() const
Definition: intermediate.h:1197
virtual const TString & getName() const
Definition: intermediate.h:1493
virtual glslang::TIntermAggregate * getAsAggregate()
Definition: intermediate.h:999
virtual glslang::TIntermConstantUnion * getAsConstantUnion()
Definition: intermediate.h:998
TLiveTraverser & operator=(TLiveTraverser &)
TIntermNode * getTreeRoot() const
Definition: localintermediate.h:404
virtual TIntermTyped * getCondition() const
Definition: intermediate.h:1531
Definition: intermediate.h:1482
TLiveTraverser(const TIntermediate &i, bool traverseAll=false, bool preVisit=true, bool inVisit=false, bool postVisit=false)
Definition: LiveTraverser.h:64
TVisit
Definition: intermediate.h:1582
Definition: LiveTraverser.h:62
std::list< TIntermAggregate * > TFunctionStack
Definition: LiveTraverser.h:86
virtual TIntermSequence & getSequence()
Definition: intermediate.h:1490
std::unordered_set< TString > TLiveFunctions
Definition: LiveTraverser.h:131
virtual bool visitAggregate(TVisit, TIntermAggregate *node)
Definition: LiveTraverser.h:91
Definition: intermediate.h:70
virtual TIntermNode * getFalseBlock() const
Definition: intermediate.h:1533
Definition: intermediate.h:71
TFunctionStack functions
Definition: LiveTraverser.h:87
TLiveFunctions liveFunctions
Definition: LiveTraverser.h:132
void pushFunction(const TString &name)
Definition: LiveTraverser.h:74
virtual void traverse(glslang::TIntermTraverser *)=0
TOperator getOp() const
Definition: intermediate.h:1238
any call(F fn, Args &&... args)
Definition: peglib.h:337
void addFunctionCall(TIntermAggregate *call)
Definition: LiveTraverser.h:121
Definition: lobject.h:303