llvm-project/llvm/tools
Chandler Carruth 30d69c2e36 [PM] Remove the old 'PassManager.h' header file at the top level of
LLVM's include tree and the use of using declarations to hide the
'legacy' namespace for the old pass manager.

This undoes the primary modules-hostile change I made to keep
out-of-tree targets building. I sent an email inquiring about whether
this would be reasonable to do at this phase and people seemed fine with
it, so making it a reality. This should allow us to start bootstrapping
with modules to a certain extent along with making it easier to mix and
match headers in general.

The updates to any code for users of LLVM are very mechanical. Switch
from including "llvm/PassManager.h" to "llvm/IR/LegacyPassManager.h".
Qualify the types which now produce compile errors with "legacy::". The
most common ones are "PassManager", "PassManagerBase", and
"FunctionPassManager".

llvm-svn: 229094
2015-02-13 10:01:29 +00:00
..
bugpoint [PM] Remove the old 'PassManager.h' header file at the top level of 2015-02-13 10:01:29 +00:00
bugpoint-passes [CMake] Add LLVM_LINK_COMPONENTS to loadable modules, LLVMHello and BugpointPasses, on Win32. 2014-07-13 13:36:48 +00:00
dsymutil Re-sort #include lines using my handy dandy ./utils/sort_includes.py 2015-02-13 09:09:03 +00:00
gold [PM] Remove the old 'PassManager.h' header file at the top level of 2015-02-13 10:01:29 +00:00
llc [PM] Remove the old 'PassManager.h' header file at the top level of 2015-02-13 10:01:29 +00:00
lli Fix lli after the DebugInfo move. 2015-01-30 18:42:03 +00:00
llvm-ar llvm-ar: Remove unimplemented -N option from -help 2015-01-28 06:00:01 +00:00
llvm-as Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
llvm-bcanalyzer [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
llvm-c-test Fix build breakage caused by memory leaks in llvm-c-test 2015-01-28 18:32:31 +00:00
llvm-config [cmake] Teach the llvm-config program to respect LLVM_LIBDIR_SUFFIX. 2014-12-29 11:16:25 +00:00
llvm-cov InstrProf: Remove an unused header (NFC) 2015-02-02 22:38:39 +00:00
llvm-diff Return a std::unique_ptr from the IRReader.h functions. NFC. 2014-08-26 17:29:46 +00:00
llvm-dis Use the DiagnosticHandler to print diagnostics when reading bitcode. 2015-01-10 00:07:30 +00:00
llvm-dwarfdump Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00
llvm-extract [PM] Remove the old 'PassManager.h' header file at the top level of 2015-02-13 10:01:29 +00:00
llvm-go Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00
llvm-jitlistener Fix lli after the DebugInfo move. 2015-01-30 18:42:03 +00:00
llvm-link Make it easier to pass a custom diagnostic handler to the IR linker. 2014-10-27 23:02:10 +00:00
llvm-lto [llvm-lto] Add a line for setting LTOCodeGenerator's CPU string from command 2015-01-30 01:14:28 +00:00
llvm-mc Remove unused includes and out of date comment. NFC. 2014-12-17 03:07:20 +00:00
llvm-mcmarkup Explicitly pass ownership of the MemoryBuffer to AddNewSourceBuffer using std::unique_ptr 2014-08-21 20:44:56 +00:00
llvm-nm [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
llvm-objdump Add code to llvm-objdump so the -section option with -macho will dump literal 2015-02-06 23:25:38 +00:00
llvm-pdbdump Re-sort #include lines using my handy dandy ./utils/sort_includes.py 2015-02-13 09:09:03 +00:00
llvm-profdata Assigning and copying command line option objects shouldn't be allowed. 2015-01-22 01:49:59 +00:00
llvm-readobj Add STB_GNU_UNIQUE to the ELF writer. 2015-01-23 04:44:35 +00:00
llvm-rtdyld Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00
llvm-shlib [cmake] Start making LLVM_LIBDIR_SUFFIX effective by adding it to 2014-12-29 11:16:19 +00:00
llvm-size Assigning and copying command line option objects shouldn't be allowed. 2015-01-22 01:49:59 +00:00
llvm-stress [PM] Remove the old 'PassManager.h' header file at the top level of 2015-02-13 10:01:29 +00:00
llvm-symbolizer Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00
llvm-vtabledump llvm-vtabledump: Handle Itanium VTables 2014-11-03 07:23:25 +00:00
lto Fix duplicated symbol error. 2015-02-03 19:25:53 +00:00
macho-dump Add printing the LC_LINKER_OPTION load command with llvm-objdump’s -private-headers. 2014-12-18 00:53:40 +00:00
msbuild MSBuild integration: fix the loop in install.bat 2014-09-30 22:30:06 +00:00
obj2yaml obj2yaml, yaml2obj: Add support for COFF executables 2014-11-14 08:15:42 +00:00
opt [PM] Remove the old 'PassManager.h' header file at the top level of 2015-02-13 10:01:29 +00:00
verify-uselistorder Prologue support 2014-12-03 02:08:38 +00:00
yaml2obj [ELFYAML] Support mips64 relocation record format in yaml2obj/obj2yaml 2015-01-25 13:29:25 +00:00
CMakeLists.txt Rewrite llvm-pdbdump in terms of LLVMDebugInfoPDB. 2015-02-10 22:43:25 +00:00
LLVMBuild.txt Add llvm-pdbdump to tools. 2015-01-27 20:46:21 +00:00
Makefile Rewrite llvm-pdbdump in terms of LLVMDebugInfoPDB. 2015-02-10 22:43:25 +00:00