RetroArch
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
glslang::TIntermConstantUnion Class Reference

#include <intermediate.h>

Inheritance diagram for glslang::TIntermConstantUnion:
[legend]
Collaboration diagram for glslang::TIntermConstantUnion:
[legend]

Public Member Functions

 TIntermConstantUnion (const TConstUnionArray &ua, const TType &t)
 
const TConstUnionArray & getConstArray () const
 
virtual TIntermConstantUnion * getAsConstantUnion ()
 
virtual const TIntermConstantUnion * getAsConstantUnion () const
 
virtual void traverse (TIntermTraverser *)
 
virtual TIntermTyped * fold (TOperator, const TIntermTyped *) const
 
virtual TIntermTyped * fold (TOperator, const TType &) const
 
void setLiteral ()
 
void setExpression ()
 
bool isLiteral () const
 
- Public Member Functions inherited from glslang::TIntermTyped
 TIntermTyped (const TType &t)
 
 TIntermTyped (TBasicType basicType)
 
virtual TIntermTyped * getAsTyped ()
 
virtual const TIntermTyped * getAsTyped () const
 
virtual void setType (const TType &t)
 
virtual const TType & getType () const
 
virtual TType & getWritableType ()
 
virtual TBasicType getBasicType () const
 
virtual TQualifier & getQualifier ()
 
virtual const TQualifier & getQualifier () const
 
virtual void propagatePrecision (TPrecisionQualifier)
 
virtual int getVectorSize () const
 
virtual int getMatrixCols () const
 
virtual int getMatrixRows () const
 
virtual bool isMatrix () const
 
virtual bool isArray () const
 
virtual bool isVector () const
 
virtual bool isScalar () const
 
virtual bool isStruct () const
 
virtual bool isFloatingDomain () const
 
virtual bool isIntegerDomain () const
 
TString getCompleteString () const
 
- Public Member Functions inherited from TIntermNode
 TIntermNode ()
 
virtual const glslang::TSourceLoc & getLoc () const
 
virtual void setLoc (const glslang::TSourceLoc &l)
 
virtual glslang::TIntermOperator * getAsOperator ()
 
virtual glslang::TIntermAggregate * getAsAggregate ()
 
virtual glslang::TIntermUnary * getAsUnaryNode ()
 
virtual glslang::TIntermBinary * getAsBinaryNode ()
 
virtual glslang::TIntermSelection * getAsSelectionNode ()
 
virtual glslang::TIntermSwitch * getAsSwitchNode ()
 
virtual glslang::TIntermMethod * getAsMethodNode ()
 
virtual glslang::TIntermSymbol * getAsSymbolNode ()
 
virtual glslang::TIntermBranch * getAsBranchNode ()
 
virtual glslang::TIntermLoop * getAsLoopNode ()
 
virtual const glslang::TIntermOperator * getAsOperator () const
 
virtual const glslang::TIntermAggregate * getAsAggregate () const
 
virtual const glslang::TIntermUnary * getAsUnaryNode () const
 
virtual const glslang::TIntermBinary * getAsBinaryNode () const
 
virtual const glslang::TIntermSelection * getAsSelectionNode () const
 
virtual const glslang::TIntermSwitch * getAsSwitchNode () const
 
virtual const glslang::TIntermMethod * getAsMethodNode () const
 
virtual const glslang::TIntermSymbol * getAsSymbolNode () const
 
virtual const glslang::TIntermBranch * getAsBranchNode () const
 
virtual const glslang::TIntermLoop * getAsLoopNode () const
 
virtual ~TIntermNode ()
 

Protected Member Functions

TIntermConstantUnion & operator= (const TIntermConstantUnion &)
 
- Protected Member Functions inherited from glslang::TIntermTyped
TIntermTyped & operator= (const TIntermTyped &)
 
- Protected Member Functions inherited from TIntermNode
 TIntermNode (const TIntermNode &)
 
TIntermNode & operator= (const TIntermNode &)
 

Protected Attributes

const TConstUnionArray constArray
 
bool literal
 
- Protected Attributes inherited from glslang::TIntermTyped
TType type
 
- Protected Attributes inherited from TIntermNode
glslang::TSourceLoc loc
 

Constructor & Destructor Documentation

◆ TIntermConstantUnion()

glslang::TIntermConstantUnion::TIntermConstantUnion ( const TConstUnionArray &  ua,
const TType &  t 
)
inline
Here is the caller graph for this function:

Member Function Documentation

◆ fold() [1/2]

TIntermTyped * glslang::TIntermConstantUnion::fold ( TOperator  op,
const TIntermTyped *  rightConstantNode 
) const
virtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fold() [2/2]

TIntermTyped * glslang::TIntermConstantUnion::fold ( TOperator  op,
const TType &  returnType 
) const
virtual
Here is the call graph for this function:

◆ getAsConstantUnion() [1/2]

virtual TIntermConstantUnion* glslang::TIntermConstantUnion::getAsConstantUnion ( )
inlinevirtual

Reimplemented from TIntermNode.

Here is the caller graph for this function:

◆ getAsConstantUnion() [2/2]

virtual const TIntermConstantUnion* glslang::TIntermConstantUnion::getAsConstantUnion ( ) const
inlinevirtual

Reimplemented from TIntermNode.

◆ getConstArray()

const TConstUnionArray& glslang::TIntermConstantUnion::getConstArray ( ) const
inline
Here is the caller graph for this function:

◆ isLiteral()

bool glslang::TIntermConstantUnion::isLiteral ( ) const
inline
Here is the caller graph for this function:

◆ operator=()

TIntermConstantUnion& glslang::TIntermConstantUnion::operator= ( const TIntermConstantUnion &  )
protected

◆ setExpression()

void glslang::TIntermConstantUnion::setExpression ( )
inline

◆ setLiteral()

void glslang::TIntermConstantUnion::setLiteral ( )
inline
Here is the caller graph for this function:

◆ traverse()

void glslang::TIntermConstantUnion::traverse ( TIntermTraverser *  it)
virtual

Implements TIntermNode.

Here is the call graph for this function:

Member Data Documentation

◆ constArray

const TConstUnionArray glslang::TIntermConstantUnion::constArray
protected

◆ literal

bool glslang::TIntermConstantUnion::literal
protected

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