|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/lld/COFF/Chunks.h 36 class DefinedRegular;
tools/lld/COFF/InputFiles.h 52 class DefinedRegular;
tools/lld/COFF/SymbolTable.h 30 class DefinedRegular;
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/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);
66 static inline bool doit(const From &) { return true; }
104 static inline bool doit(const From *Val) {
106 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,
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) {
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *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*,
265 return cast_convert_val<X, Y*,
266 typename simplify_type<Y*>::SimpleType>::doit(Val);
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;
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 };
tools/lld/COFF/Chunks.h 311 DefinedRegular *sym = nullptr;
tools/lld/COFF/ICF.cpp 157 if (auto *d1 = dyn_cast<DefinedRegular>(b1))
157 if (auto *d1 = dyn_cast<DefinedRegular>(b1))
158 if (auto *d2 = dyn_cast<DefinedRegular>(b2))
158 if (auto *d2 = dyn_cast<DefinedRegular>(b2))
183 if (auto *d1 = dyn_cast<DefinedRegular>(b1))
183 if (auto *d1 = dyn_cast<DefinedRegular>(b1))
184 if (auto *d2 = dyn_cast<DefinedRegular>(b2))
184 if (auto *d2 = dyn_cast<DefinedRegular>(b2))
275 if (auto *sym = dyn_cast_or_null<DefinedRegular>(b))
275 if (auto *sym = dyn_cast_or_null<DefinedRegular>(b))
tools/lld/COFF/InputFiles.cpp 397 return make<DefinedRegular>(this, /*Name*/ "", /*IsCOMDAT*/ false,
474 bool &prevailing, DefinedRegular *leader) {
562 replaceSymbol<DefinedRegular>(leader, this, name, /*IsCOMDAT*/ true,
631 DefinedRegular *leader;
637 leader = make<DefinedRegular>(this, /*Name*/ "", /*IsCOMDAT*/ false,
657 c->sym = cast<DefinedRegular>(leader);
659 cast<DefinedRegular>(leader)->data = &c->repl;
tools/lld/COFF/InputFiles.h 254 bool &prevailing, DefinedRegular *leader);
tools/lld/COFF/MapFile.cpp 36 DenseMap<const SectionChunk *, SmallVector<DefinedRegular *, 4>>;
48 static std::vector<DefinedRegular *> getSymbols() {
49 std::vector<DefinedRegular *> v;
52 if (auto *sym = dyn_cast_or_null<DefinedRegular>(b))
52 if (auto *sym = dyn_cast_or_null<DefinedRegular>(b))
61 for (DefinedRegular *s : syms)
66 SmallVectorImpl<DefinedRegular *> &v = it.second;
75 static DenseMap<DefinedRegular *, std::string>
76 getSymbolStrings(ArrayRef<DefinedRegular *> syms) {
84 DenseMap<DefinedRegular *, std::string> ret;
100 std::vector<DefinedRegular *> syms = getSymbols();
102 DenseMap<DefinedRegular *, std::string> symStr = getSymbolStrings(syms);
120 for (DefinedRegular *sym : sectionSyms[sc])
tools/lld/COFF/MarkLive.cpp 45 if (auto *sym = dyn_cast<DefinedRegular>(b))
45 if (auto *sym = dyn_cast<DefinedRegular>(b))
tools/lld/COFF/MinGW.cpp 118 if (!isa<DefinedRegular>(sym) && !isa<DefinedCommon>(sym))
tools/lld/COFF/PDB.cpp 1730 if (auto *s = dyn_cast_or_null<DefinedRegular>(
1730 if (auto *s = dyn_cast_or_null<DefinedRegular>(
tools/lld/COFF/SymbolTable.cpp 87 DefinedRegular *candidate = nullptr;
90 auto *d = dyn_cast_or_null<DefinedRegular>(s);
90 auto *d = dyn_cast_or_null<DefinedRegular>(s);
273 } else if (isa<DefinedRegular>(imp)) {
275 toString(cast<DefinedRegular>(imp)->file));
276 impSize = sizeof(DefinedRegular);
279 " from " + toString(cast<DefinedRegular>(imp)->file) +
291 DefinedRegular *refptr =
292 dyn_cast_or_null<DefinedRegular>(find((".refptr." + name).str()));
415 if (isa<DefinedRegular>(d))
416 memcpy(sym, d, sizeof(DefinedRegular));
570 DefinedRegular *d = cast<DefinedRegular>(existing);
570 DefinedRegular *d = cast<DefinedRegular>(existing);
628 if (wasInserted || !isa<DefinedRegular>(s))
629 replaceSymbol<DefinedRegular>(s, f, n, /*IsCOMDAT*/ false,
636 std::pair<DefinedRegular *, bool>
642 if (wasInserted || !isa<DefinedRegular>(s)) {
643 replaceSymbol<DefinedRegular>(s, f, n, /*IsCOMDAT*/ true,
645 return {cast<DefinedRegular>(s), true};
647 auto *existingSymbol = cast<DefinedRegular>(s);
647 auto *existingSymbol = cast<DefinedRegular>(s);
tools/lld/COFF/SymbolTable.h 95 std::pair<DefinedRegular *, bool>
tools/lld/COFF/Symbols.cpp 85 if (auto *r = dyn_cast<DefinedRegular>(this))
tools/lld/COFF/Symbols.h 391 return cast<DefinedRegular>(this)->getRVA();
403 return cast<DefinedRegular>(this)->getChunk();
428 alignas(DefinedRegular) char a[sizeof(DefinedRegular)];
444 static_assert(sizeof(T) <= sizeof(SymbolUnion), "Symbol too small");
445 static_assert(alignof(T) <= alignof(SymbolUnion),
449 new (s) T(std::forward<ArgT>(arg)...);
tools/lld/COFF/Writer.cpp 1416 if (auto *b = dyn_cast<DefinedRegular>(sym)) {
1416 if (auto *b = dyn_cast<DefinedRegular>(sym)) {
1534 auto *d = cast<DefinedRegular>(s);
1534 auto *d = cast<DefinedRegular>(s);
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)...);
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
326 : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
354 : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
381 : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
567 : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
631 : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::type
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
798 typedef decltype(__test<_Tp>(0)) type;
811 remove_all_extents<_Tp>::type>::type
825 : public __is_destructible_safe<_Tp>::type
1447 : public __and_<is_destructible<_Tp>, integral_constant<bool,
1554 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1659 { typedef _Tp&& type; };
1955 { typedef _Tp type; };
1983 { typedef _Up type; };