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