llvm-6502/lib/Transforms/Utils
Duncan Sands 5f28475b30 Fix PR8445: a block with no predecessors may be the entry block, in which case
it isn't unreachable and should not be zapped.  The check for the entry block
was missing in one case: a block containing a unwind instruction.  While there,
do some small cleanups: "M" is not a great name for a Function* (it would be
more appropriate for a Module*), change it to "Fn"; use Fn in more places.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117224 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-24 12:23:30 +00:00
..
AddrModeMatcher.cpp Added skeleton for inline asm multiple alternative constraint support. 2010-09-13 18:15:37 +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 Be more consistent in using ValueToValueMapTy. 2010-10-13 01:36:30 +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 Teach SimplifyCFG how to simplify indirectbr instructions. 2010-08-14 00:29:42 +00:00
LoopSimplify.cpp Get rid of static constructors for pass registration. Instead, every pass exposes an initializeMyPassFunction(), which 2010-10-19 17:21:58 +00:00
LoopUnroll.cpp Be more consistent in using ValueToValueMapTy. 2010-10-13 01:36:30 +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 remove some dead code. 2010-08-18 02:41:56 +00:00
SimplifyCFG.cpp Fix PR8445: a block with no predecessors may be the entry block, in which case 2010-10-24 12:23:30 +00:00
SSAUpdater.cpp Reapply commit 112699, speculatively reverted by echristo, since 2010-09-02 08:14:03 +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