[SampleProfileLoader] Fix integer overflow in generateMDProfMetadata (#90217)
[llvm-project.git] / llvm / lib / Target / AArch64 / AArch64MachineScheduler.h
blob23df015986d108dee2ddacae14c934c2016b3344
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-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
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"
18 namespace llvm {
20 /// A MachineSchedStrategy implementation for AArch64 post RA scheduling.
21 class AArch64PostRASchedStrategy : public PostGenericScheduler {
22 public:
23 AArch64PostRASchedStrategy(const MachineSchedContext *C) :
24 PostGenericScheduler(C) {}
26 protected:
27 bool tryCandidate(SchedCandidate &Cand, SchedCandidate &TryCand) override;
30 } // end namespace llvm
32 #endif