llvm-6502/lib
Chris Lattner 071c62fad0 Rearrange handling of jump tables. Highlights:
1. MachineJumpTableInfo is now created lazily for a function the first time
   it actually makes a jump table instead of for every function.
2. The encoding of jump table entries is now described by the
   MachineJumpTableInfo::JTEntryKind enum.  This enum is determined by the
   TLI::getJumpTableEncoding() hook, instead of by lots of code scattered
   throughout the compiler that "knows" that jump table entries are always
   32-bits in pic mode (for example).
3. The size and alignment of jump table entries is now calculated based on
   their kind, instead of at machinefunction creation time.

Future work includes using the EntryKind in more places in the compiler,
eliminating other logic that "knows" the layout of jump tables in various
situations.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94470 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-25 23:26:13 +00:00
..
Analysis make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
Archive make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
AsmParser make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
Bitcode Fix the bitcode reader to deserialize nuw/nsw/etc. bits properly in the case 2010-01-25 21:55:39 +00:00
CodeGen Rearrange handling of jump tables. Highlights: 2010-01-25 23:26:13 +00:00
CompilerDriver mark some libraries that currently require RTTI. 2010-01-24 20:22:08 +00:00
ExecutionEngine Rearrange handling of jump tables. Highlights: 2010-01-25 23:26:13 +00:00
Linker make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
MC mcstreamerize gprel32 emission. 2010-01-25 21:28:50 +00:00
Support Changes to fix buffering that I forgot to commit with previous patch. 2010-01-22 21:16:10 +00:00
System mark some libraries that currently require RTTI. 2010-01-24 20:22:08 +00:00
Target Rearrange handling of jump tables. Highlights: 2010-01-25 23:26:13 +00:00
Transforms Remove check for an impossible condition: the condition of the while loop has 2010-01-25 21:28:05 +00:00
VMCore Change Value::getUnderlyingObject to have the MaxLookup value specified as a 2010-01-25 18:26:54 +00:00
Makefile