1317017Sdim//===- AArch64MacroFusion.h - AArch64 Macro Fusion ------------------------===//
2317017Sdim//
3353358Sdim// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4353358Sdim// See https://llvm.org/LICENSE.txt for license information.
5353358Sdim// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6317017Sdim//
7317017Sdim//===----------------------------------------------------------------------===//
8317017Sdim//
9320397Sdim/// \file This file contains the AArch64 definition of the DAG scheduling
10320397Sdim/// mutation to pair instructions back to back.
11317017Sdim//
12317017Sdim//===----------------------------------------------------------------------===//
13317017Sdim
14317017Sdim#include "llvm/CodeGen/MachineScheduler.h"
15317017Sdim
16317017Sdimnamespace llvm {
17317017Sdim
18317017Sdim/// Note that you have to add:
19317017Sdim///   DAG.addMutation(createAArch64MacroFusionDAGMutation());
20317017Sdim/// to AArch64PassConfig::createMachineScheduler() to have an effect.
21317017Sdimstd::unique_ptr<ScheduleDAGMutation> createAArch64MacroFusionDAGMutation();
22317017Sdim
23317017Sdim} // llvm
24