Home
last modified time | relevance | path

Searched refs:getConstArray (Results 1 – 15 of 15) sorted by relevance

/external/deqp-deps/glslang/glslang/MachineIndependent/
DLiveTraverser.h106 if (constant->getConstArray()[0].getBConst() == true && node->getTrueBlock()) in visitSelection()
108 if (constant->getConstArray()[0].getBConst() == false && node->getFalseBlock()) in visitSelection()
DparseConst.cpp124 const TConstUnionArray& rightUnionArray = node->getConstArray(); in visitConstantUnion()
134 const TConstUnionArray& rightUnionArray = node->getConstArray(); in visitConstantUnion()
DParseHelper.cpp349 … node = intermediate.addConstantUnion(variable->getConstArray(), variable->getType(), loc); in handleVariable()
372 indexValue = index->getAsConstantUnion()->getConstArray()[0].getIConst(); in handleBracketDereference()
1546 storageClassSemantics = (*argp)[3]->getAsConstantUnion()->getConstArray()[0].getIConst(); in memorySemanticsCheck()
1547 semantics = (*argp)[4]->getAsConstantUnion()->getConstArray()[0].getIConst(); in memorySemanticsCheck()
1550 storageClassSemantics = (*argp)[2]->getAsConstantUnion()->getConstArray()[0].getIConst(); in memorySemanticsCheck()
1551 semantics = (*argp)[3]->getAsConstantUnion()->getConstArray()[0].getIConst(); in memorySemanticsCheck()
1554 storageClassSemantics = (*argp)[4]->getAsConstantUnion()->getConstArray()[0].getIConst(); in memorySemanticsCheck()
1555 semantics = (*argp)[5]->getAsConstantUnion()->getConstArray()[0].getIConst(); in memorySemanticsCheck()
1556 storageClassSemantics2 = (*argp)[6]->getAsConstantUnion()->getConstArray()[0].getIConst(); in memorySemanticsCheck()
1557 semantics2 = (*argp)[7]->getAsConstantUnion()->getConstArray()[0].getIConst(); in memorySemanticsCheck()
[all …]
DConstant.cpp113 TConstUnionArray leftUnionArray = getConstArray(); in fold()
114 TConstUnionArray rightUnionArray = rightNode->getConstArray(); in fold()
134 TConstUnionArray smearedArray(newComps, rightNode->getConstArray()[0]); in fold()
139 rightUnionArray = rightNode->getConstArray(); in fold()
140 TConstUnionArray smearedArray(newComps, getConstArray()[0]); in fold()
375 newConstArray[0].setBConst(rightNode->getConstArray() == leftUnionArray); in fold()
379 newConstArray[0].setBConst(rightNode->getConstArray() != leftUnionArray); in fold()
453 const TConstUnionArray& unionArray = getConstArray(); in fold()
1049 childConstUnions.push_back(children[arg]->getAsConstantUnion()->getConstArray()); in fold()
1367 …result = addConstantUnion(TConstUnionArray(node->getAsConstantUnion()->getConstArray(), start, siz… in foldDereference()
[all …]
DlinkValidate.cpp450 if (symbol->getConstArray().empty() && ! unitSymbol->getConstArray().empty()) in mergeLinkerObjects()
451 symbol->setConstArray(unitSymbol->getConstArray()); in mergeLinkerObjects()
581 if (! symbol.getConstArray().empty() && ! unitSymbol.getConstArray().empty()) { in mergeErrorCheck()
582 if (symbol.getConstArray() != unitSymbol.getConstArray()) { in mergeErrorCheck()
Dreflection.cpp197 index = visitNode->getRight()->getAsConstantUnion()->getConstArray()[0].getIConst(); in blowUpActiveAggregate()
202 index = visitNode->getRight()->getAsConstantUnion()->getConstArray()[0].getIConst(); in blowUpActiveAggregate()
334 … arraySize = topNode->getRight()->getAsConstantUnion()->getConstArray()[0].getIConst() + 1; in addDereferencedUniform()
Dattribute.cpp88 …const TConstUnion* constVal = &args->getSequence()[argNum]->getAsConstantUnion()->getConstArray()[… in getConstUnion()
DintermOut.cpp178 …out.debug << (*members)[node->getRight()->getAsConstantUnion()->getConstArray()[0].getIConst()].ty… in visitBinary()
1282 OutputConstantUnion(infoSink, node, node->getConstArray(), extraOutput, depth + 1); in visitConstantUnion()
1291 if (! node->getConstArray().empty()) in visitSymbol()
1292 OutputConstantUnion(infoSink, node, node->getConstArray(), extraOutput, depth + 1); in visitSymbol()
DpropagateNoContraction.cpp135 unsigned struct_dereference_index = node->getAsConstantUnion()->getConstArray()[0].getUConst(); in getStructIndexFromConstantUnion()
DIntermediate.cpp84 intermSymbol.getConstArray(), in addSymbol()
99 …iable.getUniqueId(), variable.getName(), variable.getType(), variable.getConstArray(), variable.ge… in addSymbol()
2343 if (cond->getAsConstantUnion()->getConstArray()[0].getBConst()) in addSelection()
3610 const TConstUnionArray& rightUnionArray = node->getConstArray(); in promoteConstantUnion()
DSymbolTable.h167 virtual const TConstUnionArray& getConstArray() const { return constArray; } in getConstArray() function
/external/deqp-deps/glslang/hlsl/
DhlslParseHelper.cpp341 compIsSet[asConst->getConstArray()[0].getIConst()] = true; in handleLvalue()
345 compIsSet[seq[comp]->getAsConstantUnion()->getConstArray()[0].getIConst()] = true; in handleLvalue()
706 … node = intermediate.addConstantUnion(variable->getConstArray(), variable->getType(), loc); in handleVariable()
813 indexValue = index->getAsConstantUnion()->getConstArray()[0].getIConst(); in handleBracketDereference()
1747 …intermediate.setLocalSize(lid, sequence[lid]->getAsConstantUnion()->getConstArray()[0].getIConst()… in handleEntryPointAttributes()
3047 … intermediate.addConstantUnion(swizzle[i]->getAsConstantUnion()->getConstArray(), in handleAssignToMatrixSwizzle()
3052 … intermediate.addConstantUnion(swizzle[i+1]->getAsConstantUnion()->getConstArray(), in handleAssignToMatrixSwizzle()
5867 int value = aggArgs[compArg]->getAsConstantUnion()->getConstArray()[0].getIConst(); in builtInOpCheck()
5907 int offset = aggArgs[arg]->getAsConstantUnion()->getConstArray()[c].getIConst(); in builtInOpCheck()
6585 sizePair.size = constant->getConstArray()[0].getIConst(); in arraySizeCheck()
[all …]
DhlslGrammar.cpp876 const int vecSizeI = vecSize->getAsConstantUnion()->getConstArray()[0].getIConst(); in acceptVectorTemplateType()
945 rows->getAsConstantUnion()->getConstArray()[0].getIConst(), in acceptMatrixTemplateType()
946 cols->getAsConstantUnion()->getConstArray()[0].getIConst()); in acceptMatrixTemplateType()
1030 arraySizes->addInnerSize(size->getAsConstantUnion()->getConstArray()[0].getIConst()); in acceptTessellationPatchTemplateType()
/external/deqp-deps/glslang/glslang/Include/
Dintermediate.h1200 const TConstUnionArray& getConstArray() const { return constArray; } in getConstArray() function
1225 const TConstUnionArray& getConstArray() const { return constArray; } in getConstArray() function
/external/deqp-deps/glslang/SPIRV/
DGlslangToSpv.cpp1697 … const int glslangIndex = node->getRight()->getAsConstantUnion()->getConstArray()[0].getIConst(); in visitBinary()
1875 …e->getOperand()->getAsBinaryNode()->getRight()->getAsConstantUnion()->getConstArray()[0].getUConst… in visitUnary()
2684 …back(child->getAsBranchNode()->getExpression()->getAsConstantUnion()->getConstArray()[0].getIConst… in visitSwitch()
2718 …spv::Id constant = createSpvConstantFromConstUnionArray(node->getType(), node->getConstArray(), ne… in visitConstantUnion()
2952 swizzle.push_back(swizzleSequence[i]->getAsConstantUnion()->getConstArray()[0].getIConst()); in convertSwizzle()
7419 …etAsConstantUnion() ? node.getAsConstantUnion()->getConstArray() : node.getAsSymbolNode()->getCons…
7450 } else if (auto* const_union_array = &sn->getConstArray()) {