reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Support/ArrayRecycler.h
   28 template <class T, size_t Align = alignof(T)> class ArrayRecycler {
   36   static_assert(sizeof(T) >= sizeof(FreeList), "Objects are too small");
   43   T *pop(unsigned Idx) {
   56   void push(unsigned Idx, T *Ptr) {
  106       while (T *Ptr = pop(Bucket.size() - 1))
  125   T *allocate(Capacity Cap, AllocatorType &Allocator) {
  127     if (T *Ptr = pop(Cap.getBucket()))
  130     return static_cast<T*>(Allocator.Allocate(sizeof(T)*Cap.getSize(), Align));
  137   void deallocate(Capacity Cap, T *Ptr) {