diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-12-14 00:55:51 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-12-14 00:55:51 +0000 |
commit | 36eab1cee47c8fd2b3ddb872f947c28c1ed666d0 (patch) | |
tree | 19636a77721a79eb8da5e4d7676034c5e0a9f9d6 /llvm/docs/ProgrammersManual.html | |
parent | 9d48e80426bd7fe96e3dc1dfb917bb4a72e900bb (diff) | |
download | bcm5719-llvm-36eab1cee47c8fd2b3ddb872f947c28c1ed666d0.tar.gz bcm5719-llvm-36eab1cee47c8fd2b3ddb872f947c28c1ed666d0.zip |
Add IntervalMap to the Programmer's Manual.
llvm-svn: 121740
Diffstat (limited to 'llvm/docs/ProgrammersManual.html')
-rw-r--r-- | llvm/docs/ProgrammersManual.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/llvm/docs/ProgrammersManual.html b/llvm/docs/ProgrammersManual.html index e8d81a25061..f6854078b6c 100644 --- a/llvm/docs/ProgrammersManual.html +++ b/llvm/docs/ProgrammersManual.html @@ -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> @@ -1509,6 +1510,23 @@ a <code>Config</code> parameter to the ValueMap template.</p> <!-- _______________________________________________________________________ --> <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> </div> |