llvm-6502/lib
Hal Finkel 90dd7fd167 PPC: Prep for if conversion of bctr[l]
This adds in-principle support for if-converting the bctr[l] instructions.
These instructions are used for indirect branching. It seems, however, that the
current if converter will never actually predicate these. To do so, it would
need the ability to hoist a few setup insts. out of the conditionally-executed
block. For example, code like this:
  void foo(int a, int (*bar)()) { if (a != 0) bar(); }
becomes:
        ...
        beq 0, .LBB0_2
        std 2, 40(1)
        mr 12, 4
        ld 3, 0(4)
        ld 11, 16(4)
        ld 2, 8(4)
        mtctr 3
        bctrl
        ld 2, 40(1)
.LBB0_2:
        ...
and it would be safe to do all of this unconditionally with a predicated
beqctrl instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179156 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-10 06:42:34 +00:00
..
Analysis Revert r176408 and r176407 to address PR15540. 2013-04-09 18:16:05 +00:00
Archive
AsmParser Rationalize the formatting of these case labels. Having two sorted 2013-04-09 19:46:46 +00:00
Bitcode
CodeGen Generalize the PassConfig API and remove addFinalizeRegAlloc(). 2013-04-10 01:06:56 +00:00
DebugInfo DWARF parser: Fix DWARF-2/3 incompatibility: size of DW_FORM_ref_addr is the same as DW_FORM_addr in DWARF2, and is 4/8 bytes on 32/64-bit DWARF starting from DWARF3. Adding a test for this is a huge pain - generating and uploading pre-built binary with DWARF3 debug info is way too ugly, and writing fine-grained unittests for DebugInfo is impossible, as it doesn't expose any headers in include/llvm. That said, I'm going to choose the second approach and submit the patch exposing DebugInfo headers for review soon enough. 2013-04-09 14:09:42 +00:00
ExecutionEngine
IR
IRReader
Linker
MC Remove unused method and default values. 2013-04-09 20:35:08 +00:00
Object Template the MachO types over endianness. 2013-04-10 03:48:25 +00:00
Option
Support <rdar://problem/13551789> Fix a race in the LockFileManager. 2013-04-05 20:53:57 +00:00
TableGen
Target PPC: Prep for if conversion of bctr[l] 2013-04-10 06:42:34 +00:00
Transforms Fix some comment typos. 2013-04-09 22:15:51 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile