llvm-6502/lib/Transforms/Utils
Chris Lattner 346be7f5bc Generate substantially better code when there are a limited number of exits
from the extracted region.  If the return has 0 or 1 exit blocks, the new
function returns void.  If it has 2 exits, it returns bool, otherwise it
returns a ushort as before.

This allows us to use a conditional branch instruction when there are two
exit blocks, as often happens during block extraction.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13481 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-12 04:14:24 +00:00
..
BasicBlockUtils.cpp
BreakCriticalEdges.cpp Fix bug: test/Regression/Transforms/LowerInvoke/2004-02-29-PHICrash.llx 2004-02-29 22:24:41 +00:00
CloneFunction.cpp
CloneModule.cpp
CloneTrace.cpp
CodeExtractor.cpp Generate substantially better code when there are a limited number of exits 2004-05-12 04:14:24 +00:00
DemoteRegToStack.cpp Fix PR310 and TailDup/2004-04-01-DemoteRegToStack.llx 2004-04-01 20:28:45 +00:00
InlineFunction.cpp Fix Inline/2004-04-15-InlineDeletesCall.ll 2004-04-16 05:17:59 +00:00
Linker.cpp Fix linking of constant expr casts due to type resolution changes. With 2004-03-31 02:58:28 +00:00
Local.cpp Include cerrno (gcc-3.4 fix) 2004-04-21 16:11:40 +00:00
LoopSimplify.cpp Correct rewriting of exit blocks after my last patch 2004-04-18 22:27:10 +00:00
LowerAllocations.cpp Don't emit things like malloc(16*1). Allocation instructions are fixed arity now. 2004-03-03 01:40:53 +00:00
LowerInvoke.cpp Support getelementptr instructions which use uint's to index into structure 2004-04-05 01:30:19 +00:00
LowerSelect.cpp Add a simple select instruction lowering pass 2004-03-30 18:41:10 +00:00
LowerSwitch.cpp Do not create empty basic blocks when the lowerswitch pass expects blocks to 2004-03-14 04:14:31 +00:00
Makefile
Mem2Reg.cpp
PromoteMemoryToRegister.cpp Implement ScalarRepl/select_promote.ll 2004-04-08 19:59:34 +00:00
SimplifyCFG.cpp Do not clone arbitrary condition instructions. 2004-05-02 05:19:36 +00:00
UnifyFunctionExitNodes.cpp
ValueMapper.cpp
ValueMapper.h