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

#include <IntermNode.h>

Inheritance diagram for TIntermSwizzle:
TIntermTyped TIntermNode angle::NonCopyable

Public Member Functions

 TIntermSwizzle (TIntermTyped *operand, const TVector< int > &swizzleOffsets)
 
TIntermTypeddeepCopy () const override
 
TIntermSwizzlegetAsSwizzleNode () override
 
void traverse (TIntermTraverser *it) override
 
bool replaceChildNode (TIntermNode *original, TIntermNode *replacement) override
 
bool hasSideEffects () const override
 
TIntermTypedgetOperand ()
 
void writeOffsetsAsXYZW (TInfoSinkBase *out) const
 
bool hasDuplicateOffsets () const
 
TIntermTypedfold ()
 
- Public Member Functions inherited from TIntermTyped
 TIntermTyped (const TType &t)
 
TIntermTypedgetAsTyped () override
 
void setType (const TType &t)
 
void setTypePreservePrecision (const TType &t)
 
const TTypegetType () const
 
TTypegetTypePointer ()
 
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 TSourceLocgetLine () const
 
void setLine (const TSourceLoc &l)
 
virtual TIntermConstantUniongetAsConstantUnion ()
 
virtual TIntermFunctionDefinitiongetAsFunctionDefinition ()
 
virtual TIntermAggregategetAsAggregate ()
 
virtual TIntermBlockgetAsBlock ()
 
virtual TIntermBinarygetAsBinaryNode ()
 
virtual TIntermUnarygetAsUnaryNode ()
 
virtual TIntermTernarygetAsTernaryNode ()
 
virtual TIntermIfElsegetAsIfElseNode ()
 
virtual TIntermSwitchgetAsSwitchNode ()
 
virtual TIntermCasegetAsCaseNode ()
 
virtual TIntermSymbolgetAsSymbolNode ()
 
virtual TIntermLoopgetAsLoopNode ()
 
virtual TIntermRawgetAsRawNode ()
 
virtual TIntermBranchgetAsBranchNode ()
 

Protected Attributes

TIntermTypedmOperand
 
TVector< int > mSwizzleOffsets
 
- 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 TIntermTypedCreateIndexNode (int index)
 
static TIntermTypedCreateZero (const TType &type)
 
- Protected Member Functions inherited from TIntermTyped
 TIntermTyped (const TIntermTyped &node)
 

Constructor & Destructor Documentation

◆ TIntermSwizzle()

TIntermSwizzle::TIntermSwizzle ( TIntermTyped operand,
const TVector< int > &  swizzleOffsets 
)

Member Function Documentation

◆ deepCopy()

TIntermTyped* TIntermSwizzle::deepCopy ( ) const
inlineoverridevirtual

Implements TIntermTyped.

◆ fold()

TIntermTyped * TIntermSwizzle::fold ( )

◆ getAsSwizzleNode()

TIntermSwizzle* TIntermSwizzle::getAsSwizzleNode ( )
inlineoverridevirtual

Reimplemented from TIntermNode.

◆ getOperand()

TIntermTyped* TIntermSwizzle::getOperand ( )
inline

◆ hasDuplicateOffsets()

bool TIntermSwizzle::hasDuplicateOffsets ( ) const

◆ hasSideEffects()

bool TIntermSwizzle::hasSideEffects ( ) const
inlineoverridevirtual

Implements TIntermTyped.

◆ replaceChildNode()

bool TIntermSwizzle::replaceChildNode ( TIntermNode original,
TIntermNode replacement 
)
overridevirtual

Implements TIntermNode.

◆ traverse()

void TIntermSwizzle::traverse ( TIntermTraverser it)
overridevirtual

Implements TIntermNode.

◆ writeOffsetsAsXYZW()

void TIntermSwizzle::writeOffsetsAsXYZW ( TInfoSinkBase out) const

Member Data Documentation

◆ mOperand

TIntermTyped* TIntermSwizzle::mOperand
protected

◆ mSwizzleOffsets

TVector<int> TIntermSwizzle::mSwizzleOffsets
protected

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