|
LLVM
5.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 55 of file DenseMap.h.
| using llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::const_iterator = DenseMapIterator<KeyT, ValueT, KeyInfoT, BucketT, true> |
Definition at line 67 of file DenseMap.h.
| using llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::iterator = DenseMapIterator<KeyT, ValueT, KeyInfoT, BucketT> |
Definition at line 65 of file DenseMap.h.
| using llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::key_type = KeyT |
Definition at line 61 of file DenseMap.h.
| using llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::mapped_type = ValueT |
Definition at line 62 of file DenseMap.h.
| using llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::size_type = unsigned |
Definition at line 60 of file DenseMap.h.
| using llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::value_type = BucketT |
Definition at line 63 of file DenseMap.h.
|
protecteddefault |
|
inline |
Definition at line 69 of file DenseMap.h.
Referenced by llvm::AliasSetTracker::clear(), FindMostPopularDest(), llvm::ValueEnumerator::print(), llvm::SelectionDAGISel::runOnMachineFunction(), SpeculativelyExecuteBB(), llvm::cflaa::CFLGraph::value_mappings(), and llvm::OptionRegistry::~OptionRegistry().
|
inline |
Definition at line 76 of file DenseMap.h.
|
inline |
Definition at line 98 of file DenseMap.h.
Referenced by llvm::VirtRegAuxInfo::calculateSpillWeightAndHint(), llvm::PredIteratorCache::clear(), llvm::objcarc::ProvenanceAnalysis::clear(), llvm::BlotMapVector< KeyT, ValueT >::clear(), llvm::AssumptionCache::clear(), llvm::LoopBlocksDFS::clear(), llvm::GCModuleInfo::clear(), llvm::FunctionLoweringInfo::clear(), llvm::AliasSetTracker::clear(), llvm::MachineRegisterInfo::clearVirtRegTypes(), llvm::rdf::Liveness::computeLiveIns(), llvm::MachineSSAUpdater::Initialize(), llvm::SSAUpdater::Initialize(), INITIALIZE_PASS(), llvm::SlotTracker::purgeFunction(), llvm::SlotIndexes::releaseMemory(), llvm::MCStreamer::reset(), llvm::SplitEditor::reset(), llvm::InstructionSelect::runOnMachineFunction(), llvm::ExecutionDepsFix::runOnMachineFunction(), llvm::FastISel::startNewBlock(), llvm::TailDuplicator::tailDuplicateAndUpdate(), llvm::LLVMContextImpl::~LLVMContextImpl(), and llvm::ScalarEvolution::~ScalarEvolution().
|
inlineprotected |
Definition at line 366 of file DenseMap.h.
Referenced by llvm::DenseMap< unsigned, unsigned >::copyFrom(), and llvm::SmallDenseMap< const GlobalValue *, ModRefInfo, 16 >::copyFrom().
|
inline |
Return 1 if the specified key is in the map, 0 otherwise.
Definition at line 126 of file DenseMap.h.
Referenced by llvm::DFAPacketizer::canReserveResources(), llvm::EHStreamer::computePadMap(), llvm::PPCRegisterInfo::eliminateFrameIndex(), findArgumentCopyElisionCandidates(), llvm::LoopBlocksTraversal::finishPostorder(), llvm::ScalarEvolution::getSCEVValues(), getUnwindDestToken(), getUnwindDestTokenHelper(), HandleInlinedEHPad(), llvm::SlotIndexes::hasIndex(), llvm::LoopBlocksDFS::hasPreorder(), llvm::MachineSSAUpdater::HasValueForBlock(), llvm::SSAUpdater::HasValueForBlock(), llvm::HexagonCVIResource::HexagonCVIResource(), llvm::DebugCounter::isCounterSet(), llvm::ARMBaseInstrInfo::isFpMLxInstruction(), llvm::PPCRegisterInfo::needsFrameBaseReg(), llvm::MemoryDependenceResults::removeInstruction(), llvm::scc_iterator< GraphT, GT >::ReplaceNode(), llvm::DFAPacketizer::reserveResources(), selectIncomingValueForBlock(), llvm::SCEVLoopAddRecRewriter::visitAddRecExpr(), and llvm::SCEVParameterRewriter::visitUnknown().
|
inlineprotected |
Definition at line 305 of file DenseMap.h.
|
inline |
Definition at line 84 of file DenseMap.h.
Referenced by llvm::DenseMapBase< SmallDenseMap< KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::begin(), CompactSwizzlableVector(), llvm::BlotMapVector< KeyT, ValueT >::empty(), llvm::MCRegisterInfo::getCodeViewRegNum(), llvm::TargetLoweringBase::isSlowDivBypassed(), ReorganizeVector(), llvm::SlotIndexes::runOnMachineFunction(), and llvm::lto::thinBackend().
|
inline |
Definition at line 73 of file DenseMap.h.
Referenced by llvm::BasicAAResult::alias(), llvm::AssumptionCache::assumptionsFor(), llvm::DenseMapBase< SmallDenseMap< KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::begin(), llvm::BlotMapVector< KeyT, ValueT >::blot(), llvm::AliasSetTracker::clear(), llvm::ObjectSizeOffsetEvaluator::compute(), computeCacheKey(), llvm::EHStreamer::computeCallSiteTable(), llvm::ScalarEvolution::containsAddRecurrence(), llvm::MIRPrinter::convertStackObjects(), llvm::SelectionDAGBuilder::CopyToExportRegsIfNeeded(), llvm::AliasSetTracker::copyValue(), llvm::AliasSetTracker::deleteValue(), llvm::ScalarEvolution::eraseValueFromMap(), llvm::BlotMapVector< KeyT, ValueT >::find(), llvm::DenseMapBase< SmallDenseMap< KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::find(), llvm::DenseMapBase< SmallDenseMap< KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::find_as(), llvm::LegalizerInfo::findInActions(), llvm::LegalizerInfo::findLegalizableSize(), llvm::SelectionDAGBuilder::findValue(), llvm::ScalarEvolution::forgetLoop(), llvm::ScalarEvolution::forgetValue(), llvm::ARMAsmBackendDarwin::generateCompactUnwindEncoding(), llvm::OptionRegistry::get(), llvm::LegalizerInfo::getAction(), llvm::ValueEnumerator::getAttributeGroupID(), llvm::ValueEnumerator::getAttributeListID(), llvm::MCRegisterInfo::getCodeViewRegNum(), llvm::SelectionDAGBuilder::getCopyFromRegs(), llvm::GCModuleInfo::getFunctionInfo(), llvm::SlotTracker::getGlobalSlot(), llvm::SlotIndexes::getIndexAfter(), llvm::SlotIndexes::getIndexBefore(), llvm::ValueEnumerator::getInstructionID(), llvm::SlotIndexes::getInstructionIndex(), llvm::SlotTracker::getLocalSlot(), getMappedReg(), llvm::cflaa::CFLGraph::getNode(), llvm::X86InstrInfo::getOpcodeAfterMemoryUnfold(), llvm::ARMFunctionInfo::getOriginalCPIdx(), llvm::PassRegistry::getPassInfo(), llvm::LoopBlocksDFS::getPostorder(), llvm::SCEVUnionPredicate::getPredicatesForExpr(), llvm::DWARFDataExtractor::getRelocatedValue(), llvm::ScalarEvolution::getSCEVValues(), llvm::MCRegisterInfo::getSEHRegNum(), llvm::MachineRegisterInfo::getType(), llvm::ValueEnumerator::getTypeID(), getUnwindDestToken(), getUnwindDestTokenHelper(), llvm::NVPTXAsmPrinter::getVirtualRegisterName(), llvm::LoopBlocksDFS::hasPostorder(), llvm::SlotIndexes::insertMachineInstrInMaps(), isEqual(), llvm::ARMBaseInstrInfo::isFpMLxInstruction(), llvm::FastISel::lookUpRegForValue(), llvm::FastISel::lowerArguments(), llvm::codeview::DebugChecksumsSubsection::mapChecksumOffset(), llvm::ValueEnumerator::print(), llvm::MIPrinter::print(), llvm::PredicatedScalarEvolution::print(), llvm::GCNRPTracker::printLiveRegs(), llvm::MIPrinter::printStackObjectReference(), llvm::GCNUpwardRPTracker::recede(), llvm::MemoryDependenceResults::removeInstruction(), llvm::SlotIndexes::removeMachineInstrFromMaps(), llvm::SlotIndexes::removeSingleMachineInstrFromMaps(), llvm::SlotIndexes::repairIndexesInRange(), llvm::SlotIndexes::replaceMachineInstrInMaps(), llvm::replaceSymbolicStrideSCEV(), replaceUndefValuesInPhi(), reportMismatch(), llvm::SelectionDAGISel::runOnMachineFunction(), llvm::ExecutionDepsFix::runOnMachineFunction(), llvm::FastISel::selectExtractValue(), selectIncomingValueForBlock(), llvm::TargetLibraryInfoImpl::setAvailableWithName(), llvm::thinLTOInternalizeModule(), llvm::thinLTOResolveWeakForLinkerModule(), tryToElideArgumentCopy(), llvm::X86InstrInfo::unfoldMemoryOperand(), llvm::cflaa::CFLGraph::value_mappings(), and llvm::OptionRegistry::~OptionRegistry().
|
inline |
Definition at line 80 of file DenseMap.h.
|
inline |
Definition at line 247 of file DenseMap.h.
Referenced by llvm::BlotMapVector< KeyT, ValueT >::blot(), llvm::ObjectSizeOffsetEvaluator::compute(), deleteDeadInstruction(), llvm::AliasSetTracker::deleteValue(), llvm::opt::ArgList::eraseArg(), llvm::ScalarEvolution::eraseValueFromMap(), llvm::ValueEnumerator::purgeFunction(), llvm::GCNUpwardRPTracker::recede(), llvm::ValueHandleBase::RemoveFromUseList(), llvm::MemoryDependenceResults::removeInstruction(), llvm::SlotIndexes::removeMachineInstrFromMaps(), llvm::SlotIndexes::removeSingleMachineInstrFromMaps(), llvm::SlotIndexes::replaceMachineInstrInMaps(), and llvm::scc_iterator< GraphT, GT >::ReplaceNode().
|
inline |
Definition at line 258 of file DenseMap.h.
|
inline |
Definition at line 131 of file DenseMap.h.
Referenced by llvm::BasicAAResult::alias(), llvm::BlotMapVector< KeyT, ValueT >::blot(), llvm::PMTopLevelManager::collectLastUses(), llvm::ObjectSizeOffsetEvaluator::compute(), computeCacheKey(), llvm::EHStreamer::computeCallSiteTable(), llvm::ScalarEvolution::containsAddRecurrence(), llvm::MIRPrinter::convertStackObjects(), llvm::SelectionDAGBuilder::CopyToExportRegsIfNeeded(), llvm::PPCRegisterInfo::eliminateFrameIndex(), llvm::BlotMapVector< KeyT, ValueT >::find(), llvm::LegalizerInfo::findInActions(), llvm::LegalizerInfo::findLegalizableSize(), llvm::SelectionDAGBuilder::findValue(), llvm::ARMAsmBackendDarwin::generateCompactUnwindEncoding(), llvm::OptionRegistry::get(), llvm::LegalizerInfo::getAction(), llvm::ValueEnumerator::getAttributeGroupID(), llvm::ValueEnumerator::getAttributeListID(), llvm::MCRegisterInfo::getCodeViewRegNum(), llvm::SelectionDAGBuilder::getCopyFromRegs(), llvm::GCModuleInfo::getFunctionInfo(), llvm::SlotTracker::getGlobalSlot(), llvm::SlotIndexes::getIndexAfter(), llvm::SlotIndexes::getIndexBefore(), llvm::ValueEnumerator::getInstructionID(), llvm::SlotIndexes::getInstructionIndex(), llvm::SlotTracker::getLocalSlot(), getMappedReg(), llvm::TargetLibraryInfo::getName(), llvm::cflaa::CFLGraph::getNode(), llvm::X86InstrInfo::getOpcodeAfterMemoryUnfold(), llvm::ARMFunctionInfo::getOriginalCPIdx(), llvm::PassRegistry::getPassInfo(), llvm::LoopBlocksDFS::getPostorder(), llvm::SCEVUnionPredicate::getPredicatesForExpr(), llvm::DWARFDataExtractor::getRelocatedValue(), llvm::MCRegisterInfo::getSEHRegNum(), llvm::MachineRegisterInfo::getType(), llvm::ValueEnumerator::getTypeID(), getUnwindDestToken(), getUnwindDestTokenHelper(), llvm::NVPTXAsmPrinter::getVirtualRegisterName(), llvm::LoopBlocksDFS::hasPostorder(), llvm::SlotIndexes::insertMachineInstrInMaps(), isEqual(), llvm::ARMBaseInstrInfo::isFpMLxInstruction(), llvm::FastISel::lookUpRegForValue(), llvm::FastISel::lowerArguments(), llvm::codeview::DebugChecksumsSubsection::mapChecksumOffset(), llvm::MIPrinter::print(), llvm::PredicatedScalarEvolution::print(), llvm::GCNRPTracker::printLiveRegs(), llvm::MIPrinter::printStackObjectReference(), llvm::GCNUpwardRPTracker::recede(), RemoveFromReverseMap(), llvm::MemoryDependenceResults::removeInstruction(), llvm::SlotIndexes::removeMachineInstrFromMaps(), llvm::SlotIndexes::removeSingleMachineInstrFromMaps(), llvm::SlotIndexes::repairIndexesInRange(), llvm::SlotIndexes::replaceMachineInstrInMaps(), llvm::replaceSymbolicStrideSCEV(), replaceUndefValuesInPhi(), reportMismatch(), llvm::SelectionDAGISel::runOnMachineFunction(), llvm::ExecutionDepsFix::runOnMachineFunction(), llvm::FastISel::selectExtractValue(), selectIncomingValueForBlock(), llvm::TargetLibraryInfoImpl::setAvailableWithName(), llvm::TailDuplicator::tailDuplicateAndUpdate(), llvm::thinLTOInternalizeModule(), llvm::thinLTOResolveWeakForLinkerModule(), tryToElideArgumentCopy(), and llvm::X86InstrInfo::unfoldMemoryOperand().
|
inline |
Definition at line 137 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 150 of file DenseMap.h.
Referenced by llvm::AssumptionCache::assumptionsFor(), llvm::AliasSetTracker::copyValue(), llvm::AliasSetTracker::deleteValue(), llvm::ScalarEvolution::eraseValueFromMap(), llvm::ScalarEvolution::forgetLoop(), llvm::ScalarEvolution::forgetValue(), and llvm::ScalarEvolution::getSCEVValues().
|
inline |
Definition at line 157 of file DenseMap.h.
|
inline |
Definition at line 266 of file DenseMap.h.
Referenced by llvm::SSAUpdaterImpl< UpdaterT >::BuildBlockList(), and llvm::DenseMapBase< SmallDenseMap< KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::operator[]().
|
inline |
Definition at line 278 of file DenseMap.h.
|
inlinestaticprotected |
Definition at line 397 of file DenseMap.h.
Referenced by llvm::DenseMapBase< SmallDenseMap< KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::clear(), llvm::DenseMapBase< SmallDenseMap< KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::copyFrom(), llvm::DenseMapBase< SmallDenseMap< KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::destroyAll(), llvm::DenseMapBase< SmallDenseMap< KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::initEmpty(), and llvm::DenseMapBase< SmallDenseMap< KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::moveFromOldBuckets().
|
inlinestaticprotected |
Definition at line 388 of file DenseMap.h.
|
inlinestaticprotected |
Definition at line 393 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 596 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 331 of file DenseMap.h.
Referenced by llvm::DenseMap< unsigned, unsigned >::init(), and llvm::DenseMapBase< SmallDenseMap< KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::reserve().
|
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 300 of file DenseMap.h.
|
inlinestaticprotected |
Definition at line 403 of file DenseMap.h.
Referenced by llvm::DenseMapBase< SmallDenseMap< KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::clear(), llvm::DenseMapBase< SmallDenseMap< KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::copyFrom(), llvm::DenseMapBase< SmallDenseMap< KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::destroyAll(), llvm::DenseMapBase< SmallDenseMap< KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::erase(), and llvm::DenseMapBase< SmallDenseMap< KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::moveFromOldBuckets().
|
inlineprotected |
Definition at line 318 of file DenseMap.h.
Referenced by llvm::DenseMap< unsigned, unsigned >::grow(), llvm::DenseMap< unsigned, unsigned >::init(), llvm::SmallDenseMap< const GlobalValue *, ModRefInfo, 16 >::init(), llvm::DenseMapBase< SmallDenseMap< KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::moveFromOldBuckets(), llvm::DenseMap< unsigned, unsigned >::shrink_and_clear(), and llvm::SmallDenseMap< const GlobalValue *, ModRefInfo, 16 >::shrink_and_clear().
|
inline |
Definition at line 176 of file DenseMap.h.
Referenced by llvm::opt::ArgList::append(), llvm::ARMBaseInstrInfo::ARMBaseInstrInfo(), llvm::rdf::Liveness::computeLiveIns(), llvm::ScalarEvolution::containsAddRecurrence(), llvm::MIRPrinter::convertStackObjects(), llvm::DWARFContextInMemory::DWARFContextInMemory(), findArgumentCopyElisionCandidates(), gatherIncomingValuesToPhi(), llvm::AArch64InstrInfo::genAlternativeCodeSequence(), llvm::FunctionLoweringInfo::getCatchPadExceptionPointerVReg(), getLocalId(), llvm::ScalarEvolution::getSCEV(), llvm::HexagonEvaluator::HexagonEvaluator(), llvm::MIRParserImpl::initializeConstantPool(), llvm::MIRParserImpl::initializeFrameInfo(), llvm::MIRParserImpl::initializeJumpTableInfo(), llvm::BlotMapVector< KeyT, ValueT >::insert(), llvm::DenseMapBase< SmallDenseMap< KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::insert(), llvm::SlotIndexes::insertMachineInstrInMaps(), llvm::BlotMapVector< KeyT, ValueT >::operator[](), llvm::DebugCounter::push_back(), pushDepHeight(), llvm::TargetInstrInfo::reassociateOps(), llvm::ARMFunctionInfo::recordCPEClone(), llvm::PassRegistry::registerPass(), llvm::objcarc::ProvenanceAnalysis::related(), llvm::MemoryDependenceResults::removeInstruction(), llvm::SlotIndexes::removeSingleMachineInstrFromMaps(), llvm::SlotIndexes::replaceMachineInstrInMaps(), llvm::SelectionDAGISel::runOnMachineFunction(), llvm::ExecutionDepsFix::runOnMachineFunction(), llvm::SlotIndexes::runOnMachineFunction(), selectIncomingValueForBlock(), shouldConvert(), unswitchTrivialSwitch(), and llvm::LoopBlocksTraversal::visitPreorder().
|
inline |
Definition at line 183 of file DenseMap.h.
|
inline |
insert - Range insertion of pairs.
Definition at line 242 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 226 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 293 of file DenseMap.h.
Referenced by 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 166 of file DenseMap.h.
Referenced by llvm::addClonedBlockToLoopInfo(), llvm::SSAUpdaterImpl< UpdaterT >::BuildBlockList(), llvm::ARMAsmBackendDarwin::generateCompactUnwindEncoding(), llvm::DebugCounter::getCounterInfo(), llvm::ValueEnumerator::getMetadataOrNullID(), llvm::MachObjectWriter::getSectionAddress(), llvm::MCStreamer::GetSymbolOrder(), INITIALIZE_PASS(), and llvm::SortByDFSIn::operator()().
|
inlineprotected |
Definition at line 340 of file DenseMap.h.
|
inline |
Definition at line 274 of file DenseMap.h.
|
inline |
Definition at line 286 of file DenseMap.h.
|
inline |
Grow the densemap so that it can contain at least NumEntries items before resizing again.
Definition at line 91 of file DenseMap.h.
|
inline |
Definition at line 87 of file DenseMap.h.
Referenced by llvm::MCStreamer::AssignFragment(), findArgumentCopyElisionCandidates(), isEqual(), llvm::ValueEnumerator::print(), and llvm::AliasSetTracker::print().
|
inline |
Definition at line 191 of file DenseMap.h.
Referenced by llvm::DenseMapBase< SmallDenseMap< KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::insert().
|
inline |
Definition at line 208 of file DenseMap.h.
1.8.6