/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/ |
D | RemoveSwitchFallThrough.cpp | 65 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 …]
|
D | RewriteElseBlocks.cpp | 54 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()
|
D | WrapSwitchStatementsInBlocks.cpp | 51 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()
|
D | AddDefaultReturnStatements.cpp | 32 TIntermBranch *returnNode = bodyNode->getSequence()->back()->getAsBranchNode(); in NeedsReturnStatement() 46 for (TIntermNode *node : *root->getSequence()) in AddDefaultReturnStatements() 54 bodyNode->getSequence()->push_back(branch); in AddDefaultReturnStatements()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | RemoveSwitchFallThrough.cpp | 65 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 …]
|
D | DeferGlobalInitializers.cpp | 45 ASSERT(declaration->getSequence()->size() == 1); in GetDeferredInitializers() 47 TIntermNode *declarator = declaration->getSequence()->back(); in GetDeferredInitializers() 106 initGlobalsBlock->getSequence()->swap(*deferredInitializers); in InsertInitCallToMain() 114 root->getSequence()->insert(root->getSequence()->begin(), initGlobalsFunctionPrototype); in InsertInitCallToMain() 123 mainBody->getSequence()->insert(mainBody->getSequence()->begin(), initGlobalsCall); in InsertInitCallToMain() 139 for (TIntermNode *statement : *root->getSequence()) in DeferGlobalInitializers()
|
D | SimplifyLoopConditions.cpp | 171 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()
|
D | RemoveDynamicIndexing.cpp | 190 statementList->getSequence()->push_back(caseNode); in GetIndexFunctionDefinition() 198 statementList->getSequence()->push_back(assignNode); in GetIndexFunctionDefinition() 200 statementList->getSequence()->push_back(returnNode); in GetIndexFunctionDefinition() 205 statementList->getSequence()->push_back(returnNode); in GetIndexFunctionDefinition() 211 statementList->getSequence()->push_back(defaultNode); in GetIndexFunctionDefinition() 213 statementList->getSequence()->push_back(breakNode); in GetIndexFunctionDefinition() 218 bodyNode->getSequence()->push_back(switchNode); in GetIndexFunctionDefinition() 235 useFirstBlock->getSequence()->push_back(assignFirstNode); in GetIndexFunctionDefinition() 237 useFirstBlock->getSequence()->push_back(returnNode); in GetIndexFunctionDefinition() 241 useLastBlock->getSequence()->push_back(assignLastNode); in GetIndexFunctionDefinition() [all …]
|
D | RewriteElseBlocks.cpp | 53 for (size_t statementIndex = 0; statementIndex != node->getSequence()->size(); in visitBlock() 56 TIntermNode *statement = (*node->getSequence())[statementIndex]; in visitBlock() 60 (*node->getSequence())[statementIndex] = rewriteIfElse(ifElse); in visitBlock() 106 block->getSequence()->push_back(storeCondition); in rewriteIfElse() 107 block->getSequence()->push_back(newIfElse); in rewriteIfElse()
|
D | WrapSwitchStatementsInBlocks.cpp | 51 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()
|
D | RemovePow.cpp | 28 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()
|
D | RewriteDoWhile.cpp | 58 TIntermSequence *statements = node->getSequence(); in visitBlock() 95 breakBlock->getSequence()->push_back(breakStatement); in visitBlock() 103 innerIfBlock->getSequence()->push_back(innerIf); in visitBlock() 118 auto sequence = body->getSequence(); in visitBlock()
|
D | AddDefaultReturnStatements.cpp | 31 TIntermBranch *returnNode = bodyNode->getSequence()->back()->getAsBranchNode(); in NeedsReturnStatement() 45 for (TIntermNode *node : *root->getSequence()) in AddDefaultReturnStatements() 53 bodyNode->getSequence()->push_back(branch); in AddDefaultReturnStatements()
|
D | ScalarizeVecAndMatConstructorArgs.cpp | 100 for (TIntermNode *child : *node->getSequence()) in visitBlock() 107 if (mBlockStack.back().size() > node->getSequence()->size()) in visitBlock() 109 node->getSequence()->clear(); in visitBlock() 110 *(node->getSequence()) = mBlockStack.back(); in visitBlock() 123 TIntermSequence *sequence = aggregate->getSequence(); in scalarizeArgs()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | DeferGlobalInitializers.cpp | 47 ASSERT(declaration->getSequence()->size() == 1); in GetDeferredInitializers() 49 TIntermNode *declarator = declaration->getSequence()->back(); in GetDeferredInitializers() 110 initGlobalsBlock->getSequence()->swap(*deferredInitializers); in InsertInitCallToMain() 118 root->getSequence()->insert(root->getSequence()->begin(), initGlobalsFunctionPrototype); in InsertInitCallToMain() 128 mainBody->getSequence()->insert(mainBody->getSequence()->begin(), initGlobalsCall); in InsertInitCallToMain() 146 for (TIntermNode *statement : *root->getSequence()) in DeferGlobalInitializers()
|
D | SimplifyLoopConditions.cpp | 244 newBody->getSequence()->push_back(node->getBody()); in traverseLoop() 246 newBody->getSequence()->push_back( in traverseLoop() 306 newBody->getSequence()->push_back(node->getBody()); in traverseLoop() 308 newBody->getSequence()->push_back( in traverseLoop() 327 TIntermSequence *loopScopeSequence = loopScope->getSequence(); in traverseLoop() 356 whileLoopBody->getSequence()->push_back(node->getBody()); in traverseLoop() 361 whileLoopBody->getSequence()->push_back(node->getExpression()); in traverseLoop() 395 whileLoopBody->getSequence()->push_back(node->getBody()); in traverseLoop() 400 whileLoopBody->getSequence()->push_back(node->getExpression()); in traverseLoop() 436 whileLoopBody->getSequence()->push_back(node->getBody()); in traverseLoop() [all …]
|
D | RemoveDynamicIndexing.cpp | 200 statementList->getSequence()->push_back(caseNode); in GetIndexFunctionDefinition() 208 statementList->getSequence()->push_back(assignNode); in GetIndexFunctionDefinition() 210 statementList->getSequence()->push_back(returnNode); in GetIndexFunctionDefinition() 215 statementList->getSequence()->push_back(returnNode); in GetIndexFunctionDefinition() 221 statementList->getSequence()->push_back(defaultNode); in GetIndexFunctionDefinition() 223 statementList->getSequence()->push_back(breakNode); in GetIndexFunctionDefinition() 228 bodyNode->getSequence()->push_back(switchNode); in GetIndexFunctionDefinition() 245 useFirstBlock->getSequence()->push_back(assignFirstNode); in GetIndexFunctionDefinition() 247 useFirstBlock->getSequence()->push_back(returnNode); in GetIndexFunctionDefinition() 251 useLastBlock->getSequence()->push_back(assignLastNode); in GetIndexFunctionDefinition() [all …]
|
D | ScalarizeVecAndMatConstructorArgs.cpp | 95 for (TIntermNode *child : *node->getSequence()) in visitBlock() 102 if (mBlockStack.back().size() > node->getSequence()->size()) in visitBlock() 104 node->getSequence()->clear(); in visitBlock() 105 *(node->getSequence()) = mBlockStack.back(); in visitBlock() 118 TIntermSequence *sequence = aggregate->getSequence(); in scalarizeArgs()
|
/third_party/glslang/glslang/HLSL/ |
D | hlslParseHelper.cpp | 228 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 …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | IntermNodePatternMatcher.cpp | 145 if (node->getType().isVector() && ContainsMatrixNode(*(node->getSequence()))) in match() 149 else if (node->getType().isMatrix() && ContainsVectorNode(*(node->getSequence()))) in match() 171 if (node->getSequence()->size() > 1) in match() 178 if (node->getSequence()->front()->getAsTyped()->getType().isStructureContainingArrays()) in match() 184 for (TIntermNode *declarator : *node->getSequence()) in match() 194 TIntermTyped *declarator = node->getSequence()->front()->getAsTyped(); in match()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | IntermNodePatternMatcher.cpp | 154 if (node->getType().isVector() && ContainsMatrixNode(*(node->getSequence()))) in match() 158 else if (node->getType().isMatrix() && ContainsVectorNode(*(node->getSequence()))) in match() 180 if (node->getSequence()->size() > 1) in match() 187 if (node->getSequence()->front()->getAsTyped()->getType().isStructureContainingArrays()) in match() 193 for (TIntermNode *declarator : *node->getSequence()) in match() 203 TIntermTyped *declarator = node->getSequence()->front()->getAsTyped(); in match()
|
/third_party/glslang/glslang/MachineIndependent/ |
D | LiveTraverser.h | 73 TIntermSequence& globals = intermediate.getTreeRoot()->getAsAggregate()->getSequence(); in pushFunction() 85 TIntermSequence& globals = intermediate.getTreeRoot()->getAsAggregate()->getSequence(); in pushGlobalReference() 89 candidate->getSequence().size() == 1 && in pushGlobalReference() 90 candidate->getSequence()[0]->getAsBinaryNode()) { in pushGlobalReference() 91 TIntermBinary* binary = candidate->getSequence()[0]->getAsBinaryNode(); in pushGlobalReference()
|
D | attribute.cpp | 79 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()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/ |
D | RewriteDoWhile.cpp | 59 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()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | parseConst.cpp | 113 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()
|