Home
last modified time | relevance | path

Searched refs:switchNode (Results 1 – 13 of 13) sorted by relevance

/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/filter/
DKotlinWhenFilter.java86 private static void ignoreDefaultBranch(final AbstractInsnNode switchNode, in ignoreDefaultBranch() argument
89 if (switchNode.getOpcode() == Opcodes.LOOKUPSWITCH) { in ignoreDefaultBranch()
90 labels = ((LookupSwitchInsnNode) switchNode).labels; in ignoreDefaultBranch()
92 labels = ((TableSwitchInsnNode) switchNode).labels; in ignoreDefaultBranch()
98 output.replaceBranches(switchNode, newTargets); in ignoreDefaultBranch()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/filter/
DStringSwitchEcjFilterTest.java56 final AbstractInsnNode switchNode = m.instructions.getLast(); in should_filter() local
105 assertReplacedBranches(switchNode, expectedNewTargets); in should_filter()
106 assertIgnored(new Range(switchNode.getNext(), expectedToInclusive)); in should_filter()
132 final AbstractInsnNode switchNode = m.instructions.getLast(); in should_filter_when_default_is_first() local
154 assertReplacedBranches(switchNode, expectedNewTargets); in should_filter_when_default_is_first()
155 assertIgnored(new Range(switchNode.getNext(), expectedToInclusive)); in should_filter_when_default_is_first()
DKotlinWhenFilterTest.java97 final AbstractInsnNode switchNode = m.instructions.getLast(); in should_filter_implicit_default() local
120 assertReplacedBranches(switchNode, newTargets); in should_filter_implicit_default()
/external/angle/src/compiler/translator/tree_ops/
DRemoveDynamicIndexing.cpp218 TIntermSwitch *switchNode = new TIntermSwitch(indexParam->deepCopy(), statementList); in GetIndexFunctionDefinition() local
221 bodyNode->getSequence()->push_back(switchNode); in GetIndexFunctionDefinition()
/external/llvm-project/mlir/lib/Conversion/PDLToPDLInterp/
DPredicateTree.cpp328 if (SwitchNode *switchNode = dyn_cast<SwitchNode>(&*node)) { in foldSwitchToBool() local
329 SwitchNode::ChildMapT &children = switchNode->getChildren(); in foldSwitchToBool()
DPDLToPDLInterp.cpp199 } else if (auto *switchNode = dyn_cast<SwitchNode>(&node)) { in generateMatcher() local
202 for (auto &it : switchNode->getChildren()) in generateMatcher()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DEmitMetal.cpp1663 bool GenMetalTraverser::visitSwitch(Visit, TIntermSwitch *switchNode) in visitSwitch() argument
1667 switchNode->getInit()->traverse(this); in visitSwitch()
1672 switchNode->getStatementList()->traverse(this); in visitSwitch()
/external/deqp-deps/glslang/glslang/HLSL/
DhlslParseHelper.cpp9308 TIntermSwitch* switchNode = new TIntermSwitch(expression, body); in addSwitch() local
9309 switchNode->setLoc(loc); in addSwitch()
9310 handleSwitchAttributes(loc, switchNode, attributes); in addSwitch()
9312 return switchNode; in addSwitch()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslParseHelper.cpp9312 TIntermSwitch* switchNode = new TIntermSwitch(expression, body); in addSwitch() local
9313 switchNode->setLoc(loc); in addSwitch()
9314 handleSwitchAttributes(loc, switchNode, attributes); in addSwitch()
9316 return switchNode; in addSwitch()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DParseHelper.cpp8738 TIntermSwitch* switchNode = new TIntermSwitch(expression, body); in addSwitch() local
8739 switchNode->setLoc(loc); in addSwitch()
8741 return switchNode; in addSwitch()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DParseHelper.cpp9206 TIntermSwitch* switchNode = new TIntermSwitch(expression, body); in addSwitch() local
9207 switchNode->setLoc(loc); in addSwitch()
9209 return switchNode; in addSwitch()
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/
DGlslangToSpv.cpp1197 …ontrolMask TGlslangToSpvTraverser::TranslateSwitchControl(const glslang::TIntermSwitch& switchNode) in TranslateSwitchControl()
1200 if (switchNode.getFlatten()) in TranslateSwitchControl()
1202 if (switchNode.getDontFlatten()) in TranslateSwitchControl()
/external/deqp-deps/glslang/SPIRV/
DGlslangToSpv.cpp1195 …ontrolMask TGlslangToSpvTraverser::TranslateSwitchControl(const glslang::TIntermSwitch& switchNode) in TranslateSwitchControl()
1198 if (switchNode.getFlatten()) in TranslateSwitchControl()
1200 if (switchNode.getDontFlatten()) in TranslateSwitchControl()