diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-03-04 12:05:47 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-03-04 12:05:47 +0000 |
commit | ff956e7568a4d88762cd038497d97498c680e70c (patch) | |
tree | 16c3e932841c78efd01a8bcbc4fc0d027a8367b4 | |
parent | 9234e060659bec52046187e4123ceb784264036c (diff) | |
download | llvm-ff956e7568a4d88762cd038497d97498c680e70c.tar.gz llvm-ff956e7568a4d88762cd038497d97498c680e70c.tar.bz2 llvm-ff956e7568a4d88762cd038497d97498c680e70c.tar.xz |
[Modules] Move the NoFolder into the IR library as it creates
instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202834 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/IR/NoFolder.h (renamed from include/llvm/Support/NoFolder.h) | 6 | ||||
-rw-r--r-- | lib/Target/XCore/XCoreLowerThreadLocal.cpp | 2 | ||||
-rw-r--r-- | lib/Transforms/Utils/SimplifyCFG.cpp | 2 | ||||
-rw-r--r-- | unittests/IR/IRBuilderTest.cpp | 2 | ||||
-rw-r--r-- | unittests/IR/PatternMatch.cpp | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/include/llvm/Support/NoFolder.h b/include/llvm/IR/NoFolder.h index ecfbbaa782..a9cdfc36fb 100644 --- a/include/llvm/Support/NoFolder.h +++ b/include/llvm/IR/NoFolder.h @@ -1,4 +1,4 @@ -//======-- llvm/Support/NoFolder.h - Constant folding helper -*- C++ -*-======// +//===- NoFolder.h - Constant folding helper ---------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -19,8 +19,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_SUPPORT_NOFOLDER_H -#define LLVM_SUPPORT_NOFOLDER_H +#ifndef LLVM_IR_NOFOLDER_H +#define LLVM_IR_NOFOLDER_H #include "llvm/ADT/ArrayRef.h" #include "llvm/IR/Constants.h" diff --git a/lib/Target/XCore/XCoreLowerThreadLocal.cpp b/lib/Target/XCore/XCoreLowerThreadLocal.cpp index da8309821c..f9a8299fd3 100644 --- a/lib/Target/XCore/XCoreLowerThreadLocal.cpp +++ b/lib/Target/XCore/XCoreLowerThreadLocal.cpp @@ -20,10 +20,10 @@ #include "llvm/IR/IRBuilder.h" #include "llvm/IR/Intrinsics.h" #include "llvm/IR/Module.h" +#include "llvm/IR/NoFolder.h" #include "llvm/IR/ValueHandle.h" #include "llvm/Pass.h" #include "llvm/Support/CommandLine.h" -#include "llvm/Support/NoFolder.h" #include "llvm/Transforms/Utils/BasicBlockUtils.h" #define DEBUG_TYPE "xcore-lower-thread-local" diff --git a/lib/Transforms/Utils/SimplifyCFG.cpp b/lib/Transforms/Utils/SimplifyCFG.cpp index f33a1a7ec6..9f4ce022db 100644 --- a/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/lib/Transforms/Utils/SimplifyCFG.cpp @@ -35,13 +35,13 @@ #include "llvm/IR/MDBuilder.h" #include "llvm/IR/Metadata.h" #include "llvm/IR/Module.h" +#include "llvm/IR/NoFolder.h" #include "llvm/IR/Operator.h" #include "llvm/IR/PatternMatch.h" #include "llvm/IR/Type.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/ConstantRange.h" #include "llvm/Support/Debug.h" -#include "llvm/Support/NoFolder.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Transforms/Utils/BasicBlockUtils.h" #include <algorithm> diff --git a/unittests/IR/IRBuilderTest.cpp b/unittests/IR/IRBuilderTest.cpp index e6db8c66df..5d67e700a9 100644 --- a/unittests/IR/IRBuilderTest.cpp +++ b/unittests/IR/IRBuilderTest.cpp @@ -16,7 +16,7 @@ #include "llvm/IR/LLVMContext.h" #include "llvm/IR/MDBuilder.h" #include "llvm/IR/Module.h" -#include "llvm/Support/NoFolder.h" +#include "llvm/IR/NoFolder.h" #include "gtest/gtest.h" using namespace llvm; diff --git a/unittests/IR/PatternMatch.cpp b/unittests/IR/PatternMatch.cpp index 655a3d5340..da1638163f 100644 --- a/unittests/IR/PatternMatch.cpp +++ b/unittests/IR/PatternMatch.cpp @@ -19,10 +19,10 @@ #include "llvm/IR/LLVMContext.h" #include "llvm/IR/MDBuilder.h" #include "llvm/IR/Module.h" +#include "llvm/IR/NoFolder.h" #include "llvm/IR/Operator.h" #include "llvm/IR/PatternMatch.h" #include "llvm/IR/Type.h" -#include "llvm/Support/NoFolder.h" #include "gtest/gtest.h" using namespace llvm; |