llvm-6502/lib
Hans Wennborg d72271cd84 SimplifyCFG: Make the switch-to-lookup table transformation store the
tables in bitmaps when they fit in a target-legal register.

This saves some space, and it also allows for building tables that would
otherwise be deemed too sparse.

One interesting case that this hits is example 7 from
http://blog.regehr.org/archives/320. We currently generate good code
for this when lowering the switch to the selection DAG: we build a
bitmask to decide whether to jump to one block or the other. My patch
will result in the same bitmask, but it removes the need for the jump,
as the return value can just be retrieved from the mask.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164684 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-26 09:44:49 +00:00
..
Analysis Teach the 'lint' sanity checking pass to detect simple buffer overflows. 2012-09-26 07:45:36 +00:00
Archive Mark checkSignature const, and in turn stop casting away const from 2012-09-05 22:09:23 +00:00
AsmParser Encapsulate the "construct*AlignmentFromInt" functions. 2012-09-21 16:07:28 +00:00
Bitcode Move remaining methods inside the Attributes class. Merge the 'Attribute' namespaces. 2012-09-25 20:57:48 +00:00
CodeGen Rename virtual table anchors from Anchor() to anchor() for consistency with the rest of the tree. 2012-09-26 06:36:36 +00:00
DebugInfo Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-18 02:01:41 +00:00
ExecutionEngine Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-18 02:01:41 +00:00
Linker Move the "findUsedStructTypes" functionality outside of the Module class. 2012-08-03 00:30:35 +00:00
MC Rename virtual table anchors from Anchor() to anchor() for consistency with the rest of the tree. 2012-09-26 06:36:36 +00:00
Object Reverting r 160419. 2012-07-19 21:43:55 +00:00
Support The assumption that /proc/self/exe always exists is incorrect. 2012-09-26 08:30:35 +00:00
TableGen De-nest if's and fix mix-up 2012-09-19 02:14:59 +00:00
Target Add SARX/SHRX/SHLX code generation support 2012-09-26 08:26:25 +00:00
Transforms SimplifyCFG: Make the switch-to-lookup table transformation store the 2012-09-26 09:44:49 +00:00
VMCore Replace calls to getSizeInBits with getExtendedSizeInBits since its already known its an extended type. 2012-09-26 07:11:42 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile