diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-03-04 10:30:26 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-03-04 10:30:26 +0000 |
commit | 8394857f4330653e59d3fb5b7f784a63a00afab3 (patch) | |
tree | 24ecca3b8d7608067a73f0226444556660e2c944 /llvm/lib/Target | |
parent | 975b02ad715bd5ec22d02acc55e37f89d922b1e7 (diff) | |
download | bcm5719-llvm-8394857f4330653e59d3fb5b7f784a63a00afab3.tar.gz bcm5719-llvm-8394857f4330653e59d3fb5b7f784a63a00afab3.zip |
[Modules] Move InstIterator out of the Support library, where it had no
business.
This header includes Function and BasicBlock and directly uses the
interfaces of both classes. It has to do with the IR, it even has that
in the name. =] Put it in the library it belongs to.
This is one step toward making LLVM's Support library survive a C++
modules bootstrap.
llvm-svn: 202814
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/Mips/MipsConstantIslandPass.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/Target/NVPTX/NVPTXSplitBBatBar.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/Target/NVPTX/NVPTXUtilities.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/Mips/MipsConstantIslandPass.cpp b/llvm/lib/Target/Mips/MipsConstantIslandPass.cpp index 0d70c3b0406..b864c5517be 100644 --- a/llvm/lib/Target/Mips/MipsConstantIslandPass.cpp +++ b/llvm/lib/Target/Mips/MipsConstantIslandPass.cpp @@ -34,10 +34,10 @@ #include "llvm/CodeGen/MachineInstrBuilder.h" #include "llvm/CodeGen/MachineRegisterInfo.h" #include "llvm/IR/Function.h" +#include "llvm/IR/InstIterator.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/Debug.h" #include "llvm/Support/Format.h" -#include "llvm/Support/InstIterator.h" #include "llvm/Support/MathExtras.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Target/TargetInstrInfo.h" diff --git a/llvm/lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp b/llvm/lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp index 574b6dab24d..7385e8f39a3 100644 --- a/llvm/lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp +++ b/llvm/lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp @@ -16,12 +16,12 @@ #include "llvm/IR/DataLayout.h" #include "llvm/IR/Function.h" #include "llvm/IR/IRBuilder.h" +#include "llvm/IR/InstIterator.h" #include "llvm/IR/Instructions.h" #include "llvm/IR/IntrinsicInst.h" #include "llvm/IR/Intrinsics.h" #include "llvm/IR/LLVMContext.h" #include "llvm/IR/Module.h" -#include "llvm/Support/InstIterator.h" using namespace llvm; diff --git a/llvm/lib/Target/NVPTX/NVPTXSplitBBatBar.cpp b/llvm/lib/Target/NVPTX/NVPTXSplitBBatBar.cpp index b64c30880b9..d4a778ca11e 100644 --- a/llvm/lib/Target/NVPTX/NVPTXSplitBBatBar.cpp +++ b/llvm/lib/Target/NVPTX/NVPTXSplitBBatBar.cpp @@ -14,10 +14,10 @@ #include "NVPTXSplitBBatBar.h" #include "NVPTXUtilities.h" #include "llvm/IR/Function.h" +#include "llvm/IR/InstIterator.h" #include "llvm/IR/Instructions.h" #include "llvm/IR/IntrinsicInst.h" #include "llvm/IR/Intrinsics.h" -#include "llvm/Support/InstIterator.h" using namespace llvm; diff --git a/llvm/lib/Target/NVPTX/NVPTXUtilities.cpp b/llvm/lib/Target/NVPTX/NVPTXUtilities.cpp index 6786eb02240..60a517392fe 100644 --- a/llvm/lib/Target/NVPTX/NVPTXUtilities.cpp +++ b/llvm/lib/Target/NVPTX/NVPTXUtilities.cpp @@ -24,7 +24,7 @@ #include <vector> //#include <iostream> #include "llvm/Support/ManagedStatic.h" -#include "llvm/Support/InstIterator.h" +#include "llvm/IR/InstIterator.h" using namespace llvm; |