LLVM API Documentation
#include <IntervalMap.h>
Public Member Functions | |
const KeyT & | stop (unsigned i) const |
const NodeRef & | subtree (unsigned i) const |
KeyT & | stop (unsigned i) |
NodeRef & | subtree (unsigned i) |
unsigned | findFrom (unsigned i, unsigned Size, KeyT x) const |
unsigned | safeFind (unsigned i, KeyT x) const |
NodeRef | safeLookup (KeyT x) const |
void | insert (unsigned i, unsigned Size, NodeRef Node, KeyT Stop) |
Definition at line 697 of file IntervalMap.h.
unsigned llvm::IntervalMapImpl::BranchNode< KeyT, ValT, N, Traits >::findFrom | ( | unsigned | i, |
unsigned | Size, | ||
KeyT | x | ||
) | const [inline] |
findFrom - Find the first subtree 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 711 of file IntervalMap.h.
void llvm::IntervalMapImpl::BranchNode< KeyT, ValT, N, Traits >::insert | ( | unsigned | i, |
unsigned | Size, | ||
NodeRef | Node, | ||
KeyT | Stop | ||
) | [inline] |
insert - Insert a new (subtree, stop) pair.
i | Insert position, following entries will be shifted. |
Size | Number of elements in node. |
Node | Subtree to insert. |
Stop | Last key in subtree. |
Definition at line 746 of file IntervalMap.h.
unsigned llvm::IntervalMapImpl::BranchNode< KeyT, ValT, N, Traits >::safeFind | ( | unsigned | i, |
KeyT | x | ||
) | const [inline] |
safeFind - Find a subtree that is known to exist. This is the same as findFrom except is it assumed that x is in range.
i | Starting index for the search. |
x | Key to search for. |
Definition at line 725 of file IntervalMap.h.
NodeRef llvm::IntervalMapImpl::BranchNode< KeyT, ValT, N, Traits >::safeLookup | ( | KeyT | x | ) | const [inline] |
safeLookup - Get the subtree containing x, Assuming that x is in range.
x | Key to search for. |
Definition at line 737 of file IntervalMap.h.
const KeyT& llvm::IntervalMapImpl::BranchNode< KeyT, ValT, N, Traits >::stop | ( | unsigned | i | ) | const [inline] |
Definition at line 699 of file IntervalMap.h.
Referenced by llvm::IntervalMap< KeyT, ValT, N, Traits >::const_iterator::treeAdvanceTo().
KeyT& llvm::IntervalMapImpl::BranchNode< KeyT, ValT, N, Traits >::stop | ( | unsigned | i | ) | [inline] |
Definition at line 702 of file IntervalMap.h.
const NodeRef& llvm::IntervalMapImpl::BranchNode< KeyT, ValT, N, Traits >::subtree | ( | unsigned | i | ) | const [inline] |
Definition at line 700 of file IntervalMap.h.
NodeRef& llvm::IntervalMapImpl::BranchNode< KeyT, ValT, N, Traits >::subtree | ( | unsigned | i | ) | [inline] |
Definition at line 703 of file IntervalMap.h.