llvm-6502/include/llvm
Jim Grosbach fc1a161d76 Switch the fixed-length disassembler to be table-driven.
Refactor the TableGen'erated fixed length disassemblmer to use a
table-driven state machine rather than a massive set of nested
switch() statements.

As a result, the ARM Disassembler (ARMDisassembler.cpp) builds much more
quickly and generates a smaller end result. For a Release+Asserts build on
a 16GB 3.4GHz i7 iMac w/ SSD:

Time to compile at -O2 (averaged w/ hot caches):
  Previous: 35.5s
  New:       8.9s

TEXT size:
  Previous: 447,251
  New:      297,661

Builds in 25% of the time previously required and generates code 66% of
the size.

Execution time of the disassembler is only slightly slower (7% disassembling
10 million ARM instructions, 19.6s vs 21.0s). The new implementation has
not yet been tuned, however, so the performance should almost certainly
be recoverable should it become a concern.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161888 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-14 19:06:05 +00:00
..
ADT Avoid undefined behavior in DenseMap::shrink_and_clear(). Log2_32_Ceil(0) 2012-08-14 02:56:51 +00:00
Analysis Fix a documentation typo. 2012-08-13 15:29:53 +00:00
Assembly
Bitcode Remove references to compression in llvm-ar. It has been a long time since we 2012-08-10 01:57:52 +00:00
CodeGen Create isXBitVector methods in MVT and call them from EVT. This allows targets to call them with an MVT without needing to convert to EVT. 2012-08-11 23:31:18 +00:00
Config Add support for detecting libxml for Dmitri's work. He'll 2012-08-03 19:47:19 +00:00
DebugInfo DebugInfo library: add support for fetching absolute paths to source files 2012-07-19 07:03:58 +00:00
ExecutionEngine Fixed few warnings. 2012-07-19 04:50:12 +00:00
MC Switch the fixed-length disassembler to be table-driven. 2012-08-14 19:06:05 +00:00
Object [Object] Remove unneeded const_cast. 2012-07-24 21:07:56 +00:00
Support Switch the fixed-length disassembler to be table-driven. 2012-08-14 19:06:05 +00:00
TableGen
Target Remove the TII::scheduleTwoAddrSource() hook. 2012-08-13 21:52:57 +00:00
Transforms add EmitStrNLen() 2012-07-25 17:18:59 +00:00
Argument.h
Attributes.h [ms-inline asm] Add a new Inline Asm Non-Standard Dialect attribute. 2012-08-10 00:00:22 +00:00
AutoUpgrade.h
BasicBlock.h
CallGraphSCCPass.h
CallingConv.h Use X86_thiscall calling convention for Win64 as well. 2011-03-03 07:49:07 +00:00
CMakeLists.txt
Constant.h
Constants.h
DebugInfo.h
DefaultPasses.h
DerivedTypes.h
DIBuilder.h Remove tabs. 2012-07-19 00:01:00 +00:00
Function.h
GlobalAlias.h
GlobalValue.h
GlobalVariable.h
GVMaterializer.h
InitializePasses.h Start scaffolding for a MachineTraceMetrics analysis pass. 2012-07-26 18:38:11 +00:00
InlineAsm.h
InstrTypes.h
Instruction.def
Instruction.h
Instructions.h
IntrinsicInst.h
Intrinsics.h
Intrinsics.td Add support for v16i32/v16i64 into the code generator. This is required for backends that use i32/i64 vectors for the getSetCCResultType function. 2012-07-26 21:22:00 +00:00
IntrinsicsARM.td
IntrinsicsCellSPU.td
IntrinsicsHexagon.td
IntrinsicsMips.td Fix MIPS DSP Rev1 intrinsics memory properties. 2012-08-06 19:47:47 +00:00
IntrinsicsNVVM.td
IntrinsicsPowerPC.td
IntrinsicsX86.td
IntrinsicsXCore.td
IRBuilder.h Add support for attaching branch weight metadata directly from the IRBuilder. 2012-07-16 07:45:06 +00:00
LinkAllPasses.h
LinkAllVMCore.h
Linker.h
LLVMContext.h
MDBuilder.h Update the header guard I missed when moving the header. 2012-07-15 23:45:20 +00:00
Metadata.h
Module.h Move the "findUsedStructTypes" functionality outside of the Module class. 2012-08-03 00:30:35 +00:00
OperandTraits.h
Operator.h
Pass.h
PassAnalysisSupport.h
PassManager.h
PassManagers.h
PassRegistry.h
PassSupport.h
SymbolTableListTraits.h
Type.h
TypeBuilder.h Move llvm/Support/TypeBuilder.h -> llvm/TypeBuilder.h. This completes 2012-07-15 23:45:24 +00:00
TypeFinder.h Move the "findUsedStructTypes" functionality outside of the Module class. 2012-08-03 00:30:35 +00:00
Use.h
User.h
Value.h
ValueSymbolTable.h