Lines Matching +full:opt +full:- +full:out
1 ; RUN: opt -S -codegenprepare -mtriple=amdgcn-unknown-unknown -mcpu=bonaire < %s | FileCheck -check…
2 ; RUN: opt -S -codegenprepare -mtriple=amdgcn-unknown-unknown -mcpu=tonga < %s | FileCheck -check-p…
3 ; RUN: llc -march=amdgcn -mcpu=bonaire -mattr=-promote-alloca < %s | FileCheck -check-prefix=GCN -c…
4 ; RUN: llc -march=amdgcn -mcpu=tonga -mattr=-promote-alloca < %s | FileCheck -check-prefix=GCN -che…
6 ; OPT-LABEL: @test_no_sink_flat_small_offset_i32(
7 ; OPT: getelementptr i32, i32 addrspace(4)* %in
8 ; OPT: br i1
9 ; OPT-NOT: ptrtoint
11 ; GCN-LABEL: {{^}}test_no_sink_flat_small_offset_i32:
14 define void @test_no_sink_flat_small_offset_i32(i32 addrspace(4)* %out, i32 addrspace(4)* %in, i32 …
16 %out.gep = getelementptr i32, i32 addrspace(4)* %out, i64 999999
27 store i32 %x, i32 addrspace(4)* %out.gep
34 ; OPT-LABEL: @test_sink_noop_addrspacecast_flat_to_global_i32(
35 ; OPT: getelementptr i32, i32 addrspace(4)* %out,
36 ; OPT-CI-NOT: getelementptr
37 ; OPT: br i1
39 ; OPT-CI: ptrtoint
40 ; OPT-CI: add
41 ; OPT-CI: inttoptr
42 ; OPT: br label
44 ; GCN-LABEL: {{^}}test_sink_noop_addrspacecast_flat_to_global_i32:
45 ; CI: buffer_load_dword {{v[0-9]+}}, off, s{{\[[0-9]+:[0-9]+\]}}, 0 offset:28
46 define void @test_sink_noop_addrspacecast_flat_to_global_i32(i32 addrspace(4)* %out, i32 addrspace(…
48 %out.gep = getelementptr i32, i32 addrspace(4)* %out, i64 999999
60 store i32 %x, i32 addrspace(4)* %out.gep
67 ; OPT-LABEL: @test_sink_noop_addrspacecast_flat_to_constant_i32(
68 ; OPT: getelementptr i32, i32 addrspace(4)* %out,
69 ; OPT-CI-NOT: getelementptr
70 ; OPT: br i1
72 ; OPT-CI: ptrtoint
73 ; OPT-CI: add
74 ; OPT-CI: inttoptr
75 ; OPT: br label
77 ; GCN-LABEL: {{^}}test_sink_noop_addrspacecast_flat_to_constant_i32:
78 ; CI: s_load_dword {{s[0-9]+}}, s{{\[[0-9]+:[0-9]+\]}}, 0xd
79 define void @test_sink_noop_addrspacecast_flat_to_constant_i32(i32 addrspace(4)* %out, i32 addrspac…
81 %out.gep = getelementptr i32, i32 addrspace(4)* %out, i64 999999
93 store i32 %x, i32 addrspace(4)* %out.gep