llvm/docs/TableGen
Nicolai Haehnle 2b1cd517a0 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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335225 91177308-0d34-0410-b5e6-96231b3b80d8
2018-06-21 13:36:22 +00:00
..
BackEnds.rst TableGen/SearchableTables: Support more generic enums and tables 2018-06-21 13:36:22 +00:00
Deficiencies.rst
index.rst TableGen: Streamline the semantics of NAME 2018-06-04 14:26:05 +00:00
LangIntro.rst TableGen: some LangRef doc fixes 2018-06-04 14:26:12 +00:00
LangRef.rst TableGen: some LangRef doc fixes 2018-06-04 14:26:12 +00:00