Go to file
Nicolai Haehnle 0ea4d06e47 TableGen/SearchableTables: Support more generic enums and tables
Summary:
This is essentially a rewrite of the backend which introduces TableGen
base classes GenericEnum, GenericTable, and SearchIndex. They allow
generating custom enums and tables with lookup functions using
separately defined records as the underlying database.

Also added as part of this change:

- Lookup functions may use indices composed of multiple fields.

- Instruction fields are supported similar to Intrinsic fields.

- When the lookup key has contiguous numeric values, the lookup
  function will directly index into the table instead of using a binary
  search.

The existing SearchableTable functionality is internally mapped to the
new primitives.

Change-Id: I444f3490fa1dbfb262d7286a1660a2c4308e9932

Reviewers: arsenm, tra, t.p.northover

Subscribers: wdng, llvm-commits

Differential Revision: https://reviews.llvm.org/D48013

llvm-svn: 335225
2018-06-21 13:36:22 +00:00
clang Fix line endings in recently updated test file 2018-06-21 12:39:24 +00:00
clang-tools-extra [clangd] Expose 'shouldCollectSymbol' helper from SymbolCollector. 2018-06-21 12:12:26 +00:00
compiler-rt [TSan] fix build and couple of unit tests on FreeBSD 2018-06-20 20:17:44 +00:00
debuginfo-tests [debuginfo-tests] Always use the system python to invoke llgdb.py. 2018-06-10 19:38:26 +00:00
libclc Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
libcxx [CMake] Convert paths to the right form in standalone builds on Windows 2018-06-20 21:03:34 +00:00
libcxxabi [CMake] Convert paths to the right form in standalone builds on Windows 2018-06-20 20:59:18 +00:00
libunwind [CMake] Convert paths to the right form in standalone builds on Windows 2018-06-20 20:53:19 +00:00
lld [WebAssembly] Error on mismatched function signature in final output 2018-06-21 00:12:25 +00:00
lldb Improve SBThread's stepping API using SBError parameter. 2018-06-20 21:43:16 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm TableGen/SearchableTables: Support more generic enums and tables 2018-06-21 13:36:22 +00:00
openmp minor: fixed typo in debug print 2018-06-20 15:54:11 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly Move ScopInfo to isl++ 2018-06-19 08:13:53 +00:00
README.md

README.md

Low Level Virtual Machine (LLVM)

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.