llvm-6502/include/llvm/Transforms/Utils
Dan Gohman e2c6d131d1 Teach SimplifyCFG how to simplify indirectbr instructions.
- Eliminate redundant successors.
 - Convert an indirectbr with one successor into a direct branch.

Also, generalize SimplifyCFG to be able to be run on a function entry block.
It knows quite a few simplifications which are applicable to the entry
block, and it only needs a few checks to avoid trouble with the entry block.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111060 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-14 00:29:42 +00:00
..
AddrModeMatcher.h
BasicBlockUtils.h Move FindAvailableLoadedValue isSafeToLoadUnconditionally out of 2010-05-28 16:19:17 +00:00
BasicInliner.h
BuildLibCalls.h simplify-libcalls: fold strstr(a, b) == a -> strncmp(a, b, strlen(b)) == 0 2010-06-15 21:34:25 +00:00
Cloning.h Use ValueMap instead of DenseMap. 2010-06-24 00:33:28 +00:00
FunctionUtils.h
Local.h Teach SimplifyCFG how to simplify indirectbr instructions. 2010-08-14 00:29:42 +00:00
PromoteMemToReg.h
SSAUpdater.h Combine the implementations of the core part of the SSAUpdater and 2010-05-04 23:18:19 +00:00
SSAUpdaterImpl.h Fix handling of unreachable blocks in the SSAUpdater. The previous code only 2010-05-06 16:24:11 +00:00
SSI.h Reapply r110396, with fixes to appease the Linux buildbot gods. 2010-08-06 18:33:48 +00:00
UnifyFunctionExitNodes.h Reapply r110396, with fixes to appease the Linux buildbot gods. 2010-08-06 18:33:48 +00:00
UnrollLoop.h