34 lines · c
1//===- AArch64MachineScheduler.h - Custom AArch64 MI scheduler --*- C++ -*-===//2//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-exception6//7//===----------------------------------------------------------------------===//8//9// Custom AArch64 MI scheduler.10//11//===----------------------------------------------------------------------===//12 13#ifndef LLVM_LIB_TARGET_AARCH64_AARCH64MACHINESCHEDULER_H14#define LLVM_LIB_TARGET_AARCH64_AARCH64MACHINESCHEDULER_H15 16#include "llvm/CodeGen/MachineScheduler.h"17 18namespace llvm {19 20/// A MachineSchedStrategy implementation for AArch64 post RA scheduling.21class AArch64PostRASchedStrategy : public PostGenericScheduler {22public:23 AArch64PostRASchedStrategy(const MachineSchedContext *C) :24 PostGenericScheduler(C) {}25 26protected:27 bool tryCandidate(SchedCandidate &Cand, SchedCandidate &TryCand) override;28};29 30} // end namespace llvm31 32#endif33 34