Lines Matching refs:emitError
118 return emitError(unknownLoc, in processHeader()
122 return emitError(unknownLoc, "incorrect magic number"); in processHeader()
142 return emitError(unknownLoc, "unsupported SPIR-V minor version: ") in processHeader()
146 return emitError(unknownLoc, "unsupported SPIR-V major version: ") in processHeader()
158 return emitError(unknownLoc, "OpMemoryModel must have one parameter"); in processCapability()
162 return emitError(unknownLoc, "unknown capability: ") << operands[0]; in processCapability()
170 return emitError( in processExtension()
178 return emitError(unknownLoc, in processExtension()
182 return emitError(unknownLoc, "unknown extension: ") << extName; in processExtension()
191 return emitError(unknownLoc, in processExtInstImport()
199 return emitError(unknownLoc, in processExtInstImport()
215 return emitError(unknownLoc, "OpMemoryModel must have two operands"); in processMemoryModel()
232 return emitError( in processDecoration()
238 return emitError(unknownLoc, "invalid Decoration code : ") << words[1]; in processDecoration()
246 return emitError(unknownLoc, "OpDecorate with ") in processDecoration()
254 return emitError(unknownLoc, "OpDecorate with ") in processDecoration()
263 return emitError(unknownLoc, "OpDecorate with ") in processDecoration()
278 return emitError(unknownLoc, "OpDecoration with ") in processDecoration()
290 return emitError(unknownLoc, "OpDecoration with ") in processDecoration()
297 return emitError(unknownLoc, "unhandled Decoration : '") << decorationName; in processDecoration()
306 return emitError(unknownLoc, in processMemberDecoration()
312 return emitError(unknownLoc, in processMemberDecoration()
326 return emitError(unknownLoc, "OpMemberName must have at least 3 operands"); in processMemberName()
331 return emitError(unknownLoc, in processMemberName()
341 return emitError(unknownLoc, "found function inside function"); in processFunction()
346 return emitError(unknownLoc, "OpFunction must have 4 parameters"); in processFunction()
350 return emitError(unknownLoc, "undefined result type from <id> ") in processFunction()
356 return emitError(unknownLoc, "duplicate function definition/declaration"); in processFunction()
361 return emitError(unknownLoc, "unknown Function Control: ") << operands[2]; in processFunction()
366 return emitError(unknownLoc, "unknown function type from <id> ") in processFunction()
374 return emitError(unknownLoc, "mismatch in function type ") in processFunction()
404 return emitError( in processFunction()
410 return emitError( in processFunction()
416 return emitError(unknownLoc, in processFunction()
423 return emitError(unknownLoc, "duplicate definition of result <id> ") in processFunction()
451 return emitError(unknownLoc, "a basic block must start with OpLabel"); in processFunction()
454 return emitError(unknownLoc, "OpLabel should only have result <id>"); in processFunction()
481 return emitError(unknownLoc, "unexpected operands for OpFunctionEnd"); in processFunctionEnd()
551 return emitError( in processGlobalVariable()
559 return emitError(unknownLoc, "unknown result type <id> : ") in processGlobalVariable()
564 return emitError(unknownLoc, in processGlobalVariable()
581 return emitError(unknownLoc, "mismatch in storage class of pointer type ") in processGlobalVariable()
592 return emitError(unknownLoc, "unknown <id> ") in processGlobalVariable()
599 return emitError(unknownLoc, in processGlobalVariable()
628 return emitError(unknownLoc, "OpName needs at least 2 operands"); in processName()
631 return emitError(unknownLoc, "duplicate name found for result <id> ") in processName()
637 return emitError(unknownLoc, in processName()
651 return emitError(unknownLoc, "type instruction with opcode ") in processType()
658 return emitError(unknownLoc, "duplicate definition for result <id> ") in processType()
665 return emitError(unknownLoc, "OpTypeVoid must have no parameters"); in processType()
670 return emitError(unknownLoc, "OpTypeBool must have no parameters"); in processType()
675 return emitError( in processType()
691 return emitError(unknownLoc, "OpTypeFloat must have bitwidth parameter"); in processType()
705 return emitError(unknownLoc, "unsupported OpTypeFloat bitwidth: ") in processType()
712 return emitError( in processType()
718 return emitError(unknownLoc, "OpTypeVector references undefined <id> ") in processType()
743 return emitError(unknownLoc, "unhandled type instruction"); in processType()
751 return emitError(unknownLoc, "OpTypePointer must have two parameters"); in processOpTypePointer()
755 return emitError(unknownLoc, "unknown OpTypePointer pointee type <id> ") in processOpTypePointer()
805 return emitError(unknownLoc, in processArrayType()
811 return emitError(unknownLoc, "OpTypeArray references undefined <id> ") in processArrayType()
819 return emitError(unknownLoc, "OpTypeArray count <id> ") in processArrayType()
826 return emitError(unknownLoc, "OpTypeArray count must come from a " in processArrayType()
839 return emitError(unknownLoc, "missing return type for OpTypeFunction"); in processFunctionType()
843 return emitError(unknownLoc, "unknown return type in OpTypeFunction"); in processFunctionType()
849 return emitError(unknownLoc, "unknown argument type in OpTypeFunction"); in processFunctionType()
864 return emitError(unknownLoc, "OpTypeCooperativeMatrix must have element " in processCooperativeMatrixType()
870 return emitError(unknownLoc, in processCooperativeMatrixType()
877 return emitError(unknownLoc, in processCooperativeMatrixType()
893 return emitError(unknownLoc, "OpTypeRuntimeArray must have two operands"); in processRuntimeArrayType()
897 return emitError(unknownLoc, in processRuntimeArrayType()
911 return emitError(unknownLoc, "OpTypeStruct must have at least result <id>"); in processStructType()
930 return emitError(unknownLoc, "OpTypeStruct references undefined <id> ") in processStructType()
998 return emitError(unknownLoc, "OpTypeMatrix must have 3 operands" in processMatrixType()
1004 return emitError(unknownLoc, in processMatrixType()
1017 return emitError(unknownLoc, in processTypeForwardPointer()
1031 return emitError( in processImageType()
1037 return emitError(unknownLoc, "OpTypeImage references undefined <id>: ") in processImageType()
1042 return emitError(unknownLoc, "unknown Dim for OpTypeImage: ") in processImageType()
1047 return emitError(unknownLoc, "unknown Depth for OpTypeImage: ") in processImageType()
1052 return emitError(unknownLoc, "unknown Arrayed for OpTypeImage: ") in processImageType()
1057 return emitError(unknownLoc, "unknown MS for OpTypeImage: ") << operands[5]; in processImageType()
1061 return emitError(unknownLoc, "unknown Sampled for OpTypeImage: ") in processImageType()
1066 return emitError(unknownLoc, "unknown Format for OpTypeImage: ") in processImageType()
1078 return emitError(unknownLoc, "OpTypeSampledImage must have two operands"); in processSampledImageType()
1082 return emitError(unknownLoc, in processSampledImageType()
1099 return emitError(unknownLoc) in processConstant()
1103 return emitError(unknownLoc) in processConstant()
1109 return emitError(unknownLoc, "undefined result type from <id> ") in processConstant()
1118 return emitError(unknownLoc) in processConstant()
1126 return emitError(unknownLoc) in processConstant()
1130 return emitError(unknownLoc, "unsupported OpConstant bitwidth: ") in processConstant()
1204 return emitError(unknownLoc, "OpConstant can only generate values of " in processConstant()
1211 return emitError(unknownLoc, "Op") in processConstantBool()
1233 return emitError(unknownLoc, in processConstantComposite()
1237 return emitError(unknownLoc, in processConstantComposite()
1243 return emitError(unknownLoc, "undefined result type from <id> ") in processConstantComposite()
1252 return emitError(unknownLoc, "OpConstantComposite component <id> ") in processConstantComposite()
1268 return emitError(unknownLoc, "unsupported OpConstantComposite type: ") in processConstantComposite()
1278 return emitError(unknownLoc, in processSpecConstantComposite()
1282 return emitError(unknownLoc, in processSpecConstantComposite()
1288 return emitError(unknownLoc, "undefined result type from <id> ") in processSpecConstantComposite()
1313 return emitError(unknownLoc, "OpConstantOperation must have type <id>, " in processSpecConstantOperation()
1319 return emitError(unknownLoc, "undefined result type from <id> ") in processSpecConstantOperation()
1331 return emitError(unknownLoc, "value with <id>: ") in processSpecConstantOperation()
1398 return emitError(unknownLoc, in processConstantNull()
1404 return emitError(unknownLoc, "undefined result type from <id> ") in processConstantNull()
1417 return emitError(unknownLoc, "unsupported OpConstantNull type: ") in processConstantNull()
1443 return emitError(unknownLoc, "OpBranch must appear inside a block"); in processBranch()
1447 return emitError(unknownLoc, "OpBranch must take exactly one target label"); in processBranch()
1464 return emitError(unknownLoc, in processBranchConditional()
1469 return emitError(unknownLoc, in processBranchConditional()
1497 return emitError(unknownLoc, "OpLabel must appear inside a function"); in processLabel()
1501 return emitError(unknownLoc, "OpLabel should only have result <id>"); in processLabel()
1521 return emitError(unknownLoc, "OpSelectionMerge must appear in a block"); in processSelectionMerge()
1525 return emitError( in processSelectionMerge()
1536 return emitError( in processSelectionMerge()
1547 return emitError(unknownLoc, "OpLoopMerge must appear in a block"); in processLoopMerge()
1551 return emitError(unknownLoc, "OpLoopMerge must specify merge target, " in processLoopMerge()
1563 return emitError( in processLoopMerge()
1573 return emitError(unknownLoc, "OpPhi must appear in a block"); in processPhi()
1577 return emitError(unknownLoc, "OpPhi must specify result type, result <id>, " in processPhi()
1794 return mergeBlock->getParentOp()->emitError( in structurize()
1855 return emitError(loc, "failed control flow structurization: nested " in structurize()
1862 return emitError(loc, "failed control flow structurization: nested " in structurize()
1936 return emitError(unknownLoc, "OpPhi references undefined value!"); in wireUpBlockArgument()
1964 return emitError(unknownLoc, "unimplemented terminator for Phi creation"); in wireUpBlockArgument()
2003 return emitError(unknownLoc, "OpPhi in loop merge block unimplemented"); in structurizeControlFlow()
2062 return emitError(unknownLoc, "OpLine must have 3 operands"); in processDebugLine()
2072 return emitError(unknownLoc, "OpString needs at least 2 operands"); in processDebugString()
2075 return emitError(unknownLoc, in processDebugString()
2082 return emitError(unknownLoc, in processDebugString()