LLVM 22.0.0git
|
#include "llvm/ADT/IntervalMap.h"
Public Member Functions | |
NodeRef ()=default | |
NodeRef - Create a null ref. | |
operator bool () const | |
operator bool - Detect a null ref. | |
template<typename NodeT> | |
NodeRef (NodeT *p, unsigned n) | |
NodeRef - Create a reference to the node p with n elements. | |
unsigned | size () const |
size - Return the number of elements in the referenced node. | |
void | setSize (unsigned n) |
setSize - Update the node size. | |
NodeRef & | subtree (unsigned i) const |
subtree - Access the i'th subtree reference in a branch node. | |
template<typename NodeT> | |
NodeT & | get () const |
get - Dereference as a NodeT reference. | |
bool | operator== (const NodeRef &RHS) const |
bool | operator!= (const NodeRef &RHS) const |
Definition at line 494 of file IntervalMap.h.
|
default |
NodeRef - Create a null ref.
Referenced by operator!=(), operator==(), and subtree().
|
inline |
NodeRef - Create a reference to the node p with n elements.
Definition at line 511 of file IntervalMap.h.
References assert().
|
inline |
get - Dereference as a NodeT reference.
Definition at line 530 of file IntervalMap.h.
Referenced by llvm::IntervalMap< KeyT, ValT, N, Traits >::const_iterator::pathFillFind().
|
inlineexplicit |
operator bool - Detect a null ref.
Definition at line 507 of file IntervalMap.h.
Definition at line 541 of file IntervalMap.h.
References NodeRef(), operator==(), and RHS.
Definition at line 534 of file IntervalMap.h.
|
inline |
setSize - Update the node size.
Definition at line 519 of file IntervalMap.h.
|
inline |
size - Return the number of elements in the referenced node.
Definition at line 516 of file IntervalMap.h.
Referenced by llvm::IntervalMapImpl::Path::getLeftSibling(), and llvm::IntervalMapImpl::Path::moveLeft().
subtree - Access the i'th subtree reference in a branch node.
This depends on branch nodes storing the NodeRef array as their first member.
Definition at line 524 of file IntervalMap.h.
References NodeRef().
Referenced by llvm::IntervalMapImpl::Path::getLeftSibling(), llvm::IntervalMapImpl::Path::getRightSibling(), llvm::IntervalMapImpl::Path::moveLeft(), llvm::IntervalMapImpl::Path::moveRight(), llvm::IntervalMap< KeyT, ValT, N, Traits >::const_iterator::pathFillFind(), and llvm::IntervalMapImpl::Path::subtree().