LLVM  6.0.0svn
Public Member Functions | Protected Types | Protected Member Functions | Friends | List of all members
llvm::ilist_node_impl< OptionsT > Class Template Reference

Implementation for an ilist node. More...

#include "llvm/ADT/ilist_node.h"

Inheritance diagram for llvm::ilist_node_impl< OptionsT >:
Inheritance graph
[legend]
Collaboration diagram for llvm::ilist_node_impl< OptionsT >:
Collaboration graph
[legend]

Public Member Functions

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. More...
 

Protected Types

using self_iterator = ilist_iterator< OptionsT, false, false >
 
using const_self_iterator = ilist_iterator< OptionsT, false, true >
 
using reverse_self_iterator = ilist_iterator< OptionsT, true, false >
 
using const_reverse_self_iterator = ilist_iterator< OptionsT, true, true >
 

Protected Member Functions

 ilist_node_impl ()=default
 

Friends

struct ilist_detail::NodeAccess
 
class ilist_sentinel< OptionsT >
 
class ilist_iterator< OptionsT, false, false >
 
class ilist_iterator< OptionsT, false, true >
 
class ilist_iterator< OptionsT, true, false >
 
class ilist_iterator< OptionsT, true, true >
 

Detailed Description

template<class OptionsT>
class llvm::ilist_node_impl< OptionsT >

Implementation for an ilist node.

Templated on an appropriate ilist_detail::node_options, usually computed by ilist_detail::compute_node_options.

This is a wrapper around ilist_node_base whose main purpose is to provide type safety: you can't insert nodes of ilist_node_impl into the wrong simple_ilist or iplist.

Definition at line 40 of file ilist_node.h.

Member Typedef Documentation

◆ const_reverse_self_iterator

template<class OptionsT>
using llvm::ilist_node_impl< OptionsT >::const_reverse_self_iterator = ilist_iterator<OptionsT, true, true>
protected

Definition at line 57 of file ilist_node.h.

◆ const_self_iterator

template<class OptionsT>
using llvm::ilist_node_impl< OptionsT >::const_self_iterator = ilist_iterator<OptionsT, false, true>
protected

Definition at line 55 of file ilist_node.h.

◆ reverse_self_iterator

template<class OptionsT>
using llvm::ilist_node_impl< OptionsT >::reverse_self_iterator = ilist_iterator<OptionsT, true, false>
protected

Definition at line 56 of file ilist_node.h.

◆ self_iterator

template<class OptionsT>
using llvm::ilist_node_impl< OptionsT >::self_iterator = ilist_iterator<OptionsT, false, false>
protected

Definition at line 54 of file ilist_node.h.

Constructor & Destructor Documentation

◆ ilist_node_impl()

template<class OptionsT>
llvm::ilist_node_impl< OptionsT >::ilist_node_impl ( )
protecteddefault

Member Function Documentation

◆ getIterator() [1/2]

template<class OptionsT>
self_iterator llvm::ilist_node_impl< OptionsT >::getIterator ( )
inline

Definition at line 82 of file ilist_node.h.

Referenced by addExclusiveRegPair(), AddRuntimeUnrollDisableMetaData(), llvm::HexagonPacketizerList::addToPacket(), llvm::ARMFrameLowering::adjustForSegmentedStacks(), llvm::HexagonInstrInfo::analyzeBranch(), llvm::SelectionDAG::AssignTopologicalOrder(), BBHasFallthrough(), BuildInstOrderMap(), canFallThroughTo(), canInstrSubstituteCmpInstr(), llvm::AAResults::canInstructionRangeModRef(), llvm::TailDuplicator::canTailDuplicate(), changeFCMPPredToAArch64CC(), llvm::changeToInvokeAndSplitBasicBlock(), llvm::changeToUnreachable(), cheapToScalarize(), llvm::X86InstrInfo::classifyLEAReg(), llvm::SplitAnalysis::clear(), llvm::CloneAndPruneIntoFromInst(), CloneLoop(), llvm::cloneLoopWithPreheader(), llvm::MachineFunction::CloneMachineInstrBundle(), CompareMBBNumbers(), ComputeCommonTailLength(), llvm::ARMBaseInstrInfo::convertToThreeAddress(), llvm::X86InstrInfo::convertToThreeAddress(), llvm::SplitAnalysis::countLiveBlocks(), createBBSelectReg(), llvm::createCodeGenPreparePass(), llvm::createHexagonHardwareLoops(), llvm::createObjCARCOptPass(), createPHIsForCMOVsInSinkBB(), createPrivateNonConstGlobalForString(), CreatePrologue(), deleteDeadInstruction(), llvm::SelectionDAG::DeleteNode(), llvm::DemotePHIToStack(), llvm::DemoteRegToStack(), detectCTLZIdiom(), detectPopcountIdiom(), llvm::HexagonFrameLowering::determineCalleeSaves(), doPromotion(), llvm::GVNExpression::Expression::dump(), llvm::ARMBaseInstrInfo::duplicate(), eliminateDeadStores(), EmitAddTreeOfValues(), llvm::PPCTargetLowering::EmitAtomicBinary(), llvm::AsmPrinter::emitCFIInstruction(), emitClzero(), llvm::SparcTargetLowering::emitEHSjLjSetJmp(), llvm::PPCTargetLowering::emitEHSjLjSetJmp(), llvm::AArch64TargetLowering::EmitF128CSEL(), EmitHiLo(), llvm::HexagonAsmPrinter::EmitInstruction(), llvm::MipsAsmPrinter::EmitInstruction(), llvm::AMDGPUAsmPrinter::EmitInstruction(), llvm::BPFTargetLowering::EmitInstrWithCustomInserter(), llvm::XCoreTargetLowering::EmitInstrWithCustomInserter(), llvm::MSP430TargetLowering::EmitInstrWithCustomInserter(), llvm::SITargetLowering::EmitInstrWithCustomInserter(), llvm::ARMTargetLowering::EmitInstrWithCustomInserter(), llvm::MipsTargetLowering::EmitInstrWithCustomInserter(), llvm::PPCTargetLowering::EmitInstrWithCustomInserter(), emitLoadM0FromVGPRLoop(), llvm::PPCTargetLowering::EmitPartwordAtomicBinary(), emitPostSt(), llvm::MSP430TargetLowering::EmitShiftInstr(), emitXBegin(), llvm::VLIWPacketizerList::endPacket(), llvm::Module::eraseNamedMetadata(), llvm::BitTracker::MachineEvaluator::evaluate(), llvm::SCEVExpander::expandCodeFor(), llvm::expandDivision(), llvm::Mips16InstrInfo::expandPostRAPseudo(), llvm::HexagonInstrInfo::expandPostRAPseudo(), llvm::expandRemainder(), llvm::SparcTargetLowering::expandSelectCC(), llvm::objcarc::FindDependencies(), findInitTrampolineFromBB(), findInsertLocation(), findInsertPointAfter(), findLiveSetAtInst(), llvm::CodeExtractor::findOrCreateBlockForHoisting(), findRetainForStoreStrongContraction(), findTRECandidate(), first_use_of_in_block(), fixPhis(), llvm::AMDGPULibCalls::fold(), llvm::FoldBranchToCommonDest(), llvm::FoldReturnIntoUncondBranch(), genLoopLimit(), llvm::IRTranslator::getAnalysisUsage(), llvm::MachineLoop::getBottomBlock(), getBranchDebugLoc(), getBundledUseMI(), getContiguousRangeOfSetBits(), llvm::MemoryDependenceResults::getDependency(), llvm::BasicBlock::getFirstInsertionPt(), llvm::SlotIndexes::getInstructionIndex(), llvm::ARMBaseInstrInfo::getInstSizeInBytes(), getLiveRegsAt(), getNewValueJumpOpcode(), getNextBlock(), llvm::SlotIndexes::getNextNonNullIndex(), llvm::MemoryDependenceResults::getNonLocalPointerDependency(), llvm::ARMBaseInstrInfo::getOperandLatency(), getRetComponentType(), llvm::slpvectorizer::BoUpSLP::getSpillCost(), llvm::MachineLoop::getTopBlock(), getTrueOrFalseValue(), getUnconditionalBrDisp(), llvm::GlobalVariable::GlobalVariable(), llvm::guessSuccessors(), llvm::MipsTargetLowering::HandleByVal(), handleFree(), HandleInlinedEHPad(), HandleInlinedLandingPad(), llvm::objcarc::BottomUpPtrState::HandlePotentialUse(), HoistThenElseCodeToIf(), llvm::InterferenceCache::init(), INITIALIZE_PASS(), INITIALIZE_PASS_WITH_OPTIONS(), llvm::InlineFunction(), llvm::X86FrameLowering::inlineStackProbe(), llvm::MIBundleBuilder::insert(), llvm::Instruction::insertAfter(), llvm::Instruction::insertBefore(), llvm::HexagonInstrInfo::insertBranch(), insertDAGNode(), llvm::BasicBlock::insertInto(), llvm::SlotIndexes::insertMBBInMaps(), llvm::InstCombiner::InsertNewInstBefore(), llvm::SIInstrInfo::insertSelect(), insertUseHolderAfter(), llvm::Instruction::Instruction(), isAlwaysFoldable(), isCopy(), isFunctionEntryBlock(), llvm::MachineInstr::isIdenticalTo(), isImmValidForOpcode(), isInRage(), isKnownTypeIdMember(), isLiveOut(), isObjectDereferencedInBlock(), llvm::isPotentiallyReachable(), llvm::ARMBaseInstrInfo::isPredicated(), isPromotableZeroStoreInst(), isSafeAndProfitableToSinkLoad(), llvm::isSafeToLoadUnconditionally(), isScaledConstantInRange(), isSimpleIf(), isSubregOf(), isZero(), jumpTableFollowsTB(), LLVMPositionBuilderBefore(), llvm::log2(), llvm::MachineOperandIteratorBase::MachineOperandIteratorBase(), makeImplicit(), matchPair(), mergeCleanupPad(), llvm::Instruction::moveAfter(), llvm::BasicBlock::moveAfter(), llvm::MachineBasicBlock::moveAfter(), MoveAndTeeForMultiUse(), moveBBContents(), llvm::Instruction::moveBefore(), llvm::BasicBlock::moveBefore(), llvm::MachineBasicBlock::moveBefore(), moveInstrOut(), moveUp(), llvm::InstDeleterIRStrategy::mutate(), opcodeEmitsNoInsts(), llvm::MachineRegisterInfo::defusechain_instr_iterator< ReturnUses, ReturnDefs, SkipDebug, ByOperand, ByInstr, ByBundle >::operator*(), llvm::MachineRegisterInfo::defusechain_iterator< ReturnUses, ReturnDefs, SkipDebug, ByOperand, ByInstr, ByBundle >::operator++(), llvm::MachineRegisterInfo::defusechain_instr_iterator< ReturnUses, ReturnDefs, SkipDebug, ByOperand, ByInstr, ByBundle >::operator++(), operator<<(), llvm::slpvectorizer::BoUpSLP::optimizeGatherSequence(), OptimizeGlobalAddressOfMalloc(), optimizeSQRT(), llvm::SplitEditor::overlapIntv(), llvm::peelLoop(), PerformHeapAllocSRoA(), performMaskedAtomicOp(), placeSplitBlockCarefully(), preassignSwiftErrorRegs(), llvm::HexagonInstrInfo::PredicateInstruction(), preheader(), llvm::programUndefinedIfFullPoison(), propagateMetadata(), registerDefinedBetween(), regOverlapsSet(), llvm::removeAllNonTerminatorAndEHPadInstructions(), removeEmptyCleanup(), removeExternalCFGEdges(), llvm::MemoryDependenceResults::removeInstruction(), removeIPMBasedCompare(), llvm::SlotIndexes::removeSingleMachineInstrFromMaps(), llvm::MachineFunction::RenumberBlocks(), llvm::SlotIndexes::repairIndexesInRange(), replaceAllUsesOfWithIn(), ReplaceCallWith(), llvm::replaceDbgDeclare(), llvm::BitTracker::run(), llvm::InstCombiner::run(), llvm::IRBuilderBase::SetInsertPoint(), llvm::MachineIRBuilder::setInstr(), shouldKeepFDivF32(), shouldReorderOperands(), shouldSpeculateInstrs(), SimplifyBranchOnICmpChain(), llvm::InstCombiner::SimplifyDivRemOfSelect(), SpeculativelyExecuteBB(), split(), llvm::BasicBlock::splitBasicBlock(), llvm::SplitBlock(), llvm::SplitBlockAndInsertIfThen(), llvm::SplitBlockAndInsertIfThenElse(), llvm::SplitCriticalEdge(), trySequenceOfOnes(), TryToMergeLandingPad(), TryToShrinkGlobalToBoolean(), TryToSinkInstruction(), llvm::UnrollRuntimeLoopRemainder(), llvm::UpgradeIntrinsicCall(), UseReg(), and llvm::InstCombiner::visitStoreInst().

◆ getIterator() [2/2]

template<class OptionsT>
const_self_iterator llvm::ilist_node_impl< OptionsT >::getIterator ( ) const
inline

Definition at line 83 of file ilist_node.h.

◆ getReverseIterator() [1/2]

template<class OptionsT>
reverse_self_iterator llvm::ilist_node_impl< OptionsT >::getReverseIterator ( )
inline

Definition at line 85 of file ilist_node.h.

◆ getReverseIterator() [2/2]

template<class OptionsT>
const_reverse_self_iterator llvm::ilist_node_impl< OptionsT >::getReverseIterator ( ) const
inline

Definition at line 89 of file ilist_node.h.

◆ isSentinel()

template<class OptionsT>
bool llvm::ilist_node_impl< OptionsT >::isSentinel ( ) const
inline

Check whether this is the sentinel node.

This requires sentinel tracking to be explicitly enabled. Use the ilist_sentinel_tracking<true> option to get this API.

Definition at line 100 of file ilist_node.h.

Friends And Related Function Documentation

◆ ilist_detail::NodeAccess

template<class OptionsT>
friend struct ilist_detail::NodeAccess
friend

Definition at line 46 of file ilist_node.h.

◆ ilist_iterator< OptionsT, false, false >

template<class OptionsT>
friend class ilist_iterator< OptionsT, false, false >
friend

Definition at line 48 of file ilist_node.h.

◆ ilist_iterator< OptionsT, false, true >

template<class OptionsT>
friend class ilist_iterator< OptionsT, false, true >
friend

Definition at line 49 of file ilist_node.h.

◆ ilist_iterator< OptionsT, true, false >

template<class OptionsT>
friend class ilist_iterator< OptionsT, true, false >
friend

Definition at line 50 of file ilist_node.h.

◆ ilist_iterator< OptionsT, true, true >

template<class OptionsT>
friend class ilist_iterator< OptionsT, true, true >
friend

Definition at line 51 of file ilist_node.h.

◆ ilist_sentinel< OptionsT >

template<class OptionsT>
friend class ilist_sentinel< OptionsT >
friend

Definition at line 47 of file ilist_node.h.


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