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