LLVM 20.0.0git
Public Member Functions | List of all members
llvm::detail::AllocatorHolder< Alloc > Class Template Reference

#include "llvm/Support/AllocatorBase.h"

Inherits Alloc.

Inherited by llvm::BumpPtrAllocatorImpl< MallocAllocator, 65536 > [private], llvm::ScopedHashTable< K, V, DenseMapInfo< K >, MallocAllocator > [private], llvm::StringMap< BlockDataT< T > > [private], llvm::StringMap< FuncDataT< T > > [private], llvm::StringMap< std::nullopt_t, MallocAllocator > [private], llvm::StringMap< DenseSet< ValueInfo > > [private], llvm::StringMap< std::unique_ptr< llvm::AArch64Subtarget > > [private], llvm::StringMap< std::unique_ptr< llvm::ARMSubtarget > > [private], llvm::StringMap< llvm::SmallVector< size_t, 1 > > [private], llvm::StringMap< std::vector< std::string > > [private], llvm::StringMap< llvm::SmallString< 128 > > [private], llvm::StringMap< llvm::FunctionPathAndClusterInfo > [private], llvm::StringMap< llvm::StringRef > [private], llvm::StringMap< std::unique_ptr< llvm::CSKYSubtarget > > [private], llvm::StringMap< unsigned > [private], llvm::StringMap< uint32_t > [private], llvm::StringMap< std::string > [private], llvm::StringMap< const llvm::DIE * > [private], llvm::StringMap< llvm::DwarfStringPoolEntry, llvm::BumpPtrAllocatorImpl & > [private], llvm::StringMap< uint64_t > [private], llvm::StringMap< bool > [private], llvm::StringMap< llvm::NumericVariable * > [private], llvm::StringMap< llvm::GCStrategy * > [private], llvm::StringMap< std::unique_ptr< llvm::GCNSubtarget > > [private], llvm::StringMap< std::unique_ptr< llvm::GCStrategy > > [private], llvm::StringMap< std::unique_ptr< llvm::HexagonSubtarget > > [private], llvm::StringMap< std::unique_ptr< InlineGraphNode > > [private], llvm::StringMap< llvm::SmallDenseMap > [private], llvm::StringMap< std::pair< llvm::Type *, llvm::SMLoc > > [private], llvm::StringMap< llvm::MDString, llvm::BumpPtrAllocatorImpl > [private], llvm::StringMap< std::unique_ptr< llvm::ConstantDataSequential > > [private], llvm::StringMap< llvm::StructType * > [private], llvm::StringMap< uint8_t > [private], llvm::StringMap< GlobalValue::LinkageTypes > [private], llvm::StringMap< NameAndAttributes > [private], llvm::StringMap< size_t > [private], llvm::StringMap< std::unique_ptr< llvm::LoongArchSubtarget > > [private], llvm::StringMap< std::unique_ptr< llvm::M68kSubtarget > > [private], llvm::StringMap< MCSymbolTableValue, BumpPtrAllocator & > [private], llvm::StringMap< llvm::MCSymbol *, llvm::BumpPtrAllocatorImpl & > [private], llvm::StringMap< llvm::MCSectionMachO * > [private], llvm::StringMap< llvm::MCSectionELF * > [private], llvm::StringMap< llvm::MCSectionDXContainer * > [private], llvm::StringMap< llvm::MCAsmMacro > [private], llvm::StringMap< std::unique_ptr< llvm::MipsSubtarget > > [private], llvm::StringMap< Comdat > [private], llvm::StringMap< NamedMDNode * > [private], llvm::StringMap< ModuleHash > [private], llvm::StringMap< DwarfStringPoolEntry, BumpPtrAllocator > [private], llvm::StringMap< OffloadEntryInfoDeviceGlobalVar > [private], llvm::StringMap< llvm::Constant * > [private], llvm::StringMap< llvm::GlobalVariable *, llvm::BumpPtrAllocatorImpl > [private], llvm::StringMap< T > [private], llvm::StringMap< std::unique_ptr< llvm::PPCSubtarget > > [private], llvm::StringMap< const PassInfo * > [private], llvm::StringMap< NumericVariableMatch > [private], llvm::StringMap< llvm::VRegInfo * > [private], llvm::StringMap< llvm::Register > [private], llvm::StringMap< const uint32_t * > [private], llvm::StringMap< int > [private], llvm::StringMap< MachineMemOperand::Flags > [private], llvm::StringMap< const TargetRegisterClass * > [private], llvm::StringMap< const RegisterBank * > [private], llvm::StringMap< ProbeFactorMap > [private], llvm::StringMap< std::unique_ptr< const llvm::ExternalSymbolPseudoSourceValue > > [private], llvm::StringMap< std::unique_ptr< llvm::R600Subtarget > > [private], llvm::StringMap< std::unique_ptr< llvm::RISCVSubtarget > > [private], llvm::StringMap< std::vector< llvm::Record * > > [private], llvm::StringMap< State > [private], llvm::StringMap< SymbolTableEntry > [private], llvm::StringMap< llvm::SmallVector > [private], llvm::StringMap< LocToLocMap > [private], llvm::StringMap< std::unordered_map< llvm::sampleprof::LineLocation, MatchState, llvm::sampleprof::LineLocationHash > > [private], llvm::StringMap< llvm::SDNode * > [private], llvm::StringMap< std::unique_ptr< llvm::SetTheory::Operator > > [private], llvm::StringMap< std::unique_ptr< llvm::SetTheory::Expander > > [private], llvm::StringMap< llvm::Type * > [private], llvm::StringMap< std::unique_ptr< llvm::SparcSubtarget > > [private], llvm::StringMap< llvm::SpecialCaseList::Section > [private], llvm::StringMap< std::pair< llvm::GlobPattern, unsigned > > [private], llvm::StringMap< StringMap< Matcher > > [private], llvm::StringMap< std::unique_ptr< llvm::SystemZSubtarget > > [private], llvm::StringMap< CountAndDurationType > [private], llvm::StringMap< Value * > [private], llvm::StringMap< std::unique_ptr< llvm::WebAssemblySubtarget > > [private], llvm::StringMap< std::unique_ptr< llvm::X86Subtarget > > [private], llvm::StringMap< std::unique_ptr< llvm::XtensaSubtarget > > [private], llvm::StringMap< llvm::cl::Option * > [private], llvm::StringMap< std::vector< llvm::support::detail::packed_endian_specific_integral > > [private], llvm::StringMap< llvm::StringInit *, llvm::BumpPtrAllocatorImpl & > [private], llvm::StringMap< llvm::StringMapEntry * > [private], llvm::StringMap< Symbol * > [private], llvm::StringMap< SectionParserFunction > [private], llvm::StringMap< size_t, BumpPtrAllocator > [private], llvm::StringMap< llvm::objcopy::SectionRename > [private], llvm::StringMap< llvm::objcopy::SectionFlagsUpdate > [private], llvm::StringMap< std::unique_ptr< llvm::orc::DebugObjectSection > > [private], llvm::StringMap< SectionList > [private], llvm::StringMap< std::vector< char > > [private], llvm::StringMap< llvm::orc::ExecutorAddr > [private], llvm::StringMap< std::pair< StubKey, llvm::JITSymbolFlags > > [private], llvm::StringMap< RefCountType > [private], llvm::StringMap< llvm::codeview::FileChecksumEntry > [private], llvm::StringMap< unsigned, llvm::BumpPtrAllocatorImpl > [private], llvm::BumpPtrAllocatorImpl< AllocatorT, SlabSize, SizeThreshold, GrowthDelay > [private], and llvm::StringMap< ValueTy, AllocatorTy > [private].

Public Member Functions

 AllocatorHolder ()=default
 
 AllocatorHolder (const Alloc &A)
 
 AllocatorHolder (Alloc &&A)
 
AllocgetAllocator ()
 
const AllocgetAllocator () const
 

Detailed Description

template<typename Alloc>
class llvm::detail::AllocatorHolder< Alloc >

Definition at line 110 of file AllocatorBase.h.

Constructor & Destructor Documentation

◆ AllocatorHolder() [1/3]

template<typename Alloc >
llvm::detail::AllocatorHolder< Alloc >::AllocatorHolder ( )
default

◆ AllocatorHolder() [2/3]

template<typename Alloc >
llvm::detail::AllocatorHolder< Alloc >::AllocatorHolder ( const Alloc A)
inline

Definition at line 113 of file AllocatorBase.h.

◆ AllocatorHolder() [3/3]

template<typename Alloc >
llvm::detail::AllocatorHolder< Alloc >::AllocatorHolder ( Alloc &&  A)
inline

Definition at line 114 of file AllocatorBase.h.

Member Function Documentation

◆ getAllocator() [1/2]

template<typename Alloc >
Alloc & llvm::detail::AllocatorHolder< Alloc >::getAllocator ( )
inline

◆ getAllocator() [2/2]

template<typename Alloc >
const Alloc & llvm::detail::AllocatorHolder< Alloc >::getAllocator ( ) const
inline

Definition at line 116 of file AllocatorBase.h.


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