llvm-mirror/lib/Transforms/Utils
Chris Lattner ac92e5fcd0 When inserting PHI nodes, don't insert any phi nodes that are obviously
unneccesary.  This allows us to delete several hundred phi nodes of the
form PHI(x,x,x,undef) from 253.perlbmk and probably other programs as well.

This implements Mem2Reg/UndefValuesMerge.ll

llvm-svn: 17098
2004-10-17 21:25:56 +00:00
..
BasicBlockUtils.cpp Fix #includes of i*.h => Instructions.h as per PR403. 2004-07-29 17:30:56 +00:00
BreakCriticalEdges.cpp Convert code to compile with vc7.1. 2004-09-15 17:06:42 +00:00
CloneFunction.cpp Fix #includes of i*.h => Instructions.h as per PR403. 2004-07-29 17:30:56 +00:00
CloneModule.cpp Convert to SymbolTable's new iteration interface. 2004-05-25 08:53:40 +00:00
CloneTrace.cpp Convert code to compile with vc7.1. 2004-09-15 17:06:42 +00:00
CodeExtractor.cpp Convert code to compile with vc7.1. 2004-09-15 17:06:42 +00:00
DemoteRegToStack.cpp Fix PR310 and TailDup/2004-04-01-DemoteRegToStack.llx 2004-04-01 20:28:45 +00:00
InlineFunction.cpp Convert code to compile with vc7.1. 2004-09-15 17:06:42 +00:00
Local.cpp Enhance hasConstantValue to ignore undef values in phi nodes. This allows it 2004-10-17 21:23:26 +00:00
Makefile Added LLVM copyright notice to Makefiles. 2003-10-20 22:26:57 +00:00
Makefile.am Update to reflect changes in Makefile rules. 2004-10-13 11:46:52 +00:00
PromoteMemoryToRegister.cpp When inserting PHI nodes, don't insert any phi nodes that are obviously 2004-10-17 21:25:56 +00:00
SimplifyCFG.cpp When converting phi nodes into select instructions, we shouldn't promote PHI 2004-10-14 05:13:36 +00:00
UnifyFunctionExitNodes.cpp Add support for unreachable 2004-10-16 18:21:33 +00:00
ValueMapper.cpp Add support for UndefValue 2004-10-16 18:10:31 +00:00
ValueMapper.h Move RemapInstruction() to ValueMapper, so that it can be shared with 2004-05-19 09:08:12 +00:00