blob: 32d90d4c40d6fa8a56497b33a78e41a22c34bb21 [file] [log] [blame]
Evandro Menezes94edf022017-02-01 02:54:34 +00001//===- AArch64MacroFusion.h - AArch64 Macro Fusion ------------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
Florian Hahn5f746c82017-06-19 12:53:31 +00005// This file is distributed under the University of Illinois Open Source
Evandro Menezes94edf022017-02-01 02:54:34 +00006// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
Florian Hahn5f746c82017-06-19 12:53:31 +000010/// \file This file contains the AArch64 definition of the DAG scheduling
11/// mutation to pair instructions back to back.
Evandro Menezes94edf022017-02-01 02:54:34 +000012//
13//===----------------------------------------------------------------------===//
14
Evandro Menezes94edf022017-02-01 02:54:34 +000015#include "llvm/CodeGen/MachineScheduler.h"
16
Evandro Menezes94edf022017-02-01 02:54:34 +000017namespace llvm {
18
19/// Note that you have to add:
20/// DAG.addMutation(createAArch64MacroFusionDAGMutation());
21/// to AArch64PassConfig::createMachineScheduler() to have an effect.
22std::unique_ptr<ScheduleDAGMutation> createAArch64MacroFusionDAGMutation();
23
24} // llvm