Lines Matching refs:store
15 ; DSE across unordered store (allowed)
18 ; CHECK-NOT: store i32 0
19 ; CHECK: store i32 1
21 store i32 0, i32* @x
22 store atomic i32 0, i32* @y unordered, align 4
23 store i32 1, i32* @x
30 ; CHECK: store i32 0
31 ; CHECK: store i32 1
33 store i32 0, i32* @x
35 store i32 1, i32* @x
39 ; DSE across seq_cst store (store before atomic store must not be removed)
42 ; CHECK: store i32
43 ; CHECK: store atomic i32 2
45 store i32 0, i32* @x
46 store atomic i32 2, i32* @y seq_cst, align 4
47 store i32 1, i32* @x
51 ; DSE remove unordered store (allowed)
54 ; CHECK-NOT: store atomic
55 ; CHECK: store i32 1
57 store atomic i32 0, i32* @x unordered, align 4
58 store i32 1, i32* @x
62 ; DSE unordered store overwriting non-atomic store (allowed)
65 ; CHECK: store atomic i32 1
67 store i32 0, i32* @x
68 store atomic i32 1, i32* @x unordered, align 4
72 ; DSE no-op unordered atomic store (allowed)
75 ; CHECK-NOT: store
79 store atomic i32 %x, i32* @x unordered, align 4
83 ; DSE seq_cst store (be conservative; DSE doesn't have infrastructure
87 ; CHECK: store atomic
90 store atomic i32 0, i32* %a seq_cst, align 4
98 ; CHECK: store
103 store i32 0, i32* %a, align 4