LLVM API Documentation
#include <IntervalMap.h>
Additional Inherited Members | |
![]() | |
enum | |
![]() | |
std::pair< KeyT, KeyT > | first [N] |
ValT | second [N] |
Definition at line 179 of file IntervalMap.h.
|
inline |
findFrom - Find the first interval after i that may contain x.
i | Starting index for the search. |
Size | Number of elements in node. |
x | Key to search for. |
Definition at line 575 of file IntervalMap.h.
References N.
unsigned llvm::IntervalMapImpl::LeafNode< KeyT, ValT, N, Traits >::insertFrom | ( | unsigned & | Pos, |
unsigned | Size, | ||
KeyT | a, | ||
KeyT | b, | ||
ValT | y | ||
) |
insertFrom - Add mapping of [a;b] to y if possible, coalescing as much as possible. This may cause the node to grow by 1, or it may cause the node to shrink because of coalescing.
Pos | Starting index = insertFrom(0, size, a) |
Size | Number of elements in node. |
a | Interval start. |
b | Interval stop. |
y | Value be mapped. |
Definition at line 623 of file IntervalMap.h.
References N.
Referenced by llvm::IntervalMap< KeyT, ValT, N, Traits >::iterator::insert().
|
inline |
safeFind - Find an interval that is known to exist. This is the same as findFrom except is it assumed that x is at least within range of the last interval.
i | Starting index for the search. |
x | Key to search for. |
Definition at line 590 of file IntervalMap.h.
References N.
Referenced by llvm::IntervalMap< KeyT, ValT, N, Traits >::const_iterator::pathFillFind().
|
inline |
safeLookup - Lookup mapped value for a safe key. It is assumed that x is within range of the last entry.
x | Key to search for. |
NotFound | Value to return if x is not in any interval. |
Definition at line 604 of file IntervalMap.h.
|
inline |
Definition at line 561 of file IntervalMap.h.
Referenced by llvm::IntervalMap< KeyT, ValT, N, Traits >::const_iterator::unsafeStart().
|
inline |
Definition at line 565 of file IntervalMap.h.
|
inline |
Definition at line 562 of file IntervalMap.h.
Referenced by llvm::IntervalMap< KeyT, ValT, N, Traits >::const_iterator::treeAdvanceTo(), and llvm::IntervalMap< KeyT, ValT, N, Traits >::const_iterator::unsafeStop().
|
inline |
Definition at line 566 of file IntervalMap.h.
|
inline |
Definition at line 563 of file IntervalMap.h.
Referenced by llvm::IntervalMap< KeyT, ValT, N, Traits >::const_iterator::unsafeValue().
|
inline |
Definition at line 567 of file IntervalMap.h.