webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Attributes | List of all members
TIntermAggregate Class Reference

#include <IntermNode.h>

Inheritance diagram for TIntermAggregate:
TIntermOperator TIntermAggregateBase TIntermTyped TIntermNode angle::NonCopyable

Public Member Functions

 TIntermAggregate ()
 
 TIntermAggregate (TOperator op)
 
 ~TIntermAggregate ()
 
TIntermTyped * deepCopy () const override
 
void setOp (TOperator op)
 
TIntermAggregate * getAsAggregate () override
 
void traverse (TIntermTraverser *it) override
 
bool replaceChildNode (TIntermNode *original, TIntermNode *replacement) override
 
bool hasSideEffects () const override
 
TIntermTyped * fold (TDiagnostics *diagnostics)
 
TIntermSequence * getSequence () override
 
const TIntermSequence * getSequence () const override
 
void setUserDefined ()
 
bool isUserDefined () const
 
void setUseEmulatedFunction ()
 
bool getUseEmulatedFunction ()
 
bool areChildrenConstQualified ()
 
void setPrecisionFromChildren ()
 
void setBuiltInFunctionPrecision ()
 
bool gotPrecisionFromChildren () const
 
TFunctionSymbolInfo * getFunctionSymbolInfo ()
 
const TFunctionSymbolInfo * getFunctionSymbolInfo () const
 
- Public Member Functions inherited from TIntermOperator
TOperator getOp () const
 
bool isAssignment () const
 
bool isMultiplication () const
 
bool isConstructor () const
 
- Public Member Functions inherited from TIntermTyped
 TIntermTyped (const TType &t)
 
TIntermTyped * getAsTyped () override
 
void setType (const TType &t)
 
void setTypePreservePrecision (const TType &t)
 
const TType & getType () const
 
TType * getTypePointer ()
 
TBasicType getBasicType () const
 
TQualifier getQualifier () const
 
TPrecision getPrecision () const
 
int getCols () const
 
int getRows () const
 
int getNominalSize () const
 
int getSecondarySize () const
 
bool isInterfaceBlock () const
 
bool isMatrix () const
 
bool isArray () const
 
bool isVector () const
 
bool isScalar () const
 
bool isScalarInt () const
 
const char * getBasicString () const
 
TString getCompleteString () const
 
unsigned int getArraySize () const
 
bool isConstructorWithOnlyConstantUnionParameters ()
 
- Public Member Functions inherited from TIntermNode
 POOL_ALLOCATOR_NEW_DELETE ()
 
 TIntermNode ()
 
virtual ~TIntermNode ()
 
const TSourceLoc & getLine () const
 
void setLine (const TSourceLoc &l)
 
virtual TIntermConstantUnion * getAsConstantUnion ()
 
virtual TIntermFunctionDefinition * getAsFunctionDefinition ()
 
virtual TIntermBlock * getAsBlock ()
 
virtual TIntermSwizzle * getAsSwizzleNode ()
 
virtual TIntermBinary * getAsBinaryNode ()
 
virtual TIntermUnary * getAsUnaryNode ()
 
virtual TIntermTernary * getAsTernaryNode ()
 
virtual TIntermIfElse * getAsIfElseNode ()
 
virtual TIntermSwitch * getAsSwitchNode ()
 
virtual TIntermCase * getAsCaseNode ()
 
virtual TIntermSymbol * getAsSymbolNode ()
 
virtual TIntermLoop * getAsLoopNode ()
 
virtual TIntermRaw * getAsRawNode ()
 
virtual TIntermBranch * getAsBranchNode ()
 
- Public Member Functions inherited from TIntermAggregateBase
virtual ~TIntermAggregateBase ()
 
bool replaceChildNodeWithMultiple (TIntermNode *original, const TIntermSequence &replacements)
 
bool insertChildNodes (TIntermSequence::size_type position, const TIntermSequence &insertions)
 

Protected Attributes

TIntermSequence mSequence
 
bool mUserDefined
 
bool mUseEmulatedFunction
 
bool mGotPrecisionFromChildren
 
TFunctionSymbolInfo mFunctionInfo
 
- Protected Attributes inherited from TIntermOperator
TOperator mOp
 
- Protected Attributes inherited from TIntermTyped
TType mType
 
- Protected Attributes inherited from TIntermNode
TSourceLoc mLine
 

Additional Inherited Members

- Static Public Member Functions inherited from TIntermTyped
static TIntermTyped * CreateIndexNode (int index)
 
static TIntermTyped * CreateZero (const TType &type)
 
- Protected Member Functions inherited from TIntermOperator
 TIntermOperator (TOperator op)
 
 TIntermOperator (TOperator op, const TType &type)
 
 TIntermOperator (const TIntermOperator &)=default
 
- Protected Member Functions inherited from TIntermTyped
 TIntermTyped (const TIntermTyped &node)
 
- Protected Member Functions inherited from TIntermAggregateBase
 TIntermAggregateBase ()
 
bool replaceChildNodeInternal (TIntermNode *original, TIntermNode *replacement)
 

Constructor & Destructor Documentation

◆ TIntermAggregate() [1/2]

TIntermAggregate::TIntermAggregate ( )
inline

◆ TIntermAggregate() [2/2]

TIntermAggregate::TIntermAggregate ( TOperator  op)
inline

◆ ~TIntermAggregate()

TIntermAggregate::~TIntermAggregate ( )
inline

Member Function Documentation

◆ areChildrenConstQualified()

bool TIntermAggregate::areChildrenConstQualified ( )

◆ deepCopy()

TIntermTyped* TIntermAggregate::deepCopy ( ) const
inlineoverridevirtual

Implements TIntermTyped.

◆ fold()

TIntermTyped * TIntermAggregate::fold ( TDiagnostics *  diagnostics)

◆ getAsAggregate()

TIntermAggregate* TIntermAggregate::getAsAggregate ( )
inlineoverridevirtual

Reimplemented from TIntermNode.

◆ getFunctionSymbolInfo() [1/2]

TFunctionSymbolInfo* TIntermAggregate::getFunctionSymbolInfo ( )
inline

◆ getFunctionSymbolInfo() [2/2]

const TFunctionSymbolInfo* TIntermAggregate::getFunctionSymbolInfo ( ) const
inline

◆ getSequence() [1/2]

TIntermSequence* TIntermAggregate::getSequence ( )
inlineoverridevirtual

Implements TIntermAggregateBase.

◆ getSequence() [2/2]

const TIntermSequence* TIntermAggregate::getSequence ( ) const
inlineoverridevirtual

Implements TIntermAggregateBase.

◆ getUseEmulatedFunction()

bool TIntermAggregate::getUseEmulatedFunction ( )
inline

◆ gotPrecisionFromChildren()

bool TIntermAggregate::gotPrecisionFromChildren ( ) const
inline

◆ hasSideEffects()

bool TIntermAggregate::hasSideEffects ( ) const
inlineoverridevirtual

Reimplemented from TIntermOperator.

◆ isUserDefined()

bool TIntermAggregate::isUserDefined ( ) const
inline

◆ replaceChildNode()

bool TIntermAggregate::replaceChildNode ( TIntermNode *  original,
TIntermNode *  replacement 
)
overridevirtual

Implements TIntermNode.

◆ setBuiltInFunctionPrecision()

void TIntermAggregate::setBuiltInFunctionPrecision ( )

◆ setOp()

void TIntermAggregate::setOp ( TOperator  op)
inline

◆ setPrecisionFromChildren()

void TIntermAggregate::setPrecisionFromChildren ( )

◆ setUseEmulatedFunction()

void TIntermAggregate::setUseEmulatedFunction ( )
inline

◆ setUserDefined()

void TIntermAggregate::setUserDefined ( )
inline

◆ traverse()

void TIntermAggregate::traverse ( TIntermTraverser *  it)
overridevirtual

Implements TIntermNode.

Member Data Documentation

◆ mFunctionInfo

TFunctionSymbolInfo TIntermAggregate::mFunctionInfo
protected

◆ mGotPrecisionFromChildren

bool TIntermAggregate::mGotPrecisionFromChildren
protected

◆ mSequence

TIntermSequence TIntermAggregate::mSequence
protected

◆ mUseEmulatedFunction

bool TIntermAggregate::mUseEmulatedFunction
protected

◆ mUserDefined

bool TIntermAggregate::mUserDefined
protected

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