1 //===- AArch64MachineScheduler.h - Custom AArch64 MI scheduler --*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // Custom AArch64 MI scheduler.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_LIB_TARGET_AARCH64_AARCH64MACHINESCHEDULER_H
14 #define LLVM_LIB_TARGET_AARCH64_AARCH64MACHINESCHEDULER_H
16 #include "llvm/CodeGen/MachineScheduler.h"
20 /// A MachineSchedStrategy implementation for AArch64 post RA scheduling.
21 class AArch64PostRASchedStrategy
: public PostGenericScheduler
{
23 AArch64PostRASchedStrategy(const MachineSchedContext
*C
) :
24 PostGenericScheduler(C
) {}
27 bool tryCandidate(SchedCandidate
&Cand
, SchedCandidate
&TryCand
) override
;
30 } // end namespace llvm