llvm-6502/lib/VMCore
David Greene 5c8aa950fe 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100249 91177308-0d34-0410-b5e6-96231b3b80d8
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 There are two ways of checking for a given type, for example isa<PointerType>(T) 2010-02-16 11:11:14 +00:00
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 eliminate a bunch of pointless LLVMContext arguments. 2010-02-01 20:48:08 +00:00
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 Qualify a bunch of explicit template instantiations to satisfy clang++. 2009-12-19 00:55:12 +00:00
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 Kill ModuleProvider and ghost linkage by inverting the relationship between 2010-01-27 20:34:15 +00:00
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 remove a bunch of locking from LLVMContextImpl. Since only one thread 2009-11-01 18:42:03 +00:00
LeaksContext.h Catch more cases of a pointer being marked garbage twice. This helps when 2009-12-18 20:35:38 +00:00
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 Fold the useful features of alist and alist_node into ilist, and 2008-07-28 21:51:04 +00:00
Type.cpp Oops, r98447 dropped the reference to ForwardType in the wrong place in 2010-03-28 01:03:47 +00:00
TypesContext.h Add support for a union type in LLVM IR. Patch by Talin! 2010-02-12 20:49:41 +00:00
TypeSymbolTable.cpp Change errs() to dbgs(). 2010-01-05 01:30:14 +00:00
Use.cpp Public and private corrections, warned about by icc (#304). 2009-09-06 08:55:57 +00:00
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 Add type printing for Metadata pseudo. 2010-02-26 19:38:59 +00:00
Verifier.cpp Finally land the InvokeInst operand reordering. 2010-03-24 13:21:49 +00:00