Home | History | Annotate | Download | only in AsmParser

Lines Matching defs:NameLoc

325   LocTy NameLoc = Lex.getLoc();
333 if (ParseStructDefinition(NameLoc, Name,
339 return Error(NameLoc, "non-struct types may not be recursive");
393 LocTy NameLoc = Lex.getLoc();
413 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility);
414 return ParseAlias(Name, NameLoc, Visibility);
422 LocTy NameLoc = Lex.getLoc();
434 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility);
435 return ParseAlias(Name, NameLoc, Visibility);
564 bool LLParser::ParseAlias(const std::string &Name, LocTy NameLoc,
614 return Error(NameLoc, "redefinition of global named '@" + Name + "'");
619 return Error(NameLoc,
644 bool LLParser::ParseGlobal(const std::string &Name, LocTy NameLoc,
680 return Error(NameLoc, "redefinition of global '@" + Name + "'");
1781 LocTy NameLoc, Instruction *Inst) {
1785 return P.Error(NameLoc, "instructions returning void cannot have a name");
1797 return P.Error(NameLoc, "instruction expected to be numbered '%" +
1804 return P.Error(NameLoc, "instruction forward referenced with type '" +
1820 return P.Error(NameLoc, "instruction forward referenced with type '" +
1831 return P.Error(NameLoc, "multiple definition of local value named '" +
2632 LocTy NameLoc = Lex.getLoc();
2719 return Error(NameLoc, "invalid redefinition of function '" +
2722 return Error(NameLoc, "redefinition of function '@" + FunctionName + "'");
2733 return Error(NameLoc, "type of definition and forward reference of '@" +
2806 LocTy NameLoc = Lex.getLoc();
2812 BasicBlock *BB = PFS.DefineBB(Name, NameLoc);
2823 LocTy NameLoc = Lex.getLoc();
2862 if (PFS.SetInstName(NameID, NameStr, NameLoc, Inst)) return true;