Tidy #includes.
authorDan Gohman <gohman@apple.com>
Tue, 11 Aug 2009 16:02:12 +0000 (16:02 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 11 Aug 2009 16:02:12 +0000 (16:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78677 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/ScalarEvolution.h
include/llvm/LLVMContext.h
include/llvm/Pass.h
lib/Analysis/Analysis.cpp
lib/CodeGen/LLVMTargetMachine.cpp
lib/CodeGen/MachineLICM.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/Target/TargetLoweringObjectFile.cpp
lib/VMCore/BasicBlock.cpp
lib/VMCore/LLVMContext.cpp

index 1a648df5db53c042dc21b2c25392a6c795405e7d..c008051d5c95d6be798a2e2dd457c3650c09f6bd 100644 (file)
@@ -23,6 +23,7 @@
 
 #include "llvm/Pass.h"
 #include "llvm/Instructions.h"
+#include "llvm/Function.h"
 #include "llvm/Support/DataTypes.h"
 #include "llvm/Support/ValueHandle.h"
 #include "llvm/Support/Allocator.h"
index d74fa11f3fefd1c85a9b0fda07a944006bd7b4e5..c72b21c12ef58e59e7cfdc670eef36a61fe3f4d3 100644 (file)
 #ifndef LLVM_LLVMCONTEXT_H
 #define LLVM_LLVMCONTEXT_H
 
-#include "llvm/Support/DataTypes.h"
-#include <vector>
-#include <string>
-
 namespace llvm {
 
 struct LLVMContextImpl;
index b042756238d282eff10c2a508338c5fabd68e934..374b933095bb22f090cd889736c31ccd7f62d7da 100644 (file)
@@ -29,7 +29,6 @@
 #ifndef LLVM_PASS_H
 #define LLVM_PASS_H
 
-#include "llvm/Module.h"
 #include "llvm/Support/DataTypes.h"
 #include "llvm/Support/Streams.h"
 #include <cassert>
index 493c6e88b3f8ed978dab0daab73ec53833bdb54a..f8cb32321b00ee148e1c6655ba0839009035a2c6 100644 (file)
@@ -9,7 +9,6 @@
 
 #include "llvm-c/Analysis.h"
 #include "llvm/Analysis/Verifier.h"
-#include <fstream>
 #include <cstring>
 
 using namespace llvm;
index c60f9c7e41062407b7a6b4d11912d32b8e3b6e55..6a456dc0e6c28c0cc9896630f39d0b77655e291b 100644 (file)
@@ -15,7 +15,6 @@
 #include "llvm/PassManager.h"
 #include "llvm/Pass.h"
 #include "llvm/Assembly/PrintModulePass.h"
-#include "llvm/Analysis/LoopPass.h"
 #include "llvm/CodeGen/Passes.h"
 #include "llvm/CodeGen/GCStrategy.h"
 #include "llvm/CodeGen/MachineFunctionAnalysis.h"
index b69311f9265d4a93b6e03c19e87b83df18621c25..4ef065f1766a1a3ea66bc4f3339af664602c981f 100644 (file)
@@ -30,7 +30,6 @@
 #include "llvm/Target/TargetMachine.h"
 #include "llvm/ADT/DenseMap.h"
 #include "llvm/ADT/Statistic.h"
-#include "llvm/Support/CommandLine.h"
 #include "llvm/Support/Compiler.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/raw_ostream.h"
index 7297d60d3469c4d76a69b94bd4bd8b022640dc69..afb5d948776dff9f99a8e7018942d46c17681dd5 100644 (file)
@@ -13,6 +13,7 @@
 #include "llvm/CodeGen/SelectionDAG.h"
 #include "llvm/Constants.h"
 #include "llvm/Analysis/ValueTracking.h"
+#include "llvm/Function.h"
 #include "llvm/GlobalAlias.h"
 #include "llvm/GlobalVariable.h"
 #include "llvm/Intrinsics.h"
index c209a7b320af97148360890495cfcb1223647589..8f9058bfa5930ed0fdb716f8769d49702f8f11aa 100644 (file)
@@ -15,6 +15,7 @@
 #include "llvm/Target/TargetLoweringObjectFile.h"
 #include "llvm/Constants.h"
 #include "llvm/DerivedTypes.h"
+#include "llvm/Function.h"
 #include "llvm/GlobalVariable.h"
 #include "llvm/MC/MCContext.h"
 #include "llvm/MC/MCSectionMachO.h"
index d7ff3bc8cf5fcbd9bf28caae156b7ac226adfe42..5741cbc3db6d531a47445a1ec71bd96ba9fa2d63 100644 (file)
@@ -19,7 +19,6 @@
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/Support/CFG.h"
 #include "llvm/Support/LeakDetector.h"
-#include "llvm/Support/Compiler.h"
 #include "SymbolTableListTraitsImpl.h"
 #include <algorithm>
 using namespace llvm;
index 3ca1b0afca443c8e1563d4efafd8058ea8c10fdc..56a429dd39069d68f4f46c3c3d153a90649398d6 100644 (file)
 
 #include "llvm/LLVMContext.h"
 #include "llvm/Constants.h"
-#include "llvm/DerivedTypes.h"
 #include "llvm/Instruction.h"
-#include "llvm/Metadata.h"
 #include "llvm/Support/ManagedStatic.h"
 #include "LLVMContextImpl.h"
-#include <cstdarg>
 #include <set>
 
 using namespace llvm;