1
0
mirror of https://github.com/RPCSX/llvm.git synced 2025-04-06 02:01:43 +00:00

Prune includes in X86 target.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204216 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper 2014-03-19 06:53:25 +00:00
parent 6d191534f6
commit 59ae7294ef
15 changed files with 18 additions and 32 deletions

@ -18,7 +18,7 @@
#define X86BASEINFO_H #define X86BASEINFO_H
#include "X86MCTargetDesc.h" #include "X86MCTargetDesc.h"
#include "llvm/MC/MCInstrInfo.h" #include "llvm/MC/MCInstrDesc.h"
#include "llvm/Support/DataTypes.h" #include "llvm/Support/DataTypes.h"
#include "llvm/Support/ErrorHandling.h" #include "llvm/Support/ErrorHandling.h"

@ -7,8 +7,7 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#include "X86.h" #include "MCTargetDesc/X86MCTargetDesc.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/TargetRegistry.h" #include "llvm/Support/TargetRegistry.h"
using namespace llvm; using namespace llvm;

@ -15,14 +15,12 @@
#ifndef TARGET_X86_H #ifndef TARGET_X86_H
#define TARGET_X86_H #define TARGET_X86_H
#include "MCTargetDesc/X86BaseInfo.h" #include "llvm/Support/CodeGen.h"
#include "MCTargetDesc/X86MCTargetDesc.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/Target/TargetMachine.h"
namespace llvm { namespace llvm {
class FunctionPass; class FunctionPass;
class ImmutablePass;
class JITCodeEmitter; class JITCodeEmitter;
class X86TargetMachine; class X86TargetMachine;

@ -14,15 +14,14 @@
#include "X86AsmPrinter.h" #include "X86AsmPrinter.h"
#include "InstPrinter/X86ATTInstPrinter.h" #include "InstPrinter/X86ATTInstPrinter.h"
#include "X86.h" #include "MCTargetDesc/X86BaseInfo.h"
#include "X86COFFMachineModuleInfo.h" #include "X86COFFMachineModuleInfo.h"
#include "X86InstrInfo.h"
#include "X86MachineFunctionInfo.h" #include "X86MachineFunctionInfo.h"
#include "X86TargetMachine.h"
#include "llvm/ADT/SmallString.h" #include "llvm/ADT/SmallString.h"
#include "llvm/CodeGen/MachineJumpTableInfo.h"
#include "llvm/CodeGen/MachineModuleInfoImpls.h" #include "llvm/CodeGen/MachineModuleInfoImpls.h"
#include "llvm/CodeGen/MachineValueType.h"
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h" #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
#include "llvm/IR/CallingConv.h"
#include "llvm/IR/DebugInfo.h" #include "llvm/IR/DebugInfo.h"
#include "llvm/IR/DerivedTypes.h" #include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Mangler.h" #include "llvm/IR/Mangler.h"
@ -38,7 +37,6 @@
#include "llvm/Support/Debug.h" #include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h" #include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/TargetRegistry.h" #include "llvm/Support/TargetRegistry.h"
#include "llvm/Target/TargetOptions.h"
using namespace llvm; using namespace llvm;
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//

@ -10,13 +10,10 @@
#ifndef X86ASMPRINTER_H #ifndef X86ASMPRINTER_H
#define X86ASMPRINTER_H #define X86ASMPRINTER_H
#include "X86.h" #include "X86Subtarget.h"
#include "X86MachineFunctionInfo.h"
#include "X86TargetMachine.h"
#include "llvm/CodeGen/AsmPrinter.h" #include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/StackMaps.h" #include "llvm/CodeGen/StackMaps.h"
#include "llvm/Support/Compiler.h" #include "llvm/Target/TargetMachine.h"
namespace llvm { namespace llvm {

@ -15,8 +15,8 @@
#include "X86.h" #include "X86.h"
#include "X86CallingConv.h" #include "X86CallingConv.h"
#include "X86ISelLowering.h"
#include "X86InstrBuilder.h" #include "X86InstrBuilder.h"
#include "X86MachineFunctionInfo.h"
#include "X86RegisterInfo.h" #include "X86RegisterInfo.h"
#include "X86Subtarget.h" #include "X86Subtarget.h"
#include "X86TargetMachine.h" #include "X86TargetMachine.h"

@ -15,7 +15,6 @@
#define X86_FRAMELOWERING_H #define X86_FRAMELOWERING_H
#include "X86Subtarget.h" #include "X86Subtarget.h"
#include "llvm/MC/MCDwarf.h"
#include "llvm/Target/TargetFrameLowering.h" #include "llvm/Target/TargetFrameLowering.h"
namespace llvm { namespace llvm {

@ -15,9 +15,9 @@
#define DEBUG_TYPE "x86-isel" #define DEBUG_TYPE "x86-isel"
#include "X86ISelLowering.h" #include "X86ISelLowering.h"
#include "Utils/X86ShuffleDecode.h" #include "Utils/X86ShuffleDecode.h"
#include "X86.h"
#include "X86CallingConv.h" #include "X86CallingConv.h"
#include "X86InstrBuilder.h" #include "X86InstrBuilder.h"
#include "X86MachineFunctionInfo.h"
#include "X86TargetMachine.h" #include "X86TargetMachine.h"
#include "X86TargetObjectFile.h" #include "X86TargetObjectFile.h"
#include "llvm/ADT/SmallSet.h" #include "llvm/ADT/SmallSet.h"

@ -15,16 +15,15 @@
#ifndef X86ISELLOWERING_H #ifndef X86ISELLOWERING_H
#define X86ISELLOWERING_H #define X86ISELLOWERING_H
#include "X86MachineFunctionInfo.h"
#include "X86RegisterInfo.h"
#include "X86Subtarget.h" #include "X86Subtarget.h"
#include "llvm/CodeGen/CallingConvLower.h" #include "llvm/CodeGen/CallingConvLower.h"
#include "llvm/CodeGen/FastISel.h"
#include "llvm/CodeGen/SelectionDAG.h" #include "llvm/CodeGen/SelectionDAG.h"
#include "llvm/Target/TargetLowering.h" #include "llvm/Target/TargetLowering.h"
#include "llvm/Target/TargetOptions.h" #include "llvm/Target/TargetOptions.h"
namespace llvm { namespace llvm {
class X86TargetMachine;
namespace X86ISD { namespace X86ISD {
// X86 Specific DAG Nodes // X86 Specific DAG Nodes
enum NodeType { enum NodeType {

@ -14,7 +14,7 @@
#ifndef X86INSTRUCTIONINFO_H #ifndef X86INSTRUCTIONINFO_H
#define X86INSTRUCTIONINFO_H #define X86INSTRUCTIONINFO_H
#include "X86.h" #include "MCTargetDesc/X86BaseInfo.h"
#include "X86RegisterInfo.h" #include "X86RegisterInfo.h"
#include "llvm/ADT/DenseMap.h" #include "llvm/ADT/DenseMap.h"
#include "llvm/Target/TargetInstrInfo.h" #include "llvm/Target/TargetInstrInfo.h"

@ -14,12 +14,14 @@
#include "X86AsmPrinter.h" #include "X86AsmPrinter.h"
#include "InstPrinter/X86ATTInstPrinter.h" #include "InstPrinter/X86ATTInstPrinter.h"
#include "X86COFFMachineModuleInfo.h" #include "MCTargetDesc/X86BaseInfo.h"
#include "llvm/ADT/SmallString.h" #include "llvm/ADT/SmallString.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineModuleInfoImpls.h" #include "llvm/CodeGen/MachineModuleInfoImpls.h"
#include "llvm/CodeGen/StackMaps.h" #include "llvm/CodeGen/StackMaps.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/Mangler.h" #include "llvm/IR/Mangler.h"
#include "llvm/IR/Type.h"
#include "llvm/MC/MCAsmInfo.h" #include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCContext.h" #include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h" #include "llvm/MC/MCExpr.h"
@ -27,7 +29,6 @@
#include "llvm/MC/MCInstBuilder.h" #include "llvm/MC/MCInstBuilder.h"
#include "llvm/MC/MCStreamer.h" #include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSymbol.h" #include "llvm/MC/MCSymbol.h"
#include "llvm/Support/FormattedStream.h"
using namespace llvm; using namespace llvm;
namespace { namespace {

@ -14,7 +14,6 @@
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#include "X86RegisterInfo.h" #include "X86RegisterInfo.h"
#include "X86.h"
#include "X86InstrBuilder.h" #include "X86InstrBuilder.h"
#include "X86MachineFunctionInfo.h" #include "X86MachineFunctionInfo.h"
#include "X86Subtarget.h" #include "X86Subtarget.h"

@ -13,7 +13,6 @@
#include "X86TargetMachine.h" #include "X86TargetMachine.h"
#include "X86.h" #include "X86.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/Passes.h" #include "llvm/CodeGen/Passes.h"
#include "llvm/PassManager.h" #include "llvm/PassManager.h"
#include "llvm/Support/CommandLine.h" #include "llvm/Support/CommandLine.h"

@ -14,7 +14,6 @@
#ifndef X86TARGETMACHINE_H #ifndef X86TARGETMACHINE_H
#define X86TARGETMACHINE_H #define X86TARGETMACHINE_H
#include "X86.h"
#include "X86FrameLowering.h" #include "X86FrameLowering.h"
#include "X86ISelLowering.h" #include "X86ISelLowering.h"
#include "X86InstrInfo.h" #include "X86InstrInfo.h"
@ -22,7 +21,6 @@
#include "X86SelectionDAGInfo.h" #include "X86SelectionDAGInfo.h"
#include "X86Subtarget.h" #include "X86Subtarget.h"
#include "llvm/IR/DataLayout.h" #include "llvm/IR/DataLayout.h"
#include "llvm/Target/TargetFrameLowering.h"
#include "llvm/Target/TargetMachine.h" #include "llvm/Target/TargetMachine.h"
namespace llvm { namespace llvm {

@ -12,7 +12,6 @@
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h" #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
#include "llvm/Target/TargetLoweringObjectFile.h" #include "llvm/Target/TargetLoweringObjectFile.h"
#include "llvm/Target/TargetMachine.h"
namespace llvm { namespace llvm {