Home
last modified time | relevance | path

Searched refs:DefinedRegular (Results 1 – 13 of 13) sorted by relevance

/openbsd-src/gnu/llvm/lld/COFF/
H A DLLDMapFile.cpp36 DenseMap<const SectionChunk *, SmallVector<DefinedRegular *, 4>>;
48 static std::vector<DefinedRegular *> getSymbols(const COFFLinkerContext &ctx) { in getSymbols()
49 std::vector<DefinedRegular *> v; in getSymbols()
52 if (auto *sym = dyn_cast_or_null<DefinedRegular>(b)) in getSymbols()
59 static SymbolMapTy getSectionSyms(ArrayRef<DefinedRegular *> syms) { in getSectionSyms()
61 for (DefinedRegular *s : syms) in getSectionSyms()
66 SmallVectorImpl<DefinedRegular *> &v = it.second; in getSectionSyms()
67 std::stable_sort(v.begin(), v.end(), [](DefinedRegular *a, DefinedRegular *b) { in getSectionSyms()
75 static DenseMap<DefinedRegular *, std::string>
77 ArrayRef<DefinedRegular *> syms) { in getSymbolStrings()
[all …]
H A DSymbolTable.cpp104 DefinedRegular *candidate = nullptr; in getSymbol()
107 auto *d = dyn_cast_or_null<DefinedRegular>(s); in getSymbol()
342 } else if (isa<DefinedRegular>(imp)) { in handleMinGWAutomaticImport()
344 toString(cast<DefinedRegular>(imp)->file)); in handleMinGWAutomaticImport()
345 impSize = sizeof(DefinedRegular); in handleMinGWAutomaticImport()
348 " from " + toString(cast<DefinedRegular>(imp)->file) + in handleMinGWAutomaticImport()
360 DefinedRegular *refptr = in handleMinGWAutomaticImport()
361 dyn_cast_or_null<DefinedRegular>(find((".refptr." + name).str())); in handleMinGWAutomaticImport()
481 if (isa<DefinedRegular>(d)) in resolveRemainingUndefines()
482 memcpy(sym, d, sizeof(DefinedRegular)); in resolveRemainingUndefines()
[all …]
H A DICF.cpp162 if (auto *d1 = dyn_cast<DefinedRegular>(b1)) in equalsConstant()
163 if (auto *d2 = dyn_cast<DefinedRegular>(b2)) in equalsConstant()
188 if (auto *d1 = dyn_cast<DefinedRegular>(b1)) in equalsVariable()
189 if (auto *d2 = dyn_cast<DefinedRegular>(b2)) in equalsVariable()
280 if (auto *sym = dyn_cast_or_null<DefinedRegular>(b)) in run()
H A DSymbols.h198 class DefinedRegular : public DefinedCOFF {
200 DefinedRegular(InputFile *f, StringRef n, bool isCOMDAT,
439 return cast<DefinedRegular>(this)->getRVA(); in getRVA()
452 return cast<DefinedRegular>(this)->getChunk(); in getChunk()
478 alignas(DefinedRegular) char a[sizeof(DefinedRegular)];
H A DSymbolTable.h30 class DefinedRegular; variable
100 std::pair<DefinedRegular *, bool>
H A DInputFiles.cpp374 return make<DefinedRegular>(this, /*Name*/ "", /*IsCOMDAT*/ false, in createRegular()
466 DefinedRegular *leader, in handleComdatSelection()
573 replaceSymbol<DefinedRegular>(leader, this, name, /*IsCOMDAT*/ true, in handleComdatSelection()
638 DefinedRegular *leader; in createDefined()
644 leader = make<DefinedRegular>(this, /*Name*/ "", /*IsCOMDAT*/ false, in createDefined()
664 c->sym = cast<DefinedRegular>(leader); in createDefined()
666 cast<DefinedRegular>(leader)->data = &c->repl; in createDefined()
1052 if (cast<DefinedRegular>(sym)->data == nullptr) in parse()
1053 cast<DefinedRegular>(sym)->data = &fakeSC->repl; in parse()
H A DMarkLive.cpp45 if (auto *sym = dyn_cast<DefinedRegular>(b)) in markLive()
H A DInputFiles.h57 class DefinedRegular; variable
258 bool &prevailing, DefinedRegular *leader,
H A DSymbols.cpp82 if (auto *r = dyn_cast<DefinedRegular>(this)) in isLive()
H A DMinGW.cpp141 if (!isa<DefinedRegular>(sym) && !isa<DefinedCommon>(sym)) in shouldExport()
H A DChunks.h35 class DefinedRegular; variable
337 DefinedRegular *sym = nullptr;
H A DWriter.cpp871 if (DefinedRegular *sym = it.first->sym) in sortSections()
1567 if (auto *b = dyn_cast<DefinedRegular>(sym)) { in writeHeader()
1686 auto *d = cast<DefinedRegular>(s); in maybeAddAddressTakenFunction()
2191 auto *b = cast_if_present<DefinedRegular>(sym); in checkLoadConfig()
H A DPDB.cpp1733 if (auto *s = dyn_cast_or_null<DefinedRegular>( in findLineTable()