Mercurial > hg > CbC > CbC_llvm
comparison lib/Target/ARM/ARMMacroFusion.h @ 148:63bd29f05246
merged
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 14 Aug 2019 19:46:37 +0900 |
parents | c2174574ed3a |
children |
comparison
equal
deleted
inserted
replaced
146:3fc4d5c3e21e | 148:63bd29f05246 |
---|---|
1 //===- ARMMacroFusion.h - ARM Macro Fusion ------------------------===// | 1 //===- ARMMacroFusion.h - ARM Macro Fusion ------------------------===// |
2 // | 2 // |
3 // The LLVM Compiler Infrastructure | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 // | 4 // See https://llvm.org/LICENSE.txt for license information. |
5 // This file is distributed under the University of Illinois Open Source | 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 // License. See LICENSE.TXT for details. | |
7 // | 6 // |
8 //===----------------------------------------------------------------------===// | 7 //===----------------------------------------------------------------------===// |
9 // | 8 // |
10 /// \file This file contains the ARM definition of the DAG scheduling mutation | 9 /// \file This file contains the ARM definition of the DAG scheduling mutation |
11 /// to pair instructions back to back. | 10 /// to pair instructions back to back. |
12 // | 11 // |
13 //===----------------------------------------------------------------------===// | 12 //===----------------------------------------------------------------------===// |
13 | |
14 #ifndef LLVM_LIB_TARGET_ARM_ARMMACROFUSION_H | |
15 #define LLVM_LIB_TARGET_ARM_ARMMACROFUSION_H | |
14 | 16 |
15 #include "llvm/CodeGen/MachineScheduler.h" | 17 #include "llvm/CodeGen/MachineScheduler.h" |
16 | 18 |
17 namespace llvm { | 19 namespace llvm { |
18 | 20 |
20 /// DAG.addMutation(createARMMacroFusionDAGMutation()); | 22 /// DAG.addMutation(createARMMacroFusionDAGMutation()); |
21 /// to ARMPassConfig::createMachineScheduler() to have an effect. | 23 /// to ARMPassConfig::createMachineScheduler() to have an effect. |
22 std::unique_ptr<ScheduleDAGMutation> createARMMacroFusionDAGMutation(); | 24 std::unique_ptr<ScheduleDAGMutation> createARMMacroFusionDAGMutation(); |
23 | 25 |
24 } // llvm | 26 } // llvm |
27 | |
28 #endif |