reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
29 class StringChunk;
103 return Constant<std::alignment_of<T>::value>();
include/llvm/Support/Allocator.h81 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/Config.h
54 StringChunk *forwardChunk = nullptr;
tools/lld/COFF/DLL.cpp594 dllNames.push_back(make<StringChunk>(syms[0]->getDLLName())); 631 dllNames.push_back(make<StringChunk>(syms[0]->getDLLName())); 707 auto *dllName = make<StringChunk>(sys::path::filename(config->outputFile)); 707 auto *dllName = make<StringChunk>(sys::path::filename(config->outputFile)); 712 names.push_back(make<StringChunk>(e.exportName)); 718 e.forwardChunk = make<StringChunk>(e.forwardTo);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)...);