llvm-6502/lib/Transforms/Utils
Chris Lattner 60d410d7bb fix two significant issues with FoldTwoEntryPHINode:
first, it can kick in on blocks whose conditions have been
folded to a constant, even though one of the edges will be
trivially folded.

second, it doesn't clean up the "if diamond" that it just 
eliminated away.  This is a problem because other simplifycfg
xforms kick in depending on the order of block visitation,
causing pointless work.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121762 91177308-0d34-0410-b5e6-96231b3b80d8
2010-12-14 08:01:53 +00:00
..
AddrModeMatcher.cpp Inline asm multiple alternative constraints development phase 2 - improved basic logic, added initial platform support. 2010-10-29 17:29:13 +00:00
BasicBlockUtils.cpp remove the dead (and terrible) llvm::RemoveSuccessor function. 2010-12-14 06:51:55 +00:00
BasicInliner.cpp simplify 2010-07-28 15:52:43 +00:00
BreakCriticalEdges.cpp Get rid of static constructors for pass registration. Instead, every pass exposes an initializeMyPassFunction(), which 2010-10-19 17:21:58 +00:00
BuildLibCalls.cpp undo 80 column trespassing I caused 2010-07-22 10:37:47 +00:00
CloneFunction.cpp Fix PR8313 by changing ValueToValueMap use a TrackingVH. 2010-10-13 02:08:17 +00:00
CloneLoop.cpp Be more consistent in using ValueToValueMapTy. 2010-10-13 01:36:30 +00:00
CloneModule.cpp Reapply r112091 and r111922, support for metadata linking, with a 2010-08-26 15:41:53 +00:00
CMakeLists.txt Next step on the getting-rid-of-static-ctors train: begin adding per-library 2010-10-07 17:55:47 +00:00
CodeExtractor.cpp typoes 2010-09-10 22:25:58 +00:00
DemoteRegToStack.cpp remove trailing whitespace 2010-06-16 22:41:09 +00:00
InlineFunction.cpp improve comment 2010-12-06 07:43:04 +00:00
InstructionNamer.cpp Get rid of static constructors for pass registration. Instead, every pass exposes an initializeMyPassFunction(), which 2010-10-19 17:21:58 +00:00
LCSSA.cpp Passes do not need to recursively initialize passes that they preserve, if 2010-10-19 20:08:44 +00:00
Local.cpp remove the pointless check of MemoryUseIntrinsic from 2010-11-30 02:03:47 +00:00
LoopSimplify.cpp Factor code for testing whether replacing one value with another 2010-11-18 19:59:41 +00:00
LoopUnroll.cpp Replace calls to ConstantFoldInstruction with calls to SimplifyInstruction 2010-11-23 20:26:33 +00:00
LowerInvoke.cpp Get rid of static constructors for pass registration. Instead, every pass exposes an initializeMyPassFunction(), which 2010-10-19 17:21:58 +00:00
LowerSwitch.cpp Switch attribute macros to use 'LLVM_' as a prefix. We retain the old names 2010-10-23 08:10:43 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
Mem2Reg.cpp Passes do not need to recursively initialize passes that they preserve, if 2010-10-19 20:08:44 +00:00
PromoteMemoryToRegister.cpp Don't keep track of inserted phis in PromoteMemoryToRegister: the information 2010-11-22 09:41:24 +00:00
SimplifyCFG.cpp fix two significant issues with FoldTwoEntryPHINode: 2010-12-14 08:01:53 +00:00
SSAUpdater.cpp Have a few places that want to simplify phi nodes use SimplifyInstruction 2010-11-16 17:41:24 +00:00
UnifyFunctionExitNodes.cpp Now with fewer extraneous semicolons! 2010-10-07 22:25:06 +00:00
Utils.cpp Next step on the getting-rid-of-static-ctors train: begin adding per-library 2010-10-07 17:55:47 +00:00
ValueMapper.cpp Fix PR8313 by changing ValueToValueMap use a TrackingVH. 2010-10-13 02:08:17 +00:00