class NodeRef
Declaration
class NodeRef { /* full declaration omitted */ };
Declared at: llvm/include/llvm/ADT/IntervalMap.h:490
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:500
¶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:507
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:526
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:503
¶void setSize(unsigned int n)
void setSize(unsigned int n)
Description
setSize - Update the node size.
Declared at: llvm/include/llvm/ADT/IntervalMap.h:515
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:512
¶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:520
Parameters
- unsigned int i