Lines Matching refs:plan
185 ExecutionStep::ExecutionStep(ExecutionPlan* plan, uint32_t stepIndex, uint32_t sourceModelIndex, in ExecutionStep() argument
187 : mPlan(plan), in ExecutionStep()
192 mToken(plan->getCacheToken()) {} in ExecutionStep()
732 ExecutionPlan::Controller::Controller(const ExecutionPlan* plan, ExecutionBuilder* executionBuilder, in Controller() argument
734 : Controller(plan, executionBuilder, burstBuilder, 0, {}, {}, {}, {}, {}, {}) {} in Controller()
737 const ExecutionPlan* plan, ExecutionBuilder* executionBuilder, in Controller() argument
745 : mPlan(plan), in Controller()
1606 ExecutionPlan* plan) const { in partitionTheWork()
1607 uint32_t sourceModelIndex = plan->getSourceModels().addModel(this); in partitionTheWork()
1609 deadline, plan)); in partitionTheWork()
1610 int n = plan->finish(preference, priority, deadline); in partitionTheWork()
1614 plan->dump(); in partitionTheWork()
1623 ExecutionPlan* plan) const { in partitionTheWorkInternal()
1627 SourceModels* sourceModels = &plan->getSourceModels(); in partitionTheWorkInternal()
1659 plan->becomeSingleStep(devices[bestDeviceIndex], this); in partitionTheWorkInternal()
1708 plan->createNewExecutionStep(sourceModelIndex, devices[deviceIndex]); in partitionTheWorkInternal()
1742 IfStep* ifStep = plan->createNewIfStep(); in partitionTheWorkInternal()
1745 ifStep->thenStepIndex = plan->getNextStepIndex(); in partitionTheWorkInternal()
1747 thenModelIndex, devices, preference, priority, deadline, plan)); in partitionTheWorkInternal()
1748 GotoStep* afterThenBranch = plan->createNewGotoStep(); in partitionTheWorkInternal()
1749 ifStep->elseStepIndex = plan->getNextStepIndex(); in partitionTheWorkInternal()
1751 elseModelIndex, devices, preference, priority, deadline, plan)); in partitionTheWorkInternal()
1752 afterThenBranch->gotoStepIndex = plan->getNextStepIndex(); in partitionTheWorkInternal()
1802 WhileStep* whileStep = plan->createNewWhileStep(); in partitionTheWorkInternal()
1803 whileStep->condStepIndex = plan->getNextStepIndex(); in partitionTheWorkInternal()
1805 condModelIndex, devices, preference, priority, deadline, plan)); in partitionTheWorkInternal()
1806 GotoStep* afterCond = plan->createNewGotoStep(); in partitionTheWorkInternal()
1808 whileStep->bodyStepIndex = plan->getNextStepIndex(); in partitionTheWorkInternal()
1810 bodyModelIndex, devices, preference, priority, deadline, plan)); in partitionTheWorkInternal()
1811 GotoStep* afterBody = plan->createNewGotoStep(); in partitionTheWorkInternal()
1813 whileStep->exitStepIndex = plan->getNextStepIndex(); in partitionTheWorkInternal()