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

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);
   77     return isa_impl<To, From>::doit(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,
  165   using ret_type = To &;       // Normal case, return Ty&
  168   using ret_type = const To &; // Normal case, return Ty&
  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) {
  258   return cast_convert_val<X, Y,
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  360                             typename cast_retty<X, Y>::ret_type>::type
  366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  368   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
  368   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
tools/lld/ELF/Driver.cpp
  104   SharedFile::vernauxNum = 0;
  258         make<SharedFile>(mbref, withLOption ? path::filename(path) : path));
tools/lld/ELF/InputFiles.cpp
   61 std::vector<SharedFile *> sharedFiles;
  185   if (auto *f = dyn_cast<SharedFile>(file)) {
  185   if (auto *f = dyn_cast<SharedFile>(file)) {
 1219   DenseMap<StringRef, SharedFile *>::iterator it;
tools/lld/ELF/InputFiles.h
  390 extern std::vector<SharedFile *> sharedFiles;
tools/lld/ELF/Relocations.cpp
  462   const SharedFile &file = ss.getFile();
  481   SharedFile &file = ss.getFile();
  705   if (sym.file && !isa<SharedFile>(sym.file)) {
tools/lld/ELF/SymbolTable.h
   55   llvm::DenseMap<StringRef, SharedFile *> soNames;
tools/lld/ELF/Symbols.cpp
  488   if (dyn_cast_or_null<SharedFile>(other.file))
tools/lld/ELF/Symbols.h
  377   SharedFile &getFile() const { return *cast<SharedFile>(file); }
  377   SharedFile &getFile() const { return *cast<SharedFile>(file); }
tools/lld/ELF/SyntheticSections.cpp
 1288   for (SharedFile *file : sharedFiles)
 1440   bool hasVerNeed = SharedFile::vernauxNum != 0;
 1450     for (SharedFile *f : sharedFiles)
 2943   auto &file = cast<SharedFile>(*ss->file);
 2943   auto &file = cast<SharedFile>(*ss->file);
 2957     file.vernauxs[ss->verdefIndex] = ++SharedFile::vernauxNum + getVerDefNum();
 2968   for (SharedFile *f : sharedFiles) {
 3023          SharedFile::vernauxNum * sizeof(Elf_Vernaux);
 3027   return SharedFile::vernauxNum != 0;
tools/lld/ELF/Writer.cpp
 1766     for (SharedFile *file : sharedFiles)
 1774         if (auto *f = dyn_cast_or_null<SharedFile>(sym->file))
 1774         if (auto *f = dyn_cast_or_null<SharedFile>(sym->file))
 1790       if (auto *file = dyn_cast_or_null<SharedFile>(sym->file))
 1790       if (auto *file = dyn_cast_or_null<SharedFile>(sym->file))
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)...);