Lines Matching refs:emitError
169 parser.emitError(typeLoc, "cannot use 'bf16' to compose SPIR-V types"); in parseAndVerifyType()
174 parser.emitError(typeLoc, in parseAndVerifyType()
181 parser.emitError(typeLoc, "only 1-D vector allowed but found ") << t; in parseAndVerifyType()
185 parser.emitError( in parseAndVerifyType()
191 parser.emitError(typeLoc, "cannot use ") in parseAndVerifyType()
208 parser.emitError(typeLoc, "only 1-D vector allowed but found ") << t; in parseAndVerifyMatrixType()
212 parser.emitError(typeLoc, in parseAndVerifyMatrixType()
220 parser.emitError(typeLoc, "matrix columns' elements must be of " in parseAndVerifyMatrixType()
226 parser.emitError(typeLoc, "matrix must be composed using vector " in parseAndVerifyMatrixType()
243 parser.emitError(typeLoc, in parseAndVerifySampledImageType()
272 parser.emitError(strideLoc, "ArrayStride must be greater than zero"); in parseOptionalArrayStride()
295 parser.emitError(countLoc, in parseArrayType()
304 parser.emitError(countLoc, "expected array length greater than 0"); in parseArrayType()
334 parser.emitError(countLoc, "expected rows and columns size"); in parseCooperativeMatrixType()
376 parser.emitError(storageClassLoc, "unknown storage class: ") in parsePointerType()
416 parser.emitError(countLoc, "expected single unsigned " in parseMatrixType()
424 parser.emitError(countLoc, "matrix is expected to have 2, 3, or 4 " in parseMatrixType()
452 parser.emitError(enumLoc, "unknown attribute: '") << enumSpec << "'"; in parseAndVerify()
581 return parser.emitError(offsetLoc, in parseStructMemberDecorations()
664 parser.emitError( in parseStructType()
678 parser.emitError(parser.getNameLoc(), in parseStructType()
720 parser.emitError(parser.getNameLoc(), in parseStructType()
768 parser.emitError(parser.getNameLoc(), "unknown SPIR-V type: ") << keyword; in parseType()
899 return op->emitError("'") in verifyOperationAttribute()
904 return op->emitError("'") << symbol << "' must be a spirv::TargetEnvAttr"; in verifyOperationAttribute()
906 return op->emitError("found unsupported '") in verifyOperationAttribute()
921 return emitError(loc, "found unsupported '") in verifyRegionAttribute()
926 return emitError(loc, "'") in verifyRegionAttribute()
930 return emitError(loc, "'") << symbol in verifyRegionAttribute()
949 return op->emitError("cannot attach SPIR-V attributes to region result"); in verifyRegionResultAttribute()