Lines Matching defs:NameLoc

704   LocTy NameLoc = Lex.getLoc();
712 if (parseStructDefinition(NameLoc, Name, NamedTypes[Name], Result))
718 return error(NameLoc, "non-struct types may not be recursive");
805 LocTy NameLoc = Lex.getLoc();
810 if (checkValueID(NameLoc, "global", "@", NumberedVals.getNext(), VarID))
832 return parseGlobal(Name, VarID, NameLoc, Linkage, HasLinkage, Visibility,
836 return parseAliasOrIFunc(Name, VarID, NameLoc, Linkage, Visibility,
848 LocTy NameLoc = Lex.getLoc();
865 return parseGlobal(Name, -1, NameLoc, Linkage, HasLinkage, Visibility,
869 return parseAliasOrIFunc(Name, -1, NameLoc, Linkage, Visibility,
877 LocTy NameLoc = Lex.getLoc();
912 return error(NameLoc, "redefinition of comdat '$" + Name + "'");
1166 LocTy NameLoc, unsigned L, unsigned Visibility,
1182 return error(NameLoc, "invalid linkage type for alias");
1185 return error(NameLoc,
1189 return error(NameLoc,
1232 return error(NameLoc, "redefinition of global '@" + Name + "'");
1357 LocTy NameLoc, unsigned Linkage, bool HasLinkage,
1362 return error(NameLoc,
1366 return error(NameLoc,
1404 return error(NameLoc, "redefinition of global '@" + Name + "'");
3749 LocTy NameLoc, Instruction *Inst) {
3753 return P.error(NameLoc, "instructions returning void cannot have a name");
3764 if (P.checkValueID(NameLoc, "instruction", "%", NumberedVals.getNext(),
3772 return P.error(NameLoc, "instruction forward referenced with type '" +
3790 return P.error(NameLoc, "instruction forward referenced with type '" +
3803 return P.error(NameLoc, "multiple definition of local value named '" +
6446 LocTy NameLoc = Lex.getLoc();
6453 if (checkValueID(NameLoc, "function", "@", NumberedVals.getNext(),
6546 return error(NameLoc,
6549 return error(NameLoc, "redefinition of function '@" + FunctionName + "'");
6564 return error(NameLoc, "type of definition and forward reference of '@" +
6721 LocTy NameLoc = Lex.getLoc();
6730 BasicBlock *BB = PFS.defineBB(Name, NameID, NameLoc);
6763 LocTy NameLoc = Lex.getLoc();
6803 if (PFS.setInstName(NameID, NameStr, NameLoc, Inst))