Searched refs:CanonicalSym (Results 1 – 2 of 2) sorted by relevance
607 Symbol *CanonicalSym = nullptr; in getOrCreateSymbol() local610 if (!CanonicalSym || Sym->getLinkage() < CanonicalSym->getLinkage() || in getOrCreateSymbol()611 Sym->getScope() < CanonicalSym->getScope() || in getOrCreateSymbol()612 (Sym->hasName() && !CanonicalSym->hasName()) || in getOrCreateSymbol()613 Sym->getName() < CanonicalSym->getName()) in getOrCreateSymbol()614 CanonicalSym = Sym; in getOrCreateSymbol()622 if (CanonicalSym) in getOrCreateSymbol()623 return *CanonicalSym; in getOrCreateSymbol()
605 Symbol *CanonicalSym = nullptr; in getOrCreateSymbol() local608 if (!CanonicalSym || Sym->getLinkage() < CanonicalSym->getLinkage() || in getOrCreateSymbol()609 Sym->getScope() < CanonicalSym->getScope() || in getOrCreateSymbol()610 (Sym->hasName() && !CanonicalSym->hasName()) || in getOrCreateSymbol()611 Sym->getName() < CanonicalSym->getName()) in getOrCreateSymbol()612 CanonicalSym = Sym; in getOrCreateSymbol()620 if (CanonicalSym) in getOrCreateSymbol()621 return *CanonicalSym; in getOrCreateSymbol()