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

/freebsd-current/contrib/llvm-project/lld/Common/
H A DMemory.cpp15 SpecificAllocBase *
16 lld::SpecificAllocBase::getOrCreate(void *tag, size_t size, size_t align,
17 SpecificAllocBase *(&creator)(void *)) {
H A DCommonLinkerContext.cpp36 it.second->~SpecificAllocBase();
/freebsd-current/contrib/llvm-project/lld/include/lld/Common/
H A DMemory.h29 struct SpecificAllocBase { struct in namespace:lld
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) {
52 SpecificAllocBase *instance = SpecificAllocBase::getOrCreate(
H A DCommonLinkerContext.h31 struct SpecificAllocBase;
41 llvm::DenseMap<void *, SpecificAllocBase *> instances;

Completed in 167 milliseconds