Home
last modified time | relevance | path

Searched refs:statementList (Results 1 – 18 of 18) sorted by relevance

/external/angle/src/compiler/translator/tree_ops/d3d/
DRemoveSwitchFallThrough.cpp25 static TIntermBlock *removeFallThrough(TIntermBlock *statementList,
29 RemoveSwitchFallThroughTraverser(TIntermBlock *statementList,
59 TIntermBlock *statementList, in removeFallThrough() argument
62 RemoveSwitchFallThroughTraverser rm(statementList, perfDiagnostics); in removeFallThrough()
63 ASSERT(statementList); in removeFallThrough()
64 statementList->traverse(&rm); in removeFallThrough()
65 ASSERT(rm.mPreviousCase || statementList->getSequence()->empty()); in removeFallThrough()
79 TIntermBlock *statementList, in RemoveSwitchFallThroughTraverser() argument
82 mStatementList(statementList), in RemoveSwitchFallThroughTraverser()
264 TIntermBlock *RemoveSwitchFallThrough(TIntermBlock *statementList, in RemoveSwitchFallThrough() argument
[all …]
DWrapSwitchStatementsInBlocks.cpp51 TIntermSequence *statementList = node->getStatementList()->getSequence(); in visitSwitch() local
52 for (TIntermNode *statement : *statementList) in visitSwitch()
86 ASSERT(declaration != statementList->back()); in visitSwitch()
DRemoveSwitchFallThrough.h22 TIntermBlock *RemoveSwitchFallThrough(TIntermBlock *statementList,
/external/angle/src/compiler/translator/
DValidateSwitch.cpp25 TIntermBlock *statementList,
64 TIntermBlock *statementList, in validate() argument
68 ASSERT(statementList); in validate()
69 statementList->traverse(&validate); in validate()
309 TIntermBlock *statementList, in ValidateSwitchStatementList() argument
312 return ValidateSwitch::validate(switchType, diagnostics, statementList, loc); in ValidateSwitchStatementList()
DValidateSwitch.h22 TIntermBlock *statementList,
DIntermNode.h933 TIntermSwitch(TIntermTyped *init, TIntermBlock *statementList);
946 void setStatementList(TIntermBlock *statementList);
DIntermNode.cpp1488 TIntermSwitch::TIntermSwitch(TIntermTyped *init, TIntermBlock *statementList) in TIntermSwitch() argument
1489 : TIntermNode(), mInit(init), mStatementList(statementList) in TIntermSwitch()
1499 void TIntermSwitch::setStatementList(TIntermBlock *statementList) in setStatementList() argument
1501 ASSERT(statementList); in setStatementList()
1502 mStatementList = statementList; in setStatementList()
DParseContext.h417 TIntermBlock *statementList,
DParseContext.cpp5748 TIntermBlock *statementList, in addSwitch() argument
5760 ASSERT(statementList); in addSwitch()
5761 if (!ValidateSwitchStatementList(switchType, mDiagnostics, statementList, loc)) in addSwitch()
5768 TIntermSwitch *node = new TIntermSwitch(init, statementList); in addSwitch()
/external/angle/src/compiler/translator/tree_ops/
DRemoveDynamicIndexing.cpp189 TIntermBlock *statementList = new TIntermBlock(); in GetIndexFunctionDefinition() local
193 statementList->getSequence()->push_back(caseNode); in GetIndexFunctionDefinition()
201 statementList->getSequence()->push_back(assignNode); in GetIndexFunctionDefinition()
203 statementList->getSequence()->push_back(returnNode); in GetIndexFunctionDefinition()
208 statementList->getSequence()->push_back(returnNode); in GetIndexFunctionDefinition()
214 statementList->getSequence()->push_back(defaultNode); in GetIndexFunctionDefinition()
216 statementList->getSequence()->push_back(breakNode); in GetIndexFunctionDefinition()
218 TIntermSwitch *switchNode = new TIntermSwitch(indexParam->deepCopy(), statementList); in GetIndexFunctionDefinition()
DPruneEmptyCases.cpp75 TIntermBlock *statementList = node->getStatementList(); in visitSwitch() local
76 TIntermSequence *statements = statementList->getSequence(); in visitSwitch()
/external/swiftshader/src/OpenGL/compiler/
DValidateSwitch.cpp20 TIntermAggregate *statementList, const TSourceLoc &loc) in validate() argument
23 ASSERT(statementList); in validate()
24 statementList->traverse(&validate); in validate()
DValidateSwitch.h29 TIntermAggregate *statementList, const TSourceLoc &loc);
Dintermediate.h640 TIntermSwitch(TIntermTyped *init, TIntermAggregate *statementList) in TIntermSwitch() argument
641 : TIntermNode(), mInit(init), mStatementList(statementList) in TIntermSwitch()
650 void setStatementList(TIntermAggregate *statementList) { mStatementList = statementList; } in setStatementList() argument
Dlocalintermediate.h44 …TIntermSwitch *addSwitch(TIntermTyped *init, TIntermAggregate *statementList, const TSourceLoc &li…
DParseHelper.h224 …TIntermSwitch *addSwitch(TIntermTyped *init, TIntermAggregate *statementList, const TSourceLoc &lo…
DParseHelper.cpp3282 TIntermSwitch *TParseContext::addSwitch(TIntermTyped *init, TIntermAggregate *statementList, const … in addSwitch() argument
3295 if(statementList) in addSwitch()
3297 if(!ValidateSwitch::validate(switchType, this, statementList, loc)) in addSwitch()
3304 TIntermSwitch *node = intermediate.addSwitch(init, statementList, loc); in addSwitch()
DIntermediate.cpp687 TIntermSwitch *TIntermediate::addSwitch(TIntermTyped *init, TIntermAggregate *statementList, const … in addSwitch() argument
689 TIntermSwitch *node = new TIntermSwitch(init, statementList); in addSwitch()