class NodeRef
Declaration
class NodeRef { /* full declaration omitted */ };
Declared at: llvm/include/llvm/ADT/IntervalMap.h:493
Member Variables
- private PointerIntPair<void*, Log2CacheLine, unsigned int, llvm::IntervalMapImpl::NodeRef:: CacheAlignedPointerTraits> pip
Method Overview
- public NodeRef()
- public template <typename NodeT> NodeRef(NodeT * p, unsigned int n)
- public template <typename NodeT>NodeT & get() const
- public bool operator bool() const
- public void setSize(unsigned int n)
- public unsigned int size() const
- public llvm::IntervalMapImpl::NodeRef & subtree(unsigned int i) const
Methods
¶NodeRef()
NodeRef()
Description
NodeRef - Create a null ref.
Declared at: llvm/include/llvm/ADT/IntervalMap.h:503
¶template <typename NodeT>
NodeRef(NodeT* p, unsigned int n)
template <typename NodeT>
NodeRef(NodeT* p, unsigned int n)
Description
NodeRef - Create a reference to the node p with n elements.
Declared at: llvm/include/llvm/ADT/IntervalMap.h:510
Templates
- NodeT
Parameters
- NodeT* p
- unsigned int n
¶template <typename NodeT>
NodeT& get() const
template <typename NodeT>
NodeT& get() const
Description
get - Dereference as a NodeT reference.
Declared at: llvm/include/llvm/ADT/IntervalMap.h:529
Templates
- NodeT
¶bool operator bool() const
bool operator bool() const
Description
operator bool - Detect a null ref.
Declared at: llvm/include/llvm/ADT/IntervalMap.h:506
¶void setSize(unsigned int n)
void setSize(unsigned int n)
Description
setSize - Update the node size.
Declared at: llvm/include/llvm/ADT/IntervalMap.h:518
Parameters
- unsigned int n
¶unsigned int size() const
unsigned int size() const
Description
size - Return the number of elements in the referenced node.
Declared at: llvm/include/llvm/ADT/IntervalMap.h:515
¶llvm::IntervalMapImpl::NodeRef& subtree(
unsigned int i) const
llvm::IntervalMapImpl::NodeRef& subtree(
unsigned int i) const
Description
subtree - Access the i'th subtree reference in a branch node. This depends on branch nodes storing the NodeRef array as their first member.
Declared at: llvm/include/llvm/ADT/IntervalMap.h:523
Parameters
- unsigned int i