|
LLVM
7.0.0
|
#include "llvm/ADT/DenseMap.h"
Inherits llvm::DebugEpochBase.
Public Types | |
| using | size_type = unsigned |
| using | key_type = KeyT |
| using | mapped_type = ValueT |
| using | value_type = BucketT |
| using | iterator = DenseMapIterator< KeyT, ValueT, KeyInfoT, BucketT > |
| using | const_iterator = DenseMapIterator< KeyT, ValueT, KeyInfoT, BucketT, true > |
Public Member Functions | |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| LLVM_NODISCARD bool | empty () const |
| unsigned | size () const |
| void | reserve (size_type NumEntries) |
Grow the densemap so that it can contain at least NumEntries items before resizing again. More... | |
| void | clear () |
| size_type | count (const_arg_type_t< KeyT > Val) const |
| Return 1 if the specified key is in the map, 0 otherwise. More... | |
| iterator | find (const_arg_type_t< KeyT > Val) |
| const_iterator | find (const_arg_type_t< KeyT > Val) const |
| template<class LookupKeyT > | |
| iterator | find_as (const LookupKeyT &Val) |
| Alternate version of find() which allows a different, and possibly less expensive, key type. More... | |
| template<class LookupKeyT > | |
| const_iterator | find_as (const LookupKeyT &Val) const |
| ValueT | lookup (const_arg_type_t< KeyT > Val) const |
| lookup - Return the entry for the specified key, or a default constructed value if no such entry exists. More... | |
| std::pair< iterator, bool > | insert (const std::pair< KeyT, ValueT > &KV) |
| std::pair< iterator, bool > | insert (std::pair< KeyT, ValueT > &&KV) |
| template<typename... Ts> | |
| std::pair< iterator, bool > | try_emplace (KeyT &&Key, Ts &&... Args) |
| template<typename... Ts> | |
| std::pair< iterator, bool > | try_emplace (const KeyT &Key, Ts &&... Args) |
| template<typename LookupKeyT > | |
| std::pair< iterator, bool > | insert_as (std::pair< KeyT, ValueT > &&KV, const LookupKeyT &Val) |
| Alternate version of insert() which allows a different, and possibly less expensive, key type. More... | |
| template<typename InputIt > | |
| void | insert (InputIt I, InputIt E) |
| insert - Range insertion of pairs. More... | |
| bool | erase (const KeyT &Val) |
| void | erase (iterator I) |
| value_type & | FindAndConstruct (const KeyT &Key) |
| ValueT & | operator[] (const KeyT &Key) |
| value_type & | FindAndConstruct (KeyT &&Key) |
| ValueT & | operator[] (KeyT &&Key) |
| bool | isPointerIntoBucketsArray (const void *Ptr) const |
| isPointerIntoBucketsArray - Return true if the specified pointer points somewhere into the DenseMap's array of buckets (i.e. More... | |
| const void * | getPointerIntoBucketsArray () const |
| getPointerIntoBucketsArray() - Return an opaque pointer into the buckets array. More... | |
| size_t | getMemorySize () const |
| Return the approximate size (in bytes) of the actual map. More... | |
Public Member Functions inherited from llvm::DebugEpochBase | |
| DebugEpochBase () | |
| void | incrementEpoch () |
| Calling incrementEpoch invalidates all handles pointing into the calling instance. More... | |
| ~DebugEpochBase () | |
| The destructor calls incrementEpoch to make use-after-free bugs more likely to crash deterministically. More... | |
Protected Member Functions | |
| DenseMapBase ()=default | |
| void | destroyAll () |
| void | initEmpty () |
| unsigned | getMinBucketToReserveForEntries (unsigned NumEntries) |
Returns the number of buckets to allocate to ensure that the DenseMap can accommodate NumEntries without need to grow(). More... | |
| void | moveFromOldBuckets (BucketT *OldBucketsBegin, BucketT *OldBucketsEnd) |
| template<typename OtherBaseT > | |
| void | copyFrom (const DenseMapBase< OtherBaseT, KeyT, ValueT, KeyInfoT, BucketT > &other) |
Static Protected Member Functions | |
| static unsigned | getHashValue (const KeyT &Val) |
| template<typename LookupKeyT > | |
| static unsigned | getHashValue (const LookupKeyT &Val) |
| static const KeyT | getEmptyKey () |
| static const KeyT | getTombstoneKey () |
Definition at line 56 of file DenseMap.h.
| using llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::const_iterator = DenseMapIterator<KeyT, ValueT, KeyInfoT, BucketT, true> |
Definition at line 68 of file DenseMap.h.
| using llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::iterator = DenseMapIterator<KeyT, ValueT, KeyInfoT, BucketT> |
Definition at line 66 of file DenseMap.h.
| using llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::key_type = KeyT |
Definition at line 62 of file DenseMap.h.
| using llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::mapped_type = ValueT |
Definition at line 63 of file DenseMap.h.
| using llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::size_type = unsigned |
Definition at line 61 of file DenseMap.h.
| using llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::value_type = BucketT |
Definition at line 64 of file DenseMap.h.
|
protecteddefault |
|
inline |
Definition at line 70 of file DenseMap.h.
Referenced by llvm::json::Object::begin(), llvm::ValueMap< const Function *, FuncInfo >::begin(), llvm::LoopVectorizationCostModel::collectInstsToScalarize(), FindMostPopularDest(), llvm::Value::isSwiftError(), llvm::ValueEnumerator::print(), llvm::SelectionDAGISel::runOnMachineFunction(), and llvm::cflaa::CFLGraph::value_mappings().
|
inline |
Definition at line 82 of file DenseMap.h.
|
inline |
Definition at line 107 of file DenseMap.h.
Referenced by llvm::opt::ArgList::ArgList(), llvm::BlockFrequencyInfoImpl< llvm::BitTracker >::calculate(), llvm::PredIteratorCache::clear(), llvm::objcarc::ProvenanceAnalysis::clear(), llvm::BlotMapVector< KeyT, ValueT >::clear(), llvm::json::Object::clear(), llvm::AssumptionCache::clear(), llvm::ValueMap< const Function *, FuncInfo >::clear(), llvm::LoopBlocksDFS::clear(), llvm::SDDbgInfo::clear(), llvm::GCModuleInfo::clear(), llvm::FunctionLoweringInfo::clear(), llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::clear(), findSinkableLocalRegDef(), hasTiedDef(), llvm::MachineSSAUpdater::Initialize(), llvm::SSAUpdater::Initialize(), INITIALIZE_PASS(), insertDeleteInstructions(), llvm::isAllocaPromotable(), llvm::SlotIndexes::releaseMemory(), llvm::MCStreamer::reset(), llvm::SplitEditor::reset(), llvm::NVPTXAsmPrinter::runOnMachineFunction(), llvm::TailDuplicator::tailDuplicateAndUpdate(), llvm::RegionInfoBase< RegionTraits< Function > >::updateRegionTree(), VisitGlobalVariableForEmission(), llvm::LLVMContextImpl::~LLVMContextImpl(), and llvm::ScalarEvolution::~ScalarEvolution().
|
inlineprotected |
Definition at line 387 of file DenseMap.h.
|
inline |
Return 1 if the specified key is in the map, 0 otherwise.
Definition at line 141 of file DenseMap.h.
Referenced by llvm::pdb::PDBFileBuilder::addNamedStream(), llvm::VPlan::addVPValue(), llvm::HexagonSubtarget::CallMutation::apply(), llvm::DFAPacketizer::canReserveResources(), computeImportForFunction(), computeImportForReferencedGlobals(), llvm::EHStreamer::computePadMap(), llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::count(), llvm::DFAPacketizer::DFAPacketizer(), llvm::PPCRegisterInfo::eliminateFrameIndex(), llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::empty(), findArgumentCopyElisionCandidates(), llvm::LoopBlocksTraversal::finishPostorder(), getUnwindDestToken(), getUnwindDestTokenHelper(), llvm::VPlan::getVPValue(), HandleInlinedEHPad(), llvm::SlotIndexes::hasIndex(), llvm::LoopBlocksDFS::hasPreorder(), llvm::MachineSSAUpdater::HasValueForBlock(), llvm::SSAUpdater::HasValueForBlock(), llvm::HexagonCVIResource::HexagonCVIResource(), llvm::FunctionLoweringInfo::isExportedInst(), llvm::ARMBaseInstrInfo::isFpMLxInstruction(), MergeAliasResults(), llvm::PPCRegisterInfo::needsFrameBaseReg(), llvm::MemoryDependenceResults::removeInstruction(), llvm::scc_iterator< GraphT, GT >::ReplaceNode(), llvm::HexagonMCChecker::reportBranchErrors(), llvm::DFAPacketizer::reserveResources(), selectIncomingValueForBlock(), llvm::BlockFrequencyInfoImpl< llvm::BitTracker >::setBlockFreq(), and tryToElideArgumentCopy().
|
inlineprotected |
Definition at line 326 of file DenseMap.h.
|
inline |
Definition at line 93 of file DenseMap.h.
Referenced by CompactSwizzlableVector(), llvm::StackProtector::copyToMachineFrameInfo(), llvm::json::Object::empty(), llvm::BlotMapVector< KeyT, ValueT >::empty(), llvm::ValueMap< const Function *, FuncInfo >::empty(), llvm::MCRegisterInfo::getCodeViewRegNum(), ReorganizeVector(), llvm::SlotIndexes::runOnMachineFunction(), llvm::LoopVectorizationCostModel::selectInterleaveCount(), llvm::FastISel::startNewBlock(), and llvm::lto::thinBackend().
|
inline |
Definition at line 79 of file DenseMap.h.
Referenced by llvm::BasicAAResult::alias(), llvm::ValueMapCallbackVH< KeyT, ValueT, Config >::allUsesReplacedWith(), llvm::AssumptionCache::assumptionsFor(), llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::at(), llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::begin(), llvm::BlotMapVector< KeyT, ValueT >::blot(), llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::cbegin(), llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::cend(), llvm::LoopVectorizationCostModel::collectInstsToScalarize(), llvm::ObjectSizeOffsetEvaluator::compute(), computeCacheKey(), llvm::EHStreamer::computeCallSiteTable(), llvm::StackProtector::copyToMachineFrameInfo(), llvm::ValueMap< const Function *, FuncInfo >::count(), llvm::json::Object::end(), llvm::ValueMap< const Function *, FuncInfo >::end(), llvm::FunctionLoweringInfo::StatepointSpillMap::end(), llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::end(), llvm::ValueMap< const Function *, FuncInfo >::erase(), llvm::opt::ArgList::eraseArg(), llvm::BlotMapVector< KeyT, ValueT >::find(), FindStartOfTree(), llvm::ARMAsmBackendDarwin::generateCompactUnwindEncoding(), llvm::ValueEnumerator::getAttributeGroupID(), llvm::ValueEnumerator::getAttributeListID(), llvm::MCRegisterInfo::getCodeViewRegNum(), llvm::SparseSolver< LatticeKey, LatticeVal, KeyInfo >::getExistingValueState(), llvm::GCModuleInfo::getFunctionInfo(), llvm::SlotIndexes::getIndexAfter(), llvm::SlotIndexes::getIndexBefore(), llvm::ValueEnumerator::getInstructionID(), llvm::SlotIndexes::getInstructionIndex(), getMappedReg(), llvm::cflaa::CFLGraph::getNode(), llvm::cflaa::CFLGraph::ValueInfo::getNumLevels(), llvm::ARMFunctionInfo::getOriginalCPIdx(), llvm::PassRegistry::getPassInfo(), llvm::LoopBlocksDFS::getPostorder(), llvm::SCEVUnionPredicate::getPredicatesForExpr(), getRegsUsedByPHIs(), getSCCNum(), llvm::SDDbgInfo::getSDDbgValues(), llvm::MCRegisterInfo::getSEHRegNum(), llvm::R600InstrInfo::getSrcs(), llvm::ValueEnumerator::getTypeID(), getUnwindDestToken(), getUnwindDestTokenHelper(), llvm::NVPTXAsmPrinter::getVirtualRegisterName(), llvm::LoopBlocksDFS::hasPostorder(), llvm::SCEVUnionPredicate::implies(), llvm::SlotIndexes::insertMachineInstrInMaps(), llvm::FunctionLoweringInfo::InvalidatePHILiveOutRegInfo(), llvm::isAllocaPromotable(), isEqual(), isOperandKill(), llvm::Value::isSwiftError(), llvm::ValueMap< const Function *, FuncInfo >::lookup(), llvm::FastISel::lookUpRegForValue(), llvm::FastISel::lowerArguments(), llvm::codeview::DebugChecksumsSubsection::mapChecksumOffset(), packCmovGroup(), llvm::ValueEnumerator::print(), llvm::FileInfo::print(), llvm::GCNRPTracker::printLiveRegs(), pushDepHeight(), llvm::GVNHoist::rank(), llvm::safestack::StackColoring::removeAllMarkers(), llvm::MemoryDependenceResults::removeInstruction(), llvm::SlotIndexes::removeMachineInstrFromMaps(), llvm::SlotIndexes::removeSingleMachineInstrFromMaps(), llvm::SlotIndexes::replaceMachineInstrInMaps(), llvm::replaceSymbolicStrideSCEV(), replaceUndefValuesInPhi(), reportMismatch(), llvm::SelectionDAGISel::runOnMachineFunction(), llvm::FastISel::selectExtractValue(), selectIncomingValueForBlock(), llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::size(), AllocaSlices::SliceBuilder::SliceBuilder(), SortNonLocalDepInfoCache(), llvm::thinLTOInternalizeModule(), llvm::thinLTOResolveWeakForLinkerModule(), tryToElideArgumentCopy(), and llvm::cflaa::CFLGraph::value_mappings().
|
inline |
Definition at line 89 of file DenseMap.h.
|
inline |
Definition at line 268 of file DenseMap.h.
Referenced by llvm::ValueMapCallbackVH< KeyT, ValueT, Config >::allUsesReplacedWith(), llvm::BlotMapVector< KeyT, ValueT >::blot(), llvm::ObjectSizeOffsetEvaluator::compute(), llvm::ValueMapCallbackVH< KeyT, ValueT, Config >::deleted(), deleteDeadInstruction(), llvm::ValueMap< const Function *, FuncInfo >::erase(), llvm::opt::ArgList::eraseArg(), llvm::MemoryDependenceResults::getNonLocalPointerDependency(), llvm::ScalarEvolution::hasOperand(), llvm::isAllocaPromotable(), llvm::ValueEnumerator::purgeFunction(), pushDepHeight(), regOverlapsSet(), llvm::ValueHandleBase::RemoveFromUseList(), llvm::MemoryDependenceResults::removeInstruction(), llvm::SlotIndexes::removeMachineInstrFromMaps(), llvm::SlotIndexes::removeSingleMachineInstrFromMaps(), llvm::SlotIndexes::replaceMachineInstrInMaps(), llvm::scc_iterator< GraphT, GT >::ReplaceNode(), and SortNonLocalDepInfoCache().
|
inline |
Definition at line 279 of file DenseMap.h.
|
inline |
Definition at line 146 of file DenseMap.h.
Referenced by llvm::BasicAAResult::alias(), llvm::ValueMapCallbackVH< KeyT, ValueT, Config >::allUsesReplacedWith(), llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::at(), llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::begin(), llvm::BlotMapVector< KeyT, ValueT >::blot(), llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::cbegin(), llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::cend(), CheckForLiveRegDef(), llvm::PMTopLevelManager::collectLastUses(), llvm::ObjectSizeOffsetEvaluator::compute(), computeCacheKey(), llvm::EHStreamer::computeCallSiteTable(), llvm::SelectionDAGBuilder::CopyToExportRegsIfNeeded(), llvm::StackProtector::copyToMachineFrameInfo(), llvm::PPCRegisterInfo::eliminateFrameIndex(), llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::end(), llvm::opt::ArgList::eraseArg(), llvm::BlotMapVector< KeyT, ValueT >::find(), llvm::FunctionLoweringInfo::StatepointSpillMap::find(), FindStartOfTree(), llvm::ARMAsmBackendDarwin::generateCompactUnwindEncoding(), llvm::ValueEnumerator::getAttributeGroupID(), llvm::ValueEnumerator::getAttributeListID(), llvm::MCRegisterInfo::getCodeViewRegNum(), llvm::SelectionDAGBuilder::getCopyFromRegs(), llvm::SparseSolver< LatticeKey, LatticeVal, KeyInfo >::getExistingValueState(), llvm::GCModuleInfo::getFunctionInfo(), llvm::SlotIndexes::getIndexAfter(), llvm::SlotIndexes::getIndexBefore(), llvm::ValueEnumerator::getInstructionID(), llvm::SlotIndexes::getInstructionIndex(), getMappedReg(), llvm::TargetLibraryInfo::getName(), llvm::cflaa::CFLGraph::getNode(), llvm::cflaa::CFLGraph::ValueInfo::getNumLevels(), llvm::ARMFunctionInfo::getOriginalCPIdx(), llvm::PassRegistry::getPassInfo(), llvm::LoopBlocksDFS::getPostorder(), llvm::SCEVUnionPredicate::getPredicatesForExpr(), getRegsUsedByPHIs(), getSCCNum(), llvm::SDDbgInfo::getSDDbgValues(), llvm::MCRegisterInfo::getSEHRegNum(), llvm::R600InstrInfo::getSrcs(), llvm::ValueEnumerator::getTypeID(), getUnderlyingArgReg(), getUnwindDestToken(), getUnwindDestTokenHelper(), llvm::NVPTXAsmPrinter::getVirtualRegisterName(), llvm::LoopBlocksDFS::hasPostorder(), hasSameExtUse(), llvm::SCEVUnionPredicate::implies(), INITIALIZE_PASS(), llvm::SlotIndexes::insertMachineInstrInMaps(), llvm::FunctionLoweringInfo::InvalidatePHILiveOutRegInfo(), llvm::isAllocaPromotable(), isEqual(), isOperandKill(), llvm::FastISel::lookUpRegForValue(), llvm::FastISel::lowerArguments(), llvm::codeview::DebugChecksumsSubsection::mapChecksumOffset(), packCmovGroup(), llvm::ValueEnumerator::print(), llvm::FileInfo::print(), llvm::GCNRPTracker::printLiveRegs(), pushDepHeight(), llvm::GVNHoist::rank(), llvm::safestack::StackColoring::removeAllMarkers(), RemoveFromReverseMap(), llvm::MemoryDependenceResults::removeInstruction(), llvm::SlotIndexes::removeMachineInstrFromMaps(), llvm::SlotIndexes::removeSingleMachineInstrFromMaps(), llvm::SlotIndexes::replaceMachineInstrInMaps(), llvm::scc_iterator< GraphT, GT >::ReplaceNode(), llvm::replaceSymbolicStrideSCEV(), replaceUndefValuesInPhi(), reportMismatch(), llvm::SelectionDAGISel::runOnMachineFunction(), llvm::FastISel::selectExtractValue(), selectIncomingValueForBlock(), llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::size(), AllocaSlices::SliceBuilder::SliceBuilder(), SortNonLocalDepInfoCache(), llvm::TailDuplicator::tailDuplicateAndUpdate(), llvm::thinLTOInternalizeModule(), llvm::thinLTOResolveWeakForLinkerModule(), tryToElideArgumentCopy(), UpdateCPSRUse(), and updateForIncomingValueLocation().
|
inline |
Definition at line 152 of file DenseMap.h.
|
inline |
Alternate version of find() which allows a different, and possibly less expensive, key type.
The DenseMapInfo is responsible for supplying methods getHashValue(LookupKeyT) and isEqual(LookupKeyT, KeyT) for each key type used.
Definition at line 165 of file DenseMap.h.
Referenced by llvm::AssumptionCache::assumptionsFor(), llvm::ValueMap< const Function *, FuncInfo >::count(), llvm::ValueMap< const Function *, FuncInfo >::erase(), llvm::json::Object::find(), llvm::ValueMap< const Function *, FuncInfo >::find(), and llvm::ValueMap< const Function *, FuncInfo >::lookup().
|
inline |
Definition at line 172 of file DenseMap.h.
|
inline |
Definition at line 287 of file DenseMap.h.
Referenced by llvm::SSAUpdaterImpl< UpdaterT >::BuildBlockList(), llvm::ValueMap< const Function *, FuncInfo >::FindAndConstruct(), llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::insert(), and llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::operator[]().
|
inline |
Definition at line 299 of file DenseMap.h.
|
inlinestaticprotected |
Definition at line 418 of file DenseMap.h.
|
inlinestaticprotected |
Definition at line 409 of file DenseMap.h.
|
inlinestaticprotected |
Definition at line 414 of file DenseMap.h.
|
inline |
Return the approximate size (in bytes) of the actual map.
This is just the raw memory used by DenseMap. If entries are pointers to objects, the size of the referenced objects are not included.
Definition at line 637 of file DenseMap.h.
|
inlineprotected |
Returns the number of buckets to allocate to ensure that the DenseMap can accommodate NumEntries without need to grow().
Definition at line 352 of file DenseMap.h.
|
inline |
getPointerIntoBucketsArray() - Return an opaque pointer into the buckets array.
In conjunction with the previous method, this can be used to determine whether an insertion caused the DenseMap to reallocate.
Definition at line 321 of file DenseMap.h.
Referenced by llvm::ValueMap< const Function *, FuncInfo >::getPointerIntoBucketsArray(), and llvm::Value::isSwiftError().
|
inlinestaticprotected |
Definition at line 424 of file DenseMap.h.
|
inlineprotected |
Definition at line 339 of file DenseMap.h.
|
inline |
Definition at line 191 of file DenseMap.h.
Referenced by llvm::opt::ArgList::append(), llvm::ARMBaseInstrInfo::ARMBaseInstrInfo(), llvm::LoopVectorizationCostModel::collectInstsToScalarize(), computeImportForFunction(), llvm::SplitEditor::dump(), findArgumentCopyElisionCandidates(), gatherIncomingValuesToPhi(), llvm::AArch64InstrInfo::genAlternativeCodeSequence(), llvm::FunctionLoweringInfo::getCatchPadExceptionPointerVReg(), llvm::MemoryDependenceResults::getInvariantGroupPointerDependency(), getLocalId(), llvm::MemoryDependenceResults::getNonLocalPointerDependency(), getOpenCLAlignment(), getRegsUsedByPHIs(), llvm::MCObjectFileInfo::getStackSizesSection(), hasTiedDef(), llvm::HexagonEvaluator::HexagonEvaluator(), INITIALIZE_PASS(), llvm::MIRParserImpl::initializeConstantPool(), llvm::MIRParserImpl::initializeFrameInfo(), llvm::MIRParserImpl::initializeJumpTableInfo(), llvm::BlotMapVector< KeyT, ValueT >::insert(), llvm::ValueMap< const Function *, FuncInfo >::insert(), llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::insert(), llvm::SlotIndexes::insertMachineInstrInMaps(), isLifetimeInst(), isLoadConditional(), MergeAliasResults(), llvm::BlotMapVector< KeyT, ValueT >::operator[](), llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::operator[](), llvm::ValueEnumerator::print(), pushDepHeight(), llvm::TargetInstrInfo::reassociateOps(), llvm::ARMFunctionInfo::recordCPEClone(), llvm::PassRegistry::registerPass(), regOverlapsSet(), llvm::objcarc::ProvenanceAnalysis::related(), llvm::MemoryDependenceResults::removeInstruction(), llvm::SlotIndexes::removeSingleMachineInstrFromMaps(), llvm::SlotIndexes::replaceMachineInstrInMaps(), llvm::SelectionDAGISel::runOnMachineFunction(), llvm::SlotIndexes::runOnMachineFunction(), selectIncomingValueForBlock(), shouldConvert(), AllocaSlices::SliceBuilder::SliceBuilder(), SortNonLocalDepInfoCache(), unswitchTrivialSwitch(), llvm::LoopBlocksTraversal::visitPreorder(), and llvm::MemorySSA::~MemorySSA().
|
inline |
Definition at line 198 of file DenseMap.h.
|
inline |
insert - Range insertion of pairs.
Definition at line 263 of file DenseMap.h.
|
inline |
Alternate version of insert() which allows a different, and possibly less expensive, key type.
The DenseMapInfo is responsible for supplying methods getHashValue(LookupKeyT) and isEqual(LookupKeyT, KeyT) for each key type used.
Definition at line 245 of file DenseMap.h.
|
inline |
isPointerIntoBucketsArray - Return true if the specified pointer points somewhere into the DenseMap's array of buckets (i.e.
either to a key or value in the DenseMap).
Definition at line 314 of file DenseMap.h.
Referenced by llvm::ValueMap< const Function *, FuncInfo >::isPointerIntoBucketsArray(), llvm::Value::isSwiftError(), and llvm::ValueHandleBase::RemoveFromUseList().
|
inline |
lookup - Return the entry for the specified key, or a default constructed value if no such entry exists.
Definition at line 181 of file DenseMap.h.
Referenced by llvm::addClonedBlockToLoopInfo(), llvm::SSAUpdaterImpl< UpdaterT >::BuildBlockList(), dropDeadSymbols(), llvm::ARMAsmBackendDarwin::generateCompactUnwindEncoding(), llvm::DebugCounter::getCounterInfo(), llvm::ValueEnumerator::getMetadataOrNullID(), getMetadataTypeOrder(), getNewSource(), llvm::MachObjectWriter::getSectionAddress(), llvm::MCStreamer::GetSymbolOrder(), getUnderlyingObjects(), INITIALIZE_PASS(), llvm::DenseMapInfo< const Expression * >::isEqual(), pushDepHeight(), and llvm::GVNHoist::rank().
|
inlineprotected |
Definition at line 361 of file DenseMap.h.
|
inline |
Definition at line 295 of file DenseMap.h.
|
inline |
Definition at line 307 of file DenseMap.h.
|
inline |
Grow the densemap so that it can contain at least NumEntries items before resizing again.
Definition at line 100 of file DenseMap.h.
Referenced by llvm::DWARFVerifier::handleDebugLine(), llvm::DomTreeBuilder::SemiNCAInfo< DomTreeT >::LegalizeUpdates(), llvm::LoopBlocksDFS::LoopBlocksDFS(), llvm::WholeProgramDevirtPass::run(), and llvm::SelectionDAG::updateDivergence().
|
inline |
Definition at line 96 of file DenseMap.h.
Referenced by llvm::MCStreamer::AssignFragment(), findArgumentCopyElisionCandidates(), getMetadataTypeOrder(), getOpenCLAlignment(), llvm::MCObjectFileInfo::getStackSizesSection(), isEqual(), llvm::Value::isSwiftError(), llvm::ValueEnumerator::print(), llvm::json::Object::size(), and llvm::ValueMap< const Function *, FuncInfo >::size().
|
inline |
Definition at line 206 of file DenseMap.h.
Referenced by llvm::DOTGraphTraits< BoUpSLP * >::getNodeAttributes(), shouldReorderOperands(), and llvm::json::Object::try_emplace().
|
inline |
Definition at line 225 of file DenseMap.h.
1.8.13