/external/deqp-deps/glslang/hlsl/ |
D | hlslParseHelper.cpp | 153 if (node == nullptr || node->getAsTyped() == nullptr) in shouldConvertLValue() 226 TIntermTyped* object = lhsAsAggregate->getSequence()[0]->getAsTyped(); in lValueErrorCheck() 373 TIntermTyped* object = lhsAsAggregate->getSequence()[0]->getAsTyped(); in handleLvalue() 374 TIntermTyped* coord = lhsAsAggregate->getSequence()[1]->getAsTyped(); in handleLvalue() 3018 TIntermTyped* matrix = left->getAsBinaryNode()->getLeft()->getAsTyped(); in handleAssignToMatrixSwizzle() 3258 bufferObj = argAggregate->getSequence()[0]->getAsTyped(); in decomposeStructBufferMethods() 3292 … TIntermTyped* argIndex = makeIntegerIndex(argAggregate->getSequence()[1]->getAsTyped()); // index in decomposeStructBufferMethods() 3324 … TIntermTyped* argIndex = makeIntegerIndex(argAggregate->getSequence()[1]->getAsTyped()); // index in decomposeStructBufferMethods() 3391 … TIntermTyped* argIndex = makeIntegerIndex(argAggregate->getSequence()[1]->getAsTyped()); // index in decomposeStructBufferMethods() 3392 TIntermTyped* argValue = argAggregate->getSequence()[2]->getAsTyped(); // value in decomposeStructBufferMethods() [all …]
|
D | hlslGrammar.cpp | 2568 …leFunctionArgument(constructor, arguments, node->getAsAggregate()->getSequence()[i]->getAsTyped()); in acceptDefaultParameterDeclaration() 2713 if (declNode == nullptr || declNode->getAsTyped() == nullptr) { in acceptParenExpression() 2717 expression = declNode->getAsTyped(); in acceptParenExpression()
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | Constant.cpp | 1029 objectSize = children[0]->getAsTyped()->getType().getVectorSize() * in fold() 1030 children[1]->getAsTyped()->getType().getVectorSize(); in fold() 1034 objectSize = std::max(children[0]->getAsTyped()->getType().getVectorSize(), in fold() 1035 children[1]->getAsTyped()->getType().getVectorSize()); in fold() 1039 objectSize = std::max(children[0]->getAsTyped()->getType().getVectorSize(), in fold() 1040 children[2]->getAsTyped()->getType().getVectorSize()); in fold() 1055 int arg0comp = std::min(comp, children[0]->getAsTyped()->getType().getVectorSize() - 1); in fold() 1058 arg1comp = std::min(comp, children[1]->getAsTyped()->getType().getVectorSize() - 1); in fold() 1061 arg2comp = std::min(comp, children[2]->getAsTyped()->getType().getVectorSize() - 1); in fold() 1071 switch(children[0]->getAsTyped()->getBasicType()) { in fold() [all …]
|
D | ParseHelper.cpp | 673 rValueErrorCheck(loc, str, left->getAsTyped()); in handleBinaryMath() 674 rValueErrorCheck(loc, str, right->getAsTyped()); in handleBinaryMath() 1092 if (lValueErrorCheck(arguments->getLoc(), "assign", arg->getAsTyped())) in handleFunctionCall() 1095 TQualifier& argQualifier = arg->getAsTyped()->getQualifier(); in handleFunctionCall() 1116 if (builtIn && arg->getAsTyped()->getType().containsBasicType(EbtFloat16)) in handleFunctionCall() 1118 if (builtIn && arg->getAsTyped()->getType().contains16BitInt()) in handleFunctionCall() 1120 if (builtIn && arg->getAsTyped()->getType().contains8BitInt()) in handleFunctionCall() 1276 …operationPrecision = std::max(operationPrecision, sequence[arg]->getAsTyped()->getQualifier().prec… in computeBuiltinPrecisions() 1287 resultPrecision = sequence[0]->getAsTyped()->getQualifier().precision; in computeBuiltinPrecisions() 1360 const TType& type = intermNode->getAsTyped()->getType(); in handleLengthMethod() [all …]
|
D | parseConst.cpp | 79 …bool flag = node->getSequence().size() == 1 && node->getSequence()[0]->getAsTyped()->getAsConstant… in visitAggregate()
|
D | Intermediate.cpp | 391 TIntermTyped* child = childNode->getAsTyped(); in addBuiltInFunctionCall() 3532 convertedArgs[convArg] = addConversion(op, args[nonConvArg]->getAsTyped()->getType(), in promoteAggregate() 3533 args[convArg]->getAsTyped()); in promoteAggregate() 3585 TIntermTyped* typedNode = operands[i]->getAsTyped(); in propagatePrecision() 3596 TIntermTyped* typedNode = selectionNode->getTrueBlock()->getAsTyped(); in propagatePrecision() 3599 typedNode = selectionNode->getFalseBlock()->getAsTyped(); in propagatePrecision()
|
D | propagateNoContraction.cpp | 677 node->getSequence()[precise_accesschain_index]->getAsTyped(); in visitAggregate()
|
D | linkValidate.cpp | 940 const TType& type = linkObjects[i]->getAsTyped()->getType(); in inOutLocationCheck()
|
D | glslang.y | 3483 $$ = initNode->getAsTyped();
|
D | glslang_tab.cpp | 9737 (yyval.interm.intermTypedNode) = initNode->getAsTyped(); in yyparse()
|
/external/swiftshader/src/OpenGL/compiler/ |
D | intermediate.h | 277 virtual TIntermTyped* getAsTyped() { return 0; } in getAsTyped() function 308 virtual TIntermTyped* getAsTyped() { return this; } in getAsTyped() function 558 if(!node->getAsTyped() || node->getAsTyped()->getQualifier() != EvqConstExpr) in setType()
|
D | OutputASM.cpp | 1344 TIntermTyped *in = arguments[i]->getAsTyped(); in visitAggregate() 1365 TIntermTyped *argument = arguments[i]->getAsTyped(); in visitAggregate() 1366 TIntermTyped *out = arg[i]->getAsTyped(); in visitAggregate() 1378 TIntermTyped *s = arg[0]->getAsTyped(); in visitAggregate() 1379 TIntermTyped *t = arg[1]->getAsTyped(); in visitAggregate() 1505 TIntermTyped *argi = arg[i]->getAsTyped(); in visitAggregate() 1563 TIntermTyped *arg0 = arg[0]->getAsTyped(); in visitAggregate() 1593 TIntermTyped *argi = arg[n]->getAsTyped(); in visitAggregate() 1621 TIntermTyped *argi = arg[i]->getAsTyped(); in visitAggregate() 1646 TIntermTyped *argi = arg[i]->getAsTyped(); in visitAggregate() [all …]
|
D | ParseHelper.cpp | 326 int value = (*p)->getAsTyped()->getAsConstantUnion()->getIConst(0); in lValueErrorCheck() 582 TIntermTyped *typed = node ? node->getAsTyped() : 0; in constructorErrorCheck() 1090 TIntermTyped *node = (aggregate->getSequence())[i]->getAsTyped(); in functionCallLValueErrorCheck() 2117 const TType &argType = argNode->getAsTyped()->getType(); in addConstructor() 2134 if(args[i]->getAsTyped()->getType() != *fields[i]->type()) in addConstructor() 3534 TIntermTyped *typedThis = thisNode->getAsTyped(); in addFunctionCallOrMethod() 3609 callNode = createUnaryMath(op, operand->getAsTyped(), loc, &fnCandidate->getReturnType()); in addFunctionCallOrMethod() 3636 TIntermConstantUnion *valConstant = parameters[0]->getAsTyped()->getAsConstantUnion(); in addFunctionCallOrMethod() 3637 TIntermConstantUnion *minConstant = parameters[1]->getAsTyped()->getAsConstantUnion(); in addFunctionCallOrMethod() 3638 TIntermConstantUnion *maxConstant = parameters[2]->getAsTyped()->getAsConstantUnion(); in addFunctionCallOrMethod() [all …]
|
D | parseConst.cpp | 118 …bool flag = node->getSequence().size() == 1 && node->getSequence()[0]->getAsTyped()->getAsConstant… in visitAggregate()
|
D | Intermediate.cpp | 627 if (cond->getAsTyped() && cond->getAsTyped()->getAsConstantUnion()) { in addSelection()
|
/external/deqp-deps/glslang/glslang/Include/ |
D | intermediate.h | 1023 virtual glslang::TIntermTyped* getAsTyped() { return 0; } in getAsTyped() function 1036 virtual const glslang::TIntermTyped* getAsTyped() const { return 0; } in getAsTyped() function 1073 virtual TIntermTyped* getAsTyped() { return this; } in getAsTyped() function 1074 virtual const TIntermTyped* getAsTyped() const { return this; } in getAsTyped() function
|
/external/deqp-deps/glslang/SPIRV/ |
D | GlslangToSpv.cpp | 1798 if (isTrivial(node->getRight()->getAsTyped())) in visitBinary() 1801 … = createShortCircuit(node->getOp(), *node->getLeft()->getAsTyped(), *node->getRight()->getAsTyped… in visitBinary() 2280 if (glslangOperands[0]->getAsTyped()->getVectorSize() == 1) in visitAggregate() 2359 glslang::TIntermTyped* left = node->getSequence()[0]->getAsTyped(); in visitAggregate() 2360 glslang::TIntermTyped* right = node->getSequence()[1]->getAsTyped(); in visitAggregate() 2460 operands.push_back(accessChainLoad(glslangOperands[arg]->getAsTyped()->getType())); in visitAggregate() 2482 glslangOperands[0]->getAsTyped()->getBasicType()); in visitAggregate() 2540 assert(node->getType() == node->getTrueBlock() ->getAsTyped()->getType() && in visitSelection() 2541 node->getType() == node->getFalseBlock()->getAsTyped()->getType()); in visitSelection() 2548 return operandOkay(node->getTrueBlock() ->getAsTyped()) && in visitSelection() [all …]
|