Home
last modified time | relevance | path

Searched refs:toSym (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/lld/MachO/
H A DSectionPriorities.cpp289 auto *toSym = dyn_cast_or_null<Defined>(obj->symbols[entry.toIndex]); in extractCallGraphProfile() local
290 if (fromSym && toSym && in extractCallGraphProfile()
292 (!getSymbolPriority(fromSym) && !getSymbolPriority(toSym)))) in extractCallGraphProfile()
293 callGraphProfile[{fromSym->isec(), toSym->isec()}] += entry.count; in extractCallGraphProfile()
H A DInputSection.cpp230 if (const Symbol *toSym = minuend.referent.dyn_cast<Symbol *>()) in writeTo() local
231 minuendVA = toSym->getVA() + minuend.addend; in writeTo()
/freebsd/contrib/llvm-project/lld/COFF/
H A DSymbolTable.cpp1371 Symbol *toSym = find(to); in resolveAlternateNames() local
1372 if (!toSym) in resolveAlternateNames()
1374 auto toUndef = dyn_cast<Undefined>(toSym); in resolveAlternateNames()
1377 toSym->isUsedInRegularObj = true; in resolveAlternateNames()
1378 if (toSym->isLazy()) in resolveAlternateNames()
1379 forceLazy(toSym); in resolveAlternateNames()
1380 u->setWeakAlias(toSym); in resolveAlternateNames()
H A DDriver.cpp1171 auto *toSym = dyn_cast_or_null<Defined>(obj->getSymbol(toIndex)); in readCallGraphsFromObjectFiles() local
1172 if (!fromSym || !toSym) in readCallGraphsFromObjectFiles()
1175 auto *to = dyn_cast_or_null<SectionChunk>(toSym->getChunk()); in readCallGraphsFromObjectFiles()
/freebsd/contrib/llvm-project/lld/ELF/
H A DDriver.cpp1111 auto *toSym = dyn_cast<Defined>(&obj->getSymbol(toIndex)); in readCallGraphsFromObjectFiles() local
1112 if (!fromSym || !toSym) in readCallGraphsFromObjectFiles()
1116 auto *to = dyn_cast_or_null<InputSectionBase>(toSym->section); in readCallGraphsFromObjectFiles()