Home
last modified time | relevance | path

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

/external/angle/src/compiler/translator/tree_ops/d3d/
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()
/external/angle/src/compiler/translator/tree_ops/
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/TranslatorMetalDirect/
DRewriteGlobalQualifierDecls.cpp27 if (TIntermBinary *initNode = declaratorNode->getAsBinaryNode()) in visitDeclarationPre() local
29 symbolNode = initNode->getLeft()->getAsSymbolNode(); in visitDeclarationPre()
DAstHelpers.cpp30 TIntermBinary *initNode = childNode->getAsBinaryNode(); in ViewDeclaration() local
31 ASSERT(initNode); in ViewDeclaration()
32 ASSERT(initNode->getOp() == TOperator::EOpInitialize); in ViewDeclaration()
33 symbolNode = initNode->getLeft()->getAsSymbolNode(); in ViewDeclaration()
35 return {*symbolNode, initNode->getRight()}; in ViewDeclaration()
DEmitMetal.cpp2214 else if (TIntermBinary *initNode = node.getAsBinaryNode()) in visitDeclaration() local
2216 ASSERT(initNode->getOp() == TOperator::EOpInitialize); in visitDeclaration()
2217 TIntermSymbol *leftSymbolNode = initNode->getLeft()->getAsSymbolNode(); in visitDeclaration()
2218 TIntermTyped *valueNode = initNode->getRight()->getAsTyped(); in visitDeclaration()
2270 TIntermNode *initNode = loopNode->getInit(); in visitForLoop() local
2278 if (initNode) in visitForLoop()
2280 initNode->traverse(this); in visitForLoop()
2312 TIntermNode *initNode = loopNode->getInit(); in visitWhileLoop() local
2317 ASSERT(!initNode && !exprNode); in visitWhileLoop()
2332 TIntermNode *initNode = loopNode->getInit(); in visitDoWhileLoop() local
[all …]
/external/angle/src/compiler/translator/
DParseContext.cpp2253 TIntermBinary **initNode) in executeInitializer() argument
2255 ASSERT(initNode != nullptr); in executeInitializer()
2256 ASSERT(*initNode == nullptr); in executeInitializer()
2343 ASSERT(*initNode == nullptr); in executeInitializer()
2349 *initNode = new TIntermBinary(EOpInitialize, intermSymbol, initializer); in executeInitializer()
2351 (*initNode)->setLine(line); in executeInitializer()
2361 TIntermBinary *initNode = nullptr; in addConditionInitializer() local
2363 if (executeInitializer(loc, identifier, type, initializer, &initNode)) in addConditionInitializer()
2368 if (initNode == nullptr) in addConditionInitializer()
2375 declaration->appendDeclarator(initNode); in addConditionInitializer()
[all …]
DParseContext.h214 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.y1114 …TIntermNode* initNode = parseContext.declareVariable($3.loc, *$3.string, $1.type, $4.arraySizes, $… variable
1115 $$.intermNode = parseContext.intermediate.growAggregate($1.intermNode, initNode, $5.loc);
1119 TIntermNode* initNode = parseContext.declareVariable($3.loc, *$3.string, $1.type, 0, $5); variable
1120 $$.intermNode = parseContext.intermediate.growAggregate($1.intermNode, initNode, $4.loc);
1144 … TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, $3.arraySizes, $5); variable
1145 $$.intermNode = parseContext.intermediate.growAggregate(0, initNode, $4.loc);
1149 TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, 0, $4); variable
1150 $$.intermNode = parseContext.intermediate.growAggregate(0, initNode, $3.loc);
3749 TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, 0, $4); variable
3750 if (initNode)
[all …]
Dglslang.m41114 …TIntermNode* initNode = parseContext.declareVariable($3.loc, *$3.string, $1.type, $4.arraySizes, $…
1115 $$.intermNode = parseContext.intermediate.growAggregate($1.intermNode, initNode, $5.loc);
1119 TIntermNode* initNode = parseContext.declareVariable($3.loc, *$3.string, $1.type, 0, $5);
1120 $$.intermNode = parseContext.intermediate.growAggregate($1.intermNode, initNode, $4.loc);
1144 … TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, $3.arraySizes, $5);
1145 $$.intermNode = parseContext.intermediate.growAggregate(0, initNode, $4.loc);
1149 TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, 0, $4);
1150 $$.intermNode = parseContext.intermediate.growAggregate(0, initNode, $3.loc);
3749 TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, 0, $4);
3750 if (initNode)
[all …]
Dglslang_tab.cpp5891 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-3].lex).loc, *(yyvsp[-3].lex).string,… in yyparse() local
5892 … parseContext.intermediate.growAggregate((yyvsp[-5].interm).intermNode, initNode, (yyvsp[-1].lex).… in yyparse()
5901 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string,… in yyparse() local
5902 … parseContext.intermediate.growAggregate((yyvsp[-4].interm).intermNode, initNode, (yyvsp[-1].lex).… in yyparse()
5943 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-3].lex).loc, *(yyvsp[-3].lex).string,… in yyparse() local
5944 …(yyval.interm).intermNode = parseContext.intermediate.growAggregate(0, initNode, (yyvsp[-1].lex).l… in yyparse()
5953 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string,… in yyparse() local
5954 …(yyval.interm).intermNode = parseContext.intermediate.growAggregate(0, initNode, (yyvsp[-1].lex).l… in yyparse()
10635 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string,… in yyparse() local
10636 if (initNode) in yyparse()
[all …]
DParseHelper.cpp6757 TIntermNode* initNode = nullptr; in declareVariable() local
6764 initNode = executeInitializer(loc, initializer, variable); in declareVariable()
6773 return initNode; in declareVariable()
6992 TIntermTyped* initNode = intermediate.addAssign(EOpAssign, intermSymbol, initializer, loc); in executeInitializer() local
6993 if (! initNode) in executeInitializer()
6996 return initNode; in executeInitializer()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
Dglslang.y1168 …TIntermNode* initNode = parseContext.declareVariable($3.loc, *$3.string, $1.type, $4.arraySizes, $… variable
1169 $$.intermNode = parseContext.intermediate.growAggregate($1.intermNode, initNode, $5.loc);
1173 TIntermNode* initNode = parseContext.declareVariable($3.loc, *$3.string, $1.type, 0, $5); variable
1174 $$.intermNode = parseContext.intermediate.growAggregate($1.intermNode, initNode, $4.loc);
1198 … TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, $3.arraySizes, $5); variable
1199 $$.intermNode = parseContext.intermediate.growAggregate(0, initNode, $4.loc);
1203 TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, 0, $4); variable
1204 $$.intermNode = parseContext.intermediate.growAggregate(0, initNode, $3.loc);
3827 TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, 0, $4); variable
3828 if (initNode)
[all …]
Dglslang.m41168 …TIntermNode* initNode = parseContext.declareVariable($3.loc, *$3.string, $1.type, $4.arraySizes, $…
1169 $$.intermNode = parseContext.intermediate.growAggregate($1.intermNode, initNode, $5.loc);
1173 TIntermNode* initNode = parseContext.declareVariable($3.loc, *$3.string, $1.type, 0, $5);
1174 $$.intermNode = parseContext.intermediate.growAggregate($1.intermNode, initNode, $4.loc);
1198 … TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, $3.arraySizes, $5);
1199 $$.intermNode = parseContext.intermediate.growAggregate(0, initNode, $4.loc);
1203 TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, 0, $4);
1204 $$.intermNode = parseContext.intermediate.growAggregate(0, initNode, $3.loc);
3827 TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, 0, $4);
3828 if (initNode)
[all …]
Dglslang_tab.cpp6450 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-3].lex).loc, *(yyvsp[-3].lex).string,… in yyparse() local
6451 … parseContext.intermediate.growAggregate((yyvsp[-5].interm).intermNode, initNode, (yyvsp[-1].lex).… in yyparse()
6460 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string,… in yyparse() local
6461 … parseContext.intermediate.growAggregate((yyvsp[-4].interm).intermNode, initNode, (yyvsp[-1].lex).… in yyparse()
6502 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-3].lex).loc, *(yyvsp[-3].lex).string,… in yyparse() local
6503 …(yyval.interm).intermNode = parseContext.intermediate.growAggregate(0, initNode, (yyvsp[-1].lex).l… in yyparse()
6512 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string,… in yyparse() local
6513 …(yyval.interm).intermNode = parseContext.intermediate.growAggregate(0, initNode, (yyvsp[-1].lex).l… in yyparse()
11243 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string,… in yyparse() local
11244 if (initNode) in yyparse()
[all …]
DParseHelper.cpp7206 TIntermNode* initNode = nullptr; in declareVariable() local
7213 initNode = executeInitializer(loc, initializer, variable); in declareVariable()
7222 return initNode; in declareVariable()
7441 TIntermTyped* initNode = intermediate.addAssign(EOpAssign, intermSymbol, initializer, loc); in executeInitializer() local
7442 if (! initNode) in executeInitializer()
7445 return initNode; in executeInitializer()
/external/deqp-deps/glslang/glslang/HLSL/
DhlslGrammar.cpp3810 TIntermNode* initNode = nullptr; in acceptIterationStatement() local
3811 if (! acceptSimpleStatement(initNode)) in acceptIterationStatement()
3839 …statement = intermediate.addForLoop(statement, initNode, condition, iterator, true, loc, loopNode); in acceptIterationStatement()
DhlslParseHelper.cpp8113 TIntermNode* initNode = handleAssign(loc, EOpAssign, intermSymbol, initializer); in executeInitializer() local
8114 if (initNode == nullptr) in executeInitializer()
8116 return initNode; in executeInitializer()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslGrammar.cpp3812 TIntermNode* initNode = nullptr; in acceptIterationStatement() local
3813 if (! acceptSimpleStatement(initNode)) in acceptIterationStatement()
3841 …statement = intermediate.addForLoop(statement, initNode, condition, iterator, true, loc, loopNode); in acceptIterationStatement()
DhlslParseHelper.cpp8117 TIntermNode* initNode = handleAssign(loc, EOpAssign, intermSymbol, initializer); in executeInitializer() local
8118 if (initNode == nullptr) in executeInitializer()
8120 return initNode; in executeInitializer()
/external/llvm-project/llvm/include/llvm/Analysis/
DLazyCallGraph.h1014 Node &initNode(Node &N, LazyCallGraph::SCC &C);
/external/llvm-project/llvm/lib/Analysis/
DCGSCCPassManager.cpp988 G.initNode(*NewNode, *C); in updateCGAndAnalysisManagerForPass()
DLazyCallGraph.cpp1582 LazyCallGraph::Node &LazyCallGraph::initNode(Node &N, LazyCallGraph::SCC &C) { in initNode() function in LazyCallGraph