Home
last modified time | relevance | path

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

/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()
DSymbolTable.cpp160 if (arraySizes->getDimNode(i)->getAsSymbolNode()) in buildMangledName()
161 … snprintf(buf, maxSize, "s%d", arraySizes->getDimNode(i)->getAsSymbolNode()->getId()); in buildMangledName()
DParseContextBase.cpp143 TIntermSymbol* symNode = node->getAsSymbolNode(); in lValueErrorCheck()
232 TIntermSymbol* symNode = node->getAsSymbolNode(); in rValueErrorCheck()
DParseHelper.cpp378 if (base->getAsSymbolNode()) in handleBracketDereference()
379 …(loc, " left of '[' is not of type array, matrix, or vector ", base->getAsSymbolNode()->getName().… in handleBracketDereference()
408 if (base->getAsSymbolNode() && isIoResizeArray(base->getType())) in handleBracketDereference()
433 if (base->getAsSymbolNode() && isIoResizeArray(base->getType())) in handleBracketDereference()
571 TIntermSymbol* symbolNode = base->getAsSymbolNode(); in handleIoResizeArrayAccess()
1363 if (intermNode->getAsSymbolNode() && isIoResizeArray(type)) { in handleLengthMethod()
1368 const TString& name = intermNode->getAsSymbolNode()->getName(); in handleLengthMethod()
1380 if (intermNode->getAsSymbolNode() && isIoResizeArray(type)) in handleLengthMethod()
2303 TIntermSymbol* symbol = nodePtr->getAsSymbolNode(); in variableCheck()
2356 … == EvqVaryingOut && ! leftType.getQualifier().patch && binaryNode->getLeft()->getAsSymbolNode()) { in lValueErrorCheck()
[all …]
DlinkValidate.cpp441 TIntermSymbol* symbol = linkerObjects[linkObj]->getAsSymbolNode(); in mergeLinkerObjects()
442 TIntermSymbol* unitSymbol = unitLinkerObjects[unitLinkObj]->getAsSymbolNode(); in mergeLinkerObjects()
977 const TIntermSymbol& symbolNode = *linkerObjects[i]->getAsSymbolNode(); in userOutputUsed()
Dreflection.cpp372 TIntermSymbol *base = node->getLeft()->getAsSymbolNode(); in findBase()
DIntermediate.cpp1235 …const bool isSimple = (node->getAsSymbolNode() != nullptr) || (node->getAsConstantUnion() != nullp… in addShapeConversion()
3868 TIntermSymbol* symbol = seq[i]->getAsSymbolNode(); in visitAggregate()
Dglslang.y464 TIntermSymbol* symbol = $1->getAsSymbolNode();
Dglslang_tab.cpp4434 TIntermSymbol* symbol = (yyvsp[0].interm.intermTypedNode)->getAsSymbolNode(); in yyparse()
/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()
DOutputASM.cpp2636 TIntermSymbol *symbol = node->getAsSymbolNode(); in lvalue()
2693 int indexId = right->getAsSymbolNode() ? right->getAsSymbolNode()->getId() : 0; in lvalue()
2984 if(expression->getAsSymbolNode()) in cost()
3167 TIntermSymbol *symbol = varying->getAsSymbolNode(); in declareVarying()
3274 TIntermSymbol *symbol = uniform->getAsSymbolNode(); in uniformRegister()
3317 TIntermSymbol *symbol = attribute->getAsSymbolNode(); in attributeRegister()
3367 TIntermSymbol *symbol = sampler->getAsSymbolNode(); in samplerRegister()
3467 TIntermSymbol *varSymbol = variable->getAsSymbolNode(); in lookup()
3499 TIntermSymbol *listSymbol = list[i]->getAsSymbolNode(); in lookup()
3776 TIntermSymbol *symbol = assign->getLeft()->getAsSymbolNode(); in LoopInfo()
[all …]
Dintermediate.h283 virtual TIntermSymbol* getAsSymbolNode() { return 0; } in getAsSymbolNode() function
423 virtual TIntermSymbol* getAsSymbolNode() { return this; } in getAsSymbolNode() function
DParseHelper.cpp305 TIntermSymbol* symNode = node->getAsSymbolNode(); in lValueErrorCheck()
1299 } else if (initializer->getAsSymbolNode()) { in executeInitializer()
1300 const TSymbol* symbol = symbolTable.find(initializer->getAsSymbolNode()->getSymbol(), 0); in executeInitializer()
2483 if(baseExpression->getAsSymbolNode()) in addIndexExpression()
2486 baseExpression->getAsSymbolNode()->getSymbol().c_str()); in addIndexExpression()
/external/deqp-deps/glslang/glslang/Include/
Dintermediate.h1032 virtual glslang::TIntermSymbol* getAsSymbolNode() { return 0; } in getAsSymbolNode() function
1045 virtual const glslang::TIntermSymbol* getAsSymbolNode() const { return 0; } in getAsSymbolNode() function
1197 virtual TIntermSymbol* getAsSymbolNode() { return this; } in getAsSymbolNode() function
1198 virtual const TIntermSymbol* getAsSymbolNode() const { return this; } in getAsSymbolNode() function
1719 return node1->getAsSymbolNode() && node2->getAsSymbolNode() && in SameSpecializationConstants()
1720 node1->getAsSymbolNode()->getId() == node2->getAsSymbolNode()->getId(); in SameSpecializationConstants()
/external/deqp-deps/glslang/hlsl/
DhlslParseHelper.cpp281 loadOp->getSequence().push_back(intermediate.addSymbol(*coord->getAsSymbolNode())); in handleLvalue()
430 TIntermSymbol* rhsTmp = rhs->getAsSymbolNode(); in handleLvalue()
817 if (base->getAsSymbolNode()) in handleBracketDereference()
819 base->getAsSymbolNode()->getName().c_str(), ""); in handleBracketDereference()
834 else if (base->getAsSymbolNode() && wasFlattened(base)) { in handleBracketDereference()
836 …error(loc, "Invalid variable index to flattened array", base->getAsSymbolNode()->getName().c_str()… in handleBracketDereference()
1046 if (base->getAsSymbolNode() && wasFlattened(base)) { in handleDotDereference()
1349 return node != nullptr && node->getAsSymbolNode() != nullptr && in wasFlattened()
1350 wasFlattened(node->getAsSymbolNode()->getId()); in wasFlattened()
1356 return node != nullptr && node->getAsSymbolNode() != nullptr && in wasSplit()
[all …]
/external/deqp-deps/glslang/SPIRV/
DGlslangToSpv.cpp2545 return node->getAsSymbolNode() || node->getType().getQualifier().isConstant(); in visitSelection()
3769 … bool implicitThis = (int)parameters.size() > 0 && parameters[0]->getAsSymbolNode()->getName() == in makeFunctions()
3781 rValueParameters.insert(parameters[p]->getAsSymbolNode()->getId()); in makeFunctions()
3799 symbolValues[parameters[p]->getAsSymbolNode()->getId()] = function->getParamId(p); in makeFunctions()
3801 … builder.addName(function->getParamId(p), parameters[p]->getAsSymbolNode()->getName().c_str()); in makeFunctions()
7417 assert(node.getAsConstantUnion() != nullptr || node.getAsSymbolNode() != nullptr);
7419 …sConstantUnion() ? node.getAsConstantUnion()->getConstArray() : node.getAsSymbolNode()->getConstAr…
7442 if (auto* sn = node.getAsSymbolNode()) {
7604 if (node->getAsSymbolNode() == nullptr)