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/LinkerScript.cpp
103 static void expandMemoryRegion(MemoryRegion *memRegion, uint64_t size, 767 MemoryRegion *LinkerScript::findMemoryRegion(OutputSection *sec) { 771 if (MemoryRegion *m = memoryRegions.lookup(sec->memoryRegionName)) 785 MemoryRegion *m = pair.second; 830 if (MemoryRegion *mr = sec->lmaRegion) 976 if (MemoryRegion *m = memoryRegions.lookup(sec->lmaRegionName)) 1072 MemoryRegion *mr = mri.second;tools/lld/ELF/LinkerScript.h
222 MemoryRegion *memRegion = nullptr; 223 MemoryRegion *lmaRegion = nullptr; 242 MemoryRegion *findMemoryRegion(OutputSection *sec); 303 llvm::MapVector<llvm::StringRef, MemoryRegion *> memoryRegions;tools/lld/ELF/OutputSections.h
79 MemoryRegion *memRegion = nullptr; 80 MemoryRegion *lmaRegion = nullptr;tools/lld/ELF/ScriptParser.cpp
1479 MemoryRegion *mr = make<MemoryRegion>(tok, origin, length, flags, negFlags); 1479 MemoryRegion *mr = make<MemoryRegion>(tok, origin, length, flags, negFlags);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)...);