diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2013-01-02 11:36:10 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2013-01-02 11:36:10 +0000 |
commit | 0b8c9a80f20772c3793201ab5b251d3520b9cea3 (patch) | |
tree | cb250ce620dd34f2d1053b4af45060bdafec7c99 /unittests/Transforms | |
parent | 7f00f87767036e74445aad0164eea13cf2642610 (diff) | |
download | external_llvm-0b8c9a80f20772c3793201ab5b251d3520b9cea3.zip external_llvm-0b8c9a80f20772c3793201ab5b251d3520b9cea3.tar.gz external_llvm-0b8c9a80f20772c3793201ab5b251d3520b9cea3.tar.bz2 |
Move all of the header files which are involved in modelling the LLVM IR
into their new header subdirectory: include/llvm/IR. This matches the
directory structure of lib, and begins to correct a long standing point
of file layout clutter in LLVM.
There are still more header files to move here, but I wanted to handle
them in separate commits to make tracking what files make sense at each
layer easier.
The only really questionable files here are the target intrinsic
tablegen files. But that's a battle I'd rather not fight today.
I've updated both CMake and Makefile build systems (I think, and my
tests think, but I may have missed something).
I've also re-sorted the includes throughout the project. I'll be
committing updates to Clang, DragonEgg, and Polly momentarily.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171366 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Transforms')
-rw-r--r-- | unittests/Transforms/Utils/Cloning.cpp | 8 | ||||
-rw-r--r-- | unittests/Transforms/Utils/IntegerDivision.cpp | 10 | ||||
-rw-r--r-- | unittests/Transforms/Utils/Local.cpp | 8 |
3 files changed, 13 insertions, 13 deletions
diff --git a/unittests/Transforms/Utils/Cloning.cpp b/unittests/Transforms/Utils/Cloning.cpp index 9df5787..cd304e7 100644 --- a/unittests/Transforms/Utils/Cloning.cpp +++ b/unittests/Transforms/Utils/Cloning.cpp @@ -7,12 +7,12 @@ // //===----------------------------------------------------------------------===// -#include "llvm/Instructions.h" +#include "llvm/IR/Instructions.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallPtrSet.h" -#include "llvm/Argument.h" -#include "llvm/Constant.h" -#include "llvm/LLVMContext.h" +#include "llvm/IR/Argument.h" +#include "llvm/IR/Constant.h" +#include "llvm/IR/LLVMContext.h" #include "gtest/gtest.h" using namespace llvm; diff --git a/unittests/Transforms/Utils/IntegerDivision.cpp b/unittests/Transforms/Utils/IntegerDivision.cpp index ecc997c..44c2328 100644 --- a/unittests/Transforms/Utils/IntegerDivision.cpp +++ b/unittests/Transforms/Utils/IntegerDivision.cpp @@ -8,11 +8,11 @@ //===----------------------------------------------------------------------===// #include "llvm/Transforms/Utils/IntegerDivision.h" -#include "llvm/BasicBlock.h" -#include "llvm/Function.h" -#include "llvm/GlobalValue.h" -#include "llvm/IRBuilder.h" -#include "llvm/Module.h" +#include "llvm/IR/BasicBlock.h" +#include "llvm/IR/Function.h" +#include "llvm/IR/GlobalValue.h" +#include "llvm/IR/IRBuilder.h" +#include "llvm/IR/Module.h" #include "gtest/gtest.h" using namespace llvm; diff --git a/unittests/Transforms/Utils/Local.cpp b/unittests/Transforms/Utils/Local.cpp index cb9232c..f0c3ecf 100644 --- a/unittests/Transforms/Utils/Local.cpp +++ b/unittests/Transforms/Utils/Local.cpp @@ -8,10 +8,10 @@ //===----------------------------------------------------------------------===// #include "llvm/Transforms/Utils/Local.h" -#include "llvm/BasicBlock.h" -#include "llvm/IRBuilder.h" -#include "llvm/Instructions.h" -#include "llvm/LLVMContext.h" +#include "llvm/IR/BasicBlock.h" +#include "llvm/IR/IRBuilder.h" +#include "llvm/IR/Instructions.h" +#include "llvm/IR/LLVMContext.h" #include "gtest/gtest.h" using namespace llvm; |