Lines Matching refs:struct1
6 %struct1 = type { %struct1*, %struct1*, i32 }
9 @x1 = external global %struct1, align 4
10 @x2 = external global %struct1, align 4
20 define void @test1(i32 %unused, %struct1* %x) {
21 %first = getelementptr inbounds %struct1, %struct1* %x, i32 0, i32 0
22 %second = getelementptr inbounds %struct1, %struct1* %x, i32 0, i32 1
23 store %struct1* @x1, %struct1** %first
24 store %struct1* %x, %struct1** %second
71 define i32 @test4(%struct1* %p, %struct1* %q, i32 %a) {
73 %p1 = getelementptr inbounds %struct1, %struct1* %p, i32 0, i32 0
74 %p2 = getelementptr inbounds %struct1, %struct1* %p, i32 0, i32 1
75 %p3 = getelementptr inbounds %struct1, %struct1* %p, i32 0, i32 2
76 store %struct1* %p, %struct1** %p1, align 4
77 store %struct1* %q, %struct1** %p2, align 4