|
| | SmallPtrSetImpl (const void **SmallStorage, const SmallPtrSetImpl &that) |
| |
| | SmallPtrSetImpl (const void **SmallStorage, unsigned SmallSize, SmallPtrSetImpl &&that) |
| |
| | SmallPtrSetImpl (const void **SmallStorage, unsigned SmallSize) |
| |
| | SmallPtrSetImplBase (const void **SmallStorage, const SmallPtrSetImplBase &that) |
| |
| | SmallPtrSetImplBase (const void **SmallStorage, unsigned SmallSize, SmallPtrSetImplBase &&that) |
| |
| | SmallPtrSetImplBase (const void **SmallStorage, unsigned SmallSize) |
| |
| | ~SmallPtrSetImplBase () |
| |
| const void ** | EndPointer () const |
| |
| std::pair< const void *const *, bool > | insert_imp (const void *Ptr) |
| | insert_imp - This returns true if the pointer was new to the set, false if it was already in the set. More...
|
| |
| bool | erase_imp (const void *Ptr) |
| | erase_imp - If the set contains the specified pointer, remove it and return true, otherwise return false. More...
|
| |
| const void *const * | find_imp (const void *Ptr) const |
| | Returns the raw pointer needed to construct an iterator. More...
|
| |
| void | swap (SmallPtrSetImplBase &RHS) |
| | swap - Swaps the elements of two sets. More...
|
| |
| void | CopyFrom (const SmallPtrSetImplBase &RHS) |
| |
| void | MoveFrom (unsigned SmallSize, SmallPtrSetImplBase &&RHS) |
| |
template<typename PtrType>
class llvm::SmallPtrSetImpl< PtrType >
A templated base class for SmallPtrSet which provides the typesafe interface that is common across all small sizes.
This is particularly useful for passing around between interface boundaries to avoid encoding a particular small size in the interface boundary.
Definition at line 343 of file SmallPtrSet.h.
template<typename PtrType>
Inserts Ptr if and only if there is no element in the container equal to Ptr.
The bool component of the returned pair is true if and only if the insertion takes place, and the iterator component of the pair points to the element equal to Ptr.
Definition at line 370 of file SmallPtrSet.h.
Referenced by AddAliasScopeMetadata(), llvm::WebAssemblyException::addBlock(), llvm::LoopBase< BasicBlock, Loop >::addBlockEntry(), addEdge(), llvm::VPlan::addExternalDef(), AddReachableCodeToWorklist(), llvm::cl::Option::addSubCommand(), llvm::IVUsers::AddUsersImpl(), llvm::ARMFrameLowering::adjustForSegmentedStacks(), llvm::GCNSubtarget::adjustSchedDependency(), llvm::PreservedAnalyses::all(), llvm::LoopSafetyInfo::allLoopPathsLeadToBlock(), allPhiOperandsUndefined(), AllUsesOfValueWillTrapIfNull(), analyzeGlobalAux(), appendSpeculatableOperands(), appendToUsedList(), llvm::MemorySSAUpdater::applyInsertUpdates(), llvm::SwingSchedulerDAG::applyInstrChange(), llvm::MemoryDepChecker::areDepsSafe(), AreSequentialAccesses(), llvm::LoopVectorizationLegality::blockNeedsPredication(), buildClonedLoopBlocks(), buildClonedLoops(), llvm::SwitchCG::SwitchLowering::buildJumpTable(), llvm::buildModuleSummaryIndex(), buildMultiplyTree(), llvm::IDFCalculatorBase< BasicBlock, IsPostDom >::calculate(), llvm::ForwardDominanceFrontierBase< BasicBlock >::calculate(), llvm::LoopVectorizationCostModel::calculateRegisterUsage(), canonicalizePHIOperands(), canPaddingBeAccessed(), canRenameUpToDef(), canTrapImpl(), canTRE(), castRequiresQueuePtr(), llvm::Attributor::checkForAllUses(), checkForCyclesHelper(), Cleanup(), llvm::InnerLoopVectorizer::clearReductionWrapFlags(), llvm::CloneFunctionInto(), llvm::CloneModule(), collectCastsToIgnore(), llvm::CodeMetrics::collectEphemeralValues(), collectHomogenousInstGraphLoopInvariants(), collectInstructionsInBetween(), collectMDInDomain(), collectRegDefs(), collectTransitivePredecessors(), llvm::LoopVectorizationPlanner::collectTriviallyDeadInstructions(), llvm::collectUsedGlobalVariables(), CombineBaseUpdate(), llvm::DomTreeNodeBase< VPBlockBase >::compare(), llvm::FunctionComparator::compare(), completeEphemeralValues(), llvm::ObjectSizeOffsetEvaluator::compute(), computeFunctionSummary(), llvm::DivergencePropagator::computeJoinPoints(), ComputeLiveInBlocks(), llvm::computeMinimumValueSizes(), llvm::slpvectorizer::BoUpSLP::computeMinimumValueSizes(), computePath(), ComputePostOrders(), llvm::ComputeSpeculationCost(), computeUnlikelySuccessors(), ConstHasGlobalValuePredicate(), contains(), llvm::containsIrreducibleCFG(), containsNewBackedge(), llvm::ScalarEvolution::convertSCEVToAddRecWithPredicates(), ConvertToSInt(), llvm::MachineBasicBlock::CorrectExtraCFGEdges(), llvm::createAMDGPUFunctionInliningPass(), llvm::createCodeGenPreparePass(), llvm::createConstantPropagationPass(), llvm::AbstractDependenceGraphBuilder< DataDependenceGraph >::createDefUseEdges(), llvm::createMemDerefPrinter(), createSegmentsForValues(), DeadPHICycle(), definesFullReg(), llvm::deleteDeadLoop(), despeculateCountZeros(), llvm::DetatchDeadBlocks(), determinePointerReadAttrs(), llvm::AsmPrinter::doFinalization(), DominatesMergePoint(), llvm::GVNExpression::Expression::dump(), llvm::SMSchedule::earliestCycleInChain(), llvm::AsmPrinter::EmitJumpTableInfo(), llvm::LazyValueInfo::enableDT(), llvm::Evaluator::EvaluateFunction(), llvm::CodeExtractor::extractCodeRegion(), llvm::FastISel::fastEmitZExtFromI1(), llvm::DIBuilder::finalize(), FindAllMemoryUses(), findBBsToSinkInto(), llvm::objcarc::FindDependencies(), llvm::MustBeExecutedContextExplorer::findForwardJoinPoint(), llvm::FindFunctionBackedges(), llvm::HexagonInstrInfo::findLoopInstr(), findNonImmUse(), findPartitions(), llvm::findPHICopyInsertPoint(), findProfitablePHIs(), findRefEdges(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::FindRoots(), FindUsedValues(), findUsedValues(), findUses(), fixupRegionExits(), forEachUser(), llvm::ScalarEvolution::forgetLoop(), llvm::ScalarEvolution::forgetValue(), llvm::formDedicatedExitBlocks(), llvm::FunctionComparator::functionHash(), llvm::StackSafetyInfo::FunctionInfo::FunctionInfo(), generateEquivalentSub(), genericValueTraversal(), getAdjustedPtr(), llvm::Localizer::getAnalysisUsage(), llvm::IRPosition::getAttrs(), getBufferFormatWithCompCount(), getChainID(), getCombineLoadStoreParts(), getDepthOfOptCmov(), llvm::BasicTTIImplBase< AMDGPUTTIImpl >::getEstimatedNumberOfCaseClusters(), getFirstNonAllocaInTheEntryBlock(), getInnermostLoopFor(), getInputChainForNode(), getLAScore(), getLayoutSuccessorProbThreshold(), llvm::LexicalScopes::getMachineBasicBlocks(), getMatchingEHPad(), getMemSetPatternValue(), llvm::DILocation::getMergedLocation(), llvm::GlobalsAAResult::getModRefBehavior(), getNewSource(), llvm::MemoryDependenceResults::getNonLocalCallDependency(), llvm::BasicTTIImplBase< AMDGPUTTIImpl >::getOperandsScalarizationOverhead(), getOutliningPenalty(), GetPointerOperand(), getRangeForAffineARHelper(), getRegClassForUnfoldedLoad(), getRegUnits(), llvm::SCEVExpander::getRelatedExistingExpansion(), getRetpolineSymbol(), getSetupCost(), getSignature(), llvm::slpvectorizer::BoUpSLP::getSpillCost(), getStartOrEndSlot(), GetStringLengthH(), getSubprogram(), getSuccPad(), llvm::slpvectorizer::BoUpSLP::getTreeCost(), getTypePartition(), llvm::GetUnderlyingObjects(), llvm::getUnderlyingObjectsForCodeGen(), getUnwindDestToken(), llvm::slpvectorizer::BoUpSLP::getVectorElementSize(), llvm::ScalarEvolution::getWrapPredicate(), greaterWithBias(), llvm::guessSuccessors(), HandleInlinedLandingPad(), HandleMergeInputChains(), hasCallsInBlocksBetween(), hasCFUser(), hasConcreteDef(), hasConcreteDefImpl(), llvm::ScalarEvolution::hasOperand(), llvm::SDNode::hasPredecessorHelper(), hasSameExtUse(), INITIALIZE_PASS(), llvm::PMTopLevelManager::initializeAllAnalysisInfo(), llvm::MemorySSAUpdater::insertDef(), llvm::LazyCallGraph::RefSCC::insertIncomingRefEdge(), InsertRootInitializers(), instrumentMaskedLoadOrStore(), llvm::PhiValues::invalidate(), llvm::InterleavedAccessInfo::invalidateGroupsRequiringScalarEpilogue(), inversePermutation(), llvm::LazyCallGraph::SCC::isAncestorOf(), llvm::LazyCallGraph::RefSCC::isAncestorOf(), llvm::Loop::isAnnotatedParallel(), isBlockValidForExtraction(), isCallerPreservedOrConstPhysReg(), llvm::CoalescerPair::isCoalescable(), isDefInSubRange(), isDereferenceableAndAlignedPointer(), isEFLAGSLive(), isEmptyFunction(), isEphemeralValueOf(), isHighCostExpansion(), IsIncrementNUW(), isKnownNonNullFromDominatingCondition(), llvm::LiveVariables::isLiveOut(), isLoadConditional(), isLocalAlloca(), isNonEscapingGlobalNoAliasWithLoad(), IsNonLocalValue(), isObjectSizeLessThanOrEq(), llvm::isPotentiallyReachableFromMany(), isProfitableChain(), isPromotedResultSafe(), IsSafeAndProfitableToMove(), isSafeAndProfitableToSpeculateAroundPHI(), isSafeToMove(), llvm::isSafeToMoveBefore(), isSafeToSpeculatePHIUsers(), IsScalarTBAANodeImpl(), isSimpleEnoughValueToCommit(), isSimplifiedLoopNest(), llvm::StructType::isSized(), IsStoredObjCPointer(), isSuccOrder(), isSupportedGuardInstruction(), isSuspendReachableFrom(), isUnconditionalBranch(), llvm::LoopVectorizationLegality::isUniform(), isUniformlyReached(), isVectorReductionOp(), isVirtualRegisterOperand(), isZero(), iterativelySimplifyCFG(), llvm::SMSchedule::latestCycleInChain(), llvm::LazyCallGraph::LazyCallGraph(), llvm::SelectionDAG::Legalize(), llvm::SelectionDAG::LegalizeOp(), LinearizeExprTree(), LoadUsesSimpleEnoughForHeapSRA(), lookThroughAnd(), llvm::LoopBase< BasicBlock, Loop >::LoopBase(), LowerInterruptReturn(), mapBinOpcode(), markAliveBlocks(), MarkBlocksLiveIn(), llvm::ARMFunctionInfo::markGlobalAsPromotedToConstantPool(), llvm::LiveRangeEdit::markRematerialized(), matchPair(), mayLoopAccessLocation(), mayUsePostIncMode(), llvm::LoopVectorizationCostModel::memoryInstructionCanBeWidened(), memoryIsNotModifiedBetween(), MergeAliasResults(), mergeConditionalStores(), mergeInlinedArrayAllocas(), mergeOperations(), llvm::SelectionDAG::MorphNodeTo(), normalizePredicate(), okayForPHIOfOps(), NewGVN::ValueDFS::operator<(), optimizeGlobalsInModule(), llvm::LanaiInstrInfo::optimizeSelect(), llvm::ARMBaseInstrInfo::optimizeSelect(), llvm::MemorySSA::OptimizeUses::optimizeUses(), partitionOuterLoopBlocks(), patchAndReplaceAllUsesWith(), PeepholePPC64ZExtGather(), performNEONPostLDSTCombine(), performPostLD1Combine(), PHIsEqualValue(), llvm::LoopVectorizationLegality::prepareToFoldTailByMasking(), llvm::AlignmentFromAssumptionsPass::processAssumption(), promoteArguments(), promoteSingleBlockAlloca(), PushDefUseChildren(), pushIVUsers(), PushLoopPHIs(), rebuildLoopAfterUnswitch(), recomputeLoopBlockSet(), recordConditions(), llvm::RecursivelyDeleteDeadPHINode(), regOverlapsSet(), llvm::LiveRange::RenumberValues(), llvm::ARMTargetLowering::ReplaceNodeResults(), llvm::InterleavedAccessInfo::requiresScalarEpilogue(), llvm::SSAUpdaterBulk::RewriteAllUses(), rewriteDebugUsers(), llvm::LoopFullUnrollPass::run(), llvm::Attributor::run(), runImpl(), llvm::JumpThreadingPass::runImpl(), scalarizeBinOpOfSplats(), setBranchWeights(), llvm::LoopVectorizationCostModel::setCostBasedWideningDecision(), llvm::MCAssembler::setIsThumbFunc(), setUsedInitializer(), shouldInstrumentReadWriteFromAddress(), ShrinkLoadReplaceStoreWithStore(), simplifyDivRem(), simplifyLoopInst(), simplifyOneLoop(), llvm::JumpThreadingPass::SimplifyPartiallyRedundantLoad(), sink(), sinkInstruction(), llvm::sinkRegion(), AllocaSlices::SliceBuilder::SliceBuilder(), llvm::InstCombiner::SliceUpIllegalIntegerPHI(), sortOpts(), speculatePHIs(), llvm::Value::stripAndAccumulateConstantOffsets(), stripTruncAndExt(), truncateIVUse(), llvm::InnerLoopVectorizer::truncateToMinimalBitwidths(), llvm::VPRecipeBuilder::tryToCreateRecipe(), tryToElideArgumentCopy(), TryToMergeLandingPad(), tryToVectorizeHorReductionOrInstOperands(), turnGuardIntoBranch(), llvm::UnrollAndJamLoop(), unswitchAllTrivialConditions(), unswitchTrivialSwitch(), llvm::LiveIntervals::HMEditor::updateAllRanges(), updateCallerBFI(), updateForIncomingValueLocation(), UpdatePDTWorklist(), updatePredecessorProfileMetadata(), llvm::PeelingModuloScheduleExpander::validateAgainstModuloScheduleExpander(), ValueIsOnlyUsedLocallyOrStoredToOneGlobal(), llvm::AssumptionCacheTracker::verifyAnalysis(), llvm::LoopBase< BasicBlock, Loop >::verifyLoop(), llvm::sroa::AllocaSliceRewriter::visit(), visitDomSubTree(), llvm::InstCombiner::visitLandingPadInst(), llvm::InstCombiner::visitPHINode(), llvm::LazyCallGraph::visitReferences(), llvm::DivergencePropagator::visitSuccessor(), llvm::TBAAVerifier::visitTBAAMetadata(), llvm::VirtRegAuxInfo::weightCalcHelper(), llvm::LLVMContext::~LLVMContext(), llvm::PredicateInfo::~PredicateInfo(), and llvm::VPInterleavedAccessInfo::~VPInterleavedAccessInfo().