Home
last modified time | relevance | path

Searched refs:addConstantUnion (Results 1 – 24 of 24) sorted by relevance

/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DIntermediate.cpp133 …TIntermConstantUnion* size = addConstantUnion((unsigned long long)computeBufferReferenceTypeSize(l… in addBinaryMath()
148addConstantUnion((unsigned long long)computeBufferReferenceTypeSize(right->getType()), loc, true); in addBinaryMath()
161 addConstantUnion((long long)computeBufferReferenceTypeSize(left->getType()), loc, true); in addBinaryMath()
2536 TIntermConstantUnion* TIntermediate::addConstantUnion(const TConstUnionArray& unionArray, const TTy… in addConstantUnion() function in glslang::TIntermediate
2546 TIntermConstantUnion* TIntermediate::addConstantUnion(signed char i8, const TSourceLoc& loc, bool l… in addConstantUnion() function in glslang::TIntermediate
2551 return addConstantUnion(unionArray, TType(EbtInt8, EvqConst), loc, literal); in addConstantUnion()
2554 TIntermConstantUnion* TIntermediate::addConstantUnion(unsigned char u8, const TSourceLoc& loc, bool… in addConstantUnion() function in glslang::TIntermediate
2559 return addConstantUnion(unionArray, TType(EbtUint8, EvqConst), loc, literal); in addConstantUnion()
2562 TIntermConstantUnion* TIntermediate::addConstantUnion(signed short i16, const TSourceLoc& loc, bool… in addConstantUnion() function in glslang::TIntermediate
2567 return addConstantUnion(unionArray, TType(EbtInt16, EvqConst), loc, literal); in addConstantUnion()
[all …]
Dlocalintermediate.h505 …TIntermConstantUnion* addConstantUnion(const TConstUnionArray&, const TType&, const TSourceLoc&, b…
506 …TIntermConstantUnion* addConstantUnion(signed char, const TSourceLoc&, bool literal = false) const;
507 …TIntermConstantUnion* addConstantUnion(unsigned char, const TSourceLoc&, bool literal = false) con…
508 …TIntermConstantUnion* addConstantUnion(signed short, const TSourceLoc&, bool literal = false) cons…
509 …TIntermConstantUnion* addConstantUnion(unsigned short, const TSourceLoc&, bool literal = false) co…
510 TIntermConstantUnion* addConstantUnion(int, const TSourceLoc&, bool literal = false) const;
511 …TIntermConstantUnion* addConstantUnion(unsigned int, const TSourceLoc&, bool literal = false) cons…
512 … TIntermConstantUnion* addConstantUnion(long long, const TSourceLoc&, bool literal = false) const;
513 …TIntermConstantUnion* addConstantUnion(unsigned long long, const TSourceLoc&, bool literal = false…
514 TIntermConstantUnion* addConstantUnion(bool, const TSourceLoc&, bool literal = false) const;
[all …]
Dglslang.y407 $$ = parseContext.intermediate.addConstantUnion($1.d, EbtFloat, $1.loc, true);
410 $$ = parseContext.intermediate.addConstantUnion($1.i, $1.loc, true);
414 $$ = parseContext.intermediate.addConstantUnion($1.u, $1.loc, true);
417 $$ = parseContext.intermediate.addConstantUnion($1.b, $1.loc, true);
421 $$ = parseContext.intermediate.addConstantUnion($1.string, $1.loc, true);
425 $$ = parseContext.intermediate.addConstantUnion($1.i, $1.loc, true);
429 $$ = parseContext.intermediate.addConstantUnion($1.u, $1.loc, true);
433 $$ = parseContext.intermediate.addConstantUnion($1.i64, $1.loc, true);
437 $$ = parseContext.intermediate.addConstantUnion($1.u64, $1.loc, true);
441 $$ = parseContext.intermediate.addConstantUnion((short)$1.i, $1.loc, true);
[all …]
Dglslang.m4407 $$ = parseContext.intermediate.addConstantUnion($1.d, EbtFloat, $1.loc, true);
410 $$ = parseContext.intermediate.addConstantUnion($1.i, $1.loc, true);
414 $$ = parseContext.intermediate.addConstantUnion($1.u, $1.loc, true);
417 $$ = parseContext.intermediate.addConstantUnion($1.b, $1.loc, true);
421 $$ = parseContext.intermediate.addConstantUnion($1.string, $1.loc, true);
425 $$ = parseContext.intermediate.addConstantUnion($1.i, $1.loc, true);
429 $$ = parseContext.intermediate.addConstantUnion($1.u, $1.loc, true);
433 $$ = parseContext.intermediate.addConstantUnion($1.i64, $1.loc, true);
437 $$ = parseContext.intermediate.addConstantUnion($1.u64, $1.loc, true);
441 $$ = parseContext.intermediate.addConstantUnion((short)$1.i, $1.loc, true);
[all …]
Dglslang_tab.cpp5204 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtF… in yyparse()
5212 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyv… in yyparse()
5221 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyv… in yyparse()
5229 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyv… in yyparse()
5237 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string,… in yyparse()
5246 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyv… in yyparse()
5255 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyv… in yyparse()
5264 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i64, (y… in yyparse()
5273 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u64, (y… in yyparse()
5282 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((short)(yyvsp[0].lex).… in yyparse()
[all …]
DConstant.cpp1365 return addConstantUnion(unionArray, aggrNode->getType(), aggrNode->getLoc()); in foldConstructor()
1395 …result = addConstantUnion(TConstUnionArray(node->getAsConstantUnion()->getConstArray(), start, siz… in foldDereference()
1417 TIntermTyped* result = addConstantUnion(constArray, node->getType(), loc); in foldSwizzle()
DParseHelper.cpp453 TIntermTyped* constNode = intermediate.addConstantUnion(anon->getMemberNumber(), loc); in handleVariable()
480 … node = intermediate.addConstantUnion(variable->getConstArray(), variable->getType(), loc); in handleVariable()
516 return intermediate.addConstantUnion(0.0, EbtFloat, loc); in handleBracketDereference()
551 result = intermediate.addConstantUnion(0.0, EbtFloat, loc); in handleBracketDereference()
966 TIntermTyped* index = intermediate.addConstantUnion(member, loc); in handleDotDereference()
1027 TIntermTyped* index = intermediate.addConstantUnion(selectors[0], loc); in handleDotSwizzle()
1440 result = intermediate.addConstantUnion(0.0, EbtFloat, loc); in handleFunctionCall()
1745 return intermediate.addConstantUnion(length, loc); in handleLengthMethod()
6916 … arguments = intermediate.growAggregate(arguments, intermediate.addConstantUnion(1, loc, true)); in vkRelaxedRemapFunctionCall()
6933 … arguments = intermediate.growAggregate(arguments, intermediate.addConstantUnion(-1, loc, true)); in vkRelaxedRemapFunctionCall()
[all …]
DlinkValidate.cpp676 … TIntermTyped* newConstNode = unit.addConstantUnion(newIdx, node->getRight()->getLoc()); in mergeBlockDefinitions()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DIntermediate.cpp133 …TIntermConstantUnion* size = addConstantUnion((unsigned long long)computeBufferReferenceTypeSize(l… in addBinaryMath()
148addConstantUnion((unsigned long long)computeBufferReferenceTypeSize(right->getType()), loc, true); in addBinaryMath()
161 addConstantUnion((long long)computeBufferReferenceTypeSize(left->getType()), loc, true); in addBinaryMath()
2536 TIntermConstantUnion* TIntermediate::addConstantUnion(const TConstUnionArray& unionArray, const TTy… in addConstantUnion() function in glslang::TIntermediate
2546 TIntermConstantUnion* TIntermediate::addConstantUnion(signed char i8, const TSourceLoc& loc, bool l… in addConstantUnion() function in glslang::TIntermediate
2551 return addConstantUnion(unionArray, TType(EbtInt8, EvqConst), loc, literal); in addConstantUnion()
2554 TIntermConstantUnion* TIntermediate::addConstantUnion(unsigned char u8, const TSourceLoc& loc, bool… in addConstantUnion() function in glslang::TIntermediate
2559 return addConstantUnion(unionArray, TType(EbtUint8, EvqConst), loc, literal); in addConstantUnion()
2562 TIntermConstantUnion* TIntermediate::addConstantUnion(signed short i16, const TSourceLoc& loc, bool… in addConstantUnion() function in glslang::TIntermediate
2567 return addConstantUnion(unionArray, TType(EbtInt16, EvqConst), loc, literal); in addConstantUnion()
[all …]
Dlocalintermediate.h496 …TIntermConstantUnion* addConstantUnion(const TConstUnionArray&, const TType&, const TSourceLoc&, b…
497 …TIntermConstantUnion* addConstantUnion(signed char, const TSourceLoc&, bool literal = false) const;
498 …TIntermConstantUnion* addConstantUnion(unsigned char, const TSourceLoc&, bool literal = false) con…
499 …TIntermConstantUnion* addConstantUnion(signed short, const TSourceLoc&, bool literal = false) cons…
500 …TIntermConstantUnion* addConstantUnion(unsigned short, const TSourceLoc&, bool literal = false) co…
501 TIntermConstantUnion* addConstantUnion(int, const TSourceLoc&, bool literal = false) const;
502 …TIntermConstantUnion* addConstantUnion(unsigned int, const TSourceLoc&, bool literal = false) cons…
503 … TIntermConstantUnion* addConstantUnion(long long, const TSourceLoc&, bool literal = false) const;
504 …TIntermConstantUnion* addConstantUnion(unsigned long long, const TSourceLoc&, bool literal = false…
505 TIntermConstantUnion* addConstantUnion(bool, const TSourceLoc&, bool literal = false) const;
[all …]
Dglslang.y386 $$ = parseContext.intermediate.addConstantUnion($1.d, EbtFloat, $1.loc, true);
389 $$ = parseContext.intermediate.addConstantUnion($1.i, $1.loc, true);
393 $$ = parseContext.intermediate.addConstantUnion($1.u, $1.loc, true);
396 $$ = parseContext.intermediate.addConstantUnion($1.b, $1.loc, true);
400 $$ = parseContext.intermediate.addConstantUnion($1.string, $1.loc, true);
404 $$ = parseContext.intermediate.addConstantUnion($1.i, $1.loc, true);
408 $$ = parseContext.intermediate.addConstantUnion($1.u, $1.loc, true);
412 $$ = parseContext.intermediate.addConstantUnion($1.i64, $1.loc, true);
416 $$ = parseContext.intermediate.addConstantUnion($1.u64, $1.loc, true);
420 $$ = parseContext.intermediate.addConstantUnion((short)$1.i, $1.loc, true);
[all …]
Dglslang.m4386 $$ = parseContext.intermediate.addConstantUnion($1.d, EbtFloat, $1.loc, true);
389 $$ = parseContext.intermediate.addConstantUnion($1.i, $1.loc, true);
393 $$ = parseContext.intermediate.addConstantUnion($1.u, $1.loc, true);
396 $$ = parseContext.intermediate.addConstantUnion($1.b, $1.loc, true);
400 $$ = parseContext.intermediate.addConstantUnion($1.string, $1.loc, true);
404 $$ = parseContext.intermediate.addConstantUnion($1.i, $1.loc, true);
408 $$ = parseContext.intermediate.addConstantUnion($1.u, $1.loc, true);
412 $$ = parseContext.intermediate.addConstantUnion($1.i64, $1.loc, true);
416 $$ = parseContext.intermediate.addConstantUnion($1.u64, $1.loc, true);
420 $$ = parseContext.intermediate.addConstantUnion((short)$1.i, $1.loc, true);
[all …]
Dglslang_tab.cpp4701 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtF… in yyparse()
4709 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyv… in yyparse()
4718 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyv… in yyparse()
4726 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyv… in yyparse()
4734 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string,… in yyparse()
4743 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyv… in yyparse()
4752 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyv… in yyparse()
4761 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i64, (y… in yyparse()
4770 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u64, (y… in yyparse()
4779 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((short)(yyvsp[0].lex).… in yyparse()
[all …]
DConstant.cpp1366 return addConstantUnion(unionArray, aggrNode->getType(), aggrNode->getLoc()); in foldConstructor()
1396 …result = addConstantUnion(TConstUnionArray(node->getAsConstantUnion()->getConstArray(), start, siz… in foldDereference()
1418 TIntermTyped* result = addConstantUnion(constArray, node->getType(), loc); in foldSwizzle()
DParseHelper.cpp351 TIntermTyped* constNode = intermediate.addConstantUnion(anon->getMemberNumber(), loc); in handleVariable()
378 … node = intermediate.addConstantUnion(variable->getConstArray(), variable->getType(), loc); in handleVariable()
414 return intermediate.addConstantUnion(0.0, EbtFloat, loc); in handleBracketDereference()
449 result = intermediate.addConstantUnion(0.0, EbtFloat, loc); in handleBracketDereference()
864 TIntermTyped* index = intermediate.addConstantUnion(member, loc); in handleDotDereference()
925 TIntermTyped* index = intermediate.addConstantUnion(selectors[0], loc); in handleDotSwizzle()
1297 result = intermediate.addConstantUnion(0.0, EbtFloat, loc); in handleFunctionCall()
1573 return intermediate.addConstantUnion(length, loc); in handleLengthMethod()
/external/deqp-deps/glslang/glslang/HLSL/
DhlslParseHelper.cpp674 TIntermTyped* constNode = intermediate.addConstantUnion(anon->getMemberNumber(), loc); in handleVariable()
704 … node = intermediate.addConstantUnion(variable->getConstArray(), variable->getType(), loc); in handleVariable()
747 load->getSequence().push_back(intermediate.addConstantUnion(0, loc, true)); in handleBracketOperator()
850 result = intermediate.addConstantUnion(0.0, EbtFloat, loc); in handleBracketDereference()
979 TIntermTyped* index = intermediate.addConstantUnion(selectors[0], loc); in handleDotDereference()
1001 … intermediate.addConstantUnion(selectors[0].coord1, loc), in handleDotDereference()
1006 … intermediate.addConstantUnion(selectors[0].coord2, loc), in handleDotDereference()
1018 … result = intermediate.addIndex(EOpIndexDirect, base, intermediate.addConstantUnion(column, loc), in handleDotDereference()
1048 TIntermTyped* index = intermediate.addConstantUnion(member, loc); in handleDotDereference()
2485 TIntermTyped* index = intermediate.addConstantUnion(Y, loc); in assignPosition()
[all …]
DhlslGrammar.cpp3342 node = intermediate.addConstantUnion(token.i, token.loc, true); in acceptLiteral()
3345 node = intermediate.addConstantUnion(token.u, token.loc, true); in acceptLiteral()
3348 node = intermediate.addConstantUnion(token.d, EbtFloat16, token.loc, true); in acceptLiteral()
3351 node = intermediate.addConstantUnion(token.d, EbtFloat, token.loc, true); in acceptLiteral()
3354 node = intermediate.addConstantUnion(token.d, EbtDouble, token.loc, true); in acceptLiteral()
3357 node = intermediate.addConstantUnion(token.b, token.loc, true); in acceptLiteral()
3360 node = intermediate.addConstantUnion(token.string, token.loc, true); in acceptLiteral()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslParseHelper.cpp674 TIntermTyped* constNode = intermediate.addConstantUnion(anon->getMemberNumber(), loc); in handleVariable()
704 … node = intermediate.addConstantUnion(variable->getConstArray(), variable->getType(), loc); in handleVariable()
747 load->getSequence().push_back(intermediate.addConstantUnion(0, loc, true)); in handleBracketOperator()
850 result = intermediate.addConstantUnion(0.0, EbtFloat, loc); in handleBracketDereference()
979 TIntermTyped* index = intermediate.addConstantUnion(selectors[0], loc); in handleDotDereference()
1001 … intermediate.addConstantUnion(selectors[0].coord1, loc), in handleDotDereference()
1006 … intermediate.addConstantUnion(selectors[0].coord2, loc), in handleDotDereference()
1018 … result = intermediate.addIndex(EOpIndexDirect, base, intermediate.addConstantUnion(column, loc), in handleDotDereference()
1048 TIntermTyped* index = intermediate.addConstantUnion(member, loc); in handleDotDereference()
2485 TIntermTyped* index = intermediate.addConstantUnion(Y, loc); in assignPosition()
[all …]
DhlslGrammar.cpp3344 node = intermediate.addConstantUnion(token.i, token.loc, true); in acceptLiteral()
3347 node = intermediate.addConstantUnion(token.u, token.loc, true); in acceptLiteral()
3350 node = intermediate.addConstantUnion(token.d, EbtFloat16, token.loc, true); in acceptLiteral()
3353 node = intermediate.addConstantUnion(token.d, EbtFloat, token.loc, true); in acceptLiteral()
3356 node = intermediate.addConstantUnion(token.d, EbtDouble, token.loc, true); in acceptLiteral()
3359 node = intermediate.addConstantUnion(token.b, token.loc, true); in acceptLiteral()
3362 node = intermediate.addConstantUnion(token.string, token.loc, true); in acceptLiteral()
/external/swiftshader/src/OpenGL/compiler/
Dlocalintermediate.h47 TIntermConstantUnion* addConstantUnion(ConstantUnion*, const TType&, const TSourceLoc&);
DParseHelper.cpp2170 return intermediate.addConstantUnion(unionArray, type, aggrNode->getLine()); in foldConstConstructor()
2220 typedNode = intermediate.addConstantUnion(constArray, type, line); in addConstVectorNode()
2247 …typedNode = intermediate.addConstantUnion(&unionArray[size*index], tempConstantNode->getType(), li… in addConstMatrixNode()
2285 …typedNode = intermediate.addConstantUnion(&unionArray[arrayElementSize * index], tempConstantNode-… in addConstArrayNode()
2320 …typedNode = intermediate.addConstantUnion(constArray+instanceSize, tempConstantNode->getType(), li… in addConstStruct()
2590 …indexedExpression = intermediate.addConstantUnion(unionArray, TType(EbtFloat, EbpHigh, EvqConstExp… in addIndexExpression()
2756 …TIntermTyped *index = intermediate.addConstantUnion(unionArray, *fields[i]->type(), fieldLocation); in addFieldSelectionExpression()
3470 return intermediate.addConstantUnion(unionArray, TType(EbtBool, EbpUndefined, EvqConstExpr), loc); in addBinaryMathBooleanResult()
3555 …callNode = intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConstExpr), lo… in addFunctionCallOrMethod()
3711 …callNode = intermediate.addConstantUnion(unionArray, TType(EbtFloat, EbpUndefined, EvqConstExpr), … in addFunctionCallOrMethod()
Dglslang.y240 $$ = context->intermediate.addConstantUnion(constArray, t, @1);
255 …$$ = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConstExpr),…
260 …$$ = context->intermediate.addConstantUnion(unionArray, TType(EbtUInt, EbpUndefined, EvqConstExpr)…
265 …$$ = context->intermediate.addConstantUnion(unionArray, TType(EbtFloat, EbpUndefined, EvqConstExpr…
270 …$$ = context->intermediate.addConstantUnion(unionArray, TType(EbtBool, EbpUndefined, EvqConstExpr)…
Dglslang_tab.cpp2382 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(constArray, t, (yylsp[0])); in yyparse()
2404 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, … in yyparse()
2414 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtUInt,… in yyparse()
2424 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtFloat… in yyparse()
2434 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtBool,… in yyparse()
DIntermediate.cpp709 TIntermConstantUnion* TIntermediate::addConstantUnion(ConstantUnion* unionArrayPointer, const TType… in addConstantUnion() function in TIntermediate
730 constIntNode = addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConstExpr), line); in addSwizzle()
2121 …return addConstantUnion(leftUnionArray, TType(promoteTo, t.getPrecision(), t.getQualifier(), t.get… in promoteConstantUnion()