llvm-6502/lib/Transforms/Utils
Chris Lattner cd4b709d73 move the "br (X == 0 | X == 1), T, F" -> switch optimization to a new
location in simplifycfg.  In the old days, SimplifyCFG was never run on
the entry block, so we had to scan over all preds of the BB passed into
simplifycfg to do this xform, now we can just check blocks ending with
a condbranch.  This avoids a scan over all preds of every simplified 
block, which should be a significant compile-time perf win on functions
with lots of edges.  No functionality change.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121668 91177308-0d34-0410-b5e6-96231b3b80d8
2010-12-13 01:57:34 +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 typoes 2010-09-10 22:25:58 +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 move the "br (X == 0 | X == 1), T, F" -> switch optimization to a new 2010-12-13 01:57:34 +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