LLVM API Documentation

Public Types | Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions
llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT > Class Template Reference

#include <DenseMap.h>

List of all members.

Public Types

typedef KeyT key_type
typedef ValueT mapped_type
typedef BucketT value_type
typedef DenseMapIterator< KeyT,
ValueT, KeyInfoT > 
iterator
typedef DenseMapIterator< KeyT,
ValueT, KeyInfoT, true
const_iterator

Public Member Functions

iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const
bool LLVM_ATTRIBUTE_UNUSED_RESULT empty () const
unsigned size () const
void resize (size_t Size)
 Grow the densemap so that it has at least Size buckets. Does not shrink.
void clear ()
bool count (const KeyT &Val) const
 count - Return true if the specified key is in the map.
iterator find (const KeyT &Val)
const_iterator find (const KeyT &Val) const
template<class LookupKeyT >
iterator find_as (const LookupKeyT &Val)
template<class LookupKeyT >
const_iterator find_as (const LookupKeyT &Val) const
ValueT lookup (const KeyT &Val) const
std::pair< iterator, boolinsert (const std::pair< KeyT, ValueT > &KV)
std::pair< iterator, boolinsert (std::pair< KeyT, ValueT > &&KV)
template<typename InputIt >
void insert (InputIt I, InputIt E)
 insert - Range insertion of pairs.
bool erase (const KeyT &Val)
void erase (iterator I)
value_typeFindAndConstruct (const KeyT &Key)
ValueT & operator[] (const KeyT &Key)
value_typeFindAndConstruct (KeyT &&Key)
ValueT & operator[] (KeyT &&Key)
bool isPointerIntoBucketsArray (const void *Ptr) const
const void * getPointerIntoBucketsArray () const
size_t getMemorySize () const

Protected Types

typedef std::pair< KeyT, ValueT > BucketT

Protected Member Functions

 DenseMapBase ()
void destroyAll ()
void initEmpty ()
void moveFromOldBuckets (BucketT *OldBucketsBegin, BucketT *OldBucketsEnd)
template<typename OtherBaseT >
void copyFrom (const DenseMapBase< OtherBaseT, KeyT, ValueT, KeyInfoT > &other)
void swap (DenseMapBase &RHS)

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 ()

Detailed Description

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
class llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >

Definition at line 41 of file DenseMap.h.


Member Typedef Documentation

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
typedef std::pair<KeyT, ValueT> llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::BucketT [protected]

Definition at line 43 of file DenseMap.h.

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
typedef DenseMapIterator<KeyT, ValueT, KeyInfoT, true> llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::const_iterator

Definition at line 52 of file DenseMap.h.

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
typedef DenseMapIterator<KeyT, ValueT, KeyInfoT> llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::iterator

Definition at line 50 of file DenseMap.h.

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
typedef KeyT llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::key_type

Definition at line 46 of file DenseMap.h.

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
typedef ValueT llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::mapped_type

Definition at line 47 of file DenseMap.h.

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
typedef BucketT llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::value_type

Definition at line 48 of file DenseMap.h.


Constructor & Destructor Documentation

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::DenseMapBase ( ) [inline, protected]

Definition at line 244 of file DenseMap.h.


Member Function Documentation

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
iterator llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::begin ( ) [inline]
template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
const_iterator llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::begin ( ) const [inline]

Definition at line 60 of file DenseMap.h.

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
void llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::clear ( ) [inline]

Definition at line 78 of file DenseMap.h.

Referenced by llvm::ScheduleDAGInstrs::buildSchedGraph(), llvm::VirtRegAuxInfo::calculateSpillWeightAndHint(), llvm::DenseSet< MCSymbol const * >::clear(), llvm::PredIteratorCache::clear(), llvm::objcarc::ProvenanceAnalysis::clear(), llvm::LoopBlocksDFS::clear(), llvm::ValueMap< const BasicBlock *, void * >::clear(), llvm::SDDbgInfo::clear(), llvm::FunctionLoweringInfo::clear(), llvm::GCModuleInfo::clear(), llvm::AliasSetTracker::clear(), llvm::SelectionDAGBuilder::clear(), llvm::FunctionAnalysisManager::clear(), llvm::SelectionDAGBuilder::clearDanglingDebugInfo(), llvm::DIEHash::computeCUSignature(), llvm::DIEHash::computeTypeSignature(), llvm::MachineModuleInfo::EndFunction(), llvm::DwarfDebug::endFunction(), llvm::DwarfDebug::endModule(), llvm::ScalarEvolution::forgetLoopDispositions(), llvm::BitcodeReader::FreeState(), llvm::SelectionDAGBuilder::init(), llvm::MachineSSAUpdater::Initialize(), llvm::SSAUpdater::Initialize(), INITIALIZE_PASS(), llvm::PMDataManager::initializeAnalysisInfo(), llvm::MemoryDependenceAnalysis::releaseMemory(), llvm::SlotIndexes::releaseMemory(), llvm::LoopInfoBase< BasicBlock, Loop >::releaseMemory(), llvm::ScalarEvolution::releaseMemory(), llvm::LexicalScopes::reset(), llvm::MachObjectWriter::reset(), llvm::MCContext::reset(), llvm::DominatorTreeBase< MachineBasicBlock >::reset(), llvm::SplitEditor::reset(), llvm::MCAssembler::reset(), llvm::LiveVariables::runOnMachineFunction(), and llvm::FastISel::startNewBlock().

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
template<typename OtherBaseT >
void llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::copyFrom ( const DenseMapBase< OtherBaseT, KeyT, ValueT, KeyInfoT > &  other) [inline, protected]
template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
bool llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::count ( const KeyT Val) const [inline]
template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
void llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::destroyAll ( ) [inline, protected]

Definition at line 246 of file DenseMap.h.

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
bool LLVM_ATTRIBUTE_UNUSED_RESULT llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::empty ( ) const [inline]
template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
iterator llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::end ( ) [inline]

Definition at line 57 of file DenseMap.h.

Referenced by llvm::ValueMapCallbackVH< KeyT, ValueT, Config >::allUsesReplacedWith(), llvm::DenseMapBase< DenseMap< MCSymbol *, StubValueTy, DenseMapInfo< MCSymbol * > >, MCSymbol *, StubValueTy, DenseMapInfo< MCSymbol * > >::begin(), llvm::ScopedHashTable< K, V, KInfo, AllocatorTy >::begin(), llvm::DwarfDebug::beginFunction(), llvm::DwarfDebug::beginInstruction(), llvm::bypassSlowDivision(), llvm::AliasSetTracker::clear(), llvm::DominatorTreeBase< MachineBasicBlock >::compare(), llvm::ObjectSizeOffsetEvaluator::compute(), llvm::DwarfException::ComputeCallSiteTable(), llvm::DwarfUnit::constructContainingTypeDIEs(), llvm::SelectionDAGBuilder::CopyToExportRegsIfNeeded(), llvm::AliasSetTracker::copyValue(), llvm::ValueMap< const BasicBlock *, void * >::count(), llvm::AliasSetTracker::deleteValue(), llvm::ValueMap< const BasicBlock *, void * >::end(), llvm::DenseSet< MCSymbol const * >::end(), llvm::DwarfDebug::endInstruction(), llvm::ValueMap< const BasicBlock *, void * >::erase(), llvm::DWARFFormValue::extractValue(), llvm::DenseMapBase< DenseMap< MCSymbol *, StubValueTy, DenseMapInfo< MCSymbol * > >, MCSymbol *, StubValueTy, DenseMapInfo< MCSymbol * > >::find(), llvm::DenseMapBase< DenseMap< MCSymbol *, StubValueTy, DenseMapInfo< MCSymbol * > >, MCSymbol *, StubValueTy, DenseMapInfo< MCSymbol * > >::find_as(), llvm::PMDataManager::findAnalysisPass(), llvm::MCObjectSymbolizer::findRelocationAt(), llvm::ScalarEvolution::forgetLoop(), llvm::ScalarEvolution::forgetValue(), llvm::ConstantAggrUniqueMap< ArrayType, ConstantArray >::freeConstants(), llvm::PMDataManager::freePass(), llvm::FunctionType::get(), llvm::StructType::get(), llvm::PBQPRAProblem::getAllowedSet(), llvm::FunctionLoweringInfo::getArgumentFrameIndex(), llvm::ValueEnumerator::getAttributeGroupID(), llvm::ValueEnumerator::getAttributeID(), llvm::BlockFrequencyInfoImpl< BT >::getBlockFreq(), llvm::GCModuleInfo::getFunctionInfo(), llvm::SlotIndexes::getIndexAfter(), llvm::SlotIndexes::getIndexBefore(), llvm::ARMJITInfo::getIndirectSymAddr(), llvm::ValueEnumerator::getInstructionID(), llvm::SlotIndexes::getInstructionIndex(), llvm::SparseSolver::getLatticeState(), getMappedReg(), llvm::PBQPRAProblem::getNodeForVReg(), llvm::ConstantAggrUniqueMap< ArrayType, ConstantArray >::getOrCreate(), llvm::ARMFunctionInfo::getOriginalCPIdx(), llvm::SparseSolver::getOrInitValueState(), llvm::TargetPassConfig::getPassSubstitution(), llvm::ARMJITInfo::getPCLabelAddr(), llvm::LoopBlocksDFS::getPostorder(), llvm::Function::getPrefixData(), llvm::RegionInfo::getRegionFor(), llvm::ScalarEvolution::getSCEV(), llvm::SDDbgInfo::getSDDbgValues(), llvm::MCRegisterInfo::getSEHRegNum(), llvm::ScalarEvolution::getSignedRange(), llvm::ScheduleDAGInstrs::getSUnit(), llvm::ValueEnumerator::getTypeID(), llvm::ScalarEvolution::getUnsignedRange(), llvm::SelectionDAGBuilder::getValue(), llvm::ValueEnumerator::getValueID(), llvm::SelectionDAGBuilder::getValueImpl(), llvm::LoopBlocksDFS::hasPostorder(), llvm::PMTopLevelManager::initializeAllAnalysisInfo(), llvm::SlotIndexes::insertMachineInstrInMaps(), llvm::ARMBaseInstrInfo::isFpMLxInstruction(), llvm::ValueMap< const BasicBlock *, void * >::lookup(), llvm::ScopedHashTable< K, V, KInfo, AllocatorTy >::lookup(), llvm::FastISel::lookUpRegForValue(), llvm::FastISel::LowerArguments(), llvm::ConstantAggrUniqueMap< ArrayType, ConstantArray >::map_end(), llvm::BitcodeReader::Materialize(), llvm::DWARFDebugLoc::parse(), llvm::DWARFDebugLine::parseStatementTable(), llvm::ValueEnumerator::print(), llvm::AssemblyWriter::printTypeIdentities(), llvm::PBQPRAProblem::recordVReg(), llvm::ScalarEvolution::releaseMemory(), llvm::ConstantAggrUniqueMap< ArrayType, ConstantArray >::remove(), llvm::LoopInfoBase< BasicBlock, Loop >::removeBlock(), llvm::MemoryDependenceAnalysis::removeInstruction(), llvm::SlotIndexes::removeMachineInstrFromMaps(), llvm::PMDataManager::removeNotPreservedAnalysis(), llvm::SlotIndexes::repairIndexesInRange(), llvm::SlotIndexes::replaceMachineInstrInMaps(), replaceSymbolicStrideSCEV(), replaceUndefValuesInPhi(), llvm::DominatorTreeBase< MachineBasicBlock >::reset(), llvm::DIRef< T >::resolve(), reuseOrInsertFastDiv(), llvm::SelectionDAGISel::runOnMachineFunction(), selectIncomingValueForBlock(), llvm::FunctionLoweringInfo::set(), llvm::TargetLibraryInfo::setAvailableWithName(), llvm::LoopInfo::verifyAnalysis(), llvm::ScalarEvolution::verifyAnalysis(), and llvm::PMTopLevelManager::~PMTopLevelManager().

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
const_iterator llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::end ( ) const [inline]

Definition at line 63 of file DenseMap.h.

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
bool llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::erase ( const KeyT Val) [inline]

Definition at line 188 of file DenseMap.h.

Referenced by llvm::ValueMapCallbackVH< KeyT, ValueT, Config >::allUsesReplacedWith(), llvm::DebugRecVH::allUsesReplacedWith(), llvm::LoopInfoBase< BasicBlock, Loop >::changeLoopFor(), llvm::ObjectSizeOffsetEvaluator::compute(), llvm::ValueMapCallbackVH< KeyT, ValueT, Config >::deleted(), llvm::DebugRecVH::deleted(), llvm::AliasSetTracker::deleteValue(), llvm::ConstantAggregateZero::destroyConstant(), llvm::ConstantPointerNull::destroyConstant(), llvm::BlockAddress::destroyConstant(), llvm::UndefValue::destroyConstant(), llvm::WinCodeViewLineTables::endFunction(), llvm::DenseSet< MCSymbol const * >::erase(), llvm::ValueMap< const BasicBlock *, void * >::erase(), llvm::DominatorTreeBase< MachineBasicBlock >::eraseNode(), llvm::ScalarEvolution::forgetLoop(), llvm::ScalarEvolution::forgetValue(), llvm::PMDataManager::freePass(), llvm::ScalarEvolution::getSCEV(), llvm::ValueEnumerator::purgeFunction(), llvm::AliasSetTracker::remove(), llvm::ConstantAggrUniqueMap< ArrayType, ConstantArray >::remove(), llvm::LoopInfoBase< BasicBlock, Loop >::removeBlock(), llvm::MemoryDependenceAnalysis::removeInstruction(), llvm::SlotIndexes::removeMachineInstrFromMaps(), llvm::DominatorTreeBase< MachineBasicBlock >::removeNode(), llvm::PMDataManager::removeNotPreservedAnalysis(), llvm::SlotIndexes::replaceMachineInstrInMaps(), llvm::scc_iterator< GraphT, GT >::ReplaceNode(), llvm::BlockAddress::replaceUsesOfWithOnConstant(), llvm::Instruction::setMetadata(), llvm::Value::setName(), llvm::Function::setPrefixData(), and llvm::Function::~Function().

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
void llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::erase ( iterator  I) [inline]

Definition at line 199 of file DenseMap.h.

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
iterator llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::find ( const KeyT Val) [inline]

Definition at line 108 of file DenseMap.h.

Referenced by llvm::ValueMapCallbackVH< KeyT, ValueT, Config >::allUsesReplacedWith(), llvm::ScopedHashTable< K, V, KInfo, AllocatorTy >::begin(), llvm::DwarfDebug::beginFunction(), llvm::DwarfDebug::beginInstruction(), llvm::bypassSlowDivision(), llvm::DominatorTreeBase< MachineBasicBlock >::compare(), llvm::ObjectSizeOffsetEvaluator::compute(), llvm::DwarfException::ComputeCallSiteTable(), llvm::SelectionDAGBuilder::CopyToExportRegsIfNeeded(), llvm::PPCRegisterInfo::eliminateFrameIndex(), llvm::DwarfDebug::endInstruction(), llvm::DWARFFormValue::extractValue(), llvm::DenseSet< MCSymbol const * >::find(), llvm::PMDataManager::findAnalysisPass(), llvm::PMTopLevelManager::findAnalysisUsage(), llvm::MCObjectSymbolizer::findRelocationAt(), llvm::ScalarEvolution::forgetLoop(), llvm::PMDataManager::freePass(), llvm::PBQPRAProblem::getAllowedSet(), llvm::FunctionLoweringInfo::getArgumentFrameIndex(), llvm::ValueEnumerator::getAttributeGroupID(), llvm::ValueEnumerator::getAttributeID(), llvm::BlockFrequencyInfoImpl< BT >::getBlockFreq(), llvm::GCModuleInfo::getFunctionInfo(), llvm::SlotIndexes::getIndexAfter(), llvm::SlotIndexes::getIndexBefore(), llvm::ARMJITInfo::getIndirectSymAddr(), llvm::ValueEnumerator::getInstructionID(), llvm::SlotIndexes::getInstructionIndex(), llvm::SparseSolver::getLatticeState(), getMappedReg(), llvm::TargetLibraryInfo::getName(), llvm::PBQPRAProblem::getNodeForVReg(), llvm::ARMFunctionInfo::getOriginalCPIdx(), llvm::SparseSolver::getOrInitValueState(), llvm::TargetPassConfig::getPassSubstitution(), llvm::ARMJITInfo::getPCLabelAddr(), llvm::LoopBlocksDFS::getPostorder(), llvm::Function::getPrefixData(), llvm::RegionInfo::getRegionFor(), llvm::SDDbgInfo::getSDDbgValues(), llvm::MCRegisterInfo::getSEHRegNum(), llvm::ScalarEvolution::getSignedRange(), llvm::ScheduleDAGInstrs::getSUnit(), llvm::ValueEnumerator::getTypeID(), llvm::ScalarEvolution::getUnsignedRange(), llvm::SelectionDAGBuilder::getValue(), llvm::ValueEnumerator::getValueID(), llvm::SelectionDAGBuilder::getValueImpl(), llvm::LoopBlocksDFS::hasPostorder(), llvm::PMTopLevelManager::initializeAllAnalysisInfo(), llvm::SlotIndexes::insertMachineInstrInMaps(), llvm::ARMBaseInstrInfo::isFpMLxInstruction(), llvm::ScopedHashTable< K, V, KInfo, AllocatorTy >::lookup(), llvm::FastISel::lookUpRegForValue(), llvm::FastISel::LowerArguments(), llvm::BitcodeReader::Materialize(), llvm::DWARFDebugLoc::parse(), llvm::DWARFDebugLine::parseStatementTable(), llvm::PBQPRAProblem::recordVReg(), llvm::InstCombineWorklist::Remove(), llvm::LoopInfoBase< BasicBlock, Loop >::removeBlock(), llvm::MemoryDependenceAnalysis::removeInstruction(), llvm::SlotIndexes::removeMachineInstrFromMaps(), llvm::SlotIndexes::repairIndexesInRange(), llvm::SlotIndexes::replaceMachineInstrInMaps(), replaceSymbolicStrideSCEV(), replaceUndefValuesInPhi(), llvm::DIRef< T >::resolve(), reuseOrInsertFastDiv(), llvm::SelectionDAGISel::runOnMachineFunction(), selectIncomingValueForBlock(), llvm::FunctionLoweringInfo::set(), and llvm::TargetLibraryInfo::setAvailableWithName().

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
const_iterator llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::find ( const KeyT Val) const [inline]

Definition at line 114 of file DenseMap.h.

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
template<class LookupKeyT >
iterator llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::find_as ( const LookupKeyT &  Val) [inline]
template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
template<class LookupKeyT >
const_iterator llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::find_as ( const LookupKeyT &  Val) const [inline]

Definition at line 134 of file DenseMap.h.

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
value_type& llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::FindAndConstruct ( const KeyT Key) [inline]
template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
value_type& llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::FindAndConstruct ( KeyT &&  Key) [inline]

Definition at line 219 of file DenseMap.h.

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
static const KeyT llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::getEmptyKey ( ) [inline, static, protected]
template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
static unsigned llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::getHashValue ( const KeyT Val) [inline, static, protected]
template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
template<typename LookupKeyT >
static unsigned llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::getHashValue ( const LookupKeyT &  Val) [inline, static, protected]

Definition at line 333 of file DenseMap.h.

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
size_t llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::getMemorySize ( ) const [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 521 of file DenseMap.h.

Referenced by llvm::DenseSet< MCSymbol const * >::getMemorySize().

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
const void* llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::getPointerIntoBucketsArray ( ) const [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 241 of file DenseMap.h.

Referenced by llvm::ValueMap< const BasicBlock *, void * >::getPointerIntoBucketsArray().

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
static const KeyT llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::getTombstoneKey ( ) [inline, static, protected]
template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
void llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::initEmpty ( ) [inline, protected]
template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
std::pair<iterator, bool> llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::insert ( const std::pair< KeyT, ValueT > &  KV) [inline]
template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
std::pair<iterator, bool> llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::insert ( std::pair< KeyT, ValueT > &&  KV) [inline]

Definition at line 167 of file DenseMap.h.

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
template<typename InputIt >
void llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::insert ( InputIt  I,
InputIt  E 
) [inline]

insert - Range insertion of pairs.

Definition at line 182 of file DenseMap.h.

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
bool llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::isPointerIntoBucketsArray ( const void *  Ptr) const [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 234 of file DenseMap.h.

Referenced by llvm::ValueMap< const BasicBlock *, void * >::isPointerIntoBucketsArray().

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
ValueT llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::lookup ( const KeyT Val) const [inline]
template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
void llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::moveFromOldBuckets ( BucketT OldBucketsBegin,
BucketT OldBucketsEnd 
) [inline, protected]

Definition at line 274 of file DenseMap.h.

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
ValueT& llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::operator[] ( const KeyT Key) [inline]

Definition at line 215 of file DenseMap.h.

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
ValueT& llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::operator[] ( KeyT &&  Key) [inline]

Definition at line 227 of file DenseMap.h.

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
void llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::resize ( size_t  Size) [inline]

Grow the densemap so that it has at least Size buckets. Does not shrink.

Definition at line 73 of file DenseMap.h.

Referenced by llvm::DenseSet< MCSymbol const * >::resize(), and llvm::ValueMap< const BasicBlock *, void * >::resize().

template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
unsigned llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::size ( ) const [inline]
template<typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT>
void llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::swap ( DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT > &  RHS) [inline, protected]

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