Lines Matching refs:GCN
1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
8 ; GCN-LABEL: {{^}}multiple_fadd_use_test:
9 ; GCN: v_max_legacy_f32_e64 [[A16:v[0-9]+]],
10 ; GCN: v_add_f32_e32 [[A17:v[0-9]+]], [[A16]], [[A16]]
11 ; GCN: v_mul_f32_e32 [[A18:v[0-9]+]], [[A17]], [[A17]]
12 ; GCN: v_mad_f32 [[A20:v[0-9]+]], -[[A18]], [[A17]], 1.0
13 ; GCN: buffer_store_dword [[A20]]
29 ; GCN-LABEL: {{^}}multiple_use_fadd_fmac
30 ; GCN-DAG: v_add_f32_e64 [[MUL2:v[0-9]+]], [[X:s[0-9]+]], s{{[0-9]+}}
31 ; GCN-DAG: v_mac_f32_e64 [[MAD:v[0-9]+]], 2.0, [[X]]
32 ; GCN-DAG: buffer_store_dword [[MUL2]]
33 ; GCN-DAG: buffer_store_dword [[MAD]]
34 ; GCN: s_endpgm
44 ; GCN-LABEL: {{^}}multiple_use_fadd_fmad:
45 ; GCN-DAG: v_add_f32_e64 [[MUL2:v[0-9]+]], |[[X:s[0-9]+]]|, |s{{[0-9]+}}|
46 ; GCN-DAG: v_mad_f32 [[MAD:v[0-9]+]], 2.0, |[[X]]|, v{{[0-9]+}}
47 ; GCN-DAG: buffer_store_dword [[MUL2]]
48 ; GCN-DAG: buffer_store_dword [[MAD]]
49 ; GCN: s_endpgm
60 ; GCN-LABEL: {{^}}multiple_use_fadd_multi_fmad:
61 ; GCN: v_mad_f32 {{v[0-9]+}}, 2.0, |[[X:s[0-9]+]]|, v{{[0-9]+}}
62 ; GCN: v_mad_f32 {{v[0-9]+}}, 2.0, |[[X]]|, v{{[0-9]+}}
74 ; GCN-LABEL: {{^}}fmul_x2_xn2:
75 ; GCN: v_mul_f32_e64 [[TMP0:v[0-9]+]], -4.0, [[X:s[0-9]+]]
76 ; GCN: v_mul_f32_e32 [[RESULT:v[0-9]+]], [[X]], [[TMP0]]
77 ; GCN: buffer_store_dword [[RESULT]]
87 ; GCN-LABEL: {{^}}fmul_x2_xn3:
88 ; GCN: v_mov_b32_e32 [[K:v[0-9]+]], 0xc0c00000
89 ; GCN: v_mul_f32_e32 [[TMP0:v[0-9]+]], [[X:s[0-9]+]], [[K]]
90 ; GCN: v_mul_f32_e32 [[RESULT:v[0-9]+]], [[X]], [[TMP0]]
91 ; GCN: buffer_store_dword [[RESULT]]