diff options
author | Matthias Braun <matze@braunis.de> | 2017-12-13 02:51:04 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2017-12-13 02:51:04 +0000 |
commit | fa621d294f1c22db4000724c910d66c278386aaf (patch) | |
tree | e6f8853961778f832746e30635db76567db04c3c /include | |
parent | f09cbb97742a97708bf8e1992e2eacc5d4b6951c (diff) |
Rename LiveIntervalAnalysis.h to LiveIntervals.h
Headers/Implementation files should be named after the class they
declare/define.
Also eliminated an `#include "llvm/CodeGen/LiveIntervalAnalysis.h"` in
favor of `class LiveIntarvals;`
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320546 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/LiveIntervals.h (renamed from include/llvm/CodeGen/LiveIntervalAnalysis.h) | 8 | ||||
-rw-r--r-- | include/llvm/CodeGen/TargetInstrInfo.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervals.h index c744f852fc3..1150f3c1c47 100644 --- a/include/llvm/CodeGen/LiveIntervalAnalysis.h +++ b/include/llvm/CodeGen/LiveIntervals.h @@ -1,4 +1,4 @@ -//===- LiveIntervalAnalysis.h - Live Interval Analysis ----------*- C++ -*-===// +//===- LiveIntervals.h - Live Interval Analysis -----------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -17,8 +17,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_CODEGEN_LIVEINTERVALANALYSIS_H -#define LLVM_CODEGEN_LIVEINTERVALANALYSIS_H +#ifndef LLVM_CODEGEN_LIVEINTERVALS_H +#define LLVM_CODEGEN_LIVEINTERVALS_H #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/IndexedMap.h" @@ -478,4 +478,4 @@ class VirtRegMap; } // end namespace llvm -#endif // LLVM_CODEGEN_LIVEINTERVALANALYSIS_H +#endif diff --git a/include/llvm/CodeGen/TargetInstrInfo.h b/include/llvm/CodeGen/TargetInstrInfo.h index 2dc918be66d..38a1b33aeca 100644 --- a/include/llvm/CodeGen/TargetInstrInfo.h +++ b/include/llvm/CodeGen/TargetInstrInfo.h @@ -18,7 +18,6 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/DenseMapInfo.h" #include "llvm/ADT/None.h" -#include "llvm/CodeGen/LiveIntervalAnalysis.h" #include "llvm/CodeGen/MachineBasicBlock.h" #include "llvm/CodeGen/MachineCombinerPattern.h" #include "llvm/CodeGen/MachineFunction.h" @@ -39,6 +38,7 @@ namespace llvm { class DFAPacketizer; class InstrItineraryData; +class LiveIntervals; class LiveVariables; class MachineMemOperand; class MachineRegisterInfo; |