LLVM  8.0.1
X86MacroFusion.h
Go to the documentation of this file.
1 //===- X86MacroFusion.h - X86 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 X86 definition of the DAG scheduling mutation
11 /// to pair instructions back to back.
12 //
13 //===----------------------------------------------------------------------===//
14 
15 #ifndef LLVM_LIB_TARGET_X86_X86MACROFUSION_H
16 #define LLVM_LIB_TARGET_X86_X86MACROFUSION_H
17 
19 
20 namespace llvm {
21 
22 /// Note that you have to add:
23 /// DAG.addMutation(createX86MacroFusionDAGMutation());
24 /// to X86PassConfig::createMachineScheduler() to have an effect.
25 std::unique_ptr<ScheduleDAGMutation>
27 
28 } // end namespace llvm
29 
30 #endif
This class represents lattice values for constants.
Definition: AllocatorList.h:24
std::unique_ptr< ScheduleDAGMutation > createX86MacroFusionDAGMutation()
Note that you have to add: DAG.addMutation(createX86MacroFusionDAGMutation()); to X86PassConfig::crea...