Home | History | Annotate | Download | only in AsmParser

Lines Matching defs:NameLoc

330   LocTy NameLoc = Lex.getLoc();
338 if (ParseStructDefinition(NameLoc, Name,
344 return Error(NameLoc, "non-struct types may not be recursive");
398 LocTy NameLoc = Lex.getLoc();
418 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility);
419 return ParseAlias(Name, NameLoc, Visibility);
427 LocTy NameLoc = Lex.getLoc();
439 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility);
440 return ParseAlias(Name, NameLoc, Visibility);
569 bool LLParser::ParseAlias(const std::string &Name, LocTy NameLoc,
619 return Error(NameLoc, "redefinition of global named '@" + Name + "'");
624 return Error(NameLoc,
649 bool LLParser::ParseGlobal(const std::string &Name, LocTy NameLoc,
685 return Error(NameLoc, "redefinition of global '@" + Name + "'");
1786 LocTy NameLoc, Instruction *Inst) {
1790 return P.Error(NameLoc, "instructions returning void cannot have a name");
1802 return P.Error(NameLoc, "instruction expected to be numbered '%" +
1809 return P.Error(NameLoc, "instruction forward referenced with type '" +
1825 return P.Error(NameLoc, "instruction forward referenced with type '" +
1836 return P.Error(NameLoc, "multiple definition of local value named '" +
2630 LocTy NameLoc = Lex.getLoc();
2717 return Error(NameLoc, "invalid redefinition of function '" +
2720 return Error(NameLoc, "redefinition of function '@" + FunctionName + "'");
2731 return Error(NameLoc, "type of definition and forward reference of '@" +
2804 LocTy NameLoc = Lex.getLoc();
2810 BasicBlock *BB = PFS.DefineBB(Name, NameLoc);
2821 LocTy NameLoc = Lex.getLoc();
2860 if (PFS.SetInstName(NameID, NameStr, NameLoc, Inst)) return true;