Home
last modified time | relevance | path

Searched refs:SpecificAllocBase (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/lld/include/lld/Common/
H A DMemory.h29 struct SpecificAllocBase { struct
30 virtual ~SpecificAllocBase() = default;
31 static SpecificAllocBase *getOrCreate(void *tag, size_t size, size_t align,
32 SpecificAllocBase *(&creator)(void *));
36 template <class T> struct SpecificAlloc : public SpecificAllocBase {
37 static SpecificAllocBase *create(void *storage) { in create()
52 SpecificAllocBase *instance = SpecificAllocBase::getOrCreate( in getSpecificAllocSingleton()
H A DCommonLinkerContext.h31 struct SpecificAllocBase;
41 llvm::DenseMap<void *, SpecificAllocBase *> instances;
/freebsd/contrib/llvm-project/lld/Common/
H A DMemory.cpp15 SpecificAllocBase *
16 lld::SpecificAllocBase::getOrCreate(void *tag, size_t size, size_t align, in getOrCreate()
17 SpecificAllocBase *(&creator)(void *)) { in getOrCreate()
H A DCommonLinkerContext.cpp36 it.second->~SpecificAllocBase(); in ~CommonLinkerContext()