llvm-6502/lib/Target/X86/AsmPrinter
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
..
CMakeLists.txt
Makefile
X86AsmPrinter.cpp Rearrange handling of jump tables. Highlights: 2010-01-25 23:26:13 +00:00
X86AsmPrinter.h
X86ATTInstPrinter.cpp
X86ATTInstPrinter.h
X86IntelInstPrinter.cpp
X86IntelInstPrinter.h kill off printPICLabel now, it's specialness is handled by 2009-09-20 07:28:26 +00:00
X86MCInstLower.cpp
X86MCInstLower.h