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

References

include/llvm/Support/Alignment.h
  103     return Constant<std::alignment_of<T>::value>();
include/llvm/Support/Allocator.h
   81   template <typename T> T *Allocate(size_t Num = 1) {
   82     return static_cast<T *>(Allocate(Num * sizeof(T), alignof(T)));
   82     return static_cast<T *>(Allocate(Num * sizeof(T), alignof(T)));
  470       for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T))
  470       for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T))
  478       char *Begin = (char *)alignAddr(*I, Align::Of<T>());
  488       DestroyElements((char *)alignAddr(Ptr, Align::Of<T>()),
  496   T *Allocate(size_t num = 1) { return Allocator.Allocate<T>(num); }
  496   T *Allocate(size_t num = 1) { return Allocator.Allocate<T>(num); }
tools/lld/COFF/Chunks.cpp
  863 MergeChunk *MergeChunk::instances[Log2MaxSectionAlignment + 1] = {};
  874   auto *&mc = instances[p2Align];
  876     mc = make<MergeChunk>(c->getAlignment());
tools/lld/COFF/Chunks.h
  416   static MergeChunk *instances[Log2MaxSectionAlignment + 1];
tools/lld/COFF/Driver.cpp
   87   memset(MergeChunk::instances, 0, sizeof(MergeChunk::instances));
   87   memset(MergeChunk::instances, 0, sizeof(MergeChunk::instances));
tools/lld/COFF/ICF.cpp
  259   for (MergeChunk *mc : MergeChunk::instances)
  259   for (MergeChunk *mc : MergeChunk::instances)
tools/lld/COFF/InputFiles.cpp
  289     MergeChunk::addSection(c);
tools/lld/COFF/Writer.cpp
  908   for (MergeChunk *p : MergeChunk::instances) {
  908   for (MergeChunk *p : MergeChunk::instances) {
 1068   for (MergeChunk *mc : MergeChunk::instances)
 1068   for (MergeChunk *mc : MergeChunk::instances)
 1259   for (MergeChunk *mc : MergeChunk::instances)
 1259   for (MergeChunk *mc : MergeChunk::instances)
tools/lld/include/lld/Common/Memory.h
   47   llvm::SpecificBumpPtrAllocator<T> alloc;
   52 template <typename T, typename... U> T *make(U &&... args) {
   53   static SpecificAlloc<T> alloc;
   54   return new (alloc.alloc.Allocate()) T(std::forward<U>(args)...);