Searched refs:toSym (Results 1 – 4 of 4) sorted by relevance
286 auto *toSym = dyn_cast_or_null<Defined>(obj->symbols[entry.toIndex]); in extractCallGraphProfile() local287 if (fromSym && toSym && in extractCallGraphProfile()289 (!getSymbolPriority(fromSym) && !getSymbolPriority(toSym)))) in extractCallGraphProfile()290 callGraphProfile[{fromSym->isec, toSym->isec}] += entry.count; in extractCallGraphProfile()
187 if (const Symbol *toSym = minuend.referent.dyn_cast<Symbol *>()) in writeTo() local188 minuendVA = toSym->getVA() + minuend.addend; in writeTo()
1184 auto *toSym = dyn_cast_or_null<Defined>(obj->getSymbol(toIndex)); in readCallGraphsFromObjectFiles() local1185 if (!fromSym || !toSym) in readCallGraphsFromObjectFiles()1188 auto *to = dyn_cast_or_null<SectionChunk>(toSym->getChunk()); in readCallGraphsFromObjectFiles()
1002 auto *toSym = dyn_cast<Defined>(&obj->getSymbol(toIndex)); in readCallGraphsFromObjectFiles() local1003 if (!fromSym || !toSym) in readCallGraphsFromObjectFiles()1007 auto *to = dyn_cast_or_null<InputSectionBase>(toSym->section); in readCallGraphsFromObjectFiles()