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

Declarations

tools/lld/wasm/InputFiles.h
   32 class InputGlobal;
tools/lld/wasm/Symbols.h
   34 class InputGlobal;

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/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/Driver.cpp
  457                                     make<InputGlobal>(wasmGlobal, nullptr));
tools/lld/wasm/InputFiles.cpp
  341     globals.emplace_back(make<InputGlobal>(g, this));
  416     InputGlobal *global =
tools/lld/wasm/InputFiles.h
  124   std::vector<InputGlobal *> globals;
tools/lld/wasm/InputGlobal.h
   49 inline std::string toString(const wasm::InputGlobal *g) {
tools/lld/wasm/MarkLive.cpp
  154       for (InputGlobal *g : obj->globals)
  164     for (InputGlobal *g : symtab->syntheticGlobals)
tools/lld/wasm/SymbolTable.cpp
  230                                                InputGlobal *global) {
  349                                       InputFile *file, InputGlobal *global) {
tools/lld/wasm/SymbolTable.h
   58                            InputGlobal *g);
   77                                     InputGlobal *global);
   89   std::vector<InputGlobal *> syntheticGlobals;
tools/lld/wasm/Symbols.cpp
  299                              InputGlobal *global)
tools/lld/wasm/Symbols.h
  327                 InputGlobal *global);
  333   InputGlobal *global;
tools/lld/wasm/SyntheticSections.cpp
  245   for (InputGlobal *g : inputGlobals)
  268   for (InputGlobal *g : inputGlobals)
  293 void GlobalSection::addGlobal(InputGlobal *global) {
tools/lld/wasm/SyntheticSections.h
  185   void addGlobal(InputGlobal *global);
  193   std::vector<InputGlobal *> inputGlobals;
tools/lld/wasm/Writer.cpp
  619   for (InputGlobal *global : symtab->syntheticGlobals)
  624     for (InputGlobal *global : file->globals)