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

Inherited from IntervalMap::const_iterator:

Methods

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)

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()

Description

iterator - Create null iterator.

Declared at: llvm/include/llvm/ADT/IntervalMap.h:1538

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)

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)

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)

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)

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)

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.