Home
last modified time | relevance | path

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

/external/llvm-project/lld/COFF/
DLLDMapFile.cpp35 DenseMap<const SectionChunk *, SmallVector<DefinedRegular *, 4>>;
47 static std::vector<DefinedRegular *> getSymbols() { in getSymbols()
48 std::vector<DefinedRegular *> v; in getSymbols()
51 if (auto *sym = dyn_cast_or_null<DefinedRegular>(b)) in getSymbols()
58 static SymbolMapTy getSectionSyms(ArrayRef<DefinedRegular *> syms) { in getSectionSyms()
60 for (DefinedRegular *s : syms) in getSectionSyms()
65 SmallVectorImpl<DefinedRegular *> &v = it.second; in getSectionSyms()
66 std::stable_sort(v.begin(), v.end(), [](DefinedRegular *a, DefinedRegular *b) { in getSectionSyms()
74 static DenseMap<DefinedRegular *, std::string>
75 getSymbolStrings(ArrayRef<DefinedRegular *> syms) { in getSymbolStrings()
[all …]
DSymbolTable.cpp88 DefinedRegular *candidate = nullptr; in getSymbol()
91 auto *d = dyn_cast_or_null<DefinedRegular>(s); in getSymbol()
294 } else if (isa<DefinedRegular>(imp)) { in handleMinGWAutomaticImport()
296 toString(cast<DefinedRegular>(imp)->file)); in handleMinGWAutomaticImport()
297 impSize = sizeof(DefinedRegular); in handleMinGWAutomaticImport()
300 " from " + toString(cast<DefinedRegular>(imp)->file) + in handleMinGWAutomaticImport()
312 DefinedRegular *refptr = in handleMinGWAutomaticImport()
313 dyn_cast_or_null<DefinedRegular>(find((".refptr." + name).str())); in handleMinGWAutomaticImport()
436 if (isa<DefinedRegular>(d)) in resolveRemainingUndefines()
437 memcpy(sym, d, sizeof(DefinedRegular)); in resolveRemainingUndefines()
[all …]
DICF.cpp160 if (auto *d1 = dyn_cast<DefinedRegular>(b1)) in equalsConstant()
161 if (auto *d2 = dyn_cast<DefinedRegular>(b2)) in equalsConstant()
186 if (auto *d1 = dyn_cast<DefinedRegular>(b1)) in equalsVariable()
187 if (auto *d2 = dyn_cast<DefinedRegular>(b2)) in equalsVariable()
278 if (auto *sym = dyn_cast_or_null<DefinedRegular>(b)) in run()
DSymbols.h193 class DefinedRegular : public DefinedCOFF {
195 DefinedRegular(InputFile *f, StringRef n, bool isCOMDAT,
423 return cast<DefinedRegular>(this)->getRVA(); in getRVA()
435 return cast<DefinedRegular>(this)->getChunk(); in getChunk()
460 alignas(DefinedRegular) char a[sizeof(DefinedRegular)];
DSymbolTable.h30 class DefinedRegular; variable
94 std::pair<DefinedRegular *, bool>
DInputFiles.cpp400 return make<DefinedRegular>(this, /*Name*/ "", /*IsCOMDAT*/ false, in createRegular()
492 DefinedRegular *leader, in handleComdatSelection()
599 replaceSymbol<DefinedRegular>(leader, this, name, /*IsCOMDAT*/ true, in handleComdatSelection()
664 DefinedRegular *leader; in createDefined()
670 leader = make<DefinedRegular>(this, /*Name*/ "", /*IsCOMDAT*/ false, in createDefined()
690 c->sym = cast<DefinedRegular>(leader); in createDefined()
692 cast<DefinedRegular>(leader)->data = &c->repl; in createDefined()
DMarkLive.cpp47 if (auto *sym = dyn_cast<DefinedRegular>(b)) in markLive()
DInputFiles.h55 class DefinedRegular; variable
263 bool &prevailing, DefinedRegular *leader,
DSymbols.cpp77 if (auto *r = dyn_cast<DefinedRegular>(this)) in isLive()
DMinGW.cpp131 if (!isa<DefinedRegular>(sym) && !isa<DefinedCommon>(sym)) in shouldExport()
DChunks.h36 class DefinedRegular; variable
308 DefinedRegular *sym = nullptr;
DWriter.cpp820 if (DefinedRegular *sym = it.first->sym) in sortSections()
1477 if (auto *b = dyn_cast<DefinedRegular>(sym)) { in writeHeader()
1595 auto *d = cast<DefinedRegular>(s); in maybeAddAddressTakenFunction()
DPDB.cpp1491 if (auto *s = dyn_cast_or_null<DefinedRegular>( in findLineTable()