llvm-6502/lib
Andrew Trick 11e4329154 Add pass printer passes in the right place.
The pass pointer should never be referenced after sending it to
schedulePass(), which may delete the pass. To fix this bug I had to
clean up the design leading to more goodness.

You may notice now that any non-analysis pass is printed. So things like loop-simplify and lcssa show up, while target lib, target data, alias analysis do not show up. Normally, analysis don't mutate the IR, but you can now check this by using both -print-after and -print-before. The effects of analysis will now show up in between the two.

The llc path is still in bad shape. But I'll be improving it in my next checkin. Meanwhile, print-machineinstrs still works the same way. With print-before/after, many llc passes that were not printed before now are, some of these should be converted to analysis. A few very important passes, isel and scheduler, are not properly initialized, so not printed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149480 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-01 07:16:20 +00:00
..
Analysis Revert Chris' commits up to r149348 that started causing VMCoreTests unit test to fail. 2012-02-01 04:51:17 +00:00
Archive Avoid using an invalidated iterator. 2012-01-23 05:07:16 +00:00
AsmParser Revert Chris' commits up to r149348 that started causing VMCoreTests unit test to fail. 2012-02-01 04:51:17 +00:00
Bitcode Revert Chris' commits up to r149348 that started causing VMCoreTests unit test to fail. 2012-02-01 04:51:17 +00:00
CodeGen Revert Chris' commits up to r149348 that started causing VMCoreTests unit test to fail. 2012-02-01 04:51:17 +00:00
DebugInfo More dead code removal (using -Wunreachable-code) 2012-01-20 21:51:11 +00:00
ExecutionEngine add more support for ConstantDataSequential 2012-01-24 13:41:11 +00:00
Linker use Constant::getAggregateElement to simplify a bunch of code. 2012-01-25 06:48:06 +00:00
MC Fixed a crash in llvm-mc for Mach-O when a symbol difference expression uses a 2012-01-31 23:02:57 +00:00
Object Sink assert-only variables into the asserts 2012-01-24 19:43:30 +00:00
Support Add Triple::getMacOSXVersion to replace crufty code in the clang driver. 2012-01-31 22:32:29 +00:00
TableGen Implement String Cast from Integer 2012-01-30 20:47:04 +00:00
Target Don't create VBROADCAST nodes if any nodes use the chain result from the load. Fixes PR11900. 2012-02-01 06:51:58 +00:00
Transforms BBVectorize.cpp: Try to fix MSVC build. map::iterator and multimap::iterator are incompatible. 2012-02-01 06:11:58 +00:00
VMCore Add pass printer passes in the right place. 2012-02-01 07:16:20 +00:00
CMakeLists.txt
LLVMBuild.txt LLVMBuild: Introduce a common section which currently has a list of the 2011-12-12 22:45:54 +00:00
Makefile