| /freebsd/contrib/llvm-project/lld/MachO/ |
| H A D | ObjC.cpp | 168 void parseClass(const Defined *classSym); 266 if (auto *d = dyn_cast<Defined>(classSym)) in parseCategory() 281 void ObjcCategoryChecker::parseClass(const Defined *classSym) { in parseClass() 451 void emitAndLinkPointerList(Defined *parentSym, uint32_t linkAtOffset, 455 Defined *emitAndLinkProtocolList(Defined *parentSym, uint32_t linkAtOffset, 459 Defined *emitCategory(const ClassExtensionInfo &extInfo); 460 Defined *emitCatListEntrySec(const std::string &forCategoryName, 463 Defined *emitCategoryBody(const std::string &name, const Defined *nameSym, 466 Defined *emitCategoryName(const std::string &name, ObjFile *objFile); 467 void createSymbolReference(Defined *refFrom, const Symbol *refTo, [all …]
|
| H A D | Symbols.cpp | 24 static_assert(sizeof(void *) != 8 || sizeof(Defined) == 88, 28 static_assert(sizeof(SymbolUnion) == sizeof(Defined), 55 Defined::Defined(StringRef name, InputFile *file, InputSection *isec, in Defined() function in Defined 84 bool Defined::isTlv() const { in isTlv() 88 uint64_t Defined::getVA() const { in getVA() 108 ObjFile *Defined::getObjectFile() const { in getObjectFile() 113 std::string Defined::getSourceLocation() { in getSourceLocation() 120 InputSection *Defined::isec() const { in isec() 125 ConcatInputSection *Defined::unwindEntry() const { in unwindEntry()
|
| H A D | BPSectionOrderer.cpp | 29 using Defined = macho::Defined; typedef 37 static ArrayRef<Defined *> getSymbols(const Section &sec) { in getSymbols() 79 static llvm::StringRef getSymName(const Defined &sym) { in getSymName() 82 static uint64_t getSymValue(const Defined &sym) { return sym.value; } in getSymValue() 83 static uint64_t getSymSize(const Defined &sym) { return sym.size; } in getSymSize() 99 if (auto *d = llvm::dyn_cast<Defined>(sym)) in getRelocHash()
|
| H A D | ICF.cpp | 134 assert(isa<Defined>(sa)); in equalsConstant() 135 const auto *da = cast<Defined>(sa); in equalsConstant() 136 const auto *db = cast<Defined>(sb); in equalsConstant() 202 const auto *da = cast<Defined>(cast<Symbol *>(ra.referent)); in equalsVariable() 203 const auto *db = cast<Defined>(cast<Symbol *>(rb.referent)); in equalsVariable() 227 auto hasUnwind = [](Defined *d) { return d->unwindEntry() != nullptr; }; in equalsVariable() 234 const Defined *da = *itA; in equalsVariable() 235 const Defined *db = *itB; in equalsVariable() 240 auto isZero = [](Defined *d) { return d->value == 0; }; in equalsVariable() 269 if (auto *d = dyn_cast<Defined>(sym)) in getThunkTargetSymbol() [all …]
|
| H A D | SymbolTable.h | 28 class Defined; variable 39 Defined *addDefined(StringRef name, InputFile *, InputSection *, 44 Defined *aliasDefined(Defined *src, StringRef target, InputFile *newFile, 59 Defined *addSynthetic(StringRef name, InputSection *, uint64_t value,
|
| H A D | ICF.h | 18 class Defined; variable 27 Defined *getBodyForThunkFoldedSym(Defined *foldedSym);
|
| H A D | SymbolTable.cpp | 67 InputSection *toIsec, Defined *skip, in transplantSymbolsAtOffset() 71 return cast<Defined>(s)->value > off; in transplantSymbolsAtOffset() 80 auto *d = cast<Defined>(s); in transplantSymbolsAtOffset() 101 Defined *SymbolTable::addDefined(StringRef name, InputFile *file, in addDefined() 113 if (auto *defined = dyn_cast<Defined>(s)) { in addDefined() 210 Defined *defined = replaceSymbol<Defined>( in addDefined() 217 Defined *SymbolTable::aliasDefined(Defined *src, StringRef target, in aliasDefined() 254 } else if (isa<Defined>(s)) { in addCommon() 271 if (auto *defined = dyn_cast<Defined>(s)) { in addDylib() 335 Defined *SymbolTable::addSynthetic(StringRef name, InputSection *isec, in addSynthetic() [all …]
|
| H A D | OutputSection.h | 21 class Defined; variable 81 llvm::TinyPtrVector<Defined *> sectionStartSymbols; 82 llvm::TinyPtrVector<Defined *> sectionEndSymbols;
|
| H A D | MarkLive.cpp | 90 const TinyPtrVector<Defined *> &symbols = entry->isec->symbols; in printWhyLive() 110 if (auto *d = dyn_cast<Defined>(s)) { in addSym() 163 for (Defined *d : getInputSection(entry)->symbols) in markTransitively() 179 if (auto *d = dyn_cast<Defined>(s)) in markTransitively() 212 if (auto *defined = dyn_cast<Defined>(sym)) { in markLive() 253 if (auto *defined = dyn_cast_or_null<Defined>(sym)) in markLive()
|
| H A D | OutputSection.cpp | 19 for (Defined *d : sectionStartSymbols) in assignAddressesToStartEndSymbols() 21 for (Defined *d : sectionEndSymbols) in assignAddressesToStartEndSymbols()
|
| H A D | UnwindInfoSection.h | 23 void addSymbol(const Defined *); 30 const Defined *>
|
| H A D | Symbols.h | 79 assert(isa<Defined>(this) || isa<DylibSymbol>(this)); in resolveBranchVA() 115 class Defined : public Symbol { 117 Defined(StringRef name, InputFile *file, InputSection *isec, uint64_t value, 357 alignas(Defined) char a[sizeof(Defined)]; 386 if (const auto *defined = dyn_cast<Defined>(sym)) in needsBinding()
|
| /freebsd/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | jemalloc_internal_defs.h.in | 46 /* Defined if C11 atomics are available. */ 49 /* Defined if GCC __atomic atomics are available. */ 54 /* Defined if GCC __sync atomics are available. */ 60 * Defined if __builtin_clz() and __builtin_clzl() are available. 65 * Defined if os_unfair_lock_*() functions are available, as provided by Darwin. 69 /* Defined if syscall(2) is usable. */ 73 * Defined if secure_getenv(3) is available. 78 * Defined if issetugid(2) is available. 82 /* Defined if pthread_atfork(3) is available. */ 85 /* Defined if pthread_setname_np(3) is available. */ [all …]
|
| /freebsd/contrib/llvm-project/lld/COFF/ |
| H A D | MapFile.cpp | 66 static void sortUniqueSymbols(std::vector<Defined *> &syms, in sortUniqueSymbols() 69 using SortEntry = std::pair<Defined *, size_t>; in sortUniqueSymbols() 98 std::vector<Defined *> &syms, in getSymbols() 99 std::vector<Defined *> &staticSyms) { in getSymbols() 114 } else if (auto *sym = dyn_cast<Defined>(b)) { in getSymbols() 142 static DenseMap<Defined *, std::string> 143 getSymbolStrings(const COFFLinkerContext &ctx, ArrayRef<Defined *> syms) { in getSymbolStrings() 147 Defined *sym = syms[i]; in getSymbolStrings() 196 DenseMap<Defined *, std::string> ret; in getSymbolStrings() 216 std::vector<Defined *> syms; in writeMapFile() [all …]
|
| H A D | Symbols.h | 164 class Defined : public Symbol { 166 Defined(Kind k, StringRef n) : Symbol(k, n) {} in Defined() function 183 class DefinedCOFF : public Defined { 188 : Defined(k, n), file(f), sym(s) {} in DefinedCOFF() 252 class DefinedAbsolute : public Defined { 255 : Defined(DefinedAbsoluteKind, n), va(s.getValue()), ctx(c) { in DefinedAbsolute() 260 : Defined(DefinedAbsoluteKind, n), va(v), ctx(c) {} in DefinedAbsolute() 277 class DefinedSynthetic : public Defined { 280 : Defined(DefinedSyntheticKind, name), c(c), offset(offset) {} in Defined() function 351 Defined *getDefinedWeakAlias() { in getDefinedWeakAlias() [all …]
|
| H A D | Chunks.h | 35 class Defined; variable 130 Defined *getEntryThunk() const; 131 void setEntryThunk(Defined *entryThunk); 217 RuntimePseudoReloc(Defined *sym, SectionChunk *target, uint32_t targetOffset, in RuntimePseudoReloc() 221 Defined *sym; 419 Defined *entryThunk = nullptr; 567 ImportThunkChunk(COFFLinkerContext &ctx, Defined *s); 575 Defined *impSymbol; 581 explicit ImportThunkChunkX64(COFFLinkerContext &ctx, Defined *s); 589 explicit ImportThunkChunkX86(COFFLinkerContext &ctx, Defined *s) in ImportThunkChunkX86() [all …]
|
| H A D | DLL.cpp | 357 ThunkChunkX64(Defined *i, Chunk *tm) : imp(i), tailMerge(tm) {} in ThunkChunkX64() 368 Defined *imp = nullptr; 374 TailMergeChunkX64(Chunk *d, Defined *h) : desc(d), helper(h) {} in TailMergeChunkX64() 386 Defined *helper = nullptr; 428 ThunkChunkX86(COFFLinkerContext &ctx, Defined *i, Chunk *tm) in ThunkChunkX86() 444 Defined *imp = nullptr; 453 TailMergeChunkX86(COFFLinkerContext &ctx, Chunk *d, Defined *h) in TailMergeChunkX86() 470 Defined *helper = nullptr; 478 ThunkChunkARM(COFFLinkerContext &ctx, Defined *i, Chunk *tm) in ThunkChunkARM() 496 Defined *imp = nullptr; [all …]
|
| /freebsd/contrib/jemalloc/include/jemalloc/ |
| H A D | jemalloc_defs.h.in | 1 /* Defined if __attribute__((...)) syntax is supported. */ 4 /* Defined if alloc_size attribute is supported. */ 7 /* Defined if format_arg(...) attribute is supported. */ 10 /* Defined if format(gnu_printf, ...) attribute is supported. */ 13 /* Defined if format(printf, ...) attribute is supported. */ 16 /* Defined if fallthrough attribute is supported. */ 19 /* Defined if cold attribute is supported. */
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | BPSectionOrderer.cpp | 25 using Defined = elf::Defined; typedef 29 DenseMap<const InputSectionBase *, Defined *> secToSym; 35 ArrayRef<Defined *> getSymbols(const Section &sec) { in getSymbols() 59 static StringRef getSymName(const Defined &sym) { return sym.getName(); } in getSymName() 60 static uint64_t getSymValue(const Defined &sym) { return sym.value; } in getSymValue() 61 static uint64_t getSymSize(const Defined &sym) { return sym.size; } in getSymSize() 75 auto *d = dyn_cast<Defined>(&sym); in runBalancedPartitioning()
|
| H A D | MapFile.cpp | 40 SmallVector<std::pair<Defined *, uint64_t>, 0>>; 55 static std::vector<Defined *> getSymbols(Ctx &ctx) { in getSymbols() 56 std::vector<Defined *> v; in getSymbols() 59 if (auto *dr = dyn_cast<Defined>(b)) in getSymbols() 69 static SymbolMapTy getSectionSyms(Ctx &ctx, ArrayRef<Defined *> syms) { in getSectionSyms() 71 for (Defined *dr : syms) in getSectionSyms() 77 SmallPtrSet<Defined *, 4> set; in getSectionSyms() 81 llvm::erase_if(it.second, [&](std::pair<Defined *, uint64_t> a) { in getSectionSyms() argument 94 getSymbolStrings(Ctx &ctx, ArrayRef<Defined *> syms) { in getSymbolStrings() 152 std::vector<Defined *> syms = getSymbols(ctx); in writeMapFile() [all …]
|
| H A D | Thunks.h | 17 class Defined; variable 44 Defined *addSymbol(StringRef name, uint8_t type, uint64_t value, 63 Defined *getThunkTargetSym() const { return syms[0]; } in getThunkTargetSym() 70 llvm::SmallVector<Defined *, 3> syms;
|
| H A D | Symbols.h | 26 class Defined; variable 227 void resolve(Ctx &, const Defined &other); 236 void checkDuplicate(Ctx &, const Defined &other) const; 239 bool shouldReplace(Ctx &, const Defined &other) const; 370 class Defined : public Symbol { 372 Defined(Ctx &ctx, InputFile *file, StringRef name, uint8_t binding, in Defined() function 518 alignas(Defined) char a[sizeof(Defined)]; 525 template <typename... T> Defined *makeDefined(T &&...args) { in makeDefined() 528 auto &s = *new (reinterpret_cast<Defined *>(sym)) Defined(std::forward<T>(args)...); in makeDefined()
|
| H A D | Config.h | 46 class Defined; variable 632 Defined *bss; 635 Defined *etext1; 636 Defined *etext2; 639 Defined *edata1; 640 Defined *edata2; 643 Defined *end1; 644 Defined *end2; 649 Defined *globalOffsetTable; 652 Defined *mipsGp; [all …]
|
| H A D | Symbols.cpp | 39 AssertSymbol<Defined>(); in assertSymbols() 69 auto &d = cast<Defined>(sym); in getSymVA() 191 if (const auto *dr = dyn_cast<Defined>(this)) in getSize() 197 if (auto *s = dyn_cast<Defined>(this)) { in getOutputSection() 307 auto *d = dyn_cast<Defined>(sym); in maybeWarnUnorderableSymbol() 508 bool Symbol::shouldReplace(Ctx &ctx, const Defined &other) const { in shouldReplace() 533 const Defined *d = dyn_cast<Defined>(&sym); in reportDuplicate() 567 void Symbol::checkDuplicate(Ctx &ctx, const Defined &other) const { in checkDuplicate() 610 void Symbol::resolve(Ctx &ctx, const Defined &other) { in resolve() 678 void Defined::overwrite(Symbol &sym) const { in overwrite() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Object/ |
| H A D | RecordStreamer.cpp | 25 case Defined: in markDefined() 27 S = Defined; in markDefined() 41 case Defined: in markGlobal() 60 case Defined: in markUsed() 171 case RecordStreamer::Defined: in flushSymverDirectives()
|