Searched refs:IsSwitch (Results 1 – 8 of 8) sorted by relevance
48 …static bool IsSwitch(const AnfNodePtr &node) { return CheckPrimitiveType(node, prim::kPrimSwitch);… in IsSwitch() function53 return IsLoopCond(node) || IsEnter(node) || IsMerge(node) || IsSwitch(node) || IsExit(node) || in IsControlFlowOp()
73 if (FunctionalizeControlOpPass::IsSwitch(node)) { in BranchSubGraphAddNodes()117 if (FunctionalizeControlOpPass::IsSwitch(input_node)) { in IdentifySubgraphInput()
46 return FunctionalizeControlOpPass::BelongToWhichNode(node, FunctionalizeControlOpPass::IsSwitch); in BlongToWhichSwitch()446 if (FunctionalizeControlOpPass::IsSwitch(node)) { in BodySubgraphAddNodes()471 if (FunctionalizeControlOpPass::IsSwitch(input_node)) { in IdentifyBodySubgraphInput()
60 bool IsSwitch(const CommandLine::StringType& string, in IsSwitch() function93 if (parse_switches && IsSwitch(arg, &switch_string, &switch_value)) { in AppendSwitchesAndArguments()471 if (parse_switches && IsSwitch(arg, &switch_string, &switch_value)) { in GetArgumentsStringInternal()
51 TEST_F(SwitchStatementTest, IsSwitch) { in TEST_F() argument
174 if (IsSwitch(node)) { in GetMainFgSwitchNode()
385 bool IsSwitch(const AnfNodePtr &node) { in IsSwitch() function
420 bool IsSwitch(const AnfNodePtr &node);