Home | History | Annotate | Download | only in AsmParser

Lines Matching refs:Refs

132                              std::vector<std::pair<ValID, GlobalValue*> > &Refs,
135 for (unsigned i = 0, e = Refs.size(); i != e; ++i) {
138 if (Refs[i].first.Kind == ValID::t_LocalName)
139 Res = PFS->GetBB(Refs[i].first.StrVal, Refs[i].first.Loc);
141 Res = PFS->GetBB(Refs[i].first.UIntVal, Refs[i].first.Loc);
142 } else if (Refs[i].first.Kind == ValID::t_LocalID) {
143 return Error(Refs[i].first.Loc,
147 TheFn->getValueSymbolTable().lookup(Refs[i].first.StrVal));
151 return Error(Refs[i].first.Loc,
156 Refs[i].second->replaceAllUsesWith(BA);
157 Refs[i].second->eraseFromParent();
1820 // Otherwise, the instruction had a name. Resolve forward refs and set it.