Home
last modified time | relevance | path

Searched refs:getAsSymbolNode (Results 1 – 25 of 85) sorted by relevance

1234

/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
Dlimits.cpp86 if (node->modifiesState() && node->getLeft()->getAsSymbolNode() && in visitBinary()
87 node->getLeft()->getAsSymbolNode()->getId() == loopId) { in visitBinary()
98 if (node->modifiesState() && node->getOperand()->getAsSymbolNode() && in visitUnary()
99 node->getOperand()->getAsSymbolNode()->getId() == loopId) { in visitUnary()
114 if (args[i]->getAsSymbolNode() && args[i]->getAsSymbolNode()->getId() == loopId) { in visitAggregate()
DParseContextBase.cpp131 TIntermSymbol* symNode = node->getAsSymbolNode(); in lValueErrorCheck()
218 if(IsAnonymous(leftMostTypeNode->getAsSymbolNode()->getName())) in lValueErrorCheck()
219 …error(loc, " l-value required", op, "\"%s\" (%s)", leftMostTypeNode->getAsSymbolNode()->getAccessN… in lValueErrorCheck()
221 …error(loc, " l-value required", op, "\"%s\" (%s)", leftMostTypeNode->getAsSymbolNode()->getName().… in lValueErrorCheck()
232 const TIntermSymbol* symNode = node->getAsSymbolNode(); in rValueErrorCheck()
245 if(IsAnonymous(leftMostTypeNode->getAsSymbolNode()->getName())) in rValueErrorCheck()
246 …ror(loc, "can't read from writeonly object: ", op, leftMostTypeNode->getAsSymbolNode()->getAccessN… in rValueErrorCheck()
248 …ror(loc, "can't read from writeonly object: ", op, leftMostTypeNode->getAsSymbolNode()->getName().… in rValueErrorCheck()
287 type.getArraySizes()->getOuterNode()->getAsSymbolNode() == nullptr; }; in checkIndex()
DlinkValidate.cpp106 … [](TIntermNode* node) {return node->getAsSymbolNode()->getQualifier().storage != EvqUniform && in mergeUniformObjects()
107 … node->getAsSymbolNode()->getQualifier().storage != EvqBuffer; }); in mergeUniformObjects()
129 …[](TIntermNode* node) {return node->getAsSymbolNode()->getQualifier().storage != EvqVaryingOut; }); in checkStageIO()
134 … [](TIntermNode* node) {return node->getAsSymbolNode()->getQualifier().storage != EvqVaryingIn; }); in checkStageIO()
540 if (node->getAsSymbolNode()->getQualifier().defaultBlock) { in mergeGlobalUniformBlocks()
561 TIntermSymbol* block = (*itBlock)->getAsSymbolNode(); in mergeGlobalUniformBlocks()
562 TIntermSymbol* unitBlock = (*itUnitBlock)->getAsSymbolNode(); in mergeGlobalUniformBlocks()
705 TIntermSymbol* symbol = linkerObjects[linkObj]->getAsSymbolNode(); in mergeLinkerObjects()
706 TIntermSymbol* unitSymbol = unitLinkerObjects[unitLinkObj]->getAsSymbolNode(); in mergeLinkerObjects()
752 if (unitLinkerObjects[unitLinkObj]->getAsSymbolNode()->getBasicType() == EbtBlock && in mergeLinkerObjects()
[all …]
/external/deqp-deps/glslang/glslang/MachineIndependent/
Dlimits.cpp86 if (node->modifiesState() && node->getLeft()->getAsSymbolNode() && in visitBinary()
87 node->getLeft()->getAsSymbolNode()->getId() == loopId) { in visitBinary()
98 if (node->modifiesState() && node->getOperand()->getAsSymbolNode() && in visitUnary()
99 node->getOperand()->getAsSymbolNode()->getId() == loopId) { in visitUnary()
114 if (args[i]->getAsSymbolNode() && args[i]->getAsSymbolNode()->getId() == loopId) { in visitAggregate()
DParseContextBase.cpp131 TIntermSymbol* symNode = node->getAsSymbolNode(); in lValueErrorCheck()
218 if(IsAnonymous(leftMostTypeNode->getAsSymbolNode()->getName())) in lValueErrorCheck()
219 …error(loc, " l-value required", op, "\"%s\" (%s)", leftMostTypeNode->getAsSymbolNode()->getAccessN… in lValueErrorCheck()
221 …error(loc, " l-value required", op, "\"%s\" (%s)", leftMostTypeNode->getAsSymbolNode()->getName().… in lValueErrorCheck()
232 const TIntermSymbol* symNode = node->getAsSymbolNode(); in rValueErrorCheck()
245 if(IsAnonymous(leftMostTypeNode->getAsSymbolNode()->getName())) in rValueErrorCheck()
246 …ror(loc, "can't read from writeonly object: ", op, leftMostTypeNode->getAsSymbolNode()->getAccessN… in rValueErrorCheck()
248 …ror(loc, "can't read from writeonly object: ", op, leftMostTypeNode->getAsSymbolNode()->getName().… in rValueErrorCheck()
287 type.getArraySizes()->getOuterNode()->getAsSymbolNode() == nullptr; }; in checkIndex()
/external/swiftshader/src/OpenGL/compiler/
DValidateLimitations.cpp258 TIntermSymbol* symbol = declInit->getLeft()->getAsSymbolNode(); in validateForLoopInit()
300 TIntermSymbol* symbol = binOp->getLeft()->getAsSymbolNode(); in validateForLoopCond()
361 symbol = unOp->getOperand()->getAsSymbolNode(); in validateForLoopExpr()
364 symbol = binOp->getLeft()->getAsSymbolNode(); in validateForLoopExpr()
421 TIntermSymbol* symbol = params[i]->getAsSymbolNode(); in validateFunctionCall()
442 params[*i]->getAsSymbolNode()->getSymbol().c_str()); in validateFunctionCall()
456 const TIntermSymbol* symbol = operand->getAsSymbolNode(); in validateOperation()
/external/angle/src/compiler/translator/tree_ops/
DRemoveUnreferencedVariables.cpp201 if (declarator->getAsSymbolNode() && in removeVariableDeclaration()
202 declarator->getAsSymbolNode()->variable().symbolType() == SymbolType::Empty) in removeVariableDeclaration()
247 TIntermSymbol *symbolNode = declarator->getAsSymbolNode(); in visitDeclaration()
256 ASSERT(initNode->getLeft()->getAsSymbolNode()); in visitDeclaration()
257 int symbolId = initNode->getLeft()->getAsSymbolNode()->uniqueId().get(); in visitDeclaration()
DDeferGlobalInitializers.cpp52 TIntermSymbol *symbolNode = init->getLeft()->getAsSymbolNode(); in GetDeferredInitializers()
84 TIntermSymbol *symbolNode = declarator->getAsSymbolNode(); in GetDeferredInitializers()
DSimplifyLoopConditions.cpp206 if (mLoop.condition->getAsSymbolNode()) in traverseLoop()
260 if (mLoop.condition->getAsSymbolNode()) in traverseLoop()
335 if (mLoop.condition->getAsSymbolNode()) in traverseLoop()
DRewriteAtomicCounters.cpp110 TIntermSymbol *atomicCounterSymbol = atomicCounterExpression->getAsSymbolNode(); in CreateAtomicCounterRef()
116 atomicCounterSymbol = asBinary->getLeft()->getAsSymbolNode(); in CreateAtomicCounterRef()
/external/angle/src/compiler/translator/
DValidateLimitations.cpp26 TIntermSymbol *symbol = declInit->getLeft()->getAsSymbolNode(); in GetLoopSymbolId()
239 TIntermSymbol *symbol = declInit->getLeft()->getAsSymbolNode(); in validateForLoopInit()
282 TIntermSymbol *symbol = binOp->getLeft()->getAsSymbolNode(); in validateForLoopCond()
347 symbol = unOp->getOperand()->getAsSymbolNode(); in validateForLoopExpr()
352 symbol = binOp->getLeft()->getAsSymbolNode(); in validateForLoopExpr()
DValidateClipCullDistance.cpp67 const TIntermSymbol *symbol = sequence.front()->getAsSymbolNode(); in visitDeclaration()
95 TIntermSymbol *left = node->getLeft()->getAsSymbolNode(); in visitBinary()
DValidateTypeSizeLimitations.cpp48 TIntermSymbol *asSymbol = variableNode->getAsSymbolNode(); in visitDeclaration()
54 asSymbol = asBinary->getLeft()->getAsSymbolNode(); in visitDeclaration()
DFlagStd140Structs.cpp59 mapBlockStructMembers(declarator->getAsSymbolNode(), block); in visitDeclaration()
DShaderStorageBlockOutputHLSL.cpp430 const TIntermSymbol *symbolNode = node->getAsSymbolNode(); in collectShaderStorageBlocks()
480 const TIntermSymbol *symbolNode = node->getAsSymbolNode(); in traverseSSBOAccess()
516 if (TIntermSymbol *symbolNode = node->getAsSymbolNode()) in traverseNode()
547 TIntermSymbol *instanceArraySymbol = binaryNode->getLeft()->getAsSymbolNode(); in traverseNode()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DRewriteGlobalQualifierDecls.cpp29 symbolNode = initNode->getLeft()->getAsSymbolNode(); in visitDeclarationPre()
33 symbolNode = declaratorNode->getAsSymbolNode(); in visitDeclarationPre()
/external/angle/src/compiler/translator/tree_util/
DReplaceShadowingVariables.cpp83 TIntermSymbol *symNode = declVector->getAsSymbolNode(); in visitDeclaration()
89 symNode = binaryNode->getLeft()->getAsSymbolNode(); in visitDeclaration()
DReplaceVariable.cpp77 TIntermSymbol *asSymbol = decl->getAsSymbolNode(); in visitDeclaration()
83 asSymbol = asBinary->getLeft()->getAsSymbolNode(); in visitDeclaration()
DRewriteSampleMaskVariable.cpp54 TIntermSymbol *symbol = variable->getAsSymbolNode(); in visitDeclaration()
72 TIntermSymbol *left = node->getLeft()->getAsSymbolNode(); in visitBinary()
DReplaceClipCullDistanceVariable.cpp82 if (!variable->getAsSymbolNode() || variable->getAsSymbolNode()->getName() != mTargetStr) in visitDeclaration()
87 *mRedeclaredSym = variable->getAsSymbolNode(); in visitDeclaration()
109 TIntermSymbol *clipCullDistance = left->getAsSymbolNode(); in visitBinary()
/external/angle/src/tests/compiler_tests/
DInitOutputVariables_test.cpp61 return AreSymbolsTheSame(expectedBinary->getLeft()->getAsSymbolNode(), in AreLValuesTheSame()
62 candidateBinary->getLeft()->getAsSymbolNode()); in AreLValuesTheSame()
64 return AreSymbolsTheSame(expected->getAsSymbolNode(), candidate->getAsSymbolNode()); in AreLValuesTheSame()
/external/angle/src/compiler/translator/tree_ops/vulkan/
DRewriteR32fImages.cpp139 TIntermSymbol *imageUniform = imageExpression->getAsSymbolNode(); in RewriteBuiltinFunctionCall()
144 imageUniform = asBinary->getLeft()->getAsSymbolNode(); in RewriteBuiltinFunctionCall()
279 TIntermSymbol *oldSymbol = declVariable->getAsSymbolNode(); in visitDeclaration()
DRewriteArrayOfArrayOfOpaqueUniforms.cpp141 opaqueUniform = iter->getLeft()->getAsSymbolNode(); in RewriteArrayOfArraySubscriptExpression()
272 TIntermSymbol *symbol = variable->getAsSymbolNode(); in visitDeclaration()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/
Dintermediate.h1092 virtual glslang::TIntermSymbol* getAsSymbolNode() { return 0; } in getAsSymbolNode() function
1105 virtual const glslang::TIntermSymbol* getAsSymbolNode() const { return 0; } in getAsSymbolNode() function
1295 virtual TIntermSymbol* getAsSymbolNode() { return this; } in getAsSymbolNode() function
1296 virtual const TIntermSymbol* getAsSymbolNode() const { return this; } in getAsSymbolNode() function
1837 return node1->getAsSymbolNode() && node2->getAsSymbolNode() && in SameSpecializationConstants()
1838 node1->getAsSymbolNode()->getId() == node2->getAsSymbolNode()->getId(); in SameSpecializationConstants()
/external/deqp-deps/glslang/glslang/Include/
Dintermediate.h1088 virtual glslang::TIntermSymbol* getAsSymbolNode() { return 0; } in getAsSymbolNode() function
1101 virtual const glslang::TIntermSymbol* getAsSymbolNode() const { return 0; } in getAsSymbolNode() function
1289 virtual TIntermSymbol* getAsSymbolNode() { return this; } in getAsSymbolNode() function
1290 virtual const TIntermSymbol* getAsSymbolNode() const { return this; } in getAsSymbolNode() function
1814 return node1->getAsSymbolNode() && node2->getAsSymbolNode() && in SameSpecializationConstants()
1815 node1->getAsSymbolNode()->getId() == node2->getAsSymbolNode()->getId(); in SameSpecializationConstants()

1234