Home
last modified time | relevance | path

Searched refs:TConstUnionArray (Results 1 – 12 of 12) sorted by relevance

/third_party/glslang/glslang/MachineIndependent/
DparseConst.cpp46 …TConstTraverser(const TConstUnionArray& cUnion, bool singleConstParam, TOperator constructType, co… in TConstTraverser()
55 TConstUnionArray unionArray;
115 TConstUnionArray leftUnionArray(unionArray); in visitConstantUnion()
124 const TConstUnionArray& rightUnionArray = node->getConstArray(); in visitConstantUnion()
134 const TConstUnionArray& rightUnionArray = node->getConstArray(); in visitConstantUnion()
199 bool TIntermediate::parseConstTree(TIntermNode* root, TConstUnionArray unionArray, TOperator constr… in parseConstTree()
DConstant.cpp84 TConstUnionArray leftUnionArray = getConstArray(); in fold()
85 TConstUnionArray rightUnionArray = rightNode->getConstArray(); in fold()
105 TConstUnionArray smearedArray(newComps, rightNode->getConstArray()[0]); in fold()
111 TConstUnionArray smearedArray(newComps, getConstArray()[0]); in fold()
118 TConstUnionArray newConstArray(newComps); in fold()
421 TConstUnionArray newConstArray(resultSize); in fold()
422 const TConstUnionArray& unionArray = getConstArray(); in fold()
1015 TConstUnionArray newConstArray(objectSize); in fold()
1017 TVector<TConstUnionArray> childConstUnions; in fold()
1313 TConstUnionArray unionArray(aggrNode->getType().computeNumComponents()); in foldConstructor()
[all …]
DIntermediate.cpp68 …addSymbol(long long id, const TString& name, const TType& type, const TConstUnionArray& constArray, in addSymbol()
104 TConstUnionArray unionArray; // just a null constant in addSymbol()
2541 TIntermConstantUnion* TIntermediate::addConstantUnion(const TConstUnionArray& unionArray, const TTy… in addConstantUnion()
2553 TConstUnionArray unionArray(1); in addConstantUnion()
2561 TConstUnionArray unionArray(1); in addConstantUnion()
2569 TConstUnionArray unionArray(1); in addConstantUnion()
2577 TConstUnionArray unionArray(1); in addConstantUnion()
2585 TConstUnionArray unionArray(1); in addConstantUnion()
2593 TConstUnionArray unionArray(1); in addConstantUnion()
2601 TConstUnionArray unionArray(1); in addConstantUnion()
[all …]
DSymbolTable.h171 virtual const TConstUnionArray& getConstArray() const { return constArray; } in getConstArray()
172 virtual TConstUnionArray& getWritableConstArray() { assert(writable); return constArray; } in getWritableConstArray()
173 virtual void setConstArray(const TConstUnionArray& array) { constArray = array; } in setConstArray()
209 TConstUnionArray constArray; // for compile-time constant value
Dlocalintermediate.h542 …TIntermConstantUnion* addConstantUnion(const TConstUnionArray&, const TType&, const TSourceLoc&, b…
555 …bool parseConstTree(TIntermNode*, TConstUnionArray, TOperator, const TType&, bool singleConstantPa…
1099 …TIntermSymbol* addSymbol(long long Id, const TString&, const TType&, const TConstUnionArray&, TInt…
DSymbolTable.cpp370 TConstUnionArray newArray(copyOf.constArray, 0, copyOf.constArray.size()); in TVariable()
DintermOut.cpp1259 static void OutputConstantUnion(TInfoSink& out, const TIntermTyped* node, const TConstUnionArray& c… in OutputConstantUnion()
DParseHelper.cpp5491 const TConstUnionArray& constArray = symbol->getAsVariable()->getConstArray(); in limitCheck()
7593 … const TConstUnionArray& indices = binary->getRight()->getAsConstantUnion()->getConstArray(); in visitBinary()
/third_party/glslang/glslang/Include/
DConstantUnion.h874 class TConstUnionArray {
878 TConstUnionArray() : unionArray(nullptr) { } in POOL_ALLOCATOR_NEW_DELETE()
879 virtual ~TConstUnionArray() { } in ~TConstUnionArray()
881 explicit TConstUnionArray(int size) in TConstUnionArray() function
888 TConstUnionArray(const TConstUnionArray& a) = default;
889 TConstUnionArray(const TConstUnionArray& a, int start, int size) in TConstUnionArray() function
897 TConstUnionArray(int size, const TConstUnion& val) in TConstUnionArray() function
905 bool operator==(const TConstUnionArray& rhs) const
916 bool operator!=(const TConstUnionArray& rhs) const { return ! operator==(rhs); }
918 double dot(const TConstUnionArray& rhs) in dot()
Dintermediate.h1353 void setConstArray(const TConstUnionArray& c) { constArray = c; } in setConstArray()
1354 const TConstUnionArray& getConstArray() const { return constArray; } in getConstArray()
1370TConstUnionArray constArray; // if the symbol is a front-end compile-time constant, this is its va…
1376 …TIntermConstantUnion(const TConstUnionArray& ua, const TType& t) : TIntermTyped(t), constArray(ua)… in TIntermConstantUnion()
1377 const TConstUnionArray& getConstArray() const { return constArray; } in getConstArray()
1390 const TConstUnionArray constArray;
/third_party/glslang/glslang/HLSL/
DhlslParseHelper.cpp3850 TConstUnionArray* values = new TConstUnionArray(numSamples*2); in getSamplePosArray()
4991 TConstUnionArray zeros(constComponentCount, zero); in decomposeIntrinsic()
/third_party/glslang/SPIRV/
DGlslangToSpv.cpp230 … createSpvConstantFromConstUnionArray(const glslang::TType& type, const glslang::TConstUnionArray&,
9789 const glslang::TConstUnionArray& consts, int& nextConst, bool specConstant) in createSpvConstantFromConstUnionArray()