Searched refs:toSym (Results 1 – 5 of 5) sorted by relevance
289 auto *toSym = dyn_cast_or_null<Defined>(obj->symbols[entry.toIndex]); in extractCallGraphProfile() local290 if (fromSym && toSym && in extractCallGraphProfile()292 (!getSymbolPriority(fromSym) && !getSymbolPriority(toSym)))) in extractCallGraphProfile()293 callGraphProfile[{fromSym->isec(), toSym->isec()}] += entry.count; in extractCallGraphProfile()
230 if (const Symbol *toSym = minuend.referent.dyn_cast<Symbol *>()) in writeTo() local231 minuendVA = toSym->getVA() + minuend.addend; in writeTo()
1371 Symbol *toSym = find(to); in resolveAlternateNames() local1372 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()
1171 auto *toSym = dyn_cast_or_null<Defined>(obj->getSymbol(toIndex)); in readCallGraphsFromObjectFiles() local1172 if (!fromSym || !toSym) in readCallGraphsFromObjectFiles()1175 auto *to = dyn_cast_or_null<SectionChunk>(toSym->getChunk()); in readCallGraphsFromObjectFiles()
1111 auto *toSym = dyn_cast<Defined>(&obj->getSymbol(toIndex)); in readCallGraphsFromObjectFiles() local1112 if (!fromSym || !toSym) in readCallGraphsFromObjectFiles()1116 auto *to = dyn_cast_or_null<InputSectionBase>(toSym->section); in readCallGraphsFromObjectFiles()