Home
last modified time | relevance | path

Searched refs:IsSwitch (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/mindspore/lite/tools/converter/parser/tf/
Dfunctionalize_control_op_pass.h48 …static bool IsSwitch(const AnfNodePtr &node) { return CheckPrimitiveType(node, prim::kPrimSwitch);… in IsSwitch() function
53 return IsLoopCond(node) || IsEnter(node) || IsMerge(node) || IsSwitch(node) || IsExit(node) || in IsControlFlowOp()
Dfunctionalize_cond.cc73 if (FunctionalizeControlOpPass::IsSwitch(node)) { in BranchSubGraphAddNodes()
117 if (FunctionalizeControlOpPass::IsSwitch(input_node)) { in IdentifySubgraphInput()
Dfunctionalize_while.cc46 return FunctionalizeControlOpPass::BelongToWhichNode(node, FunctionalizeControlOpPass::IsSwitch); in BlongToWhichSwitch()
446 if (FunctionalizeControlOpPass::IsSwitch(node)) { in BodySubgraphAddNodes()
471 if (FunctionalizeControlOpPass::IsSwitch(input_node)) { in IdentifyBodySubgraphInput()
/third_party/gn/src/base/
Dcommand_line.cc60 bool IsSwitch(const CommandLine::StringType& string, in IsSwitch() function
93 if (parse_switches && IsSwitch(arg, &switch_string, &switch_value)) { in AppendSwitchesAndArguments()
471 if (parse_switches && IsSwitch(arg, &switch_string, &switch_value)) { in GetArgumentsStringInternal()
/third_party/skia/third_party/externals/tint/src/ast/
Dswitch_statement_test.cc51 TEST_F(SwitchStatementTest, IsSwitch) { in TEST_F() argument
/third_party/mindspore/mindspore/lite/tools/converter/import/
Dmindir_control_flow_adjust.cc174 if (IsSwitch(node)) { in GetMainFgSwitchNode()
/third_party/mindspore/mindspore/lite/tools/common/
Dnode_util.cc385 bool IsSwitch(const AnfNodePtr &node) { in IsSwitch() function
Dnode_util.h420 bool IsSwitch(const AnfNodePtr &node);