Lines Matching refs:variants
780 // Linear search through symbol variants. Should never be more than two
782 auto &variants = symVariants[CachedHashStringRef(sym->getName())];
783 if (variants.empty())
784 variants.push_back(sym);
786 for (Symbol* v : variants) {
803 variants.push_back(variant);
921 // Push the initial symbol onto the list of variants.
923 std::vector<Symbol *> &variants = pair.second;
926 LLVM_DEBUG(dbgs() << "symbol with (" << variants.size()
927 << ") variants: " << symName << "\n");
928 for (auto *s: variants) {
937 for (auto *symbol : variants) {
949 cast<FunctionSymbol>(variants[0]),
950 cast<FunctionSymbol>(variants[1]), true);
954 for (auto *symbol : variants) {