/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | ParseHelper.cpp | 372 indexValue = index->getAsConstantUnion()->getConstArray()[0].getIConst(); in handleBracketDereference() 491 (! limits.generalConstantMatrixVectorIndexing && base->getAsConstantUnion()) || in handleIndexLimits() 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 …]
|
D | Intermediate.cpp | 149 TIntermConstantUnion *leftTempConstant = node->getLeft()->getAsConstantUnion(); in addBinaryMath() 150 TIntermConstantUnion *rightTempConstant = node->getRight()->getAsConstantUnion(); in addBinaryMath() 367 if (node->getOperand()->getAsConstantUnion()) in addUnaryMath() 368 return node->getOperand()->getAsConstantUnion()->fold(op, node->getType()); in addUnaryMath() 395 if (child->getAsConstantUnion()) { in addBuiltInFunctionCall() 396 TIntermTyped* folded = child->getAsConstantUnion()->fold(op, returnType); in addBuiltInFunctionCall() 715 if (node->getAsConstantUnion()) { in createConversion() 716 TIntermTyped* folded = node->getAsConstantUnion()->fold(newOp, newType); in createConversion() 837 if (node0->getAsConstantUnion()) in addConversion() 838 newNode0 = promoteConstantUnion(std::get<0>(promoteTo), node0->getAsConstantUnion()); in addConversion() [all …]
|
D | Constant.cpp | 112 const TIntermConstantUnion *rightNode = rightConstantNode->getAsConstantUnion(); in fold() 1016 objectSize = children[0]->getAsConstantUnion()->getType().computeNumComponents(); in fold() 1022 objectSize = children[0]->getAsConstantUnion()->getType().computeNumComponents(); in fold() 1049 childConstUnions.push_back(children[arg]->getAsConstantUnion()->getConstArray()); in fold() 1228 int numComps = children[0]->getAsConstantUnion()->getType().computeNumComponents(); in fold() 1290 int numCols = children[1]->getAsConstantUnion()->getType().computeNumComponents(); in fold() 1318 if (!(*p)->getAsTyped()->getAsConstantUnion()) in areAllChildConst() 1367 …result = addConstantUnion(TConstUnionArray(node->getAsConstantUnion()->getConstArray(), start, siz… in foldDereference() 1383 const TConstUnionArray& unionArray = node->getAsConstantUnion()->getConstArray(); in foldSwizzle()
|
D | LiveTraverser.h | 103 TIntermConstantUnion* constant = node->getCondition()->getAsConstantUnion(); in visitSelection()
|
D | propagateNoContraction.cpp | 134 assert(node->getAsConstantUnion() && node->getAsConstantUnion()->isScalar()); in getStructIndexFromConstantUnion() 135 unsigned struct_dereference_index = node->getAsConstantUnion()->getConstArray()[0].getUConst(); in getStructIndexFromConstantUnion()
|
D | reflection.cpp | 197 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()
|
D | parseConst.cpp | 79 …ag = node->getSequence().size() == 1 && node->getSequence()[0]->getAsTyped()->getAsConstantUnion(); in visitAggregate()
|
D | attribute.cpp | 88 …const TConstUnion* constVal = &args->getSequence()[argNum]->getAsConstantUnion()->getConstArray()[… in getConstUnion()
|
D | glslang.y | 351 if ($$->getAsConstantUnion()) 352 $$->getAsConstantUnion()->setExpression(); 513 if ($$->getAsConstantUnion()) 514 $$->getAsConstantUnion()->setExpression();
|
D | intermOut.cpp | 178 …out.debug << (*members)[node->getRight()->getAsConstantUnion()->getConstArray()[0].getIConst()].ty… in visitBinary()
|
D | glslang_tab.cpp | 4260 if ((yyval.interm.intermTypedNode)->getAsConstantUnion()) in yyparse() 4261 (yyval.interm.intermTypedNode)->getAsConstantUnion()->setExpression(); in yyparse() 4505 if ((yyval.interm.intermTypedNode)->getAsConstantUnion()) in yyparse() 4506 (yyval.interm.intermTypedNode)->getAsConstantUnion()->setExpression(); in yyparse()
|
/external/swiftshader/src/OpenGL/compiler/ |
D | ParseHelper.cpp | 326 int value = (*p)->getAsTyped()->getAsConstantUnion()->getIConst(0); in lValueErrorCheck() 808 TIntermConstantUnion* constant = expr->getAsConstantUnion(); in arraySizeErrorCheck() 1297 if (initializer->getAsConstantUnion()) { in executeInitializer() 1298 variable->shareConstPointer(initializer->getAsConstantUnion()->getUnionArrayPointer()); in executeInitializer() 2186 TIntermConstantUnion* tempConstantNode = node->getAsConstantUnion(); in addConstVectorNode() 2233 TIntermConstantUnion* tempConstantNode = node->getAsConstantUnion(); in addConstMatrixNode() 2268 TIntermConstantUnion* tempConstantNode = node->getAsConstantUnion(); in addConstArrayNode() 2307 TIntermConstantUnion *tempConstantNode = node->getAsConstantUnion(); in addConstStruct() 2495 TIntermConstantUnion *indexConstantUnion = indexExpression->getAsConstantUnion(); in addIndexExpression() 2509 …if(baseExpression->getType().getQualifier() == EvqConstExpr && baseExpression->getAsConstantUnion(… in addIndexExpression() [all …]
|
D | Intermediate.cpp | 413 TIntermConstantUnion *leftTempConstant = left->getAsConstantUnion(); in addBinaryMath() 414 TIntermConstantUnion *rightTempConstant = right->getAsConstantUnion(); in addBinaryMath() 506 if (child->getAsConstantUnion()) in addUnaryMath() 507 childTempConstant = child->getAsConstantUnion(); in addUnaryMath() 627 if (cond->getAsTyped() && cond->getAsTyped()->getAsConstantUnion()) { in addSelection() 628 if (cond->getAsConstantUnion()->getBConst(0) == true) in addSelection() 672 …if (cond->getAsConstantUnion() && trueBlock->getAsConstantUnion() && falseBlock->getAsConstantUnio… in addSelection() 673 if (cond->getAsConstantUnion()->getBConst(0)) in addSelection() 1410 TIntermConstantUnion *node = constantNode->getAsConstantUnion(); in fold()
|
D | intermediate.h | 278 virtual TIntermConstantUnion* getAsConstantUnion() { return 0; } in getAsConstantUnion() function 447 virtual TIntermConstantUnion* getAsConstantUnion() { return this; } in getAsConstantUnion() function 586 if(!node->getAsConstantUnion() || !node->getAsConstantUnion()->getUnionArrayPointer()) in isConstantFoldable()
|
D | OutputASM.cpp | 809 TIntermConstantUnion *element = (*sit)->getAsConstantUnion(); in visitBinary() 1747 TIntermConstantUnion *constantCondition = condition->getAsConstantUnion(); in visitSelection() 2452 if(arg->getAsConstantUnion() && arg->getAsConstantUnion()->getUnionArrayPointer()) in source() 2455 ConstantUnion *constants = arg->getAsConstantUnion()->getUnionArrayPointer(); in source() 2649 int rightIndex = right->getAsConstantUnion()->getIConst(0); in lvalue() 2747 int index = right->getAsConstantUnion()->getIConst(0); in lvalue() 2774 int index = sequence[i]->getAsConstantUnion()->getIConst(0); in lvalue() 2831 …if(qualifier == EvqConstExpr && (!operand->getAsConstantUnion() || !operand->getAsConstantUnion()-… in registerType() 2988 else if(expression->getAsConstantUnion()) in cost() 3033 TIntermConstantUnion *constantCondition = condition->getAsConstantUnion(); in cost() [all …]
|
D | ValidateSwitch.cpp | 115 TIntermConstantUnion *condition = node->getCondition()->getAsConstantUnion(); in visitCase()
|
D | parseConst.cpp | 118 …ag = node->getSequence().size() == 1 && node->getSequence()[0]->getAsTyped()->getAsConstantUnion(); in visitAggregate()
|
D | ValidateLimitations.cpp | 468 return node->getAsConstantUnion() != nullptr; in isConstExpr()
|
/external/deqp-deps/glslang/glslang/Include/ |
D | intermediate.h | 1025 virtual glslang::TIntermConstantUnion* getAsConstantUnion() { return 0; } in getAsConstantUnion() function 1038 virtual const glslang::TIntermConstantUnion* getAsConstantUnion() const { return 0; } in getAsConstantUnion() function 1226 virtual TIntermConstantUnion* getAsConstantUnion() { return this; } in getAsConstantUnion() function 1227 virtual const TIntermConstantUnion* getAsConstantUnion() const { return this; } in getAsConstantUnion() function
|
/external/deqp-deps/glslang/hlsl/ |
D | hlslParseHelper.cpp | 336 const TIntermConstantUnion* asConst = swizzle->getRight()->getAsConstantUnion(); in handleLvalue() 345 compIsSet[seq[comp]->getAsConstantUnion()->getConstArray()[0].getIConst()] = true; in handleLvalue() 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() 5866 if (aggArgs[compArg]->getAsConstantUnion()) { in builtInOpCheck() 5867 int value = aggArgs[compArg]->getAsConstantUnion()->getConstArray()[0].getIConst(); in builtInOpCheck() 5902 if (aggArgs[arg]->getAsConstantUnion() == nullptr) in builtInOpCheck() 5907 int offset = aggArgs[arg]->getAsConstantUnion()->getConstArray()[c].getIConst(); in builtInOpCheck() [all …]
|
D | hlslGrammar.cpp | 876 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() 2577 if (node->getAsConstantUnion()) in acceptDefaultParameterDeclaration()
|
/external/deqp-deps/glslang/SPIRV/ |
D | GlslangToSpv.cpp | 1697 … const int glslangIndex = node->getRight()->getAsConstantUnion()->getConstArray()[0].getIConst(); in visitBinary() 1875 …unsigned int member = node->getOperand()->getAsBinaryNode()->getRight()->getAsConstantUnion()->get… in visitUnary() 2684 …caseValues.push_back(child->getAsBranchNode()->getExpression()->getAsConstantUnion()->getConstArra… in visitSwitch() 2952 swizzle.push_back(swizzleSequence[i]->getAsConstantUnion()->getConstArray()[0].getIConst()); in convertSwizzle() 7417 assert(node.getAsConstantUnion() != nullptr || node.getAsSymbolNode() != nullptr); 7419 …eSpvConstantFromConstUnionArray(node.getType(), node.getAsConstantUnion() ? node.getAsConstantUnio… 7600 if (node->getAsConstantUnion() != nullptr)
|