Home
last modified time | relevance | path

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

/external/angle/src/compiler/translator/tree_ops/d3d/
DAddDefaultReturnStatements.cpp32 TIntermBranch *returnNode = bodyNode->getSequence()->back()->getAsBranchNode(); in NeedsReturnStatement()
DRemoveSwitchFallThrough.cpp232 TIntermBranch *lastStatementAsBranch = node->getSequence()->back()->getAsBranchNode(); in DoesBlockAlwaysBreak()
/external/angle/src/compiler/translator/tree_util/
DAsNode.h198 return node ? node->getAsBranchNode() : nullptr;
/external/swiftshader/src/OpenGL/compiler/
DAnalyzeCallDepth.cpp25 if((*current)->getAsBranchNode()) // Kill, Break, Continue or Return in traverseCaseBody()
Dintermediate.h285 virtual TIntermBranch* getAsBranchNode() { return 0; } in getAsBranchNode() function
395 virtual TIntermBranch* getAsBranchNode() { return this; } in getAsBranchNode() function
DOutputASM.cpp2045 if((*caseIt)->getAsBranchNode()) in visitSwitch()
2069 if((*defaultIt)->getAsBranchNode()) // Kill, Break, Continue or Return in visitSwitch()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/
Dintermediate.h1093 virtual glslang::TIntermBranch* getAsBranchNode() { return 0; } in getAsBranchNode() function
1106 virtual const glslang::TIntermBranch* getAsBranchNode() const { return 0; } in getAsBranchNode() function
1246 virtual TIntermBranch* getAsBranchNode() { return this; } in getAsBranchNode() function
1247 virtual const TIntermBranch* getAsBranchNode() const { return this; } in getAsBranchNode() function
/external/deqp-deps/glslang/glslang/Include/
Dintermediate.h1089 virtual glslang::TIntermBranch* getAsBranchNode() { return 0; } in getAsBranchNode() function
1102 virtual const glslang::TIntermBranch* getAsBranchNode() const { return 0; } in getAsBranchNode() function
1240 virtual TIntermBranch* getAsBranchNode() { return this; } in getAsBranchNode() function
1241 virtual const TIntermBranch* getAsBranchNode() const { return this; } in getAsBranchNode() function
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DIntermRebuild.cpp384 return visitBranchPre(*originalNode.getAsBranchNode()); in traversePre()
447 return traverseBranchChildren(*currNode.getAsBranchNode()); in traverseChildren()
515 return visitBranchPost(*currNode.getAsBranchNode()); in traversePost()
/external/angle/src/compiler/translator/
DIntermNode.h107 virtual TIntermBranch *getAsBranchNode() { return nullptr; } in getAsBranchNode() function
242 TIntermBranch *getAsBranchNode() override { return this; } in getAsBranchNode() function
DOutputHLSL.cpp2153 node->getSequence()->empty() || !node->getSequence()->back()->getAsBranchNode() || in visitBlock()
2154 node->getSequence()->back()->getAsBranchNode()->getFlowOp() != EOpReturn; in visitBlock()
/external/deqp-deps/glslang/glslang/MachineIndependent/
Dglslang.y3689 if ($1 && $1->getAsBranchNode() && ($1->getAsBranchNode()->getFlowOp() == EOpCase ||
3690 $1->getAsBranchNode()->getFlowOp() == EOpDefault)) {
3696 if ($2 && $2->getAsBranchNode() && ($2->getAsBranchNode()->getFlowOp() == EOpCase ||
3697 $2->getAsBranchNode()->getFlowOp() == EOpDefault)) {
Dglslang.m43689 if ($1 && $1->getAsBranchNode() && ($1->getAsBranchNode()->getFlowOp() == EOpCase ||
3690 $1->getAsBranchNode()->getFlowOp() == EOpDefault)) {
3696 if ($2 && $2->getAsBranchNode() && ($2->getAsBranchNode()->getFlowOp() == EOpCase ||
3697 $2->getAsBranchNode()->getFlowOp() == EOpDefault)) {
Dglslang_tab.cpp10542 …termNode) && (yyvsp[0].interm.intermNode)->getAsBranchNode() && ((yyvsp[0].interm.intermNode)->get… in yyparse()
10543 … (yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpDefault)) { in yyparse()
10554 …termNode) && (yyvsp[0].interm.intermNode)->getAsBranchNode() && ((yyvsp[0].interm.intermNode)->get… in yyparse()
10555 … (yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpDefault)) { in yyparse()
DParseHelper.cpp8678 TIntermBranch* prevBranch = (*switchSequence)[s]->getAsBranchNode(); in wrapupSwitchSubsequence()
8681 TIntermTyped* newExpression = branchNode->getAsBranchNode()->getExpression(); in wrapupSwitchSubsequence()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
Dglslang.y3766 if ($1 && $1->getAsBranchNode() && ($1->getAsBranchNode()->getFlowOp() == EOpCase ||
3767 $1->getAsBranchNode()->getFlowOp() == EOpDefault)) {
3773 if ($2 && $2->getAsBranchNode() && ($2->getAsBranchNode()->getFlowOp() == EOpCase ||
3774 $2->getAsBranchNode()->getFlowOp() == EOpDefault)) {
Dglslang.m43766 if ($1 && $1->getAsBranchNode() && ($1->getAsBranchNode()->getFlowOp() == EOpCase ||
3767 $1->getAsBranchNode()->getFlowOp() == EOpDefault)) {
3773 if ($2 && $2->getAsBranchNode() && ($2->getAsBranchNode()->getFlowOp() == EOpCase ||
3774 $2->getAsBranchNode()->getFlowOp() == EOpDefault)) {
Dglslang_tab.cpp11149 …termNode) && (yyvsp[0].interm.intermNode)->getAsBranchNode() && ((yyvsp[0].interm.intermNode)->get… in yyparse()
11150 … (yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpDefault)) { in yyparse()
11161 …termNode) && (yyvsp[0].interm.intermNode)->getAsBranchNode() && ((yyvsp[0].interm.intermNode)->get… in yyparse()
11162 … (yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpDefault)) { in yyparse()
DParseHelper.cpp9146 TIntermBranch* prevBranch = (*switchSequence)[s]->getAsBranchNode(); in wrapupSwitchSubsequence()
9149 TIntermTyped* newExpression = branchNode->getAsBranchNode()->getExpression(); in wrapupSwitchSubsequence()
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/
DGlslangToSpv.cpp3644 … if (child->getAsBranchNode() && child->getAsBranchNode()->getFlowOp() == glslang::EOpDefault) in visitSwitch()
3646 … else if (child->getAsBranchNode() && child->getAsBranchNode()->getFlowOp() == glslang::EOpCase) { in visitSwitch()
3648 caseValues.push_back(child->getAsBranchNode()->getExpression()->getAsConstantUnion() in visitSwitch()
/external/deqp-deps/glslang/SPIRV/
DGlslangToSpv.cpp3409 … if (child->getAsBranchNode() && child->getAsBranchNode()->getFlowOp() == glslang::EOpDefault) in visitSwitch()
3411 … else if (child->getAsBranchNode() && child->getAsBranchNode()->getFlowOp() == glslang::EOpCase) { in visitSwitch()
3413 caseValues.push_back(child->getAsBranchNode()->getExpression()->getAsConstantUnion() in visitSwitch()
/external/deqp-deps/glslang/glslang/HLSL/
DhlslGrammar.cpp3417 TIntermBranch* branch = statement ? statement->getAsBranchNode() : nullptr; in acceptCompoundStatement()
DhlslParseHelper.cpp9259 TIntermBranch* prevBranch = (*switchSequence)[s]->getAsBranchNode(); in wrapupSwitchSubsequence()
9262 TIntermTyped* newExpression = branchNode->getAsBranchNode()->getExpression(); in wrapupSwitchSubsequence()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslGrammar.cpp3419 TIntermBranch* branch = statement ? statement->getAsBranchNode() : nullptr; in acceptCompoundStatement()
DhlslParseHelper.cpp9263 TIntermBranch* prevBranch = (*switchSequence)[s]->getAsBranchNode(); in wrapupSwitchSubsequence()
9266 TIntermTyped* newExpression = branchNode->getAsBranchNode()->getExpression(); in wrapupSwitchSubsequence()