[PATCH] Add a jumptable attribute and support for creating jump-instruction tables

Tom Roeder tmroeder at google.com
Fri May 23 16:07:17 PDT 2014


This version of the patch fixes the problems from the most recent review. It also adds the requirement that jumptable functions must also be unnamed_addr; this is now enforced by the Verifier. PTAL.

http://reviews.llvm.org/D3361

Files:
  docs/LangRef.rst
  include/llvm-c/Core.h
  include/llvm/Analysis/JumpInstrTableInfo.h
  include/llvm/Analysis/Passes.h
  include/llvm/Bitcode/LLVMBitCodes.h
  include/llvm/CodeGen/JumpInstrTables.h
  include/llvm/CodeGen/Passes.h
  include/llvm/IR/Attributes.h
  include/llvm/InitializePasses.h
  include/llvm/LinkAllPasses.h
  include/llvm/Target/TargetInstrInfo.h
  lib/Analysis/Analysis.cpp
  lib/Analysis/CMakeLists.txt
  lib/Analysis/JumpInstrTableInfo.cpp
  lib/AsmParser/LLLexer.cpp
  lib/AsmParser/LLParser.cpp
  lib/AsmParser/LLToken.h
  lib/Bitcode/Reader/BitcodeReader.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  lib/CodeGen/CMakeLists.txt
  lib/CodeGen/JumpInstrTables.cpp
  lib/CodeGen/LLVMTargetMachine.cpp
  lib/IR/Attributes.cpp
  lib/IR/Verifier.cpp
  lib/LTO/LTOCodeGenerator.cpp
  lib/Target/ARM/ARMBaseInstrInfo.cpp
  lib/Target/ARM/ARMBaseInstrInfo.h
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86InstrInfo.h
  lib/Transforms/IPO/IPO.cpp
  test/Bitcode/attributes.ll
  test/CodeGen/ARM/jump_tables.ll
  test/CodeGen/X86/jump_table_alias.ll
  test/CodeGen/X86/jump_table_bitcast.ll
  test/CodeGen/X86/jump_tables.ll
  test/Verifier/jumptable.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3361.9782.patch
Type: text/x-patch
Size: 56309 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140523/22566bca/attachment.bin>


More information about the llvm-commits mailing list