Home | History | Annotate | Download | only in AsmParser

Lines Matching defs:TypeLoc

356   LocTy TypeLoc = Lex.getLoc();
365 if (ParseStructDefinition(TypeLoc, "",
371 return Error(TypeLoc, "non-struct types may not be recursive");
1965 SMLoc TypeLoc = Lex.getLoc();
2032 return Error(TypeLoc, "void type only allowed for function results");
2206 LocTy TypeLoc = Lex.getLoc();
2215 return Error(TypeLoc, "argument can not have void type");
2223 return Error(TypeLoc, "invalid type for function argument");
2226 ArgList.emplace_back(TypeLoc, ArgTy, AttributeSet::get(ArgTy->getContext(),
2238 TypeLoc = Lex.getLoc();
2242 return Error(TypeLoc, "argument can not have void type");
2252 return Error(TypeLoc, "invalid type for function argument");
2255 TypeLoc, ArgTy,
2305 bool LLParser::ParseStructDefinition(SMLoc TypeLoc, StringRef Name,
2310 return Error(TypeLoc, "redefinition of type");
2333 return Error(TypeLoc, "forward references to non-struct type");
2413 LocTy TypeLoc = Lex.getLoc();
2427 return Error(TypeLoc, "invalid vector element type");
2431 return Error(TypeLoc, "invalid array element type");
5098 SMLoc TypeLoc = Lex.getLoc();
5106 return Error(TypeLoc, "value doesn't match function result type '" +
5117 return Error(TypeLoc, "value doesn't match function result type '" +
5668 LocTy TypeLoc;
5671 ParseType(EltTy, TypeLoc))
5675 return Error(TypeLoc, "va_arg requires operand with first class type");
5739 Type *Ty = nullptr; LocTy TypeLoc;
5742 if (ParseType(Ty, TypeLoc) ||
5772 return Error(TypeLoc, "phi node must have first class type");