diff options
author | Chris Lattner <sabre@nondot.org> | 2012-05-17 15:55:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2012-05-17 15:55:41 +0000 |
commit | 387c9dcddabe8551468647b249d3629953caab9e (patch) | |
tree | 689b7d9b1654c3bea88e164547dfa961f7cacda0 /utils/TableGen/SequenceToOffsetTable.h | |
parent | 44600d708154e09f4e53719f503e2446eb2b7f53 (diff) | |
download | llvm-387c9dcddabe8551468647b249d3629953caab9e.tar.gz llvm-387c9dcddabe8551468647b249d3629953caab9e.tar.bz2 llvm-387c9dcddabe8551468647b249d3629953caab9e.tar.xz |
enhance the intrinsic info stuff to emit encodings that don't fit in 32-bits into a
separate side table, using the handy SequenceToOffsetTable class. This encodes all
these weird things into another 256 bytes, allowing all intrinsics to be encoded this way.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156995 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/SequenceToOffsetTable.h')
-rw-r--r-- | utils/TableGen/SequenceToOffsetTable.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/TableGen/SequenceToOffsetTable.h b/utils/TableGen/SequenceToOffsetTable.h index 97c764e61d..d8ab2eeb25 100644 --- a/utils/TableGen/SequenceToOffsetTable.h +++ b/utils/TableGen/SequenceToOffsetTable.h @@ -81,6 +81,8 @@ public: Seqs.erase(I); } + bool empty() const { return Seqs.empty(); } + /// layout - Computes the final table layout. void layout() { assert(Entries == 0 && "Can only call layout() once"); |