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

Derived Classes

tools/lld/ELF/InputSection.h
  104 class InputSectionBase : public SectionBase {
tools/lld/ELF/OutputSections.h
   32 class OutputSection final : public BaseCommand, public SectionBase {

Declarations

tools/lld/ELF/LinkerScript.h
   35 class SectionBase;
tools/lld/ELF/Relocations.h
   23 class SectionBase;

References

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
   57   static inline bool doit(const From &Val) {
  104   static inline bool doit(const From *Val) {
  106     return isa_impl<To, From>::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);
  305 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  306 cast_or_null(Y *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 };
   91   typedef PointerLikeTypeTraits<T *> NonConst;
   93   static inline const void *getAsVoidPointer(const T *P) {
   96   static inline const T *getFromVoidPointer(const void *P) {
tools/lld/ELF/InputSection.cpp
   68   if (sectionKind == SectionBase::Merge && rawData.size() > UINT32_MAX)
  372 bool InputSection::classof(const SectionBase *s) {
  373   return s->kind() == SectionBase::Regular ||
  374          s->kind() == SectionBase::Synthetic;
  457       SectionBase *section = d->section->repl;
 1266                        /*Alignment*/ entsize, data, name, SectionBase::Merge) {}
tools/lld/ELF/InputSection.h
   53   SectionBase *repl;
  104 class InputSectionBase : public SectionBase {
  115   static bool classof(const SectionBase *s) { return s->kind() != Output; }
  143   SectionBase *parent = nullptr;
  241   static bool classof(const SectionBase *s) { return s->kind() == Merge; }
  297   static bool classof(const SectionBase *s) { return s->kind() == EHFrame; }
  334   static bool classof(const SectionBase *s);
tools/lld/ELF/LinkerScript.cpp
   51 static uint64_t getOutputSectionVA(SectionBase *sec) {
  166   SectionBase *sec = value.isAbsolute() ? nullptr : value.sec;
  212     DenseMap<const Defined *, std::pair<SectionBase *, uint64_t>>;
tools/lld/ELF/LinkerScript.h
   41   ExprValue(SectionBase *sec, bool forceAbsolute, uint64_t val,
   53   SectionBase *sec;
tools/lld/ELF/MapFile.cpp
   39 using SymbolMapTy = DenseMap<const SectionBase *, SmallVector<Defined *, 4>>;
tools/lld/ELF/OutputSections.h
   32 class OutputSection final : public BaseCommand, public SectionBase {
   36   static bool classof(const SectionBase *s) {
   37     return s->kind() == SectionBase::Output;
tools/lld/ELF/Relocations.cpp
  501 static void replaceWithDefined(Symbol &sym, SectionBase *sec, uint64_t value,
 1696                                      SectionBase *target) {
tools/lld/ELF/Relocations.h
  154   llvm::DenseMap<std::pair<SectionBase *, uint64_t>, std::vector<Thunk *>>
tools/lld/ELF/Symbols.cpp
   60     SectionBase *isec = d.section;
  196     if (auto *sec = s->section)
tools/lld/ELF/Symbols.h
  289           uint8_t type, uint64_t value, uint64_t size, SectionBase *section)
  297   SectionBase *section;
tools/lld/ELF/SyntheticSections.cpp
  392     if (SectionBase *sec = d->section)
 3349 bool ARMExidxSyntheticSection::classof(const SectionBase *d) {
tools/lld/ELF/SyntheticSections.h
   56   static bool classof(const SectionBase *d) {
   75   static bool classof(const SectionBase *d) {
  190   static bool classof(const SectionBase *s) { return s->bss; }
 1002   static bool classof(const SectionBase *d);
tools/lld/ELF/Writer.cpp
  188     } else if (s->kind() == SectionBase::Regular && part.armExidx &&
  198 static Defined *addOptionalRegular(StringRef name, SectionBase *sec,
  648   SectionBase *sec = sym.section;
  658     SectionBase *sec = d->section;
usr/include/c++/7.4.0/type_traits
 1983     { typedef _Up     type; };