16 #ifndef __INTERMEDIATE_H
17 #define __INTERMEDIATE_H
351 void setId(
int newId) {
id = newId; }
579 #endif // __INTERMEDIATE_H
bool isUserDefined() const
TIntermConstantUnion(ConstantUnion *unionPointer, const TType &t)
ConstantUnion * unionArrayPointer
TIntermSelection * getAsSelectionNode()
int elementRegisterCount() const
virtual TIntermBinary * getAsBinaryNode()
virtual void traverse(TIntermTraverser *)
TIntermAggregate(TOperator o)
TIntermTyped * expression
virtual bool visitAggregate(Visit visit, TIntermAggregate *)
TIntermSequence & getSequence()
TIntermNode * getTrueBlock() const
TIntermTyped * getCondition()
GLint GLenum GLsizei GLsizei GLsizei GLint GLenum GLenum type
const TString & getOriginalSymbol() const
POOL_ALLOCATOR_NEW_DELETE()
void setName(const TString &n)
TIntermTyped * getLeft() const
bool promote(TInfoSink &)
TIntermAggregate & operator=(const TIntermAggregate &)
virtual TIntermAggregate * getAsAggregate()
virtual TIntermSymbol * getAsSymbolNode()
TIntermBranch(TOperator op, TIntermTyped *e)
khronos_uint64_t(* ShHashFunction64)(const char *, size_t)
void setType(const TType &t)
TString getCompleteString() const
TIntermNode * getFalseBlock() const
TIntermTyped * getRight() const
int totalRegisterCount() const
return Display return Display Bool Bool int int e
TBasicType getBasicType() const
TPrecision getPrecision() const
virtual TIntermConstantUnion * getAsConstantUnion()
TIntermBinary(TOperator o)
bool isConstructor() const
TIntermTraverser(bool preVisit=true, bool inVisit=false, bool postVisit=false, bool rightToLeft=false)
EGLImageKHR EGLint * name
virtual TIntermBinary * getAsBinaryNode()
TQualifier getQualifier() const
return Display return Display Bool Bool int d
bool getBConst(int index) const
virtual ~TIntermTraverser()
bool promote(TInfoSink &)
virtual bool visitBranch(Visit visit, TIntermBranch *)
void setUseEmulatedFunction()
bool getUseEmulatedFunction()
void setLine(const TSourceLoc &l)
virtual TIntermConstantUnion * getAsConstantUnion()
virtual bool visitUnary(Visit visit, TIntermUnary *)
virtual void visitSymbol(TIntermSymbol *)
virtual bool visitBinary(Visit visit, TIntermBinary *)
bool getUseEmulatedFunction()
virtual void traverse(TIntermTraverser *)=0
TIntermNode * getCondition() const
const TSourceLoc & getLine() const
const TType & getType() const
static TString hash(const TString &name, ShHashFunction64 hashFunction)
virtual TIntermUnary * getAsUnaryNode()
ConstantUnion * getUnionArrayPointer() const
void setRight(TIntermTyped *n)
TIntermTyped * getExpression()
const TString & getName() const
GLint GLenum GLsizei GLsizei GLsizei depth
TIntermOperator(TOperator o)
void setSymbol(const TString &sym)
TIntermUnary(TOperator o)
TIntermTyped * getOperand()
virtual TIntermLoop * getAsLoopNode()
virtual TIntermTyped * getAsTyped()
virtual void traverse(TIntermTraverser *)
virtual TIntermLoop * getAsLoopNode()
int getIConst(int index) const
std::basic_string< char, std::char_traits< char >, TStringAllocator > TString
void setLeft(TIntermTyped *n)
virtual bool visitLoop(Visit visit, TIntermLoop *)
bool usesTernaryOperator() const
virtual void traverse(TIntermTraverser *)
virtual bool visitSelection(Visit visit, TIntermSelection *)
virtual TIntermUnary * getAsUnaryNode()
virtual void visitConstantUnion(TIntermConstantUnion *)
TIntermTyped * fold(TOperator, TIntermTyped *, TInfoSink &)
TIntermTyped * getExpression()
TIntermLoop(TLoopType aType, TIntermNode *aInit, TIntermTyped *aCond, TIntermTyped *aExpr, TIntermNode *aBody)
virtual void traverse(TIntermTraverser *)
TIntermSymbol(int i, const TString &sym, const TType &t)
virtual void traverse(TIntermTraverser *)
void setUseEmulatedFunction()
virtual TIntermTyped * getAsTyped()
POOL_ALLOCATOR_NEW_DELETE()
virtual void traverse(TIntermTraverser *)
TIntermOperator(TOperator o, TType &t)
TIntermUnary(TOperator o, TType &t)
const TString & getSymbol() const
void setUnrollFlag(bool flag)
const char * getBasicString() const
virtual void traverse(TIntermTraverser *)
TIntermSelection(TIntermTyped *cond, TIntermNode *trueB, TIntermNode *falseB)
float getFConst(int index) const
TIntermSelection(TIntermTyped *cond, TIntermNode *trueB, TIntermNode *falseB, const TType &type)
bool modifiesState() const
int getNominalSize() const
virtual void traverse(TIntermTraverser *)
virtual TIntermSymbol * getAsSymbolNode()
virtual TIntermSelection * getAsSelectionNode()
virtual TIntermAggregate * getAsAggregate()
TIntermTyped(const TType &t)
TLoopType getType() const
const char * getQualifierString() const
void setOperand(TIntermTyped *o)