Debian Codegraph @

llvm-project/llvm/projects/llvm-spirv/test/spirv_report.spt

raw
1 ; RUN: llvm-spirv %s -to-binary -o %t.spv
2 ; RUN: llvm-spirv --spirv-print-report %t.spv | FileCheck %s --check-prefix=CHECK-DAG
3
4 ; CHECK-DAG: Version: 1.0
5 ; CHECK-DAG: Memory model: OpenCL
6 ; CHECK-DAG: Addressing model: Physical32
7 ; CHECK-DAG: Number of capabilities: 4
8 ; CHECK-DAG: Capability: Addresses
9 ; CHECK-DAG: Capability: Kernel
10 ; CHECK-DAG: Capability: LoopFuseINTEL
11 ; CHECK-DAG: Capability: BitInstructions
12 ; CHECK-DAG: Number of extensions: 2
13 ; CHECK-DAG: Extension: SPV_INTEL_loop_fuse
14 ; CHECK-DAG: Extension: SPV_KHR_bit_instructions
15 ; CHECK-DAG: Number of extended instruction sets: 1
16 ; CHECK-DAG: Extended Instruction Set: OpenCL.std
17
18 119734787 65536 393230 10 0
19 2 Capability Addresses
20 2 Capability Kernel
21 2 Capability LoopFuseINTEL
22 2 Capability BitInstructions
23 6 Extension "SPV_INTEL_loop_fuse"
24 8 Extension "SPV_KHR_bit_instructions"
25 5 ExtInstImport 1 "OpenCL.std"
26 3 MemoryModel 1 2
27 7 EntryPoint 6 5 "TestSatPacked"
28 3 Source 3 102000
29
30 5 Decorate 5 FuseLoopsInFunctionINTEL 3 1
31 4 TypeInt 3 32 0
32 2 TypeVoid 2
33 5 TypeFunction 4 2 3 3
34
35 5 Function 2 5 0 4
36 3 FunctionParameter 3 6
37 3 FunctionParameter 3 7
38
39 2 Label 8
40 4 BitReverse 3 9 6
41 1 Return
42
43 1 FunctionEnd