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