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

Declarations

tools/lld/ELF/LinkerScript.h
   37 class ThunkSection;
tools/lld/ELF/Relocations.h
  120 class ThunkSection;
tools/lld/ELF/Thunks.h
   18 class ThunkSection;

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,
  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*,
  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;
tools/lld/ELF/LinkerScript.h
  182   std::vector<std::pair<ThunkSection *, uint32_t>> thunkSections;
tools/lld/ELF/Relocations.cpp
 1420     auto *ta = dyn_cast<ThunkSection>(a);
 1421     auto *tb = dyn_cast<ThunkSection>(b);
 1557         std::vector<ThunkSection *> newThunks;
 1558         for (const std::pair<ThunkSection *, uint32_t> ts : isd->thunkSections)
 1581 ThunkSection *ThunkCreator::getISDThunkSec(OutputSection *os, InputSection *isec,
 1584   for (std::pair<ThunkSection *, uint32_t> tp : isd->thunkSections) {
 1585     ThunkSection *ts = tp.first;
 1609 ThunkSection *ThunkCreator::getISThunkSec(InputSection *isec) {
 1610   ThunkSection *ts = thunkedSections.lookup(isec);
 1686 ThunkSection *ThunkCreator::addThunkSection(OutputSection *os,
 1689   auto *ts = make<ThunkSection>(os, off);
 1689   auto *ts = make<ThunkSection>(os, off);
 1802               ThunkSection *ts;
tools/lld/ELF/Relocations.h
  137   ThunkSection *getISDThunkSec(OutputSection *os, InputSection *isec,
  141   ThunkSection *getISThunkSec(InputSection *isec);
  148   ThunkSection *addThunkSection(OutputSection *os, InputSectionDescription *,
  166   llvm::DenseMap<InputSection *, ThunkSection *> thunkedSections;
tools/lld/ELF/Thunks.cpp
   55   void addSymbols(ThunkSection &isec) override;
   63   void addSymbols(ThunkSection &isec) override;
  133   void addSymbols(ThunkSection &isec) override;
  142   void addSymbols(ThunkSection &isec) override;
  151   void addSymbols(ThunkSection &isec) override;
  160   void addSymbols(ThunkSection &isec) override;
  174   void addSymbols(ThunkSection &isec) override;
  185   void addSymbols(ThunkSection &isec) override;
  197   void addSymbols(ThunkSection &isec) override;
  206   void addSymbols(ThunkSection &isec) override;
  216   void addSymbols(ThunkSection &isec) override;
  227   void addSymbols(ThunkSection &isec) override;
  238   void addSymbols(ThunkSection &isec) override;
  249   void addSymbols(ThunkSection &isec) override;
  274   void addSymbols(ThunkSection &isec) override;
  289   void addSymbols(ThunkSection &isec) override;
  352 void AArch64ABSLongThunk::addSymbols(ThunkSection &isec) {
  378 void AArch64ADRPThunk::addSymbols(ThunkSection &isec) {
  478 void ARMV7ABSLongThunk::addSymbols(ThunkSection &isec) {
  496 void ThumbV7ABSLongThunk::addSymbols(ThunkSection &isec) {
  517 void ARMV7PILongThunk::addSymbols(ThunkSection &isec) {
  538 void ThumbV7PILongThunk::addSymbols(ThunkSection &isec) {
  553 void ARMV5ABSLongThunk::addSymbols(ThunkSection &isec) {
  579 void ARMV5PILongThunk::addSymbols(ThunkSection &isec) {
  609 void ThumbV6MABSLongThunk::addSymbols(ThunkSection &isec) {
  635 void ThumbV6MPILongThunk::addSymbols(ThunkSection &isec) {
  653 void MipsThunk::addSymbols(ThunkSection &isec) {
  676 void MicroMipsThunk::addSymbols(ThunkSection &isec) {
  700 void MicroMipsR6Thunk::addSymbols(ThunkSection &isec) {
  746 void PPC32PltCallStub::addSymbols(ThunkSection &isec) {
  782 void PPC64PltCallStub::addSymbols(ThunkSection &isec) {
  793 void PPC64LongBranchThunk::addSymbols(ThunkSection &isec) {
tools/lld/ELF/Thunks.h
   39   virtual void addSymbols(ThunkSection &isec) = 0;
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)...);