LLVM
8.0.1
|
#include "llvm/ADT/IntervalMap.h"
Public Member Functions | |
NodeRef ()=default | |
NodeRef - Create a null ref. More... | |
operator bool () const | |
operator bool - Detect a null ref. More... | |
template<typename NodeT > | |
NodeRef (NodeT *p, unsigned n) | |
NodeRef - Create a reference to the node p with n elements. More... | |
unsigned | size () const |
size - Return the number of elements in the referenced node. More... | |
void | setSize (unsigned n) |
setSize - Update the node size. More... | |
NodeRef & | subtree (unsigned i) const |
subtree - Access the i'th subtree reference in a branch node. More... | |
template<typename NodeT > | |
NodeT & | get () const |
get - Dereference as a NodeT reference. More... | |
bool | operator== (const NodeRef &RHS) const |
bool | operator!= (const NodeRef &RHS) const |
Definition at line 491 of file IntervalMap.h.
|
default |
NodeRef - Create a null ref.
|
inline |
NodeRef - Create a reference to the node p with n elements.
Definition at line 508 of file IntervalMap.h.
References assert().
|
inline |
get - Dereference as a NodeT reference.
Definition at line 527 of file IntervalMap.h.
References llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info >::getPointer().
Referenced by llvm::IntervalMap< SlotIndex, unsigned >::overlaps(), and llvm::IntervalMap< KeyT, ValT, N, Traits >::const_iterator::pathFillFind().
|
inlineexplicit |
operator bool - Detect a null ref.
Definition at line 504 of file IntervalMap.h.
References llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info >::getOpaqueValue().
Definition at line 538 of file IntervalMap.h.
References llvm::operator==().
Definition at line 531 of file IntervalMap.h.
References assert(), and llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info >::getPointer().
|
inline |
setSize - Update the node size.
Definition at line 516 of file IntervalMap.h.
References llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info >::setInt().
|
inline |
size - Return the number of elements in the referenced node.
Definition at line 513 of file IntervalMap.h.
References llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info >::getInt().
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 521 of file IntervalMap.h.
References llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info >::getPointer().
Referenced by llvm::IntervalMapImpl::Path::getLeftSibling(), llvm::IntervalMapImpl::Path::getRightSibling(), llvm::IntervalMapImpl::Path::moveLeft(), llvm::IntervalMapImpl::Path::moveRight(), and llvm::IntervalMap< KeyT, ValT, N, Traits >::const_iterator::pathFillFind().