Searched refs:loopNode (Results 1 – 5 of 5) sorted by relevance
/external/angle/src/compiler/translator/TranslatorMetalDirect/ |
D | EmitMetal.cpp | 2251 bool GenMetalTraverser::visitLoop(Visit, TIntermLoop *loopNode) in visitLoop() argument 2253 const TLoopType loopType = loopNode->getType(); in visitLoop() 2258 return visitForLoop(loopNode); in visitLoop() 2260 return visitWhileLoop(loopNode); in visitLoop() 2262 return visitDoWhileLoop(loopNode); in visitLoop() 2266 bool GenMetalTraverser::visitForLoop(TIntermLoop *loopNode) in visitForLoop() argument 2268 ASSERT(loopNode->getType() == TLoopType::ELoopFor); in visitForLoop() 2270 TIntermNode *initNode = loopNode->getInit(); in visitForLoop() 2271 TIntermTyped *condNode = loopNode->getCondition(); in visitForLoop() 2272 TIntermTyped *exprNode = loopNode->getExpression(); in visitForLoop() [all …]
|
/external/deqp-deps/glslang/glslang/HLSL/ |
D | hlslGrammar.cpp | 3736 TIntermLoop* loopNode = nullptr; in acceptIterationStatement() local 3762 loopNode = intermediate.addLoop(statement, condition, nullptr, true, loc); in acceptIterationStatement() 3763 statement = loopNode; in acceptIterationStatement() 3795 loopNode = intermediate.addLoop(statement, condition, 0, false, loc); in acceptIterationStatement() 3796 statement = loopNode; in acceptIterationStatement() 3839 …statement = intermediate.addForLoop(statement, initNode, condition, iterator, true, loc, loopNode); in acceptIterationStatement() 3852 parseContext.handleLoopAttributes(loc, loopNode, attributes); in acceptIterationStatement()
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/ |
D | hlslGrammar.cpp | 3738 TIntermLoop* loopNode = nullptr; in acceptIterationStatement() local 3764 loopNode = intermediate.addLoop(statement, condition, nullptr, true, loc); in acceptIterationStatement() 3765 statement = loopNode; in acceptIterationStatement() 3797 loopNode = intermediate.addLoop(statement, condition, 0, false, loc); in acceptIterationStatement() 3798 statement = loopNode; in acceptIterationStatement() 3841 …statement = intermediate.addForLoop(statement, initNode, condition, iterator, true, loc, loopNode); in acceptIterationStatement() 3854 parseContext.handleLoopAttributes(loc, loopNode, attributes); in acceptIterationStatement()
|
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/ |
D | GlslangToSpv.cpp | 1208 …:LoopControlMask TGlslangToSpvTraverser::TranslateLoopControl(const glslang::TIntermLoop& loopNode, in TranslateLoopControl() argument 1213 if (loopNode.getDontUnroll()) in TranslateLoopControl() 1215 if (loopNode.getUnroll()) in TranslateLoopControl() 1217 if (unsigned(loopNode.getLoopDependency()) == glslang::TIntermLoop::dependencyInfinite) in TranslateLoopControl() 1219 else if (loopNode.getLoopDependency() > 0) { in TranslateLoopControl() 1221 operands.push_back((unsigned int)loopNode.getLoopDependency()); in TranslateLoopControl() 1224 if (loopNode.getMinIterations() > 0) { in TranslateLoopControl() 1226 operands.push_back(loopNode.getMinIterations()); in TranslateLoopControl() 1228 if (loopNode.getMaxIterations() < glslang::TIntermLoop::iterationsInfinite) { in TranslateLoopControl() 1230 operands.push_back(loopNode.getMaxIterations()); in TranslateLoopControl() [all …]
|
/external/deqp-deps/glslang/SPIRV/ |
D | GlslangToSpv.cpp | 1206 …:LoopControlMask TGlslangToSpvTraverser::TranslateLoopControl(const glslang::TIntermLoop& loopNode, in TranslateLoopControl() argument 1211 if (loopNode.getDontUnroll()) in TranslateLoopControl() 1213 if (loopNode.getUnroll()) in TranslateLoopControl() 1215 if (unsigned(loopNode.getLoopDependency()) == glslang::TIntermLoop::dependencyInfinite) in TranslateLoopControl() 1217 else if (loopNode.getLoopDependency() > 0) { in TranslateLoopControl() 1219 operands.push_back((unsigned int)loopNode.getLoopDependency()); in TranslateLoopControl() 1222 if (loopNode.getMinIterations() > 0) { in TranslateLoopControl() 1224 operands.push_back(loopNode.getMinIterations()); in TranslateLoopControl() 1226 if (loopNode.getMaxIterations() < glslang::TIntermLoop::iterationsInfinite) { in TranslateLoopControl() 1228 operands.push_back(loopNode.getMaxIterations()); in TranslateLoopControl() [all …]
|