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/PDB.cpp
 1455 static void addLinkerModuleCoffGroup(PartialSection *sec,
 1501   for (PartialSection *sec : os.contribSections) {
tools/lld/COFF/Writer.cpp
  225   PartialSection *createPartialSection(StringRef name, uint32_t outChars);
  226   PartialSection *findPartialSection(StringRef name, uint32_t outChars);
  238   std::map<PartialSectionKey, PartialSection *> partialSections;
  330 void OutputSection::addContributingPartialSection(PartialSection *sec) {
  660     PartialSection *pSec = it.second;
  667     PartialSection *destSec = createPartialSection(pSec->name, chars);
  695     PartialSection *pSec = it.second;
  732     PartialSection *pSec = createPartialSection(n, rdata);
  751   if (PartialSection *importDirs = findPartialSection(".idata$2", rdata)) {
  758   if (PartialSection *importAddresses = findPartialSection(".idata$5", rdata)) {
  835     PartialSection *pSec = createPartialSection(name,
  864     PartialSection *pSec = it.second;
 1928 PartialSection *Writer::createPartialSection(StringRef name,
 1930   PartialSection *&pSec = partialSections[{name, outChars}];
 1933   pSec = make<PartialSection>(name, outChars);
 1937 PartialSection *Writer::findPartialSection(StringRef name, uint32_t outChars) {
tools/lld/COFF/Writer.h
   51   void addContributingPartialSection(PartialSection *sec);
   76   std::vector<PartialSection *> contribSections;
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)...);