mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Add IntervalMap to the Programmer's Manual.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121740 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2ece4dead7
commit
aca0da6876
@ -84,6 +84,7 @@ option</a></li>
|
||||
<li><a href="#dss_indexedmap">"llvm/ADT/IndexedMap.h"</a></li>
|
||||
<li><a href="#dss_densemap">"llvm/ADT/DenseMap.h"</a></li>
|
||||
<li><a href="#dss_valuemap">"llvm/ADT/ValueMap.h"</a></li>
|
||||
<li><a href="#dss_intervalmap">"llvm/ADT/IntervalMap.h"</a></li>
|
||||
<li><a href="#dss_map"><map></a></li>
|
||||
<li><a href="#dss_othermap">Other Map-Like Container Options</a></li>
|
||||
</ul></li>
|
||||
@ -1507,6 +1508,23 @@ a <code>Config</code> parameter to the ValueMap template.</p>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- _______________________________________________________________________ -->
|
||||
<div class="doc_subsubsection">
|
||||
<a name="dss_intervalmap">"llvm/ADT/IntervalMap.h"</a>
|
||||
</div>
|
||||
|
||||
<div class="doc_text">
|
||||
|
||||
<p> IntervalMap is a compact map for small keys and values. It maps key
|
||||
intervals instead of single keys, and it will automatically coalesce adjacent
|
||||
intervals. When then map only contains a few intervals, they are stored in the
|
||||
map object itself to avoid allocations.</p>
|
||||
|
||||
<p> The IntervalMap iterators are quite big, so they should not be passed around
|
||||
as STL iterators. The heavyweight iterators allow a smaller data structure.</p>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- _______________________________________________________________________ -->
|
||||
<div class="doc_subsubsection">
|
||||
<a name="dss_map"><map></a>
|
||||
|
Loading…
Reference in New Issue
Block a user