Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lld/include/lld/Common/
H A DMemory.h36 template <class T> struct SpecificAlloc : public SpecificAllocBase { struct
38 return new (storage) SpecificAlloc<T>(); in create()
46 template <class T> int SpecificAlloc<T>::tag = 0; argument
53 &SpecificAlloc<T>::tag, sizeof(SpecificAlloc<T>), in getSpecificAllocSingleton()
54 alignof(SpecificAlloc<T>), SpecificAlloc<T>::create); in getSpecificAllocSingleton()
55 return ((SpecificAlloc<T> *)instance)->alloc; in getSpecificAllocSingleton()
68 thread_local SpecificAlloc<T> instance; in getSpecificAllocSingletonThreadLocal()