aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-22 03:08:05 +0000
committerChris Lattner <sabre@nondot.org>2003-06-22 03:08:05 +0000
commit3889a2cb05c36f30050941679d5fd55d45e6a3ed (patch)
treeef8c51f49c7d038915d87d21f9c92954d92a617d /lib
parent18345bb93f0c9906dcf1d9ac45b8ee6e693c7bc5 (diff)
Remove a ton of extraneous #includes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/RegAlloc/IGNode.h1
-rw-r--r--lib/CodeGen/RegAlloc/LiveRange.h5
-rw-r--r--lib/Target/SparcV9/MachineCodeForInstruction.h1
-rw-r--r--lib/Target/SparcV9/MachineInstrAnnot.h2
-rw-r--r--lib/Target/SparcV9/RegAlloc/IGNode.h1
-rw-r--r--lib/Target/SparcV9/RegAlloc/LiveRange.h5
-rw-r--r--lib/VMCore/ConstantFold.h2
-rw-r--r--lib/VMCore/ConstantFolding.h2
8 files changed, 2 insertions, 17 deletions
diff --git a/lib/CodeGen/RegAlloc/IGNode.h b/lib/CodeGen/RegAlloc/IGNode.h
index 3b1344b85e..2b782436aa 100644
--- a/lib/CodeGen/RegAlloc/IGNode.h
+++ b/lib/CodeGen/RegAlloc/IGNode.h
@@ -26,7 +26,6 @@
#define IG_NODE_H
#include "llvm/CodeGen/LiveRange.h"
-#include <assert.h>
class RegClass;
//----------------------------------------------------------------------------
diff --git a/lib/CodeGen/RegAlloc/LiveRange.h b/lib/CodeGen/RegAlloc/LiveRange.h
index deab75d074..588b7b526e 100644
--- a/lib/CodeGen/RegAlloc/LiveRange.h
+++ b/lib/CodeGen/RegAlloc/LiveRange.h
@@ -1,4 +1,4 @@
-//===-- LiveRange.h - Store info about a live range --------------*- C++ -*--=//
+//===-- LiveRange.h - Store info about a live range -------------*- C++ -*-===//
//
// Implements a live range using a ValueSet. A LiveRange is a simple set
// of Values.
@@ -14,11 +14,8 @@
#include "llvm/CodeGen/ValueSet.h"
#include "llvm/Value.h"
-#include <assert.h>
-
class RegClass;
class IGNode;
-class Type;
class LiveRange : public ValueSet {
RegClass *MyRegClass; // register classs (e.g., int, FP) for this LR
diff --git a/lib/Target/SparcV9/MachineCodeForInstruction.h b/lib/Target/SparcV9/MachineCodeForInstruction.h
index 91b4dfdc5e..25994a94a3 100644
--- a/lib/Target/SparcV9/MachineCodeForInstruction.h
+++ b/lib/Target/SparcV9/MachineCodeForInstruction.h
@@ -20,7 +20,6 @@
#include "Support/Annotation.h"
#include <vector>
-#include <assert.h>
class MachineInstr;
class Instruction;
diff --git a/lib/Target/SparcV9/MachineInstrAnnot.h b/lib/Target/SparcV9/MachineInstrAnnot.h
index b7e22d8138..e1902e77b3 100644
--- a/lib/Target/SparcV9/MachineInstrAnnot.h
+++ b/lib/Target/SparcV9/MachineInstrAnnot.h
@@ -10,8 +10,6 @@
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/Target/TargetRegInfo.h"
-#include <assert.h>
-
class Value;
class TmpInstruction;
class CallInst;
diff --git a/lib/Target/SparcV9/RegAlloc/IGNode.h b/lib/Target/SparcV9/RegAlloc/IGNode.h
index 3b1344b85e..2b782436aa 100644
--- a/lib/Target/SparcV9/RegAlloc/IGNode.h
+++ b/lib/Target/SparcV9/RegAlloc/IGNode.h
@@ -26,7 +26,6 @@
#define IG_NODE_H
#include "llvm/CodeGen/LiveRange.h"
-#include <assert.h>
class RegClass;
//----------------------------------------------------------------------------
diff --git a/lib/Target/SparcV9/RegAlloc/LiveRange.h b/lib/Target/SparcV9/RegAlloc/LiveRange.h
index deab75d074..588b7b526e 100644
--- a/lib/Target/SparcV9/RegAlloc/LiveRange.h
+++ b/lib/Target/SparcV9/RegAlloc/LiveRange.h
@@ -1,4 +1,4 @@
-//===-- LiveRange.h - Store info about a live range --------------*- C++ -*--=//
+//===-- LiveRange.h - Store info about a live range -------------*- C++ -*-===//
//
// Implements a live range using a ValueSet. A LiveRange is a simple set
// of Values.
@@ -14,11 +14,8 @@
#include "llvm/CodeGen/ValueSet.h"
#include "llvm/Value.h"
-#include <assert.h>
-
class RegClass;
class IGNode;
-class Type;
class LiveRange : public ValueSet {
RegClass *MyRegClass; // register classs (e.g., int, FP) for this LR
diff --git a/lib/VMCore/ConstantFold.h b/lib/VMCore/ConstantFold.h
index 7589bb9a35..2401ad7596 100644
--- a/lib/VMCore/ConstantFold.h
+++ b/lib/VMCore/ConstantFold.h
@@ -33,8 +33,6 @@
#ifndef LLVM_CONSTANTHANDLING_H
#define LLVM_CONSTANTHANDLING_H
-#include <assert.h>
-
#include "llvm/Constants.h"
#include "llvm/Type.h"
class PointerType;
diff --git a/lib/VMCore/ConstantFolding.h b/lib/VMCore/ConstantFolding.h
index 7589bb9a35..2401ad7596 100644
--- a/lib/VMCore/ConstantFolding.h
+++ b/lib/VMCore/ConstantFolding.h
@@ -33,8 +33,6 @@
#ifndef LLVM_CONSTANTHANDLING_H
#define LLVM_CONSTANTHANDLING_H
-#include <assert.h>
-
#include "llvm/Constants.h"
#include "llvm/Type.h"
class PointerType;