zenilib
0.5.3.0
|
#include <intermediate.h>
Inherits TIntermTyped.
Protected Attributes | |
ConstantUnion * | unionArrayPointer |
![]() | |
TType | type |
![]() | |
TSourceLoc | line |
Definition at line 365 of file intermediate.h.
|
inline |
Definition at line 367 of file intermediate.h.
Referenced by fold().
TIntermTyped * TIntermConstantUnion::fold | ( | TOperator | op, |
TIntermTyped * | constantNode, | ||
TInfoSink & | infoSink | ||
) |
Definition at line 1069 of file Intermediate.cpp.
References assert, CompareStructure(), EbpUndefined, EbtBool, EbtFloat, EbtInt, EbtStruct, EOpAdd, EOpDiv, EOpEqual, EOpGreaterThan, EOpGreaterThanEqual, EOpLessThan, EOpLessThanEqual, EOpLogicalAnd, EOpLogicalNot, EOpLogicalOr, EOpLogicalXor, EOpMatrixTimesMatrix, EOpMatrixTimesScalar, EOpMatrixTimesVector, EOpMul, EOpNegative, EOpNotEqual, EOpSub, EOpVectorTimesMatrix, EOpVectorTimesScalar, EPrefixInternalError, EPrefixWarning, EvqConst, TIntermNode::getAsConstantUnion(), TIntermTyped::getBasicType(), ConstantUnion::getBConst(), getBConst(), getFConst(), getIConst(), TIntermNode::getLine(), TIntermTyped::getNominalSize(), TType::getObjectSize(), TIntermTyped::getType(), getUnionArrayPointer(), i, TInfoSink::info, j, TInfoSinkBase::message(), ConstantUnion::setBConst(), ConstantUnion::setFConst(), ConstantUnion::setIConst(), TIntermNode::setLine(), and TIntermConstantUnion().
Referenced by TIntermediate::addBinaryMath(), and TIntermediate::addUnaryMath().
|
inlinevirtual |
Reimplemented from TIntermNode.
Definition at line 375 of file intermediate.h.
Referenced by ForLoopUnroll::FillLoopIndexInfo(), TOutputGLSLBase::visitBinary(), and sh::OutputHLSL::visitBinary().
|
inline |
Definition at line 373 of file intermediate.h.
References ConstantUnion::getBConst(), and unionArrayPointer.
Referenced by TIntermediate::addSelection(), fold(), and TIntermediate::promoteConstantUnion().
|
inline |
Definition at line 372 of file intermediate.h.
References ConstantUnion::getFConst(), and unionArrayPointer.
Referenced by fold(), and TIntermediate::promoteConstantUnion().
Definition at line 371 of file intermediate.h.
References ConstantUnion::getIConst(), and unionArrayPointer.
Referenced by TParseContext::addIndexExpression(), TParseContext::arraySizeErrorCheck(), fold(), sh::OutputHLSL::handleExcessiveLoop(), TParseContext::lValueErrorCheck(), TIntermediate::promoteConstantUnion(), TOutputGLSLBase::visitBinary(), and sh::OutputHLSL::visitBinary().
|
inline |
Definition at line 369 of file intermediate.h.
References unionArrayPointer.
Referenced by TParseContext::addConstArrayNode(), TParseContext::addConstMatrixNode(), TParseContext::addConstStruct(), TParseContext::addConstVectorNode(), TParseContext::addIndexExpression(), TParseContext::executeInitializer(), fold(), TOutputGLSLBase::visitBinary(), TOutputGLSLBase::visitConstantUnion(), and sh::OutputHLSL::visitConstantUnion().
|
virtual |
Implements TIntermNode.
Definition at line 31 of file IntermTraverse.cpp.
References TIntermTraverser::visitConstantUnion().
|
protected |
Definition at line 381 of file intermediate.h.
Referenced by getBConst(), getFConst(), getIConst(), and getUnionArrayPointer().