]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/lib/Target/AArch64/AArch64MacroFusion.h
MFV r323107: 8414 Implemented zpool scrub pause/resume
[FreeBSD/FreeBSD.git] / contrib / llvm / lib / Target / AArch64 / AArch64MacroFusion.h
1 //===- AArch64MacroFusion.h - AArch64 Macro Fusion ------------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 /// \file This file contains the AArch64 definition of the DAG scheduling
11 /// mutation to pair instructions back to back.
12 //
13 //===----------------------------------------------------------------------===//
14
15 #include "llvm/CodeGen/MachineScheduler.h"
16
17 namespace llvm {
18
19 /// Note that you have to add:
20 ///   DAG.addMutation(createAArch64MacroFusionDAGMutation());
21 /// to AArch64PassConfig::createMachineScheduler() to have an effect.
22 std::unique_ptr<ScheduleDAGMutation> createAArch64MacroFusionDAGMutation();
23
24 } // llvm