|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Derived Classes
tools/lld/COFF/Symbols.h 147 class DefinedCOFF : public Defined {
215 class DefinedAbsolute : public Defined {
243 class DefinedSynthetic : public Defined {
312 class DefinedImportData : public Defined {
338 class DefinedImportThunk : public Defined {
360 class DefinedLocalImport : public Defined {
Declarations
tools/lld/COFF/Chunks.h 34 class Defined;
tools/lld/COFF/InputFiles.h 49 class Defined;
tools/lld/COFF/SymbolTable.h 28 class Defined;
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) {
58 return To::classof(&Val);
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) {
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) {
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
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.cpp 318 Defined *sym,
374 auto *sym =
375 dyn_cast_or_null<Defined>(file->getSymbol(rel.SymbolTableIndex));
552 auto *target =
553 dyn_cast_or_null<Defined>(file->getSymbol(rel.SymbolTableIndex));
662 ImportThunkChunkX64::ImportThunkChunkX64(Defined *s) : ImportThunkChunk(s) {
tools/lld/COFF/Chunks.h 468 ImportThunkChunk(Defined *s)
473 Defined *impSymbol;
478 explicit ImportThunkChunkX64(Defined *s);
485 explicit ImportThunkChunkX86(Defined *s) : ImportThunkChunk(s) {}
493 explicit ImportThunkChunkARM(Defined *s) : ImportThunkChunk(s) {}
501 explicit ImportThunkChunkARM64(Defined *s) : ImportThunkChunk(s) {}
508 explicit RangeExtensionThunkARM(Defined *t) : target(t) {}
512 Defined *target;
517 explicit RangeExtensionThunkARM64(Defined *t) : target(t) {}
521 Defined *target;
528 explicit LocalImportChunk(Defined *s) : sym(s) {
536 Defined *sym;
634 RuntimePseudoReloc(Defined *sym, SectionChunk *target, uint32_t targetOffset,
638 Defined *sym;
tools/lld/COFF/DLL.cpp 296 ThunkChunkX64(Defined *i, Chunk *tm) : imp(i), tailMerge(tm) {}
306 Defined *imp = nullptr;
312 TailMergeChunkX64(Chunk *d, Defined *h) : desc(d), helper(h) {}
323 Defined *helper = nullptr;
328 ThunkChunkX86(Defined *i, Chunk *tm) : imp(i), tailMerge(tm) {}
342 Defined *imp = nullptr;
348 TailMergeChunkX86(Chunk *d, Defined *h) : desc(d), helper(h) {}
363 Defined *helper = nullptr;
368 ThunkChunkARM(Defined *i, Chunk *tm) : imp(i), tailMerge(tm) {}
382 Defined *imp = nullptr;
388 TailMergeChunkARM(Chunk *d, Defined *h) : desc(d), helper(h) {}
403 Defined *helper = nullptr;
408 ThunkChunkARM64(Defined *i, Chunk *tm) : imp(i), tailMerge(tm) {}
419 Defined *imp = nullptr;
425 TailMergeChunkARM64(Chunk *d, Defined *h) : desc(d), helper(h) {}
437 Defined *helper = nullptr;
519 write32le(p, cast<Defined>(e.sym)->getRVA() | bit);
624 void DelayLoadContents::create(Defined *h) {
tools/lld/COFF/DLL.h 43 void create(Defined *helper);
55 Defined *helper;
tools/lld/COFF/Driver.cpp 909 if (auto *d = dyn_cast_or_null<Defined>(s))
909 if (auto *d = dyn_cast_or_null<Defined>(s))
1057 auto *def = dyn_cast<Defined>(s);
1057 auto *def = dyn_cast<Defined>(s);
tools/lld/COFF/MinGW.cpp 112 bool AutoExporter::shouldExport(Defined *sym) const {
160 if (auto *def = dyn_cast_or_null<Defined>(e.sym)) {
160 if (auto *def = dyn_cast_or_null<Defined>(e.sym)) {
tools/lld/COFF/MinGW.h 33 bool shouldExport(Defined *sym) const;
tools/lld/COFF/PDB.cpp 1252 static PublicSym32 createPublic(Defined *def) {
1294 auto *def = dyn_cast<Defined>(s);
1294 auto *def = dyn_cast<Defined>(s);
tools/lld/COFF/SymbolTable.cpp 251 Defined *SymbolTable::impSymbol(StringRef name) {
254 return dyn_cast_or_null<Defined>(find(("__imp_" + name).str()));
258 Defined *imp = impSymbol(name);
379 if (imp && isa<Defined>(imp))
409 if (Defined *d = undef->getWeakAlias()) {
428 if (imp && isa<Defined>(imp)) {
429 auto *d = cast<Defined>(imp);
429 auto *d = cast<Defined>(imp);
tools/lld/COFF/SymbolTable.h 122 Defined *impSymbol(StringRef name);
tools/lld/COFF/Symbols.cpp 129 Defined *Undefined::getWeakAlias() {
132 if (auto *d = dyn_cast<Defined>(a))
132 if (auto *d = dyn_cast<Defined>(a))
tools/lld/COFF/Symbols.h 147 class DefinedCOFF : public Defined {
215 class DefinedAbsolute : public Defined {
243 class DefinedSynthetic : public Defined {
303 Defined *getWeakAlias();
312 class DefinedImportData : public Defined {
338 class DefinedImportThunk : public Defined {
360 class DefinedLocalImport : public Defined {
362 DefinedLocalImport(StringRef n, Defined *s)
tools/lld/COFF/Writer.cpp 367 static std::pair<Defined *, bool>
368 getThunk(DenseMap<uint64_t, Defined *> &lastThunks, Defined *target, uint64_t p,
368 getThunk(DenseMap<uint64_t, Defined *> &lastThunks, Defined *target, uint64_t p,
370 Defined *&lastThunk = lastThunks[target->getRVA()];
384 Defined *d = make<DefinedSynthetic>("", c);
402 DenseMap<uint64_t, Defined *> lastThunks;
403 DenseMap<std::pair<ObjFile *, Defined *>, uint32_t> thunkSymtabIndices;
431 Defined *sym = dyn_cast_or_null<Defined>(relocTarget);
431 Defined *sym = dyn_cast_or_null<Defined>(relocTarget);
442 Defined *thunk;
510 Defined *sym = dyn_cast_or_null<Defined>(relocTarget);
510 Defined *sym = dyn_cast_or_null<Defined>(relocTarget);
1004 Defined *helper = cast<Defined>(config->delayLoadHelper);
1004 Defined *helper = cast<Defined>(config->delayLoadHelper);
1157 auto *d = dyn_cast_or_null<Defined>(b);
1157 auto *d = dyn_cast_or_null<Defined>(b);
1337 Defined *entry = cast<Defined>(config->entry);
1337 Defined *entry = cast<Defined>(config->entry);
1404 if (Defined *b = dyn_cast<Defined>(sym)) {
1404 if (Defined *b = dyn_cast<Defined>(sym)) {
1490 static void addSymbolToRVASet(SymbolRVASet &rvaSet, Defined *s) {
1527 addSymbolToRVASet(addressTakenSyms, cast<Defined>(s));
1655 addSymbolToRVASet(tableSymbols, cast<Defined>(s));
usr/include/c++/7.4.0/type_traits 1983 { typedef _Up type; };