blob: 4e7ccbe4baab01e83e3614cef2f4543016f94e88 [file] [log] [blame]
Evandro Menezes94edf022017-02-01 02:54:34 +00001//===- AArch64MacroFusion.h - AArch64 Macro Fusion ------------------------===//
2//
Chandler Carruth2946cd72019-01-19 08:50:56 +00003// 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
Evandro Menezes94edf022017-02-01 02:54:34 +00006//
7//===----------------------------------------------------------------------===//
8//
Florian Hahn5f746c82017-06-19 12:53:31 +00009/// \file This file contains the AArch64 definition of the DAG scheduling
10/// mutation to pair instructions back to back.
Evandro Menezes94edf022017-02-01 02:54:34 +000011//
12//===----------------------------------------------------------------------===//
13
Evandro Menezes94edf022017-02-01 02:54:34 +000014#include "llvm/CodeGen/MachineScheduler.h"
15
Evandro Menezes94edf022017-02-01 02:54:34 +000016namespace llvm {
17
18/// Note that you have to add:
19/// DAG.addMutation(createAArch64MacroFusionDAGMutation());
20/// to AArch64PassConfig::createMachineScheduler() to have an effect.
21std::unique_ptr<ScheduleDAGMutation> createAArch64MacroFusionDAGMutation();
22
23} // llvm