class IntervalMap::iterator
Declaration
class IntervalMap::iterator : public const_iterator { /* full declaration omitted */ };
Declared at: llvm/include/llvm/ADT/IntervalMap.h:1520
Inherits from: IntervalMap::const_iterator
Member Variables
Inherited from IntervalMap::const_iterator:
- protected map = nullptr
- protected path
Method Overview
- public void erase()
- public void insert(KeyT a, KeyT b, ValT y)
- public iterator()
- public void setStart(KeyT a)
- public void setStartUnchecked(KeyT a)
- public void setStop(KeyT b)
- public void setStopUnchecked(KeyT b)
- public void setValue(ValT x)
- public void setValueUnchecked(ValT x)
Inherited from IntervalMap::const_iterator:
- public advanceTo
- public atBegin
- protected branched
- public find
- public goToBegin
- public goToEnd
- protected pathFillFind
- public setMap
- protected setRoot
- public start
- public stop
- protected treeAdvanceTo
- protected treeFind
- protected unsafeStart
- protected unsafeStop
- protected unsafeValue
- public valid
- public value
Methods
¶void erase()
void erase()
Description
erase - Erase the current interval.
Declared at: llvm/include/llvm/ADT/IntervalMap.h:1581
¶void insert(KeyT a, KeyT b, ValT y)
void insert(KeyT a, KeyT b, ValT y)
Description
insert - Insert mapping [a;b] -> y before the current position.
Declared at: llvm/include/llvm/ADT/IntervalMap.h:1578
Parameters
- KeyT a
- KeyT b
- ValT y
¶iterator()
iterator()
Description
iterator - Create null iterator.
Declared at: llvm/include/llvm/ADT/IntervalMap.h:1538
¶void setStart(KeyT a)
void setStart(KeyT a)
Description
setStart - Move the start of the current interval. This may cause coalescing with the previous interval.
Declared at: llvm/include/llvm/ADT/IntervalMap.h:1543
Parameters
- KeyT a
- New start key, must not overlap the previous interval.
¶void setStartUnchecked(KeyT a)
void setStartUnchecked(KeyT a)
Description
setStartUnchecked - Move the start of the current interval without checking for coalescing or overlaps. This should only be used when it is known that coalescing is not required.
Declared at: llvm/include/llvm/ADT/IntervalMap.h:1559
Parameters
- KeyT a
- New start key.
¶void setStop(KeyT b)
void setStop(KeyT b)
Description
setStop - Move the end of the current interval. This may cause coalescing with the following interval.
Declared at: llvm/include/llvm/ADT/IntervalMap.h:1548
Parameters
- KeyT b
- New stop key, must not overlap the following interval.
¶void setStopUnchecked(KeyT b)
void setStopUnchecked(KeyT b)
Description
setStopUnchecked - Move the end of the current interval without checking for coalescing or overlaps. This should only be used when it is known that coalescing is not required.
Declared at: llvm/include/llvm/ADT/IntervalMap.h:1565
Parameters
- KeyT b
- New stop key.
¶void setValue(ValT x)
void setValue(ValT x)
Description
setValue - Change the mapped value of the current interval. This may cause coalescing with the previous and following intervals.
Declared at: llvm/include/llvm/ADT/IntervalMap.h:1553
Parameters
- ValT x
- New value.
¶void setValueUnchecked(ValT x)
void setValueUnchecked(ValT x)
Description
setValueUnchecked - Change the mapped value of the current interval without checking for coalescing.
Declared at: llvm/include/llvm/ADT/IntervalMap.h:1575
Parameters
- ValT x
- New value.