Lines Matching refs:GCN
1 …n -mattr=-promote-alloca -amdgpu-sroa=0 -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
3 ; GCN-LABEL: {{^}}stored_fi_to_lds:
4 ; GCN: s_load_dword [[LDSPTR:s[0-9]+]]
5 ; GCN: v_mov_b32_e32 [[ZERO1:v[0-9]+]], 0{{$}}
6 ; GCN: buffer_store_dword v{{[0-9]+}}, [[ZERO1]]
7 ; GCN: v_mov_b32_e32 [[ZERO0:v[0-9]+]], 0{{$}}
8 ; GCN: v_mov_b32_e32 [[VLDSPTR:v[0-9]+]], [[LDSPTR]]
9 ; GCN: ds_write_b32 [[VLDSPTR]], [[ZERO0]]
18 ; GCN-LABEL: {{^}}stored_fi_to_lds_2_small_objects:
19 ; GCN-DAG: v_mov_b32_e32 [[ZERO:v[0-9]+]], 0{{$}}
20 ; GCN-DAG: buffer_store_dword v{{[0-9]+}}, [[ZERO]], s{{\[[0-9]+:[0-9]+\]}}, s{{[0-9]+}} offen{{$}}
21 ; GCN-DAG: buffer_store_dword v{{[0-9]+}}, [[ZERO]], s{{\[[0-9]+:[0-9]+\]}}, s{{[0-9]+}} offen offs…
23 ; GCN-DAG: s_load_dword [[LDSPTR:s[0-9]+]]
25 ; GCN-DAG: v_mov_b32_e32 [[VLDSPTR:v[0-9]+]], [[LDSPTR]]
26 ; GCN: ds_write_b32 [[VLDSPTR]], [[ZERO]]
28 ; GCN-DAG: v_mov_b32_e32 [[FI1:v[0-9]+]], 4{{$}}
29 ; GCN: ds_write_b32 [[VLDSPTR]], [[FI1]]
41 ; GCN-LABEL: {{^}}stored_fi_to_self:
42 ; GCN-DAG: v_mov_b32_e32 [[K:v[0-9]+]], 0x4d2{{$}}
43 ; GCN-DAG: v_mov_b32_e32 [[ZERO:v[0-9]+]], 0{{$}}
44 ; GCN: buffer_store_dword [[K]], [[ZERO]], s{{\[[0-9]+:[0-9]+\]}}, s{{[0-9]+}} offen{{$}}
45 ; GCN: buffer_store_dword [[ZERO]], [[ZERO]], s{{\[[0-9]+:[0-9]+\]}}, s{{[0-9]+}} offen{{$}}
56 ; GCN-LABEL: {{^}}stored_fi_to_self_offset:
57 ; GCN-DAG: v_mov_b32_e32 [[ZERO:v[0-9]+]], 0{{$}}
58 ; GCN-DAG: v_mov_b32_e32 [[K0:v[0-9]+]], 32{{$}}
59 ; GCN: buffer_store_dword [[K0]], [[ZERO]], s{{\[[0-9]+:[0-9]+\]}}, s{{[0-9]+}} offen{{$}}
61 ; GCN-DAG: v_mov_b32_e32 [[K1:v[0-9]+]], 0x4d2{{$}}
62 ; GCN: buffer_store_dword [[K1]], [[ZERO]], s{{\[[0-9]+:[0-9]+\]}}, s{{[0-9]+}} offen offset:2048{{…
64 ; GCN: v_mov_b32_e32 [[OFFSETK:v[0-9]+]], 0x800{{$}}
65 ; GCN: buffer_store_dword [[OFFSETK]], [[ZERO]], s{{\[[0-9]+:[0-9]+\]}}, s{{[0-9]+}} offen offset:2…
81 ; GCN-LABEL: {{^}}stored_fi_to_fi:
82 ; GCN: v_mov_b32_e32 [[ZERO:v[0-9]+]], 0{{$}}
83 ; GCN: buffer_store_dword v{{[0-9]+}}, [[ZERO]], s{{\[[0-9]+:[0-9]+\]}}, s{{[0-9]+}} offen{{$}}
84 ; GCN: buffer_store_dword v{{[0-9]+}}, [[ZERO]], s{{\[[0-9]+:[0-9]+\]}}, s{{[0-9]+}} offen offset:4…
85 ; GCN: buffer_store_dword v{{[0-9]+}}, [[ZERO]], s{{\[[0-9]+:[0-9]+\]}}, s{{[0-9]+}} offen offset:8…
87 ; GCN: v_mov_b32_e32 [[FI1:v[0-9]+]], 4{{$}}
88 ; GCN: buffer_store_dword [[FI1]], [[ZERO]], s{{\[[0-9]+:[0-9]+\]}}, s{{[0-9]+}} offen offset:8{{$}}
90 ; GCN: v_mov_b32_e32 [[FI2:v[0-9]+]], 8{{$}}
91 ; GCN: buffer_store_dword [[FI2]], [[ZERO]], s{{\[[0-9]+:[0-9]+\]}}, s{{[0-9]+}} offen offset:4{{$}}
108 ; GCN-LABEL: {{^}}stored_fi_to_global:
109 ; GCN: buffer_store_dword v{{[0-9]+}}, v{{[0-9]+}}, s{{\[[0-9]+:[0-9]+\]}}, s{{[0-9]+}} offen
110 ; GCN: v_mov_b32_e32 [[FI:v[0-9]+]], 0{{$}}
111 ; GCN: buffer_store_dword [[FI]]
120 ; GCN-LABEL: {{^}}stored_fi_to_global_2_small_objects:
121 ; GCN: buffer_store_dword v{{[0-9]+}}, v{{[0-9]+}}, s{{\[[0-9]+:[0-9]+\]}}, s{{[0-9]+}} offen
122 ; GCN: buffer_store_dword v{{[0-9]+}}, v{{[0-9]+}}, s{{\[[0-9]+:[0-9]+\]}}, s{{[0-9]+}} offen
123 ; GCN: buffer_store_dword v{{[0-9]+}}, v{{[0-9]+}}, s{{\[[0-9]+:[0-9]+\]}}, s{{[0-9]+}} offen
125 ; GCN: v_mov_b32_e32 [[FI1:v[0-9]+]], 4{{$}}
126 ; GCN: buffer_store_dword [[FI1]], off, s{{\[[0-9]+:[0-9]+\]}}, 0{{$}}
128 ; GCN-DAG: v_mov_b32_e32 [[FI2:v[0-9]+]], 8{{$}}
129 ; GCN: buffer_store_dword [[FI2]], off, s{{\[[0-9]+:[0-9]+\]}}, 0{{$}}
142 ; GCN-LABEL: {{^}}stored_fi_to_global_huge_frame_offset:
143 ; GCN: s_add_i32 [[BASE_1_OFF_0:s[0-9]+]], 0, 0x3ffc
144 ; GCN: v_mov_b32_e32 [[BASE_0:v[0-9]+]], 0{{$}}
145 ; GCN: buffer_store_dword [[BASE_0]], v{{[0-9]+}}, s{{\[[0-9]+:[0-9]+\]}}, s{{[0-9]+}} offen
147 ; GCN: v_mov_b32_e32 [[V_BASE_1_OFF_0:v[0-9]+]], [[BASE_1_OFF_0]]
148 ; GCN: v_mov_b32_e32 [[K:v[0-9]+]], 0x3e7{{$}}
149 ; GCN: s_add_i32 [[BASE_1_OFF_1:s[0-9]+]], 0, 56
150 ; GCN: buffer_store_dword [[K]], [[V_BASE_1_OFF_0]], s{{\[[0-9]+:[0-9]+\]}}, s{{[0-9]+}} offen{{$}}
152 ; GCN: v_mov_b32_e32 [[V_BASE_1_OFF_1:v[0-9]+]], [[BASE_1_OFF_1]]
153 ; GCN: buffer_store_dword [[V_BASE_1_OFF_1]], off, s{{\[[0-9]+:[0-9]+\]}}, 0{{$}}