llvm-6502/lib
Evan Cheng 4d09efd7b8 Speculatively execute a block when the the block is the then part of a triangle shape and it contains a single, side effect free, cheap instruction. The branch is eliminated by adding a select instruction. i.e.
Turn                                                                                                                                                                                                       
BB:                                                                                                                                                                                                        
    %t1 = icmp                                                                                                                                                                                             
    br i1 %t1, label %BB1, label %BB2                                                                                                                                                                      
BB1:                                                                                                                                                                                                       
    %t3 = add %t2, c                                                                                                                                                                                       
    br label BB2                                                                                                                                                                                           
BB2:                                                                                                                                                                                                       
=>                                                                                                                                                                                                         
BB:                                                                                                                                                                                                        
    %t1 = icmp                                                                                                                                                                                             
    %t4 = add %t2, c                                                                                                                                                                                       
    %t3 = select i1 %t1, %t2, %t3


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52073 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-07 08:52:29 +00:00
..
Analysis Expose a public interface to this pass. 2008-06-05 23:45:18 +00:00
Archive
AsmParser
Bitcode Turn stdout into binary mode during bitcode emission. 2008-06-06 07:24:01 +00:00
CodeGen CodeGen support for insertvalue and extractvalue, and for loads and 2008-06-07 02:02:36 +00:00
Debugger
ExecutionEngine
Linker
Support As comments said, for negative value, the arithmetic 2008-06-05 13:27:38 +00:00
System Provide hooks for libgcc symbols' address resolution inside lli on mingw32. 2008-06-06 07:20:07 +00:00
Target Revert r52046. It broke cbe on x86 / Mac OS X. 2008-06-07 07:50:29 +00:00
Transforms Speculatively execute a block when the the block is the then part of a triangle shape and it contains a single, side effect free, cheap instruction. The branch is eliminated by adding a select instruction. i.e. 2008-06-07 08:52:29 +00:00
VMCore get rid of ExtractValueInst::init's Value argument, it is already passed to the UnaryInstruction ctor 2008-06-06 21:06:32 +00:00
Makefile