Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/angle2/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()
/third_party/skia/third_party/externals/angle2/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()
/third_party/skia/third_party/externals/angle2/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()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DFindPreciseNodes.cpp402 TIntermBinary *initNode = sequence.front()->getAsBinaryNode(); in visitDeclaration() local
407 ASSERT(initNode->getOp() == EOpInitialize); in visitDeclaration()
409 symbol = initNode->getLeft()->getAsSymbolNode(); in visitDeclaration()
410 initExpression = initNode->getRight(); in visitDeclaration()
419 mInfo->variableAssignmentNodeMap[object.variable].push_back(initNode); in visitDeclaration()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
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.cpp2232 else if (TIntermBinary *initNode = node.getAsBinaryNode()) in visitDeclaration() local
2234 ASSERT(initNode->getOp() == TOperator::EOpInitialize); in visitDeclaration()
2235 TIntermSymbol *leftSymbolNode = initNode->getLeft()->getAsSymbolNode(); in visitDeclaration()
2236 TIntermTyped *valueNode = initNode->getRight()->getAsTyped(); in visitDeclaration()
2288 TIntermNode *initNode = loopNode->getInit(); in visitForLoop() local
2296 if (initNode) in visitForLoop()
2298 initNode->traverse(this); in visitForLoop()
2330 TIntermNode *initNode = loopNode->getInit(); in visitWhileLoop() local
2335 ASSERT(!initNode && !exprNode); in visitWhileLoop()
2350 TIntermNode *initNode = loopNode->getInit(); in visitDoWhileLoop() local
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DParseContext.cpp1945 TIntermBinary **initNode) in executeInitializer() argument
1947 ASSERT(initNode != nullptr); in executeInitializer()
1948 ASSERT(*initNode == nullptr); in executeInitializer()
2033 ASSERT(*initNode == nullptr); in executeInitializer()
2039 *initNode = new TIntermBinary(EOpInitialize, intermSymbol, initializer); in executeInitializer()
2041 (*initNode)->setLine(line); in executeInitializer()
2051 TIntermBinary *initNode = nullptr; in addConditionInitializer() local
2053 if (executeInitializer(loc, identifier, type, initializer, &initNode)) in addConditionInitializer()
2058 if (initNode == nullptr) in addConditionInitializer()
2065 declaration->appendDeclarator(initNode); in addConditionInitializer()
[all …]
DParseContext.h206 TIntermBinary **initNode);
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DParseContext.cpp2285 TIntermBinary **initNode) in executeInitializer() argument
2287 ASSERT(initNode != nullptr); in executeInitializer()
2288 ASSERT(*initNode == nullptr); in executeInitializer()
2375 ASSERT(*initNode == nullptr); in executeInitializer()
2381 *initNode = new TIntermBinary(EOpInitialize, intermSymbol, initializer); in executeInitializer()
2383 (*initNode)->setLine(line); in executeInitializer()
2393 TIntermBinary *initNode = nullptr; in addConditionInitializer() local
2395 if (executeInitializer(loc, identifier, type, initializer, &initNode)) in addConditionInitializer()
2400 if (initNode == nullptr) in addConditionInitializer()
2407 declaration->appendDeclarator(initNode); in addConditionInitializer()
[all …]
DParseContext.h218 TIntermBinary **initNode);
/third_party/skia/third_party/externals/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()
/third_party/glslang/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);
3852 TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, 0, $4); variable
3853 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);
3852 TIntermNode* initNode = parseContext.declareVariable($2.loc, *$2.string, $1, 0, $4);
3853 if (initNode)
[all …]
Dglslang_tab.cpp6468 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-3].lex).loc, *(yyvsp[-3].lex).string,… in yyparse() local
6469 … parseContext.intermediate.growAggregate((yyvsp[-5].interm).intermNode, initNode, (yyvsp[-1].lex).… in yyparse()
6478 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string,… in yyparse() local
6479 … parseContext.intermediate.growAggregate((yyvsp[-4].interm).intermNode, initNode, (yyvsp[-1].lex).… in yyparse()
6520 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-3].lex).loc, *(yyvsp[-3].lex).string,… in yyparse() local
6521 …(yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, initNode, (yyvsp[-1].… in yyparse()
6530 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string,… in yyparse() local
6531 …(yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, initNode, (yyvsp[-1].… in yyparse()
11301 …TIntermNode* initNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string,… in yyparse() local
11302 if (initNode) in yyparse()
[all …]
DParseHelper.cpp7381 TIntermNode* initNode = nullptr; in declareVariable() local
7388 initNode = executeInitializer(loc, initializer, variable); in declareVariable()
7397 return initNode; in declareVariable()
7616 TIntermTyped* initNode = intermediate.addAssign(EOpAssign, intermSymbol, initializer, loc); in executeInitializer() local
7617 if (! initNode) in executeInitializer()
7620 return initNode; in executeInitializer()
/third_party/glslang/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.cpp8226 TIntermNode* initNode = handleAssign(loc, EOpAssign, intermSymbol, initializer); in executeInitializer() local
8227 if (initNode == nullptr) in executeInitializer()
8229 return initNode; in executeInitializer()
/third_party/vk-gl-cts/external/vulkan-docs/src/katex/
Dkatex.js1028 var initNode = function initNode(classes, options, style) {
1148 initNode.call(this, classes, options, style);
1194 initNode.call(this, classes, options);
Dkatex.mjs1089 const initNode = function initNode(classes, options, style) { function
1207 initNode.call(this, classes, options, style);
1248 initNode.call(this, classes, options);