Path: blob/main/contrib/llvm-project/llvm/lib/Target/AArch64/AArch64MachineScheduler.h
35269 views
//===- AArch64MachineScheduler.h - Custom AArch64 MI scheduler --*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// Custom AArch64 MI scheduler.9//10//===----------------------------------------------------------------------===//1112#ifndef LLVM_LIB_TARGET_AARCH64_AARCH64MACHINESCHEDULER_H13#define LLVM_LIB_TARGET_AARCH64_AARCH64MACHINESCHEDULER_H1415#include "llvm/CodeGen/MachineScheduler.h"1617namespace llvm {1819/// A MachineSchedStrategy implementation for AArch64 post RA scheduling.20class AArch64PostRASchedStrategy : public PostGenericScheduler {21public:22AArch64PostRASchedStrategy(const MachineSchedContext *C) :23PostGenericScheduler(C) {}2425protected:26bool tryCandidate(SchedCandidate &Cand, SchedCandidate &TryCand) override;27};2829} // end namespace llvm3031#endif32333435