summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CriticalAntiDepBreaker.h
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-04-18 09:17:29 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-04-18 09:17:29 +0000
commitb550cb1750174d9c0dc002913f10f6de01566b5a (patch)
tree89305ce645a17d5ada15bacf0e77fd83e917ec0b /llvm/lib/CodeGen/CriticalAntiDepBreaker.h
parent7322b8bcc0509fa946b07c502b23f1134d4648a7 (diff)
downloadbcm5719-llvm-b550cb1750174d9c0dc002913f10f6de01566b5a.tar.gz
bcm5719-llvm-b550cb1750174d9c0dc002913f10f6de01566b5a.zip
[NFC] Header cleanup
Removed some unused headers, replaced some headers with forward class declarations. Found using simple scripts like this one: clear && ack --cpp -l '#include "llvm/ADT/IndexedMap.h"' | xargs grep -L 'IndexedMap[<]' | xargs grep -n --color=auto 'IndexedMap' Patch by Eugene Kosov <claprix@yandex.ru> Differential Revision: http://reviews.llvm.org/D19219 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 266595
Diffstat (limited to 'llvm/lib/CodeGen/CriticalAntiDepBreaker.h')
-rw-r--r--llvm/lib/CodeGen/CriticalAntiDepBreaker.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/CriticalAntiDepBreaker.h b/llvm/lib/CodeGen/CriticalAntiDepBreaker.h
index ac0dac63843..678779fa1a2 100644
--- a/llvm/lib/CodeGen/CriticalAntiDepBreaker.h
+++ b/llvm/lib/CodeGen/CriticalAntiDepBreaker.h
@@ -19,17 +19,15 @@
#include "AntiDepBreaker.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
-#include "llvm/CodeGen/MachineFrameInfo.h"
-#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/RegisterClassInfo.h"
#include "llvm/CodeGen/ScheduleDAG.h"
-#include <map>
namespace llvm {
class RegisterClassInfo;
class TargetInstrInfo;
class TargetRegisterInfo;
+class MachineFunction;
class LLVM_LIBRARY_VISIBILITY CriticalAntiDepBreaker : public AntiDepBreaker {
MachineFunction& MF;
OpenPOWER on IntegriCloud