Eliminate lots of unnecessary #includes and forward decls

there are probably more to kill


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@261 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2001-07-21 23:24:48 +00:00
parent 942d99e4c8
commit 68498cefe6
9 changed files with 7 additions and 88 deletions

View File

@@ -15,31 +15,11 @@
#ifndef LLVM_CODEGEN_MACHINEINSTR_H
#define LLVM_CODEGEN_MACHINEINSTR_H
//************************** System Include Files **************************/
#include <string>
#include <vector>
//*************************** User Include Files ***************************/
#include "llvm/CodeGen/InstrForest.h"
#include "llvm/Tools/DataTypes.h"
#include "llvm/Instruction.h"
#include "llvm/Support/Unique.h"
#include "llvm/CodeGen/TargetMachine.h"
//************************* Opaque Declarations ****************************/
class Value;
class InstrTreeNode;
class InstructionNode;
class MachineInstr;
class MachineInstrInfo;
class MachineOperand;
//************************ Exported Data Types *****************************/
//---------------------------------------------------------------------------
// class MachineOperand
//

View File

@@ -12,19 +12,7 @@
#ifndef LLVM_CODEGEN_SPARC_H
#define LLVM_CODEGEN_SPARC_H
//************************** System Include Files **************************/
//*************************** User Include Files ***************************/
#include "llvm/CodeGen/TargetMachine.h"
#include "llvm/CodeGen/MachineInstr.h"
//************************* Opaque Declarations ****************************/
//************************ Exported Constants ******************************/
// OpCodeMask definitions for the Sparc V9
//
@@ -33,9 +21,6 @@ const OpCodeMask Annul = 0x20000000; // annul delay instr?
const OpCodeMask PredictTaken = 0x00080000; // predict branch taken?
//************************ Exported Data Types *****************************/
//---------------------------------------------------------------------------
// class UltraSparcMachine
//

View File

@@ -12,21 +12,12 @@
#ifndef LLVM_CODEGEN_TARGETMACHINE_H
#define LLVM_CODEGEN_TARGETMACHINE_H
//************************** System Include Files **************************/
//*************************** User Include Files ***************************/
#include "llvm/Support/Unique.h"
#include "llvm/Tools/DataTypes.h"
//************************* Opaque Declarations ****************************/
#include <string>
class Type;
class StructType;
class MachineInstrInfo;
//************************ Exported Data Types *****************************/
//---------------------------------------------------------------------------

View File

@@ -13,10 +13,7 @@
#include "llvm/Type.h"
#include "llvm/CodeGen/TargetMachine.h"
#include "vector"
class TargetMachine;
#include <vector>
// Future derived types: SIMD packed format