• Home
  • Raw
  • Download

Lines Matching refs:unknownLoc

458     return emitError(unknownLoc, "unsupported deserialization for ")  in processOp()
477 Location unknownLoc; member in __anonf1899d380111::Deserializer
584 : binary(binary), context(context), unknownLoc(UnknownLoc::get(context)), in Deserializer()
631 OperationState state(unknownLoc, spirv::ModuleOp::getOperationName()); in createModuleOp()
638 return emitError(unknownLoc, in processHeader()
642 return emitError(unknownLoc, "incorrect magic number"); in processHeader()
662 return emitError(unknownLoc, "unsupported SPIR-V minor version: ") in processHeader()
666 return emitError(unknownLoc, "unsupported SPIR-V major version: ") in processHeader()
677 return emitError(unknownLoc, "OpMemoryModel must have one parameter"); in processCapability()
681 return emitError(unknownLoc, "unknown capability: ") << operands[0]; in processCapability()
690 unknownLoc, in processExtension()
697 return emitError(unknownLoc, in processExtension()
701 return emitError(unknownLoc, "unknown extension: ") << extName; in processExtension()
709 return emitError(unknownLoc, in processExtInstImport()
717 return emitError(unknownLoc, in processExtInstImport()
731 return emitError(unknownLoc, "OpMemoryModel must have two operands"); in processMemoryModel()
749 unknownLoc, "OpDecorate must have at least result <id> and Decoration"); in processDecoration()
754 return emitError(unknownLoc, "invalid Decoration code : ") << words[1]; in processDecoration()
762 return emitError(unknownLoc, "OpDecorate with ") in processDecoration()
770 return emitError(unknownLoc, "OpDecorate with ") in processDecoration()
779 return emitError(unknownLoc, "OpDecorate with ") in processDecoration()
793 return emitError(unknownLoc, "OpDecoration with ") in processDecoration()
805 return emitError(unknownLoc, "OpDecoration with ") in processDecoration()
812 return emitError(unknownLoc, "unhandled Decoration : '") << decorationName; in processDecoration()
820 return emitError(unknownLoc, in processMemberDecoration()
826 return emitError(unknownLoc, in processMemberDecoration()
840 return emitError(unknownLoc, "OpMemberName must have at least 3 operands"); in processMemberName()
845 return emitError(unknownLoc, in processMemberName()
854 return emitError(unknownLoc, "found function inside function"); in processFunction()
859 return emitError(unknownLoc, "OpFunction must have 4 parameters"); in processFunction()
863 return emitError(unknownLoc, "undefined result type from <id> ") in processFunction()
868 return emitError(unknownLoc, "duplicate function definition/declaration"); in processFunction()
873 return emitError(unknownLoc, "unknown Function Control: ") << operands[2]; in processFunction()
878 return emitError(unknownLoc, "unknown function type from <id> ") in processFunction()
886 return emitError(unknownLoc, "mismatch in function type ") in processFunction()
892 unknownLoc, fnName, functionType, fnControl.getValue()); in processFunction()
912 unknownLoc, in processFunction()
918 unknownLoc, in processFunction()
923 return emitError(unknownLoc, in processFunction()
930 return emitError(unknownLoc, "duplicate definition of result <id> '") in processFunction()
961 return emitError(unknownLoc, "a basic block must start with OpLabel"); in processFunction()
964 return emitError(unknownLoc, "OpLabel should only have result <id>"); in processFunction()
992 return emitError(unknownLoc, "unexpected operands for OpFunctionEnd"); in processFunctionEnd()
1034 auto op = opBuilder.create<spirv::SpecConstantOp>(unknownLoc, symName, in createSpecConstant()
1048 unknownLoc, in processGlobalVariable()
1055 return emitError(unknownLoc, "unknown result type <id> : ") in processGlobalVariable()
1060 return emitError(unknownLoc, in processGlobalVariable()
1077 return emitError(unknownLoc, "mismatch in storage class of pointer type ") in processGlobalVariable()
1088 return emitError(unknownLoc, "unknown <id> ") in processGlobalVariable()
1095 return emitError(unknownLoc, in processGlobalVariable()
1125 return emitError(unknownLoc, "OpName needs at least 2 operands"); in processName()
1128 return emitError(unknownLoc, "duplicate name found for result <id> ") in processName()
1134 return emitError(unknownLoc, in processName()
1148 return emitError(unknownLoc, "type instruction with opcode ") in processType()
1155 return emitError(unknownLoc, "duplicate definition for result <id> ") in processType()
1162 return emitError(unknownLoc, "OpTypeVoid must have no parameters"); in processType()
1167 return emitError(unknownLoc, "OpTypeBool must have no parameters"); in processType()
1173 unknownLoc, "OpTypeInt must have bitwidth and signedness parameters"); in processType()
1188 return emitError(unknownLoc, "OpTypeFloat must have bitwidth parameter"); in processType()
1202 return emitError(unknownLoc, "unsupported OpTypeFloat bitwidth: ") in processType()
1210 unknownLoc, in processType()
1215 return emitError(unknownLoc, "OpTypeVector references undefined <id> ") in processType()
1236 return emitError(unknownLoc, "unhandled type instruction"); in processType()
1243 return emitError(unknownLoc, "OpTypePointer must have two parameters"); in processOpTypePointer()
1247 return emitError(unknownLoc, "unknown OpTypePointer pointee type <id> ") in processOpTypePointer()
1296 return emitError(unknownLoc, in processArrayType()
1302 return emitError(unknownLoc, "OpTypeArray references undefined <id> ") in processArrayType()
1310 return emitError(unknownLoc, "OpTypeArray count <id> ") in processArrayType()
1317 return emitError(unknownLoc, "OpTypeArray count must come from a " in processArrayType()
1329 return emitError(unknownLoc, "missing return type for OpTypeFunction"); in processFunctionType()
1333 return emitError(unknownLoc, "unknown return type in OpTypeFunction"); in processFunctionType()
1339 return emitError(unknownLoc, "unknown argument type in OpTypeFunction"); in processFunctionType()
1354 return emitError(unknownLoc, "OpTypeCooperativeMatrix must have element " in processCooperativeMatrixType()
1360 return emitError(unknownLoc, in processCooperativeMatrixType()
1367 return emitError(unknownLoc, in processCooperativeMatrixType()
1383 return emitError(unknownLoc, "OpTypeRuntimeArray must have two operands"); in processRuntimeArrayType()
1387 return emitError(unknownLoc, in processRuntimeArrayType()
1400 return emitError(unknownLoc, "OpTypeStruct must have at least result <id>"); in processStructType()
1419 return emitError(unknownLoc, "OpTypeStruct references undefined <id> ") in processStructType()
1486 return emitError(unknownLoc, "OpTypeMatrix must have 3 operands" in processMatrixType()
1492 return emitError(unknownLoc, in processMatrixType()
1511 return emitError(unknownLoc) in processConstant()
1515 return emitError(unknownLoc) in processConstant()
1521 return emitError(unknownLoc, "undefined result type from <id> ") in processConstant()
1530 return emitError(unknownLoc) in processConstant()
1538 return emitError(unknownLoc) in processConstant()
1542 return emitError(unknownLoc, "unsupported OpConstant bitwidth: ") in processConstant()
1571 createSpecConstant(unknownLoc, resultID, attr); in processConstant()
1606 createSpecConstant(unknownLoc, resultID, attr); in processConstant()
1616 return emitError(unknownLoc, "OpConstant can only generate values of " in processConstant()
1624 return emitError(unknownLoc, "Op") in processConstantBool()
1633 createSpecConstant(unknownLoc, resultID, attr); in processConstantBool()
1646 return emitError(unknownLoc, in processConstantComposite()
1650 return emitError(unknownLoc, in processConstantComposite()
1656 return emitError(unknownLoc, "undefined result type from <id> ") in processConstantComposite()
1665 return emitError(unknownLoc, "OpConstantComposite component <id> ") in processConstantComposite()
1681 return emitError(unknownLoc, "unsupported OpConstantComposite type: ") in processConstantComposite()
1691 return emitError(unknownLoc, in processSpecConstantComposite()
1695 return emitError(unknownLoc, in processSpecConstantComposite()
1701 return emitError(unknownLoc, "undefined result type from <id> ") in processSpecConstantComposite()
1716 unknownLoc, TypeAttr::get(resultType), symName, in processSpecConstantComposite()
1725 return emitError(unknownLoc, in processConstantNull()
1731 return emitError(unknownLoc, "undefined result type from <id> ") in processConstantNull()
1744 return emitError(unknownLoc, "unsupported OpConstantNull type: ") in processConstantNull()
1770 return emitError(unknownLoc, "OpBranch must appear inside a block"); in processBranch()
1774 return emitError(unknownLoc, "OpBranch must take exactly one target label"); in processBranch()
1791 return emitError(unknownLoc, in processBranchConditional()
1796 return emitError(unknownLoc, in processBranchConditional()
1824 return emitError(unknownLoc, "OpLabel must appear inside a function"); in processLabel()
1828 return emitError(unknownLoc, "OpLabel should only have result <id>"); in processLabel()
1846 return emitError(unknownLoc, "OpSelectionMerge must appear in a block"); in processSelectionMerge()
1851 unknownLoc, in processSelectionMerge()
1862 unknownLoc, in processSelectionMerge()
1871 return emitError(unknownLoc, "OpLoopMerge must appear in a block"); in processLoopMerge()
1875 return emitError(unknownLoc, "OpLoopMerge must specify merge target, " in processLoopMerge()
1888 unknownLoc, in processLoopMerge()
1897 return emitError(unknownLoc, "OpPhi must appear in a block"); in processPhi()
1901 return emitError(unknownLoc, "OpPhi must specify result type, result <id>, " in processPhi()
2218 return emitError(unknownLoc, "OpPhi references undefined value!"); in wireUpBlockArgument()
2228 return emitError(unknownLoc, "unimplemented terminator for Phi creation"); in wireUpBlockArgument()
2254 return emitError(unknownLoc, "OpPhi in loop merge block unimplemented"); in structurizeControlFlow()
2283 return unknownLoc; in createFileLineColLoc()
2299 return emitError(unknownLoc, "OpLine must have 3 operands"); in processDebugLine()
2311 return emitError(unknownLoc, "OpString needs at least 2 operands"); in processDebugString()
2314 return emitError(unknownLoc, in processDebugString()
2321 return emitError(unknownLoc, in processDebugString()
2335 return opBuilder.create<spirv::ConstantOp>(unknownLoc, constInfo->second, in getValue()
2340 unknownLoc, varOp.type(), in getValue()
2346 unknownLoc, constOp.default_value().getType(), in getValue()
2352 unknownLoc, constCompositeOp.type(), in getValue()
2357 return opBuilder.create<spirv::UndefOp>(unknownLoc, undef); in getValue()
2368 return emitError(unknownLoc, "expected ") in sliceInstruction()
2380 return emitError(unknownLoc, "word count cannot be zero"); in sliceInstruction()
2384 return emitError(unknownLoc, "insufficient words for the last instruction"); in sliceInstruction()
2501 return emitError(unknownLoc, "OpUndef instruction must have two operands"); in processUndef()
2505 return emitError(unknownLoc, "unknown type <id> with OpUndef instruction"); in processUndef()
2514 return emitError(unknownLoc, in processTypeForwardPointer()
2526 return emitError(unknownLoc, in processExtInst()
2531 return emitError(unknownLoc, "undefined set <id> in OpExtInst"); in processExtInst()
2547 return emitError(unknownLoc, in processOp()
2552 return emitError(unknownLoc, "missing <id> in OpEntryPoint"); in processOp()
2561 return emitError(unknownLoc, "no function matching <id> ") << fnID; in processOp()
2564 return emitError(unknownLoc, "function name mismatch between OpEntryPoint " in processOp()
2572 return emitError(unknownLoc, "undefined result <id> ") in processOp()
2578 opBuilder.create<spirv::EntryPointOp>(unknownLoc, execModel, in processOp()
2589 return emitError(unknownLoc, in processOp()
2596 return emitError(unknownLoc, "no function matching <id> ") << fnID; in processOp()
2600 return emitError(unknownLoc, "missing Execution Mode in OpExecutionMode"); in processOp()
2611 unknownLoc, opBuilder.getSymbolRefAttr(fn.getName()), execMode, values); in processOp()
2620 unknownLoc, in processOp()
2629 return emitError(unknownLoc, in processOp()
2636 opBuilder.create<spirv::ControlBarrierOp>(unknownLoc, argAttrs[0], in processOp()
2645 return emitError(unknownLoc, in processOp()
2651 return emitError(unknownLoc, "undefined result type from <id> ") in processOp()
2668 return emitError(unknownLoc, "unknown <id> ") in processOp()
2675 unknownLoc, resultType, opBuilder.getSymbolRefAttr(functionName), in processOp()
2687 return emitError(unknownLoc, "OpMemoryBarrier must have memory scope <id> " in processOp()
2695 return emitError(unknownLoc, in processOp()
2702 opBuilder.create<spirv::MemoryBarrierOp>(unknownLoc, argAttrs[0], in processOp()
2719 return emitError(unknownLoc, "unknown result <id> : ") in processOp()
2731 return emitError(unknownLoc, "unknown result <id> : ") in processOp()
2765 return emitError(unknownLoc, in processOp()