mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
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:
@@ -15,31 +15,11 @@
|
|||||||
#ifndef LLVM_CODEGEN_MACHINEINSTR_H
|
#ifndef LLVM_CODEGEN_MACHINEINSTR_H
|
||||||
#define LLVM_CODEGEN_MACHINEINSTR_H
|
#define LLVM_CODEGEN_MACHINEINSTR_H
|
||||||
|
|
||||||
//************************** System Include Files **************************/
|
#include "llvm/CodeGen/InstrForest.h"
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
//*************************** User Include Files ***************************/
|
|
||||||
|
|
||||||
#include "llvm/Tools/DataTypes.h"
|
#include "llvm/Tools/DataTypes.h"
|
||||||
#include "llvm/Instruction.h"
|
|
||||||
#include "llvm/Support/Unique.h"
|
#include "llvm/Support/Unique.h"
|
||||||
#include "llvm/CodeGen/TargetMachine.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
|
// class MachineOperand
|
||||||
//
|
//
|
||||||
|
@@ -12,19 +12,7 @@
|
|||||||
#ifndef LLVM_CODEGEN_SPARC_H
|
#ifndef LLVM_CODEGEN_SPARC_H
|
||||||
#define LLVM_CODEGEN_SPARC_H
|
#define LLVM_CODEGEN_SPARC_H
|
||||||
|
|
||||||
//************************** System Include Files **************************/
|
|
||||||
|
|
||||||
//*************************** User Include Files ***************************/
|
|
||||||
|
|
||||||
#include "llvm/CodeGen/TargetMachine.h"
|
#include "llvm/CodeGen/TargetMachine.h"
|
||||||
#include "llvm/CodeGen/MachineInstr.h"
|
|
||||||
|
|
||||||
|
|
||||||
//************************* Opaque Declarations ****************************/
|
|
||||||
|
|
||||||
|
|
||||||
//************************ Exported Constants ******************************/
|
|
||||||
|
|
||||||
|
|
||||||
// OpCodeMask definitions for the Sparc V9
|
// OpCodeMask definitions for the Sparc V9
|
||||||
//
|
//
|
||||||
@@ -33,9 +21,6 @@ const OpCodeMask Annul = 0x20000000; // annul delay instr?
|
|||||||
const OpCodeMask PredictTaken = 0x00080000; // predict branch taken?
|
const OpCodeMask PredictTaken = 0x00080000; // predict branch taken?
|
||||||
|
|
||||||
|
|
||||||
//************************ Exported Data Types *****************************/
|
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// class UltraSparcMachine
|
// class UltraSparcMachine
|
||||||
//
|
//
|
||||||
|
@@ -12,21 +12,12 @@
|
|||||||
#ifndef LLVM_CODEGEN_TARGETMACHINE_H
|
#ifndef LLVM_CODEGEN_TARGETMACHINE_H
|
||||||
#define LLVM_CODEGEN_TARGETMACHINE_H
|
#define LLVM_CODEGEN_TARGETMACHINE_H
|
||||||
|
|
||||||
//************************** System Include Files **************************/
|
|
||||||
|
|
||||||
//*************************** User Include Files ***************************/
|
|
||||||
|
|
||||||
#include "llvm/Support/Unique.h"
|
#include "llvm/Support/Unique.h"
|
||||||
#include "llvm/Tools/DataTypes.h"
|
#include "llvm/Tools/DataTypes.h"
|
||||||
|
#include <string>
|
||||||
//************************* Opaque Declarations ****************************/
|
|
||||||
|
|
||||||
class Type;
|
class Type;
|
||||||
class StructType;
|
class StructType;
|
||||||
class MachineInstrInfo;
|
|
||||||
|
|
||||||
|
|
||||||
//************************ Exported Data Types *****************************/
|
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
@@ -13,10 +13,7 @@
|
|||||||
|
|
||||||
#include "llvm/Type.h"
|
#include "llvm/Type.h"
|
||||||
#include "llvm/CodeGen/TargetMachine.h"
|
#include "llvm/CodeGen/TargetMachine.h"
|
||||||
#include "vector"
|
#include <vector>
|
||||||
|
|
||||||
class TargetMachine;
|
|
||||||
|
|
||||||
|
|
||||||
// Future derived types: SIMD packed format
|
// Future derived types: SIMD packed format
|
||||||
|
|
||||||
|
@@ -25,7 +25,6 @@
|
|||||||
//*************************** User Include Files ***************************/
|
//*************************** User Include Files ***************************/
|
||||||
|
|
||||||
#include "llvm/CodeGen/InstrForest.h"
|
#include "llvm/CodeGen/InstrForest.h"
|
||||||
#include "llvm/Module.h"
|
|
||||||
#include "llvm/Method.h"
|
#include "llvm/Method.h"
|
||||||
#include "llvm/iTerminators.h"
|
#include "llvm/iTerminators.h"
|
||||||
#include "llvm/iMemory.h"
|
#include "llvm/iMemory.h"
|
||||||
@@ -33,8 +32,6 @@
|
|||||||
#include "llvm/BasicBlock.h"
|
#include "llvm/BasicBlock.h"
|
||||||
#include "llvm/CodeGen/MachineInstr.h"
|
#include "llvm/CodeGen/MachineInstr.h"
|
||||||
|
|
||||||
//************************ Class Implementations **************************/
|
|
||||||
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------
|
//------------------------------------------------------------------------
|
||||||
// class InstrTreeNode
|
// class InstrTreeNode
|
||||||
|
@@ -12,22 +12,10 @@
|
|||||||
// 7/2/01 - Vikram Adve - Created
|
// 7/2/01 - Vikram Adve - Created
|
||||||
//**************************************************************************/
|
//**************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
//************************** System Include Files **************************/
|
|
||||||
|
|
||||||
#include <strstream.h>
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
//*************************** User Include Files ***************************/
|
|
||||||
|
|
||||||
#include "llvm/Type.h"
|
|
||||||
#include "llvm/DerivedTypes.h"
|
|
||||||
#include "llvm/ConstPoolVals.h"
|
|
||||||
#include "llvm/Value.h"
|
|
||||||
#include "llvm/Instruction.h"
|
|
||||||
#include "llvm/CodeGen/InstrForest.h"
|
|
||||||
#include "llvm/CodeGen/MachineInstr.h"
|
#include "llvm/CodeGen/MachineInstr.h"
|
||||||
|
#include "llvm/ConstPoolVals.h"
|
||||||
|
#include "llvm/Instruction.h"
|
||||||
|
#include <strstream>
|
||||||
|
|
||||||
//************************ Class Implementations **************************/
|
//************************ Class Implementations **************************/
|
||||||
|
|
||||||
|
@@ -9,15 +9,8 @@
|
|||||||
// 7/15/01 - Vikram Adve - Created
|
// 7/15/01 - Vikram Adve - Created
|
||||||
//**************************************************************************/
|
//**************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
//************************** System Include Files **************************/
|
|
||||||
|
|
||||||
//*************************** User Include Files ***************************/
|
|
||||||
|
|
||||||
#include "llvm/DerivedTypes.h"
|
|
||||||
#include "llvm/CodeGen/Sparc.h"
|
#include "llvm/CodeGen/Sparc.h"
|
||||||
|
|
||||||
|
|
||||||
//************************ Exported Constants ******************************/
|
//************************ Exported Constants ******************************/
|
||||||
|
|
||||||
|
|
||||||
|
@@ -10,23 +10,14 @@
|
|||||||
//**************************************************************************/
|
//**************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
//************************** System Include Files **************************/
|
|
||||||
|
|
||||||
//*************************** User Include Files ***************************/
|
//*************************** User Include Files ***************************/
|
||||||
|
|
||||||
#include "llvm/DerivedTypes.h"
|
|
||||||
#include "llvm/CodeGen/TargetMachine.h"
|
#include "llvm/CodeGen/TargetMachine.h"
|
||||||
|
#include "llvm/DerivedTypes.h"
|
||||||
|
|
||||||
//************************* Opaque Declarations ****************************/
|
|
||||||
|
|
||||||
class StructType;
|
|
||||||
class MachineInstrInfo;
|
|
||||||
|
|
||||||
|
|
||||||
//************************ Class Implementations **************************/
|
//************************ Class Implementations **************************/
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// function TargetMachine::findOptimalMemberOffsets
|
// function TargetMachine::findOptimalMemberOffsets
|
||||||
//
|
//
|
||||||
|
@@ -25,7 +25,6 @@
|
|||||||
//*************************** User Include Files ***************************/
|
//*************************** User Include Files ***************************/
|
||||||
|
|
||||||
#include "llvm/CodeGen/InstrForest.h"
|
#include "llvm/CodeGen/InstrForest.h"
|
||||||
#include "llvm/Module.h"
|
|
||||||
#include "llvm/Method.h"
|
#include "llvm/Method.h"
|
||||||
#include "llvm/iTerminators.h"
|
#include "llvm/iTerminators.h"
|
||||||
#include "llvm/iMemory.h"
|
#include "llvm/iMemory.h"
|
||||||
@@ -33,8 +32,6 @@
|
|||||||
#include "llvm/BasicBlock.h"
|
#include "llvm/BasicBlock.h"
|
||||||
#include "llvm/CodeGen/MachineInstr.h"
|
#include "llvm/CodeGen/MachineInstr.h"
|
||||||
|
|
||||||
//************************ Class Implementations **************************/
|
|
||||||
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------
|
//------------------------------------------------------------------------
|
||||||
// class InstrTreeNode
|
// class InstrTreeNode
|
||||||
|
Reference in New Issue
Block a user