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