llvm-6502/lib
Benjamin Kramer 162ee5c725 Add a neat little two's complement hack for x86.
On x86 we can't encode an immediate LHS of a sub directly. If the RHS comes from a XOR with a constant we can
fold the negation into the xor and add one to the immediate of the sub. Then we can turn the sub into an add,
which can be commuted and encoded efficiently.

This code is generated for __builtin_clz and friends.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136167 91177308-0d34-0410-b5e6-96231b3b80d8
2011-07-26 22:42:13 +00:00
..
Analysis SCEV: Added a data structure for storing not-taken info per loop 2011-07-26 17:19:55 +00:00
Archive
AsmParser Initial implementation of 'fence' instruction, the new C++0x-style replacement for llvm.memory.barrier. 2011-07-25 23:16:38 +00:00
Bitcode Initial implementation of 'fence' instruction, the new C++0x-style replacement for llvm.memory.barrier. 2011-07-25 23:16:38 +00:00
CodeGen Delete unnecessarily cautious LastCALLSEQ code. 2011-07-26 22:00:59 +00:00
CompilerDriver
ExecutionEngine
Linker
MC Remove one last reference to Target in MC library. 2011-07-26 20:57:44 +00:00
Object
Support Teach the Triple class about kfreebsd (FreeBSD kernel with 2011-07-26 15:30:04 +00:00
Target Add a neat little two's complement hack for x86. 2011-07-26 22:42:13 +00:00
Transforms Use the correct for for the version. It's little endian and my brain is 2011-07-26 18:31:41 +00:00
VMCore Initial implementation of 'fence' instruction, the new C++0x-style replacement for llvm.memory.barrier. 2011-07-25 23:16:38 +00:00
CMakeLists.txt
Makefile