]> granicus.if.org Git - clang/commitdiff
Rewrite #includes for llvm/Foo.h to llvm/IR/Foo.h as appropriate to
authorChandler Carruth <chandlerc@gmail.com>
Wed, 2 Jan 2013 11:45:17 +0000 (11:45 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 2 Jan 2013 11:45:17 +0000 (11:45 +0000)
reflect the migration in r171366.

Re-sort the #include lines to reflect the new paths.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171369 91177308-0d34-0410-b5e6-96231b3b80d8

45 files changed:
examples/clang-interpreter/main.cpp
include/clang/Analysis/Analyses/Dominators.h
lib/Basic/Targets.cpp
lib/CodeGen/ABIInfo.h
lib/CodeGen/BackendUtil.cpp
lib/CodeGen/CGBlocks.cpp
lib/CodeGen/CGBlocks.h
lib/CodeGen/CGBuilder.h
lib/CodeGen/CGBuiltin.cpp
lib/CodeGen/CGCUDANV.cpp
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGCall.h
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGDecl.cpp
lib/CodeGen/CGDeclCXX.cpp
lib/CodeGen/CGException.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGExprAgg.cpp
lib/CodeGen/CGExprCXX.cpp
lib/CodeGen/CGExprComplex.cpp
lib/CodeGen/CGExprConstant.cpp
lib/CodeGen/CGExprScalar.cpp
lib/CodeGen/CGObjC.cpp
lib/CodeGen/CGObjCGNU.cpp
lib/CodeGen/CGObjCMac.cpp
lib/CodeGen/CGOpenCLRuntime.cpp
lib/CodeGen/CGOpenCLRuntime.h
lib/CodeGen/CGRecordLayout.h
lib/CodeGen/CGRecordLayoutBuilder.cpp
lib/CodeGen/CGStmt.cpp
lib/CodeGen/CGVTables.h
lib/CodeGen/CGValue.h
lib/CodeGen/CodeGenAction.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
lib/CodeGen/CodeGenTBAA.cpp
lib/CodeGen/CodeGenTBAA.h
lib/CodeGen/CodeGenTypes.cpp
lib/CodeGen/CodeGenTypes.h
lib/CodeGen/ItaniumCXXABI.cpp
lib/CodeGen/ModuleBuilder.cpp
lib/CodeGen/TargetInfo.cpp
lib/Frontend/ASTConsumers.cpp
tools/driver/cc1as_main.cpp

index 99250d2b8b7d8886b664d2bd62d59b52e51948ea..3daf6a0b63c3a68f9ba1efcd0f257666abb43d1d 100644 (file)
@@ -20,7 +20,7 @@
 #include "llvm/ADT/SmallString.h"
 #include "llvm/ExecutionEngine/ExecutionEngine.h"
 #include "llvm/ExecutionEngine/JIT.h"
-#include "llvm/Module.h"
+#include "llvm/IR/Module.h"
 #include "llvm/Support/Host.h"
 #include "llvm/Support/ManagedStatic.h"
 #include "llvm/Support/Path.h"
index 65b26d9e88bdb9fd730d0238194d3eadfb73259a..2a806c8befda0784d040e1c6ab9150717c2b0ecd 100644 (file)
@@ -19,7 +19,7 @@
 #include "llvm/ADT/GraphTraits.h"
 #include "llvm/Analysis/DominatorInternals.h"
 #include "llvm/Analysis/Dominators.h"
-#include "llvm/Module.h"
+#include "llvm/IR/Module.h"
 
 namespace clang {
 
index 2b932eb1211ff0907c7e74910966ddab8243aaeb..aadca20ebb1409ebd250ee5aaad96c3473381738 100644 (file)
@@ -25,9 +25,9 @@
 #include "llvm/ADT/StringRef.h"
 #include "llvm/ADT/StringSwitch.h"
 #include "llvm/ADT/Triple.h"
+#include "llvm/IR/Type.h"
 #include "llvm/MC/MCSectionMachO.h"
 #include "llvm/Support/ErrorHandling.h"
-#include "llvm/Type.h"
 #include <algorithm>
 using namespace clang;
 
index da6d035dfaf0586fbfc1b9ddc6f7a0aea3d6e635..1da1689a65919446275324fc271da311f29911c2 100644 (file)
@@ -11,7 +11,7 @@
 #define CLANG_CODEGEN_ABIINFO_H
 
 #include "clang/AST/Type.h"
-#include "llvm/Type.h"
+#include "llvm/IR/Type.h"
 
 namespace llvm {
   class Value;
index f9d3a178d9c6a48bf7ca6430080ba843225f81f5..5abac4a22949009f6811aec1ba2e322a77c55ab6 100644 (file)
@@ -18,9 +18,9 @@
 #include "llvm/Bitcode/ReaderWriter.h"
 #include "llvm/CodeGen/RegAllocRegistry.h"
 #include "llvm/CodeGen/SchedulerRegistry.h"
-#include "llvm/DataLayout.h"
+#include "llvm/IR/DataLayout.h"
+#include "llvm/IR/Module.h"
 #include "llvm/MC/SubtargetFeature.h"
-#include "llvm/Module.h"
 #include "llvm/PassManager.h"
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/FormattedStream.h"
index 8dacf1576bf36a3d303aebfa85310df3130a2802..68958522d8f3ec21de89b345aa61b07c3d2e0258 100644 (file)
@@ -18,8 +18,8 @@
 #include "CodeGenModule.h"
 #include "clang/AST/DeclObjC.h"
 #include "llvm/ADT/SmallSet.h"
-#include "llvm/DataLayout.h"
-#include "llvm/Module.h"
+#include "llvm/IR/DataLayout.h"
+#include "llvm/IR/Module.h"
 #include <algorithm>
 #include <cstdio>
 
index 0e40478fad7371586dee40bde9a96606881327a3..a70578943ab6b05936e734fea6317b1e0b6b09e1 100644 (file)
@@ -25,7 +25,7 @@
 #include "clang/AST/ExprObjC.h"
 #include "clang/AST/Type.h"
 #include "clang/Basic/TargetInfo.h"
-#include "llvm/Module.h"
+#include "llvm/IR/Module.h"
 
 namespace llvm {
   class Module;
index a790a742c9420577211e9c305511105d690b2bee..fd21e7e26a3bf39ea345493f2c71038f94b8b50a 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef CLANG_CODEGEN_CGBUILDER_H
 #define CLANG_CODEGEN_CGBUILDER_H
 
-#include "llvm/IRBuilder.h"
+#include "llvm/IR/IRBuilder.h"
 
 namespace clang {
 namespace CodeGen {
index d2824e91e7b0116ba81c744fe4ee469c50f29ce5..0898599bdcd50f32de0ec384ac9e6c9485aa4174 100644 (file)
@@ -19,8 +19,8 @@
 #include "clang/AST/Decl.h"
 #include "clang/Basic/TargetBuiltins.h"
 #include "clang/Basic/TargetInfo.h"
-#include "llvm/DataLayout.h"
-#include "llvm/Intrinsics.h"
+#include "llvm/IR/DataLayout.h"
+#include "llvm/IR/Intrinsics.h"
 
 using namespace clang;
 using namespace CodeGen;
index de3c5a2376ab6cd5703c3904ef3f758725563a26..d3397d066bafe09ac6cad7118ee7857095908de5 100644 (file)
@@ -16,9 +16,9 @@
 #include "CodeGenFunction.h"
 #include "CodeGenModule.h"
 #include "clang/AST/Decl.h"
-#include "llvm/BasicBlock.h"
-#include "llvm/Constants.h"
-#include "llvm/DerivedTypes.h"
+#include "llvm/IR/BasicBlock.h"
+#include "llvm/IR/Constants.h"
+#include "llvm/IR/DerivedTypes.h"
 #include "llvm/Support/CallSite.h"
 #include <vector>
 
index b55043bc89a6472d9bf2676dcc94e8b3110b07ba..878b73d39c810d37a6292dbab6ca7bb12489bb1a 100644 (file)
@@ -23,9 +23,9 @@
 #include "clang/AST/DeclObjC.h"
 #include "clang/Basic/TargetInfo.h"
 #include "clang/Frontend/CodeGenOptions.h"
-#include "llvm/Attributes.h"
-#include "llvm/DataLayout.h"
-#include "llvm/InlineAsm.h"
+#include "llvm/IR/Attributes.h"
+#include "llvm/IR/DataLayout.h"
+#include "llvm/IR/InlineAsm.h"
 #include "llvm/Support/CallSite.h"
 #include "llvm/Transforms/Utils/Local.h"
 using namespace clang;
index b0b136da5a47b8a8a64aac4221a2374e9daa0e67..55af4e5fbfa0ed3bb74fac3a911719d4d58bb254 100644 (file)
@@ -19,7 +19,7 @@
 #include "clang/AST/CanonicalType.h"
 #include "clang/AST/Type.h"
 #include "llvm/ADT/FoldingSet.h"
-#include "llvm/Value.h"
+#include "llvm/IR/Value.h"
 
 // FIXME: Restructure so we don't have to expose so much stuff.
 #include "ABIInfo.h"
index 276c922b4f124505b2809097cb883cf6babd9c20..2328119b8e85d9b866bf9d6874e6f915f45729f5 100644 (file)
 #include "clang/Frontend/CodeGenOptions.h"
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/ADT/StringExtras.h"
-#include "llvm/Constants.h"
-#include "llvm/DataLayout.h"
-#include "llvm/DerivedTypes.h"
-#include "llvm/Instructions.h"
-#include "llvm/Intrinsics.h"
-#include "llvm/Module.h"
+#include "llvm/IR/Constants.h"
+#include "llvm/IR/DataLayout.h"
+#include "llvm/IR/DerivedTypes.h"
+#include "llvm/IR/Instructions.h"
+#include "llvm/IR/Intrinsics.h"
+#include "llvm/IR/Module.h"
 #include "llvm/Support/Dwarf.h"
 #include "llvm/Support/FileSystem.h"
 using namespace clang;
index 43cd286be81177126474168d5175a023e76a6825..26babea047f05ca9caf29c3392d57990912cc316 100644 (file)
 #include "clang/Basic/SourceManager.h"
 #include "clang/Basic/TargetInfo.h"
 #include "clang/Frontend/CodeGenOptions.h"
-#include "llvm/DataLayout.h"
-#include "llvm/GlobalVariable.h"
-#include "llvm/Intrinsics.h"
-#include "llvm/Type.h"
+#include "llvm/IR/DataLayout.h"
+#include "llvm/IR/GlobalVariable.h"
+#include "llvm/IR/Intrinsics.h"
+#include "llvm/IR/Type.h"
 using namespace clang;
 using namespace CodeGen;
 
index c7535cba6eaeaa5ae8ed1d9deb0578190509498f..11f1609a3bec4ec8088acb57b41227a3c3b13a4f 100644 (file)
@@ -16,7 +16,7 @@
 #include "CGObjCRuntime.h"
 #include "clang/Frontend/CodeGenOptions.h"
 #include "llvm/ADT/StringExtras.h"
-#include "llvm/Intrinsics.h"
+#include "llvm/IR/Intrinsics.h"
 
 using namespace clang;
 using namespace CodeGen;
index 86dee5a4ab98134306b879d47186692342dbf331..4d4f529f204c2f6ce77c1d69190d990b57c2613a 100644 (file)
@@ -16,7 +16,7 @@
 #include "CGObjCRuntime.h"
 #include "TargetInfo.h"
 #include "clang/AST/StmtCXX.h"
-#include "llvm/Intrinsics.h"
+#include "llvm/IR/Intrinsics.h"
 #include "llvm/Support/CallSite.h"
 
 using namespace clang;
index 0f88b3cd40329129ab9e7c816366c4cc8da3db16..461126ecb3b11a139ee273a021bf19e3d38f2fb1 100644 (file)
 #include "clang/Basic/ConvertUTF.h"
 #include "clang/Frontend/CodeGenOptions.h"
 #include "llvm/ADT/Hashing.h"
-#include "llvm/DataLayout.h"
-#include "llvm/Intrinsics.h"
-#include "llvm/LLVMContext.h"
-#include "llvm/MDBuilder.h"
+#include "llvm/IR/DataLayout.h"
+#include "llvm/IR/Intrinsics.h"
+#include "llvm/IR/LLVMContext.h"
+#include "llvm/IR/MDBuilder.h"
 using namespace clang;
 using namespace CodeGen;
 
index 0c1e23965df27d4432cd3b925d00f31dd6aef5d1..b037113945aacb31d365b05d1eed2c0664976366 100644 (file)
 #include "clang/AST/DeclCXX.h"
 #include "clang/AST/DeclTemplate.h"
 #include "clang/AST/StmtVisitor.h"
-#include "llvm/Constants.h"
-#include "llvm/Function.h"
-#include "llvm/GlobalVariable.h"
-#include "llvm/Intrinsics.h"
+#include "llvm/IR/Constants.h"
+#include "llvm/IR/Function.h"
+#include "llvm/IR/GlobalVariable.h"
+#include "llvm/IR/Intrinsics.h"
 using namespace clang;
 using namespace CodeGen;
 
index f7d8202228f71045213d62e59b3ac98893df493e..3674facde06edfdf0cca7c41b6aee280b97b9af4 100644 (file)
@@ -17,7 +17,7 @@
 #include "CGDebugInfo.h"
 #include "CGObjCRuntime.h"
 #include "clang/Frontend/CodeGenOptions.h"
-#include "llvm/Intrinsics.h"
+#include "llvm/IR/Intrinsics.h"
 #include "llvm/Support/CallSite.h"
 
 using namespace clang;
index 425c11bd113b47021f7f79a68ec438a36b87d401..127029795ca7af2e458065cbe69798e073293e31 100644 (file)
@@ -16,8 +16,8 @@
 #include "clang/AST/ASTContext.h"
 #include "clang/AST/StmtVisitor.h"
 #include "llvm/ADT/SmallString.h"
-#include "llvm/Constants.h"
-#include "llvm/Function.h"
+#include "llvm/IR/Constants.h"
+#include "llvm/IR/Function.h"
 using namespace clang;
 using namespace CodeGen;
 
index 76b98af5a3c402a42345e07917a34ff4269bd235..f5bf2a2fe7adba16143232fab6b24f2c238d017e 100644 (file)
 #include "clang/AST/RecordLayout.h"
 #include "clang/AST/StmtVisitor.h"
 #include "clang/Basic/Builtins.h"
-#include "llvm/Constants.h"
-#include "llvm/DataLayout.h"
-#include "llvm/Function.h"
-#include "llvm/GlobalVariable.h"
+#include "llvm/IR/Constants.h"
+#include "llvm/IR/DataLayout.h"
+#include "llvm/IR/Function.h"
+#include "llvm/IR/GlobalVariable.h"
 using namespace clang;
 using namespace CodeGen;
 
index 50428e6b155abf74c929b76fc6e82e8af2f8d971..eb62343bc668c6db8f13af03bdd03574c2bb9b24 100644 (file)
 #include "clang/AST/StmtVisitor.h"
 #include "clang/Basic/TargetInfo.h"
 #include "clang/Frontend/CodeGenOptions.h"
-#include "llvm/Constants.h"
-#include "llvm/DataLayout.h"
-#include "llvm/Function.h"
-#include "llvm/GlobalVariable.h"
-#include "llvm/Intrinsics.h"
-#include "llvm/Module.h"
+#include "llvm/IR/Constants.h"
+#include "llvm/IR/DataLayout.h"
+#include "llvm/IR/Function.h"
+#include "llvm/IR/GlobalVariable.h"
+#include "llvm/IR/Intrinsics.h"
+#include "llvm/IR/Module.h"
 #include "llvm/Support/CFG.h"
 #include <cstdarg>
 
index c003f9f3dbd273df6ab829ff03d1e668015ebf91..4431d7ecec0e318378130bb13abb22513f23cbeb 100644 (file)
@@ -21,8 +21,8 @@
 #include "clang/AST/StmtObjC.h"
 #include "clang/Basic/Diagnostic.h"
 #include "llvm/ADT/STLExtras.h"
-#include "llvm/DataLayout.h"
-#include "llvm/InlineAsm.h"
+#include "llvm/IR/DataLayout.h"
+#include "llvm/IR/InlineAsm.h"
 using namespace clang;
 using namespace CodeGen;
 
index 23285830dfc77a297a388f82e3683d69e95df0c9..b639056da4730ad31defb891940312cb62bb305d 100644 (file)
 #include "clang/Basic/SourceManager.h"
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/ADT/StringMap.h"
-#include "llvm/DataLayout.h"
-#include "llvm/Intrinsics.h"
-#include "llvm/LLVMContext.h"
-#include "llvm/Module.h"
+#include "llvm/IR/DataLayout.h"
+#include "llvm/IR/Intrinsics.h"
+#include "llvm/IR/LLVMContext.h"
+#include "llvm/IR/Module.h"
 #include "llvm/Support/CallSite.h"
 #include "llvm/Support/Compiler.h"
 #include <cstdarg>
index e886e8fe3bdf75be226040f25b2424b43cd49fe6..36eda82af096788652f7702b200b92936e7dc729 100644 (file)
 #include "llvm/ADT/SetVector.h"
 #include "llvm/ADT/SmallPtrSet.h"
 #include "llvm/ADT/SmallString.h"
-#include "llvm/DataLayout.h"
-#include "llvm/InlineAsm.h"
-#include "llvm/IntrinsicInst.h"
-#include "llvm/LLVMContext.h"
-#include "llvm/Module.h"
+#include "llvm/IR/DataLayout.h"
+#include "llvm/IR/InlineAsm.h"
+#include "llvm/IR/IntrinsicInst.h"
+#include "llvm/IR/LLVMContext.h"
+#include "llvm/IR/Module.h"
 #include "llvm/Support/CallSite.h"
 #include "llvm/Support/raw_ostream.h"
 #include <cstdio>
index c6d74decb26c1d85fb1dc6998d84c0aca34b4d59..bb239c6c3d2352ed989dfacc9145aded94c80fe5 100644 (file)
@@ -15,8 +15,8 @@
 
 #include "CGOpenCLRuntime.h"
 #include "CodeGenFunction.h"
-#include "llvm/DerivedTypes.h"
-#include "llvm/GlobalValue.h"
+#include "llvm/IR/DerivedTypes.h"
+#include "llvm/IR/GlobalValue.h"
 #include <assert.h>
 
 using namespace clang;
index ba7ea9b85be35ff0f189702d51078fa563fc7d98..7b675c3bc1e7fb7cf533fd2950c992a9351c832b 100644 (file)
@@ -17,8 +17,8 @@
 #define CLANG_CODEGEN_OPENCLRUNTIME_H
 
 #include "clang/AST/Type.h"
-#include "llvm/Type.h"
-#include "llvm/Value.h"
+#include "llvm/IR/Type.h"
+#include "llvm/IR/Value.h"
 
 namespace clang {
 
index f343ef70fa8248c17b9279da01f05d6df0f2c0ac..b29fc987a120f2c626c4aa1e0707722b84072cf1 100644 (file)
@@ -14,7 +14,7 @@
 #include "clang/AST/Decl.h"
 #include "clang/Basic/LLVM.h"
 #include "llvm/ADT/DenseMap.h"
-#include "llvm/DerivedTypes.h"
+#include "llvm/IR/DerivedTypes.h"
 
 namespace llvm {
   class StructType;
index 90c338702961f582b0ed9dde9f2a25206789fb4e..1d7271d6a456b31bd0963c9179a545a18a5fb73b 100644 (file)
 #include "clang/AST/Expr.h"
 #include "clang/AST/RecordLayout.h"
 #include "clang/Frontend/CodeGenOptions.h"
-#include "llvm/DataLayout.h"
-#include "llvm/DerivedTypes.h"
+#include "llvm/IR/DataLayout.h"
+#include "llvm/IR/DerivedTypes.h"
+#include "llvm/IR/Type.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/raw_ostream.h"
-#include "llvm/Type.h"
 using namespace clang;
 using namespace CodeGen;
 
index 30bd115cb7a1a5ba9c5285410fbaa5c0b69ff9c6..ea4c08fac3a34b95f14efdef58e6d5e608b5ee5d 100644 (file)
@@ -19,9 +19,9 @@
 #include "clang/Basic/PrettyStackTrace.h"
 #include "clang/Basic/TargetInfo.h"
 #include "llvm/ADT/StringExtras.h"
-#include "llvm/DataLayout.h"
-#include "llvm/InlineAsm.h"
-#include "llvm/Intrinsics.h"
+#include "llvm/IR/DataLayout.h"
+#include "llvm/IR/InlineAsm.h"
+#include "llvm/IR/Intrinsics.h"
 using namespace clang;
 using namespace CodeGen;
 
index 2ccfcad3890eedb9f4e1643ba2609c63993f4c4c..5f3d814c0afdf62927e5022b007e8f1640881738 100644 (file)
@@ -20,7 +20,7 @@
 #include "clang/AST/VTableBuilder.h"
 #include "clang/Basic/ABI.h"
 #include "llvm/ADT/DenseMap.h"
-#include "llvm/GlobalVariable.h"
+#include "llvm/IR/GlobalVariable.h"
 
 namespace clang {
   class CXXRecordDecl;
index 5da2a6a91210a5b94dd14be5e143002ea7b495e9..7a2b8e30b1ac657895fc85e72eb8ebf5002dc429 100644 (file)
@@ -18,7 +18,7 @@
 #include "clang/AST/ASTContext.h"
 #include "clang/AST/CharUnits.h"
 #include "clang/AST/Type.h"
-#include "llvm/Metadata.h"
+#include "llvm/IR/Metadata.h"
 
 namespace llvm {
   class Constant;
index 1517f8754ac90cceba42868dafb648798bb000c9..f9fec344c889dbb65b75b8f1273b2777e81adffb 100644 (file)
@@ -21,9 +21,9 @@
 #include "llvm/ADT/OwningPtr.h"
 #include "llvm/ADT/SmallString.h"
 #include "llvm/Bitcode/ReaderWriter.h"
-#include "llvm/LLVMContext.h"
+#include "llvm/IR/LLVMContext.h"
+#include "llvm/IR/Module.h"
 #include "llvm/Linker.h"
-#include "llvm/Module.h"
 #include "llvm/Pass.h"
 #include "llvm/Support/IRReader.h"
 #include "llvm/Support/MemoryBuffer.h"
index 9c616cc6ad2898d81c1e7275743e1d7e6b87bc63..09e7ae226998ee3b840e5e67ce01b8fb9979b23d 100644 (file)
 #include "clang/AST/StmtCXX.h"
 #include "clang/Basic/TargetInfo.h"
 #include "clang/Frontend/CodeGenOptions.h"
-#include "llvm/DataLayout.h"
-#include "llvm/Intrinsics.h"
-#include "llvm/MDBuilder.h"
-#include "llvm/Operator.h"
+#include "llvm/IR/DataLayout.h"
+#include "llvm/IR/Intrinsics.h"
+#include "llvm/IR/MDBuilder.h"
+#include "llvm/IR/Operator.h"
 using namespace clang;
 using namespace CodeGen;
 
index 7012fa84ae2ca750fa02d039da3071615301600a..db8e9a4c958ce097515c88f1d3be43635c7950bf 100644 (file)
 #include "clang/Frontend/CodeGenOptions.h"
 #include "llvm/ADT/APSInt.h"
 #include "llvm/ADT/Triple.h"
-#include "llvm/CallingConv.h"
-#include "llvm/DataLayout.h"
-#include "llvm/Intrinsics.h"
-#include "llvm/LLVMContext.h"
-#include "llvm/Module.h"
+#include "llvm/IR/CallingConv.h"
+#include "llvm/IR/DataLayout.h"
+#include "llvm/IR/Intrinsics.h"
+#include "llvm/IR/LLVMContext.h"
+#include "llvm/IR/Module.h"
 #include "llvm/Support/CallSite.h"
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/Target/Mangler.h"
index c5e95c0d7a66f891c282e527abdc4af0a844aae2..98bc8881b0256d562ef483f73a71763f4e4b679f 100644 (file)
@@ -26,7 +26,7 @@
 #include "llvm/ADT/DenseMap.h"
 #include "llvm/ADT/SmallPtrSet.h"
 #include "llvm/ADT/StringMap.h"
-#include "llvm/Module.h"
+#include "llvm/IR/Module.h"
 #include "llvm/Support/ValueHandle.h"
 
 namespace llvm {
index 0a5a0197648690314cd567ebbf0b095cca1d1e6e..cfa141ea9a2180ae6f5cfa144adbb42e95494fc1 100644 (file)
 #include "clang/AST/Mangle.h"
 #include "clang/AST/RecordLayout.h"
 #include "clang/Frontend/CodeGenOptions.h"
-#include "llvm/Constants.h"
-#include "llvm/LLVMContext.h"
-#include "llvm/Metadata.h"
-#include "llvm/Type.h"
+#include "llvm/IR/Constants.h"
+#include "llvm/IR/LLVMContext.h"
+#include "llvm/IR/Metadata.h"
+#include "llvm/IR/Type.h"
 using namespace clang;
 using namespace CodeGen;
 
index ba5b9bf72346e17f29b7657dbf53636c5b218582..4c6e045fce21ebae6dd75d58004b716490a192ed 100644 (file)
@@ -17,7 +17,7 @@
 
 #include "clang/Basic/LLVM.h"
 #include "llvm/ADT/DenseMap.h"
-#include "llvm/MDBuilder.h"
+#include "llvm/IR/MDBuilder.h"
 
 namespace llvm {
   class LLVMContext;
index 8cb6dd001cb566031224b1d28570496eda94a920..2c5f2d80cf522c9a07a32d62c5f44a9103f26626 100644 (file)
@@ -22,9 +22,9 @@
 #include "clang/AST/DeclObjC.h"
 #include "clang/AST/Expr.h"
 #include "clang/AST/RecordLayout.h"
-#include "llvm/DataLayout.h"
-#include "llvm/DerivedTypes.h"
-#include "llvm/Module.h"
+#include "llvm/IR/DataLayout.h"
+#include "llvm/IR/DerivedTypes.h"
+#include "llvm/IR/Module.h"
 using namespace clang;
 using namespace CodeGen;
 
index 173c7ea2bae6149f16d6d23b814b3dbcec5b8a64..11fd76fb19a9488eb530627ebb4a84d4d8dd46e0 100644 (file)
@@ -17,7 +17,7 @@
 #include "CGCall.h"
 #include "clang/AST/GlobalDecl.h"
 #include "llvm/ADT/DenseMap.h"
-#include "llvm/Module.h"
+#include "llvm/IR/Module.h"
 #include <vector>
 
 namespace llvm {
index 6c140470b82cd129361f8f2f9839ad7560c802b4..b7610550434649954c1dd79c0b427f63e463f885 100644 (file)
@@ -25,9 +25,9 @@
 #include "CodeGenModule.h"
 #include "clang/AST/Mangle.h"
 #include "clang/AST/Type.h"
-#include "llvm/DataLayout.h"
-#include "llvm/Intrinsics.h"
-#include "llvm/Value.h"
+#include "llvm/IR/DataLayout.h"
+#include "llvm/IR/Intrinsics.h"
+#include "llvm/IR/Value.h"
 
 using namespace clang;
 using namespace CodeGen;
index b105b2813bde0400f5b0774a324be7a8f0395e2f..9421e0f74e76fbc46123fd16017c2096b14137e9 100644 (file)
@@ -20,9 +20,9 @@
 #include "clang/Basic/TargetInfo.h"
 #include "clang/Frontend/CodeGenOptions.h"
 #include "llvm/ADT/OwningPtr.h"
-#include "llvm/DataLayout.h"
-#include "llvm/LLVMContext.h"
-#include "llvm/Module.h"
+#include "llvm/IR/DataLayout.h"
+#include "llvm/IR/LLVMContext.h"
+#include "llvm/IR/Module.h"
 using namespace clang;
 
 namespace {
index d31a17c6b4005c333e73a4b0880af2fad5728347..5f2bd52d0c11ff3cccee4f384a352817ba92fd3d 100644 (file)
@@ -18,9 +18,9 @@
 #include "clang/AST/RecordLayout.h"
 #include "clang/Frontend/CodeGenOptions.h"
 #include "llvm/ADT/Triple.h"
-#include "llvm/DataLayout.h"
+#include "llvm/IR/DataLayout.h"
+#include "llvm/IR/Type.h"
 #include "llvm/Support/raw_ostream.h"
-#include "llvm/Type.h"
 using namespace clang;
 using namespace CodeGen;
 
index 0531a4db91278bc018db49e3b2837a8fea6d4a1e..0fdd57df43a0bce50eacdfa87355d55fded0d250 100644 (file)
@@ -21,7 +21,7 @@
 #include "clang/Basic/Diagnostic.h"
 #include "clang/Basic/FileManager.h"
 #include "clang/Basic/SourceManager.h"
-#include "llvm/Module.h"
+#include "llvm/IR/Module.h"
 #include "llvm/Support/Path.h"
 #include "llvm/Support/Timer.h"
 #include "llvm/Support/raw_ostream.h"
index f01d97d1c5b2a81b197d65c25d692eafd26c11d1..6f1c8afaa2fe23e4ec51c74a4bbe677c925f2f55 100644 (file)
@@ -25,7 +25,7 @@
 #include "llvm/ADT/OwningPtr.h"
 #include "llvm/ADT/StringSwitch.h"
 #include "llvm/ADT/Triple.h"
-#include "llvm/DataLayout.h"
+#include "llvm/IR/DataLayout.h"
 #include "llvm/MC/MCAsmBackend.h"
 #include "llvm/MC/MCAsmInfo.h"
 #include "llvm/MC/MCCodeEmitter.h"