Home
last modified time | relevance | path

Searched refs:GotoStep (Results 1 – 2 of 2) sorted by relevance

/frameworks/ml/nn/runtime/
DExecutionPlan.h327 struct GotoStep { struct
352 bool isGoto() const { return std::holds_alternative<GotoStep>(mStep); } in isGoto()
358 GotoStep* gotoStep() { return &std::get<GotoStep>(mStep); } in gotoStep()
364 const GotoStep* gotoStep() const { return &std::get<GotoStep>(mStep); } in gotoStep()
370 GotoStep* tryGotoStep() { return std::get_if<GotoStep>(&mStep); } in tryGotoStep()
376 const GotoStep* tryGotoStep() const { return std::get_if<GotoStep>(&mStep); } in tryGotoStep()
381 std::variant<ExecutionStep, IfStep, WhileStep, GotoStep> mStep;
386 std::string toString(const GotoStep& step);
531 GotoStep* createNewGotoStep();
626 int nextCompound(const GotoStep* step, std::shared_ptr<Controller> controller,
DExecutionPlan.cpp591 std::string toString(const GotoStep& step) { in toString()
603 } else if (const GotoStep* step = tryGotoStep()) { in dump()
1157 } else if (const GotoStep* step = logicalStep->tryGotoStep()) { in nextCompound()
1420 int ExecutionPlan::nextCompound(const GotoStep* step, std::shared_ptr<Controller> controller, in nextCompound()
1461 GotoStep* ExecutionPlan::createNewGotoStep() { in createNewGotoStep()
1463 auto step = std::make_shared<LogicalStep>(std::in_place_type<GotoStep>); in createNewGotoStep()
1748 GotoStep* afterThenBranch = plan->createNewGotoStep(); in partitionTheWorkInternal()
1806 GotoStep* afterCond = plan->createNewGotoStep(); in partitionTheWorkInternal()
1811 GotoStep* afterBody = plan->createNewGotoStep(); in partitionTheWorkInternal()