LLVM backend for 6502
Go to file
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
autoconf
bindings
cmake [cmake] Avoid rel+asserts warnings when passing -UNDEBUG 2013-04-07 01:45:01 +00:00
docs Remove the confusing sentence. 2013-04-09 04:48:40 +00:00
examples
include Template the MachO types over endianness. 2013-04-10 03:48:25 +00:00
lib PPC: Prep for if conversion of bctr[l] 2013-04-10 06:42:34 +00:00
projects
runtime
test __sincosf_stret returns sinf / cosf in bits 0:31 and 32:63 of xmm0, not in 2013-04-10 01:26:07 +00:00
tools Template the MachO types over endianness. 2013-04-10 03:48:25 +00:00
unittests
utils
.arcconfig
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
configure
CREDITS.TXT
LICENSE.TXT
llvm.spec.in
LLVMBuild.txt
Makefile
Makefile.common
Makefile.config.in
Makefile.rules Make check depend on all. 2013-04-09 19:42:12 +00:00
README.txt

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for the Low Level
Virtual Machine, a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you're writing a package for LLVM, see docs/Packaging.rst for our
suggestions.