Home
last modified time | relevance | path

Searched refs:newBody (Results 1 – 6 of 6) sorted by relevance

/external/angle/src/compiler/translator/tree_ops/
DSimplifyLoopConditions.cpp241 TIntermBlock *newBody = new TIntermBlock(); in traverseLoop() local
244 newBody->getSequence()->push_back(node->getBody()); in traverseLoop()
246 newBody->getSequence()->push_back( in traverseLoop()
252 node->setBody(newBody); in traverseLoop()
303 TIntermBlock *newBody = new TIntermBlock(); in traverseLoop() local
306 newBody->getSequence()->push_back(node->getBody()); in traverseLoop()
308 newBody->getSequence()->push_back( in traverseLoop()
314 node->setBody(newBody); in traverseLoop()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DRewritePipelines.cpp735 auto *newBody = new TIntermBlock(); in visitMain() local
736 newBody->appendStatement(new TIntermDeclaration{mPipelineMainLocalVar.internal}); in visitMain()
749 newBody->appendStatement(assignNode); in visitMain()
778 newBody->appendStatement(mkAssign(textureField, textureParam)); in visitMain()
779 newBody->appendStatement(mkAssign(samplerField, samplerParam)); in visitMain()
802 newBody->appendStatement(new TIntermBinary( in visitMain()
810 newBody->appendStatement(new TIntermDeclaration{mPipelineMainLocalVar.external}); in visitMain()
811 callModifiedToOriginal(*newBody); in visitMain()
814 newBody->appendStatement(body); in visitMain()
818 callOriginalToModified(*newBody); in visitMain()
[all …]
DIntermRebuild.cpp736 auto *const newBody = traverseAnyAs<TIntermBlock>(*body); in traverseFunctionDefinitionChildren() local
737 GUARD(newBody); in traverseFunctionDefinitionChildren()
739 if (newProto != proto || newBody != body) in traverseFunctionDefinitionChildren()
741 return new TIntermFunctionDefinition(newProto, newBody); in traverseFunctionDefinitionChildren()
787 auto *const newBody = traverseAnyAs<TIntermBlock>(*body); in traverseLoopChildren() local
788 GUARD(newBody); in traverseLoopChildren()
805 if (newInit != init || newCond != cond || newExpr != expr || newBody != body) in traverseLoopChildren()
810 GUARD(newBody); in traverseLoopChildren()
814 GUARD(newCond && newBody); in traverseLoopChildren()
818 return new TIntermLoop(loopType, newInit, newCond, newExpr, newBody); in traverseLoopChildren()
/external/autotest/frontend/client/src/autotest/common/table/
DTableRenderer.java88 Element newBody = newTable.getFirstChildElement(); in renderBody() local
89 tableObject.getElement().appendChild(newBody); in renderBody()
91 setBodyElement(tableObject, newBody); in renderBody()
97 protected native void setBodyElement(HTMLTable table, Element newBody) /*-{ in setBodyElement() argument
/external/llvm-project/mlir/test/lib/Dialect/Test/
DTestTypes.h77 LogicalResult mutate(TypeStorageAllocator &allocator, Type newBody) { in mutate()
79 if (body && body != newBody) in mutate()
82 body = newBody; in mutate()
/external/llvm-project/mlir/lib/Conversion/SCFToStandard/
DSCFToStandard.cpp461 Block *newBody = rewriter.getInsertionBlock(); in matchAndRewrite() local
462 if (newBody->empty()) in matchAndRewrite()
463 rewriter.mergeBlocks(parallelOp.getBody(), newBody, ivs); in matchAndRewrite()
465 rewriter.mergeBlockBefore(parallelOp.getBody(), newBody->getTerminator(), in matchAndRewrite()