Home
last modified time | relevance | path

Searched refs:getSequence (Results 1 – 25 of 98) sorted by relevance

1234

/external/angle/src/compiler/translator/tree_ops/
DRemoveSwitchFallThrough.cpp65 ASSERT(rm.mPreviousCase || statementList->getSequence()->empty()); in removeFallThrough()
71 rm.mPreviousCase->getSequence()->push_back(finalBreak); in removeFallThrough()
94 mPreviousCase->getSequence()->push_back(node); in visitSymbol()
108 mPreviousCase->getSequence()->push_back(node); in visitDeclaration()
115 mPreviousCase->getSequence()->push_back(node); in visitBinary()
122 mPreviousCase->getSequence()->push_back(node); in visitUnary()
129 mPreviousCase->getSequence()->push_back(node); in visitTernary()
136 mPreviousCase->getSequence()->push_back(node); in visitSwizzle()
143 mPreviousCase->getSequence()->push_back(node); in visitIfElse()
150 mPreviousCase->getSequence()->push_back(node); in visitSwitch()
[all …]
DDeferGlobalInitializers.cpp46 ASSERT(declaration->getSequence()->size() == 1); in GetDeferredInitializers()
48 TIntermNode *declarator = declaration->getSequence()->back(); in GetDeferredInitializers()
107 initGlobalsBlock->getSequence()->swap(*deferredInitializers); in InsertInitCallToMain()
115 root->getSequence()->insert(root->getSequence()->begin(), initGlobalsFunctionPrototype); in InsertInitCallToMain()
124 mainBody->getSequence()->insert(mainBody->getSequence()->begin(), initGlobalsCall); in InsertInitCallToMain()
141 for (TIntermNode *statement : *root->getSequence()) in DeferGlobalInitializers()
DSimplifyLoopConditions.cpp171 newBody->getSequence()->push_back(node->getBody()); in traverseLoop()
173 newBody->getSequence()->push_back( in traverseLoop()
201 newBody->getSequence()->push_back(node->getBody()); in traverseLoop()
203 newBody->getSequence()->push_back( in traverseLoop()
228 TIntermSequence *loopScopeSequence = loopScope->getSequence(); in traverseLoop()
253 whileLoopBody->getSequence()->push_back(node->getBody()); in traverseLoop()
258 whileLoopBody->getSequence()->push_back(node->getExpression()); in traverseLoop()
263 whileLoopBody->getSequence()->push_back( in traverseLoop()
271 loopScope->getSequence()->push_back(whileLoop); in traverseLoop()
DRemoveDynamicIndexing.cpp193 statementList->getSequence()->push_back(caseNode); in GetIndexFunctionDefinition()
201 statementList->getSequence()->push_back(assignNode); in GetIndexFunctionDefinition()
203 statementList->getSequence()->push_back(returnNode); in GetIndexFunctionDefinition()
208 statementList->getSequence()->push_back(returnNode); in GetIndexFunctionDefinition()
214 statementList->getSequence()->push_back(defaultNode); in GetIndexFunctionDefinition()
216 statementList->getSequence()->push_back(breakNode); in GetIndexFunctionDefinition()
221 bodyNode->getSequence()->push_back(switchNode); in GetIndexFunctionDefinition()
238 useFirstBlock->getSequence()->push_back(assignFirstNode); in GetIndexFunctionDefinition()
240 useFirstBlock->getSequence()->push_back(returnNode); in GetIndexFunctionDefinition()
244 useLastBlock->getSequence()->push_back(assignLastNode); in GetIndexFunctionDefinition()
[all …]
DRewriteElseBlocks.cpp54 for (size_t statementIndex = 0; statementIndex != node->getSequence()->size(); in visitBlock()
57 TIntermNode *statement = (*node->getSequence())[statementIndex]; in visitBlock()
61 (*node->getSequence())[statementIndex] = rewriteIfElse(ifElse); in visitBlock()
107 block->getSequence()->push_back(storeCondition); in rewriteIfElse()
108 block->getSequence()->push_back(newIfElse); in rewriteIfElse()
DWrapSwitchStatementsInBlocks.cpp51 TIntermSequence *statementList = node->getStatementList()->getSequence(); in visitSwitch()
71 ASSERT(declaration->getSequence()->size() == 1); in visitSwitch()
74 TIntermSymbol *declaratorAsSymbol = declaration->getSequence()->at(0)->getAsSymbolNode(); in visitSwitch()
94 declaration->getSequence()->at(0)->getAsBinaryNode(); in visitSwitch()
DRemovePow.cpp28 ASSERT(agg->getSequence()->size() == 2); in IsProblematicPow()
29 return agg->getSequence()->at(1)->getAsConstantUnion() != nullptr; in IsProblematicPow()
57 TIntermTyped *x = node->getSequence()->at(0)->getAsTyped(); in visitAggregate()
58 TIntermTyped *y = node->getSequence()->at(1)->getAsTyped(); in visitAggregate()
DRewriteDoWhile.cpp59 TIntermSequence *statements = node->getSequence(); in visitBlock()
96 breakBlock->getSequence()->push_back(breakStatement); in visitBlock()
104 innerIfBlock->getSequence()->push_back(innerIf); in visitBlock()
119 auto sequence = body->getSequence(); in visitBlock()
DAddDefaultReturnStatements.cpp32 TIntermBranch *returnNode = bodyNode->getSequence()->back()->getAsBranchNode(); in NeedsReturnStatement()
46 for (TIntermNode *node : *root->getSequence()) in AddDefaultReturnStatements()
54 bodyNode->getSequence()->push_back(branch); in AddDefaultReturnStatements()
DScalarizeVecAndMatConstructorArgs.cpp101 for (TIntermNode *child : *node->getSequence()) in visitBlock()
108 if (mBlockStack.back().size() > node->getSequence()->size()) in visitBlock()
110 node->getSequence()->clear(); in visitBlock()
111 *(node->getSequence()) = mBlockStack.back(); in visitBlock()
124 TIntermSequence *sequence = aggregate->getSequence(); in scalarizeArgs()
DPruneEmptyCases.cpp27 return AreEmptyBlocks(asBlock->getSequence()); in IsEmptyBlock()
32 !node->getAsDeclarationNode()->getSequence()->empty()); in IsEmptyBlock()
76 TIntermSequence *statements = statementList->getSequence(); in visitSwitch()
DUnfoldShortCircuitToIf.cpp86 assignRightBlock->getSequence()->push_back( in visitBinary()
113 assignRightBlock->getSequence()->push_back( in visitBinary()
154 trueBlock->getSequence()->push_back(trueAssignment); in visitTernary()
159 falseBlock->getSequence()->push_back(falseAssignment); in visitTernary()
DPruneNoOps.cpp32 node->getAsDeclarationNode()->getSequence()->empty(); in IsNoOp()
67 TIntermSequence *sequence = node->getSequence(); in visitDeclaration()
130 TIntermSequence *statements = node->getSequence(); in visitBlock()
DSeparateArrayConstructorStatements.cpp32 SplitConstructorArgs(*argAggregate->getSequence(), argsOut); in SplitConstructorArgs()
68 SplitConstructorArgs(*node->getSequence(), &constructorArgs); in visitAggregate()
DInitializeVariables.cpp122 TIntermSequence *forLoopBodySeq = forLoopBody->getSequence(); in AddArrayZeroInitForLoop()
224 for (TIntermNode *declarator : *node->getSequence()) in visitDeclaration()
253 ASSERT(node->getSequence()->size() == 1); in visitDeclaration()
311 InsertInitCode(compiler, body->getSequence(), vars, symbolTable, shaderVersion, in InitializeVariables()
/external/angle/third_party/glslang/src/hlsl/
DhlslParseHelper.cpp228 TIntermTyped* object = lhsAsAggregate->getSequence()[0]->getAsTyped(); in lValueErrorCheck()
282 loadOp->getSequence().push_back(object); in handleLvalue()
283 loadOp->getSequence().push_back(intermediate.addSymbol(*coord->getAsSymbolNode())); in handleLvalue()
294 storeOp->getSequence().push_back(object); in handleLvalue()
295 storeOp->getSequence().push_back(coord); in handleLvalue()
296 storeOp->getSequence().push_back(intermediate.addSymbol(*rhsTmp)); in handleLvalue()
345 const TIntermSequence& seq = asAggregate->getSequence(); in handleLvalue()
375 TIntermTyped* object = lhsAsAggregate->getSequence()[0]->getAsTyped(); in handleLvalue()
376 TIntermTyped* coord = lhsAsAggregate->getSequence()[1]->getAsTyped(); in handleLvalue()
738 load->getSequence().push_back(base); in handleBracketOperator()
[all …]
/external/deqp-deps/glslang/hlsl/
DhlslParseHelper.cpp228 TIntermTyped* object = lhsAsAggregate->getSequence()[0]->getAsTyped(); in lValueErrorCheck()
282 loadOp->getSequence().push_back(object); in handleLvalue()
283 loadOp->getSequence().push_back(intermediate.addSymbol(*coord->getAsSymbolNode())); in handleLvalue()
294 storeOp->getSequence().push_back(object); in handleLvalue()
295 storeOp->getSequence().push_back(coord); in handleLvalue()
296 storeOp->getSequence().push_back(intermediate.addSymbol(*rhsTmp)); in handleLvalue()
345 const TIntermSequence& seq = asAggregate->getSequence(); in handleLvalue()
375 TIntermTyped* object = lhsAsAggregate->getSequence()[0]->getAsTyped(); in handleLvalue()
376 TIntermTyped* coord = lhsAsAggregate->getSequence()[1]->getAsTyped(); in handleLvalue()
738 load->getSequence().push_back(base); in handleBracketOperator()
[all …]
/external/angle/src/compiler/translator/tree_util/
DIntermNodePatternMatcher.cpp151 if (node->getType().isVector() && ContainsMatrixNode(*(node->getSequence()))) in match()
155 else if (node->getType().isMatrix() && ContainsVectorNode(*(node->getSequence()))) in match()
177 if (node->getSequence()->size() > 1) in match()
184 if (node->getSequence()->front()->getAsTyped()->getType().isStructureContainingArrays()) in match()
190 for (TIntermNode *declarator : *node->getSequence()) in match()
200 TIntermTyped *declarator = node->getSequence()->front()->getAsTyped(); in match()
DFindMain.cpp19 const TIntermSequence &sequence = *root->getSequence(); in FindMainIndex()
34 for (TIntermNode *node : *root->getSequence()) in FindMain()
/external/angle/third_party/glslang/src/glslang/MachineIndependent/
Dattribute.cpp79 return args == nullptr ? 0 : (int)args->getSequence().size(); in size()
88 if (argNum >= (int)args->getSequence().size()) in getConstUnion()
91 if (args->getSequence()[argNum]->getAsConstantUnion() == nullptr) in getConstUnion()
94 …const TConstUnion* constVal = &args->getSequence()[argNum]->getAsConstantUnion()->getConstArray()[… in getConstUnion()
231 for (auto it = agg->getSequence().begin(); it != agg->getSequence().end(); ++it) { in handleLoopAttributes()
DparseConst.cpp79 …bool flag = node->getSequence().size() == 1 && node->getSequence()[0]->getAsTyped()->getAsConstant… in visitAggregate()
92 for (TIntermSequence::iterator p = node->getSequence().begin(); in visitAggregate()
93 p != node->getSequence().end(); p++) { in visitAggregate()
/external/deqp-deps/glslang/glslang/MachineIndependent/
Dattribute.cpp79 return args == nullptr ? 0 : (int)args->getSequence().size(); in size()
88 if (argNum >= (int)args->getSequence().size()) in getConstUnion()
91 if (args->getSequence()[argNum]->getAsConstantUnion() == nullptr) in getConstUnion()
94 …const TConstUnion* constVal = &args->getSequence()[argNum]->getAsConstantUnion()->getConstArray()[… in getConstUnion()
231 for (auto it = agg->getSequence().begin(); it != agg->getSequence().end(); ++it) { in handleLoopAttributes()
DparseConst.cpp79 …bool flag = node->getSequence().size() == 1 && node->getSequence()[0]->getAsTyped()->getAsConstant… in visitAggregate()
92 for (TIntermSequence::iterator p = node->getSequence().begin(); in visitAggregate()
93 p != node->getSequence().end(); p++) { in visitAggregate()
/external/swiftshader/src/OpenGL/compiler/
DparseConst.cpp113 if (node->getSequence().size() == 0) { in visitAggregate()
118 …bool flag = node->getSequence().size() == 1 && node->getSequence()[0]->getAsTyped()->getAsConstant… in visitAggregate()
131 for (TIntermSequence::iterator p = node->getSequence().begin(); in visitAggregate()
132 p != node->getSequence().end(); p++) { in visitAggregate()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_graph.cpp373 if (node->getSequence() == 0) { in classifyDFS()
377 if (node->getSequence() > curr->getSequence()) { in classifyDFS()
387 if (node->getSequence() == 0) { in classifyDFS()
391 if (node->getSequence() > curr->getSequence()) { in classifyDFS()
414 if (t->getSequence() < seq) { in findLightestPathWeight()

1234