diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-01-12 11:10:32 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-01-12 11:10:32 +0000 |
commit | 8a5351f0f5123b9e36116ac1761b20c3a264ec09 (patch) | |
tree | 57c281f8ceba7e70a3dfbde27d06117dc96de51d /tools | |
parent | dbd37e9827f90cd6a4398f7ae2061bd74c2dfaf6 (diff) | |
download | llvm-8a5351f0f5123b9e36116ac1761b20c3a264ec09.tar.gz llvm-8a5351f0f5123b9e36116ac1761b20c3a264ec09.tar.bz2 llvm-8a5351f0f5123b9e36116ac1761b20c3a264ec09.tar.xz |
[PM] Rename the IR printing pass header to a more generic and correct
name to match the source file which I got earlier. Update the include
sites. Also modernize the comments in the header to use the more
recommended doxygen style.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199041 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llc/llc.cpp | 4 | ||||
-rw-r--r-- | tools/llvm-extract/llvm-extract.cpp | 4 | ||||
-rw-r--r-- | tools/llvm-stress/llvm-stress.cpp | 4 | ||||
-rw-r--r-- | tools/opt/opt.cpp | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 7073343272..d1dd6d6a6d 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -14,9 +14,9 @@ //===----------------------------------------------------------------------===// -#include "llvm/IR/LLVMContext.h" #include "llvm/ADT/Triple.h" -#include "llvm/IR/PrintModulePass.h" +#include "llvm/IR/IRPrintingPasses.h" +#include "llvm/IR/LLVMContext.h" #include "llvm/CodeGen/CommandFlags.h" #include "llvm/CodeGen/LinkAllAsmWriterComponents.h" #include "llvm/CodeGen/LinkAllCodegenComponents.h" diff --git a/tools/llvm-extract/llvm-extract.cpp b/tools/llvm-extract/llvm-extract.cpp index a3a99bf512..ecea00530d 100644 --- a/tools/llvm-extract/llvm-extract.cpp +++ b/tools/llvm-extract/llvm-extract.cpp @@ -12,12 +12,12 @@ // //===----------------------------------------------------------------------===// -#include "llvm/IR/LLVMContext.h" #include "llvm/ADT/SetVector.h" #include "llvm/ADT/SmallPtrSet.h" -#include "llvm/IR/PrintModulePass.h" #include "llvm/Bitcode/ReaderWriter.h" #include "llvm/IR/DataLayout.h" +#include "llvm/IR/IRPrintingPasses.h" +#include "llvm/IR/LLVMContext.h" #include "llvm/IR/Module.h" #include "llvm/IRReader/IRReader.h" #include "llvm/PassManager.h" diff --git a/tools/llvm-stress/llvm-stress.cpp b/tools/llvm-stress/llvm-stress.cpp index 4f98df7cce..455b111361 100644 --- a/tools/llvm-stress/llvm-stress.cpp +++ b/tools/llvm-stress/llvm-stress.cpp @@ -11,13 +11,13 @@ // different components in LLVM. // //===----------------------------------------------------------------------===// -#include "llvm/IR/LLVMContext.h" #include "llvm/ADT/OwningPtr.h" #include "llvm/Analysis/CallGraphSCCPass.h" #include "llvm/Analysis/Verifier.h" -#include "llvm/IR/PrintModulePass.h" #include "llvm/IR/Constants.h" +#include "llvm/IR/IRPrintingPasses.h" #include "llvm/IR/Instruction.h" +#include "llvm/IR/LLVMContext.h" #include "llvm/IR/Module.h" #include "llvm/PassManager.h" #include "llvm/Support/Debug.h" diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 5138ef68c0..44b3f13b54 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -24,9 +24,9 @@ #include "llvm/CodeGen/CommandFlags.h" #include "llvm/DebugInfo.h" #include "llvm/IR/DataLayout.h" +#include "llvm/IR/IRPrintingPasses.h" #include "llvm/IR/LLVMContext.h" #include "llvm/IR/Module.h" -#include "llvm/IR/PrintModulePass.h" #include "llvm/IRReader/IRReader.h" #include "llvm/LinkAllIR.h" #include "llvm/LinkAllPasses.h" |