Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/lld/COFF/
H A DMapFile.cpp49 static std::vector<DefinedRegular *> getSymbols() { in getSymbols()
50 std::vector<DefinedRegular *> V; in getSymbols()
53 if (auto *Sym = dyn_cast_or_null<DefinedRegular>(B)) in getSymbols()
62 for (DefinedRegular *S : Syms) in getSectionSyms()
67 SmallVectorImpl<DefinedRegular *> &V = It.second; in getSectionSyms()
68 std::sort(V.begin(), V.end(), [](DefinedRegular *A, DefinedRegular *B) { in getSectionSyms()
76 static DenseMap<DefinedRegular *, std::string>
77 getSymbolStrings(ArrayRef<DefinedRegular *> Syms) { in getSymbolStrings()
85 DenseMap<DefinedRegular *, std::string> Ret; in getSymbolStrings()
101 std::vector<DefinedRegular *> Syms = getSymbols(); in writeMapFile()
[all …]
H A DSymbolTable.cpp73 DefinedRegular *Candidate = nullptr; in getSymbol()
76 auto *D = dyn_cast_or_null<DefinedRegular>(S); in getSymbol()
170 } else if (isa<DefinedRegular>(Imp)) { in handleMinGWAutomaticImport()
172 toString(cast<DefinedRegular>(Imp)->File)); in handleMinGWAutomaticImport()
173 ImpSize = sizeof(DefinedRegular); in handleMinGWAutomaticImport()
188 DefinedRegular *Refptr = in handleMinGWAutomaticImport()
222 if (isa<DefinedRegular>(D)) in reportRemainingUndefines()
223 memcpy(Sym, D, sizeof(DefinedRegular)); in reportRemainingUndefines()
395 if (WasInserted || !isa<DefinedRegular>(S)) in addRegular()
409 if (WasInserted || !isa<DefinedRegular>(S)) { in addComdat()
[all …]
H A DSymbols.h156 class DefinedRegular : public DefinedCOFF {
158 DefinedRegular(InputFile *F, StringRef N, bool IsCOMDAT,
374 return cast<DefinedRegular>(this)->getRVA(); in getRVA()
385 return cast<DefinedRegular>(this)->getChunk(); in getChunk()
409 alignas(DefinedRegular) char A[sizeof(DefinedRegular)];
H A DICF.cpp159 if (auto *D1 = dyn_cast<DefinedRegular>(B1)) in equalsConstant()
160 if (auto *D2 = dyn_cast<DefinedRegular>(B2)) in equalsConstant()
184 if (auto *D1 = dyn_cast<DefinedRegular>(B1)) in equalsVariable()
185 if (auto *D2 = dyn_cast<DefinedRegular>(B2)) in equalsVariable()
275 if (auto *Sym = dyn_cast_or_null<DefinedRegular>(B)) in run()
H A DInputFiles.cpp294 return make<DefinedRegular>(this, /*Name*/ "", /*IsCOMDAT*/ false, in createRegular()
425 Leader = make<DefinedRegular>(this, /*Name*/ "", /*IsCOMDAT*/ false, in createDefined()
433 C->Sym = cast<DefinedRegular>(Leader); in createDefined()
434 cast<DefinedRegular>(Leader)->Data = &C->Repl; in createDefined()
H A DMarkLive.cpp46 if (auto *Sym = dyn_cast<DefinedRegular>(B)) in markLive()
H A DMinGW.cpp127 if (!isa<DefinedRegular>(Sym) && !isa<DefinedCommon>(Sym)) in shouldExport()
H A DSymbols.cpp56 if (auto *R = dyn_cast<DefinedRegular>(this)) in isLive()
H A DChunks.h36 class DefinedRegular; variable
225 DefinedRegular *Sym = nullptr;
H A DWriter.cpp1260 if (auto *B = dyn_cast<DefinedRegular>(Sym)) { in writeHeader()
1385 auto *D = cast<DefinedRegular>(S); in maybeAddAddressTakenFunction()
H A DPDB.cpp1673 if (auto *S = dyn_cast_or_null<DefinedRegular>( in findLineTable()