• Home
  • Raw
  • Download

Lines Matching refs:NameLoc

384   LocTy NameLoc = Lex.getLoc();  in ParseNamedType()  local
392 if (ParseStructDefinition(NameLoc, Name, in ParseNamedType()
398 return Error(NameLoc, "non-struct types may not be recursive"); in ParseNamedType()
479 LocTy NameLoc = Lex.getLoc(); in ParseUnnamedGlobal() local
501 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility, in ParseUnnamedGlobal()
504 return parseIndirectSymbol(Name, NameLoc, Linkage, Visibility, in ParseUnnamedGlobal()
514 LocTy NameLoc = Lex.getLoc(); in ParseNamedGlobal() local
528 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility, in ParseNamedGlobal()
531 return parseIndirectSymbol(Name, NameLoc, Linkage, Visibility, in ParseNamedGlobal()
538 LocTy NameLoc = Lex.getLoc(); in parseComdat() local
573 return Error(NameLoc, "redefinition of comdat '$" + Name + "'"); in parseComdat()
700 const std::string &Name, LocTy NameLoc, unsigned L, unsigned Visibility, in parseIndirectSymbol() argument
715 return Error(NameLoc, "invalid linkage type for alias"); in parseIndirectSymbol()
718 return Error(NameLoc, in parseIndirectSymbol()
769 return Error(NameLoc, "redefinition of global '@" + Name + "'"); in parseIndirectSymbol()
834 bool LLParser::ParseGlobal(const std::string &Name, LocTy NameLoc, in ParseGlobal() argument
840 return Error(NameLoc, in ParseGlobal()
877 return Error(NameLoc, "redefinition of global '@" + Name + "'"); in ParseGlobal()
2573 LocTy NameLoc, Instruction *Inst) { in SetInstName() argument
2577 return P.Error(NameLoc, "instructions returning void cannot have a name"); in SetInstName()
2589 return P.Error(NameLoc, "instruction expected to be numbered '%" + in SetInstName()
2596 return P.Error(NameLoc, "instruction forward referenced with type '" + in SetInstName()
2613 return P.Error(NameLoc, "instruction forward referenced with type '" + in SetInstName()
2625 return P.Error(NameLoc, "multiple definition of local value named '" + in SetInstName()
4595 LocTy NameLoc = Lex.getLoc(); in ParseFunctionHeader() local
4706 return Error(NameLoc, "invalid redefinition of function '" + in ParseFunctionHeader()
4709 return Error(NameLoc, "redefinition of function '@" + FunctionName + "'"); in ParseFunctionHeader()
4719 return Error(NameLoc, "type of definition and forward reference of '@" + in ParseFunctionHeader()
4859 LocTy NameLoc = Lex.getLoc(); in ParseBasicBlock() local
4865 BasicBlock *BB = PFS.DefineBB(Name, NameLoc); in ParseBasicBlock()
4867 return Error(NameLoc, in ParseBasicBlock()
4877 LocTy NameLoc = Lex.getLoc(); in ParseBasicBlock() local
4916 if (PFS.SetInstName(NameID, NameStr, NameLoc, Inst)) return true; in ParseBasicBlock()