LLVM 19.0.0git
Public Member Functions | List of all members
llvm::ilist_detail::node_parent_access< NodeTy, ParentTy > Class Template Reference

Mixin base class that is used to add getParent() and setParent(ParentTy*) methods to ilist_node_impl iff ilist_parent has been set in the list options. More...

#include "llvm/ADT/ilist_node.h"

Inheritance diagram for llvm::ilist_detail::node_parent_access< NodeTy, ParentTy >:
Inheritance graph
[legend]

Public Member Functions

const ParentTy * getParent () const
 
ParentTy * getParent ()
 
void setParent (ParentTy *Parent)
 

Detailed Description

template<class NodeTy, class ParentTy>
class llvm::ilist_detail::node_parent_access< NodeTy, ParentTy >

Mixin base class that is used to add getParent() and setParent(ParentTy*) methods to ilist_node_impl iff ilist_parent has been set in the list options.

Definition at line 30 of file ilist_node.h.

Member Function Documentation

◆ getParent() [1/2]

template<class NodeTy , class ParentTy >
ParentTy * llvm::ilist_detail::node_parent_access< NodeTy, ParentTy >::getParent ( )
inline

◆ getParent() [2/2]

template<class NodeTy , class ParentTy >
const ParentTy * llvm::ilist_detail::node_parent_access< NodeTy, ParentTy >::getParent ( ) const
inline

Definition at line 32 of file ilist_node.h.

Referenced by addBoundsChecking(), Prefetch::addInstruction(), addNoRecurseAttrsTopDown(), llvm::RecurrenceDescriptor::AddReductionVar(), AddReturnAttributes(), llvm::Instruction::adoptDbgRecords(), allSameBlock(), AreEquivalentPhiNodes(), areInnerLoopLatchPHIsSupported(), areOuterLoopExitPHIsSupported(), areTwoInsertFromSameBuildVector(), BlockIsSimpleEnoughToThreadThrough(), BrPHIToSelect(), buildPartialInvariantUnswitchConditionalBranch(), llvm::calculateClrEHStateNumbers(), calculateCXXStateNumbers(), calculateSEHStateNumbers(), CalculateUnswitchCostMultiplier(), canFoldTermCondOfLoop(), canHoistIVInc(), llvm::AAResults::canInstructionRangeModRef(), CanPropagatePredecessorsForPHIs(), canSplitCallSite(), canSplitPredecessors(), llvm::changeToInvokeAndSplitBasicBlock(), checkAndReplaceCondition(), checkHoistValue(), checkIfSupported(), checkPHIs(), llvm::cloneAndAdaptNoAliasScopes(), llvm::CloneAndPruneIntoFromInst(), llvm::Instruction::cloneDebugInfoFrom(), cloneInstructionInExitBlock(), llvm::Instruction::comesBefore(), llvm::computeConstantRange(), llvm::computeKnownBitsFromContext(), computeKnownFPClassFromCond(), computeKnownFPClassFromContext(), llvm::JumpThreadingPass::computeValueKnownInPredecessorsImpl(), ConnectEpilog(), llvm::ConvertDebugDeclareToDebugValue(), llvm::DbgVariableRecord::createLinkedDVRAssign(), llvm::createMemCpyLoopKnownSize(), createMemMoveLoop(), createMemSetLoop(), llvm::OpenMPIRBuilder::createParallel(), createRetPHINode(), llvm::OpenMPIRBuilder::createSections(), createTileStore(), despeculateCountZeros(), diagnoseInvalidFormatString(), llvm::DominatorTree::dominates(), llvm::PostDominatorTree::dominates(), llvm::InstCombinerImpl::dominatesAllUses(), domTreeLevelBefore(), emitDbgAssign(), llvm::Instruction::eraseFromParent(), llvm::ScalarEvolution::evaluatePredicateAt(), llvm::VPPredInstPHIRecipe::execute(), expandAbs(), expandAnyIntrinsic(), expandClampIntrinsic(), expandExpIntrinsic(), expandIntegerDot(), expandLerpIntrinsic(), expandLogIntrinsic(), expandPowIntrinsic(), expandToSwitch(), findBestNonTrivialUnswitchCandidate(), llvm::findDevirtualizableCallsForTypeTest(), findExtractedOutputToOverallOutputMapping(), findInitTrampolineFromBB(), llvm::SCEVExpander::findInsertPointAfter(), findLiveSetAtInst(), llvm::SelectionDAGBuilder::FindMergedConditions(), llvm::DominatorTree::findNearestCommonDominator(), findPotentialBlockers(), llvm::InstCombinerImpl::foldBinopWithPhiOperands(), llvm::FoldBranchToCommonDest(), FoldCondBranchOnValueKnownInPredecessorImpl(), foldDependentIVs(), foldFCmpToFPClassTest(), llvm::InstCombinerImpl::foldFreezeIntoRecurrence(), llvm::InstCombinerImpl::foldIntegerTypedPHI(), foldLoadsRecursive(), llvm::InstCombinerImpl::foldOpIntoPhi(), llvm::InstCombinerImpl::foldPHIArgLoadIntoPHI(), llvm::InstCombinerImpl::foldPHIArgOpIntoPHI(), FoldTwoEntryPHINode(), llvm::InstCombinerImpl::freelyInvertAllUsersOf(), llvm::CallBase::getCaller(), llvm::LazyValueInfo::getConstant(), llvm::LazyValueInfo::getConstantRange(), llvm::Instruction::getDbgReinsertionPosition(), getDefaultInlineAdvice(), llvm::MemoryDependenceResults::getDependency(), getDomPredecessorCondition(), llvm::IRSimilarity::IRSimilarityCandidate::getEndBB(), llvm::Instruction::getFunction(), getFunctionTypeFromAsyncSuspend(), getGCResultLocality(), getGVNForPHINode(), llvm::Instruction::getInsertionPointAfterDef(), getInsertPointForUses(), llvm::MemoryDependenceResults::getInvariantGroupPointerDependency(), getInvertibleOperands(), getIVIncrement(), getJumpThreadDuplicationCost(), llvm::Instruction::getModule(), llvm::MustBeExecutedContextExplorer::getMustBeExecutedNextInstruction(), llvm::MustBeExecutedContextExplorer::getMustBeExecutedPrevInstruction(), llvm::MemoryDependenceResults::getNonLocalCallDependency(), llvm::MemoryDependenceResults::getNonLocalPointerDependency(), llvm::DbgRecord::getParent(), llvm::DbgMarker::getParent(), llvm::LazyValueInfo::getPredicateAt(), llvm::slpvectorizer::BoUpSLP::getSpillCost(), llvm::IRSimilarity::IRSimilarityCandidate::getStartBB(), llvm::memtag::getUntagLocationIfFunctionExit(), llvm::LazyValueInfoImpl::getValueAtUse(), getVarName(), llvm::Instruction::handleMarkerRemoval(), handlePhiDef(), hasCallsBetween(), hashCallInst(), hasOnlyUniformBranches(), llvm::SCEVExpander::hoistIVInc(), hoistLockstepIdenticalDbgVariableRecords(), llvm::hoistRegion(), hoistValue(), hostParallelCallback(), llvm::InlineFunction(), inlineRetainOrClaimRVCalls(), llvm::Instruction::insertAfter(), llvm::Instruction::insertBefore(), llvm::DIBuilder::insertDbgAssign(), llvm::DIBuilder::insertDbgValueIntrinsic(), llvm::DIBuilder::insertDeclare(), llvm::Instruction::insertInto(), llvm::DIBuilder::insertLabel(), insertLifetimeMarkersSurroundingCall(), insertNewDbgInst(), llvm::GCNTTIImpl::instCombineIntrinsic(), llvm::invertCondition(), IsAcceptableTarget(), llvm::Loop::isAuxiliaryInductionVariable(), isBlockInLCSSAForm(), isColdCallSite(), llvm::isControlFlowEquivalent(), llvm::isCriticalEdge(), isEqualImpl(), isFoldableInLoop(), isGuaranteedNotToBeUndefOrPoison(), llvm::SimpleLoopSafetyInfo::isGuaranteedToExecute(), llvm::ICFLoopSafetyInfo::isGuaranteedToExecute(), isIntegerLoopHeaderPHI(), isKnownNonNullFromDominatingCondition(), llvm::ScalarEvolution::isKnownPredicateAt(), isLocalAlloca(), isNonEqualPHIs(), isNotUsedOrFoldableInLoop(), isPowerOfTwoRecurrence(), isPredicatedOnPHI(), llvm::isReachedBefore(), isSafePHIToSpeculate(), llvm::SCEVExpander::isSafeToExpandAt(), llvm::isSafeToLoadUnconditionally(), llvm::isSafeToMoveBefore(), isSafeToSinkLoad(), isSameUnderlyingObjectInLoop(), llvm::AllocaInst::isStaticAlloca(), llvm::isValidAssumeForContext(), llvm::AA::isValidAtPosition(), isValidCandidateForColdCC(), liesBetween(), llvm::SelectionDAGBuilder::LowerAsSTATEPOINT(), llvm::SelectionDAGBuilder::LowerCallTo(), llvm::makeGuardControlFlowExplicit(), llvm::Loop::makeLoopInvariant(), matchAddReduction(), llvm::SITargetLowering::mayBeEmittedAsTailCall(), MayContainThrowingOrExitingCallAfterCB(), memoryIsNotModifiedBetween(), mergeCleanupPad(), MergeCompatibleInvokesImpl(), mergeConditionalStores(), mergeConditionalStoreToAddress(), mergeNestedCondBranch(), llvm::Instruction::moveAfter(), llvm::Instruction::moveAfterPreserving(), moveBBContents(), llvm::Instruction::moveBefore(), llvm::Instruction::moveBeforePreserving(), llvm::LoopInfo::movementPreservesLCSSAForm(), llvm::InstDeleterIRStrategy::mutate(), NegateValue(), nextIRInstructionDataMatchesNextInst(), optimizeBranch(), OptimizeExtractBits(), optimizeSQRT(), performBranchToCommonDestFolding(), llvm::JumpThreadingPass::processBlock(), llvm::JumpThreadingPass::processBranchOnPHI(), llvm::JumpThreadingPass::processBranchOnXOR(), processUse(), llvm::promoteLoopAccessesToScalars(), llvm::AssumptionCache::registerAssumption(), rematerializeLiveValuesAtUses(), removeEmptyCleanup(), llvm::Instruction::removeFromParent(), llvm::InstructionPrecedenceTracking::removeInstruction(), llvm::DbgMarker::removeMarker(), removeTriviallyEmptyRange(), replaceArgumentUses(), replaceAsyncResumeFunction(), ReplaceCallWith(), replaceConditionalBranchesOnConstant(), replaceExtractElements(), returnEdge(), reuseTableCompare(), rewriteDebugUsers(), llvm::rewriteLoopExitValues(), rewriteSingleStoreAlloca(), RewriteUsesOfClonedInstructions(), llvm::LoopConstrainer::run(), llvm::InstCombinerImpl::run(), llvm::SyntheticCountsPropagation::run(), llvm::PlaceSafepointsPass::runImpl(), runImpl(), runMoveAutoInit(), safeCxtI(), SafeToMergeTerminators(), scalarizeMaskedCompressStore(), scalarizeMaskedExpandLoad(), scalarizeMaskedGather(), scalarizeMaskedLoad(), scalarizeMaskedScatter(), scalarizeMaskedStore(), scalarizeMaskedVectorHistogram(), llvm::IRSimilarity::IRInstructionData::setBranchSuccessors(), llvm::IRSimilarity::IRInstructionData::setPHIPredecessors(), llvm::setProfMetadata(), shouldFoldCondBranchesToCommonDestination(), llvm::AArch64TargetLowering::shouldSinkOperands(), shouldSplitOnPHIPredicatedArgument(), shouldSplitOnPredicatedArgument(), SimplifyCondBranchToCondBranch(), simplifyInstructionWithPHI(), simplifyOneLoop(), llvm::JumpThreadingPass::simplifyPartiallyRedundantLoad(), simplifyRelocatesOffABase(), simplifySuspendPoint(), llvm::simplifyUsersOfIV(), simplifyUsingControlFlow(), sink(), sinkAndCmp0Expression(), SinkCast(), SinkInstruction(), sinkInstruction(), sinkLifetimeStartMarkers(), llvm::InnerLoopVectorizer::sinkScalarOperands(), SinkShiftAndTruncate(), sinkSpillUsesAfterCoroBegin(), sinkThroughTriviallyReplaceablePHI(), splitBeforeCatchSwitch(), llvm::SplitBlockAndInsertSimpleForLoop(), splitCallSite(), llvm::OutlinableRegion::splitCandidate(), llvm::SplitKnownCriticalEdge(), splitPredecessorsOfLoopExit(), targetParallelCallback(), llvm::PHITransAddr::translateValue(), llvm::tryPromoteCall(), llvm::FastISel::tryToFoldLoad(), tryToMoveFreeBeforeNullTest(), llvm::JumpThreadingPass::tryToUnfoldSelect(), tryUnmergingGEPsAcrossIndirectBr(), tryWidenCondBranchToCondBranch(), turnGuardIntoBranch(), turnToExplicitForm(), unswitchNontrivialInvariants(), unswitchTrivialBranch(), updateIDTMetaData(), updateKillStatus(), llvm::CallInst::updateProfWeight(), llvm::InvokeInst::updateProfWeight(), llvm::JumpThreadingPass::updateSSA(), updateSuccessor(), llvm::UpgradeARCRuntime(), upgradeDbgIntrinsicToDbgRecord(), llvm::UpgradeIntrinsicCall(), valueEscapes(), llvm::slpvectorizer::BoUpSLP::vectorizeTree(), versionCallSiteWithCond(), llvm::InstCombinerImpl::visitAllocaInst(), llvm::InstCombinerImpl::visitBranchInst(), llvm::ObjectSizeOffsetVisitor::visitLoadInst(), llvm::InstCombinerImpl::visitPHINode(), workshareLoopTargetCallback(), and llvm::Instruction::~Instruction().

◆ setParent()

template<class NodeTy , class ParentTy >
void llvm::ilist_detail::node_parent_access< NodeTy, ParentTy >::setParent ( ParentTy *  Parent)
inline

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