Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/
DExecutionPlan.h264 struct IfStep { struct
350 bool isIf() const { return std::holds_alternative<IfStep>(mStep); } in isIf()
356 IfStep* ifStep() { return &std::get<IfStep>(mStep); } in ifStep()
362 const IfStep* ifStep() const { return &std::get<IfStep>(mStep); } in ifStep()
368 IfStep* tryIfStep() { return std::get_if<IfStep>(&mStep); } in tryIfStep()
374 const IfStep* tryIfStep() const { return std::get_if<IfStep>(&mStep); } in tryIfStep()
381 std::variant<ExecutionStep, IfStep, WhileStep, GotoStep> mStep;
384 std::string toString(const IfStep& step);
529 IfStep* createNewIfStep();
620 int nextCompound(const IfStep* step, std::shared_ptr<Controller> controller,
DExecutionPlan.cpp406 } else if (const IfStep* step = logicalStep->tryIfStep()) { in findTempsAsStepModelOutputs()
577 std::string toString(const IfStep& step) { in toString()
599 if (const IfStep* step = tryIfStep()) { in dump()
639 } else if (IfStep* step = logicalStep->tryIfStep()) { in finish()
702 if (const IfStep* step = logicalStep->tryIfStep()) { in findControlFlowBoundaryConstants()
906 } else if (const IfStep* step = logicalStep->tryIfStep()) { in makeController()
1153 if (const IfStep* step = logicalStep->tryIfStep()) { in nextCompound()
1260 int ExecutionPlan::nextCompound(const IfStep* step, std::shared_ptr<Controller> controller, in nextCompound()
1445 IfStep* ExecutionPlan::createNewIfStep() { in createNewIfStep()
1447 auto step = std::make_shared<LogicalStep>(std::in_place_type<IfStep>); in createNewIfStep()
[all …]