1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/lib/VMCore
David Greene 7c81589636 Ok, third time's the charm. No changes from last time except the CMake
source addition.  Apparently the buildbots were wrong about failures.

---

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.

llvm-svn: 100249
2010-04-02 23:17:14 +00:00
..
AsmWriter.cpp rename pred_const_iterator to const_pred_iterator for consistency's sake 2010-03-25 23:25:28 +00:00
Attributes.cpp
AutoUpgrade.cpp Revert r100191 since it breaks objc in clang 2010-04-02 18:43:02 +00:00
BasicBlock.cpp Skip debug info when looking for existing EH calls at the 2010-04-02 21:49:27 +00:00
CMakeLists.txt update cmakefile. 2010-04-01 01:02:19 +00:00
ConstantFold.cpp Make the 'icmp pred trunc(ext(X)), CST --> icmp pred X, ext(trunc(CST))' 2010-03-04 06:54:10 +00:00
ConstantFold.h
Constants.cpp move some method definitions to files that make sense. 2010-03-30 20:48:48 +00:00
ConstantsContext.h Free all Constants in ~LLVMConstantImpl. We avoid assertion failures 2010-03-22 05:23:37 +00:00
Core.cpp rename NewDebugLoc -> DebugLoc, prune #includes in DebugLoc.h. 2010-04-02 20:21:22 +00:00
DebugLoc.cpp rename NewDebugLoc -> DebugLoc, prune #includes in DebugLoc.h. 2010-04-02 20:21:22 +00:00
Dominators.cpp
Function.cpp Introduce ImmutableCallSite, useful for contexts where no mutation 2010-04-01 08:21:08 +00:00
Globals.cpp rename use_const_iterator to const_use_iterator for consistency's sake 2010-03-25 23:06:16 +00:00
GVMaterializer.cpp
InlineAsm.cpp Memoize InlineAsms into the LLVMContext and delete them on shutdown. 2010-03-21 20:37:19 +00:00
Instruction.cpp Switch the representation of the location in instruction from 2010-04-01 05:23:13 +00:00
Instructions.cpp Introduce ImmutableCallSite, useful for contexts where no mutation 2010-04-01 08:21:08 +00:00
IntrinsicInst.cpp fix some pointless layering violations. 2010-03-14 01:56:06 +00:00
IRBuilder.cpp make irbuilder use the new optimized debug info accessors. 2010-03-31 04:09:11 +00:00
LeakDetector.cpp
LeaksContext.h
LLVMContext.cpp Fix a major source of compile-time slowness at -O0 -g by optimizing 2010-03-30 23:03:27 +00:00
LLVMContextImpl.cpp Free all Constants in ~LLVMConstantImpl. We avoid assertion failures 2010-03-22 05:23:37 +00:00
LLVMContextImpl.h Add a new "NewDebugLoc" class which will eventually replace DebugLoc, 2010-04-01 00:37:44 +00:00
Makefile Rewrite makefiles to explicitly reference DESTDIR to fix bug 3153. 2010-03-04 20:56:19 +00:00
Metadata.cpp rename NewDebugLoc -> DebugLoc, prune #includes in DebugLoc.h. 2010-04-02 20:21:22 +00:00
Module.cpp fix an infinite loop in Module::getEndianness, PR6684 2010-03-23 21:48:41 +00:00
Pass.cpp Ok, third time's the charm. No changes from last time except the CMake 2010-04-02 23:17:14 +00:00
PassManager.cpp Ok, third time's the charm. No changes from last time except the CMake 2010-04-02 23:17:14 +00:00
PrintModulePass.cpp Ok, third time's the charm. No changes from last time except the CMake 2010-04-02 23:17:14 +00:00
SymbolTableListTraitsImpl.h
Type.cpp Oops, r98447 dropped the reference to ForwardType in the wrong place in 2010-03-28 01:03:47 +00:00
TypesContext.h
TypeSymbolTable.cpp
Use.cpp
Value.cpp rename use_const_iterator to const_use_iterator for consistency's sake 2010-03-25 23:06:16 +00:00
ValueSymbolTable.cpp Bump SmallString size a bit to avoid malloc trashing. 2010-03-31 16:04:26 +00:00
ValueTypes.cpp
Verifier.cpp Finally land the InvokeInst operand reordering. 2010-03-24 13:21:49 +00:00