From: Jakob Stoklund Olesen Date: Tue, 14 Dec 2010 00:55:51 +0000 (+0000) Subject: Add IntervalMap to the Programmer's Manual. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=aca0da6876346d6384bd7d913b3dc34bc4626377;p=oota-llvm.git Add IntervalMap to the Programmer's Manual. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121740 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index e8d81a25061..f6854078b6c 100644 --- a/docs/ProgrammersManual.html +++ b/docs/ProgrammersManual.html @@ -84,6 +84,7 @@ option
  • "llvm/ADT/IndexedMap.h"
  • "llvm/ADT/DenseMap.h"
  • "llvm/ADT/ValueMap.h"
  • +
  • "llvm/ADT/IntervalMap.h"
  • <map>
  • Other Map-Like Container Options
  • @@ -1507,6 +1508,23 @@ a Config parameter to the ValueMap template.

    + +
    + "llvm/ADT/IntervalMap.h" +
    + +
    + +

    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.

    + +

    The IntervalMap iterators are quite big, so they should not be passed around +as STL iterators. The heavyweight iterators allow a smaller data structure.

    + +
    +
    <map>