//===- GCNIterativeScheduler.h - GCN Scheduler ------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// /// /// \file /// This file defines the class GCNIterativeScheduler, which uses an iterative /// approach to find a best schedule for GCN architecture. It basically makes /// use of various lightweight schedules, scores them, chooses best one based on /// their scores, and finally implements the chosen one. /// //===----------------------------------------------------------------------===// #ifndef LLVM_LIB_TARGET_AMDGPU_GCNITERATIVESCHEDULER_H #define LLVM_LIB_TARGET_AMDGPU_GCNITERATIVESCHEDULER_H #include "GCNRegPressure.h" #include "llvm/CodeGen/MachineScheduler.h" namespace llvm { class MachineInstr; class SUnit; class raw_ostream; class GCNIterativeScheduler : public ScheduleDAGMILive { … }; } // end namespace llvm #endif // LLVM_LIB_TARGET_AMDGPU_GCNITERATIVESCHEDULER_H