Home
last modified time | relevance | path

Searched refs:initNode (Results 1 – 17 of 17) sorted by relevance

/external/angle/src/compiler/translator/tree_ops/
DSeparateArrayInitialization.cpp52 TIntermBinary *initNode = sequence->back()->getAsBinaryNode(); in visitDeclaration() local
53 if (initNode != nullptr && initNode->getOp() == EOpInitialize) in visitDeclaration()
55 TIntermTyped *initializer = initNode->getRight(); in visitDeclaration()
60 TIntermTyped *symbol = initNode->getLeft(); in visitDeclaration()
DRemoveUnreferencedVariables.cpp253 TIntermBinary *initNode = declarator->getAsBinaryNode(); in visitDeclaration() local
254 if (initNode != nullptr) in visitDeclaration()
256 ASSERT(initNode->getLeft()->getAsSymbolNode()); in visitDeclaration()
257 int symbolId = initNode->getLeft()->getAsSymbolNode()->uniqueId().get(); in visitDeclaration()
259 (*mSymbolIdRefCounts)[symbolId] == 1u && !initNode->getRight()->hasSideEffects(); in visitDeclaration()
/external/angle/src/compiler/translator/
DParseContext.cpp2000 TIntermBinary **initNode) in executeInitializer() argument
2002 ASSERT(initNode != nullptr); in executeInitializer()
2003 ASSERT(*initNode == nullptr); in executeInitializer()
2090 ASSERT(*initNode == nullptr); in executeInitializer()
2096 *initNode = new TIntermBinary(EOpInitialize, intermSymbol, initializer); in executeInitializer()
2098 (*initNode)->setLine(line); in executeInitializer()
2108 TIntermBinary *initNode = nullptr; in addConditionInitializer() local
2110 if (executeInitializer(loc, identifier, type, initializer, &initNode)) in addConditionInitializer()
2115 if (initNode == nullptr) in addConditionInitializer()
2122 declaration->appendDeclarator(initNode); in addConditionInitializer()
[all …]
DParseContext.h212 TIntermBinary **initNode);
/external/swiftshader/src/OpenGL/compiler/
DParseHelper.cpp1574 TIntermNode *initNode = nullptr; in parseSingleArrayInitDeclaration() local
1575 if(!executeInitializer(identifierLocation, identifier, arrayType, initializer, &initNode)) in parseSingleArrayInitDeclaration()
1577 return initNode ? intermediate.makeAggregate(initNode, initLocation) : nullptr; in parseSingleArrayInitDeclaration()
1773 TIntermNode *initNode = nullptr; in parseArrayInitDeclarator() local
1774 if(!executeInitializer(identifierLocation, identifier, arrayType, initializer, &initNode)) in parseArrayInitDeclarator()
1776 if(initNode) in parseArrayInitDeclarator()
1778 return intermediate.growAggregate(aggregateDeclaration, initNode, initLocation); in parseArrayInitDeclarator()
/external/deqp-deps/glslang/glslang/MachineIndependent/
Dglslang.y1100 …TIntermNode* initNode = parseContext.declareVariable($3.loc, *$3.string, $1.type, $4.arraySizes, $… variable
1101 $$.intermNode = parseContext.intermediate.growAggregate($1.intermNode, initNode, $5.loc);
1105 TIntermNode* initNode = parseContext.declareVariable($3.loc, *$3.string, $1.type, 0, $5); variable
1106 $$.intermNode = parseContext.intermediate.growAggregate($1.intermNode, initNode, $4.loc);
1130 … TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, $3.arraySizes, $5); variable
1131 $$.intermNode = parseContext.intermediate.growAggregate(0, initNode, $4.loc);
1135 TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, 0, $4); variable
1136 $$.intermNode = parseContext.intermediate.growAggregate(0, initNode, $3.loc);
3619 TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, 0, $4); variable
3620 if (initNode)
[all …]
Dglslang.m41100 …TIntermNode* initNode = parseContext.declareVariable($3.loc, *$3.string, $1.type, $4.arraySizes, $…
1101 $$.intermNode = parseContext.intermediate.growAggregate($1.intermNode, initNode, $5.loc);
1105 TIntermNode* initNode = parseContext.declareVariable($3.loc, *$3.string, $1.type, 0, $5);
1106 $$.intermNode = parseContext.intermediate.growAggregate($1.intermNode, initNode, $4.loc);
1130 … TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, $3.arraySizes, $5);
1131 $$.intermNode = parseContext.intermediate.growAggregate(0, initNode, $4.loc);
1135 TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, 0, $4);
1136 $$.intermNode = parseContext.intermediate.growAggregate(0, initNode, $3.loc);
3619 TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, 0, $4);
3620 if (initNode)
[all …]
Dglslang_tab.cpp5442 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-3].lex).loc, *(yyvsp[-3].lex).string,… in yyparse() local
5443 … parseContext.intermediate.growAggregate((yyvsp[-5].interm).intermNode, initNode, (yyvsp[-1].lex).… in yyparse()
5452 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string,… in yyparse() local
5453 … parseContext.intermediate.growAggregate((yyvsp[-4].interm).intermNode, initNode, (yyvsp[-1].lex).… in yyparse()
5494 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-3].lex).loc, *(yyvsp[-3].lex).string,… in yyparse() local
5495 …(yyval.interm).intermNode = parseContext.intermediate.growAggregate(0, initNode, (yyvsp[-1].lex).l… in yyparse()
5504 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string,… in yyparse() local
5505 …(yyval.interm).intermNode = parseContext.intermediate.growAggregate(0, initNode, (yyvsp[-1].lex).l… in yyparse()
9955 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string,… in yyparse() local
9956 if (initNode) in yyparse()
[all …]
DParseHelper.cpp6617 TIntermNode* initNode = nullptr; in declareVariable() local
6624 initNode = executeInitializer(loc, initializer, variable); in declareVariable()
6633 return initNode; in declareVariable()
6816 TIntermTyped* initNode = intermediate.addAssign(EOpAssign, intermSymbol, initializer, loc); in executeInitializer() local
6817 if (! initNode) in executeInitializer()
6820 return initNode; in executeInitializer()
/external/angle/third_party/glslang/src/glslang/MachineIndependent/
Dglslang.y1100 …TIntermNode* initNode = parseContext.declareVariable($3.loc, *$3.string, $1.type, $4.arraySizes, $… variable
1101 $$.intermNode = parseContext.intermediate.growAggregate($1.intermNode, initNode, $5.loc);
1105 TIntermNode* initNode = parseContext.declareVariable($3.loc, *$3.string, $1.type, 0, $5); variable
1106 $$.intermNode = parseContext.intermediate.growAggregate($1.intermNode, initNode, $4.loc);
1130 … TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, $3.arraySizes, $5); variable
1131 $$.intermNode = parseContext.intermediate.growAggregate(0, initNode, $4.loc);
1135 TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, 0, $4); variable
1136 $$.intermNode = parseContext.intermediate.growAggregate(0, initNode, $3.loc);
3619 TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, 0, $4); variable
3620 if (initNode)
[all …]
Dglslang.m41100 …TIntermNode* initNode = parseContext.declareVariable($3.loc, *$3.string, $1.type, $4.arraySizes, $…
1101 $$.intermNode = parseContext.intermediate.growAggregate($1.intermNode, initNode, $5.loc);
1105 TIntermNode* initNode = parseContext.declareVariable($3.loc, *$3.string, $1.type, 0, $5);
1106 $$.intermNode = parseContext.intermediate.growAggregate($1.intermNode, initNode, $4.loc);
1130 … TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, $3.arraySizes, $5);
1131 $$.intermNode = parseContext.intermediate.growAggregate(0, initNode, $4.loc);
1135 TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, 0, $4);
1136 $$.intermNode = parseContext.intermediate.growAggregate(0, initNode, $3.loc);
3619 TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, 0, $4);
3620 if (initNode)
[all …]
Dglslang_tab.cpp5442 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-3].lex).loc, *(yyvsp[-3].lex).string,… in yyparse() local
5443 … parseContext.intermediate.growAggregate((yyvsp[-5].interm).intermNode, initNode, (yyvsp[-1].lex).… in yyparse()
5452 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string,… in yyparse() local
5453 … parseContext.intermediate.growAggregate((yyvsp[-4].interm).intermNode, initNode, (yyvsp[-1].lex).… in yyparse()
5494 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-3].lex).loc, *(yyvsp[-3].lex).string,… in yyparse() local
5495 …(yyval.interm).intermNode = parseContext.intermediate.growAggregate(0, initNode, (yyvsp[-1].lex).l… in yyparse()
5504 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string,… in yyparse() local
5505 …(yyval.interm).intermNode = parseContext.intermediate.growAggregate(0, initNode, (yyvsp[-1].lex).l… in yyparse()
9955 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string,… in yyparse() local
9956 if (initNode) in yyparse()
[all …]
DParseHelper.cpp6566 TIntermNode* initNode = nullptr; in declareVariable() local
6573 initNode = executeInitializer(loc, initializer, variable); in declareVariable()
6582 return initNode; in declareVariable()
6765 TIntermTyped* initNode = intermediate.addAssign(EOpAssign, intermSymbol, initializer, loc); in executeInitializer() local
6766 if (! initNode) in executeInitializer()
6769 return initNode; in executeInitializer()
/external/angle/third_party/glslang/src/hlsl/
DhlslGrammar.cpp3797 TIntermNode* initNode = nullptr; in acceptIterationStatement() local
3798 if (! acceptSimpleStatement(initNode)) in acceptIterationStatement()
3826 …statement = intermediate.addForLoop(statement, initNode, condition, iterator, true, loc, loopNode); in acceptIterationStatement()
DhlslParseHelper.cpp7984 TIntermNode* initNode = handleAssign(loc, EOpAssign, intermSymbol, initializer); in executeInitializer() local
7985 if (initNode == nullptr) in executeInitializer()
7987 return initNode; in executeInitializer()
/external/deqp-deps/glslang/hlsl/
DhlslGrammar.cpp3797 TIntermNode* initNode = nullptr; in acceptIterationStatement() local
3798 if (! acceptSimpleStatement(initNode)) in acceptIterationStatement()
3826 …statement = intermediate.addForLoop(statement, initNode, condition, iterator, true, loc, loopNode); in acceptIterationStatement()
DhlslParseHelper.cpp7984 TIntermNode* initNode = handleAssign(loc, EOpAssign, intermSymbol, initializer); in executeInitializer() local
7985 if (initNode == nullptr) in executeInitializer()
7987 return initNode; in executeInitializer()