1fd4e5da5Sopenharmony_ciOperand class,Example instruction,Notes,example unit test,negative-enum coverage location 2fd4e5da5Sopenharmony_ci" OperandNone,",UNUSED,not in grammar,,not enum 3fd4e5da5Sopenharmony_ci" OperandId,",many,ID,too many to count,not enum 4fd4e5da5Sopenharmony_ci" OperandOptionalId,","Source, Variable",OPTIONAL_ID,OpSourceAcceptsOptionalFileId,not enum 5fd4e5da5Sopenharmony_ci" OperandOptionalImage,",ImageFetch,,ImageOperandsTest,"TEST_F(ImageOperandsTest, WrongOperand)" 6fd4e5da5Sopenharmony_ci" OperandVariableIds,",ExtInst,,,not enum 7fd4e5da5Sopenharmony_ci" OperandOptionalLiteral,",ExecutionMode,,AnyExecutionMode,not enum 8fd4e5da5Sopenharmony_ci" OperandOptionalLiteralString,",Source,,OpSourceAcceptsOptionalSourceText,not enum 9fd4e5da5Sopenharmony_ci" OperandVariableLiterals,",Decorate,,OpDecorateSimpleTest,not enum 10fd4e5da5Sopenharmony_ci" OperandVariableIdLiteral,",GroupMemberDecorate,,GroupMemberDecorate*,not enum 11fd4e5da5Sopenharmony_ci" OperandVariableLiteralId,",Switch,,Switch*,not enum 12fd4e5da5Sopenharmony_ci" OperandLiteralNumber,","Source, Switch, ...",,Switch*,not enum 13fd4e5da5Sopenharmony_ci" OperandLiteralString,",SourceContinued,,OpSourceContinued,not enum 14fd4e5da5Sopenharmony_ci" OperandSource,",Source,,OpSource,not enum 15fd4e5da5Sopenharmony_ci" OperandExecutionModel,",EntryPoint,,OpEntryPointTest,"TEST_F(OpEntryPointTest, WrongModel)" 16fd4e5da5Sopenharmony_ci" OperandAddressing,",OpMemoryModel,,OpMemoryModelTest,"TEST_F(OpMemoryModelTest, WrongModel)" 17fd4e5da5Sopenharmony_ci" OperandMemory,",OpMemoryModel,,OpMemoryModelTest,"TEST_F(OpMemoryModelTest, WrongModel)" 18fd4e5da5Sopenharmony_ci" OperandExecutionMode,",OpExecutionMode,,OpExecutionModeTest,"TEST_F(OpExecutionModeTest, WrongMode)" 19fd4e5da5Sopenharmony_ci" OperandStorage,","TypePointer, TypeForwardPointer, Variable",,StorageClassTest,"TEST_F(OpTypeForwardPointerTest, WrongClass)" 20fd4e5da5Sopenharmony_ci" OperandDimensionality,",TypeImage,,DimTest/AnyDim,"TEST_F(DimTest, WrongDim)" 21fd4e5da5Sopenharmony_ci" OperandSamplerAddressingMode,",ConstantSampler,,SamplerAddressingModeTest,"TEST_F(SamplerAddressingModeTest, WrongMode)" 22fd4e5da5Sopenharmony_ci" OperandSamplerFilterMode,",ConstantSampler,,AnySamplerFilterMode,"TEST_F(SamplerFilterModeTest, WrongMode)" 23fd4e5da5Sopenharmony_ci" OperandSamplerImageFormat,",TypeImage,SAMPLER_IMAGE_FORMAT,ImageFormatTest,"TEST_F(ImageFormatTest, WrongFormat)" 24fd4e5da5Sopenharmony_ci" OperandImageChannelOrder,",UNUSED,returned as result value only,, 25fd4e5da5Sopenharmony_ci" OperandImageChannelDataType,",UNUSED,returned as result value only,, 26fd4e5da5Sopenharmony_ci" OperandImageOperands,",UNUSED,used to make a spec section,,see OperandOptionalImage 27fd4e5da5Sopenharmony_ci" OperandFPFastMath,",OpDecorate,,CombinedFPFastMathMask,"TEST_F(OpDecorateEnumTest, WrongFPFastMathMode)" 28fd4e5da5Sopenharmony_ci" OperandFPRoundingMode,",OpDecorate,,,"TEST_F(OpDecorateEnumTest, WrongFPRoundingMode)" 29fd4e5da5Sopenharmony_ci" OperandLinkageType,",OpDecorate,,OpDecorateLinkageTest,"TEST_F(OpDecorateLinkageTest, WrongType)" 30fd4e5da5Sopenharmony_ci" OperandAccessQualifier,",OpTypePipe,,AnyAccessQualifier,"TEST_F(OpTypePipeTest, WrongAccessQualifier)" 31fd4e5da5Sopenharmony_ci" OperandFuncParamAttr,",OpDecorate,,TextToBinaryDecorateFuncParamAttr,"TEST_F(OpDecorateEnumTest, WrongFuncParamAttr)" 32fd4e5da5Sopenharmony_ci" OperandDecoration,",OpDecorate,,AnyAccessQualifier,"TEST_F(OpTypePipeTest, WrongAccessQualifier)" 33fd4e5da5Sopenharmony_ci" OperandBuiltIn,",OpDecorate,,TextToBinaryDecorateBultIn,"TEST_F(OpDecorateEnumTest, WrongBuiltIn)" 34fd4e5da5Sopenharmony_ci" OperandSelect,",SelectionMerge,,TextToBinarySelectionMerge,"TEST_F(OpSelectionMergeTest, WrongSelectionControl)" 35fd4e5da5Sopenharmony_ci" OperandLoop,",LoopMerge,,CombinedLoopControlMask,"TEST_F(OpLoopMergeTest, WrongLoopControl)" 36fd4e5da5Sopenharmony_ci" OperandFunction,",Function,,AnySingleFunctionControlMask,"TEST_F(OpFunctionControlTest, WrongFunctionControl)" 37fd4e5da5Sopenharmony_ci" OperandMemorySemantics,",OpMemoryBarrier,"it's an ID, not in grammar",OpMemoryBarrier*,not enum 38fd4e5da5Sopenharmony_ci" OperandMemoryAccess,",UNUSED,"should be on opstore, but hacked in opcode.cpp",,not enum 39fd4e5da5Sopenharmony_ci" OperandScope,",MemoryBarrier,"it's an ID, not in grammar",OpMemoryBarrier*,not enum 40fd4e5da5Sopenharmony_ci" OperandGroupOperation,",GroupIAdd,,GroupOperationTest,"TEST_F(GroupOperationTest, WrongGroupOperation)" 41fd4e5da5Sopenharmony_ci" OperandKernelEnqueueFlags,",OpEnqueueKernel,"it's an ID, not in grammar",should not have one,not enum 42fd4e5da5Sopenharmony_ci" OperandKernelProfilingInfo,",OpCaptureEventProfilingInfo,"it's an ID, not in grammar",should not have one,not enum 43fd4e5da5Sopenharmony_ci" OperandCapability,",Capability,,OpCapabilityTest,"TEST_F(TextToBinaryCapability, BadInvalidCapability)" 44