[llvm-commits] CVS: llvm/include/llvm/CodeGen/IGNode.h InstrForest.h InstrSelection.h LiveRange.h LiveVariables.h MachineCodeForInstruction.h MachineInstr.h MachineInstrAnnot.h SSARegMap.h

Chris Lattner lattner at cs.uiuc.edu
Sat Jun 21 22:07:08 PDT 2003


Changes in directory llvm/include/llvm/CodeGen:

IGNode.h updated: 1.12 -> 1.13
InstrForest.h updated: 1.26 -> 1.27
InstrSelection.h updated: 1.23 -> 1.24
LiveRange.h updated: 1.19 -> 1.20
LiveVariables.h updated: 1.5 -> 1.6
MachineCodeForInstruction.h updated: 1.9 -> 1.10
MachineInstr.h updated: 1.103 -> 1.104
MachineInstrAnnot.h updated: 1.9 -> 1.10
SSARegMap.h updated: 1.4 -> 1.5

---
Log message:

Remove a ton of extraneous #includes


---
Diffs of the changes:

Index: llvm/include/llvm/CodeGen/IGNode.h
diff -u llvm/include/llvm/CodeGen/IGNode.h:1.12 llvm/include/llvm/CodeGen/IGNode.h:1.13
--- llvm/include/llvm/CodeGen/IGNode.h:1.12	Wed Jun 11 09:01:30 2003
+++ llvm/include/llvm/CodeGen/IGNode.h	Sat Jun 21 22:06:13 2003
@@ -26,7 +26,6 @@
 #define IG_NODE_H
 
 #include "llvm/CodeGen/LiveRange.h"
-#include <assert.h>
 class RegClass;
 
 //----------------------------------------------------------------------------


Index: llvm/include/llvm/CodeGen/InstrForest.h
diff -u llvm/include/llvm/CodeGen/InstrForest.h:1.26 llvm/include/llvm/CodeGen/InstrForest.h:1.27
--- llvm/include/llvm/CodeGen/InstrForest.h:1.26	Wed Jun 11 09:01:30 2003
+++ llvm/include/llvm/CodeGen/InstrForest.h	Sat Jun 21 22:06:13 2003
@@ -21,10 +21,8 @@
 
 #include "llvm/Instruction.h"
 #include "Support/HashExtras.h"
-#include <assert.h>
 
 class Constant;
-class BasicBlock;
 class Function;
 class InstrTreeNode;
 class InstrForest;


Index: llvm/include/llvm/CodeGen/InstrSelection.h
diff -u llvm/include/llvm/CodeGen/InstrSelection.h:1.23 llvm/include/llvm/CodeGen/InstrSelection.h:1.24
--- llvm/include/llvm/CodeGen/InstrSelection.h:1.23	Wed Jun 11 09:01:30 2003
+++ llvm/include/llvm/CodeGen/InstrSelection.h	Sat Jun 21 22:06:13 2003
@@ -8,7 +8,6 @@
 #define LLVM_CODEGEN_INSTR_SELECTION_H
 
 #include "llvm/Instruction.h"
-#include <assert.h>
 class Function;
 class InstrForest;
 class MachineInstr;


Index: llvm/include/llvm/CodeGen/LiveRange.h
diff -u llvm/include/llvm/CodeGen/LiveRange.h:1.19 llvm/include/llvm/CodeGen/LiveRange.h:1.20
--- llvm/include/llvm/CodeGen/LiveRange.h:1.19	Wed Jun 11 09:01:30 2003
+++ llvm/include/llvm/CodeGen/LiveRange.h	Sat Jun 21 22:06:13 2003
@@ -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


Index: llvm/include/llvm/CodeGen/LiveVariables.h
diff -u llvm/include/llvm/CodeGen/LiveVariables.h:1.5 llvm/include/llvm/CodeGen/LiveVariables.h:1.6
--- llvm/include/llvm/CodeGen/LiveVariables.h:1.5	Wed Jun 11 09:01:30 2003
+++ llvm/include/llvm/CodeGen/LiveVariables.h	Sat Jun 21 22:06:13 2003
@@ -24,7 +24,6 @@
 
 #include "llvm/CodeGen/MachineFunctionPass.h"
 #include <map>
-#include <assert.h>
 
 class MRegisterInfo;
 


Index: llvm/include/llvm/CodeGen/MachineCodeForInstruction.h
diff -u llvm/include/llvm/CodeGen/MachineCodeForInstruction.h:1.9 llvm/include/llvm/CodeGen/MachineCodeForInstruction.h:1.10
--- llvm/include/llvm/CodeGen/MachineCodeForInstruction.h:1.9	Wed Jun 11 09:01:30 2003
+++ llvm/include/llvm/CodeGen/MachineCodeForInstruction.h	Sat Jun 21 22:06:13 2003
@@ -20,7 +20,6 @@
 
 #include "Support/Annotation.h"
 #include <vector>
-#include <assert.h>
 
 class MachineInstr;
 class Instruction;


Index: llvm/include/llvm/CodeGen/MachineInstr.h
diff -u llvm/include/llvm/CodeGen/MachineInstr.h:1.103 llvm/include/llvm/CodeGen/MachineInstr.h:1.104
--- llvm/include/llvm/CodeGen/MachineInstr.h:1.103	Wed Jun 11 09:01:30 2003
+++ llvm/include/llvm/CodeGen/MachineInstr.h	Sat Jun 21 22:06:13 2003
@@ -13,7 +13,6 @@
 #include "Support/Annotation.h"
 #include "Support/iterator"
 #include <set>
-#include <assert.h>
 
 class Value;
 class Function;


Index: llvm/include/llvm/CodeGen/MachineInstrAnnot.h
diff -u llvm/include/llvm/CodeGen/MachineInstrAnnot.h:1.9 llvm/include/llvm/CodeGen/MachineInstrAnnot.h:1.10
--- llvm/include/llvm/CodeGen/MachineInstrAnnot.h:1.9	Wed Jun 11 09:01:31 2003
+++ llvm/include/llvm/CodeGen/MachineInstrAnnot.h	Sat Jun 21 22:06:13 2003
@@ -10,8 +10,6 @@
 #include "llvm/CodeGen/MachineInstr.h"
 #include "llvm/Target/TargetRegInfo.h"
 
-#include <assert.h>
-
 class Value;
 class TmpInstruction;
 class CallInst;


Index: llvm/include/llvm/CodeGen/SSARegMap.h
diff -u llvm/include/llvm/CodeGen/SSARegMap.h:1.4 llvm/include/llvm/CodeGen/SSARegMap.h:1.5
--- llvm/include/llvm/CodeGen/SSARegMap.h:1.4	Wed Jun 11 09:01:31 2003
+++ llvm/include/llvm/CodeGen/SSARegMap.h	Sat Jun 21 22:06:13 2003
@@ -11,9 +11,6 @@
 #define LLVM_CODEGEN_SSAREGMAP_H
 
 #include "llvm/Target/MRegisterInfo.h"
-
-#include <assert.h>
-
 class TargetRegisterClass;
 
 class SSARegMap {





More information about the llvm-commits mailing list