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

Declarations

tools/lld/wasm/InputChunks.h
   32 class ObjFile;

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); }
include/llvm/Support/Casting.h
   58     return To::classof(&Val);
  106     return isa_impl<To, From>::doit(*Val);
  122     return isa_impl_wrap<To, SimpleFrom,
  132     return isa_impl_cl<To,FromTy>::doit(Val);
  142   return isa_impl_wrap<X, const Y,
  172   using ret_type = To *;       // Pointer arg case, return Ty*
  176   using ret_type = const To *; // Constant pointer arg case, return const Ty*
  198   using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
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
   59   ObjFile *file;
   71   InputChunk(ObjFile *f, Kind k)
   94   InputSegment(const WasmSegment &seg, ObjFile *f)
  122   InputFunction(const WasmSignature &s, const WasmFunction *func, ObjFile *f)
  205   InputSection(const WasmSection &s, ObjFile *f)
tools/lld/wasm/InputEvent.h
   31   InputEvent(const WasmSignature &s, const WasmEvent &e, ObjFile *f)
   44   ObjFile *file;
tools/lld/wasm/InputFiles.cpp
   71     return make<ObjFile>(mb, archiveName);
tools/lld/wasm/InputGlobal.h
   25   InputGlobal(const WasmGlobal &g, ObjFile *f)
   38   ObjFile *file;
tools/lld/wasm/MarkLive.cpp
   68     for (const ObjFile *obj : symtab->objectFiles) {
   91     for (const ObjFile *obj : symtab->objectFiles) {
  147     for (const ObjFile *obj : symtab->objectFiles) {
tools/lld/wasm/Relocations.cpp
   59   ObjFile *file = chunk->file;
tools/lld/wasm/SymbolTable.cpp
   55   auto *f = cast<ObjFile>(file);
   55   auto *f = cast<ObjFile>(file);
   77     auto *obj = make<ObjFile>(MemoryBufferRef(filename, "lto.tmp"), "");
   77     auto *obj = make<ObjFile>(MemoryBufferRef(filename, "lto.tmp"), "");
tools/lld/wasm/SymbolTable.h
   85   std::vector<ObjFile *> objectFiles;
tools/lld/wasm/Writer.cpp
  109   for (ObjFile *file : symtab->objectFiles) {
  172   for (ObjFile *file : symtab->objectFiles) {
  389   for (ObjFile *file : symtab->objectFiles) {
  459   for (ObjFile *file : symtab->objectFiles) {
  556   for (ObjFile *file : symtab->objectFiles) {
  572   for (ObjFile *file : symtab->objectFiles) {
  594   for (ObjFile *file : symtab->objectFiles) {
  613   for (ObjFile *file : symtab->objectFiles) {
  622   for (ObjFile *file : symtab->objectFiles) {
  628   for (ObjFile *file : symtab->objectFiles) {
  661   for (ObjFile *file : symtab->objectFiles) {
  936   for (ObjFile *file : symtab->objectFiles) {
 1051     for (ObjFile *file : symtab->objectFiles)