@@ -158,26 +158,26 @@ entry:
158
158
%2 = bitcast %struct._ZTS5State.State addrspace (4 )** %z to i8*
159
159
call void @llvm.lifetime.start.p0i8 (i64 8 , i8* %2 ) #5
160
160
; CHECK-LLVM: %[[FLOAT_FUNC_PARAM_LOAD:[[:alnum:].]+]] = load ptr addrspace(4), ptr %[[FLOAT_FUNC_PARAM]]
161
- ; CHECK-LLVM: %[[INTRINSIC_CALL:[[:alnum:].]+]] = call ptr addrspace(4) @llvm.ptr.annotation.p4(ptr addrspace(4) %[[FLOAT_FUNC_PARAM_LOAD]], ptr [[PARAM_3_CACHE_0]]
161
+ ; CHECK-LLVM: %[[INTRINSIC_CALL:[[:alnum:].]+]] = call ptr addrspace(4) @llvm.ptr.annotation.p4.p0 (ptr addrspace(4) %[[FLOAT_FUNC_PARAM_LOAD]], ptr [[PARAM_3_CACHE_0]]
162
162
; CHECK-LLVM: store ptr addrspace(4) %[[INTRINSIC_CALL]], ptr %[[FLOAT_VAR]]
163
163
%3 = load float addrspace (4 )*, float addrspace (4 )** %A.addr , align 8 , !tbaa !5
164
164
%4 = call float addrspace (4 )* @llvm.ptr.annotation.p4f32 (float addrspace (4 )* %3 , i8* getelementptr inbounds ([25 x i8 ], [25 x i8 ]* @.str , i32 0 , i32 0 ), i8* getelementptr inbounds ([14 x i8 ], [14 x i8 ]* @.str.1 , i32 0 , i32 0 ), i32 0 , i8* null ) #6
165
165
store float addrspace (4 )* %4 , float addrspace (4 )** %x , align 8 , !tbaa !5
166
166
; CHECK-LLVM: %[[INT_FUNC_PARAM_LOAD:[[:alnum:].]+]] = load ptr addrspace(4), ptr %[[INT_FUNC_PARAM]]
167
- ; CHECK-LLVM: %[[INTRINSIC_CALL:[[:alnum:].]+]] = call ptr addrspace(4) @llvm.ptr.annotation.p4(ptr addrspace(4) %[[INT_FUNC_PARAM_LOAD]], ptr [[PARAM_12_CACHE_0]]
167
+ ; CHECK-LLVM: %[[INTRINSIC_CALL:[[:alnum:].]+]] = call ptr addrspace(4) @llvm.ptr.annotation.p4.p0 (ptr addrspace(4) %[[INT_FUNC_PARAM_LOAD]], ptr [[PARAM_12_CACHE_0]]
168
168
; CHECK-LLVM: store ptr addrspace(4) %[[INTRINSIC_CALL]], ptr %[[INT_VAR]]
169
169
%5 = load i32 addrspace (4 )*, i32 addrspace (4 )** %B.addr , align 8 , !tbaa !5
170
170
%6 = call i32 addrspace (4 )* @llvm.ptr.annotation.p4i32 (i32 addrspace (4 )* %5 , i8* getelementptr inbounds ([26 x i8 ], [26 x i8 ]* @.str.2 , i32 0 , i32 0 ), i8* getelementptr inbounds ([14 x i8 ], [14 x i8 ]* @.str.1 , i32 0 , i32 0 ), i32 0 , i8* null ) #6
171
171
store i32 addrspace (4 )* %6 , i32 addrspace (4 )** %y , align 8 , !tbaa !5
172
172
; CHECK-LLVM: %[[WHOLE_STRUCT_LOAD:[0-9]+]] = [[WHOLE_STRUCT_LOAD_INST:load\ ptr\ addrspace\(4\),\ ptr.*]][[STRUCT_FUNC_PARAM]]
173
- ; CHECK-LLVM: %[[INTRINSIC_CALL:[[:alnum:].]+]] = call ptr addrspace(4) @llvm.ptr.annotation.p4(ptr addrspace(4) %[[WHOLE_STRUCT_LOAD]], ptr [[PARAM_2_CACHE_127]]
173
+ ; CHECK-LLVM: %[[INTRINSIC_CALL:[[:alnum:].]+]] = call ptr addrspace(4) @llvm.ptr.annotation.p4.p0 (ptr addrspace(4) %[[WHOLE_STRUCT_LOAD]], ptr [[PARAM_2_CACHE_127]]
174
174
; CHECK-LLVM: store ptr addrspace(4) %[[INTRINSIC_CALL]], ptr %[[STRUCT_VAR]]
175
175
%7 = load %struct._ZTS5State.State addrspace (4 )*, %struct._ZTS5State.State addrspace (4 )** %C.addr , align 8 , !tbaa !5
176
176
%8 = call %struct._ZTS5State.State addrspace (4 )* @llvm.ptr.annotation.p4s_struct._ZTS5State.States (%struct._ZTS5State.State addrspace (4 )* %7 , i8* getelementptr inbounds ([27 x i8 ], [27 x i8 ]* @.str.3 , i32 0 , i32 0 ), i8* getelementptr inbounds ([14 x i8 ], [14 x i8 ]* @.str.1 , i32 0 , i32 0 ), i32 0 , i8* null ) #6
177
177
store %struct._ZTS5State.State addrspace (4 )* %8 , %struct._ZTS5State.State addrspace (4 )** %z , align 8 , !tbaa !5
178
178
; CHECK-LLVM: %[[WHOLE_STRUCT_LOAD_FOR_FLOAT:[0-9]+]] = [[WHOLE_STRUCT_LOAD_INST]][[STRUCT_FUNC_PARAM]]
179
179
; CHECK-LLVM: %[[FLOAT_FIELD_GEP:[[:alnum:].]+]] = getelementptr inbounds %struct{{.*}}State, ptr addrspace(4) %[[WHOLE_STRUCT_LOAD_FOR_FLOAT]], i32 0, i32 0
180
- ; CHECK-LLVM: %[[INTRINSIC_CALL:[[:alnum:].]+]] = call ptr addrspace(4) @llvm.ptr.annotation.p4(ptr addrspace(4) %[[FLOAT_FIELD_GEP]], ptr [[PARAM_3_CACHE_127]]
180
+ ; CHECK-LLVM: %[[INTRINSIC_CALL:[[:alnum:].]+]] = call ptr addrspace(4) @llvm.ptr.annotation.p4.p0 (ptr addrspace(4) %[[FLOAT_FIELD_GEP]], ptr [[PARAM_3_CACHE_127]]
181
181
; CHECK-LLVM: store ptr addrspace(4) %[[INTRINSIC_CALL]], ptr %[[FLOAT_VAR]]
182
182
%9 = load %struct._ZTS5State.State addrspace (4 )*, %struct._ZTS5State.State addrspace (4 )** %C.addr , align 8 , !tbaa !5
183
183
%Field1 = getelementptr inbounds %struct._ZTS5State.State , %struct._ZTS5State.State addrspace (4 )* %9 , i32 0 , i32 0
@@ -193,7 +193,7 @@ entry:
193
193
%12 = call i32 addrspace (4 )* @llvm.ptr.annotation.p4i32 (i32 addrspace (4 )* %Field2 , i8* getelementptr inbounds ([27 x i8 ], [27 x i8 ]* @.str.5 , i32 0 , i32 0 ), i8* getelementptr inbounds ([14 x i8 ], [14 x i8 ]* @.str.1 , i32 0 , i32 0 ), i32 0 , i8* null ) #6
194
194
store i32 addrspace (4 )* %12 , i32 addrspace (4 )** %y , align 8 , !tbaa !5
195
195
; CHECK-LLVM: %[[WHOLE_STRUCT_LOAD:[0-9]+]] = [[WHOLE_STRUCT_LOAD_INST]][[STRUCT_FUNC_PARAM]]
196
- ; CHECK-LLVM: %[[INTRINSIC_CALL:[[:alnum:].]+]] = call ptr addrspace(4) @llvm.ptr.annotation.p4(ptr addrspace(4) %[[WHOLE_STRUCT_LOAD]], ptr [[PARAM_15_CACHE_127]]
196
+ ; CHECK-LLVM: %[[INTRINSIC_CALL:[[:alnum:].]+]] = call ptr addrspace(4) @llvm.ptr.annotation.p4.p0 (ptr addrspace(4) %[[WHOLE_STRUCT_LOAD]], ptr [[PARAM_15_CACHE_127]]
197
197
; CHECK-LLVM: store ptr addrspace(4) %[[INTRINSIC_CALL]], ptr %[[STRUCT_VAR]]
198
198
%13 = load %struct._ZTS5State.State addrspace (4 )*, %struct._ZTS5State.State addrspace (4 )** %C.addr , align 8 , !tbaa !5
199
199
%14 = call %struct._ZTS5State.State addrspace (4 )* @llvm.ptr.annotation.p4s_struct._ZTS5State.States (%struct._ZTS5State.State addrspace (4 )* %13 , i8* getelementptr inbounds ([28 x i8 ], [28 x i8 ]* @.str.6 , i32 0 , i32 0 ), i8* getelementptr inbounds ([14 x i8 ], [14 x i8 ]* @.str.1 , i32 0 , i32 0 ), i32 0 , i8* null ) #6
@@ -202,22 +202,22 @@ entry:
202
202
call void @llvm.lifetime.start.p0i8 (i64 8 , i8* %15 ) #5
203
203
; CHECK-LLVM: %[[FLOAT_FUNC_PARAM_LOAD:[[:alnum:].]+]] = load ptr addrspace(4), ptr %[[FLOAT_FUNC_PARAM]]
204
204
; CHECK-LLVM: %[[BITCAST_FLOAT_TO_DOUBLE:[[:alnum:].]+]] = bitcast ptr addrspace(4) %[[FLOAT_FUNC_PARAM_LOAD]] to ptr addrspace(4)
205
- ; CHECK-LLVM: %[[INTRINSIC_CALL:[[:alnum:].]+]] = call ptr addrspace(4) @llvm.ptr.annotation.p4(ptr addrspace(4) %[[BITCAST_FLOAT_TO_DOUBLE]], ptr [[PARAM_3_CACHE_0]]
205
+ ; CHECK-LLVM: %[[INTRINSIC_CALL:[[:alnum:].]+]] = call ptr addrspace(4) @llvm.ptr.annotation.p4.p0 (ptr addrspace(4) %[[BITCAST_FLOAT_TO_DOUBLE]], ptr [[PARAM_3_CACHE_0]]
206
206
; CHECK-LLVM: store ptr addrspace(4) %[[INTRINSIC_CALL]], ptr %[[DOUBLE_VAR]]
207
207
%16 = load float addrspace (4 )*, float addrspace (4 )** %A.addr , align 8 , !tbaa !5
208
208
%17 = bitcast float addrspace (4 )* %16 to double addrspace (4 )*
209
209
%18 = call double addrspace (4 )* @llvm.ptr.annotation.p4f64 (double addrspace (4 )* %17 , i8* getelementptr inbounds ([25 x i8 ], [25 x i8 ]* @.str , i32 0 , i32 0 ), i8* getelementptr inbounds ([14 x i8 ], [14 x i8 ]* @.str.1 , i32 0 , i32 0 ), i32 0 , i8* null ) #6
210
210
store double addrspace (4 )* %18 , double addrspace (4 )** %t , align 8 , !tbaa !5
211
211
; CHECK-LLVM: %[[FLOAT_FUNC_PARAM_LOAD:[[:alnum:].]+]] = load ptr addrspace(4), ptr %[[FLOAT_FUNC_PARAM]]
212
- ; CHECK-LLVM: %[[INTRINSIC_CALL:[[:alnum:].]+]] = call ptr addrspace(4) @llvm.ptr.annotation.p4(ptr addrspace(4) %[[FLOAT_FUNC_PARAM_LOAD]], ptr [[PARAM_3_CACHE_0]]
212
+ ; CHECK-LLVM: %[[INTRINSIC_CALL:[[:alnum:].]+]] = call ptr addrspace(4) @llvm.ptr.annotation.p4.p0 (ptr addrspace(4) %[[FLOAT_FUNC_PARAM_LOAD]], ptr [[PARAM_3_CACHE_0]]
213
213
; CHECK-LLVM: store float 5.000000e+00, ptr addrspace(4) %[[INTRINSIC_CALL]]
214
214
%19 = load float addrspace (4 )*, float addrspace (4 )** %A.addr , align 8 , !tbaa !5
215
215
%20 = call float addrspace (4 )* @llvm.ptr.annotation.p4f32 (float addrspace (4 )* %19 , i8* getelementptr inbounds ([25 x i8 ], [25 x i8 ]* @.str , i32 0 , i32 0 ), i8* getelementptr inbounds ([14 x i8 ], [14 x i8 ]* @.str.1 , i32 0 , i32 0 ), i32 0 , i8* null ) #6
216
216
store float 5 .000000e+00 , float addrspace (4 )* %20 , align 4 , !tbaa !5
217
217
%21 = bitcast i32* %s to i8*
218
218
call void @llvm.lifetime.start.p0i8 (i64 4 , i8* %21 ) #5
219
219
; CHECK-LLVM: %[[INT1_FUNC_PARAM_LOAD:[[:alnum:].]+]] = load ptr addrspace(4), ptr %[[INT_FUNC_PARAM]]
220
- ; CHECK-LLVM: %[[INTRINSIC_CALL:[[:alnum:].]+]] = call ptr addrspace(4) @llvm.ptr.annotation.p4(ptr addrspace(4) %[[INT1_FUNC_PARAM_LOAD]], ptr [[PARAM_12_CACHE_0]]
220
+ ; CHECK-LLVM: %[[INTRINSIC_CALL:[[:alnum:].]+]] = call ptr addrspace(4) @llvm.ptr.annotation.p4.p0 (ptr addrspace(4) %[[INT1_FUNC_PARAM_LOAD]], ptr [[PARAM_12_CACHE_0]]
221
221
; CHECK-LLVM: %[[INTRINSIC_RESULT_LOAD:[[:alnum:].]+]] = load i32, ptr addrspace(4) %[[INTRINSIC_CALL]]
222
222
; CHECK-LLVM: store i32 %[[INTRINSIC_RESULT_LOAD]], ptr %[[INT_VAR_1]]
223
223
%22 = load i32 addrspace (4 )*, i32 addrspace (4 )** %B.addr , align 8 , !tbaa !5
0 commit comments