summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorNicolai Haehnle <nhaehnle@gmail.com>2018-06-21 13:36:22 +0000
committerNicolai Haehnle <nhaehnle@gmail.com>2018-06-21 13:36:22 +0000
commit0ea4d06e474711838c9fec08bf208bc9cd0f35f0 (patch)
treebca9523831798b34764f8c2b25a9ff0913339ca0 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent2367f035657b53ae327a4cfe1e5a194b41997228 (diff)
downloadbcm5719-llvm-0ea4d06e474711838c9fec08bf208bc9cd0f35f0.tar.gz
bcm5719-llvm-0ea4d06e474711838c9fec08bf208bc9cd0f35f0.zip
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
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud