1 //===- ARMMacroFusion.h - ARM Macro Fusion ------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 /// \file This file contains the ARM definition of the DAG scheduling mutation
11 /// to pair instructions back to back.
13 //===----------------------------------------------------------------------===//
15 #include "llvm/CodeGen/MachineScheduler.h"
19 /// Note that you have to add:
20 /// DAG.addMutation(createARMMacroFusionDAGMutation());
21 /// to ARMPassConfig::createMachineScheduler() to have an effect.
22 std::unique_ptr<ScheduleDAGMutation> createARMMacroFusionDAGMutation();