LLVM: llvm::ilist_node_with_parent< NodeTy, ParentTy, Options (original) (raw)

An ilist node that can access its parent list. More...

#include "[llvm/ADT/ilist_node.h](ilist%5F%5Fnode%5F8h%5Fsource.html)"

Inheritance diagram for llvm::ilist_node_with_parent< NodeTy, ParentTy, Options >:

Public Member Functions
Adjacent Node Accessors
Get the previous node, or nullptr for the list head.
NodeTy * getPrevNode ()
const NodeTy * getPrevNode () const
Get the previous node, or nullptr for the list head.
NodeTy * getNextNode ()
Get the next node, or nullptr for the list tail.
const NodeTy * getNextNode () const
Get the next node, or nullptr for the list tail.
Public Member Functions inherited from llvm::ilist_node_impl< ilist_detail::compute_node_options< NodeTy, Options... >::type >
self_iterator getIterator ()
reverse_self_iterator getReverseIterator ()
std::enable_if_t< T::is_sentinel_tracking_explicit, bool > isSentinel () const
Check whether this is the sentinel node.
Public Member Functions inherited from llvm::ilist_detail::node_parent_access< ilist_node_impl< ilist_detail::compute_node_options< NodeTy, Options... >::type >, ilist_detail::compute_node_options< NodeTy, Options... >::type::parent_ty >
const ilist_detail::compute_node_options< NodeTy, Options... >::type::parent_ty * getParent () const
void setParent (ilist_detail::compute_node_options< NodeTy, Options... >::type::parent_ty *Parent)
Additional Inherited Members
Protected Types inherited from llvm::ilist_node_impl< ilist_detail::compute_node_options< NodeTy, Options... >::type >
using self_iterator
using const_self_iterator
using reverse_self_iterator
using const_reverse_self_iterator

Detailed Description

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

An ilist node that can access its parent list.

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

Definition at line 316 of file ilist_node.h.

Constructor & Destructor Documentation

template<typename NodeTy, typename ParentTy, class... Options>

Member Function Documentation

getNextNode() [1/2]

template<typename NodeTy, typename ParentTy, class... Options>

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

Examples

/work/as-worker-4/publish-doxygen-docs/llvm-project/llvm/include/llvm/ADT/ilist_node.h.

Definition at line 348 of file ilist_node.h.

References llvm::List.

Referenced by llvm::CodeExtractor::extractCodeRegion(), findStoresToUninstrumentedArgAllocas(), llvm::getMachineInstrType(), llvm::MustBeExecutedContextExplorer::getMustBeExecutedNextInstruction(), getNextMachineInstr(), getNextNode(), getNextNode(), llvm::sandboxir::Instruction::getTopmostLLVMInstruction(), insertRelocationStores(), llvm::SampleProfileProber::instrumentOneFunc(), isPotentiallyReachable(), llvm::ARMBlockPlacement::moveBasicBlock(), OptimizeGlobalAddressOfAllocation(), removeEmptyCleanup(), RemovePreallocated(), replaceCBufferAccesses(), llvm::ARMBlockPlacement::revertWhileToDoLoop(), rewriteDebugUsers(), simplifyRelocatesOffABase(), llvm::coro::sinkSpillUsesAfterCoroBegin(), llvm::sortBlocks(), llvm::OutlinableRegion::splitCandidate(), llvm::JumpThreadingPass::threadGuard(), updateScopeLine(), validateFunCallMachineDef(), versionCallSiteWithCond(), llvm::InstCombinerImpl::visitCallInst(), and llvm::InstCombinerImpl::visitFenceInst().

getNextNode() [2/2]

template<typename NodeTy, typename ParentTy, class... Options>

getPrevNode() [1/2]

template<typename NodeTy, typename ParentTy, class... Options>

Examples

/work/as-worker-4/publish-doxygen-docs/llvm-project/llvm/include/llvm/ADT/ilist_node.h.

Definition at line 334 of file ilist_node.h.

References llvm::List.

Referenced by findDominatingValue(), llvm::ARMBlockPlacement::fixBackwardsWLS(), llvm::CtxProfAnalysis::getCallsiteInstrumentation(), llvm::MustBeExecutedContextExplorer::getMustBeExecutedPrevInstruction(), getOrCreateDebugLoc(), getPrevNode(), llvm::CtxProfAnalysis::getSelectInstrumentation(), InsertStackProtectors(), LowerCallResults(), llvm::ARMBlockPlacement::moveBasicBlock(), llvm::LockstepReverseIterator< EarlyFailure >::operator--(), replaceIfBranchTargets(), llvm::LockstepReverseIterator< EarlyFailure >::reset(), simplifySuspendPoint(), updateKillStatus(), and llvm::InstCombinerImpl::visitFenceInst().

getPrevNode() [2/2]

template<typename NodeTy, typename ParentTy, class... Options>


The documentation for this class was generated from the following file: