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

Declarations

tools/lld/include/lld/ReaderWriter/MachOLinkingContext.h
   29 class MachOFile;

References

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,
  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;
tools/lld/include/lld/ReaderWriter/MachOLinkingContext.h
   99   typename std::enable_if<!std::is_array<T>::value, T *>::type
   99   typename std::enable_if<!std::is_array<T>::value, T *>::type
  101     auto file = std::unique_ptr<T>(new T(std::forward<Args>(args)...));
  102     auto *filePtr = file.get();
tools/lld/lib/ReaderWriter/MachO/ArchHandler.h
  227   virtual const DefinedAtom *createShim(MachOFile &file, bool thumbToArm,
tools/lld/lib/ReaderWriter/MachO/ArchHandler_arm.cpp
  142   const DefinedAtom *createShim(MachOFile &file, bool thumbToArm,
 1416   Thumb2ToArmShimAtom(MachOFile &file, StringRef targetName,
 1463   ArmToThumbShimAtom(MachOFile &file, StringRef targetName,
 1506 const DefinedAtom *ArchHandler_arm::createShim(MachOFile &file,
tools/lld/lib/ReaderWriter/MachO/CompactUnwindPass.cpp
  277         _file(*_ctx.make_file<MachOFile>("<mach-o Compact Unwind Pass>")),
  570   MachOFile &_file;
tools/lld/lib/ReaderWriter/MachO/GOTPass.cpp
   95         _file(*_ctx.make_file<MachOFile>("<mach-o GOT Pass>")) {
  173   MachOFile                                       &_file;
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
 1026   auto *machoFile = dyn_cast<MachOFile>(&file);
 1026   auto *machoFile = dyn_cast<MachOFile>(&file);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFile.h
  302 normalizedObjectToAtoms(MachOFile *file,
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
  545       std::make_unique<MachOFile>(std::move(mb), &_ctx);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
  407   if (auto *machoFile = dyn_cast<mach_o::MachOFile>(&atom->file())) {
  802   std::set<const mach_o::MachOFile*> filesWithStabs;
  821           if (const mach_o::MachOFile *atomFile =
  822               dyn_cast<mach_o::MachOFile>(&info.atom->file())) {
  856     const auto &atomFile = cast<mach_o::MachOFile>(atom->file());
  856     const auto &atomFile = cast<mach_o::MachOFile>(atom->file());
  935   for (const auto *objFile : filesWithStabs) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
  240                     MachOFile &file, uint64_t symbolAddr, StringRef symbolName,
  278                                    MachOFile &file, bool scatterable,
  384                            MachOFile &file, bool scatterable,
  504 findAtomCoveringAddress(const NormalizedFile &normalizedFile, MachOFile &file,
  524                           MachOFile &file,
  695 static const Atom* findDefinedAtomByName(MachOFile &file, Twine name) {
  710 llvm::Error parseStabs(MachOFile &file,
  938 llvm::Error parseDebugInfo(MachOFile &file,
 1071                               MachOFile &file,
 1176                               MachOFile &file,
 1320                                  MachOFile &file,
 1360                                MachOFile &file) {
 1404   std::unique_ptr<MachOFile> file(new MachOFile(path));
 1404   std::unique_ptr<MachOFile> file(new MachOFile(path));
 1430 normalizedObjectToAtoms(MachOFile *file,
tools/lld/lib/ReaderWriter/MachO/ObjCPass.cpp
  100         _file(*_ctx.make_file<MachOFile>("<mach-o objc pass>")) {
  121   MachOFile                   &_file;
tools/lld/lib/ReaderWriter/MachO/ShimPass.cpp
   45         _file(*_ctx.make_file<MachOFile>("<mach-o shim pass>")) {
  117   MachOFile                                      &_file;
tools/lld/lib/ReaderWriter/MachO/StubsPass.cpp
  213         _file(*_ctx.make_file<MachOFile>("<mach-o Stubs pass>")) {
  368   MachOFile                                      &_file;
tools/lld/lib/ReaderWriter/MachO/TLVPass.cpp
   69         _file(*_ctx.make_file<MachOFile>("<mach-o TLV pass>")) {
  130   MachOFile           &_file;
usr/include/c++/7.4.0/bits/unique_ptr.h
   68         default_delete(const default_delete<_Up>&) noexcept { }
   72       operator()(_Tp* __ptr) const
   74 	static_assert(!is_void<_Tp>::value,
   76 	static_assert(sizeof(_Tp)>0,
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
  811     { typedef unique_ptr<_Tp> __single_object; };
  823     inline typename _MakeUniq<_Tp>::__single_object
  825     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>