mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-04 05:17:07 +00:00 
			
		
		
		
	Prune some includes and forward declarations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153414 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		@@ -17,9 +17,7 @@
 | 
				
			|||||||
#include "llvm/ADT/DenseMap.h"
 | 
					#include "llvm/ADT/DenseMap.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace llvm {
 | 
					namespace llvm {
 | 
				
			||||||
class StringRef;
 | 
					 | 
				
			||||||
class Twine;
 | 
					class Twine;
 | 
				
			||||||
class Value;
 | 
					 | 
				
			||||||
class GlobalValue;
 | 
					class GlobalValue;
 | 
				
			||||||
template <typename T> class SmallVectorImpl;
 | 
					template <typename T> class SmallVectorImpl;
 | 
				
			||||||
class MCContext;
 | 
					class MCContext;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -15,9 +15,6 @@
 | 
				
			|||||||
#define LLVM_TARGET_TARGETELFWRITERINFO_H
 | 
					#define LLVM_TARGET_TARGETELFWRITERINFO_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace llvm {
 | 
					namespace llvm {
 | 
				
			||||||
  class Function;
 | 
					 | 
				
			||||||
  class TargetData;
 | 
					 | 
				
			||||||
  class TargetMachine;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  //===--------------------------------------------------------------------===//
 | 
					  //===--------------------------------------------------------------------===//
 | 
				
			||||||
  //                          TargetELFWriterInfo
 | 
					  //                          TargetELFWriterInfo
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -15,8 +15,6 @@
 | 
				
			|||||||
#define LLVM_TARGET_TARGETFRAMELOWERING_H
 | 
					#define LLVM_TARGET_TARGETFRAMELOWERING_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "llvm/CodeGen/MachineBasicBlock.h"
 | 
					#include "llvm/CodeGen/MachineBasicBlock.h"
 | 
				
			||||||
#include "llvm/MC/MCDwarf.h"
 | 
					 | 
				
			||||||
#include "llvm/ADT/ArrayRef.h"
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <utility>
 | 
					#include <utility>
 | 
				
			||||||
#include <vector>
 | 
					#include <vector>
 | 
				
			||||||
@@ -24,8 +22,6 @@
 | 
				
			|||||||
namespace llvm {
 | 
					namespace llvm {
 | 
				
			||||||
  class CalleeSavedInfo;
 | 
					  class CalleeSavedInfo;
 | 
				
			||||||
  class MachineFunction;
 | 
					  class MachineFunction;
 | 
				
			||||||
  class MachineBasicBlock;
 | 
					 | 
				
			||||||
  class MachineMove;
 | 
					 | 
				
			||||||
  class RegScavenger;
 | 
					  class RegScavenger;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/// Information about stack frame layout on the target.  It holds the direction
 | 
					/// Information about stack frame layout on the target.  It holds the direction
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -17,9 +17,9 @@
 | 
				
			|||||||
#ifndef LLVM_TARGET_TARGETJITINFO_H
 | 
					#ifndef LLVM_TARGET_TARGETJITINFO_H
 | 
				
			||||||
#define LLVM_TARGET_TARGETJITINFO_H
 | 
					#define LLVM_TARGET_TARGETJITINFO_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <cassert>
 | 
					 | 
				
			||||||
#include "llvm/Support/ErrorHandling.h"
 | 
					#include "llvm/Support/ErrorHandling.h"
 | 
				
			||||||
#include "llvm/Support/DataTypes.h"
 | 
					#include "llvm/Support/DataTypes.h"
 | 
				
			||||||
 | 
					#include <cassert>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace llvm {
 | 
					namespace llvm {
 | 
				
			||||||
  class Function;
 | 
					  class Function;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -25,7 +25,6 @@
 | 
				
			|||||||
#include "llvm/CallingConv.h"
 | 
					#include "llvm/CallingConv.h"
 | 
				
			||||||
#include "llvm/InlineAsm.h"
 | 
					#include "llvm/InlineAsm.h"
 | 
				
			||||||
#include "llvm/Attributes.h"
 | 
					#include "llvm/Attributes.h"
 | 
				
			||||||
#include "llvm/ADT/SmallPtrSet.h"
 | 
					 | 
				
			||||||
#include "llvm/CodeGen/SelectionDAGNodes.h"
 | 
					#include "llvm/CodeGen/SelectionDAGNodes.h"
 | 
				
			||||||
#include "llvm/CodeGen/RuntimeLibcalls.h"
 | 
					#include "llvm/CodeGen/RuntimeLibcalls.h"
 | 
				
			||||||
#include "llvm/Support/DebugLoc.h"
 | 
					#include "llvm/Support/DebugLoc.h"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -19,19 +19,15 @@
 | 
				
			|||||||
#include "llvm/MC/MCObjectFileInfo.h"
 | 
					#include "llvm/MC/MCObjectFileInfo.h"
 | 
				
			||||||
#include "llvm/MC/SectionKind.h"
 | 
					#include "llvm/MC/SectionKind.h"
 | 
				
			||||||
#include "llvm/ADT/ArrayRef.h"
 | 
					#include "llvm/ADT/ArrayRef.h"
 | 
				
			||||||
#include "llvm/ADT/StringRef.h"
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace llvm {
 | 
					namespace llvm {
 | 
				
			||||||
  class MachineModuleInfo;
 | 
					  class MachineModuleInfo;
 | 
				
			||||||
  class Mangler;
 | 
					  class Mangler;
 | 
				
			||||||
  class MCAsmInfo;
 | 
					 | 
				
			||||||
  class MCContext;
 | 
					  class MCContext;
 | 
				
			||||||
  class MCExpr;
 | 
					  class MCExpr;
 | 
				
			||||||
  class MCSection;
 | 
					  class MCSection;
 | 
				
			||||||
  class MCSectionMachO;
 | 
					 | 
				
			||||||
  class MCSymbol;
 | 
					  class MCSymbol;
 | 
				
			||||||
  class MCStreamer;
 | 
					  class MCStreamer;
 | 
				
			||||||
  class NamedMDNode;
 | 
					 | 
				
			||||||
  class GlobalValue;
 | 
					  class GlobalValue;
 | 
				
			||||||
  class TargetMachine;
 | 
					  class TargetMachine;
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -14,8 +14,8 @@
 | 
				
			|||||||
#ifndef LLVM_TARGET_TARGETMACHINE_H
 | 
					#ifndef LLVM_TARGET_TARGETMACHINE_H
 | 
				
			||||||
#define LLVM_TARGET_TARGETMACHINE_H
 | 
					#define LLVM_TARGET_TARGETMACHINE_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include "llvm/Support/CodeGen.h"
 | 
				
			||||||
#include "llvm/Target/TargetOptions.h"
 | 
					#include "llvm/Target/TargetOptions.h"
 | 
				
			||||||
#include "llvm/MC/MCCodeGenInfo.h"
 | 
					 | 
				
			||||||
#include "llvm/ADT/StringRef.h"
 | 
					#include "llvm/ADT/StringRef.h"
 | 
				
			||||||
#include <cassert>
 | 
					#include <cassert>
 | 
				
			||||||
#include <string>
 | 
					#include <string>
 | 
				
			||||||
@@ -27,8 +27,6 @@ class JITCodeEmitter;
 | 
				
			|||||||
class MCAsmInfo;
 | 
					class MCAsmInfo;
 | 
				
			||||||
class MCCodeGenInfo;
 | 
					class MCCodeGenInfo;
 | 
				
			||||||
class MCContext;
 | 
					class MCContext;
 | 
				
			||||||
class Pass;
 | 
					 | 
				
			||||||
class PassManager;
 | 
					 | 
				
			||||||
class PassManagerBase;
 | 
					class PassManagerBase;
 | 
				
			||||||
class Target;
 | 
					class Target;
 | 
				
			||||||
class TargetData;
 | 
					class TargetData;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -15,7 +15,7 @@
 | 
				
			|||||||
#define LLVM_TARGET_TARGETSUBTARGETINFO_H
 | 
					#define LLVM_TARGET_TARGETSUBTARGETINFO_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "llvm/MC/MCSubtargetInfo.h"
 | 
					#include "llvm/MC/MCSubtargetInfo.h"
 | 
				
			||||||
#include "llvm/Target/TargetMachine.h"
 | 
					#include "llvm/Support/CodeGen.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace llvm {
 | 
					namespace llvm {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user