llvm-6502/lib
David Greene 8ef3acba00 Add some switches helpful for debugging:
-print-before=<Pass Name>

Dump IR before running pass <Pass Name>.

-print-before-all

Dump IR before running each pass.

-print-after-all

Dump IR after running each pass.

These are helpful when tracking down a miscompilation.  It is easy to
get IR dumps and do diffs on them, etc.

To make this work well, add a new getPrinterPass API to Pass so that
each kind of pass (ModulePass, FunctionPass, etc.) can create a Pass
suitable for dumping out the kind of object the Pass works on.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100143 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-01 22:43:57 +00:00
..
Analysis Add some switches helpful for debugging: 2010-04-01 22:43:57 +00:00
Archive Fix a grammaro. 2010-03-30 20:04:57 +00:00
AsmParser include header. 2010-04-01 05:20:21 +00:00
Bitcode Finally land the InvokeInst operand reordering. 2010-03-24 13:21:49 +00:00
CodeGen Add some switches helpful for debugging: 2010-04-01 22:43:57 +00:00
CompilerDriver Use FindExecutable as a fall-back search method. 2010-03-05 04:46:28 +00:00
ExecutionEngine Typo noticed by Duncan. 2010-03-30 20:15:13 +00:00
Linker Introduce isOpaqueTy and use it rather than isa<OpaqueType>. Also, move some 2010-02-16 14:50:09 +00:00
MC Rip out the 'is temporary' nonsense from the MCContext interface to 2010-03-30 18:10:53 +00:00
Support Remove accidental include and add a comment. 2010-04-01 14:39:55 +00:00
System AddSignalHandler was not releasing the critical section on win32. 2010-03-31 12:07:16 +00:00
Target In 64-bit mode, use i64 to lower memcpy / memset instead of f64. 2010-04-01 20:27:45 +00:00
Transforms Change another SSAUpdater function to avoid recursion. 2010-04-01 20:04:30 +00:00
VMCore Add some switches helpful for debugging: 2010-04-01 22:43:57 +00:00
Makefile