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

References

include/llvm/Support/ArrayRecycler.h
   36   static_assert(sizeof(T) >= sizeof(FreeList), "Objects are too small");
   43   T *pop(unsigned Idx) {
   56   void push(unsigned Idx, T *Ptr) {
  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) {
unittests/Support/ArrayRecyclerTest.cpp
   20   Object *Other;
   22 typedef ArrayRecycler<Object> ARO;
   52   ArrayRecycler<Object> DUT;
   55   Object *A1 = DUT.allocate(Cap, Allocator);
   59   Object *A2 = DUT.allocate(Cap, Allocator);
   63   Object *A3 = DUT.allocate(Cap, Allocator);
   83   Object *A2x = DUT.allocate(Cap, Allocator);
   92   Object *A3x = DUT.allocate(Cap, Allocator);
   94   Object *A1x = DUT.allocate(Cap, Allocator);
   96   Object *A2y = DUT.allocate(Cap, Allocator);
  100   Object *A4 = DUT.allocate(Cap, Allocator);
utils/unittest/googletest/include/gtest/gtest-printers.h
  407                     T* p, ::std::ostream* os) {
  416     if (IsTrue(ImplicitlyConvertible<T*, const void*>::value)) {