Lines Matching refs:P2
39 %P2 = getelementptr i8, i8* %P, i32 127
40 store i8 1, i8* %P2 ;; Not dead across memset
42 %A = load i8, i8* %P2
49 %P2 = getelementptr i8, i8* %P, i32 126
52 store i8 1, i8* %P2 ;; Dead, clobbered by memset.
55 %A = load i8, i8* %P2
67 %P2 = getelementptr i8, i8* %P, i32 2
68 store i8 %Y, i8* %P2 ;; Not read by lifetime.end, should be removed.
69 ; CHECK: store i8 2, i8* %P2
71 store i8 2, i8* %P2
81 %P2 = getelementptr i8, i8* %P, i32 2
82 store i8 %Y, i8* %P2
166 ;; In this case load can be removed, function clobbers only %P2.
168 define i32 @test9(i32* %P, i32* noalias %P2) {
170 call i32 @func_argmemonly(i32* %P2)
178 ;; In this case load can *not* be removed. Function clobers only %P2 but it may
181 define i32 @test10(i32* %P, i32* %P2) {
183 call i32 @func_argmemonly(i32* %P2)
194 define i32 @test11(i32* %P, i32* %P2) {
196 call i32 @func_argmemonly(i32* readonly %P2)
204 declare i32 @func_argmemonly_two_args(i32* %P, i32* %P2) argmemonly
207 define i32 @test12(i32* %P, i32* %P2, i32* %P3) {
209 call i32 @func_argmemonly_two_args(i32* readonly %P2, i32* %P3)
220 define i32 @test13(i32* %P, i32* %P2) {
222 call i32 @func_argmemonly(i32* readnone %P2)