reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
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/ELF/SyntheticSections.cpp
2552 static std::vector<GdbIndexSection::CuEntry> readCuList(DWARFContext &dwarf) { 2553 std::vector<GdbIndexSection::CuEntry> ret; 2559 static std::vector<GdbIndexSection::AddressEntry> 2561 std::vector<GdbIndexSection::AddressEntry> ret; 2596 static std::vector<GdbIndexSection::NameAttrEntry> 2598 const std::vector<GdbIndexSection::CuEntry> &cus) { 2602 std::vector<GdbIndexSection::NameAttrEntry> ret; 2625 static std::vector<GdbIndexSection::GdbSymbol> 2626 createSymbols(ArrayRef<std::vector<GdbIndexSection::NameAttrEntry>> nameAttrs, 2627 const std::vector<GdbIndexSection::GdbChunk> &chunks) { 2628 using GdbSymbol = GdbIndexSection::GdbSymbol; 2629 using NameAttrEntry = GdbIndexSection::NameAttrEntry; 2704 template <class ELFT> GdbIndexSection *GdbIndexSection::create() { 2729 auto *ret = make<GdbIndexSection>(); 2729 auto *ret = make<GdbIndexSection>();tools/lld/ELF/SyntheticSections.h
718 template <typename ELFT> static GdbIndexSection *create();
tools/lld/ELF/Writer.cpp 499 add(GdbIndexSection::create<ELFT>());
tools/lld/include/lld/Common/Memory.h47 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)...);