mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 00:17:01 +00:00
Prune some includes and forward declarations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153429 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -23,7 +23,6 @@ class Function;
|
||||
class BasicBlock;
|
||||
class Instruction;
|
||||
class Value;
|
||||
class raw_ostream;
|
||||
class formatted_raw_ostream;
|
||||
|
||||
class AssemblyAnnotationWriter {
|
||||
|
||||
@@ -21,7 +21,6 @@ namespace llvm {
|
||||
class Module;
|
||||
class MemoryBuffer;
|
||||
class SMDiagnostic;
|
||||
class raw_ostream;
|
||||
class LLVMContext;
|
||||
|
||||
/// This function is the main interface to the LLVM Assembly Parser. It parses
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class Type;
|
||||
class Module;
|
||||
class Value;
|
||||
class raw_ostream;
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#define LLVM_INLINEASM_H
|
||||
|
||||
#include "llvm/Value.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include <vector>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
@@ -15,14 +15,15 @@
|
||||
#define LLVM_LINKER_H
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
namespace llvm {
|
||||
namespace sys { class Path; }
|
||||
|
||||
class Module;
|
||||
class LLVMContext;
|
||||
class StringRef;
|
||||
|
||||
/// This class provides the core functionality of linking in LLVM. It retains a
|
||||
/// Module object which is the composite of the modules and libraries linked
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
|
||||
#include "llvm/MC/MCDirectives.h"
|
||||
#include "llvm/MC/MCFixup.h"
|
||||
#include "llvm/MC/MCFixupKindInfo.h"
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
|
||||
@@ -20,15 +19,13 @@ namespace llvm {
|
||||
class MCAsmLayout;
|
||||
class MCAssembler;
|
||||
class MCELFObjectTargetWriter;
|
||||
class MCFixup;
|
||||
struct MCFixupKindInfo;
|
||||
class MCFragment;
|
||||
class MCInst;
|
||||
class MCInstFragment;
|
||||
class MCObjectWriter;
|
||||
class MCSection;
|
||||
class MCValue;
|
||||
template<typename T>
|
||||
class SmallVectorImpl;
|
||||
class raw_ostream;
|
||||
|
||||
/// MCAsmBackend - Generic interface to target specific assembler backends.
|
||||
|
||||
@@ -25,7 +25,6 @@ namespace llvm {
|
||||
class raw_ostream;
|
||||
class MCAsmLayout;
|
||||
class MCAssembler;
|
||||
class MCBinaryExpr;
|
||||
class MCContext;
|
||||
class MCCodeEmitter;
|
||||
class MCExpr;
|
||||
|
||||
@@ -10,12 +10,8 @@
|
||||
#ifndef LLVM_MC_MCCODEEMITTER_H
|
||||
#define LLVM_MC_MCCODEEMITTER_H
|
||||
|
||||
#include "llvm/MC/MCFixup.h"
|
||||
|
||||
#include <cassert>
|
||||
|
||||
namespace llvm {
|
||||
class MCExpr;
|
||||
class MCFixup;
|
||||
class MCInst;
|
||||
class raw_ostream;
|
||||
template<typename T> class SmallVectorImpl;
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
#include "llvm/ADT/StringMap.h"
|
||||
#include "llvm/Support/Allocator.h"
|
||||
#include "llvm/Support/Compiler.h"
|
||||
#include "llvm/Support/SMLoc.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include <vector> // FIXME: Shouldn't be needed.
|
||||
|
||||
@@ -31,6 +30,7 @@ namespace llvm {
|
||||
class MCObjectFileInfo;
|
||||
class MCRegisterInfo;
|
||||
class MCLineSection;
|
||||
class SMLoc;
|
||||
class StringRef;
|
||||
class Twine;
|
||||
class MCSectionMachO;
|
||||
|
||||
@@ -17,20 +17,16 @@
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/MC/MachineLocation.h"
|
||||
#include "llvm/MC/MCObjectWriter.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "llvm/Support/Dwarf.h"
|
||||
#include <vector>
|
||||
|
||||
namespace llvm {
|
||||
class MCContext;
|
||||
class MCExpr;
|
||||
class MCObjectWriter;
|
||||
class MCSection;
|
||||
class MCSectionData;
|
||||
class MCStreamer;
|
||||
class MCSymbol;
|
||||
class MCObjectStreamer;
|
||||
class raw_ostream;
|
||||
class SourceMgr;
|
||||
class SMLoc;
|
||||
|
||||
|
||||
@@ -10,12 +10,19 @@
|
||||
#ifndef LLVM_MC_MCELFOBJECTWRITER_H
|
||||
#define LLVM_MC_MCELFOBJECTWRITER_H
|
||||
|
||||
#include "llvm/MC/MCObjectWriter.h"
|
||||
#include "llvm/ADT/Triple.h"
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
#include "llvm/Support/ELF.h"
|
||||
#include <vector>
|
||||
|
||||
namespace llvm {
|
||||
class MCAssembler;
|
||||
class MCFixup;
|
||||
class MCFragment;
|
||||
class MCObjectWriter;
|
||||
class MCSymbol;
|
||||
class MCValue;
|
||||
|
||||
/// @name Relocation Data
|
||||
/// @{
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
|
||||
namespace llvm {
|
||||
class MCAsmInfo;
|
||||
class MCAsmLayout;
|
||||
class MCAssembler;
|
||||
class MCContext;
|
||||
|
||||
@@ -14,13 +14,12 @@
|
||||
#ifndef LLVM_MC_MCBJECTFILEINFO_H
|
||||
#define LLVM_MC_MCBJECTFILEINFO_H
|
||||
|
||||
#include "llvm/MC/MCCodeGenInfo.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/MC/SectionKind.h"
|
||||
#include "llvm/Support/CodeGen.h"
|
||||
|
||||
namespace llvm {
|
||||
class MCContext;
|
||||
class MCSection;
|
||||
class StringRef;
|
||||
class Triple;
|
||||
|
||||
class MCObjectFileInfo {
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#ifndef LLVM_MC_MCOBJECTWRITER_H
|
||||
#define LLVM_MC_MCOBJECTWRITER_H
|
||||
|
||||
#include "llvm/ADT/Triple.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
#include <cassert>
|
||||
@@ -20,11 +19,9 @@ class MCAsmLayout;
|
||||
class MCAssembler;
|
||||
class MCFixup;
|
||||
class MCFragment;
|
||||
class MCSymbol;
|
||||
class MCSymbolData;
|
||||
class MCSymbolRefExpr;
|
||||
class MCValue;
|
||||
class raw_ostream;
|
||||
|
||||
/// MCObjectWriter - Defines the object file and target independent interfaces
|
||||
/// used by the assembler backend to write native file format object files.
|
||||
|
||||
@@ -14,12 +14,10 @@
|
||||
#ifndef LLVM_MC_MCSECTION_H
|
||||
#define LLVM_MC_MCSECTION_H
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/MC/SectionKind.h"
|
||||
#include "llvm/Support/Casting.h"
|
||||
|
||||
namespace llvm {
|
||||
class MCContext;
|
||||
class MCAsmInfo;
|
||||
class raw_ostream;
|
||||
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
#define LLVM_MC_MCSECTIONCOFF_H
|
||||
|
||||
#include "llvm/MC/MCSection.h"
|
||||
|
||||
#include "llvm/Support/COFF.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
#include "llvm/MC/MCSection.h"
|
||||
#include "llvm/Support/ELF.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#define LLVM_MC_MCSECTIONMACHO_H
|
||||
|
||||
#include "llvm/MC/MCSection.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
namespace llvm {
|
||||
class MCAsmBackend;
|
||||
class MCAsmInfo;
|
||||
class MCCodeEmitter;
|
||||
class MCContext;
|
||||
class MCExpr;
|
||||
@@ -32,7 +31,6 @@ namespace llvm {
|
||||
class MCSection;
|
||||
class MCSymbol;
|
||||
class StringRef;
|
||||
class TargetLoweringObjectFile;
|
||||
class Twine;
|
||||
class raw_ostream;
|
||||
class formatted_raw_ostream;
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#define LLVM_VALUE_H
|
||||
|
||||
#include "llvm/Use.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/Support/Casting.h"
|
||||
|
||||
namespace llvm {
|
||||
@@ -31,8 +30,6 @@ class GlobalAlias;
|
||||
class InlineAsm;
|
||||
class ValueSymbolTable;
|
||||
template<typename ValueTy> class StringMapEntry;
|
||||
template <typename ValueTy = Value>
|
||||
class AssertingVH;
|
||||
typedef StringMapEntry<Value*> ValueName;
|
||||
class raw_ostream;
|
||||
class AssemblyAnnotationWriter;
|
||||
@@ -41,6 +38,7 @@ class LLVMContext;
|
||||
class Twine;
|
||||
class MDNode;
|
||||
class Type;
|
||||
class StringRef;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Value Class
|
||||
|
||||
Reference in New Issue
Block a user