Lines Matching refs:S2
4 %struct.S2 = type { i32, [4 x i32], [4 x i32] }
105 ; CHECK: MayAlias: i32* %gep1, %struct.S2* %s
106 ; CHECK: PartialAlias (off -4): i32* %gep2, %struct.S2* %s
108 define void @t5(%struct.S2* %s, i32* %q) {
110 %gep1 = getelementptr inbounds %struct.S2, %struct.S2* %s, i64 0, i32 2, i32 %in_array
111 %gep2 = getelementptr inbounds %struct.S2, %struct.S2* %s, i64 0, i32 1, i32 0
112 load %struct.S2, %struct.S2* %s
119 ; CHECK: MayAlias: i32* %gep1, %struct.S2* %s
120 ; CHECK: PartialAlias (off -16): i32* %gep2, %struct.S2* %s
122 define void @t6(%struct.S2* %s, i32* %q) {
124 %gep1 = getelementptr inbounds %struct.S2, %struct.S2* %s, i64 0, i32 2, i32 %in_array
125 %gep2 = getelementptr inbounds %struct.S2, %struct.S2* %s, i64 0, i32 1, i32 3
126 load %struct.S2, %struct.S2* %s
133 ; CHECK: MayAlias: i32* %gep1, %struct.S2* %s
134 ; CHECK: PartialAlias (off -20): i32* %gep2, %struct.S2* %s
136 define void @t7(%struct.S2* %s, i32* %q) {
138 %gep1 = getelementptr inbounds %struct.S2, %struct.S2* %s, i64 0, i32 2, i32 %in_array
139 %gep2 = getelementptr inbounds %struct.S2, %struct.S2* %s, i64 0, i32 2, i32 0
140 load %struct.S2, %struct.S2* %s
147 ; CHECK: MayAlias: i32* %gep1, %struct.S2* %s
148 ; CHECK: PartialAlias (off -24): i32* %gep2, %struct.S2* %s
150 define void @t8(%struct.S2* %s, i32* %q) {
152 %gep1 = getelementptr inbounds %struct.S2, %struct.S2* %s, i64 0, i32 2, i32 %in_array
153 %gep2 = getelementptr inbounds %struct.S2, %struct.S2* %s, i64 0, i32 2, i32 1
154 load %struct.S2, %struct.S2* %s
162 ; CHECK: MayAlias: i32* %gep1, %struct.S2* %s
163 ; CHECK: PartialAlias (off -20): i32* %gep2, %struct.S2* %s
165 define void @t9(%struct.S2* %s, i32* %q) {
167 %gep1 = getelementptr inbounds %struct.S2, %struct.S2* %s, i64 0, i32 1, i32 %in_array
168 %gep2 = getelementptr inbounds %struct.S2, %struct.S2* %s, i64 0, i32 2, i32 0
169 load %struct.S2, %struct.S2* %s
176 ; CHECK: MayAlias: i32* %gep1, %struct.S2* %s
177 ; CHECK: PartialAlias (off -4): i32* %gep2, %struct.S2* %s
179 define void @t10(%struct.S2* %s, i32* %q) {
181 %gep1 = getelementptr inbounds %struct.S2, %struct.S2* %s, i64 0, i32 2, i32 %in_array
182 %gep2 = getelementptr inbounds %struct.S2, %struct.S2* %s, i64 0, i32 1, i32 0
183 load %struct.S2, %struct.S2* %s