Home
last modified time | relevance | path

Searched refs:getBody (Results 1 – 25 of 40) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DSimplifyLoopConditions.cpp242 if (node->getBody()) in traverseLoop()
244 newBody->getSequence()->push_back(node->getBody()); in traverseLoop()
304 if (node->getBody()) in traverseLoop()
306 newBody->getSequence()->push_back(node->getBody()); in traverseLoop()
354 if (node->getBody()) in traverseLoop()
356 whileLoopBody->getSequence()->push_back(node->getBody()); in traverseLoop()
393 if (node->getBody()) in traverseLoop()
395 whileLoopBody->getSequence()->push_back(node->getBody()); in traverseLoop()
434 if (node->getBody()) in traverseLoop()
436 whileLoopBody->getSequence()->push_back(node->getBody()); in traverseLoop()
[all …]
DRemoveUnreferencedVariables.cpp348 if (node->getBody()) in traverseLoop()
349 node->getBody()->traverse(this); in traverseLoop()
/third_party/vk-gl-cts/framework/randomshaders/
DrsgFunctionGenerator.cpp48 statementStack.push_back(&m_function.getBody()); in generate()
49 m_function.getBody().init(m_state); in generate()
79 m_function.getBody().addChild(new AssignStatement(m_state, variable, valueRange.asAccess())); in generate()
DrsgShader.hpp51 BlockStatement& getBody (void) { return m_functionBlock; } in getBody() function in rsg::Function
52 const BlockStatement& getBody (void) const { return m_functionBlock; } in getBody() function in rsg::Function
DrsgShaderGenerator.cpp120 createAssignment(shader.getMain().getBody(), entry->getVariable(), inVar); in genVertexPassthrough()
133 createAssignment(shader.getMain().getBody(), fragColorEntry->getVariable(), inColorVariable); in genFragmentPassthrough()
264 createAssignment(main.getBody(), glPosVariable, qpPosVariable); in generate()
DrsgShader.cpp122 m_mainFunction.getBody().execute(execCtx); in execute()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
DAddDefaultReturnStatements.cpp31 TIntermBlock *bodyNode = node->getBody(); in NeedsReturnStatement()
53 TIntermBlock *bodyNode = definition->getBody(); in AddDefaultReturnStatements()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DRunAtTheEndOfShader.cpp77 CreateInternalFunctionDefinitionNode(*oldMain, main->getBody()); in WrapMainAndAppend()
113 main->getBody()->appendStatement(codeToRun); in RunAtTheEndOfShader()
DRunAtTheBeginningOfShader.cpp31 main->getBody()->insertStatement(0, codeToRun); in RunAtTheBeginningOfShader()
DFindMain.cpp49 TIntermBlock *mainBody = main->getBody(); in FindMainBody()
DReplaceShadowingVariables.cpp65 mFunctionBody = node->getBody(); in visitFunctionDefinition()
DReplaceArrayOfMatrixVarying.cpp147 main->getBody()->insertStatement(0, reassignBlock); in ReplaceArrayOfMatrixVarying()
DIntermRebuild.cpp744 auto *const body = node.getBody(); in traverseFunctionDefinitionChildren()
784 auto *const body = node.getBody(); in traverseLoopChildren()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DIntroduceVertexIndexID.cpp72 return new TIntermFunctionDefinition(newProto, node.getBody()); in visitFunctionDefinitionPre()
DWrapMain.cpp70 TIntermBlock *internalMainBody = funcDefNode->getBody(); in visitMain()
DEmitMetal.cpp1855 TIntermBlock &body = *funcDefNode->getBody(); in visitFunctionDefinition()
2291 TIntermBlock *bodyNode = loopNode->getBody(); in visitForLoop()
2333 TIntermBlock *bodyNode = loopNode->getBody(); in visitWhileLoop()
2353 TIntermBlock *bodyNode = loopNode->getBody(); in visitDoWhileLoop()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/
DRewriteDoWhile.cpp114 TIntermBlock *body = loop->getBody(); in visitBlock()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DintermOut.cpp428 if (node->getBody()) { in visitLoop()
430 node->getBody()->traverse(this); in visitLoop()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DOutputGLSLBase.cpp875 visitCodeBlock(node->getBody()); in visitFunctionDefinition()
1001 visitCodeBlock(node->getBody()); in visitLoop()
1010 visitCodeBlock(node->getBody()); in visitLoop()
1017 visitCodeBlock(node->getBody()); in visitLoop()
DOutputTree.cpp654 if (node->getBody()) in visitLoop()
657 node->getBody()->traverse(this); in visitLoop()
DCallDAG.cpp112 node->getBody()->traverse(this); in visitFunctionDefinition()
DTranslatorMetal.cpp103 TIntermSequence *mainSequence = main->getBody()->getSequence(); in InitializeUnusedOutputs()
DValidateLimitations.cpp147 TIntermNode *body = node->getBody(); in visitLoop()
DOutputHLSL.cpp2238 node->getBody()->traverse(this); in visitFunctionDefinition()
2876 if (node->getBody()) in visitLoop()
2879 node->getBody()->traverse(this); in visitLoop()
3155 if (node->getBody()) in handleExcessiveLoop()
3157 node->getBody()->traverse(this); in handleExcessiveLoop()
/third_party/node/deps/v8/tools/gcmole/
Dgcmole.cc246 TraverseStmt(body->getBody()); in AnalyzeFunction()
1271 block.Loop(stmt->getCond(), stmt->getBody()); in DECL_VISIT_STMT()
1279 block.Loop(stmt->getBody(), stmt->getCond()); in DECL_VISIT_STMT()
1287 block.Loop(stmt->getCond(), stmt->getBody(), stmt->getInc()); in DECL_VISIT_STMT()
1301 block.Sequential(stmt->getCond(), stmt->getBody()); in DECL_VISIT_STMT()
1447 VisitStmt(body->getBody(), env); in AnalyzeFunction()

12