Lines Matching refs:SchedulingNode
36 void SchedulingGraph::AddDependency(SchedulingNode* node, in AddDependency()
37 SchedulingNode* dependency, in AddDependency()
284 SchedulingNode* instruction_node = GetNode(instruction); in AddDependencies()
297 SchedulingNode* other_node = GetNode(other); in AddDependencies()
335 SchedulingNode* other_node = GetNode(other); in AddDependencies()
362 bool SchedulingGraph::HasImmediateDataDependency(const SchedulingNode* node, in HasImmediateDataDependency()
363 const SchedulingNode* other) const { in HasImmediateDataDependency()
369 const SchedulingNode* node = GetNode(instruction); in HasImmediateDataDependency()
370 const SchedulingNode* other = GetNode(other_instruction); in HasImmediateDataDependency()
381 bool SchedulingGraph::HasImmediateOtherDependency(const SchedulingNode* node, in HasImmediateOtherDependency()
382 const SchedulingNode* other) const { in HasImmediateOtherDependency()
388 const SchedulingNode* node = GetNode(instruction); in HasImmediateOtherDependency()
389 const SchedulingNode* other = GetNode(other_instruction); in HasImmediateOtherDependency()
406 static void DumpAsDotNode(std::ostream& output, const SchedulingNode* node) { in DumpAsDotNode()
429 for (const SchedulingNode* predecessor : node->GetDataPredecessors()) { in DumpAsDotNode()
434 for (const SchedulingNode* predecessor : node->GetOtherPredecessors()) { in DumpAsDotNode()
442 const ScopedArenaVector<SchedulingNode*>& initial_candidates) { in DumpAsDotGraph()
451 SchedulingNode* node = entry.second.get(); in DumpAsDotGraph()
455 for (SchedulingNode* node : initial_candidates) { in DumpAsDotGraph()
465 SchedulingNode* CriticalPathSchedulingNodeSelector::SelectMaterializedCondition( in SelectMaterializedCondition()
466 ScopedArenaVector<SchedulingNode*>* nodes, const SchedulingGraph& graph) const { in SelectMaterializedCondition()
491 SchedulingNode* condition_node = (condition != nullptr) ? graph.GetNode(condition) : nullptr; in SelectMaterializedCondition()
505 SchedulingNode* CriticalPathSchedulingNodeSelector::PopHighestPriorityNode( in PopHighestPriorityNode()
506 ScopedArenaVector<SchedulingNode*>* nodes, const SchedulingGraph& graph) { in PopHighestPriorityNode()
508 SchedulingNode* select_node = nullptr; in PopHighestPriorityNode()
518 SchedulingNode* check = (*nodes)[i]; in PopHighestPriorityNode()
519 SchedulingNode* candidate = (*nodes)[select]; in PopHighestPriorityNode()
532 SchedulingNode* CriticalPathSchedulingNodeSelector::GetHigherPrioritySchedulingNode( in GetHigherPrioritySchedulingNode()
533 SchedulingNode* candidate, SchedulingNode* check) const { in GetHigherPrioritySchedulingNode()
562 ScopedArenaVector<SchedulingNode*> scheduling_nodes(allocator_->Adapter(kArenaAllocScheduler)); in Schedule()
572 SchedulingNode* node = scheduling_graph_.AddNode(instruction, IsSchedulingBarrier(instruction)); in Schedule()
586 for (SchedulingNode* node : scheduling_nodes) { in Schedule()
593 ScopedArenaVector<SchedulingNode*> initial_candidates(allocator_->Adapter(kArenaAllocScheduler)); in Schedule()
614 void HScheduler::Schedule(SchedulingNode* scheduling_node) { in Schedule()
618 for (SchedulingNode* predecessor : scheduling_node->GetDataPredecessors()) { in Schedule()
626 for (SchedulingNode* predecessor : scheduling_node->GetOtherPredecessors()) { in Schedule()