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

Declarations

tools/lld/wasm/InputChunks.h
   33 class OutputSegment;
tools/lld/wasm/OutputSections.h
   27 class OutputSegment;

References

include/llvm/ADT/ArrayRef.h
  108         const ArrayRef<U *> &A,
  110            std::is_convertible<U *const *, T const *>::value>::type * = nullptr)
  127     ArrayRef(const std::vector<U *, A> &Vec,
  129                  std::is_convertible<U *const *, T const *>::value>::type* = 0)
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/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)...);
tools/lld/wasm/InputChunks.h
  109   const OutputSegment *outputSeg = nullptr;
tools/lld/wasm/OutputSections.cpp
  142   for (OutputSegment *segment : segments) {
  188   for (const OutputSegment *segment : segments) {
  203   for (const OutputSegment *seg : segments)
  210   for (const OutputSegment *seg : segments)
  216   for (const OutputSegment *seg : segments)
tools/lld/wasm/OutputSections.h
   78   explicit DataSection(ArrayRef<OutputSegment *> segments)
   89   ArrayRef<OutputSegment *> segments;
tools/lld/wasm/SyntheticSections.cpp
  368 DataCountSection::DataCountSection(ArrayRef<OutputSegment *> segments)
  431     for (const OutputSegment *s : dataSegments) {
tools/lld/wasm/SyntheticSections.h
  253   DataCountSection(ArrayRef<OutputSegment *> segments);
  266                  const std::vector<OutputSegment *> &dataSegments)
  279   const std::vector<OutputSegment *> &dataSegments;
tools/lld/wasm/Writer.cpp
  100   std::vector<OutputSegment *> segments;
  101   llvm::SmallDenseMap<StringRef, OutputSegment *> segmentMap;
  240   for (OutputSegment *seg : segments) {
  323 static void addStartStopSymbols(const OutputSegment *seg) {
  666       OutputSegment *&s = segmentMap[name];
  669         s = make<OutputSegment>(name);
  789       for (const OutputSegment *s : segments) {
  823       for (const OutputSegment *s : segments) {
  849     for (const OutputSegment *seg : segments)
  895     OutputSegment *tlsSeg = nullptr;
  896     for (auto *seg : segments) {
 1006     for (const OutputSegment *seg : segments)