LLVM  10.0.0svn
AArch64MacroFusion.h
Go to the documentation of this file.
1 //===- AArch64MacroFusion.h - AArch64 Macro Fusion ------------------------===//
2 //
3 // 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
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 /// \file This file contains the AArch64 definition of the DAG scheduling
10 /// mutation to pair instructions back to back.
11 //
12 //===----------------------------------------------------------------------===//
13 
15 
16 namespace llvm {
17 
18 /// Note that you have to add:
19 /// DAG.addMutation(createAArch64MacroFusionDAGMutation());
20 /// to AArch64PassConfig::createMachineScheduler() to have an effect.
21 std::unique_ptr<ScheduleDAGMutation> createAArch64MacroFusionDAGMutation();
22 
23 } // llvm
This class represents lattice values for constants.
Definition: AllocatorList.h:23
std::unique_ptr< ScheduleDAGMutation > createAArch64MacroFusionDAGMutation()
Note that you have to add: DAG.addMutation(createAArch64MacroFusionDAGMutation()); to AArch64PassConf...