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

Derived Classes

tools/lld/ELF/InputFiles.h
  153 class ELFFileBase : public InputFile {
  295 class LazyObjFile : public InputFile {
  313 class ArchiveFile : public InputFile {
  330 class BitcodeFile : public InputFile {
  370 class BinaryFile : public InputFile {

Declarations

tools/lld/ELF/Config.h
   26 class InputFile;
tools/lld/ELF/InputFiles.h
   40 class InputFile;
tools/lld/ELF/LTO.h
   40 class InputFile;
tools/lld/ELF/Symbols.h
   34 class InputFile;
tools/lld/ELF/Target.h
   23 class InputFile;
tools/lld/ELF/Writer.h
   20 class InputFile;

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/ADT/DenseMapInfo.h
   39   static inline T* getEmptyKey() {
   41     Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   45   static inline T* getTombstoneKey() {
   47     Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   51   static unsigned getHashValue(const T *PtrVal) {
   56   static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
   56   static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
include/llvm/Support/Casting.h
   34   using SimpleType = From; // The real type this represents...
   37   static SimpleType &getSimplifiedValue(From &Val) { return Val; }
   41   using NonConstSimpleType = typename simplify_type<From>::SimpleType;
   47   static RetType getSimplifiedValue(const From& Val) {
   57   static inline bool doit(const From &Val) {
   76   static inline bool doit(const From &Val) {
   77     return isa_impl<To, From>::doit(Val);
  104   static inline bool doit(const From *Val) {
  106     return isa_impl<To, From>::doit(*Val);
  141 template <class X, class Y> LLVM_NODISCARD inline bool isa(const Y &Val) {
  142   return isa_impl_wrap<X, const Y,
  143                        typename simplify_type<const Y>::SimpleType>::doit(Val);
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::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) {
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  236       std::is_same<X, typename simplify_type<X>::SimpleType>::value;
  236       std::is_same<X, typename simplify_type<X>::SimpleType>::value;
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  258   return cast_convert_val<X, Y,
  259                           typename simplify_type<Y>::SimpleType>::doit(Val);
  263 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*,
  266                           typename simplify_type<Y*>::SimpleType>::doit(Val);
  342 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) {
  366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  367 dyn_cast_or_null(Y *Val) {
include/llvm/Support/PointerLikeTypeTraits.h
   56   static inline void *getAsVoidPointer(T *P) { return P; }
   57   static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
   59   enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
include/llvm/Support/type_traits.h
   55 struct add_const_past_pointer { using type = const T; };
tools/lld/ELF/AArch64ErrataFix.cpp
  442   for (InputFile *file : objectFiles) {
tools/lld/ELF/ARMErrataFix.cpp
  318   for (InputFile *file : objectFiles) {
tools/lld/ELF/Arch/AArch64.cpp
   42   bool needsThunk(RelExpr expr, RelType type, const InputFile *file,
  232 bool AArch64::needsThunk(RelExpr expr, RelType type, const InputFile *file,
tools/lld/ELF/Arch/AMDGPU.cpp
   43 static uint32_t getEFlags(InputFile *file) {
   52   for (InputFile *f : makeArrayRef(objectFiles).slice(1)) {
tools/lld/ELF/Arch/ARM.cpp
   41   bool needsThunk(RelExpr expr, RelType type, const InputFile *file,
  264 bool ARM::needsThunk(RelExpr expr, RelType type, const InputFile *file,
tools/lld/ELF/Arch/Hexagon.cpp
   65   for (InputFile *f : objectFiles) {
tools/lld/ELF/Arch/Mips.cpp
   37   bool needsThunk(RelExpr expr, RelType type, const InputFile *file,
  347 bool MIPS<ELFT>::needsThunk(RelExpr expr, RelType type, const InputFile *file,
tools/lld/ELF/Arch/MipsArchTree.cpp
   36   InputFile *file;
  299   for (InputFile *f : objectFiles)
  363 template <class ELFT> static bool isN32Abi(const InputFile *f) {
  369 bool isMipsN32Abi(const InputFile *f) {
tools/lld/ELF/Arch/PPC.cpp
   39   bool needsThunk(RelExpr expr, RelType relocType, const InputFile *file,
  171 bool PPC::needsThunk(RelExpr expr, RelType type, const InputFile *file,
tools/lld/ELF/Arch/PPC64.cpp
  207   bool needsThunk(RelExpr expr, RelType type, const InputFile *file,
  343 static uint32_t getEFlags(InputFile *file) {
  352   for (InputFile *f : objectFiles) {
  900 bool PPC64::needsThunk(RelExpr expr, RelType type, const InputFile *file,
tools/lld/ELF/Arch/RISCV.cpp
  102 static uint32_t getEFlags(InputFile *f) {
  113   for (InputFile *f : objectFiles) {
tools/lld/ELF/Driver.cpp
  712   for (InputFile *file : objectFiles)
 1208       if (InputFile::isInGroup)
 1210       InputFile::isInGroup = true;
 1213       if (!InputFile::isInGroup)
 1215       InputFile::isInGroup = false;
 1216       ++InputFile::nextGroupId;
 1221       if (InputFile::isInGroup)
 1224       InputFile::isInGroup = true;
 1230       InputFile::isInGroup = false;
 1231       ++InputFile::nextGroupId;
 1256   for (InputFile *f : files) {
 1356   for (InputFile *file : objectFiles)
 1486   for (InputFile *f : objectFiles) {
 1578   for (InputFile *file : lto->compile()) {
 1678   for (InputFile *f : objectFiles) {
 1854   for (InputFile *f : objectFiles)
tools/lld/ELF/Driver.h
   48   std::vector<InputFile *> files;
tools/lld/ELF/InputFiles.cpp
   41 std::string toString(const elf::InputFile *f) {
   60 std::vector<InputFile *> objectFiles;
  129 static bool isCompatible(InputFile *file) {
  145   InputFile *existing;
  157 template <class ELFT> static void doParseFile(InputFile *file) {
  203 void parseFile(InputFile *file) {
  484 static void addDependentLibrary(StringRef specifier, const InputFile *f) {
  618                              const InputFile *f) {
 1099   InputFile *file = createObjectFile(
 1466 InputFile *createObjectFile(MemoryBufferRef mb, StringRef archiveName,
 1489   InputFile *file = createObjectFile(mb, archiveName, offsetInArchive);
tools/lld/ELF/InputFiles.h
   37 std::string toString(const elf::InputFile *f);
   55 void parseFile(InputFile *file);
  153 class ELFFileBase : public InputFile {
  156   static bool classof(const InputFile *f) { return f->isElf(); }
  192   static bool classof(const InputFile *f) { return f->kind() == ObjKind; }
  295 class LazyObjFile : public InputFile {
  303   static bool classof(const InputFile *f) { return f->kind() == LazyObjKind; }
  313 class ArchiveFile : public InputFile {
  316   static bool classof(const InputFile *f) { return f->kind() == ArchiveKind; }
  330 class BitcodeFile : public InputFile {
  334   static bool classof(const InputFile *f) { return f->kind() == BitcodeKind; }
  359   static bool classof(const InputFile *f) { return f->kind() == SharedKind; }
  370 class BinaryFile : public InputFile {
  373   static bool classof(const InputFile *f) { return f->kind() == BinaryKind; }
  377 InputFile *createObjectFile(MemoryBufferRef mb, StringRef archiveName = "",
  389 extern std::vector<InputFile *> objectFiles;
tools/lld/ELF/InputSection.cpp
   57 InputSectionBase::InputSectionBase(InputFile *file, uint64_t flags,
  360 InputSection::InputSection(InputFile *f, uint64_t flags, uint32_t type,
  648 static uint64_t getRelocTargetVA(const InputFile *file, RelType type, int64_t a,
tools/lld/ELF/InputSection.h
  110   InputSectionBase(InputFile *file, uint64_t flags, uint32_t type,
  125   InputFile *file;
  314   InputSection(InputFile *f, uint64_t flags, uint32_t type, uint32_t alignment,
tools/lld/ELF/LTO.cpp
  235 std::vector<InputFile *> BitcodeCompiler::compile() {
  296   std::vector<InputFile *> ret;
tools/lld/ELF/LTO.h
   49   std::vector<InputFile *> compile();
tools/lld/ELF/LinkerScript.cpp
  323 static std::string getFilename(InputFile *file) {
tools/lld/ELF/MapFile.cpp
   56   for (InputFile *file : objectFiles)
  235   MapVector<Symbol *, SetVector<InputFile *>> map;
  236   for (InputFile *file : objectFiles) {
  253     SetVector<InputFile *> &files = kv.second;
  256     for (InputFile *file : files)
tools/lld/ELF/MarkLive.cpp
  299   for (InputFile *file : objectFiles)
tools/lld/ELF/Relocations.cpp
  677   if (const InputFile *prevailing =
tools/lld/ELF/ScriptParser.cpp
  333   bool orig = InputFile::isInGroup;
  334   InputFile::isInGroup = true;
  336   InputFile::isInGroup = orig;
  338     ++InputFile::nextGroupId;
tools/lld/ELF/SymbolTable.h
   60   llvm::DenseMap<llvm::CachedHashStringRef, const InputFile *> comdatGroups;
tools/lld/ELF/Symbols.cpp
  328   const InputFile *file = sym->file;
  565 static void reportDuplicate(Symbol *sym, InputFile *newFile,
tools/lld/ELF/Symbols.h
   71   InputFile *file;
  237   Symbol(Kind k, InputFile *file, StringRefZ name, uint8_t binding,
  241         isUsedInRegularObj(!file || file->kind() == InputFile::ObjKind),
  288   Defined(InputFile *file, StringRefZ name, uint8_t binding, uint8_t stOther,
  323   CommonSymbol(InputFile *file, StringRefZ name, uint8_t binding,
  336   Undefined(InputFile *file, StringRefZ name, uint8_t binding, uint8_t stOther,
  351   SharedSymbol(InputFile &file, StringRef name, uint8_t binding,
  400   LazyArchive(InputFile &file, const llvm::object::Archive::Symbol s)
  416   LazyObject(InputFile &file, StringRef name)
tools/lld/ELF/SyntheticSections.cpp
  671 void MipsGotSection::addEntry(InputFile &file, Symbol &sym, int64_t addend,
  691 void MipsGotSection::addDynTlsEntry(InputFile &file, Symbol &sym) {
  695 void MipsGotSection::addTlsIndex(InputFile &file) {
  721 MipsGotSection::FileGot &MipsGotSection::getGot(InputFile &f) {
  730 uint64_t MipsGotSection::getPageEntryOffset(const InputFile *f,
  745 uint64_t MipsGotSection::getSymEntryOffset(const InputFile *f, const Symbol &s,
  756 uint64_t MipsGotSection::getTlsIndexOffset(const InputFile *f) const {
  761 uint64_t MipsGotSection::getGlobalDynOffset(const InputFile *f,
  876     InputFile *file = srcGot.file;
 1007 uint64_t MipsGotSection::getGp(const InputFile *f) const {
 2044   MapVector<InputFile *, std::vector<SymbolTableEntry>> arr;
 2049   for (std::pair<InputFile *, std::vector<SymbolTableEntry>> &p : arr)
 3479     for (InputFile *file : makeArrayRef(objectFiles).slice(1))
tools/lld/ELF/SyntheticSections.h
  207   void addEntry(InputFile &file, Symbol &sym, int64_t addend, RelExpr expr);
  208   void addDynTlsEntry(InputFile &file, Symbol &sym);
  209   void addTlsIndex(InputFile &file);
  211   uint64_t getPageEntryOffset(const InputFile *f, const Symbol &s,
  213   uint64_t getSymEntryOffset(const InputFile *f, const Symbol &s,
  215   uint64_t getGlobalDynOffset(const InputFile *f, const Symbol &s) const;
  216   uint64_t getTlsIndexOffset(const InputFile *f) const;
  229   uint64_t getGp(const InputFile *f = nullptr) const;
  327     InputFile *file = nullptr;
  363   FileGot &getGot(InputFile &f);
tools/lld/ELF/Target.cpp
  132 bool TargetInfo::needsThunk(RelExpr expr, RelType type, const InputFile *file,
tools/lld/ELF/Target.h
   60                           const InputFile *file, uint64_t branchAddr,
tools/lld/ELF/Thunks.cpp
  258   const InputFile *file;
tools/lld/ELF/Writer.cpp
  680   for (InputFile *file : objectFiles) {
 1246   for (InputFile *file : objectFiles)
tools/lld/ELF/Writer.h
   61 bool isMipsN32Abi(const InputFile *f);
usr/include/c++/7.4.0/type_traits
  381     : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
 1554     { typedef _Tp     type; };
 1558     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1983     { typedef _Up     type; };