mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:50:30 +00:00
Make some headers self-contained, remove unused includes that violate layering.
llvm-svn: 258937
This commit is contained in:
parent
5b34ccce2a
commit
cc4037f846
@ -14,8 +14,6 @@
|
||||
#ifndef LLVM_C_ERROR_HANDLING_H
|
||||
#define LLVM_C_ERROR_HANDLING_H
|
||||
|
||||
#include "llvm-c/Types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -28,10 +28,10 @@
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/SmallPtrSet.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "llvm/IR/BasicBlock.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class BasicBlock;
|
||||
template <class T> class DomTreeNodeBase;
|
||||
typedef DomTreeNodeBase<BasicBlock> DomTreeNode;
|
||||
template <class T> class DominatorTreeBase;
|
||||
|
@ -15,6 +15,7 @@
|
||||
#define LLVM_IR_TYPEFINDER_H
|
||||
|
||||
#include "llvm/ADT/DenseSet.h"
|
||||
#include "llvm/IR/Type.h"
|
||||
#include <vector>
|
||||
|
||||
namespace llvm {
|
||||
@ -22,7 +23,6 @@ namespace llvm {
|
||||
class MDNode;
|
||||
class Module;
|
||||
class StructType;
|
||||
class Type;
|
||||
class Value;
|
||||
|
||||
/// TypeFinder - Walk over a module, identifying all of the types that are
|
||||
|
@ -20,7 +20,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Analysis/DemandedBits.h"
|
||||
#include "llvm/Transforms/Scalar.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/DepthFirstIterator.h"
|
||||
#include "llvm/ADT/SmallPtrSet.h"
|
||||
|
@ -76,7 +76,6 @@
|
||||
#include "llvm/Support/CommandLine.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "llvm/Transforms/Scalar.h"
|
||||
#include <vector>
|
||||
using namespace llvm;
|
||||
|
||||
|
@ -59,7 +59,6 @@
|
||||
// We use heuristics to discover the best global grouping we can (cf cl::opts).
|
||||
// ===---------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Transforms/Scalar.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/SmallBitVector.h"
|
||||
#include "llvm/ADT/SmallPtrSet.h"
|
||||
|
@ -16,7 +16,6 @@
|
||||
#include "WebAssemblyTargetStreamer.h"
|
||||
#include "InstPrinter/WebAssemblyInstPrinter.h"
|
||||
#include "WebAssemblyMCTargetDesc.h"
|
||||
#include "WebAssemblyTargetObjectFile.h"
|
||||
#include "llvm/MC/MCContext.h"
|
||||
#include "llvm/MC/MCSectionELF.h"
|
||||
#include "llvm/MC/MCSubtargetInfo.h"
|
||||
|
@ -58,7 +58,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#define DEBUG_TYPE "symbol-rewriter"
|
||||
#include "llvm/CodeGen/Passes.h"
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/ADT/SmallString.h"
|
||||
#include "llvm/IR/LegacyPassManager.h"
|
||||
|
Loading…
Reference in New Issue
Block a user