• Home
  • Raw
  • Download

Lines Matching refs:Scheduler

30 Scheduler::Scheduler(Zone* zone, Graph* graph, Schedule* schedule, Flags flags,  in Scheduler()  function in v8::internal::compiler::Scheduler
48 Schedule* Scheduler::ComputeSchedule(Zone* zone, Graph* graph, Flags flags, in ComputeSchedule()
52 (flags & Scheduler::kTempSchedule) ? zone : graph->zone(); in ComputeSchedule()
56 float node_hint_multiplier = (flags & Scheduler::kSplitNodes) ? 1.1 : 1; in ComputeSchedule()
61 Scheduler scheduler(zone, graph, schedule, flags, node_count_hint, in ComputeSchedule()
77 Scheduler::SchedulerData Scheduler::DefaultSchedulerData() { in DefaultSchedulerData()
83 Scheduler::SchedulerData* Scheduler::GetData(Node* node) { in GetData()
87 Scheduler::Placement Scheduler::InitializePlacement(Node* node) { in InitializePlacement()
117 Scheduler::Placement Scheduler::GetPlacement(Node* node) { in GetPlacement()
121 bool Scheduler::IsLive(Node* node) { return GetPlacement(node) != kUnknown; } in IsLive()
123 void Scheduler::UpdatePlacement(Node* node, Placement placement) { in UpdatePlacement()
129 DCHECK_EQ(Scheduler::kFixed, placement); in UpdatePlacement()
141 DCHECK_EQ(Scheduler::kCoupled, data->placement_); in UpdatePlacement()
142 DCHECK_EQ(Scheduler::kFixed, placement); in UpdatePlacement()
154 if (GetPlacement(use) == Scheduler::kCoupled) { in UpdatePlacement()
162 DCHECK_EQ(Scheduler::kSchedulable, data->placement_); in UpdatePlacement()
163 DCHECK_EQ(Scheduler::kScheduled, placement); in UpdatePlacement()
179 base::Optional<int> Scheduler::GetCoupledControlEdge(Node* node) { in GetCoupledControlEdge()
186 void Scheduler::IncrementUnscheduledUseCount(Node* node, Node* from) { in IncrementUnscheduledUseCount()
205 void Scheduler::DecrementUnscheduledUseCount(Node* node, Node* from) { in DecrementUnscheduledUseCount()
239 CFGBuilder(Zone* zone, Scheduler* scheduler) in CFGBuilder()
311 friend class Scheduler;
315 scheduler_->UpdatePlacement(node, Scheduler::kFixed); in FixNode()
372 scheduler_->UpdatePlacement(node, Scheduler::kFixed); in ConnectBlocks()
376 scheduler_->UpdatePlacement(node, Scheduler::kFixed); in ConnectBlocks()
380 scheduler_->UpdatePlacement(node, Scheduler::kFixed); in ConnectBlocks()
384 scheduler_->UpdatePlacement(node, Scheduler::kFixed); in ConnectBlocks()
388 scheduler_->UpdatePlacement(node, Scheduler::kFixed); in ConnectBlocks()
392 scheduler_->UpdatePlacement(node, Scheduler::kFixed); in ConnectBlocks()
401 scheduler_->UpdatePlacement(node, Scheduler::kFixed); in ConnectBlocks()
631 Scheduler* scheduler_;
642 void Scheduler::BuildCFG() { in BuildCFG()
1156 BasicBlockVector* Scheduler::ComputeSpecialRPO(Zone* zone, Schedule* schedule) { in ComputeSpecialRPO()
1165 void Scheduler::ComputeSpecialRPONumbering() { in ComputeSpecialRPONumbering()
1173 BasicBlock* Scheduler::GetCommonDominatorIfCached(BasicBlock* b1, in GetCommonDominatorIfCached()
1182 BasicBlock* Scheduler::GetCommonDominator(BasicBlock* b1, BasicBlock* b2) { in GetCommonDominator()
1262 void Scheduler::PropagateImmediateDominators(BasicBlock* block) { in PropagateImmediateDominators()
1298 void Scheduler::GenerateDominatorTree(Schedule* schedule) { in GenerateDominatorTree()
1306 void Scheduler::GenerateDominatorTree() { in GenerateDominatorTree()
1317 explicit PrepareUsesVisitor(Scheduler* scheduler, Graph* graph, Zone* zone) in PrepareUsesVisitor()
1337 if (scheduler_->InitializePlacement(node) == Scheduler::kFixed) { in InitializePlacement()
1358 DCHECK_NE(scheduler_->GetPlacement(node), Scheduler::kUnknown); in VisitInputs()
1370 DCHECK_NE(scheduler_->GetPlacement(to), Scheduler::kUnknown); in VisitInputs()
1379 Scheduler* scheduler_;
1387 void Scheduler::PrepareUses() { in PrepareUses()
1403 ScheduleEarlyNodeVisitor(Zone* zone, Scheduler* scheduler) in ScheduleEarlyNodeVisitor()
1423 Scheduler::SchedulerData* data = scheduler_->GetData(node); in VisitNode()
1426 if (scheduler_->GetPlacement(node) == Scheduler::kFixed) { in VisitNode()
1450 Scheduler::SchedulerData* data = scheduler_->GetData(node); in PropagateMinimumPositionToNode()
1453 if (scheduler_->GetPlacement(node) == Scheduler::kFixed) return; in PropagateMinimumPositionToNode()
1456 if (scheduler_->GetPlacement(node) == Scheduler::kCoupled) { in PropagateMinimumPositionToNode()
1482 Scheduler* scheduler_;
1488 void Scheduler::ScheduleEarly() { in ScheduleEarly()
1516 ScheduleLateNodeVisitor(Zone* zone, Scheduler* scheduler) in ScheduleLateNodeVisitor()
1535 if (scheduler_->GetPlacement(node) == Scheduler::kCoupled) { in ProcessQueue()
1560 DCHECK_EQ(Scheduler::kSchedulable, scheduler_->GetPlacement(node)); in VisitNode()
1592 } else if (scheduler_->flags_ & Scheduler::kSplitNodes) { in VisitNode()
1757 if (scheduler_->GetPlacement(use) == Scheduler::kCoupled) { in GetBlockForUse()
1766 if (scheduler_->GetPlacement(use) == Scheduler::kFixed) { in GetBlockForUse()
1777 if (scheduler_->GetPlacement(use) == Scheduler::kFixed) { in GetBlockForUse()
1829 scheduler_->UpdatePlacement(node, Scheduler::kScheduled); in ScheduleNode()
1852 Scheduler* scheduler_;
1859 void Scheduler::ScheduleLate() { in ScheduleLate()
1879 void Scheduler::SealFinalSchedule() { in SealFinalSchedule()
1903 void Scheduler::FuseFloatingControl(BasicBlock* block, Node* node) { in FuseFloatingControl()
1954 void Scheduler::MovePlannedNodes(BasicBlock* from, BasicBlock* to) { in MovePlannedNodes()