LLVM 19.0.0git
AArch64MachineScheduler.h
Go to the documentation of this file.
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.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_LIB_TARGET_AARCH64_AARCH64MACHINESCHEDULER_H
14#define LLVM_LIB_TARGET_AARCH64_AARCH64MACHINESCHEDULER_H
15
17
18namespace llvm {
19
20/// A MachineSchedStrategy implementation for AArch64 post RA scheduling.
22public:
25
26protected:
27 bool tryCandidate(SchedCandidate &Cand, SchedCandidate &TryCand) override;
28};
29
30} // end namespace llvm
31
32#endif
33
A MachineSchedStrategy implementation for AArch64 post RA scheduling.
bool tryCandidate(SchedCandidate &Cand, SchedCandidate &TryCand) override
Apply a set of heuristics to a new candidate for PostRA scheduling.
AArch64PostRASchedStrategy(const MachineSchedContext *C)
PostGenericScheduler - Interface to the scheduling algorithm used by ScheduleDAGMI.
@ C
The default llvm calling convention, compatible with C.
Definition: CallingConv.h:34
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
MachineSchedContext provides enough context from the MachineScheduler pass for the target to instanti...