An ilist node that can access its parent list.

Synopsis

Declared in <llvm/ADT/ilist_node.h>

template<
    typename NodeTy,
    typename ParentTy,
    class... Options>
class ilist_node_with_parent
    : public ilist_node<NodeTy, Options...>

Description

Requires NodeTy to have getParent() to find the parent node, and the ParentTy to have getSublistAccess() to get a reference to the list.

Base Classes

Name

Description

ilist_node<NodeTy, Options...>

An intrusive list node.

Member Functions

Name

Description

getIterator

getIterator overloads

getNextNode

Get the next node, or nullptr for the list tail.

getParent

getParent overloads

getPrevNode

getPrevNode overloads

getReverseIterator

getReverseIterator overloads

isSentinel

Check whether this is the sentinel node.

setParent

Record Parent as the owner of this node.

Using Declarations

Name

Description

isKnownSentinel

Return whether this node is known to be a list sentinel.

Protected Type Aliases

Name

Description

const_reverse_self_iterator

Const reverse iterator referring to this node.

const_self_iterator

Forward const iterator referring to this node.

reverse_self_iterator

Reverse mutable iterator referring to this node.

self_iterator

Forward mutable iterator referring to this node.

Protected Member Functions

Name

Description

ilist_node_with_parent [constructor]

Construct a default parent‐aware ilist node.

Derived Classes

Name

Description

BasicBlock

LLVM Basic Block Representation

Instruction

Base class for all LLVM IR instructions.

MachineBasicBlock

A sequence of machine instructions forming one basic block.

MachineInstr

Representation of each machine instruction.

Created with MrDocs