LLVM 20.0.0git
|
An ilist node that can access its parent list. More...
#include "llvm/ADT/ilist_node.h"
Public Member Functions | |
Adjacent Node Accessors | |
Get the previous node, or | |
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< OptionsT > | |
self_iterator | getIterator () |
const_self_iterator | getIterator () const |
reverse_self_iterator | getReverseIterator () |
const_reverse_self_iterator | getReverseIterator () const |
bool | isSentinel () const |
Check whether this is the sentinel node. | |
Public Member Functions inherited from llvm::ilist_detail::node_parent_access< ilist_node_impl< OptionsT >, OptionsT::parent_ty > | |
const OptionsT::parent_ty * | getParent () const |
OptionsT::parent_ty * | getParent () |
void | setParent (OptionsT::parent_ty *Parent) |
Protected Member Functions | |
ilist_node_with_parent ()=default | |
Protected Member Functions inherited from llvm::ilist_node_impl< OptionsT > | |
ilist_node_impl ()=default | |
Additional Inherited Members | |
Protected Types inherited from llvm::ilist_node_impl< OptionsT > | |
using | self_iterator = typename ilist_select_iterator_type< OptionsT::has_iterator_bits, OptionsT, false, false >::type |
using | const_self_iterator = typename ilist_select_iterator_type< OptionsT::has_iterator_bits, OptionsT, false, true >::type |
using | reverse_self_iterator = typename ilist_select_iterator_type< OptionsT::has_iterator_bits, OptionsT, true, false >::type |
using | const_reverse_self_iterator = typename ilist_select_iterator_type< OptionsT::has_iterator_bits, OptionsT, true, true >::type |
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 321 of file ilist_node.h.
|
protecteddefault |
|
inline |
Get the next node, or nullptr
for the list tail.
Definition at line 353 of file ilist_node.h.
References llvm::List.
Referenced by AlignBlocks(), llvm::AArch64InstrInfo::analyzeBranchPredicate(), llvm::X86InstrInfo::analyzeBranchPredicate(), llvm::DwarfCompileUnit::attachRangesOrLowHighPC(), llvm::OpenMPIRBuilder::collapseLoops(), llvm::OpenMPIRBuilder::createCanonicalLoop(), llvm::OpenMPIRBuilder::createParallel(), llvm::DebugHandlerBase::endInstruction(), llvm::getMachineInstrType(), llvm::MustBeExecutedContextExplorer::getMustBeExecutedNextInstruction(), getNextMachineInstr(), llvm::ilist_node_with_parent< NodeTy, ParentTy, Options >::getNextNode(), getNextNode(), llvm::sandboxir::Instruction::getTopmostLLVMInstruction(), hasCallsBetween(), insertRelocationStores(), llvm::SampleProfileProber::instrumentOneFunc(), llvm::ARMBlockPlacement::moveBasicBlock(), OptimizeGlobalAddressOfAllocation(), removeEmptyCleanup(), simplifyRelocatesOffABase(), sinkSpillUsesAfterCoroBegin(), llvm::splitBB(), llvm::JumpThreadingPass::threadGuard(), validateFunCallMachineDef(), and versionCallSiteWithCond().
|
inline |
Get the next node, or nullptr
for the list tail.
Definition at line 362 of file ilist_node.h.
References llvm::ilist_node_with_parent< NodeTy, ParentTy, Options >::getNextNode().
|
inline |
Definition at line 339 of file ilist_node.h.
References llvm::List.
Referenced by llvm::VPlan::execute(), llvm::ARMBlockPlacement::fixBackwardsWLS(), llvm::CtxProfAnalysis::getCallsiteInstrumentation(), llvm::MustBeExecutedContextExplorer::getMustBeExecutedPrevInstruction(), getOrCreateDebugLoc(), llvm::ilist_node_with_parent< NodeTy, ParentTy, Options >::getPrevNode(), llvm::BasicBlock::getTerminatingMustTailCall(), LowerCallResults(), llvm::ARMBlockPlacement::moveBasicBlock(), PrevCrossBBInst(), simplifySuspendPoint(), and updateKillStatus().
|
inline |
Get the previous node, or nullptr
for the list head.
Definition at line 348 of file ilist_node.h.
References llvm::ilist_node_with_parent< NodeTy, ParentTy, Options >::getPrevNode().