IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_hash/sha256/cp/extr_hash_sha256_cp.c_crypto_hash_sha256_final.c'
source_filename = "AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_hash/sha256/cp/extr_hash_sha256_cp.c_crypto_hash_sha256_final.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @crypto_hash_sha256_final(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca [72 x i32], align 16
call void @llvm.lifetime.start.p0(i64 288, ptr nonnull %3) #3
%4 = call i32 @SHA256_Pad(ptr noundef %0, ptr noundef nonnull %3) #3
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = call i32 @be32enc_vect(ptr noundef %1, i32 noundef %5, i32 noundef 32) #3
%7 = call i32 @sodium_memzero(ptr noundef nonnull %3, i32 noundef 288) #3
%8 = call i32 @sodium_memzero(ptr noundef nonnull %0, i32 noundef 4) #3
call void @llvm.lifetime.end.p0(i64 288, ptr nonnull %3) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @SHA256_Pad(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @be32enc_vect(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sodium_memzero(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_hash/sha256/cp/extr_hash_sha256_cp.c_crypto_hash_sha256_final.c'
source_filename = "AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_hash/sha256/cp/extr_hash_sha256_cp.c_crypto_hash_sha256_final.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @crypto_hash_sha256_final(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca [72 x i32], align 4
call void @llvm.lifetime.start.p0(i64 288, ptr nonnull %3) #3
%4 = call i32 @SHA256_Pad(ptr noundef %0, ptr noundef nonnull %3) #3
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = call i32 @be32enc_vect(ptr noundef %1, i32 noundef %5, i32 noundef 32) #3
%7 = call i32 @sodium_memzero(ptr noundef nonnull %3, i32 noundef 288) #3
%8 = call i32 @sodium_memzero(ptr noundef nonnull %0, i32 noundef 4) #3
call void @llvm.lifetime.end.p0(i64 288, ptr nonnull %3) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @SHA256_Pad(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @be32enc_vect(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sodium_memzero(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_contrib_libsodium_src_libsodium_crypto_hash_sha256_cp_extr_hash_sha256_cp.c_crypto_hash_sha256_final |
; ModuleID = 'AnghaBench/reactos/dll/3rdparty/libxslt/extr_variables.c_xsltRegisterPersistRVT.c'
source_filename = "AnghaBench/reactos/dll/3rdparty/libxslt/extr_variables.c_xsltRegisterPersistRVT.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { ptr, ptr, i32 }
@XSLT_RVT_GLOBAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable
define dso_local noundef i32 @xsltRegisterPersistRVT(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
%4 = icmp eq ptr %1, null
%5 = or i1 %3, %4
br i1 %5, label %14, label %6
6: ; preds = %2
%7 = load i32, ptr @XSLT_RVT_GLOBAL, align 4, !tbaa !5
%8 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 2
store i32 %7, ptr %8, align 8, !tbaa !9
store ptr null, ptr %1, align 8, !tbaa !12
%9 = load ptr, ptr %0, align 8, !tbaa !13
%10 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1
store ptr %9, ptr %10, align 8, !tbaa !15
%11 = icmp eq ptr %9, null
br i1 %11, label %13, label %12
12: ; preds = %6
store ptr %1, ptr %9, align 8, !tbaa !12
br label %13
13: ; preds = %12, %6
store ptr %1, ptr %0, align 8, !tbaa !13
br label %14
14: ; preds = %2, %13
%15 = phi i32 [ 0, %13 ], [ -1, %2 ]
ret i32 %15
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 16}
!10 = !{!"TYPE_6__", !11, i64 0, !11, i64 8, !6, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_5__", !11, i64 0}
!15 = !{!10, !11, i64 8}
| ; ModuleID = 'AnghaBench/reactos/dll/3rdparty/libxslt/extr_variables.c_xsltRegisterPersistRVT.c'
source_filename = "AnghaBench/reactos/dll/3rdparty/libxslt/extr_variables.c_xsltRegisterPersistRVT.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@XSLT_RVT_GLOBAL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync)
define range(i32 -1, 1) i32 @xsltRegisterPersistRVT(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
%4 = icmp eq ptr %1, null
%5 = or i1 %3, %4
br i1 %5, label %14, label %6
6: ; preds = %2
%7 = load i32, ptr @XSLT_RVT_GLOBAL, align 4, !tbaa !6
%8 = getelementptr inbounds i8, ptr %1, i64 16
store i32 %7, ptr %8, align 8, !tbaa !10
store ptr null, ptr %1, align 8, !tbaa !13
%9 = load ptr, ptr %0, align 8, !tbaa !14
%10 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %9, ptr %10, align 8, !tbaa !16
%11 = icmp eq ptr %9, null
br i1 %11, label %13, label %12
12: ; preds = %6
store ptr %1, ptr %9, align 8, !tbaa !13
br label %13
13: ; preds = %12, %6
store ptr %1, ptr %0, align 8, !tbaa !14
br label %14
14: ; preds = %2, %13
%15 = phi i32 [ 0, %13 ], [ -1, %2 ]
ret i32 %15
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 16}
!11 = !{!"TYPE_6__", !12, i64 0, !12, i64 8, !7, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"TYPE_5__", !12, i64 0}
!16 = !{!11, !12, i64 8}
| reactos_dll_3rdparty_libxslt_extr_variables.c_xsltRegisterPersistRVT |
; ModuleID = 'AnghaBench/linux/drivers/mtd/extr_mtdcore.c_mtd_pairing_groups.c'
source_filename = "AnghaBench/linux/drivers/mtd/extr_mtdcore.c_mtd_pairing_groups.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define dso_local i32 @mtd_pairing_groups(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr %2, align 4, !tbaa !10
%6 = tail call i32 @llvm.umax.i32(i32 %5, i32 1)
br label %7
7: ; preds = %4, %1
%8 = phi i32 [ 1, %1 ], [ %6, %4 ]
ret i32 %8
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"mtd_info", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/mtd/extr_mtdcore.c_mtd_pairing_groups.c'
source_filename = "AnghaBench/linux/drivers/mtd/extr_mtdcore.c_mtd_pairing_groups.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define range(i32 1, 0) i32 @mtd_pairing_groups(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr %2, align 4, !tbaa !11
%6 = tail call i32 @llvm.umax.i32(i32 %5, i32 1)
br label %7
7: ; preds = %4, %1
%8 = phi i32 [ 1, %1 ], [ %6, %4 ]
ret i32 %8
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"mtd_info", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
| linux_drivers_mtd_extr_mtdcore.c_mtd_pairing_groups |
; ModuleID = 'AnghaBench/linux/net/llc/extr_llc_s_ac.c_llc_sap_action_send_test_c.c'
source_filename = "AnghaBench/linux/net/llc/extr_llc_s_ac.c_llc_sap_action_send_test_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.llc_sap_state_ev = type { %struct.TYPE_4__, %struct.TYPE_3__ }
%struct.TYPE_4__ = type { i32, i32 }
%struct.TYPE_3__ = type { i32, i32 }
@LLC_PDU_TYPE_U = dso_local local_unnamed_addr global i32 0, align 4
@LLC_PDU_CMD = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @llc_sap_action_send_test_c(ptr nocapture noundef readnone %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @llc_sap_ev(ptr noundef %1) #2
%4 = load i32, ptr @LLC_PDU_TYPE_U, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.llc_sap_state_ev, ptr %3, i64 0, i32 1
%6 = getelementptr inbounds %struct.llc_sap_state_ev, ptr %3, i64 0, i32 1, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !9
%8 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = load i32, ptr @LLC_PDU_CMD, align 4, !tbaa !5
%11 = tail call i32 @llc_pdu_header_init(ptr noundef %1, i32 noundef %4, i32 noundef %7, i32 noundef %9, i32 noundef %10) #2
%12 = tail call i32 @llc_pdu_init_as_test_cmd(ptr noundef %1) #2
%13 = load i32, ptr %5, align 4, !tbaa !14
%14 = load i32, ptr %3, align 4, !tbaa !15
%15 = tail call i32 @llc_mac_hdr_init(ptr noundef %1, i32 noundef %13, i32 noundef %14) #2
%16 = icmp eq i32 %15, 0
%17 = zext i1 %16 to i32
%18 = tail call i64 @likely(i32 noundef %17) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %23, label %20
20: ; preds = %2
%21 = tail call i32 @skb_get(ptr noundef %1) #2
%22 = tail call i32 @dev_queue_xmit(ptr noundef %1) #2
br label %23
23: ; preds = %20, %2
%24 = phi i32 [ %22, %20 ], [ %15, %2 ]
ret i32 %24
}
declare ptr @llc_sap_ev(ptr noundef) local_unnamed_addr #1
declare i32 @llc_pdu_header_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @llc_pdu_init_as_test_cmd(ptr noundef) local_unnamed_addr #1
declare i32 @llc_mac_hdr_init(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @skb_get(ptr noundef) local_unnamed_addr #1
declare i32 @dev_queue_xmit(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 12}
!10 = !{!"llc_sap_state_ev", !11, i64 0, !12, i64 8}
!11 = !{!"TYPE_4__", !6, i64 0, !6, i64 4}
!12 = !{!"TYPE_3__", !6, i64 0, !6, i64 4}
!13 = !{!10, !6, i64 4}
!14 = !{!10, !6, i64 8}
!15 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/llc/extr_llc_s_ac.c_llc_sap_action_send_test_c.c'
source_filename = "AnghaBench/linux/net/llc/extr_llc_s_ac.c_llc_sap_action_send_test_c.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LLC_PDU_TYPE_U = common local_unnamed_addr global i32 0, align 4
@LLC_PDU_CMD = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @llc_sap_action_send_test_c(ptr nocapture noundef readnone %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @llc_sap_ev(ptr noundef %1) #2
%4 = load i32, ptr @LLC_PDU_TYPE_U, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %3, i64 8
%6 = getelementptr inbounds i8, ptr %3, i64 12
%7 = load i32, ptr %6, align 4, !tbaa !10
%8 = getelementptr inbounds i8, ptr %3, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !14
%10 = load i32, ptr @LLC_PDU_CMD, align 4, !tbaa !6
%11 = tail call i32 @llc_pdu_header_init(ptr noundef %1, i32 noundef %4, i32 noundef %7, i32 noundef %9, i32 noundef %10) #2
%12 = tail call i32 @llc_pdu_init_as_test_cmd(ptr noundef %1) #2
%13 = load i32, ptr %5, align 4, !tbaa !15
%14 = load i32, ptr %3, align 4, !tbaa !16
%15 = tail call i32 @llc_mac_hdr_init(ptr noundef %1, i32 noundef %13, i32 noundef %14) #2
%16 = icmp eq i32 %15, 0
%17 = zext i1 %16 to i32
%18 = tail call i64 @likely(i32 noundef %17) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %23, label %20
20: ; preds = %2
%21 = tail call i32 @skb_get(ptr noundef %1) #2
%22 = tail call i32 @dev_queue_xmit(ptr noundef %1) #2
br label %23
23: ; preds = %20, %2
%24 = phi i32 [ %22, %20 ], [ %15, %2 ]
ret i32 %24
}
declare ptr @llc_sap_ev(ptr noundef) local_unnamed_addr #1
declare i32 @llc_pdu_header_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @llc_pdu_init_as_test_cmd(ptr noundef) local_unnamed_addr #1
declare i32 @llc_mac_hdr_init(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @skb_get(ptr noundef) local_unnamed_addr #1
declare i32 @dev_queue_xmit(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 12}
!11 = !{!"llc_sap_state_ev", !12, i64 0, !13, i64 8}
!12 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
!13 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
!14 = !{!11, !7, i64 4}
!15 = !{!11, !7, i64 8}
!16 = !{!11, !7, i64 0}
| linux_net_llc_extr_llc_s_ac.c_llc_sap_action_send_test_c |
; ModuleID = 'AnghaBench/linux/arch/openrisc/lib/extr_delay.c___const_udelay.c'
source_filename = "AnghaBench/linux/arch/openrisc/lib/extr_delay.c___const_udelay.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@HZ = dso_local local_unnamed_addr global i64 0, align 8
@loops_per_jiffy = dso_local local_unnamed_addr global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/arch/openrisc/lib/extr_delay.c___const_udelay.c'
source_filename = "AnghaBench/linux/arch/openrisc/lib/extr_delay.c___const_udelay.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HZ = common local_unnamed_addr global i64 0, align 8
@loops_per_jiffy = common local_unnamed_addr global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_arch_openrisc_lib_extr_delay.c___const_udelay |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_remote-fileio.c_remote_fileio_func_rename.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_remote-fileio.c_remote_fileio_func_rename.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.stat = type { i32 }
@FILEIO_EACCES = dso_local local_unnamed_addr global i32 0, align 4
@remote_fio_no_longjmp = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i64 0, align 8
@ENOTEMPTY = dso_local local_unnamed_addr global i64 0, align 8
@EEXIST = dso_local local_unnamed_addr global i64 0, align 8
@EACCES = dso_local local_unnamed_addr global i64 0, align 8
@EINVAL = dso_local local_unnamed_addr global i64 0, align 8
@EISDIR = dso_local local_unnamed_addr global i64 0, align 8
@PATH_MAX = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @remote_fileio_func_rename], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @remote_fileio_func_rename(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.stat, align 4
%6 = alloca %struct.stat, align 4
store ptr %0, ptr %2, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
%7 = call i64 @remote_fileio_extract_ptr_w_len(ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4) #4
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %1
%10 = call i32 (...) @remote_fileio_ioerror() #4
br label %72
11: ; preds = %1
%12 = load i32, ptr %4, align 4, !tbaa !9
%13 = call ptr @alloca(i32 noundef %12) #4
%14 = load i32, ptr %3, align 4, !tbaa !9
%15 = load i32, ptr %4, align 4, !tbaa !9
%16 = call i32 @remote_read_bytes(i32 noundef %14, ptr noundef %13, i32 noundef %15) #4
%17 = load i32, ptr %4, align 4, !tbaa !9
%18 = icmp eq i32 %16, %17
br i1 %18, label %21, label %19
19: ; preds = %11
%20 = call i32 (...) @remote_fileio_ioerror() #4
br label %72
21: ; preds = %11
%22 = call i64 @remote_fileio_extract_ptr_w_len(ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4) #4
%23 = icmp eq i64 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %21
%25 = call i32 (...) @remote_fileio_ioerror() #4
br label %72
26: ; preds = %21
%27 = load i32, ptr %4, align 4, !tbaa !9
%28 = call ptr @alloca(i32 noundef %27) #4
%29 = load i32, ptr %3, align 4, !tbaa !9
%30 = load i32, ptr %4, align 4, !tbaa !9
%31 = call i32 @remote_read_bytes(i32 noundef %29, ptr noundef %28, i32 noundef %30) #4
%32 = load i32, ptr %4, align 4, !tbaa !9
%33 = icmp eq i32 %31, %32
br i1 %33, label %36, label %34
34: ; preds = %26
%35 = call i32 (...) @remote_fileio_ioerror() #4
br label %72
36: ; preds = %26
%37 = call i32 @stat(ptr noundef %13, ptr noundef nonnull %5)
%38 = call i32 @stat(ptr noundef %28, ptr noundef nonnull %6)
%39 = icmp eq i32 %37, 0
br i1 %39, label %40, label %47
40: ; preds = %36
%41 = load i32, ptr %5, align 4, !tbaa !11
%42 = call i64 @S_ISREG(i32 noundef %41) #4
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %47
44: ; preds = %40
%45 = call i64 @S_ISDIR(i32 noundef %41) #4
%46 = icmp eq i64 %45, 0
br i1 %46, label %56, label %47
47: ; preds = %44, %40, %36
%48 = icmp eq i32 %38, 0
br i1 %48, label %49, label %59
49: ; preds = %47
%50 = load i32, ptr %6, align 4, !tbaa !11
%51 = call i64 @S_ISREG(i32 noundef %50) #4
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %59
53: ; preds = %49
%54 = call i64 @S_ISDIR(i32 noundef %50) #4
%55 = icmp eq i64 %54, 0
br i1 %55, label %56, label %59
56: ; preds = %53, %44
%57 = load i32, ptr @FILEIO_EACCES, align 4, !tbaa !9
%58 = call i32 @remote_fileio_reply(i32 noundef -1, i32 noundef %57) #4
br label %72
59: ; preds = %53, %49, %47
store i32 1, ptr @remote_fio_no_longjmp, align 4, !tbaa !9
%60 = call i32 @rename(ptr noundef %13, ptr noundef %28)
%61 = icmp eq i32 %60, -1
br i1 %61, label %62, label %70
62: ; preds = %59
%63 = load i64, ptr @errno, align 8, !tbaa !13
%64 = load i64, ptr @ENOTEMPTY, align 8, !tbaa !13
%65 = icmp eq i64 %63, %64
br i1 %65, label %66, label %68
66: ; preds = %62
%67 = load i64, ptr @EEXIST, align 8, !tbaa !13
store i64 %67, ptr @errno, align 8, !tbaa !13
br label %68
68: ; preds = %66, %62
%69 = call i32 @remote_fileio_return_errno(i32 noundef -1) #4
br label %72
70: ; preds = %59
%71 = call i32 @remote_fileio_return_success(i32 noundef %60) #4
br label %72
72: ; preds = %68, %70, %56, %34, %24, %19, %9
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @remote_fileio_extract_ptr_w_len(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @remote_fileio_ioerror(...) local_unnamed_addr #2
declare ptr @alloca(i32 noundef) local_unnamed_addr #2
declare i32 @remote_read_bytes(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @stat(ptr nocapture noundef readonly, ptr nocapture noundef) local_unnamed_addr #3
declare i64 @S_ISREG(i32 noundef) local_unnamed_addr #2
declare i64 @S_ISDIR(i32 noundef) local_unnamed_addr #2
declare i32 @remote_fileio_reply(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @rename(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3
declare i32 @remote_fileio_return_errno(i32 noundef) local_unnamed_addr #2
declare i32 @remote_fileio_return_success(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"stat", !10, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_remote-fileio.c_remote_fileio_func_rename.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_remote-fileio.c_remote_fileio_func_rename.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.stat = type { i32 }
@FILEIO_EACCES = common local_unnamed_addr global i32 0, align 4
@remote_fio_no_longjmp = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i64 0, align 8
@ENOTEMPTY = common local_unnamed_addr global i64 0, align 8
@EEXIST = common local_unnamed_addr global i64 0, align 8
@EACCES = common local_unnamed_addr global i64 0, align 8
@EINVAL = common local_unnamed_addr global i64 0, align 8
@EISDIR = common local_unnamed_addr global i64 0, align 8
@PATH_MAX = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @remote_fileio_func_rename], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @remote_fileio_func_rename(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.stat, align 4
%6 = alloca %struct.stat, align 4
store ptr %0, ptr %2, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
%7 = call i64 @remote_fileio_extract_ptr_w_len(ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4) #4
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %1
%10 = call i32 @remote_fileio_ioerror() #4
br label %72
11: ; preds = %1
%12 = load i32, ptr %4, align 4, !tbaa !10
%13 = call ptr @alloca(i32 noundef %12) #4
%14 = load i32, ptr %3, align 4, !tbaa !10
%15 = load i32, ptr %4, align 4, !tbaa !10
%16 = call i32 @remote_read_bytes(i32 noundef %14, ptr noundef %13, i32 noundef %15) #4
%17 = load i32, ptr %4, align 4, !tbaa !10
%18 = icmp eq i32 %16, %17
br i1 %18, label %21, label %19
19: ; preds = %11
%20 = call i32 @remote_fileio_ioerror() #4
br label %72
21: ; preds = %11
%22 = call i64 @remote_fileio_extract_ptr_w_len(ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4) #4
%23 = icmp eq i64 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %21
%25 = call i32 @remote_fileio_ioerror() #4
br label %72
26: ; preds = %21
%27 = load i32, ptr %4, align 4, !tbaa !10
%28 = call ptr @alloca(i32 noundef %27) #4
%29 = load i32, ptr %3, align 4, !tbaa !10
%30 = load i32, ptr %4, align 4, !tbaa !10
%31 = call i32 @remote_read_bytes(i32 noundef %29, ptr noundef %28, i32 noundef %30) #4
%32 = load i32, ptr %4, align 4, !tbaa !10
%33 = icmp eq i32 %31, %32
br i1 %33, label %36, label %34
34: ; preds = %26
%35 = call i32 @remote_fileio_ioerror() #4
br label %72
36: ; preds = %26
%37 = call i32 @stat(ptr noundef %13, ptr noundef nonnull %5)
%38 = call i32 @stat(ptr noundef %28, ptr noundef nonnull %6)
%39 = icmp eq i32 %37, 0
br i1 %39, label %40, label %47
40: ; preds = %36
%41 = load i32, ptr %5, align 4, !tbaa !12
%42 = call i64 @S_ISREG(i32 noundef %41) #4
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %47
44: ; preds = %40
%45 = call i64 @S_ISDIR(i32 noundef %41) #4
%46 = icmp eq i64 %45, 0
br i1 %46, label %56, label %47
47: ; preds = %44, %40, %36
%48 = icmp eq i32 %38, 0
br i1 %48, label %49, label %59
49: ; preds = %47
%50 = load i32, ptr %6, align 4, !tbaa !12
%51 = call i64 @S_ISREG(i32 noundef %50) #4
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %59
53: ; preds = %49
%54 = call i64 @S_ISDIR(i32 noundef %50) #4
%55 = icmp eq i64 %54, 0
br i1 %55, label %56, label %59
56: ; preds = %53, %44
%57 = load i32, ptr @FILEIO_EACCES, align 4, !tbaa !10
%58 = call i32 @remote_fileio_reply(i32 noundef -1, i32 noundef %57) #4
br label %72
59: ; preds = %53, %49, %47
store i32 1, ptr @remote_fio_no_longjmp, align 4, !tbaa !10
%60 = call i32 @rename(ptr noundef %13, ptr noundef %28)
%61 = icmp eq i32 %60, -1
br i1 %61, label %62, label %70
62: ; preds = %59
%63 = load i64, ptr @errno, align 8, !tbaa !14
%64 = load i64, ptr @ENOTEMPTY, align 8, !tbaa !14
%65 = icmp eq i64 %63, %64
br i1 %65, label %66, label %68
66: ; preds = %62
%67 = load i64, ptr @EEXIST, align 8, !tbaa !14
store i64 %67, ptr @errno, align 8, !tbaa !14
br label %68
68: ; preds = %66, %62
%69 = call i32 @remote_fileio_return_errno(i32 noundef -1) #4
br label %72
70: ; preds = %59
%71 = call i32 @remote_fileio_return_success(i32 noundef %60) #4
br label %72
72: ; preds = %68, %70, %56, %34, %24, %19, %9
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @remote_fileio_extract_ptr_w_len(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @remote_fileio_ioerror(...) local_unnamed_addr #2
declare ptr @alloca(i32 noundef) local_unnamed_addr #2
declare i32 @remote_read_bytes(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @stat(ptr nocapture noundef readonly, ptr nocapture noundef) local_unnamed_addr #3
declare i64 @S_ISREG(i32 noundef) local_unnamed_addr #2
declare i64 @S_ISDIR(i32 noundef) local_unnamed_addr #2
declare i32 @remote_fileio_reply(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @rename(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3
declare i32 @remote_fileio_return_errno(i32 noundef) local_unnamed_addr #2
declare i32 @remote_fileio_return_success(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"stat", !11, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
| freebsd_contrib_gdb_gdb_extr_remote-fileio.c_remote_fileio_func_rename |
; ModuleID = 'AnghaBench/linux/drivers/dma/extr_dmatest.c_result.c'
source_filename = "AnghaBench/linux/drivers/dma/extr_dmatest.c_result.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [68 x i8] c"%s: result #%u: '%s' with src_off=0x%x dst_off=0x%x len=0x%x (%lu)\0A\00", align 1
@current = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @result], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @result(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i64 noundef %5) #0 {
%7 = load ptr, ptr @current, align 8, !tbaa !5
%8 = load i32, ptr %7, align 4, !tbaa !9
%9 = tail call i32 @pr_info(ptr noundef nonnull @.str, i32 noundef %8, i32 noundef %1, ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef %4, i64 noundef %5) #2
ret void
}
declare i32 @pr_info(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_2__", !11, i64 0}
!11 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/dma/extr_dmatest.c_result.c'
source_filename = "AnghaBench/linux/drivers/dma/extr_dmatest.c_result.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [68 x i8] c"%s: result #%u: '%s' with src_off=0x%x dst_off=0x%x len=0x%x (%lu)\0A\00", align 1
@current = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @result], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @result(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i64 noundef %5) #0 {
%7 = load ptr, ptr @current, align 8, !tbaa !6
%8 = load i32, ptr %7, align 4, !tbaa !10
%9 = tail call i32 @pr_info(ptr noundef nonnull @.str, i32 noundef %8, i32 noundef %1, ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef %4, i64 noundef %5) #2
ret void
}
declare i32 @pr_info(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
| linux_drivers_dma_extr_dmatest.c_result |
; ModuleID = 'AnghaBench/curl/tests/libtest/extr_lib1900.c_setup_handle.c'
source_filename = "AnghaBench/curl/tests/libtest/extr_lib1900.c_setup_handle.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@urlstring = dso_local local_unnamed_addr global ptr null, align 8
@handles = dso_local local_unnamed_addr global ptr null, align 8
@CURLOPT_URL = dso_local local_unnamed_addr global i32 0, align 4
@CURLOPT_VERBOSE = dso_local local_unnamed_addr global i32 0, align 4
@CURLOPT_FAILONERROR = dso_local local_unnamed_addr global i32 0, align 4
@CURLOPT_WRITEFUNCTION = dso_local local_unnamed_addr global i32 0, align 4
@write_callback = dso_local local_unnamed_addr global ptr null, align 8
@CURLOPT_WRITEDATA = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @setup_handle], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @setup_handle(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca [256 x i8], align 16
call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %4) #3
%5 = load ptr, ptr @urlstring, align 8, !tbaa !5
%6 = sext i32 %2 to i64
%7 = getelementptr inbounds i32, ptr %5, i64 %6
%8 = load i32, ptr %7, align 4, !tbaa !9
%9 = call i32 @msnprintf(ptr noundef nonnull %4, i32 noundef 256, ptr noundef nonnull @.str, ptr noundef %0, i32 noundef %8) #3
%10 = load ptr, ptr @handles, align 8, !tbaa !5
%11 = getelementptr inbounds i32, ptr %10, i64 %6
%12 = load i32, ptr %11, align 4, !tbaa !9
%13 = load i32, ptr @CURLOPT_URL, align 4, !tbaa !9
%14 = call i32 (i32, i32, ...) @curl_easy_setopt(i32 noundef %12, i32 noundef %13, ptr noundef nonnull %4) #3
%15 = load ptr, ptr @handles, align 8, !tbaa !5
%16 = getelementptr inbounds i32, ptr %15, i64 %6
%17 = load i32, ptr %16, align 4, !tbaa !9
%18 = load i32, ptr @CURLOPT_VERBOSE, align 4, !tbaa !9
%19 = call i32 (i32, i32, ...) @curl_easy_setopt(i32 noundef %17, i32 noundef %18, i64 noundef 1) #3
%20 = load ptr, ptr @handles, align 8, !tbaa !5
%21 = getelementptr inbounds i32, ptr %20, i64 %6
%22 = load i32, ptr %21, align 4, !tbaa !9
%23 = load i32, ptr @CURLOPT_FAILONERROR, align 4, !tbaa !9
%24 = call i32 (i32, i32, ...) @curl_easy_setopt(i32 noundef %22, i32 noundef %23, i64 noundef 1) #3
%25 = load ptr, ptr @handles, align 8, !tbaa !5
%26 = getelementptr inbounds i32, ptr %25, i64 %6
%27 = load i32, ptr %26, align 4, !tbaa !9
%28 = load i32, ptr @CURLOPT_WRITEFUNCTION, align 4, !tbaa !9
%29 = load ptr, ptr @write_callback, align 8, !tbaa !5
%30 = call i32 (i32, i32, ...) @curl_easy_setopt(i32 noundef %27, i32 noundef %28, ptr noundef %29) #3
%31 = load ptr, ptr @handles, align 8, !tbaa !5
%32 = getelementptr inbounds i32, ptr %31, i64 %6
%33 = load i32, ptr %32, align 4, !tbaa !9
%34 = load i32, ptr @CURLOPT_WRITEDATA, align 4, !tbaa !9
%35 = call i32 (i32, i32, ...) @curl_easy_setopt(i32 noundef %33, i32 noundef %34, ptr noundef null) #3
%36 = load ptr, ptr @handles, align 8, !tbaa !5
%37 = getelementptr inbounds i32, ptr %36, i64 %6
%38 = load i32, ptr %37, align 4, !tbaa !9
%39 = call i32 @curl_multi_add_handle(ptr noundef %1, i32 noundef %38) #3
call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @msnprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @curl_easy_setopt(i32 noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @curl_multi_add_handle(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/curl/tests/libtest/extr_lib1900.c_setup_handle.c'
source_filename = "AnghaBench/curl/tests/libtest/extr_lib1900.c_setup_handle.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@urlstring = common local_unnamed_addr global ptr null, align 8
@handles = common local_unnamed_addr global ptr null, align 8
@CURLOPT_URL = common local_unnamed_addr global i32 0, align 4
@CURLOPT_VERBOSE = common local_unnamed_addr global i32 0, align 4
@CURLOPT_FAILONERROR = common local_unnamed_addr global i32 0, align 4
@CURLOPT_WRITEFUNCTION = common local_unnamed_addr global i32 0, align 4
@write_callback = common local_unnamed_addr global ptr null, align 8
@CURLOPT_WRITEDATA = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @setup_handle], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @setup_handle(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca [256 x i8], align 1
call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %4) #3
%5 = load ptr, ptr @urlstring, align 8, !tbaa !6
%6 = sext i32 %2 to i64
%7 = getelementptr inbounds i32, ptr %5, i64 %6
%8 = load i32, ptr %7, align 4, !tbaa !10
%9 = call i32 @msnprintf(ptr noundef nonnull %4, i32 noundef 256, ptr noundef nonnull @.str, ptr noundef %0, i32 noundef %8) #3
%10 = load ptr, ptr @handles, align 8, !tbaa !6
%11 = getelementptr inbounds i32, ptr %10, i64 %6
%12 = load i32, ptr %11, align 4, !tbaa !10
%13 = load i32, ptr @CURLOPT_URL, align 4, !tbaa !10
%14 = call i32 (i32, i32, ...) @curl_easy_setopt(i32 noundef %12, i32 noundef %13, ptr noundef nonnull %4) #3
%15 = load ptr, ptr @handles, align 8, !tbaa !6
%16 = getelementptr inbounds i32, ptr %15, i64 %6
%17 = load i32, ptr %16, align 4, !tbaa !10
%18 = load i32, ptr @CURLOPT_VERBOSE, align 4, !tbaa !10
%19 = call i32 (i32, i32, ...) @curl_easy_setopt(i32 noundef %17, i32 noundef %18, i64 noundef 1) #3
%20 = load ptr, ptr @handles, align 8, !tbaa !6
%21 = getelementptr inbounds i32, ptr %20, i64 %6
%22 = load i32, ptr %21, align 4, !tbaa !10
%23 = load i32, ptr @CURLOPT_FAILONERROR, align 4, !tbaa !10
%24 = call i32 (i32, i32, ...) @curl_easy_setopt(i32 noundef %22, i32 noundef %23, i64 noundef 1) #3
%25 = load ptr, ptr @handles, align 8, !tbaa !6
%26 = getelementptr inbounds i32, ptr %25, i64 %6
%27 = load i32, ptr %26, align 4, !tbaa !10
%28 = load i32, ptr @CURLOPT_WRITEFUNCTION, align 4, !tbaa !10
%29 = load ptr, ptr @write_callback, align 8, !tbaa !6
%30 = call i32 (i32, i32, ...) @curl_easy_setopt(i32 noundef %27, i32 noundef %28, ptr noundef %29) #3
%31 = load ptr, ptr @handles, align 8, !tbaa !6
%32 = getelementptr inbounds i32, ptr %31, i64 %6
%33 = load i32, ptr %32, align 4, !tbaa !10
%34 = load i32, ptr @CURLOPT_WRITEDATA, align 4, !tbaa !10
%35 = call i32 (i32, i32, ...) @curl_easy_setopt(i32 noundef %33, i32 noundef %34, ptr noundef null) #3
%36 = load ptr, ptr @handles, align 8, !tbaa !6
%37 = getelementptr inbounds i32, ptr %36, i64 %6
%38 = load i32, ptr %37, align 4, !tbaa !10
%39 = call i32 @curl_multi_add_handle(ptr noundef %1, i32 noundef %38) #3
call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @msnprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @curl_easy_setopt(i32 noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @curl_multi_add_handle(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| curl_tests_libtest_extr_lib1900.c_setup_handle |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/message/i2o/extr_pci.c_i2o_pci_free.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/message/i2o/extr_pci.c_i2o_pci_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.i2o_controller = type { ptr, %struct.TYPE_5__, %struct.TYPE_4__, i64, i32, i32, i32, i32, i32, i32 }
%struct.TYPE_5__ = type { i64 }
%struct.TYPE_4__ = type { i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @i2o_pci_free], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @i2o_pci_free(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.i2o_controller, ptr %0, i64 0, i32 9
%4 = tail call i32 @i2o_dma_free(ptr noundef %2, ptr noundef nonnull %3) #2
%5 = getelementptr inbounds %struct.i2o_controller, ptr %0, i64 0, i32 8
%6 = tail call i32 @i2o_dma_free(ptr noundef %2, ptr noundef nonnull %5) #2
%7 = getelementptr inbounds %struct.i2o_controller, ptr %0, i64 0, i32 7
%8 = load i32, ptr %7, align 4, !tbaa !14
%9 = tail call i32 @kfree(i32 noundef %8) #2
%10 = getelementptr inbounds %struct.i2o_controller, ptr %0, i64 0, i32 6
%11 = tail call i32 @i2o_dma_free(ptr noundef %2, ptr noundef nonnull %10) #2
%12 = getelementptr inbounds %struct.i2o_controller, ptr %0, i64 0, i32 5
%13 = tail call i32 @i2o_dma_free(ptr noundef %2, ptr noundef nonnull %12) #2
%14 = getelementptr inbounds %struct.i2o_controller, ptr %0, i64 0, i32 4
%15 = tail call i32 @i2o_dma_free(ptr noundef %2, ptr noundef nonnull %14) #2
%16 = getelementptr inbounds %struct.i2o_controller, ptr %0, i64 0, i32 3
%17 = load i64, ptr %16, align 8, !tbaa !15
%18 = icmp eq i64 %17, 0
br i1 %18, label %25, label %19
19: ; preds = %1
%20 = getelementptr inbounds %struct.i2o_controller, ptr %0, i64 0, i32 2
%21 = load i64, ptr %20, align 8, !tbaa !16
%22 = icmp eq i64 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %19
%24 = tail call i32 @iounmap(i64 noundef %21) #2
br label %25
25: ; preds = %23, %19, %1
%26 = getelementptr inbounds %struct.i2o_controller, ptr %0, i64 0, i32 1
%27 = load i64, ptr %26, align 8, !tbaa !17
%28 = icmp eq i64 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %25
%30 = tail call i32 @iounmap(i64 noundef %27) #2
br label %31
31: ; preds = %29, %25
%32 = load ptr, ptr %0, align 8, !tbaa !5
%33 = tail call i32 @pci_release_regions(ptr noundef %32) #2
ret void
}
declare i32 @i2o_dma_free(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kfree(i32 noundef) local_unnamed_addr #1
declare i32 @iounmap(i64 noundef) local_unnamed_addr #1
declare i32 @pci_release_regions(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"i2o_controller", !7, i64 0, !10, i64 8, !12, i64 16, !11, i64 24, !13, i64 32, !13, i64 36, !13, i64 40, !13, i64 44, !13, i64 48, !13, i64 52}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_5__", !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!"TYPE_4__", !11, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!6, !13, i64 44}
!15 = !{!6, !11, i64 24}
!16 = !{!6, !11, i64 16}
!17 = !{!6, !11, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/message/i2o/extr_pci.c_i2o_pci_free.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/message/i2o/extr_pci.c_i2o_pci_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @i2o_pci_free], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @i2o_pci_free(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 52
%4 = tail call i32 @i2o_dma_free(ptr noundef %2, ptr noundef nonnull %3) #2
%5 = getelementptr inbounds i8, ptr %0, i64 48
%6 = tail call i32 @i2o_dma_free(ptr noundef %2, ptr noundef nonnull %5) #2
%7 = getelementptr inbounds i8, ptr %0, i64 44
%8 = load i32, ptr %7, align 4, !tbaa !15
%9 = tail call i32 @kfree(i32 noundef %8) #2
%10 = getelementptr inbounds i8, ptr %0, i64 40
%11 = tail call i32 @i2o_dma_free(ptr noundef %2, ptr noundef nonnull %10) #2
%12 = getelementptr inbounds i8, ptr %0, i64 36
%13 = tail call i32 @i2o_dma_free(ptr noundef %2, ptr noundef nonnull %12) #2
%14 = getelementptr inbounds i8, ptr %0, i64 32
%15 = tail call i32 @i2o_dma_free(ptr noundef %2, ptr noundef nonnull %14) #2
%16 = getelementptr inbounds i8, ptr %0, i64 24
%17 = load i64, ptr %16, align 8, !tbaa !16
%18 = icmp eq i64 %17, 0
br i1 %18, label %25, label %19
19: ; preds = %1
%20 = getelementptr inbounds i8, ptr %0, i64 16
%21 = load i64, ptr %20, align 8, !tbaa !17
%22 = icmp eq i64 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %19
%24 = tail call i32 @iounmap(i64 noundef %21) #2
br label %25
25: ; preds = %23, %19, %1
%26 = getelementptr inbounds i8, ptr %0, i64 8
%27 = load i64, ptr %26, align 8, !tbaa !18
%28 = icmp eq i64 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %25
%30 = tail call i32 @iounmap(i64 noundef %27) #2
br label %31
31: ; preds = %29, %25
%32 = load ptr, ptr %0, align 8, !tbaa !6
%33 = tail call i32 @pci_release_regions(ptr noundef %32) #2
ret void
}
declare i32 @i2o_dma_free(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kfree(i32 noundef) local_unnamed_addr #1
declare i32 @iounmap(i64 noundef) local_unnamed_addr #1
declare i32 @pci_release_regions(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"i2o_controller", !8, i64 0, !11, i64 8, !13, i64 16, !12, i64 24, !14, i64 32, !14, i64 36, !14, i64 40, !14, i64 44, !14, i64 48, !14, i64 52}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!"TYPE_4__", !12, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!7, !14, i64 44}
!16 = !{!7, !12, i64 24}
!17 = !{!7, !12, i64 16}
!18 = !{!7, !12, i64 8}
| fastsocket_kernel_drivers_message_i2o_extr_pci.c_i2o_pci_free |
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_intr.c_swi_add.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_intr.c_swi_add.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@INTR_ENTROPY = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@IE_SOFT = dso_local local_unnamed_addr global i32 0, align 4
@swi_assign_cpu = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"swi%d:\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @swi_add(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) local_unnamed_addr #0 {
%8 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
%9 = load i32, ptr @INTR_ENTROPY, align 4, !tbaa !5
%10 = and i32 %9, %5
%11 = icmp eq i32 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %7
%13 = load i32, ptr @EINVAL, align 4, !tbaa !5
br label %39
14: ; preds = %7
%15 = icmp eq ptr %0, null
br i1 %15, label %16, label %17
16: ; preds = %14
store ptr null, ptr %8, align 8, !tbaa !9
br label %27
17: ; preds = %14
%18 = load ptr, ptr %0, align 8, !tbaa !9
store ptr %18, ptr %8, align 8, !tbaa !9
%19 = icmp eq ptr %18, null
br i1 %19, label %27, label %20
20: ; preds = %17
%21 = load i32, ptr %18, align 4, !tbaa !11
%22 = load i32, ptr @IE_SOFT, align 4, !tbaa !5
%23 = and i32 %22, %21
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %35
25: ; preds = %20
%26 = load i32, ptr @EINVAL, align 4, !tbaa !5
br label %39
27: ; preds = %16, %17
%28 = load i32, ptr @IE_SOFT, align 4, !tbaa !5
%29 = load i32, ptr @swi_assign_cpu, align 4, !tbaa !5
%30 = call i32 @intr_event_create(ptr noundef nonnull %8, ptr noundef null, i32 noundef %28, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, i32 noundef %29, ptr noundef nonnull @.str, i32 noundef %4) #3
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %39
32: ; preds = %27
%33 = load ptr, ptr %8, align 8, !tbaa !9
br i1 %15, label %35, label %34
34: ; preds = %32
store ptr %33, ptr %0, align 8, !tbaa !9
br label %35
35: ; preds = %32, %34, %20
%36 = phi ptr [ %33, %32 ], [ %33, %34 ], [ %18, %20 ]
%37 = call i32 @PI_SWI(i32 noundef %4) #3
%38 = call i32 @intr_event_add_handler(ptr noundef %36, ptr noundef %1, ptr noundef null, i32 noundef %2, ptr noundef %3, i32 noundef %37, i32 noundef %5, ptr noundef %6) #3
br label %39
39: ; preds = %27, %35, %25, %12
%40 = phi i32 [ %13, %12 ], [ %38, %35 ], [ %26, %25 ], [ %30, %27 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
ret i32 %40
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @intr_event_create(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @intr_event_add_handler(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @PI_SWI(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"intr_event", !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_intr.c_swi_add.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_intr.c_swi_add.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@INTR_ENTROPY = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@IE_SOFT = common local_unnamed_addr global i32 0, align 4
@swi_assign_cpu = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"swi%d:\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @swi_add(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) local_unnamed_addr #0 {
%8 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
%9 = load i32, ptr @INTR_ENTROPY, align 4, !tbaa !6
%10 = and i32 %9, %5
%11 = icmp eq i32 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %7
%13 = load i32, ptr @EINVAL, align 4, !tbaa !6
br label %39
14: ; preds = %7
%15 = icmp eq ptr %0, null
br i1 %15, label %16, label %17
16: ; preds = %14
store ptr null, ptr %8, align 8, !tbaa !10
br label %27
17: ; preds = %14
%18 = load ptr, ptr %0, align 8, !tbaa !10
store ptr %18, ptr %8, align 8, !tbaa !10
%19 = icmp eq ptr %18, null
br i1 %19, label %27, label %20
20: ; preds = %17
%21 = load i32, ptr %18, align 4, !tbaa !12
%22 = load i32, ptr @IE_SOFT, align 4, !tbaa !6
%23 = and i32 %22, %21
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %35
25: ; preds = %20
%26 = load i32, ptr @EINVAL, align 4, !tbaa !6
br label %39
27: ; preds = %16, %17
%28 = load i32, ptr @IE_SOFT, align 4, !tbaa !6
%29 = load i32, ptr @swi_assign_cpu, align 4, !tbaa !6
%30 = call i32 @intr_event_create(ptr noundef nonnull %8, ptr noundef null, i32 noundef %28, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, i32 noundef %29, ptr noundef nonnull @.str, i32 noundef %4) #3
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %39
32: ; preds = %27
%33 = load ptr, ptr %8, align 8, !tbaa !10
br i1 %15, label %35, label %34
34: ; preds = %32
store ptr %33, ptr %0, align 8, !tbaa !10
br label %35
35: ; preds = %32, %34, %20
%36 = phi ptr [ %33, %32 ], [ %33, %34 ], [ %18, %20 ]
%37 = call i32 @PI_SWI(i32 noundef %4) #3
%38 = call i32 @intr_event_add_handler(ptr noundef %36, ptr noundef %1, ptr noundef null, i32 noundef %2, ptr noundef %3, i32 noundef %37, i32 noundef %5, ptr noundef %6) #3
br label %39
39: ; preds = %27, %35, %25, %12
%40 = phi i32 [ %13, %12 ], [ %38, %35 ], [ %26, %25 ], [ %30, %27 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
ret i32 %40
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @intr_event_create(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @intr_event_add_handler(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @PI_SWI(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"intr_event", !7, i64 0}
| freebsd_sys_kern_extr_kern_intr.c_swi_add |
; ModuleID = 'AnghaBench/freebsd/sys/dev/ata/chipsets/extr_ata-intel.c_ata_intel_sata_getrev.c'
source_filename = "AnghaBench/freebsd/sys/dev/ata/chipsets/extr_ata-intel.c_ata_intel_sata_getrev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ATA_SSTATUS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ata_intel_sata_getrev], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ata_intel_sata_getrev(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = tail call ptr @device_get_softc(i32 noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%5 = load i32, ptr @ATA_SSTATUS, align 4, !tbaa !5
%6 = call i64 @ata_sata_scr_read(ptr noundef %4, i32 noundef %1, i32 noundef %5, ptr noundef nonnull %3) #3
%7 = icmp eq i64 %6, 0
%8 = load i32, ptr %3, align 4
%9 = lshr i32 %8, 4
%10 = and i32 %9, 15
%11 = select i1 %7, i32 %10, i32 255
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %11
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #2
declare i64 @ata_sata_scr_read(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/ata/chipsets/extr_ata-intel.c_ata_intel_sata_getrev.c'
source_filename = "AnghaBench/freebsd/sys/dev/ata/chipsets/extr_ata-intel.c_ata_intel_sata_getrev.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ATA_SSTATUS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ata_intel_sata_getrev], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 256) i32 @ata_intel_sata_getrev(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = tail call ptr @device_get_softc(i32 noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%5 = load i32, ptr @ATA_SSTATUS, align 4, !tbaa !6
%6 = call i64 @ata_sata_scr_read(ptr noundef %4, i32 noundef %1, i32 noundef %5, ptr noundef nonnull %3) #3
%7 = icmp eq i64 %6, 0
%8 = load i32, ptr %3, align 4
%9 = lshr i32 %8, 4
%10 = and i32 %9, 15
%11 = select i1 %7, i32 %10, i32 255
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %11
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #2
declare i64 @ata_sata_scr_read(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_dev_ata_chipsets_extr_ata-intel.c_ata_intel_sata_getrev |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_display.c_i9xx_pll_refclk.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_display.c_i9xx_pll_refclk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PLL_REF_INPUT_MASK = dso_local local_unnamed_addr global i32 0, align 4
@PLLB_REF_INPUT_SPREADSPECTRUMIN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @i9xx_pll_refclk], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @i9xx_pll_refclk(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @to_i915(ptr noundef %0) #2
%4 = load i32, ptr %1, align 4, !tbaa !5
%5 = load i32, ptr @PLL_REF_INPUT_MASK, align 4, !tbaa !11
%6 = and i32 %5, %4
%7 = load i32, ptr @PLLB_REF_INPUT_SPREADSPECTRUMIN, align 4, !tbaa !11
%8 = icmp eq i32 %6, %7
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = load i32, ptr %3, align 4, !tbaa !12
br label %18
11: ; preds = %2
%12 = tail call i64 @HAS_PCH_SPLIT(ptr noundef %3) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %11
%15 = tail call i32 @IS_GEN(ptr noundef %3, i32 noundef 2) #2
%16 = icmp eq i32 %15, 0
%17 = select i1 %16, i32 96000, i32 48000
br label %18
18: ; preds = %14, %11, %9
%19 = phi i32 [ %10, %9 ], [ 120000, %11 ], [ %17, %14 ]
ret i32 %19
}
declare ptr @to_i915(ptr noundef) local_unnamed_addr #1
declare i64 @HAS_PCH_SPLIT(ptr noundef) local_unnamed_addr #1
declare i32 @IS_GEN(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"intel_crtc_state", !7, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"drm_i915_private", !14, i64 0}
!14 = !{!"TYPE_4__", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_display.c_i9xx_pll_refclk.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_display.c_i9xx_pll_refclk.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PLL_REF_INPUT_MASK = common local_unnamed_addr global i32 0, align 4
@PLLB_REF_INPUT_SPREADSPECTRUMIN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @i9xx_pll_refclk], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @i9xx_pll_refclk(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @to_i915(ptr noundef %0) #2
%4 = load i32, ptr %1, align 4, !tbaa !6
%5 = load i32, ptr @PLL_REF_INPUT_MASK, align 4, !tbaa !12
%6 = and i32 %5, %4
%7 = load i32, ptr @PLLB_REF_INPUT_SPREADSPECTRUMIN, align 4, !tbaa !12
%8 = icmp eq i32 %6, %7
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = load i32, ptr %3, align 4, !tbaa !13
br label %18
11: ; preds = %2
%12 = tail call i64 @HAS_PCH_SPLIT(ptr noundef %3) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %11
%15 = tail call i32 @IS_GEN(ptr noundef %3, i32 noundef 2) #2
%16 = icmp eq i32 %15, 0
%17 = select i1 %16, i32 96000, i32 48000
br label %18
18: ; preds = %14, %11, %9
%19 = phi i32 [ %10, %9 ], [ 120000, %11 ], [ %17, %14 ]
ret i32 %19
}
declare ptr @to_i915(ptr noundef) local_unnamed_addr #1
declare i64 @HAS_PCH_SPLIT(ptr noundef) local_unnamed_addr #1
declare i32 @IS_GEN(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"intel_crtc_state", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!9, !9, i64 0}
!13 = !{!14, !9, i64 0}
!14 = !{!"drm_i915_private", !15, i64 0}
!15 = !{!"TYPE_4__", !9, i64 0}
| linux_drivers_gpu_drm_i915_display_extr_intel_display.c_i9xx_pll_refclk |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_ani.c_ath9k_hw_ani_cck_err_trigger.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_ani.c_ath9k_hw_ani_cck_err_trigger.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ATH9K_ANI_CCK_MAX_LEVEL = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ath9k_hw_ani_cck_err_trigger], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ath9k_hw_ani_cck_err_trigger(ptr noundef %0) #0 {
%2 = tail call i32 @DO_ANI(ptr noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %12, label %4
4: ; preds = %1
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = load i64, ptr %5, align 8, !tbaa !10
%7 = load i64, ptr @ATH9K_ANI_CCK_MAX_LEVEL, align 8, !tbaa !13
%8 = icmp slt i64 %6, %7
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = add nsw i64 %6, 1
%11 = tail call i32 @ath9k_hw_set_cck_nil(ptr noundef nonnull %0, i64 noundef %10, i32 noundef 0) #2
br label %12
12: ; preds = %4, %9, %1
ret void
}
declare i32 @DO_ANI(ptr noundef) local_unnamed_addr #1
declare i32 @ath9k_hw_set_cck_nil(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ath_hw", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"ar5416AniState", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_ani.c_ath9k_hw_ani_cck_err_trigger.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_ani.c_ath9k_hw_ani_cck_err_trigger.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ATH9K_ANI_CCK_MAX_LEVEL = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ath9k_hw_ani_cck_err_trigger], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ath9k_hw_ani_cck_err_trigger(ptr noundef %0) #0 {
%2 = tail call i32 @DO_ANI(ptr noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %12, label %4
4: ; preds = %1
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = load i64, ptr %5, align 8, !tbaa !11
%7 = load i64, ptr @ATH9K_ANI_CCK_MAX_LEVEL, align 8, !tbaa !14
%8 = icmp slt i64 %6, %7
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = add nsw i64 %6, 1
%11 = tail call i32 @ath9k_hw_set_cck_nil(ptr noundef nonnull %0, i64 noundef %10, i32 noundef 0) #2
br label %12
12: ; preds = %4, %9, %1
ret void
}
declare i32 @DO_ANI(ptr noundef) local_unnamed_addr #1
declare i32 @ath9k_hw_set_cck_nil(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ath_hw", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"ar5416AniState", !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!13, !13, i64 0}
| fastsocket_kernel_drivers_net_wireless_ath_ath9k_extr_ani.c_ath9k_hw_ani_cck_err_trigger |
; ModuleID = 'AnghaBench/linux/drivers/clk/extr_clk-fractional-divider.c_clk_fd_writel.c'
source_filename = "AnghaBench/linux/drivers/clk/extr_clk-fractional-divider.c_clk_fd_writel.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.clk_fractional_divider = type { i32, i32 }
@CLK_FRAC_DIVIDER_BIG_ENDIAN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @clk_fd_writel], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @clk_fd_writel(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = load i32, ptr @CLK_FRAC_DIVIDER_BIG_ENDIAN, align 4, !tbaa !10
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
%7 = getelementptr inbounds %struct.clk_fractional_divider, ptr %0, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !11
br i1 %6, label %11, label %9
9: ; preds = %2
%10 = tail call i32 @iowrite32be(i32 noundef %1, i32 noundef %8) #2
br label %13
11: ; preds = %2
%12 = tail call i32 @writel(i32 noundef %1, i32 noundef %8) #2
br label %13
13: ; preds = %11, %9
ret void
}
declare i32 @iowrite32be(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"clk_fractional_divider", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/clk/extr_clk-fractional-divider.c_clk_fd_writel.c'
source_filename = "AnghaBench/linux/drivers/clk/extr_clk-fractional-divider.c_clk_fd_writel.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CLK_FRAC_DIVIDER_BIG_ENDIAN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @clk_fd_writel], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @clk_fd_writel(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = load i32, ptr @CLK_FRAC_DIVIDER_BIG_ENDIAN, align 4, !tbaa !11
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
%7 = getelementptr inbounds i8, ptr %0, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !12
br i1 %6, label %11, label %9
9: ; preds = %2
%10 = tail call i32 @iowrite32be(i32 noundef %1, i32 noundef %8) #2
br label %13
11: ; preds = %2
%12 = tail call i32 @writel(i32 noundef %1, i32 noundef %8) #2
br label %13
13: ; preds = %11, %9
ret void
}
declare i32 @iowrite32be(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"clk_fractional_divider", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 4}
| linux_drivers_clk_extr_clk-fractional-divider.c_clk_fd_writel |
; ModuleID = 'AnghaBench/radare2/libr/anal/p/extr_anal_java.c_java_recursive_descent.c'
source_filename = "AnghaBench/radare2/libr/anal/p/extr_anal_java.c_java_recursive_descent.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { ptr, ptr }
%struct.TYPE_9__ = type { i32, i32 }
@R_ANAL_BB_TYPE_TAIL = dso_local local_unnamed_addr global i32 0, align 4
@R_ANAL_EX_CODE_OP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @java_recursive_descent], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @java_recursive_descent(ptr noundef %0, ptr noundef %1, i32 %2) #0 {
%4 = icmp ne ptr %0, null
%5 = icmp ne ptr %1, null
%6 = and i1 %4, %5
br i1 %6, label %7, label %15
7: ; preds = %3
%8 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !5
%10 = icmp eq ptr %9, null
br i1 %10, label %15, label %11
11: ; preds = %7
%12 = load ptr, ptr %1, align 8, !tbaa !10
%13 = icmp ne ptr %12, null
%14 = zext i1 %13 to i32
br label %15
15: ; preds = %11, %7, %3
%16 = phi i32 [ 0, %7 ], [ 0, %3 ], [ %14, %11 ]
%17 = tail call i32 @r_return_val_if_fail(i32 noundef %16, i32 noundef 0) #2
%18 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 1
%19 = load ptr, ptr %18, align 8, !tbaa !5
%20 = load ptr, ptr %1, align 8, !tbaa !10
%21 = icmp eq ptr %20, null
br i1 %21, label %29, label %22
22: ; preds = %15
%23 = load i32, ptr %19, align 4, !tbaa !11
%24 = load i32, ptr @R_ANAL_BB_TYPE_TAIL, align 4, !tbaa !14
%25 = and i32 %24, %23
%26 = icmp eq i32 %25, 0
br i1 %26, label %29, label %27
27: ; preds = %22
%28 = tail call i32 @r_anal_ex_update_bb_cfg_head_tail(ptr noundef nonnull %20, ptr noundef nonnull %20, ptr noundef nonnull %19) #2
br label %29
29: ; preds = %27, %22, %15
%30 = getelementptr inbounds %struct.TYPE_9__, ptr %19, i64 0, i32 1
%31 = load i32, ptr %30, align 4, !tbaa !15
%32 = load i32, ptr @R_ANAL_EX_CODE_OP, align 4, !tbaa !14
%33 = and i32 %32, %31
%34 = icmp eq i32 %33, 0
br i1 %34, label %37, label %35
35: ; preds = %29
%36 = tail call i32 @handle_bb_cf_recursive_descent(ptr noundef %0, ptr noundef nonnull %1) #2
br label %37
37: ; preds = %35, %29
ret i32 0
}
declare i32 @r_return_val_if_fail(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @r_anal_ex_update_bb_cfg_head_tail(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @handle_bb_cf_recursive_descent(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"TYPE_8__", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_9__", !13, i64 0, !13, i64 4}
!13 = !{!"int", !8, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!12, !13, i64 4}
| ; ModuleID = 'AnghaBench/radare2/libr/anal/p/extr_anal_java.c_java_recursive_descent.c'
source_filename = "AnghaBench/radare2/libr/anal/p/extr_anal_java.c_java_recursive_descent.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@R_ANAL_BB_TYPE_TAIL = common local_unnamed_addr global i32 0, align 4
@R_ANAL_EX_CODE_OP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @java_recursive_descent], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @java_recursive_descent(ptr noundef %0, ptr noundef %1, i32 %2) #0 {
%4 = icmp ne ptr %0, null
%5 = icmp ne ptr %1, null
%6 = and i1 %4, %5
br i1 %6, label %7, label %15
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %1, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !6
%10 = icmp eq ptr %9, null
br i1 %10, label %15, label %11
11: ; preds = %7
%12 = load ptr, ptr %1, align 8, !tbaa !11
%13 = icmp ne ptr %12, null
%14 = zext i1 %13 to i32
br label %15
15: ; preds = %11, %7, %3
%16 = phi i32 [ 0, %7 ], [ 0, %3 ], [ %14, %11 ]
%17 = tail call i32 @r_return_val_if_fail(i32 noundef %16, i32 noundef 0) #2
%18 = getelementptr inbounds i8, ptr %1, i64 8
%19 = load ptr, ptr %18, align 8, !tbaa !6
%20 = load ptr, ptr %1, align 8, !tbaa !11
%21 = icmp eq ptr %20, null
br i1 %21, label %29, label %22
22: ; preds = %15
%23 = load i32, ptr %19, align 4, !tbaa !12
%24 = load i32, ptr @R_ANAL_BB_TYPE_TAIL, align 4, !tbaa !15
%25 = and i32 %24, %23
%26 = icmp eq i32 %25, 0
br i1 %26, label %29, label %27
27: ; preds = %22
%28 = tail call i32 @r_anal_ex_update_bb_cfg_head_tail(ptr noundef nonnull %20, ptr noundef nonnull %20, ptr noundef nonnull %19) #2
br label %29
29: ; preds = %27, %22, %15
%30 = getelementptr inbounds i8, ptr %19, i64 4
%31 = load i32, ptr %30, align 4, !tbaa !16
%32 = load i32, ptr @R_ANAL_EX_CODE_OP, align 4, !tbaa !15
%33 = and i32 %32, %31
%34 = icmp eq i32 %33, 0
br i1 %34, label %37, label %35
35: ; preds = %29
%36 = tail call i32 @handle_bb_cf_recursive_descent(ptr noundef %0, ptr noundef nonnull %1) #2
br label %37
37: ; preds = %35, %29
ret i32 0
}
declare i32 @r_return_val_if_fail(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @r_anal_ex_update_bb_cfg_head_tail(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @handle_bb_cf_recursive_descent(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"TYPE_8__", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_9__", !14, i64 0, !14, i64 4}
!14 = !{!"int", !9, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!13, !14, i64 4}
| radare2_libr_anal_p_extr_anal_java.c_java_recursive_descent |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/cio/extr_scm.c_check_address.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/cio/extr_scm.c_check_address.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @check_address], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @check_address(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @to_scm_dev(ptr noundef %0) #2
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = load i64, ptr %1, align 8, !tbaa !10
%6 = icmp eq i64 %4, %5
%7 = zext i1 %6 to i32
ret i32 %7
}
declare ptr @to_scm_dev(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"scm_device", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"sale", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/cio/extr_scm.c_check_address.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/cio/extr_scm.c_check_address.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @check_address], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @check_address(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @to_scm_dev(ptr noundef %0) #2
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = load i64, ptr %1, align 8, !tbaa !11
%6 = icmp eq i64 %4, %5
%7 = zext i1 %6 to i32
ret i32 %7
}
declare ptr @to_scm_dev(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"scm_device", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"sale", !8, i64 0}
| fastsocket_kernel_drivers_s390_cio_extr_scm.c_check_address |
; ModuleID = 'AnghaBench/obs-studio/libobs/util/extr_platform.c_os_strtod.c'
source_filename = "AnghaBench/obs-studio/libobs/util/extr_platform.c_os_strtod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: nounwind uwtable
define dso_local double @os_strtod(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca [64 x i8], align 16
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #4
%3 = call i32 @snprintf(ptr noundef nonnull %2, i32 noundef 64, ptr noundef nonnull @.str, ptr noundef %0) #4
%4 = call i32 @to_locale(ptr noundef nonnull %2) #4
%5 = call double @strtod(ptr nocapture noundef nonnull %2, ptr noundef null)
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #4
ret double %5
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @to_locale(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn
declare double @strtod(ptr noundef readonly, ptr nocapture noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nofree nounwind willreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/obs-studio/libobs/util/extr_platform.c_os_strtod.c'
source_filename = "AnghaBench/obs-studio/libobs/util/extr_platform.c_os_strtod.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define double @os_strtod(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca [64 x i8], align 1
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #4
%3 = call i32 @snprintf(ptr noundef nonnull %2, i32 noundef 64, ptr noundef nonnull @.str, ptr noundef %0) #4
%4 = call i32 @to_locale(ptr noundef nonnull %2) #4
%5 = call double @strtod(ptr nocapture noundef nonnull %2, ptr noundef null)
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #4
ret double %5
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @to_locale(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn
declare double @strtod(ptr noundef readonly, ptr nocapture noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nofree nounwind willreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| obs-studio_libobs_util_extr_platform.c_os_strtod |
; ModuleID = 'AnghaBench/h2o/lib/handler/configurator/extr_reproxy.c_on_config_reproxy.c'
source_filename = "AnghaBench/h2o/lib/handler/configurator/extr_reproxy.c_on_config_reproxy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"OFF,ON\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @on_config_reproxy], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @on_config_reproxy(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = tail call i32 @h2o_configurator_get_one_of(ptr noundef nonnull %0, ptr noundef %2, ptr noundef nonnull @.str) #2
%6 = icmp eq i32 %5, -1
br i1 %6, label %10, label %7
7: ; preds = %3
%8 = inttoptr i64 %4 to ptr
%9 = load ptr, ptr %8, align 8, !tbaa !10
store i32 %5, ptr %9, align 4, !tbaa !13
br label %10
10: ; preds = %3, %7
%11 = phi i32 [ 0, %7 ], [ -1, %3 ]
ret i32 %11
}
declare i32 @h2o_configurator_get_one_of(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"reproxy_configurator_t", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_5__", !15, i64 0}
!15 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/h2o/lib/handler/configurator/extr_reproxy.c_on_config_reproxy.c'
source_filename = "AnghaBench/h2o/lib/handler/configurator/extr_reproxy.c_on_config_reproxy.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [7 x i8] c"OFF,ON\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @on_config_reproxy], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @on_config_reproxy(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = tail call i32 @h2o_configurator_get_one_of(ptr noundef nonnull %0, ptr noundef %2, ptr noundef nonnull @.str) #2
%6 = icmp eq i32 %5, -1
br i1 %6, label %10, label %7
7: ; preds = %3
%8 = inttoptr i64 %4 to ptr
%9 = load ptr, ptr %8, align 8, !tbaa !11
store i32 %5, ptr %9, align 4, !tbaa !14
br label %10
10: ; preds = %3, %7
%11 = phi i32 [ 0, %7 ], [ -1, %3 ]
ret i32 %11
}
declare i32 @h2o_configurator_get_one_of(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"reproxy_configurator_t", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_5__", !16, i64 0}
!16 = !{!"int", !9, i64 0}
| h2o_lib_handler_configurator_extr_reproxy.c_on_config_reproxy |
; ModuleID = 'AnghaBench/lede/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_debugfs.c_ag71xx_debugfs_root_init.c'
source_filename = "AnghaBench/lede/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_debugfs.c_ag71xx_debugfs_root_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ag71xx_debugfs_root = dso_local local_unnamed_addr global i64 0, align 8
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@KBUILD_MODNAME = dso_local local_unnamed_addr global i32 0, align 4
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ag71xx_debugfs_root_init() local_unnamed_addr #0 {
%1 = load i64, ptr @ag71xx_debugfs_root, align 8, !tbaa !5
%2 = icmp eq i64 %1, 0
br i1 %2, label %6, label %3
3: ; preds = %0
%4 = load i32, ptr @EBUSY, align 4, !tbaa !9
%5 = sub nsw i32 0, %4
br label %13
6: ; preds = %0
%7 = load i32, ptr @KBUILD_MODNAME, align 4, !tbaa !9
%8 = tail call i64 @debugfs_create_dir(i32 noundef %7, ptr noundef null) #2
store i64 %8, ptr @ag71xx_debugfs_root, align 8, !tbaa !5
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %6
%11 = load i32, ptr @ENOENT, align 4, !tbaa !9
%12 = sub nsw i32 0, %11
br label %13
13: ; preds = %6, %10, %3
%14 = phi i32 [ %5, %3 ], [ %12, %10 ], [ 0, %6 ]
ret i32 %14
}
declare i64 @debugfs_create_dir(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/lede/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_debugfs.c_ag71xx_debugfs_root_init.c'
source_filename = "AnghaBench/lede/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_debugfs.c_ag71xx_debugfs_root_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ag71xx_debugfs_root = common local_unnamed_addr global i64 0, align 8
@EBUSY = common local_unnamed_addr global i32 0, align 4
@KBUILD_MODNAME = common local_unnamed_addr global i32 0, align 4
@ENOENT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @ag71xx_debugfs_root_init() local_unnamed_addr #0 {
%1 = load i64, ptr @ag71xx_debugfs_root, align 8, !tbaa !6
%2 = icmp eq i64 %1, 0
br i1 %2, label %6, label %3
3: ; preds = %0
%4 = load i32, ptr @EBUSY, align 4, !tbaa !10
%5 = sub nsw i32 0, %4
br label %13
6: ; preds = %0
%7 = load i32, ptr @KBUILD_MODNAME, align 4, !tbaa !10
%8 = tail call i64 @debugfs_create_dir(i32 noundef %7, ptr noundef null) #2
store i64 %8, ptr @ag71xx_debugfs_root, align 8, !tbaa !6
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %6
%11 = load i32, ptr @ENOENT, align 4, !tbaa !10
%12 = sub nsw i32 0, %11
br label %13
13: ; preds = %6, %10, %3
%14 = phi i32 [ %5, %3 ], [ %12, %10 ], [ 0, %6 ]
ret i32 %14
}
declare i64 @debugfs_create_dir(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| lede_target_linux_ar71xx_files_drivers_net_ethernet_atheros_ag71xx_extr_ag71xx_debugfs.c_ag71xx_debugfs_root_init |
; ModuleID = 'AnghaBench/reactos/dll/win32/jscript/extr_date.c_Date_setUTCSeconds.c'
source_filename = "AnghaBench/reactos/dll/win32/jscript/extr_date.c_Date_setUTCSeconds.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@JS_E_DATE_EXPECTED = dso_local local_unnamed_addr global i32 0, align 4
@JS_E_MISSING_ARG = dso_local local_unnamed_addr global i32 0, align 4
@S_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @Date_setUTCSeconds], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @Date_setUTCSeconds(ptr noundef %0, ptr noundef %1, i32 %2, i32 noundef %3, ptr nocapture noundef readonly %4, ptr noundef writeonly %5) #0 {
%7 = alloca double, align 8
%8 = alloca double, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
%9 = tail call i32 @TRACE(ptr noundef nonnull @.str) #3
%10 = tail call ptr @date_this(ptr noundef %1) #3
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %6
%13 = load i32, ptr @JS_E_DATE_EXPECTED, align 4, !tbaa !5
%14 = tail call i32 @throw_type_error(ptr noundef %0, i32 noundef %13, ptr noundef null) #3
br label %50
15: ; preds = %6
%16 = icmp eq i32 %3, 0
br i1 %16, label %17, label %20
17: ; preds = %15
%18 = load i32, ptr @JS_E_MISSING_ARG, align 4, !tbaa !5
%19 = tail call i32 @throw_type_error(ptr noundef %0, i32 noundef %18, ptr noundef null) #3
br label %50
20: ; preds = %15
%21 = load double, ptr %10, align 8, !tbaa !9
%22 = load i32, ptr %4, align 4, !tbaa !5
%23 = call i32 @to_number(ptr noundef %0, i32 noundef %22, ptr noundef nonnull %7) #3
%24 = call i64 @FAILED(i32 noundef %23) #3
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %50
26: ; preds = %20
%27 = icmp eq i32 %3, 1
br i1 %27, label %34, label %28
28: ; preds = %26
%29 = getelementptr inbounds i32, ptr %4, i64 1
%30 = load i32, ptr %29, align 4, !tbaa !5
%31 = call i32 @to_number(ptr noundef %0, i32 noundef %30, ptr noundef nonnull %8) #3
%32 = call i64 @FAILED(i32 noundef %31) #3
%33 = icmp eq i64 %32, 0
br i1 %33, label %36, label %50
34: ; preds = %26
%35 = call double @ms_from_time(double noundef %21) #3
store double %35, ptr %8, align 8, !tbaa !12
br label %36
36: ; preds = %28, %34
%37 = call i32 @day(double noundef %21) #3
%38 = call i32 @hour_from_time(double noundef %21) #3
%39 = call i32 @min_from_time(double noundef %21) #3
%40 = load double, ptr %7, align 8, !tbaa !12
%41 = load double, ptr %8, align 8, !tbaa !12
%42 = call i32 @make_time(i32 noundef %38, i32 noundef %39, double noundef %40, double noundef %41) #3
%43 = call double @make_date(i32 noundef %37, i32 noundef %42) #3
%44 = call double @time_clip(double noundef %43) #3
store double %44, ptr %10, align 8, !tbaa !9
%45 = icmp eq ptr %5, null
br i1 %45, label %48, label %46
46: ; preds = %36
%47 = call i32 @jsval_number(double noundef %44) #3
store i32 %47, ptr %5, align 4, !tbaa !5
br label %48
48: ; preds = %46, %36
%49 = load i32, ptr @S_OK, align 4, !tbaa !5
br label %50
50: ; preds = %28, %20, %48, %17, %12
%51 = phi i32 [ %49, %48 ], [ %19, %17 ], [ %14, %12 ], [ %23, %20 ], [ %31, %28 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
ret i32 %51
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @TRACE(ptr noundef) local_unnamed_addr #2
declare ptr @date_this(ptr noundef) local_unnamed_addr #2
declare i32 @throw_type_error(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @to_number(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @FAILED(i32 noundef) local_unnamed_addr #2
declare double @ms_from_time(double noundef) local_unnamed_addr #2
declare double @make_date(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @day(double noundef) local_unnamed_addr #2
declare i32 @make_time(i32 noundef, i32 noundef, double noundef, double noundef) local_unnamed_addr #2
declare i32 @hour_from_time(double noundef) local_unnamed_addr #2
declare i32 @min_from_time(double noundef) local_unnamed_addr #2
declare double @time_clip(double noundef) local_unnamed_addr #2
declare i32 @jsval_number(double noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_3__", !11, i64 0}
!11 = !{!"double", !7, i64 0}
!12 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/jscript/extr_date.c_Date_setUTCSeconds.c'
source_filename = "AnghaBench/reactos/dll/win32/jscript/extr_date.c_Date_setUTCSeconds.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@JS_E_DATE_EXPECTED = common local_unnamed_addr global i32 0, align 4
@JS_E_MISSING_ARG = common local_unnamed_addr global i32 0, align 4
@S_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @Date_setUTCSeconds], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @Date_setUTCSeconds(ptr noundef %0, ptr noundef %1, i32 %2, i32 noundef %3, ptr nocapture noundef readonly %4, ptr noundef writeonly %5) #0 {
%7 = alloca double, align 8
%8 = alloca double, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
%9 = tail call i32 @TRACE(ptr noundef nonnull @.str) #3
%10 = tail call ptr @date_this(ptr noundef %1) #3
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %6
%13 = load i32, ptr @JS_E_DATE_EXPECTED, align 4, !tbaa !6
%14 = tail call i32 @throw_type_error(ptr noundef %0, i32 noundef %13, ptr noundef null) #3
br label %50
15: ; preds = %6
%16 = icmp eq i32 %3, 0
br i1 %16, label %17, label %20
17: ; preds = %15
%18 = load i32, ptr @JS_E_MISSING_ARG, align 4, !tbaa !6
%19 = tail call i32 @throw_type_error(ptr noundef %0, i32 noundef %18, ptr noundef null) #3
br label %50
20: ; preds = %15
%21 = load double, ptr %10, align 8, !tbaa !10
%22 = load i32, ptr %4, align 4, !tbaa !6
%23 = call i32 @to_number(ptr noundef %0, i32 noundef %22, ptr noundef nonnull %7) #3
%24 = call i64 @FAILED(i32 noundef %23) #3
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %50
26: ; preds = %20
%27 = icmp eq i32 %3, 1
br i1 %27, label %34, label %28
28: ; preds = %26
%29 = getelementptr inbounds i8, ptr %4, i64 4
%30 = load i32, ptr %29, align 4, !tbaa !6
%31 = call i32 @to_number(ptr noundef %0, i32 noundef %30, ptr noundef nonnull %8) #3
%32 = call i64 @FAILED(i32 noundef %31) #3
%33 = icmp eq i64 %32, 0
br i1 %33, label %36, label %50
34: ; preds = %26
%35 = call double @ms_from_time(double noundef %21) #3
store double %35, ptr %8, align 8, !tbaa !13
br label %36
36: ; preds = %28, %34
%37 = call i32 @day(double noundef %21) #3
%38 = call i32 @hour_from_time(double noundef %21) #3
%39 = call i32 @min_from_time(double noundef %21) #3
%40 = load double, ptr %7, align 8, !tbaa !13
%41 = load double, ptr %8, align 8, !tbaa !13
%42 = call i32 @make_time(i32 noundef %38, i32 noundef %39, double noundef %40, double noundef %41) #3
%43 = call double @make_date(i32 noundef %37, i32 noundef %42) #3
%44 = call double @time_clip(double noundef %43) #3
store double %44, ptr %10, align 8, !tbaa !10
%45 = icmp eq ptr %5, null
br i1 %45, label %48, label %46
46: ; preds = %36
%47 = call i32 @jsval_number(double noundef %44) #3
store i32 %47, ptr %5, align 4, !tbaa !6
br label %48
48: ; preds = %46, %36
%49 = load i32, ptr @S_OK, align 4, !tbaa !6
br label %50
50: ; preds = %28, %20, %48, %17, %12
%51 = phi i32 [ %49, %48 ], [ %19, %17 ], [ %14, %12 ], [ %23, %20 ], [ %31, %28 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
ret i32 %51
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @TRACE(ptr noundef) local_unnamed_addr #2
declare ptr @date_this(ptr noundef) local_unnamed_addr #2
declare i32 @throw_type_error(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @to_number(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @FAILED(i32 noundef) local_unnamed_addr #2
declare double @ms_from_time(double noundef) local_unnamed_addr #2
declare double @make_date(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @day(double noundef) local_unnamed_addr #2
declare i32 @make_time(i32 noundef, i32 noundef, double noundef, double noundef) local_unnamed_addr #2
declare i32 @hour_from_time(double noundef) local_unnamed_addr #2
declare i32 @min_from_time(double noundef) local_unnamed_addr #2
declare double @time_clip(double noundef) local_unnamed_addr #2
declare i32 @jsval_number(double noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_3__", !12, i64 0}
!12 = !{!"double", !8, i64 0}
!13 = !{!12, !12, i64 0}
| reactos_dll_win32_jscript_extr_date.c_Date_setUTCSeconds |
; ModuleID = 'AnghaBench/linux/net/dccp/ccids/extr_..ccid.h_ccid_hc_rx_get_info.c'
source_filename = "AnghaBench/linux/net/dccp/ccids/extr_..ccid.h_ccid_hc_rx_get_info.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ccid_hc_rx_get_info], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @ccid_hc_rx_get_info(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = icmp eq ptr %5, null
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = tail call i32 %5(ptr noundef %1, ptr noundef %2) #1
br label %9
9: ; preds = %7, %3
ret void
}
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ccid", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/dccp/ccids/extr_..ccid.h_ccid_hc_rx_get_info.c'
source_filename = "AnghaBench/linux/net/dccp/ccids/extr_..ccid.h_ccid_hc_rx_get_info.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ccid_hc_rx_get_info], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @ccid_hc_rx_get_info(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = icmp eq ptr %5, null
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = tail call i32 %5(ptr noundef %1, ptr noundef %2) #1
br label %9
9: ; preds = %7, %3
ret void
}
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ccid", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_2__", !8, i64 0}
| linux_net_dccp_ccids_extr_..ccid.h_ccid_hc_rx_get_info |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/wireless/extr_nl80211.c_nl80211_send_mpath.c'
source_filename = "AnghaBench/fastsocket/kernel/net/wireless/extr_nl80211.c_nl80211_send_mpath.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mpath_info = type { i32, i32, i32, i32, i32, i32, i32, i32, i32 }
@NL80211_CMD_NEW_STATION = dso_local local_unnamed_addr global i32 0, align 4
@NL80211_ATTR_IFINDEX = dso_local local_unnamed_addr global i32 0, align 4
@NL80211_ATTR_MAC = dso_local local_unnamed_addr global i32 0, align 4
@ETH_ALEN = dso_local local_unnamed_addr global i32 0, align 4
@NL80211_ATTR_MPATH_NEXT_HOP = dso_local local_unnamed_addr global i32 0, align 4
@NL80211_ATTR_GENERATION = dso_local local_unnamed_addr global i32 0, align 4
@NL80211_ATTR_MPATH_INFO = dso_local local_unnamed_addr global i32 0, align 4
@MPATH_INFO_FRAME_QLEN = dso_local local_unnamed_addr global i32 0, align 4
@NL80211_MPATH_INFO_FRAME_QLEN = dso_local local_unnamed_addr global i32 0, align 4
@MPATH_INFO_SN = dso_local local_unnamed_addr global i32 0, align 4
@NL80211_MPATH_INFO_SN = dso_local local_unnamed_addr global i32 0, align 4
@MPATH_INFO_METRIC = dso_local local_unnamed_addr global i32 0, align 4
@NL80211_MPATH_INFO_METRIC = dso_local local_unnamed_addr global i32 0, align 4
@MPATH_INFO_EXPTIME = dso_local local_unnamed_addr global i32 0, align 4
@NL80211_MPATH_INFO_EXPTIME = dso_local local_unnamed_addr global i32 0, align 4
@MPATH_INFO_FLAGS = dso_local local_unnamed_addr global i32 0, align 4
@NL80211_MPATH_INFO_FLAGS = dso_local local_unnamed_addr global i32 0, align 4
@MPATH_INFO_DISCOVERY_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
@NL80211_MPATH_INFO_DISCOVERY_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
@MPATH_INFO_DISCOVERY_RETRIES = dso_local local_unnamed_addr global i32 0, align 4
@NL80211_MPATH_INFO_DISCOVERY_RETRIES = dso_local local_unnamed_addr global i32 0, align 4
@EMSGSIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @nl80211_send_mpath], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @nl80211_send_mpath(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef readonly %4, ptr noundef %5, ptr noundef %6, ptr nocapture noundef readonly %7) #0 {
%9 = load i32, ptr @NL80211_CMD_NEW_STATION, align 4, !tbaa !5
%10 = tail call ptr @nl80211hdr_put(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %9) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %133, label %12
12: ; preds = %8
%13 = load i32, ptr @NL80211_ATTR_IFINDEX, align 4, !tbaa !5
%14 = load i32, ptr %4, align 4, !tbaa !9
%15 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %13, i32 noundef %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %129
17: ; preds = %12
%18 = load i32, ptr @NL80211_ATTR_MAC, align 4, !tbaa !5
%19 = load i32, ptr @ETH_ALEN, align 4, !tbaa !5
%20 = tail call i64 @nla_put(ptr noundef %0, i32 noundef %18, i32 noundef %19, ptr noundef %5) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %129
22: ; preds = %17
%23 = load i32, ptr @NL80211_ATTR_MPATH_NEXT_HOP, align 4, !tbaa !5
%24 = load i32, ptr @ETH_ALEN, align 4, !tbaa !5
%25 = tail call i64 @nla_put(ptr noundef %0, i32 noundef %23, i32 noundef %24, ptr noundef %6) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %129
27: ; preds = %22
%28 = load i32, ptr @NL80211_ATTR_GENERATION, align 4, !tbaa !5
%29 = getelementptr inbounds %struct.mpath_info, ptr %7, i64 0, i32 8
%30 = load i32, ptr %29, align 4, !tbaa !11
%31 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %28, i32 noundef %30) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %129
33: ; preds = %27
%34 = load i32, ptr @NL80211_ATTR_MPATH_INFO, align 4, !tbaa !5
%35 = tail call ptr @nla_nest_start(ptr noundef %0, i32 noundef %34) #2
%36 = icmp eq ptr %35, null
br i1 %36, label %129, label %37
37: ; preds = %33
%38 = load i32, ptr %7, align 4, !tbaa !13
%39 = load i32, ptr @MPATH_INFO_FRAME_QLEN, align 4, !tbaa !5
%40 = and i32 %39, %38
%41 = icmp eq i32 %40, 0
br i1 %41, label %50, label %42
42: ; preds = %37
%43 = load i32, ptr @NL80211_MPATH_INFO_FRAME_QLEN, align 4, !tbaa !5
%44 = getelementptr inbounds %struct.mpath_info, ptr %7, i64 0, i32 7
%45 = load i32, ptr %44, align 4, !tbaa !14
%46 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %43, i32 noundef %45) #2
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %129
48: ; preds = %42
%49 = load i32, ptr %7, align 4, !tbaa !13
br label %50
50: ; preds = %48, %37
%51 = phi i32 [ %49, %48 ], [ %38, %37 ]
%52 = load i32, ptr @MPATH_INFO_SN, align 4, !tbaa !5
%53 = and i32 %52, %51
%54 = icmp eq i32 %53, 0
br i1 %54, label %63, label %55
55: ; preds = %50
%56 = load i32, ptr @NL80211_MPATH_INFO_SN, align 4, !tbaa !5
%57 = getelementptr inbounds %struct.mpath_info, ptr %7, i64 0, i32 6
%58 = load i32, ptr %57, align 4, !tbaa !15
%59 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %56, i32 noundef %58) #2
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %129
61: ; preds = %55
%62 = load i32, ptr %7, align 4, !tbaa !13
br label %63
63: ; preds = %61, %50
%64 = phi i32 [ %62, %61 ], [ %51, %50 ]
%65 = load i32, ptr @MPATH_INFO_METRIC, align 4, !tbaa !5
%66 = and i32 %65, %64
%67 = icmp eq i32 %66, 0
br i1 %67, label %76, label %68
68: ; preds = %63
%69 = load i32, ptr @NL80211_MPATH_INFO_METRIC, align 4, !tbaa !5
%70 = getelementptr inbounds %struct.mpath_info, ptr %7, i64 0, i32 5
%71 = load i32, ptr %70, align 4, !tbaa !16
%72 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %69, i32 noundef %71) #2
%73 = icmp eq i64 %72, 0
br i1 %73, label %74, label %129
74: ; preds = %68
%75 = load i32, ptr %7, align 4, !tbaa !13
br label %76
76: ; preds = %74, %63
%77 = phi i32 [ %75, %74 ], [ %64, %63 ]
%78 = load i32, ptr @MPATH_INFO_EXPTIME, align 4, !tbaa !5
%79 = and i32 %78, %77
%80 = icmp eq i32 %79, 0
br i1 %80, label %89, label %81
81: ; preds = %76
%82 = load i32, ptr @NL80211_MPATH_INFO_EXPTIME, align 4, !tbaa !5
%83 = getelementptr inbounds %struct.mpath_info, ptr %7, i64 0, i32 4
%84 = load i32, ptr %83, align 4, !tbaa !17
%85 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %82, i32 noundef %84) #2
%86 = icmp eq i64 %85, 0
br i1 %86, label %87, label %129
87: ; preds = %81
%88 = load i32, ptr %7, align 4, !tbaa !13
br label %89
89: ; preds = %87, %76
%90 = phi i32 [ %88, %87 ], [ %77, %76 ]
%91 = load i32, ptr @MPATH_INFO_FLAGS, align 4, !tbaa !5
%92 = and i32 %91, %90
%93 = icmp eq i32 %92, 0
br i1 %93, label %102, label %94
94: ; preds = %89
%95 = load i32, ptr @NL80211_MPATH_INFO_FLAGS, align 4, !tbaa !5
%96 = getelementptr inbounds %struct.mpath_info, ptr %7, i64 0, i32 3
%97 = load i32, ptr %96, align 4, !tbaa !18
%98 = tail call i64 @nla_put_u8(ptr noundef %0, i32 noundef %95, i32 noundef %97) #2
%99 = icmp eq i64 %98, 0
br i1 %99, label %100, label %129
100: ; preds = %94
%101 = load i32, ptr %7, align 4, !tbaa !13
br label %102
102: ; preds = %100, %89
%103 = phi i32 [ %101, %100 ], [ %90, %89 ]
%104 = load i32, ptr @MPATH_INFO_DISCOVERY_TIMEOUT, align 4, !tbaa !5
%105 = and i32 %104, %103
%106 = icmp eq i32 %105, 0
br i1 %106, label %115, label %107
107: ; preds = %102
%108 = load i32, ptr @NL80211_MPATH_INFO_DISCOVERY_TIMEOUT, align 4, !tbaa !5
%109 = getelementptr inbounds %struct.mpath_info, ptr %7, i64 0, i32 2
%110 = load i32, ptr %109, align 4, !tbaa !19
%111 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %108, i32 noundef %110) #2
%112 = icmp eq i64 %111, 0
br i1 %112, label %113, label %129
113: ; preds = %107
%114 = load i32, ptr %7, align 4, !tbaa !13
br label %115
115: ; preds = %113, %102
%116 = phi i32 [ %114, %113 ], [ %103, %102 ]
%117 = load i32, ptr @MPATH_INFO_DISCOVERY_RETRIES, align 4, !tbaa !5
%118 = and i32 %117, %116
%119 = icmp eq i32 %118, 0
br i1 %119, label %126, label %120
120: ; preds = %115
%121 = load i32, ptr @NL80211_MPATH_INFO_DISCOVERY_RETRIES, align 4, !tbaa !5
%122 = getelementptr inbounds %struct.mpath_info, ptr %7, i64 0, i32 1
%123 = load i32, ptr %122, align 4, !tbaa !20
%124 = tail call i64 @nla_put_u8(ptr noundef %0, i32 noundef %121, i32 noundef %123) #2
%125 = icmp eq i64 %124, 0
br i1 %125, label %126, label %129
126: ; preds = %120, %115
%127 = tail call i32 @nla_nest_end(ptr noundef %0, ptr noundef nonnull %35) #2
%128 = tail call i32 @genlmsg_end(ptr noundef %0, ptr noundef nonnull %10) #2
br label %133
129: ; preds = %55, %68, %81, %94, %107, %120, %42, %33, %12, %17, %22, %27
%130 = tail call i32 @genlmsg_cancel(ptr noundef %0, ptr noundef nonnull %10) #2
%131 = load i32, ptr @EMSGSIZE, align 4, !tbaa !5
%132 = sub nsw i32 0, %131
br label %133
133: ; preds = %8, %129, %126
%134 = phi i32 [ %132, %129 ], [ %128, %126 ], [ -1, %8 ]
ret i32 %134
}
declare ptr @nl80211hdr_put(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @nla_put_u32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @nla_put(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @nla_nest_start(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @nla_put_u8(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nla_nest_end(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @genlmsg_end(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @genlmsg_cancel(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"net_device", !6, i64 0}
!11 = !{!12, !6, i64 32}
!12 = !{!"mpath_info", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32}
!13 = !{!12, !6, i64 0}
!14 = !{!12, !6, i64 28}
!15 = !{!12, !6, i64 24}
!16 = !{!12, !6, i64 20}
!17 = !{!12, !6, i64 16}
!18 = !{!12, !6, i64 12}
!19 = !{!12, !6, i64 8}
!20 = !{!12, !6, i64 4}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/wireless/extr_nl80211.c_nl80211_send_mpath.c'
source_filename = "AnghaBench/fastsocket/kernel/net/wireless/extr_nl80211.c_nl80211_send_mpath.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NL80211_CMD_NEW_STATION = common local_unnamed_addr global i32 0, align 4
@NL80211_ATTR_IFINDEX = common local_unnamed_addr global i32 0, align 4
@NL80211_ATTR_MAC = common local_unnamed_addr global i32 0, align 4
@ETH_ALEN = common local_unnamed_addr global i32 0, align 4
@NL80211_ATTR_MPATH_NEXT_HOP = common local_unnamed_addr global i32 0, align 4
@NL80211_ATTR_GENERATION = common local_unnamed_addr global i32 0, align 4
@NL80211_ATTR_MPATH_INFO = common local_unnamed_addr global i32 0, align 4
@MPATH_INFO_FRAME_QLEN = common local_unnamed_addr global i32 0, align 4
@NL80211_MPATH_INFO_FRAME_QLEN = common local_unnamed_addr global i32 0, align 4
@MPATH_INFO_SN = common local_unnamed_addr global i32 0, align 4
@NL80211_MPATH_INFO_SN = common local_unnamed_addr global i32 0, align 4
@MPATH_INFO_METRIC = common local_unnamed_addr global i32 0, align 4
@NL80211_MPATH_INFO_METRIC = common local_unnamed_addr global i32 0, align 4
@MPATH_INFO_EXPTIME = common local_unnamed_addr global i32 0, align 4
@NL80211_MPATH_INFO_EXPTIME = common local_unnamed_addr global i32 0, align 4
@MPATH_INFO_FLAGS = common local_unnamed_addr global i32 0, align 4
@NL80211_MPATH_INFO_FLAGS = common local_unnamed_addr global i32 0, align 4
@MPATH_INFO_DISCOVERY_TIMEOUT = common local_unnamed_addr global i32 0, align 4
@NL80211_MPATH_INFO_DISCOVERY_TIMEOUT = common local_unnamed_addr global i32 0, align 4
@MPATH_INFO_DISCOVERY_RETRIES = common local_unnamed_addr global i32 0, align 4
@NL80211_MPATH_INFO_DISCOVERY_RETRIES = common local_unnamed_addr global i32 0, align 4
@EMSGSIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @nl80211_send_mpath], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @nl80211_send_mpath(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef readonly %4, ptr noundef %5, ptr noundef %6, ptr nocapture noundef readonly %7) #0 {
%9 = load i32, ptr @NL80211_CMD_NEW_STATION, align 4, !tbaa !6
%10 = tail call ptr @nl80211hdr_put(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %9) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %133, label %12
12: ; preds = %8
%13 = load i32, ptr @NL80211_ATTR_IFINDEX, align 4, !tbaa !6
%14 = load i32, ptr %4, align 4, !tbaa !10
%15 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %13, i32 noundef %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %129
17: ; preds = %12
%18 = load i32, ptr @NL80211_ATTR_MAC, align 4, !tbaa !6
%19 = load i32, ptr @ETH_ALEN, align 4, !tbaa !6
%20 = tail call i64 @nla_put(ptr noundef %0, i32 noundef %18, i32 noundef %19, ptr noundef %5) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %129
22: ; preds = %17
%23 = load i32, ptr @NL80211_ATTR_MPATH_NEXT_HOP, align 4, !tbaa !6
%24 = load i32, ptr @ETH_ALEN, align 4, !tbaa !6
%25 = tail call i64 @nla_put(ptr noundef %0, i32 noundef %23, i32 noundef %24, ptr noundef %6) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %129
27: ; preds = %22
%28 = load i32, ptr @NL80211_ATTR_GENERATION, align 4, !tbaa !6
%29 = getelementptr inbounds i8, ptr %7, i64 32
%30 = load i32, ptr %29, align 4, !tbaa !12
%31 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %28, i32 noundef %30) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %129
33: ; preds = %27
%34 = load i32, ptr @NL80211_ATTR_MPATH_INFO, align 4, !tbaa !6
%35 = tail call ptr @nla_nest_start(ptr noundef %0, i32 noundef %34) #2
%36 = icmp eq ptr %35, null
br i1 %36, label %129, label %37
37: ; preds = %33
%38 = load i32, ptr %7, align 4, !tbaa !14
%39 = load i32, ptr @MPATH_INFO_FRAME_QLEN, align 4, !tbaa !6
%40 = and i32 %39, %38
%41 = icmp eq i32 %40, 0
br i1 %41, label %50, label %42
42: ; preds = %37
%43 = load i32, ptr @NL80211_MPATH_INFO_FRAME_QLEN, align 4, !tbaa !6
%44 = getelementptr inbounds i8, ptr %7, i64 28
%45 = load i32, ptr %44, align 4, !tbaa !15
%46 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %43, i32 noundef %45) #2
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %129
48: ; preds = %42
%49 = load i32, ptr %7, align 4, !tbaa !14
br label %50
50: ; preds = %48, %37
%51 = phi i32 [ %49, %48 ], [ %38, %37 ]
%52 = load i32, ptr @MPATH_INFO_SN, align 4, !tbaa !6
%53 = and i32 %52, %51
%54 = icmp eq i32 %53, 0
br i1 %54, label %63, label %55
55: ; preds = %50
%56 = load i32, ptr @NL80211_MPATH_INFO_SN, align 4, !tbaa !6
%57 = getelementptr inbounds i8, ptr %7, i64 24
%58 = load i32, ptr %57, align 4, !tbaa !16
%59 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %56, i32 noundef %58) #2
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %129
61: ; preds = %55
%62 = load i32, ptr %7, align 4, !tbaa !14
br label %63
63: ; preds = %61, %50
%64 = phi i32 [ %62, %61 ], [ %51, %50 ]
%65 = load i32, ptr @MPATH_INFO_METRIC, align 4, !tbaa !6
%66 = and i32 %65, %64
%67 = icmp eq i32 %66, 0
br i1 %67, label %76, label %68
68: ; preds = %63
%69 = load i32, ptr @NL80211_MPATH_INFO_METRIC, align 4, !tbaa !6
%70 = getelementptr inbounds i8, ptr %7, i64 20
%71 = load i32, ptr %70, align 4, !tbaa !17
%72 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %69, i32 noundef %71) #2
%73 = icmp eq i64 %72, 0
br i1 %73, label %74, label %129
74: ; preds = %68
%75 = load i32, ptr %7, align 4, !tbaa !14
br label %76
76: ; preds = %74, %63
%77 = phi i32 [ %75, %74 ], [ %64, %63 ]
%78 = load i32, ptr @MPATH_INFO_EXPTIME, align 4, !tbaa !6
%79 = and i32 %78, %77
%80 = icmp eq i32 %79, 0
br i1 %80, label %89, label %81
81: ; preds = %76
%82 = load i32, ptr @NL80211_MPATH_INFO_EXPTIME, align 4, !tbaa !6
%83 = getelementptr inbounds i8, ptr %7, i64 16
%84 = load i32, ptr %83, align 4, !tbaa !18
%85 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %82, i32 noundef %84) #2
%86 = icmp eq i64 %85, 0
br i1 %86, label %87, label %129
87: ; preds = %81
%88 = load i32, ptr %7, align 4, !tbaa !14
br label %89
89: ; preds = %87, %76
%90 = phi i32 [ %88, %87 ], [ %77, %76 ]
%91 = load i32, ptr @MPATH_INFO_FLAGS, align 4, !tbaa !6
%92 = and i32 %91, %90
%93 = icmp eq i32 %92, 0
br i1 %93, label %102, label %94
94: ; preds = %89
%95 = load i32, ptr @NL80211_MPATH_INFO_FLAGS, align 4, !tbaa !6
%96 = getelementptr inbounds i8, ptr %7, i64 12
%97 = load i32, ptr %96, align 4, !tbaa !19
%98 = tail call i64 @nla_put_u8(ptr noundef %0, i32 noundef %95, i32 noundef %97) #2
%99 = icmp eq i64 %98, 0
br i1 %99, label %100, label %129
100: ; preds = %94
%101 = load i32, ptr %7, align 4, !tbaa !14
br label %102
102: ; preds = %100, %89
%103 = phi i32 [ %101, %100 ], [ %90, %89 ]
%104 = load i32, ptr @MPATH_INFO_DISCOVERY_TIMEOUT, align 4, !tbaa !6
%105 = and i32 %104, %103
%106 = icmp eq i32 %105, 0
br i1 %106, label %115, label %107
107: ; preds = %102
%108 = load i32, ptr @NL80211_MPATH_INFO_DISCOVERY_TIMEOUT, align 4, !tbaa !6
%109 = getelementptr inbounds i8, ptr %7, i64 8
%110 = load i32, ptr %109, align 4, !tbaa !20
%111 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %108, i32 noundef %110) #2
%112 = icmp eq i64 %111, 0
br i1 %112, label %113, label %129
113: ; preds = %107
%114 = load i32, ptr %7, align 4, !tbaa !14
br label %115
115: ; preds = %113, %102
%116 = phi i32 [ %114, %113 ], [ %103, %102 ]
%117 = load i32, ptr @MPATH_INFO_DISCOVERY_RETRIES, align 4, !tbaa !6
%118 = and i32 %117, %116
%119 = icmp eq i32 %118, 0
br i1 %119, label %126, label %120
120: ; preds = %115
%121 = load i32, ptr @NL80211_MPATH_INFO_DISCOVERY_RETRIES, align 4, !tbaa !6
%122 = getelementptr inbounds i8, ptr %7, i64 4
%123 = load i32, ptr %122, align 4, !tbaa !21
%124 = tail call i64 @nla_put_u8(ptr noundef %0, i32 noundef %121, i32 noundef %123) #2
%125 = icmp eq i64 %124, 0
br i1 %125, label %126, label %129
126: ; preds = %120, %115
%127 = tail call i32 @nla_nest_end(ptr noundef %0, ptr noundef nonnull %35) #2
%128 = tail call i32 @genlmsg_end(ptr noundef %0, ptr noundef nonnull %10) #2
br label %133
129: ; preds = %55, %68, %81, %94, %107, %120, %42, %33, %12, %17, %22, %27
%130 = tail call i32 @genlmsg_cancel(ptr noundef %0, ptr noundef nonnull %10) #2
%131 = load i32, ptr @EMSGSIZE, align 4, !tbaa !6
%132 = sub nsw i32 0, %131
br label %133
133: ; preds = %8, %129, %126
%134 = phi i32 [ %132, %129 ], [ %128, %126 ], [ -1, %8 ]
ret i32 %134
}
declare ptr @nl80211hdr_put(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @nla_put_u32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @nla_put(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @nla_nest_start(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @nla_put_u8(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nla_nest_end(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @genlmsg_end(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @genlmsg_cancel(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"net_device", !7, i64 0}
!12 = !{!13, !7, i64 32}
!13 = !{!"mpath_info", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32}
!14 = !{!13, !7, i64 0}
!15 = !{!13, !7, i64 28}
!16 = !{!13, !7, i64 24}
!17 = !{!13, !7, i64 20}
!18 = !{!13, !7, i64 16}
!19 = !{!13, !7, i64 12}
!20 = !{!13, !7, i64 8}
!21 = !{!13, !7, i64 4}
| fastsocket_kernel_net_wireless_extr_nl80211.c_nl80211_send_mpath |
; ModuleID = 'AnghaBench/linux/sound/pci/korg1212/extr_korg1212.c_snd_korg1212_SetRate.c'
source_filename = "AnghaBench/linux/sound/pci/korg1212/extr_korg1212.c_snd_korg1212_SetRate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.snd_korg1212 = type { i64, i32, i32, i64 }
@snd_korg1212_SetRate.s44 = internal unnamed_addr constant [3 x i32] [i32 133, i32 129, i32 131], align 4
@snd_korg1212_SetRate.s48 = internal unnamed_addr constant [3 x i32] [i32 132, i32 128, i32 130], align 4
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@INTERCOMMAND_DELAY = dso_local local_unnamed_addr global i32 0, align 4
@K1212_DB_SetClockSourceRate = dso_local local_unnamed_addr global i32 0, align 4
@ClockSourceSelector = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [55 x i8] c"K1212_DEBUG: Set Clock Source Selector - RC = %d [%s]\0A\00", align 1
@stateName = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_korg1212_SetRate], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @snd_korg1212_SetRate(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @snd_korg1212_use_is_exclusive(ptr noundef %0) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = load i32, ptr @EBUSY, align 4, !tbaa !5
%7 = sub nsw i32 0, %6
br label %37
8: ; preds = %2
switch i32 %1, label %10 [
i32 44100, label %13
i32 48000, label %9
]
9: ; preds = %8
br label %13
10: ; preds = %8
%11 = load i32, ptr @EINVAL, align 4, !tbaa !5
%12 = sub nsw i32 0, %11
br label %37
13: ; preds = %8, %9
%14 = phi ptr [ @snd_korg1212_SetRate.s48, %9 ], [ @snd_korg1212_SetRate.s44, %8 ]
%15 = load i64, ptr %0, align 8, !tbaa !9
%16 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %15
%17 = load i32, ptr %16, align 4, !tbaa !5
%18 = getelementptr inbounds %struct.snd_korg1212, ptr %0, i64 0, i32 1
store i32 %17, ptr %18, align 8, !tbaa !12
%19 = getelementptr inbounds %struct.snd_korg1212, ptr %0, i64 0, i32 2
store i32 %1, ptr %19, align 4, !tbaa !13
%20 = load i32, ptr @INTERCOMMAND_DELAY, align 4, !tbaa !5
%21 = tail call i32 @udelay(i32 noundef %20) #2
%22 = load i32, ptr @K1212_DB_SetClockSourceRate, align 4, !tbaa !5
%23 = load ptr, ptr @ClockSourceSelector, align 8, !tbaa !14
%24 = load i32, ptr %18, align 8, !tbaa !12
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4, !tbaa !5
%28 = tail call i32 @snd_korg1212_Send1212Command(ptr noundef nonnull %0, i32 noundef %22, i32 noundef %27, i32 noundef 0, i32 noundef 0, i32 noundef 0) #2
%29 = icmp eq i32 %28, 0
br i1 %29, label %37, label %30
30: ; preds = %13
%31 = load ptr, ptr @stateName, align 8, !tbaa !14
%32 = getelementptr inbounds %struct.snd_korg1212, ptr %0, i64 0, i32 3
%33 = load i64, ptr %32, align 8, !tbaa !16
%34 = getelementptr inbounds i32, ptr %31, i64 %33
%35 = load i32, ptr %34, align 4, !tbaa !5
%36 = tail call i32 @K1212_DEBUG_PRINTK(ptr noundef nonnull @.str, i32 noundef %28, i32 noundef %35) #2
br label %37
37: ; preds = %13, %30, %10, %5
%38 = phi i32 [ %12, %10 ], [ %7, %5 ], [ 0, %30 ], [ 0, %13 ]
ret i32 %38
}
declare i32 @snd_korg1212_use_is_exclusive(ptr noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @snd_korg1212_Send1212Command(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @K1212_DEBUG_PRINTK(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"snd_korg1212", !11, i64 0, !6, i64 8, !6, i64 12, !11, i64 16}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !6, i64 8}
!13 = !{!10, !6, i64 12}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!10, !11, i64 16}
| ; ModuleID = 'AnghaBench/linux/sound/pci/korg1212/extr_korg1212.c_snd_korg1212_SetRate.c'
source_filename = "AnghaBench/linux/sound/pci/korg1212/extr_korg1212.c_snd_korg1212_SetRate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@snd_korg1212_SetRate.s44 = internal unnamed_addr constant [3 x i32] [i32 133, i32 129, i32 131], align 4
@snd_korg1212_SetRate.s48 = internal unnamed_addr constant [3 x i32] [i32 132, i32 128, i32 130], align 4
@EBUSY = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@INTERCOMMAND_DELAY = common local_unnamed_addr global i32 0, align 4
@K1212_DB_SetClockSourceRate = common local_unnamed_addr global i32 0, align 4
@ClockSourceSelector = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [55 x i8] c"K1212_DEBUG: Set Clock Source Selector - RC = %d [%s]\0A\00", align 1
@stateName = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @snd_korg1212_SetRate], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @snd_korg1212_SetRate(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @snd_korg1212_use_is_exclusive(ptr noundef %0) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = load i32, ptr @EBUSY, align 4, !tbaa !6
%7 = sub nsw i32 0, %6
br label %37
8: ; preds = %2
switch i32 %1, label %10 [
i32 44100, label %13
i32 48000, label %9
]
9: ; preds = %8
br label %13
10: ; preds = %8
%11 = load i32, ptr @EINVAL, align 4, !tbaa !6
%12 = sub nsw i32 0, %11
br label %37
13: ; preds = %8, %9
%14 = phi ptr [ @snd_korg1212_SetRate.s48, %9 ], [ @snd_korg1212_SetRate.s44, %8 ]
%15 = load i64, ptr %0, align 8, !tbaa !10
%16 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %15
%17 = load i32, ptr %16, align 4, !tbaa !6
%18 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %17, ptr %18, align 8, !tbaa !13
%19 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %1, ptr %19, align 4, !tbaa !14
%20 = load i32, ptr @INTERCOMMAND_DELAY, align 4, !tbaa !6
%21 = tail call i32 @udelay(i32 noundef %20) #2
%22 = load i32, ptr @K1212_DB_SetClockSourceRate, align 4, !tbaa !6
%23 = load ptr, ptr @ClockSourceSelector, align 8, !tbaa !15
%24 = load i32, ptr %18, align 8, !tbaa !13
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4, !tbaa !6
%28 = tail call i32 @snd_korg1212_Send1212Command(ptr noundef nonnull %0, i32 noundef %22, i32 noundef %27, i32 noundef 0, i32 noundef 0, i32 noundef 0) #2
%29 = icmp eq i32 %28, 0
br i1 %29, label %37, label %30
30: ; preds = %13
%31 = load ptr, ptr @stateName, align 8, !tbaa !15
%32 = getelementptr inbounds i8, ptr %0, i64 16
%33 = load i64, ptr %32, align 8, !tbaa !17
%34 = getelementptr inbounds i32, ptr %31, i64 %33
%35 = load i32, ptr %34, align 4, !tbaa !6
%36 = tail call i32 @K1212_DEBUG_PRINTK(ptr noundef nonnull @.str, i32 noundef %28, i32 noundef %35) #2
br label %37
37: ; preds = %13, %30, %10, %5
%38 = phi i32 [ %12, %10 ], [ %7, %5 ], [ 0, %30 ], [ 0, %13 ]
ret i32 %38
}
declare i32 @snd_korg1212_use_is_exclusive(ptr noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @snd_korg1212_Send1212Command(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @K1212_DEBUG_PRINTK(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"snd_korg1212", !12, i64 0, !7, i64 8, !7, i64 12, !12, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !7, i64 8}
!14 = !{!11, !7, i64 12}
!15 = !{!16, !16, i64 0}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!11, !12, i64 16}
| linux_sound_pci_korg1212_extr_korg1212.c_snd_korg1212_SetRate |
; ModuleID = 'AnghaBench/git/extr_oidset.h_oidset_iter_init.c'
source_filename = "AnghaBench/git/extr_oidset.h_oidset_iter_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.oidset_iter = type { ptr, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @oidset_iter_init], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @oidset_iter_init(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
store ptr %0, ptr %1, align 8, !tbaa !5
%3 = tail call i32 @kh_begin(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.oidset_iter, ptr %1, i64 0, i32 1
store i32 %3, ptr %4, align 8, !tbaa !11
ret void
}
declare i32 @kh_begin(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"oidset_iter", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/git/extr_oidset.h_oidset_iter_init.c'
source_filename = "AnghaBench/git/extr_oidset.h_oidset_iter_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @oidset_iter_init], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @oidset_iter_init(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
store ptr %0, ptr %1, align 8, !tbaa !6
%3 = tail call i32 @kh_begin(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %3, ptr %4, align 8, !tbaa !12
ret void
}
declare i32 @kh_begin(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"oidset_iter", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 8}
| git_extr_oidset.h_oidset_iter_init |
; ModuleID = 'AnghaBench/linux/tools/perf/pmu-events/extr_jevents.c_json_events.c'
source_filename = "AnghaBench/linux/tools/perf/pmu-events/extr_jevents.c_json_events.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_11__ = type { i64, i32 }
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@JSMN_ARRAY = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [25 x i8] c"expected top level array\00", align 1
@JSMN_OBJECT = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [16 x i8] c"expected object\00", align 1
@JSMN_STRING = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [20 x i8] c"Expected field name\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Expected string value\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"EventCode\00", align 1
@.str.6 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"ExtSel\00", align 1
@.str.8 = private unnamed_addr constant [10 x i8] c"EventName\00", align 1
@.str.9 = private unnamed_addr constant [17 x i8] c"BriefDescription\00", align 1
@.str.10 = private unnamed_addr constant [18 x i8] c"PublicDescription\00", align 1
@.str.11 = private unnamed_addr constant [5 x i8] c"PEBS\00", align 1
@.str.12 = private unnamed_addr constant [9 x i8] c"MSRIndex\00", align 1
@.str.13 = private unnamed_addr constant [9 x i8] c"MSRValue\00", align 1
@.str.14 = private unnamed_addr constant [7 x i8] c"Errata\00", align 1
@.str.15 = private unnamed_addr constant [5 x i8] c"null\00", align 1
@.str.16 = private unnamed_addr constant [3 x i8] c". \00", align 1
@.str.17 = private unnamed_addr constant [15 x i8] c" Spec update: \00", align 1
@.str.18 = private unnamed_addr constant [8 x i8] c"Data_LA\00", align 1
@.str.19 = private unnamed_addr constant [31 x i8] c" Supports address when precise\00", align 1
@.str.20 = private unnamed_addr constant [5 x i8] c"Unit\00", align 1
@unit_to_pmu = dso_local local_unnamed_addr global i32 0, align 4
@.str.21 = private unnamed_addr constant [8 x i8] c"uncore_\00", align 1
@.str.22 = private unnamed_addr constant [7 x i8] c"Unit: \00", align 1
@.str.23 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.24 = private unnamed_addr constant [7 x i8] c"Filter\00", align 1
@.str.25 = private unnamed_addr constant [10 x i8] c"ScaleUnit\00", align 1
@.str.26 = private unnamed_addr constant [7 x i8] c"PerPkg\00", align 1
@.str.27 = private unnamed_addr constant [11 x i8] c"MetricName\00", align 1
@.str.28 = private unnamed_addr constant [12 x i8] c"MetricGroup\00", align 1
@.str.29 = private unnamed_addr constant [11 x i8] c"MetricExpr\00", align 1
@.str.30 = private unnamed_addr constant [13 x i8] c"ArchStdEvent\00", align 1
@.str.31 = private unnamed_addr constant [16 x i8] c"(Precise Event)\00", align 1
@.str.32 = private unnamed_addr constant [2 x i8] c"2\00", align 1
@.str.33 = private unnamed_addr constant [18 x i8] c"(Must be precise)\00", align 1
@.str.34 = private unnamed_addr constant [16 x i8] c"(Precise event)\00", align 1
@.str.35 = private unnamed_addr constant [12 x i8] c"event=%#llx\00", align 1
@.str.36 = private unnamed_addr constant [2 x i8] c",\00", align 1
@.str.37 = private unnamed_addr constant [26 x i8] c"unexpected objects at end\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @json_events(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca [128 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %7) #5
%23 = icmp eq ptr %0, null
br i1 %23, label %24, label %27
24: ; preds = %3
%25 = load i32, ptr @ENOENT, align 4, !tbaa !5
%26 = sub nsw i32 0, %25
br label %398
27: ; preds = %3
%28 = call ptr @parse_json(ptr noundef nonnull %0, ptr noundef nonnull %6, ptr noundef nonnull %4, ptr noundef nonnull %5) #5
%29 = icmp eq ptr %28, null
br i1 %29, label %30, label %33
30: ; preds = %27
%31 = load i32, ptr @EIO, align 4, !tbaa !5
%32 = sub nsw i32 0, %31
br label %398
33: ; preds = %27
%34 = load i64, ptr %28, align 8, !tbaa !9
%35 = load i64, ptr @JSMN_ARRAY, align 8, !tbaa !12
%36 = icmp eq i64 %34, %35
%37 = zext i1 %36 to i32
%38 = call i32 @EXPECT(i32 noundef %37, ptr noundef nonnull %28, ptr noundef nonnull @.str) #5
%39 = getelementptr inbounds %struct.TYPE_11__, ptr %28, i64 1
%40 = getelementptr inbounds %struct.TYPE_11__, ptr %28, i64 0, i32 1
%41 = load i32, ptr %40, align 8, !tbaa !13
%42 = icmp sgt i32 %41, 0
br i1 %42, label %43, label %384
43: ; preds = %33, %378
%44 = phi ptr [ %380, %378 ], [ %39, %33 ]
%45 = phi i32 [ %381, %378 ], [ 0, %33 ]
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
store ptr null, ptr %8, align 8, !tbaa !14
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
store ptr null, ptr %9, align 8, !tbaa !14
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
store ptr null, ptr %10, align 8, !tbaa !14
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
store ptr null, ptr %11, align 8, !tbaa !14
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
store ptr null, ptr %12, align 8, !tbaa !14
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
store ptr null, ptr %13, align 8, !tbaa !14
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
store ptr null, ptr %14, align 8, !tbaa !14
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
store ptr null, ptr %15, align 8, !tbaa !14
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #5
store ptr null, ptr %16, align 8, !tbaa !14
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
store ptr null, ptr %17, align 8, !tbaa !14
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
store ptr null, ptr %18, align 8, !tbaa !14
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #5
store ptr null, ptr %19, align 8, !tbaa !14
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #5
store ptr null, ptr %20, align 8, !tbaa !14
%46 = getelementptr inbounds %struct.TYPE_11__, ptr %44, i64 1
%47 = load i64, ptr %44, align 8, !tbaa !9
%48 = load i64, ptr @JSMN_OBJECT, align 8, !tbaa !12
%49 = icmp eq i64 %47, %48
%50 = zext i1 %49 to i32
%51 = call i32 @EXPECT(i32 noundef %50, ptr noundef nonnull %44, ptr noundef nonnull @.str.1) #5
%52 = getelementptr inbounds %struct.TYPE_11__, ptr %44, i64 0, i32 1
%53 = load i32, ptr %52, align 8, !tbaa !13
%54 = icmp sgt i32 %53, 0
br i1 %54, label %55, label %287
55: ; preds = %43, %263
%56 = phi i64 [ %268, %263 ], [ 0, %43 ]
%57 = phi ptr [ %267, %263 ], [ null, %43 ]
%58 = phi ptr [ %266, %263 ], [ null, %43 ]
%59 = phi ptr [ %265, %263 ], [ null, %43 ]
%60 = phi i64 [ %264, %263 ], [ 0, %43 ]
%61 = getelementptr inbounds %struct.TYPE_11__, ptr %46, i64 %56
%62 = load i64, ptr %61, align 8, !tbaa !9
%63 = load i64, ptr @JSMN_STRING, align 8, !tbaa !12
%64 = icmp eq i64 %62, %63
%65 = zext i1 %64 to i32
%66 = call i32 @EXPECT(i32 noundef %65, ptr noundef nonnull %61, ptr noundef nonnull @.str.2) #5
%67 = getelementptr inbounds %struct.TYPE_11__, ptr %61, i64 1
%68 = load i64, ptr %67, align 8, !tbaa !9
%69 = load i64, ptr @JSMN_STRING, align 8, !tbaa !12
%70 = icmp eq i64 %68, %69
%71 = zext i1 %70 to i32
%72 = call i32 @EXPECT(i32 noundef %71, ptr noundef nonnull %67, ptr noundef nonnull @.str.3) #5
%73 = load ptr, ptr %6, align 8, !tbaa !14
%74 = call i64 @json_streq(ptr noundef %73, ptr noundef nonnull %67, ptr noundef nonnull @.str.4) #5
%75 = icmp eq i64 %74, 0
%76 = zext i1 %75 to i32
%77 = load ptr, ptr %6, align 8, !tbaa !14
%78 = call i64 @match_field(ptr noundef %77, ptr noundef nonnull %61, i32 noundef %76, ptr noundef nonnull %8, ptr noundef nonnull %67) #5
%79 = icmp eq i64 %78, 0
br i1 %79, label %80, label %263
80: ; preds = %55
%81 = load ptr, ptr %6, align 8, !tbaa !14
%82 = call i64 @json_streq(ptr noundef %81, ptr noundef nonnull %61, ptr noundef nonnull @.str.5) #5
%83 = icmp eq i64 %82, 0
br i1 %83, label %93, label %84
84: ; preds = %80
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #5
store ptr null, ptr %21, align 8, !tbaa !14
%85 = load ptr, ptr %6, align 8, !tbaa !14
%86 = call i32 @addfield(ptr noundef %85, ptr noundef nonnull %21, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
%87 = load ptr, ptr %21, align 8, !tbaa !14
%88 = call i32 @strtoul(ptr nocapture noundef %87, ptr noundef null, i32 noundef 0)
%89 = sext i32 %88 to i64
%90 = or i64 %60, %89
%91 = load ptr, ptr %21, align 8, !tbaa !14
%92 = call i32 @free(ptr noundef %91) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #5
br label %263
93: ; preds = %80
%94 = load ptr, ptr %6, align 8, !tbaa !14
%95 = call i64 @json_streq(ptr noundef %94, ptr noundef nonnull %61, ptr noundef nonnull @.str.7) #5
%96 = icmp eq i64 %95, 0
br i1 %96, label %107, label %97
97: ; preds = %93
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #5
store ptr null, ptr %22, align 8, !tbaa !14
%98 = load ptr, ptr %6, align 8, !tbaa !14
%99 = call i32 @addfield(ptr noundef %98, ptr noundef nonnull %22, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
%100 = load ptr, ptr %22, align 8, !tbaa !14
%101 = call i32 @strtoul(ptr nocapture noundef %100, ptr noundef null, i32 noundef 0)
%102 = shl i32 %101, 21
%103 = sext i32 %102 to i64
%104 = or i64 %60, %103
%105 = load ptr, ptr %22, align 8, !tbaa !14
%106 = call i32 @free(ptr noundef %105) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
br label %263
107: ; preds = %93
%108 = load ptr, ptr %6, align 8, !tbaa !14
%109 = call i64 @json_streq(ptr noundef %108, ptr noundef nonnull %61, ptr noundef nonnull @.str.8) #5
%110 = icmp eq i64 %109, 0
%111 = load ptr, ptr %6, align 8, !tbaa !14
br i1 %110, label %114, label %112
112: ; preds = %107
%113 = call i32 @addfield(ptr noundef %111, ptr noundef nonnull %10, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
br label %263
114: ; preds = %107
%115 = call i64 @json_streq(ptr noundef %111, ptr noundef nonnull %61, ptr noundef nonnull @.str.9) #5
%116 = icmp eq i64 %115, 0
%117 = load ptr, ptr %6, align 8, !tbaa !14
br i1 %116, label %122, label %118
118: ; preds = %114
%119 = call i32 @addfield(ptr noundef %117, ptr noundef nonnull %9, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
%120 = load ptr, ptr %9, align 8, !tbaa !14
%121 = call i32 @fixdesc(ptr noundef %120) #5
br label %263
122: ; preds = %114
%123 = call i64 @json_streq(ptr noundef %117, ptr noundef nonnull %61, ptr noundef nonnull @.str.10) #5
%124 = icmp eq i64 %123, 0
%125 = load ptr, ptr %6, align 8, !tbaa !14
br i1 %124, label %130, label %126
126: ; preds = %122
%127 = call i32 @addfield(ptr noundef %125, ptr noundef nonnull %11, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
%128 = load ptr, ptr %11, align 8, !tbaa !14
%129 = call i32 @fixdesc(ptr noundef %128) #5
br label %263
130: ; preds = %122
%131 = call i64 @json_streq(ptr noundef %125, ptr noundef nonnull %61, ptr noundef nonnull @.str.11) #5
%132 = icmp ne i64 %131, 0
%133 = and i1 %75, %132
br i1 %133, label %263, label %134
134: ; preds = %130
%135 = load ptr, ptr %6, align 8, !tbaa !14
%136 = call i64 @json_streq(ptr noundef %135, ptr noundef nonnull %61, ptr noundef nonnull @.str.12) #5
%137 = icmp ne i64 %136, 0
%138 = and i1 %75, %137
%139 = load ptr, ptr %6, align 8, !tbaa !14
br i1 %138, label %140, label %142
140: ; preds = %134
%141 = call ptr @lookup_msr(ptr noundef %139, ptr noundef nonnull %67) #5
br label %263
142: ; preds = %134
%143 = call i64 @json_streq(ptr noundef %139, ptr noundef nonnull %61, ptr noundef nonnull @.str.13) #5
%144 = icmp eq i64 %143, 0
br i1 %144, label %145, label %263
145: ; preds = %142
%146 = load ptr, ptr %6, align 8, !tbaa !14
%147 = call i64 @json_streq(ptr noundef %146, ptr noundef nonnull %61, ptr noundef nonnull @.str.14) #5
%148 = icmp eq i64 %147, 0
br i1 %148, label %156, label %149
149: ; preds = %145
%150 = load ptr, ptr %6, align 8, !tbaa !14
%151 = call i64 @json_streq(ptr noundef %150, ptr noundef nonnull %67, ptr noundef nonnull @.str.15) #5
%152 = icmp eq i64 %151, 0
br i1 %152, label %153, label %156
153: ; preds = %149
%154 = load ptr, ptr %6, align 8, !tbaa !14
%155 = call i32 @addfield(ptr noundef %154, ptr noundef nonnull %12, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.17, ptr noundef nonnull %67) #5
br label %263
156: ; preds = %149, %145
%157 = load ptr, ptr %6, align 8, !tbaa !14
%158 = call i64 @json_streq(ptr noundef %157, ptr noundef nonnull %61, ptr noundef nonnull @.str.18) #5
%159 = icmp ne i64 %158, 0
%160 = and i1 %75, %159
%161 = load ptr, ptr %6, align 8, !tbaa !14
br i1 %160, label %162, label %164
162: ; preds = %156
%163 = call i32 @addfield(ptr noundef %161, ptr noundef nonnull %12, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.19, ptr noundef null) #5
br label %263
164: ; preds = %156
%165 = call i64 @json_streq(ptr noundef %161, ptr noundef nonnull %61, ptr noundef nonnull @.str.20) #5
%166 = icmp eq i64 %165, 0
br i1 %166, label %200, label %167
167: ; preds = %164
%168 = load i32, ptr @unit_to_pmu, align 4, !tbaa !5
%169 = load ptr, ptr %6, align 8, !tbaa !14
%170 = call ptr @field_to_perf(i32 noundef %168, ptr noundef %169, ptr noundef nonnull %67) #5
%171 = icmp eq ptr %170, null
br i1 %171, label %174, label %172
172: ; preds = %167
%173 = call ptr @strdup(ptr noundef nonnull %170)
store ptr %173, ptr %13, align 8, !tbaa !14
br label %192
174: ; preds = %167
%175 = load ptr, ptr %13, align 8, !tbaa !14
%176 = icmp eq ptr %175, null
br i1 %176, label %177, label %179
177: ; preds = %174
%178 = call dereferenceable_or_null(8) ptr @strdup(ptr noundef nonnull @.str.21)
store ptr %178, ptr %13, align 8, !tbaa !14
br label %179
179: ; preds = %177, %174
%180 = load ptr, ptr %6, align 8, !tbaa !14
%181 = call i32 @addfield(ptr noundef %180, ptr noundef nonnull %13, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
%182 = load ptr, ptr %13, align 8, !tbaa !14
%183 = load i8, ptr %182, align 1, !tbaa !16
%184 = icmp eq i8 %183, 0
br i1 %184, label %192, label %185
185: ; preds = %179, %185
%186 = phi i8 [ %190, %185 ], [ %183, %179 ]
%187 = phi ptr [ %189, %185 ], [ %182, %179 ]
%188 = call signext i8 @tolower(i8 noundef signext %186) #5
store i8 %188, ptr %187, align 1, !tbaa !16
%189 = getelementptr inbounds i8, ptr %187, i64 1
%190 = load i8, ptr %189, align 1, !tbaa !16
%191 = icmp eq i8 %190, 0
br i1 %191, label %192, label %185, !llvm.loop !17
192: ; preds = %185, %179, %172
%193 = load ptr, ptr %6, align 8, !tbaa !14
%194 = call i32 @addfield(ptr noundef %193, ptr noundef nonnull %9, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.22, ptr noundef null) #5
%195 = load ptr, ptr %6, align 8, !tbaa !14
%196 = load ptr, ptr %13, align 8, !tbaa !14
%197 = call i32 @addfield(ptr noundef %195, ptr noundef nonnull %9, ptr noundef nonnull @.str.6, ptr noundef %196, ptr noundef null) #5
%198 = load ptr, ptr %6, align 8, !tbaa !14
%199 = call i32 @addfield(ptr noundef %198, ptr noundef nonnull %9, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.23, ptr noundef null) #5
br label %263
200: ; preds = %164
%201 = load ptr, ptr %6, align 8, !tbaa !14
%202 = call i64 @json_streq(ptr noundef %201, ptr noundef nonnull %61, ptr noundef nonnull @.str.24) #5
%203 = icmp eq i64 %202, 0
%204 = load ptr, ptr %6, align 8, !tbaa !14
br i1 %203, label %207, label %205
205: ; preds = %200
%206 = call i32 @addfield(ptr noundef %204, ptr noundef nonnull %14, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
br label %263
207: ; preds = %200
%208 = call i64 @json_streq(ptr noundef %204, ptr noundef nonnull %61, ptr noundef nonnull @.str.25) #5
%209 = icmp eq i64 %208, 0
%210 = load ptr, ptr %6, align 8, !tbaa !14
br i1 %209, label %213, label %211
211: ; preds = %207
%212 = call i32 @addfield(ptr noundef %210, ptr noundef nonnull %16, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
br label %263
213: ; preds = %207
%214 = call i64 @json_streq(ptr noundef %210, ptr noundef nonnull %61, ptr noundef nonnull @.str.26) #5
%215 = icmp eq i64 %214, 0
%216 = load ptr, ptr %6, align 8, !tbaa !14
br i1 %215, label %219, label %217
217: ; preds = %213
%218 = call i32 @addfield(ptr noundef %216, ptr noundef nonnull %15, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
br label %263
219: ; preds = %213
%220 = call i64 @json_streq(ptr noundef %216, ptr noundef nonnull %61, ptr noundef nonnull @.str.27) #5
%221 = icmp eq i64 %220, 0
%222 = load ptr, ptr %6, align 8, !tbaa !14
br i1 %221, label %225, label %223
223: ; preds = %219
%224 = call i32 @addfield(ptr noundef %222, ptr noundef nonnull %18, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
br label %263
225: ; preds = %219
%226 = call i64 @json_streq(ptr noundef %222, ptr noundef nonnull %61, ptr noundef nonnull @.str.28) #5
%227 = icmp eq i64 %226, 0
%228 = load ptr, ptr %6, align 8, !tbaa !14
br i1 %227, label %231, label %229
229: ; preds = %225
%230 = call i32 @addfield(ptr noundef %228, ptr noundef nonnull %19, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
br label %263
231: ; preds = %225
%232 = call i64 @json_streq(ptr noundef %228, ptr noundef nonnull %61, ptr noundef nonnull @.str.29) #5
%233 = icmp eq i64 %232, 0
%234 = load ptr, ptr %6, align 8, !tbaa !14
br i1 %233, label %247, label %235
235: ; preds = %231
%236 = call i32 @addfield(ptr noundef %234, ptr noundef nonnull %17, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
%237 = load ptr, ptr %17, align 8, !tbaa !14
%238 = load i8, ptr %237, align 1, !tbaa !16
%239 = icmp eq i8 %238, 0
br i1 %239, label %263, label %240
240: ; preds = %235, %240
%241 = phi i8 [ %245, %240 ], [ %238, %235 ]
%242 = phi ptr [ %244, %240 ], [ %237, %235 ]
%243 = call signext i8 @tolower(i8 noundef signext %241) #5
store i8 %243, ptr %242, align 1, !tbaa !16
%244 = getelementptr inbounds i8, ptr %242, i64 1
%245 = load i8, ptr %244, align 1, !tbaa !16
%246 = icmp eq i8 %245, 0
br i1 %246, label %263, label %240, !llvm.loop !19
247: ; preds = %231
%248 = call i64 @json_streq(ptr noundef %234, ptr noundef nonnull %61, ptr noundef nonnull @.str.30) #5
%249 = icmp eq i64 %248, 0
br i1 %249, label %263, label %250
250: ; preds = %247
%251 = load ptr, ptr %6, align 8, !tbaa !14
%252 = call i32 @addfield(ptr noundef %251, ptr noundef nonnull %20, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
%253 = load ptr, ptr %20, align 8, !tbaa !14
%254 = load i8, ptr %253, align 1, !tbaa !16
%255 = icmp eq i8 %254, 0
br i1 %255, label %263, label %256
256: ; preds = %250, %256
%257 = phi i8 [ %261, %256 ], [ %254, %250 ]
%258 = phi ptr [ %260, %256 ], [ %253, %250 ]
%259 = call signext i8 @tolower(i8 noundef signext %257) #5
store i8 %259, ptr %258, align 1, !tbaa !16
%260 = getelementptr inbounds i8, ptr %258, i64 1
%261 = load i8, ptr %260, align 1, !tbaa !16
%262 = icmp eq i8 %261, 0
br i1 %262, label %263, label %256, !llvm.loop !20
263: ; preds = %240, %256, %235, %250, %142, %130, %84, %112, %126, %140, %153, %192, %211, %223, %247, %229, %217, %205, %162, %118, %97, %55
%264 = phi i64 [ %60, %55 ], [ %90, %84 ], [ %104, %97 ], [ %60, %112 ], [ %60, %118 ], [ %60, %126 ], [ %60, %140 ], [ %60, %162 ], [ %60, %192 ], [ %60, %205 ], [ %60, %211 ], [ %60, %217 ], [ %60, %223 ], [ %60, %229 ], [ %60, %247 ], [ %60, %153 ], [ %60, %130 ], [ %60, %142 ], [ %60, %250 ], [ %60, %235 ], [ %60, %256 ], [ %60, %240 ]
%265 = phi ptr [ %59, %55 ], [ %59, %84 ], [ %59, %97 ], [ %59, %112 ], [ %59, %118 ], [ %59, %126 ], [ %141, %140 ], [ %59, %162 ], [ %59, %192 ], [ %59, %205 ], [ %59, %211 ], [ %59, %217 ], [ %59, %223 ], [ %59, %229 ], [ %59, %247 ], [ %59, %153 ], [ %59, %130 ], [ %59, %142 ], [ %59, %250 ], [ %59, %235 ], [ %59, %256 ], [ %59, %240 ]
%266 = phi ptr [ %58, %55 ], [ %58, %84 ], [ %58, %97 ], [ %58, %112 ], [ %58, %118 ], [ %58, %126 ], [ %58, %140 ], [ %58, %162 ], [ %58, %192 ], [ %58, %205 ], [ %58, %211 ], [ %58, %217 ], [ %58, %223 ], [ %58, %229 ], [ %58, %247 ], [ %58, %153 ], [ %58, %130 ], [ %67, %142 ], [ %58, %250 ], [ %58, %235 ], [ %58, %256 ], [ %58, %240 ]
%267 = phi ptr [ %57, %55 ], [ %57, %84 ], [ %57, %97 ], [ %57, %112 ], [ %57, %118 ], [ %57, %126 ], [ %57, %140 ], [ %57, %162 ], [ %57, %192 ], [ %57, %205 ], [ %57, %211 ], [ %57, %217 ], [ %57, %223 ], [ %57, %229 ], [ %57, %247 ], [ %57, %153 ], [ %67, %130 ], [ %57, %142 ], [ %57, %250 ], [ %57, %235 ], [ %57, %256 ], [ %57, %240 ]
%268 = add nuw i64 %56, 2
%269 = load i32, ptr %52, align 8, !tbaa !13
%270 = trunc i64 %268 to i32
%271 = icmp sgt i32 %269, %270
br i1 %271, label %55, label %272, !llvm.loop !21
272: ; preds = %263
%273 = icmp ne ptr %267, null
%274 = load ptr, ptr %9, align 8
%275 = icmp ne ptr %274, null
%276 = select i1 %273, i1 %275, i1 false
br i1 %276, label %277, label %287
277: ; preds = %272
%278 = call i32 @strstr(ptr noundef nonnull %274, ptr noundef nonnull @.str.31) #5
%279 = icmp eq i32 %278, 0
br i1 %279, label %280, label %287
280: ; preds = %277
%281 = load ptr, ptr %6, align 8, !tbaa !14
%282 = call i64 @json_streq(ptr noundef %281, ptr noundef nonnull %267, ptr noundef nonnull @.str.32) #5
%283 = icmp eq i64 %282, 0
%284 = load ptr, ptr %6, align 8, !tbaa !14
%285 = select i1 %283, ptr @.str.34, ptr @.str.33
%286 = call i32 @addfield(ptr noundef %284, ptr noundef nonnull %12, ptr noundef nonnull @.str.23, ptr noundef nonnull %285, ptr noundef null) #5
br label %287
287: ; preds = %280, %43, %277, %272
%288 = phi i64 [ %268, %277 ], [ %268, %272 ], [ 0, %43 ], [ %268, %280 ]
%289 = phi ptr [ %266, %277 ], [ %266, %272 ], [ null, %43 ], [ %266, %280 ]
%290 = phi ptr [ %265, %277 ], [ %265, %272 ], [ null, %43 ], [ %265, %280 ]
%291 = phi i64 [ %264, %277 ], [ %264, %272 ], [ 0, %43 ], [ %264, %280 ]
%292 = call i32 @snprintf(ptr noundef nonnull %7, i32 noundef 128, ptr noundef nonnull @.str.35, i64 noundef %291) #5
%293 = load ptr, ptr %6, align 8, !tbaa !14
%294 = call i32 @addfield(ptr noundef %293, ptr noundef nonnull %8, ptr noundef nonnull @.str.36, ptr noundef nonnull %7, ptr noundef null) #5
%295 = load ptr, ptr %9, align 8, !tbaa !14
%296 = icmp ne ptr %295, null
%297 = load ptr, ptr %12, align 8
%298 = icmp ne ptr %297, null
%299 = select i1 %296, i1 %298, i1 false
br i1 %299, label %300, label %304
300: ; preds = %287
%301 = load ptr, ptr %6, align 8, !tbaa !14
%302 = call i32 @addfield(ptr noundef %301, ptr noundef nonnull %9, ptr noundef nonnull @.str.23, ptr noundef nonnull %297, ptr noundef null) #5
%303 = load ptr, ptr %12, align 8
br label %304
304: ; preds = %300, %287
%305 = phi ptr [ %303, %300 ], [ %297, %287 ]
%306 = load ptr, ptr %11, align 8, !tbaa !14
%307 = icmp ne ptr %306, null
%308 = icmp ne ptr %305, null
%309 = select i1 %307, i1 %308, i1 false
br i1 %309, label %310, label %313
310: ; preds = %304
%311 = load ptr, ptr %6, align 8, !tbaa !14
%312 = call i32 @addfield(ptr noundef %311, ptr noundef nonnull %11, ptr noundef nonnull @.str.23, ptr noundef nonnull %305, ptr noundef null) #5
br label %313
313: ; preds = %310, %304
%314 = load ptr, ptr %14, align 8, !tbaa !14
%315 = icmp eq ptr %314, null
br i1 %315, label %319, label %316
316: ; preds = %313
%317 = load ptr, ptr %6, align 8, !tbaa !14
%318 = call i32 @addfield(ptr noundef %317, ptr noundef nonnull %8, ptr noundef nonnull @.str.36, ptr noundef nonnull %314, ptr noundef null) #5
br label %319
319: ; preds = %316, %313
%320 = icmp eq ptr %290, null
br i1 %320, label %325, label %321
321: ; preds = %319
%322 = load ptr, ptr %6, align 8, !tbaa !14
%323 = load ptr, ptr %290, align 8, !tbaa !22
%324 = call i32 @addfield(ptr noundef %322, ptr noundef nonnull %8, ptr noundef nonnull @.str.36, ptr noundef %323, ptr noundef %289) #5
br label %325
325: ; preds = %321, %319
%326 = load ptr, ptr %10, align 8, !tbaa !14
%327 = icmp eq ptr %326, null
br i1 %327, label %330, label %328
328: ; preds = %325
%329 = call i32 @fixname(ptr noundef nonnull %326) #5
br label %330
330: ; preds = %328, %325
%331 = load ptr, ptr %20, align 8, !tbaa !14
%332 = icmp eq ptr %331, null
br i1 %332, label %336, label %333
333: ; preds = %330
%334 = call i32 @try_fixup(ptr noundef nonnull %0, ptr noundef nonnull %331, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %13, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef nonnull %17, ptr noundef nonnull %18, ptr noundef nonnull %19, i64 noundef %291) #5
%335 = icmp eq i32 %334, 0
br i1 %335, label %336, label %349
336: ; preds = %333, %330
%337 = load ptr, ptr %10, align 8, !tbaa !14
%338 = load ptr, ptr %8, align 8, !tbaa !14
%339 = call ptr @real_event(ptr noundef %337, ptr noundef %338) #5
%340 = load ptr, ptr %9, align 8, !tbaa !14
%341 = load ptr, ptr %11, align 8, !tbaa !14
%342 = load ptr, ptr %13, align 8, !tbaa !14
%343 = load ptr, ptr %16, align 8, !tbaa !14
%344 = load ptr, ptr %15, align 8, !tbaa !14
%345 = load ptr, ptr %17, align 8, !tbaa !14
%346 = load ptr, ptr %18, align 8, !tbaa !14
%347 = load ptr, ptr %19, align 8, !tbaa !14
%348 = call i32 %1(ptr noundef %2, ptr noundef %337, ptr noundef %339, ptr noundef %340, ptr noundef %341, ptr noundef %342, ptr noundef %343, ptr noundef %344, ptr noundef %345, ptr noundef %346, ptr noundef %347) #5
br label %349
349: ; preds = %333, %336
%350 = phi i32 [ %334, %333 ], [ %348, %336 ]
%351 = load ptr, ptr %8, align 8, !tbaa !14
%352 = call i32 @free(ptr noundef %351) #5
%353 = load ptr, ptr %9, align 8, !tbaa !14
%354 = call i32 @free(ptr noundef %353) #5
%355 = load ptr, ptr %10, align 8, !tbaa !14
%356 = call i32 @free(ptr noundef %355) #5
%357 = load ptr, ptr %11, align 8, !tbaa !14
%358 = call i32 @free(ptr noundef %357) #5
%359 = load ptr, ptr %12, align 8, !tbaa !14
%360 = call i32 @free(ptr noundef %359) #5
%361 = load ptr, ptr %13, align 8, !tbaa !14
%362 = call i32 @free(ptr noundef %361) #5
%363 = load ptr, ptr %14, align 8, !tbaa !14
%364 = call i32 @free(ptr noundef %363) #5
%365 = load ptr, ptr %15, align 8, !tbaa !14
%366 = call i32 @free(ptr noundef %365) #5
%367 = load ptr, ptr %16, align 8, !tbaa !14
%368 = call i32 @free(ptr noundef %367) #5
%369 = load ptr, ptr %17, align 8, !tbaa !14
%370 = call i32 @free(ptr noundef %369) #5
%371 = load ptr, ptr %18, align 8, !tbaa !14
%372 = call i32 @free(ptr noundef %371) #5
%373 = load ptr, ptr %19, align 8, !tbaa !14
%374 = call i32 @free(ptr noundef %373) #5
%375 = load ptr, ptr %20, align 8, !tbaa !14
%376 = call i32 @free(ptr noundef %375) #5
%377 = icmp eq i32 %350, 0
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
br i1 %377, label %378, label %384
378: ; preds = %349
%379 = and i64 %288, 4294967295
%380 = getelementptr inbounds %struct.TYPE_11__, ptr %46, i64 %379
%381 = add nuw nsw i32 %45, 1
%382 = load i32, ptr %40, align 8, !tbaa !13
%383 = icmp slt i32 %381, %382
br i1 %383, label %43, label %384, !llvm.loop !24
384: ; preds = %378, %349, %33
%385 = phi ptr [ %39, %33 ], [ %46, %349 ], [ %380, %378 ]
%386 = ptrtoint ptr %385 to i64
%387 = ptrtoint ptr %28 to i64
%388 = sub i64 %386, %387
%389 = ashr exact i64 %388, 4
%390 = load i32, ptr %5, align 4, !tbaa !5
%391 = sext i32 %390 to i64
%392 = icmp eq i64 %389, %391
%393 = zext i1 %392 to i32
%394 = call i32 @EXPECT(i32 noundef %393, ptr noundef nonnull %385, ptr noundef nonnull @.str.37) #5
%395 = load ptr, ptr %6, align 8, !tbaa !14
%396 = load i64, ptr %4, align 8, !tbaa !12
%397 = call i32 @free_json(ptr noundef %395, i64 noundef %396, ptr noundef nonnull %28) #5
br label %398
398: ; preds = %384, %30, %24
%399 = phi i32 [ 0, %384 ], [ %32, %30 ], [ %26, %24 ]
call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %7) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
ret i32 %399
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @parse_json(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @EXPECT(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @json_streq(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @match_field(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @addfield(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn
declare i32 @strtoul(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #3
declare i32 @free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @fixdesc(ptr noundef) local_unnamed_addr #2
declare ptr @lookup_msr(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @field_to_perf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #4
declare signext i8 @tolower(i8 noundef signext) local_unnamed_addr #2
declare i32 @strstr(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @fixname(ptr noundef) local_unnamed_addr #2
declare i32 @try_fixup(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare ptr @real_event(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @free_json(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nofree nounwind willreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_11__", !11, i64 0, !6, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !6, i64 8}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!7, !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}
!22 = !{!23, !15, i64 0}
!23 = !{!"msrmap", !15, i64 0}
!24 = distinct !{!24, !18}
| ; ModuleID = 'AnghaBench/linux/tools/perf/pmu-events/extr_jevents.c_json_events.c'
source_filename = "AnghaBench/linux/tools/perf/pmu-events/extr_jevents.c_json_events.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_11__ = type { i64, i32 }
@ENOENT = common local_unnamed_addr global i32 0, align 4
@EIO = common local_unnamed_addr global i32 0, align 4
@JSMN_ARRAY = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [25 x i8] c"expected top level array\00", align 1
@JSMN_OBJECT = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [16 x i8] c"expected object\00", align 1
@JSMN_STRING = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [20 x i8] c"Expected field name\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Expected string value\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"EventCode\00", align 1
@.str.6 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"ExtSel\00", align 1
@.str.8 = private unnamed_addr constant [10 x i8] c"EventName\00", align 1
@.str.9 = private unnamed_addr constant [17 x i8] c"BriefDescription\00", align 1
@.str.10 = private unnamed_addr constant [18 x i8] c"PublicDescription\00", align 1
@.str.11 = private unnamed_addr constant [5 x i8] c"PEBS\00", align 1
@.str.12 = private unnamed_addr constant [9 x i8] c"MSRIndex\00", align 1
@.str.13 = private unnamed_addr constant [9 x i8] c"MSRValue\00", align 1
@.str.14 = private unnamed_addr constant [7 x i8] c"Errata\00", align 1
@.str.15 = private unnamed_addr constant [5 x i8] c"null\00", align 1
@.str.16 = private unnamed_addr constant [3 x i8] c". \00", align 1
@.str.17 = private unnamed_addr constant [15 x i8] c" Spec update: \00", align 1
@.str.18 = private unnamed_addr constant [8 x i8] c"Data_LA\00", align 1
@.str.19 = private unnamed_addr constant [31 x i8] c" Supports address when precise\00", align 1
@.str.20 = private unnamed_addr constant [5 x i8] c"Unit\00", align 1
@unit_to_pmu = common local_unnamed_addr global i32 0, align 4
@.str.21 = private unnamed_addr constant [8 x i8] c"uncore_\00", align 1
@.str.22 = private unnamed_addr constant [7 x i8] c"Unit: \00", align 1
@.str.23 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.24 = private unnamed_addr constant [7 x i8] c"Filter\00", align 1
@.str.25 = private unnamed_addr constant [10 x i8] c"ScaleUnit\00", align 1
@.str.26 = private unnamed_addr constant [7 x i8] c"PerPkg\00", align 1
@.str.27 = private unnamed_addr constant [11 x i8] c"MetricName\00", align 1
@.str.28 = private unnamed_addr constant [12 x i8] c"MetricGroup\00", align 1
@.str.29 = private unnamed_addr constant [11 x i8] c"MetricExpr\00", align 1
@.str.30 = private unnamed_addr constant [13 x i8] c"ArchStdEvent\00", align 1
@.str.31 = private unnamed_addr constant [16 x i8] c"(Precise Event)\00", align 1
@.str.32 = private unnamed_addr constant [2 x i8] c"2\00", align 1
@.str.33 = private unnamed_addr constant [18 x i8] c"(Must be precise)\00", align 1
@.str.34 = private unnamed_addr constant [16 x i8] c"(Precise event)\00", align 1
@.str.35 = private unnamed_addr constant [12 x i8] c"event=%#llx\00", align 1
@.str.36 = private unnamed_addr constant [2 x i8] c",\00", align 1
@.str.37 = private unnamed_addr constant [26 x i8] c"unexpected objects at end\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @json_events(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca [128 x i8], align 1
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %7) #5
%23 = icmp eq ptr %0, null
br i1 %23, label %24, label %27
24: ; preds = %3
%25 = load i32, ptr @ENOENT, align 4, !tbaa !6
%26 = sub nsw i32 0, %25
br label %398
27: ; preds = %3
%28 = call ptr @parse_json(ptr noundef nonnull %0, ptr noundef nonnull %6, ptr noundef nonnull %4, ptr noundef nonnull %5) #5
%29 = icmp eq ptr %28, null
br i1 %29, label %30, label %33
30: ; preds = %27
%31 = load i32, ptr @EIO, align 4, !tbaa !6
%32 = sub nsw i32 0, %31
br label %398
33: ; preds = %27
%34 = load i64, ptr %28, align 8, !tbaa !10
%35 = load i64, ptr @JSMN_ARRAY, align 8, !tbaa !13
%36 = icmp eq i64 %34, %35
%37 = zext i1 %36 to i32
%38 = call i32 @EXPECT(i32 noundef %37, ptr noundef nonnull %28, ptr noundef nonnull @.str) #5
%39 = getelementptr inbounds i8, ptr %28, i64 16
%40 = getelementptr inbounds i8, ptr %28, i64 8
%41 = load i32, ptr %40, align 8, !tbaa !14
%42 = icmp sgt i32 %41, 0
br i1 %42, label %43, label %384
43: ; preds = %33, %378
%44 = phi ptr [ %380, %378 ], [ %39, %33 ]
%45 = phi i32 [ %381, %378 ], [ 0, %33 ]
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
store ptr null, ptr %8, align 8, !tbaa !15
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
store ptr null, ptr %9, align 8, !tbaa !15
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
store ptr null, ptr %10, align 8, !tbaa !15
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
store ptr null, ptr %11, align 8, !tbaa !15
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
store ptr null, ptr %12, align 8, !tbaa !15
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
store ptr null, ptr %13, align 8, !tbaa !15
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
store ptr null, ptr %14, align 8, !tbaa !15
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
store ptr null, ptr %15, align 8, !tbaa !15
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #5
store ptr null, ptr %16, align 8, !tbaa !15
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
store ptr null, ptr %17, align 8, !tbaa !15
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
store ptr null, ptr %18, align 8, !tbaa !15
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #5
store ptr null, ptr %19, align 8, !tbaa !15
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #5
store ptr null, ptr %20, align 8, !tbaa !15
%46 = getelementptr inbounds i8, ptr %44, i64 16
%47 = load i64, ptr %44, align 8, !tbaa !10
%48 = load i64, ptr @JSMN_OBJECT, align 8, !tbaa !13
%49 = icmp eq i64 %47, %48
%50 = zext i1 %49 to i32
%51 = call i32 @EXPECT(i32 noundef %50, ptr noundef nonnull %44, ptr noundef nonnull @.str.1) #5
%52 = getelementptr inbounds i8, ptr %44, i64 8
%53 = load i32, ptr %52, align 8, !tbaa !14
%54 = icmp sgt i32 %53, 0
br i1 %54, label %55, label %287
55: ; preds = %43, %263
%56 = phi i64 [ %268, %263 ], [ 0, %43 ]
%57 = phi ptr [ %267, %263 ], [ null, %43 ]
%58 = phi ptr [ %266, %263 ], [ null, %43 ]
%59 = phi ptr [ %265, %263 ], [ null, %43 ]
%60 = phi i64 [ %264, %263 ], [ 0, %43 ]
%61 = getelementptr inbounds %struct.TYPE_11__, ptr %46, i64 %56
%62 = load i64, ptr %61, align 8, !tbaa !10
%63 = load i64, ptr @JSMN_STRING, align 8, !tbaa !13
%64 = icmp eq i64 %62, %63
%65 = zext i1 %64 to i32
%66 = call i32 @EXPECT(i32 noundef %65, ptr noundef nonnull %61, ptr noundef nonnull @.str.2) #5
%67 = getelementptr inbounds i8, ptr %61, i64 16
%68 = load i64, ptr %67, align 8, !tbaa !10
%69 = load i64, ptr @JSMN_STRING, align 8, !tbaa !13
%70 = icmp eq i64 %68, %69
%71 = zext i1 %70 to i32
%72 = call i32 @EXPECT(i32 noundef %71, ptr noundef nonnull %67, ptr noundef nonnull @.str.3) #5
%73 = load ptr, ptr %6, align 8, !tbaa !15
%74 = call i64 @json_streq(ptr noundef %73, ptr noundef nonnull %67, ptr noundef nonnull @.str.4) #5
%75 = icmp eq i64 %74, 0
%76 = zext i1 %75 to i32
%77 = load ptr, ptr %6, align 8, !tbaa !15
%78 = call i64 @match_field(ptr noundef %77, ptr noundef nonnull %61, i32 noundef %76, ptr noundef nonnull %8, ptr noundef nonnull %67) #5
%79 = icmp eq i64 %78, 0
br i1 %79, label %80, label %263
80: ; preds = %55
%81 = load ptr, ptr %6, align 8, !tbaa !15
%82 = call i64 @json_streq(ptr noundef %81, ptr noundef nonnull %61, ptr noundef nonnull @.str.5) #5
%83 = icmp eq i64 %82, 0
br i1 %83, label %93, label %84
84: ; preds = %80
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #5
store ptr null, ptr %21, align 8, !tbaa !15
%85 = load ptr, ptr %6, align 8, !tbaa !15
%86 = call i32 @addfield(ptr noundef %85, ptr noundef nonnull %21, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
%87 = load ptr, ptr %21, align 8, !tbaa !15
%88 = call i32 @strtoul(ptr nocapture noundef %87, ptr noundef null, i32 noundef 0)
%89 = sext i32 %88 to i64
%90 = or i64 %60, %89
%91 = load ptr, ptr %21, align 8, !tbaa !15
%92 = call i32 @free(ptr noundef %91) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #5
br label %263
93: ; preds = %80
%94 = load ptr, ptr %6, align 8, !tbaa !15
%95 = call i64 @json_streq(ptr noundef %94, ptr noundef nonnull %61, ptr noundef nonnull @.str.7) #5
%96 = icmp eq i64 %95, 0
br i1 %96, label %107, label %97
97: ; preds = %93
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #5
store ptr null, ptr %22, align 8, !tbaa !15
%98 = load ptr, ptr %6, align 8, !tbaa !15
%99 = call i32 @addfield(ptr noundef %98, ptr noundef nonnull %22, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
%100 = load ptr, ptr %22, align 8, !tbaa !15
%101 = call i32 @strtoul(ptr nocapture noundef %100, ptr noundef null, i32 noundef 0)
%102 = shl i32 %101, 21
%103 = sext i32 %102 to i64
%104 = or i64 %60, %103
%105 = load ptr, ptr %22, align 8, !tbaa !15
%106 = call i32 @free(ptr noundef %105) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
br label %263
107: ; preds = %93
%108 = load ptr, ptr %6, align 8, !tbaa !15
%109 = call i64 @json_streq(ptr noundef %108, ptr noundef nonnull %61, ptr noundef nonnull @.str.8) #5
%110 = icmp eq i64 %109, 0
%111 = load ptr, ptr %6, align 8, !tbaa !15
br i1 %110, label %114, label %112
112: ; preds = %107
%113 = call i32 @addfield(ptr noundef %111, ptr noundef nonnull %10, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
br label %263
114: ; preds = %107
%115 = call i64 @json_streq(ptr noundef %111, ptr noundef nonnull %61, ptr noundef nonnull @.str.9) #5
%116 = icmp eq i64 %115, 0
%117 = load ptr, ptr %6, align 8, !tbaa !15
br i1 %116, label %122, label %118
118: ; preds = %114
%119 = call i32 @addfield(ptr noundef %117, ptr noundef nonnull %9, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
%120 = load ptr, ptr %9, align 8, !tbaa !15
%121 = call i32 @fixdesc(ptr noundef %120) #5
br label %263
122: ; preds = %114
%123 = call i64 @json_streq(ptr noundef %117, ptr noundef nonnull %61, ptr noundef nonnull @.str.10) #5
%124 = icmp eq i64 %123, 0
%125 = load ptr, ptr %6, align 8, !tbaa !15
br i1 %124, label %130, label %126
126: ; preds = %122
%127 = call i32 @addfield(ptr noundef %125, ptr noundef nonnull %11, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
%128 = load ptr, ptr %11, align 8, !tbaa !15
%129 = call i32 @fixdesc(ptr noundef %128) #5
br label %263
130: ; preds = %122
%131 = call i64 @json_streq(ptr noundef %125, ptr noundef nonnull %61, ptr noundef nonnull @.str.11) #5
%132 = icmp ne i64 %131, 0
%133 = and i1 %75, %132
br i1 %133, label %263, label %134
134: ; preds = %130
%135 = load ptr, ptr %6, align 8, !tbaa !15
%136 = call i64 @json_streq(ptr noundef %135, ptr noundef nonnull %61, ptr noundef nonnull @.str.12) #5
%137 = icmp ne i64 %136, 0
%138 = and i1 %75, %137
%139 = load ptr, ptr %6, align 8, !tbaa !15
br i1 %138, label %140, label %142
140: ; preds = %134
%141 = call ptr @lookup_msr(ptr noundef %139, ptr noundef nonnull %67) #5
br label %263
142: ; preds = %134
%143 = call i64 @json_streq(ptr noundef %139, ptr noundef nonnull %61, ptr noundef nonnull @.str.13) #5
%144 = icmp eq i64 %143, 0
br i1 %144, label %145, label %263
145: ; preds = %142
%146 = load ptr, ptr %6, align 8, !tbaa !15
%147 = call i64 @json_streq(ptr noundef %146, ptr noundef nonnull %61, ptr noundef nonnull @.str.14) #5
%148 = icmp eq i64 %147, 0
br i1 %148, label %156, label %149
149: ; preds = %145
%150 = load ptr, ptr %6, align 8, !tbaa !15
%151 = call i64 @json_streq(ptr noundef %150, ptr noundef nonnull %67, ptr noundef nonnull @.str.15) #5
%152 = icmp eq i64 %151, 0
br i1 %152, label %153, label %156
153: ; preds = %149
%154 = load ptr, ptr %6, align 8, !tbaa !15
%155 = call i32 @addfield(ptr noundef %154, ptr noundef nonnull %12, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.17, ptr noundef nonnull %67) #5
br label %263
156: ; preds = %149, %145
%157 = load ptr, ptr %6, align 8, !tbaa !15
%158 = call i64 @json_streq(ptr noundef %157, ptr noundef nonnull %61, ptr noundef nonnull @.str.18) #5
%159 = icmp ne i64 %158, 0
%160 = and i1 %75, %159
%161 = load ptr, ptr %6, align 8, !tbaa !15
br i1 %160, label %162, label %164
162: ; preds = %156
%163 = call i32 @addfield(ptr noundef %161, ptr noundef nonnull %12, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.19, ptr noundef null) #5
br label %263
164: ; preds = %156
%165 = call i64 @json_streq(ptr noundef %161, ptr noundef nonnull %61, ptr noundef nonnull @.str.20) #5
%166 = icmp eq i64 %165, 0
br i1 %166, label %200, label %167
167: ; preds = %164
%168 = load i32, ptr @unit_to_pmu, align 4, !tbaa !6
%169 = load ptr, ptr %6, align 8, !tbaa !15
%170 = call ptr @field_to_perf(i32 noundef %168, ptr noundef %169, ptr noundef nonnull %67) #5
%171 = icmp eq ptr %170, null
br i1 %171, label %174, label %172
172: ; preds = %167
%173 = call ptr @strdup(ptr noundef nonnull %170) #5
store ptr %173, ptr %13, align 8, !tbaa !15
br label %192
174: ; preds = %167
%175 = load ptr, ptr %13, align 8, !tbaa !15
%176 = icmp eq ptr %175, null
br i1 %176, label %177, label %179
177: ; preds = %174
%178 = call dereferenceable_or_null(8) ptr @strdup(ptr noundef nonnull @.str.21) #5
store ptr %178, ptr %13, align 8, !tbaa !15
br label %179
179: ; preds = %177, %174
%180 = load ptr, ptr %6, align 8, !tbaa !15
%181 = call i32 @addfield(ptr noundef %180, ptr noundef nonnull %13, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
%182 = load ptr, ptr %13, align 8, !tbaa !15
%183 = load i8, ptr %182, align 1, !tbaa !17
%184 = icmp eq i8 %183, 0
br i1 %184, label %192, label %185
185: ; preds = %179, %185
%186 = phi i8 [ %190, %185 ], [ %183, %179 ]
%187 = phi ptr [ %189, %185 ], [ %182, %179 ]
%188 = call signext i8 @tolower(i8 noundef signext %186) #5
store i8 %188, ptr %187, align 1, !tbaa !17
%189 = getelementptr inbounds i8, ptr %187, i64 1
%190 = load i8, ptr %189, align 1, !tbaa !17
%191 = icmp eq i8 %190, 0
br i1 %191, label %192, label %185, !llvm.loop !18
192: ; preds = %185, %179, %172
%193 = load ptr, ptr %6, align 8, !tbaa !15
%194 = call i32 @addfield(ptr noundef %193, ptr noundef nonnull %9, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.22, ptr noundef null) #5
%195 = load ptr, ptr %6, align 8, !tbaa !15
%196 = load ptr, ptr %13, align 8, !tbaa !15
%197 = call i32 @addfield(ptr noundef %195, ptr noundef nonnull %9, ptr noundef nonnull @.str.6, ptr noundef %196, ptr noundef null) #5
%198 = load ptr, ptr %6, align 8, !tbaa !15
%199 = call i32 @addfield(ptr noundef %198, ptr noundef nonnull %9, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.23, ptr noundef null) #5
br label %263
200: ; preds = %164
%201 = load ptr, ptr %6, align 8, !tbaa !15
%202 = call i64 @json_streq(ptr noundef %201, ptr noundef nonnull %61, ptr noundef nonnull @.str.24) #5
%203 = icmp eq i64 %202, 0
%204 = load ptr, ptr %6, align 8, !tbaa !15
br i1 %203, label %207, label %205
205: ; preds = %200
%206 = call i32 @addfield(ptr noundef %204, ptr noundef nonnull %14, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
br label %263
207: ; preds = %200
%208 = call i64 @json_streq(ptr noundef %204, ptr noundef nonnull %61, ptr noundef nonnull @.str.25) #5
%209 = icmp eq i64 %208, 0
%210 = load ptr, ptr %6, align 8, !tbaa !15
br i1 %209, label %213, label %211
211: ; preds = %207
%212 = call i32 @addfield(ptr noundef %210, ptr noundef nonnull %16, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
br label %263
213: ; preds = %207
%214 = call i64 @json_streq(ptr noundef %210, ptr noundef nonnull %61, ptr noundef nonnull @.str.26) #5
%215 = icmp eq i64 %214, 0
%216 = load ptr, ptr %6, align 8, !tbaa !15
br i1 %215, label %219, label %217
217: ; preds = %213
%218 = call i32 @addfield(ptr noundef %216, ptr noundef nonnull %15, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
br label %263
219: ; preds = %213
%220 = call i64 @json_streq(ptr noundef %216, ptr noundef nonnull %61, ptr noundef nonnull @.str.27) #5
%221 = icmp eq i64 %220, 0
%222 = load ptr, ptr %6, align 8, !tbaa !15
br i1 %221, label %225, label %223
223: ; preds = %219
%224 = call i32 @addfield(ptr noundef %222, ptr noundef nonnull %18, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
br label %263
225: ; preds = %219
%226 = call i64 @json_streq(ptr noundef %222, ptr noundef nonnull %61, ptr noundef nonnull @.str.28) #5
%227 = icmp eq i64 %226, 0
%228 = load ptr, ptr %6, align 8, !tbaa !15
br i1 %227, label %231, label %229
229: ; preds = %225
%230 = call i32 @addfield(ptr noundef %228, ptr noundef nonnull %19, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
br label %263
231: ; preds = %225
%232 = call i64 @json_streq(ptr noundef %228, ptr noundef nonnull %61, ptr noundef nonnull @.str.29) #5
%233 = icmp eq i64 %232, 0
%234 = load ptr, ptr %6, align 8, !tbaa !15
br i1 %233, label %247, label %235
235: ; preds = %231
%236 = call i32 @addfield(ptr noundef %234, ptr noundef nonnull %17, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
%237 = load ptr, ptr %17, align 8, !tbaa !15
%238 = load i8, ptr %237, align 1, !tbaa !17
%239 = icmp eq i8 %238, 0
br i1 %239, label %263, label %240
240: ; preds = %235, %240
%241 = phi i8 [ %245, %240 ], [ %238, %235 ]
%242 = phi ptr [ %244, %240 ], [ %237, %235 ]
%243 = call signext i8 @tolower(i8 noundef signext %241) #5
store i8 %243, ptr %242, align 1, !tbaa !17
%244 = getelementptr inbounds i8, ptr %242, i64 1
%245 = load i8, ptr %244, align 1, !tbaa !17
%246 = icmp eq i8 %245, 0
br i1 %246, label %263, label %240, !llvm.loop !20
247: ; preds = %231
%248 = call i64 @json_streq(ptr noundef %234, ptr noundef nonnull %61, ptr noundef nonnull @.str.30) #5
%249 = icmp eq i64 %248, 0
br i1 %249, label %263, label %250
250: ; preds = %247
%251 = load ptr, ptr %6, align 8, !tbaa !15
%252 = call i32 @addfield(ptr noundef %251, ptr noundef nonnull %20, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6, ptr noundef nonnull %67) #5
%253 = load ptr, ptr %20, align 8, !tbaa !15
%254 = load i8, ptr %253, align 1, !tbaa !17
%255 = icmp eq i8 %254, 0
br i1 %255, label %263, label %256
256: ; preds = %250, %256
%257 = phi i8 [ %261, %256 ], [ %254, %250 ]
%258 = phi ptr [ %260, %256 ], [ %253, %250 ]
%259 = call signext i8 @tolower(i8 noundef signext %257) #5
store i8 %259, ptr %258, align 1, !tbaa !17
%260 = getelementptr inbounds i8, ptr %258, i64 1
%261 = load i8, ptr %260, align 1, !tbaa !17
%262 = icmp eq i8 %261, 0
br i1 %262, label %263, label %256, !llvm.loop !21
263: ; preds = %240, %256, %235, %250, %142, %130, %84, %112, %126, %140, %153, %192, %211, %223, %247, %229, %217, %205, %162, %118, %97, %55
%264 = phi i64 [ %60, %55 ], [ %90, %84 ], [ %104, %97 ], [ %60, %112 ], [ %60, %118 ], [ %60, %126 ], [ %60, %140 ], [ %60, %162 ], [ %60, %192 ], [ %60, %205 ], [ %60, %211 ], [ %60, %217 ], [ %60, %223 ], [ %60, %229 ], [ %60, %247 ], [ %60, %153 ], [ %60, %130 ], [ %60, %142 ], [ %60, %250 ], [ %60, %235 ], [ %60, %256 ], [ %60, %240 ]
%265 = phi ptr [ %59, %55 ], [ %59, %84 ], [ %59, %97 ], [ %59, %112 ], [ %59, %118 ], [ %59, %126 ], [ %141, %140 ], [ %59, %162 ], [ %59, %192 ], [ %59, %205 ], [ %59, %211 ], [ %59, %217 ], [ %59, %223 ], [ %59, %229 ], [ %59, %247 ], [ %59, %153 ], [ %59, %130 ], [ %59, %142 ], [ %59, %250 ], [ %59, %235 ], [ %59, %256 ], [ %59, %240 ]
%266 = phi ptr [ %58, %55 ], [ %58, %84 ], [ %58, %97 ], [ %58, %112 ], [ %58, %118 ], [ %58, %126 ], [ %58, %140 ], [ %58, %162 ], [ %58, %192 ], [ %58, %205 ], [ %58, %211 ], [ %58, %217 ], [ %58, %223 ], [ %58, %229 ], [ %58, %247 ], [ %58, %153 ], [ %58, %130 ], [ %67, %142 ], [ %58, %250 ], [ %58, %235 ], [ %58, %256 ], [ %58, %240 ]
%267 = phi ptr [ %57, %55 ], [ %57, %84 ], [ %57, %97 ], [ %57, %112 ], [ %57, %118 ], [ %57, %126 ], [ %57, %140 ], [ %57, %162 ], [ %57, %192 ], [ %57, %205 ], [ %57, %211 ], [ %57, %217 ], [ %57, %223 ], [ %57, %229 ], [ %57, %247 ], [ %57, %153 ], [ %67, %130 ], [ %57, %142 ], [ %57, %250 ], [ %57, %235 ], [ %57, %256 ], [ %57, %240 ]
%268 = add nuw nsw i64 %56, 2
%269 = load i32, ptr %52, align 8, !tbaa !14
%270 = trunc nuw i64 %268 to i32
%271 = icmp sgt i32 %269, %270
br i1 %271, label %55, label %272, !llvm.loop !22
272: ; preds = %263
%273 = icmp ne ptr %267, null
%274 = load ptr, ptr %9, align 8
%275 = icmp ne ptr %274, null
%276 = select i1 %273, i1 %275, i1 false
br i1 %276, label %277, label %287
277: ; preds = %272
%278 = call i32 @strstr(ptr noundef nonnull %274, ptr noundef nonnull @.str.31) #5
%279 = icmp eq i32 %278, 0
br i1 %279, label %280, label %287
280: ; preds = %277
%281 = load ptr, ptr %6, align 8, !tbaa !15
%282 = call i64 @json_streq(ptr noundef %281, ptr noundef nonnull %267, ptr noundef nonnull @.str.32) #5
%283 = icmp eq i64 %282, 0
%284 = load ptr, ptr %6, align 8, !tbaa !15
%285 = select i1 %283, ptr @.str.34, ptr @.str.33
%286 = call i32 @addfield(ptr noundef %284, ptr noundef nonnull %12, ptr noundef nonnull @.str.23, ptr noundef nonnull %285, ptr noundef null) #5
br label %287
287: ; preds = %280, %43, %277, %272
%288 = phi i64 [ %268, %277 ], [ %268, %272 ], [ 0, %43 ], [ %268, %280 ]
%289 = phi ptr [ %266, %277 ], [ %266, %272 ], [ null, %43 ], [ %266, %280 ]
%290 = phi ptr [ %265, %277 ], [ %265, %272 ], [ null, %43 ], [ %265, %280 ]
%291 = phi i64 [ %264, %277 ], [ %264, %272 ], [ 0, %43 ], [ %264, %280 ]
%292 = call i32 @snprintf(ptr noundef nonnull %7, i32 noundef 128, ptr noundef nonnull @.str.35, i64 noundef %291) #5
%293 = load ptr, ptr %6, align 8, !tbaa !15
%294 = call i32 @addfield(ptr noundef %293, ptr noundef nonnull %8, ptr noundef nonnull @.str.36, ptr noundef nonnull %7, ptr noundef null) #5
%295 = load ptr, ptr %9, align 8, !tbaa !15
%296 = icmp ne ptr %295, null
%297 = load ptr, ptr %12, align 8
%298 = icmp ne ptr %297, null
%299 = select i1 %296, i1 %298, i1 false
br i1 %299, label %300, label %304
300: ; preds = %287
%301 = load ptr, ptr %6, align 8, !tbaa !15
%302 = call i32 @addfield(ptr noundef %301, ptr noundef nonnull %9, ptr noundef nonnull @.str.23, ptr noundef nonnull %297, ptr noundef null) #5
%303 = load ptr, ptr %12, align 8
br label %304
304: ; preds = %300, %287
%305 = phi ptr [ %303, %300 ], [ %297, %287 ]
%306 = load ptr, ptr %11, align 8, !tbaa !15
%307 = icmp ne ptr %306, null
%308 = icmp ne ptr %305, null
%309 = select i1 %307, i1 %308, i1 false
br i1 %309, label %310, label %313
310: ; preds = %304
%311 = load ptr, ptr %6, align 8, !tbaa !15
%312 = call i32 @addfield(ptr noundef %311, ptr noundef nonnull %11, ptr noundef nonnull @.str.23, ptr noundef nonnull %305, ptr noundef null) #5
br label %313
313: ; preds = %310, %304
%314 = load ptr, ptr %14, align 8, !tbaa !15
%315 = icmp eq ptr %314, null
br i1 %315, label %319, label %316
316: ; preds = %313
%317 = load ptr, ptr %6, align 8, !tbaa !15
%318 = call i32 @addfield(ptr noundef %317, ptr noundef nonnull %8, ptr noundef nonnull @.str.36, ptr noundef nonnull %314, ptr noundef null) #5
br label %319
319: ; preds = %316, %313
%320 = icmp eq ptr %290, null
br i1 %320, label %325, label %321
321: ; preds = %319
%322 = load ptr, ptr %6, align 8, !tbaa !15
%323 = load ptr, ptr %290, align 8, !tbaa !23
%324 = call i32 @addfield(ptr noundef %322, ptr noundef nonnull %8, ptr noundef nonnull @.str.36, ptr noundef %323, ptr noundef %289) #5
br label %325
325: ; preds = %321, %319
%326 = load ptr, ptr %10, align 8, !tbaa !15
%327 = icmp eq ptr %326, null
br i1 %327, label %330, label %328
328: ; preds = %325
%329 = call i32 @fixname(ptr noundef nonnull %326) #5
br label %330
330: ; preds = %328, %325
%331 = load ptr, ptr %20, align 8, !tbaa !15
%332 = icmp eq ptr %331, null
br i1 %332, label %336, label %333
333: ; preds = %330
%334 = call i32 @try_fixup(ptr noundef nonnull %0, ptr noundef nonnull %331, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %13, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef nonnull %17, ptr noundef nonnull %18, ptr noundef nonnull %19, i64 noundef %291) #5
%335 = icmp eq i32 %334, 0
br i1 %335, label %336, label %349
336: ; preds = %333, %330
%337 = load ptr, ptr %10, align 8, !tbaa !15
%338 = load ptr, ptr %8, align 8, !tbaa !15
%339 = call ptr @real_event(ptr noundef %337, ptr noundef %338) #5
%340 = load ptr, ptr %9, align 8, !tbaa !15
%341 = load ptr, ptr %11, align 8, !tbaa !15
%342 = load ptr, ptr %13, align 8, !tbaa !15
%343 = load ptr, ptr %16, align 8, !tbaa !15
%344 = load ptr, ptr %15, align 8, !tbaa !15
%345 = load ptr, ptr %17, align 8, !tbaa !15
%346 = load ptr, ptr %18, align 8, !tbaa !15
%347 = load ptr, ptr %19, align 8, !tbaa !15
%348 = call i32 %1(ptr noundef %2, ptr noundef %337, ptr noundef %339, ptr noundef %340, ptr noundef %341, ptr noundef %342, ptr noundef %343, ptr noundef %344, ptr noundef %345, ptr noundef %346, ptr noundef %347) #5
br label %349
349: ; preds = %333, %336
%350 = phi i32 [ %334, %333 ], [ %348, %336 ]
%351 = load ptr, ptr %8, align 8, !tbaa !15
%352 = call i32 @free(ptr noundef %351) #5
%353 = load ptr, ptr %9, align 8, !tbaa !15
%354 = call i32 @free(ptr noundef %353) #5
%355 = load ptr, ptr %10, align 8, !tbaa !15
%356 = call i32 @free(ptr noundef %355) #5
%357 = load ptr, ptr %11, align 8, !tbaa !15
%358 = call i32 @free(ptr noundef %357) #5
%359 = load ptr, ptr %12, align 8, !tbaa !15
%360 = call i32 @free(ptr noundef %359) #5
%361 = load ptr, ptr %13, align 8, !tbaa !15
%362 = call i32 @free(ptr noundef %361) #5
%363 = load ptr, ptr %14, align 8, !tbaa !15
%364 = call i32 @free(ptr noundef %363) #5
%365 = load ptr, ptr %15, align 8, !tbaa !15
%366 = call i32 @free(ptr noundef %365) #5
%367 = load ptr, ptr %16, align 8, !tbaa !15
%368 = call i32 @free(ptr noundef %367) #5
%369 = load ptr, ptr %17, align 8, !tbaa !15
%370 = call i32 @free(ptr noundef %369) #5
%371 = load ptr, ptr %18, align 8, !tbaa !15
%372 = call i32 @free(ptr noundef %371) #5
%373 = load ptr, ptr %19, align 8, !tbaa !15
%374 = call i32 @free(ptr noundef %373) #5
%375 = load ptr, ptr %20, align 8, !tbaa !15
%376 = call i32 @free(ptr noundef %375) #5
%377 = icmp eq i32 %350, 0
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
br i1 %377, label %378, label %384
378: ; preds = %349
%379 = and i64 %288, 4294967295
%380 = getelementptr inbounds %struct.TYPE_11__, ptr %46, i64 %379
%381 = add nuw nsw i32 %45, 1
%382 = load i32, ptr %40, align 8, !tbaa !14
%383 = icmp slt i32 %381, %382
br i1 %383, label %43, label %384, !llvm.loop !25
384: ; preds = %378, %349, %33
%385 = phi ptr [ %39, %33 ], [ %46, %349 ], [ %380, %378 ]
%386 = ptrtoint ptr %385 to i64
%387 = ptrtoint ptr %28 to i64
%388 = sub i64 %386, %387
%389 = ashr exact i64 %388, 4
%390 = load i32, ptr %5, align 4, !tbaa !6
%391 = sext i32 %390 to i64
%392 = icmp eq i64 %389, %391
%393 = zext i1 %392 to i32
%394 = call i32 @EXPECT(i32 noundef %393, ptr noundef nonnull %385, ptr noundef nonnull @.str.37) #5
%395 = load ptr, ptr %6, align 8, !tbaa !15
%396 = load i64, ptr %4, align 8, !tbaa !13
%397 = call i32 @free_json(ptr noundef %395, i64 noundef %396, ptr noundef nonnull %28) #5
br label %398
398: ; preds = %384, %30, %24
%399 = phi i32 [ 0, %384 ], [ %32, %30 ], [ %26, %24 ]
call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %7) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
ret i32 %399
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @parse_json(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @EXPECT(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @json_streq(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @match_field(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @addfield(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn
declare i32 @strtoul(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #3
declare i32 @free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @fixdesc(ptr noundef) local_unnamed_addr #2
declare ptr @lookup_msr(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @field_to_perf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #4
declare signext i8 @tolower(i8 noundef signext) local_unnamed_addr #2
declare i32 @strstr(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @fixname(ptr noundef) local_unnamed_addr #2
declare i32 @try_fixup(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare ptr @real_event(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @free_json(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nofree nounwind willreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_11__", !12, i64 0, !7, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !7, i64 8}
!15 = !{!16, !16, i64 0}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!8, !8, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = distinct !{!21, !19}
!22 = distinct !{!22, !19}
!23 = !{!24, !16, i64 0}
!24 = !{!"msrmap", !16, i64 0}
!25 = distinct !{!25, !19}
| linux_tools_perf_pmu-events_extr_jevents.c_json_events |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_kv_dpm.c_kv_enable_thermal_int.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_kv_dpm.c_kv_enable_thermal_int.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CG_THERMAL_INT_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@THERM_INTH_MASK = dso_local local_unnamed_addr global i32 0, align 4
@THERM_INTL_MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @kv_enable_thermal_int], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @kv_enable_thermal_int(ptr nocapture readnone %0, i32 noundef %1) #0 {
%3 = load i32, ptr @CG_THERMAL_INT_CTRL, align 4, !tbaa !5
%4 = tail call i32 @RREG32_SMC(i32 noundef %3) #2
%5 = icmp eq i32 %1, 0
%6 = load i32, ptr @THERM_INTH_MASK, align 4, !tbaa !5
%7 = load i32, ptr @THERM_INTL_MASK, align 4, !tbaa !5
br i1 %5, label %11, label %8
8: ; preds = %2
%9 = or i32 %6, %7
%10 = or i32 %9, %4
br label %15
11: ; preds = %2
%12 = or i32 %7, %6
%13 = xor i32 %12, -1
%14 = and i32 %4, %13
br label %15
15: ; preds = %11, %8
%16 = phi i32 [ %10, %8 ], [ %14, %11 ]
%17 = load i32, ptr @CG_THERMAL_INT_CTRL, align 4, !tbaa !5
%18 = tail call i32 @WREG32_SMC(i32 noundef %17, i32 noundef %16) #2
ret void
}
declare i32 @RREG32_SMC(i32 noundef) local_unnamed_addr #1
declare i32 @WREG32_SMC(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_kv_dpm.c_kv_enable_thermal_int.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_kv_dpm.c_kv_enable_thermal_int.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CG_THERMAL_INT_CTRL = common local_unnamed_addr global i32 0, align 4
@THERM_INTH_MASK = common local_unnamed_addr global i32 0, align 4
@THERM_INTL_MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @kv_enable_thermal_int], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @kv_enable_thermal_int(ptr nocapture readnone %0, i32 noundef %1) #0 {
%3 = load i32, ptr @CG_THERMAL_INT_CTRL, align 4, !tbaa !6
%4 = tail call i32 @RREG32_SMC(i32 noundef %3) #2
%5 = icmp eq i32 %1, 0
%6 = load i32, ptr @THERM_INTH_MASK, align 4, !tbaa !6
%7 = load i32, ptr @THERM_INTL_MASK, align 4, !tbaa !6
br i1 %5, label %11, label %8
8: ; preds = %2
%9 = or i32 %6, %7
%10 = or i32 %9, %4
br label %15
11: ; preds = %2
%12 = or i32 %7, %6
%13 = xor i32 %12, -1
%14 = and i32 %4, %13
br label %15
15: ; preds = %11, %8
%16 = phi i32 [ %10, %8 ], [ %14, %11 ]
%17 = load i32, ptr @CG_THERMAL_INT_CTRL, align 4, !tbaa !6
%18 = tail call i32 @WREG32_SMC(i32 noundef %17, i32 noundef %16) #2
ret void
}
declare i32 @RREG32_SMC(i32 noundef) local_unnamed_addr #1
declare i32 @WREG32_SMC(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_radeon_extr_kv_dpm.c_kv_enable_thermal_int |
; ModuleID = 'AnghaBench/linux/drivers/net/xen-netback/extr_rx.c_xenvif_rx_copy_flush.c'
source_filename = "AnghaBench/linux/drivers/net/xen-netback/extr_rx.c_xenvif_rx_copy_flush.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i32, ptr, ptr }
%struct.xenvif_queue = type { %struct.TYPE_2__, i32, i32 }
%struct.gnttab_copy = type { i64 }
@GNTST_okay = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @xenvif_rx_copy_flush], section "llvm.metadata"
; Function Attrs: noreturn nounwind uwtable
define internal void @xenvif_rx_copy_flush(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 3
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i32, ptr %0, align 8, !tbaa !12
%5 = tail call i32 @gnttab_batch_copy(ptr noundef %3, i32 noundef %4) #2
%6 = load i32, ptr %0, align 8, !tbaa !12
%7 = icmp eq i32 %6, 0
br i1 %7, label %32, label %8
8: ; preds = %1
%9 = getelementptr inbounds %struct.xenvif_queue, ptr %0, i64 0, i32 2
%10 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 2
br label %11
11: ; preds = %8, %27
%12 = phi i64 [ 0, %8 ], [ %28, %27 ]
%13 = load ptr, ptr %2, align 8, !tbaa !5
%14 = getelementptr inbounds %struct.gnttab_copy, ptr %13, i64 %12
%15 = load i64, ptr %14, align 8, !tbaa !13
%16 = load i64, ptr @GNTST_okay, align 8, !tbaa !16
%17 = icmp ne i64 %15, %16
%18 = zext i1 %17 to i32
%19 = tail call i64 @unlikely(i32 noundef %18) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %27, label %21
21: ; preds = %11
%22 = load ptr, ptr %10, align 8, !tbaa !17
%23 = getelementptr inbounds i32, ptr %22, i64 %12
%24 = load i32, ptr %23, align 4, !tbaa !18
%25 = tail call ptr @RING_GET_RESPONSE(ptr noundef nonnull %9, i32 noundef %24) #2
%26 = load i64, ptr %14, align 8, !tbaa !13
store i64 %26, ptr %25, align 8, !tbaa !19
br label %27
27: ; preds = %21, %11
%28 = add nuw nsw i64 %12, 1
%29 = load i32, ptr %0, align 8, !tbaa !12
%30 = zext i32 %29 to i64
%31 = icmp ult i64 %28, %30
br i1 %31, label %11, label %32, !llvm.loop !21
32: ; preds = %27, %1
store i32 0, ptr %0, align 8, !tbaa !12
%33 = getelementptr inbounds %struct.xenvif_queue, ptr %0, i64 0, i32 2
%34 = tail call i32 @RING_PUSH_RESPONSES_AND_CHECK_NOTIFY(ptr noundef nonnull %33, i32 noundef undef) #2
unreachable
}
declare i32 @gnttab_batch_copy(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare ptr @RING_GET_RESPONSE(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RING_PUSH_RESPONSES_AND_CHECK_NOTIFY(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 16}
!6 = !{!"xenvif_queue", !7, i64 0, !8, i64 24, !8, i64 28}
!7 = !{!"TYPE_2__", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!6, !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"gnttab_copy", !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!6, !11, i64 8}
!18 = !{!8, !8, i64 0}
!19 = !{!20, !15, i64 0}
!20 = !{!"xen_netif_rx_response", !15, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/xen-netback/extr_rx.c_xenvif_rx_copy_flush.c'
source_filename = "AnghaBench/linux/drivers/net/xen-netback/extr_rx.c_xenvif_rx_copy_flush.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.gnttab_copy = type { i64 }
@GNTST_okay = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @xenvif_rx_copy_flush], section "llvm.metadata"
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define internal void @xenvif_rx_copy_flush(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i32, ptr %0, align 8, !tbaa !13
%5 = tail call i32 @gnttab_batch_copy(ptr noundef %3, i32 noundef %4) #2
%6 = load i32, ptr %0, align 8, !tbaa !13
%7 = icmp eq i32 %6, 0
br i1 %7, label %32, label %8
8: ; preds = %1
%9 = getelementptr inbounds i8, ptr %0, i64 28
%10 = getelementptr inbounds i8, ptr %0, i64 8
br label %11
11: ; preds = %8, %27
%12 = phi i64 [ 0, %8 ], [ %28, %27 ]
%13 = load ptr, ptr %2, align 8, !tbaa !6
%14 = getelementptr inbounds %struct.gnttab_copy, ptr %13, i64 %12
%15 = load i64, ptr %14, align 8, !tbaa !14
%16 = load i64, ptr @GNTST_okay, align 8, !tbaa !17
%17 = icmp ne i64 %15, %16
%18 = zext i1 %17 to i32
%19 = tail call i64 @unlikely(i32 noundef %18) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %27, label %21
21: ; preds = %11
%22 = load ptr, ptr %10, align 8, !tbaa !18
%23 = getelementptr inbounds i32, ptr %22, i64 %12
%24 = load i32, ptr %23, align 4, !tbaa !19
%25 = tail call ptr @RING_GET_RESPONSE(ptr noundef nonnull %9, i32 noundef %24) #2
%26 = load i64, ptr %14, align 8, !tbaa !14
store i64 %26, ptr %25, align 8, !tbaa !20
br label %27
27: ; preds = %21, %11
%28 = add nuw nsw i64 %12, 1
%29 = load i32, ptr %0, align 8, !tbaa !13
%30 = zext i32 %29 to i64
%31 = icmp ult i64 %28, %30
br i1 %31, label %11, label %32, !llvm.loop !22
32: ; preds = %27, %1
store i32 0, ptr %0, align 8, !tbaa !13
%33 = getelementptr inbounds i8, ptr %0, i64 28
%34 = tail call i32 @RING_PUSH_RESPONSES_AND_CHECK_NOTIFY(ptr noundef nonnull %33, i32 noundef undef) #2
unreachable
}
declare i32 @gnttab_batch_copy(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare ptr @RING_GET_RESPONSE(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RING_PUSH_RESPONSES_AND_CHECK_NOTIFY(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 16}
!7 = !{!"xenvif_queue", !8, i64 0, !9, i64 24, !9, i64 28}
!8 = !{!"TYPE_2__", !9, i64 0, !9, i64 4, !12, i64 8, !12, i64 16}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!7, !9, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"gnttab_copy", !16, i64 0}
!16 = !{!"long", !10, i64 0}
!17 = !{!16, !16, i64 0}
!18 = !{!7, !12, i64 8}
!19 = !{!9, !9, i64 0}
!20 = !{!21, !16, i64 0}
!21 = !{!"xen_netif_rx_response", !16, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
| linux_drivers_net_xen-netback_extr_rx.c_xenvif_rx_copy_flush |
; ModuleID = 'AnghaBench/redis/src/extr_module.c_RM_LogRaw.c'
source_filename = "AnghaBench/redis/src/extr_module.c_RM_LogRaw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32 }
@LOG_MAX_LEN = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"debug\00", align 1
@LL_DEBUG = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [8 x i8] c"verbose\00", align 1
@LL_VERBOSE = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [7 x i8] c"notice\00", align 1
@LL_NOTICE = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [8 x i8] c"warning\00", align 1
@LL_WARNING = dso_local local_unnamed_addr global i32 0, align 4
@server = dso_local local_unnamed_addr global %struct.TYPE_5__ zeroinitializer, align 4
@.str.4 = private unnamed_addr constant [6 x i8] c"<%s> \00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"module\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @RM_LogRaw(ptr noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @LOG_MAX_LEN, align 4, !tbaa !5
%6 = zext i32 %5 to i64
%7 = alloca i8, i64 %6, align 16
%8 = tail call i32 @strcasecmp(ptr noundef %1, ptr noundef nonnull @.str)
%9 = icmp eq i32 %8, 0
br i1 %9, label %20, label %10
10: ; preds = %4
%11 = tail call i32 @strcasecmp(ptr noundef %1, ptr noundef nonnull @.str.1)
%12 = icmp eq i32 %11, 0
br i1 %12, label %20, label %13
13: ; preds = %10
%14 = tail call i32 @strcasecmp(ptr noundef %1, ptr noundef nonnull @.str.2)
%15 = icmp eq i32 %14, 0
br i1 %15, label %20, label %16
16: ; preds = %13
%17 = tail call i32 @strcasecmp(ptr noundef %1, ptr noundef nonnull @.str.3)
%18 = icmp eq i32 %17, 0
%19 = select i1 %18, ptr @LL_WARNING, ptr @LL_VERBOSE
br label %20
20: ; preds = %16, %13, %10, %4
%21 = phi ptr [ @LL_DEBUG, %4 ], [ @LL_VERBOSE, %10 ], [ @LL_NOTICE, %13 ], [ %19, %16 ]
%22 = load i32, ptr %21, align 4, !tbaa !5
%23 = load i32, ptr @server, align 4, !tbaa !9
%24 = icmp slt i32 %22, %23
br i1 %24, label %37, label %25
25: ; preds = %20
%26 = icmp eq ptr %0, null
br i1 %26, label %29, label %27
27: ; preds = %25
%28 = load ptr, ptr %0, align 8, !tbaa !11
br label %29
29: ; preds = %25, %27
%30 = phi ptr [ %28, %27 ], [ @.str.5, %25 ]
%31 = call i64 @snprintf(ptr noundef nonnull %7, i32 noundef %5, ptr noundef nonnull @.str.4, ptr noundef %30) #3
%32 = getelementptr inbounds i8, ptr %7, i64 %31
%33 = trunc i64 %31 to i32
%34 = sub i32 %5, %33
%35 = call i32 @vsnprintf(ptr noundef nonnull %32, i32 noundef %34, ptr noundef %2, i32 noundef %3) #3
%36 = call i32 @serverLogRaw(i32 noundef %22, ptr noundef nonnull %7) #3
br label %37
37: ; preds = %20, %29
ret void
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @strcasecmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1
declare i64 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @serverLogRaw(i32 noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_5__", !6, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/redis/src/extr_module.c_RM_LogRaw.c'
source_filename = "AnghaBench/redis/src/extr_module.c_RM_LogRaw.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_5__ = type { i32 }
@LOG_MAX_LEN = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"debug\00", align 1
@LL_DEBUG = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [8 x i8] c"verbose\00", align 1
@LL_VERBOSE = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [7 x i8] c"notice\00", align 1
@LL_NOTICE = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [8 x i8] c"warning\00", align 1
@LL_WARNING = common local_unnamed_addr global i32 0, align 4
@server = common local_unnamed_addr global %struct.TYPE_5__ zeroinitializer, align 4
@.str.4 = private unnamed_addr constant [6 x i8] c"<%s> \00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"module\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @RM_LogRaw(ptr noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @LOG_MAX_LEN, align 4, !tbaa !6
%6 = zext i32 %5 to i64
%7 = alloca i8, i64 %6, align 1
%8 = tail call i32 @strcasecmp(ptr noundef %1, ptr noundef nonnull @.str)
%9 = icmp eq i32 %8, 0
br i1 %9, label %20, label %10
10: ; preds = %4
%11 = tail call i32 @strcasecmp(ptr noundef %1, ptr noundef nonnull @.str.1)
%12 = icmp eq i32 %11, 0
br i1 %12, label %20, label %13
13: ; preds = %10
%14 = tail call i32 @strcasecmp(ptr noundef %1, ptr noundef nonnull @.str.2)
%15 = icmp eq i32 %14, 0
br i1 %15, label %20, label %16
16: ; preds = %13
%17 = tail call i32 @strcasecmp(ptr noundef %1, ptr noundef nonnull @.str.3)
%18 = icmp eq i32 %17, 0
%19 = select i1 %18, ptr @LL_WARNING, ptr @LL_VERBOSE
br label %20
20: ; preds = %16, %13, %10, %4
%21 = phi ptr [ @LL_DEBUG, %4 ], [ @LL_VERBOSE, %10 ], [ @LL_NOTICE, %13 ], [ %19, %16 ]
%22 = load i32, ptr %21, align 4, !tbaa !6
%23 = load i32, ptr @server, align 4, !tbaa !10
%24 = icmp slt i32 %22, %23
br i1 %24, label %37, label %25
25: ; preds = %20
%26 = icmp eq ptr %0, null
br i1 %26, label %29, label %27
27: ; preds = %25
%28 = load ptr, ptr %0, align 8, !tbaa !12
br label %29
29: ; preds = %25, %27
%30 = phi ptr [ %28, %27 ], [ @.str.5, %25 ]
%31 = call i64 @snprintf(ptr noundef nonnull %7, i32 noundef %5, ptr noundef nonnull @.str.4, ptr noundef %30) #3
%32 = getelementptr inbounds i8, ptr %7, i64 %31
%33 = trunc i64 %31 to i32
%34 = sub i32 %5, %33
%35 = call i32 @vsnprintf(ptr noundef nonnull %32, i32 noundef %34, ptr noundef %2, i32 noundef %3) #3
%36 = call i32 @serverLogRaw(i32 noundef %22, ptr noundef nonnull %7) #3
br label %37
37: ; preds = %20, %29
ret void
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @strcasecmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1
declare i64 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @serverLogRaw(i32 noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_5__", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_4__", !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
| redis_src_extr_module.c_RM_LogRaw |
; ModuleID = 'AnghaBench/Cinder/src/freetype/psaux/extr_psft.c_cf2_getScaleAndHintFlag.c'
source_filename = "AnghaBench/Cinder/src/freetype/psaux/extr_psft.c_cf2_getScaleAndHintFlag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i32, i32, i64, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @cf2_getScaleAndHintFlag], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @cf2_getScaleAndHintFlag(ptr noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef %3, ptr nocapture noundef writeonly %4) #0 {
%6 = icmp eq ptr %0, null
br i1 %6, label %11, label %7
7: ; preds = %5
%8 = load ptr, ptr %0, align 8, !tbaa !5
%9 = icmp ne ptr %8, null
%10 = zext i1 %9 to i32
br label %11
11: ; preds = %7, %5
%12 = phi i32 [ 0, %5 ], [ %10, %7 ]
%13 = tail call i32 @FT_ASSERT(i32 noundef %12) #2
%14 = load ptr, ptr %0, align 8, !tbaa !5
%15 = getelementptr inbounds %struct.TYPE_6__, ptr %14, i64 0, i32 3
%16 = load i64, ptr %15, align 8, !tbaa !11
store i64 %16, ptr %3, align 8, !tbaa !15
%17 = getelementptr inbounds %struct.TYPE_6__, ptr %14, i64 0, i32 2
%18 = load i64, ptr %17, align 8, !tbaa !16
store i64 %18, ptr %4, align 8, !tbaa !15
%19 = load i64, ptr %3, align 8, !tbaa !15
%20 = icmp eq i64 %19, 0
br i1 %20, label %30, label %21
21: ; preds = %11
%22 = getelementptr inbounds %struct.TYPE_6__, ptr %14, i64 0, i32 1
%23 = load i32, ptr %22, align 4, !tbaa !17
%24 = tail call i32 @ADD_INT32(i32 noundef %23, i32 noundef 32) #2
%25 = sdiv i32 %24, 64
store i32 %25, ptr %1, align 4, !tbaa !18
%26 = load ptr, ptr %0, align 8, !tbaa !5
%27 = load i32, ptr %26, align 8, !tbaa !19
%28 = tail call i32 @ADD_INT32(i32 noundef %27, i32 noundef 32) #2
%29 = sdiv i32 %28, 64
br label %31
30: ; preds = %11
store i32 1024, ptr %1, align 4, !tbaa !18
br label %31
31: ; preds = %30, %21
%32 = phi i32 [ 1024, %30 ], [ %29, %21 ]
store i32 %32, ptr %2, align 4, !tbaa !18
ret void
}
declare i32 @FT_ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @ADD_INT32(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_7__", !7, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 16}
!12 = !{!"TYPE_6__", !13, i64 0, !13, i64 4, !14, i64 8, !14, i64 16}
!13 = !{!"int", !9, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!12, !14, i64 8}
!17 = !{!12, !13, i64 4}
!18 = !{!13, !13, i64 0}
!19 = !{!12, !13, i64 0}
| ; ModuleID = 'AnghaBench/Cinder/src/freetype/psaux/extr_psft.c_cf2_getScaleAndHintFlag.c'
source_filename = "AnghaBench/Cinder/src/freetype/psaux/extr_psft.c_cf2_getScaleAndHintFlag.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @cf2_getScaleAndHintFlag], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @cf2_getScaleAndHintFlag(ptr noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef %3, ptr nocapture noundef writeonly %4) #0 {
%6 = icmp eq ptr %0, null
br i1 %6, label %11, label %7
7: ; preds = %5
%8 = load ptr, ptr %0, align 8, !tbaa !6
%9 = icmp ne ptr %8, null
%10 = zext i1 %9 to i32
br label %11
11: ; preds = %7, %5
%12 = phi i32 [ 0, %5 ], [ %10, %7 ]
%13 = tail call i32 @FT_ASSERT(i32 noundef %12) #2
%14 = load ptr, ptr %0, align 8, !tbaa !6
%15 = getelementptr inbounds i8, ptr %14, i64 16
%16 = load i64, ptr %15, align 8, !tbaa !12
store i64 %16, ptr %3, align 8, !tbaa !16
%17 = getelementptr inbounds i8, ptr %14, i64 8
%18 = load i64, ptr %17, align 8, !tbaa !17
store i64 %18, ptr %4, align 8, !tbaa !16
%19 = load i64, ptr %3, align 8, !tbaa !16
%20 = icmp eq i64 %19, 0
br i1 %20, label %30, label %21
21: ; preds = %11
%22 = getelementptr inbounds i8, ptr %14, i64 4
%23 = load i32, ptr %22, align 4, !tbaa !18
%24 = tail call i32 @ADD_INT32(i32 noundef %23, i32 noundef 32) #2
%25 = sdiv i32 %24, 64
store i32 %25, ptr %1, align 4, !tbaa !19
%26 = load ptr, ptr %0, align 8, !tbaa !6
%27 = load i32, ptr %26, align 8, !tbaa !20
%28 = tail call i32 @ADD_INT32(i32 noundef %27, i32 noundef 32) #2
%29 = sdiv i32 %28, 64
br label %31
30: ; preds = %11
store i32 1024, ptr %1, align 4, !tbaa !19
br label %31
31: ; preds = %30, %21
%32 = phi i32 [ 1024, %30 ], [ %29, %21 ]
store i32 %32, ptr %2, align 4, !tbaa !19
ret void
}
declare i32 @FT_ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @ADD_INT32(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_7__", !8, i64 0}
!8 = !{!"TYPE_5__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !15, i64 16}
!13 = !{!"TYPE_6__", !14, i64 0, !14, i64 4, !15, i64 8, !15, i64 16}
!14 = !{!"int", !10, i64 0}
!15 = !{!"long", !10, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!13, !15, i64 8}
!18 = !{!13, !14, i64 4}
!19 = !{!14, !14, i64 0}
!20 = !{!13, !14, i64 0}
| Cinder_src_freetype_psaux_extr_psft.c_cf2_getScaleAndHintFlag |
; ModuleID = 'AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_nx2.c_qla8044_write_optrom_data.c'
source_filename = "AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_nx2.c_qla8044_write_optrom_data.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@QLA_FUNCTION_FAILED = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@QLA8044_MAX_OPTROM_BURST_DWORDS = dso_local local_unnamed_addr global i32 0, align 4
@QLA8044_SECTOR_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@ql_dbg_user = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Done erase of sector=0x%x.\0A\00", align 1
@ql_log_warn = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [50 x i8] c"Failed to erase the sector having address: 0x%x.\0A\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"Got write for addr = 0x%x length=0x%x.\0A\00", align 1
@.str.3 = private unnamed_addr constant [64 x i8] c"Failed to write flash in buffer mode, Reverting to slow-write.\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Done writing.\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @qla8044_write_optrom_data(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @QLA_FUNCTION_FAILED, align 4, !tbaa !5
%6 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%7 = tail call ptr @kcalloc(i32 noundef %3, i32 noundef 4, i32 noundef %6) #2
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %11
9: ; preds = %4
%10 = load i32, ptr @QLA_FUNCTION_FAILED, align 4, !tbaa !5
br label %78
11: ; preds = %4
%12 = tail call i32 @memcpy(ptr noundef nonnull %7, ptr noundef %1, i32 noundef %3) #2
%13 = ashr i32 %3, 2
%14 = load i32, ptr @QLA8044_MAX_OPTROM_BURST_DWORDS, align 4, !tbaa !5
%15 = sdiv i32 %13, %14
%16 = load i32, ptr @QLA8044_SECTOR_SIZE, align 4, !tbaa !5
%17 = sdiv i32 %3, %16
%18 = load i32, ptr %0, align 4, !tbaa !9
%19 = tail call i32 @scsi_block_requests(i32 noundef %18) #2
%20 = tail call i32 @qla8044_flash_lock(ptr noundef nonnull %0) #2
%21 = tail call i32 @qla8044_unprotect_flash(ptr noundef nonnull %0) #2
%22 = icmp sgt i32 %17, 0
br i1 %22, label %23, label %38
23: ; preds = %11, %33
%24 = phi i32 [ %35, %33 ], [ %2, %11 ]
%25 = phi i32 [ %36, %33 ], [ 0, %11 ]
%26 = tail call i32 @qla8044_erase_flash_sector(ptr noundef nonnull %0, i32 noundef %24) #2
%27 = load i32, ptr @ql_dbg_user, align 4, !tbaa !5
%28 = tail call i32 (i32, ptr, i32, ptr, ...) @ql_dbg(i32 noundef %27, ptr noundef nonnull %0, i32 noundef 45368, ptr noundef nonnull @.str, i32 noundef %24) #2
%29 = icmp eq i32 %26, 0
br i1 %29, label %33, label %30
30: ; preds = %23
%31 = load i32, ptr @ql_log_warn, align 4, !tbaa !5
%32 = tail call i32 (i32, ptr, i32, ptr, ...) @ql_log(i32 noundef %31, ptr noundef nonnull %0, i32 noundef 45345, ptr noundef nonnull @.str.1, i32 noundef %24) #2
br label %71
33: ; preds = %23
%34 = load i32, ptr @QLA8044_SECTOR_SIZE, align 4, !tbaa !5
%35 = add nsw i32 %34, %24
%36 = add nuw nsw i32 %25, 1
%37 = icmp eq i32 %36, %17
br i1 %37, label %38, label %23, !llvm.loop !11
38: ; preds = %33, %11
%39 = phi i32 [ %5, %11 ], [ 0, %33 ]
%40 = load i32, ptr @ql_dbg_user, align 4, !tbaa !5
%41 = tail call i32 (i32, ptr, i32, ptr, ...) @ql_dbg(i32 noundef %40, ptr noundef nonnull %0, i32 noundef 45375, ptr noundef nonnull @.str.2, i32 noundef %2, i32 noundef %3) #2
%42 = icmp sgt i32 %15, 0
br i1 %42, label %43, label %67
43: ; preds = %38
%44 = load i32, ptr @QLA8044_MAX_OPTROM_BURST_DWORDS, align 4, !tbaa !5
br label %45
45: ; preds = %43, %57
%46 = phi i32 [ %59, %57 ], [ %44, %43 ]
%47 = phi ptr [ %62, %57 ], [ %7, %43 ]
%48 = phi i32 [ %64, %57 ], [ %2, %43 ]
%49 = phi i32 [ %65, %57 ], [ 0, %43 ]
%50 = tail call i32 @qla8044_write_flash_buffer_mode(ptr noundef nonnull %0, ptr noundef %47, i32 noundef %48, i32 noundef %46) #2
%51 = icmp eq i32 %50, 0
br i1 %51, label %57, label %52
52: ; preds = %45
%53 = load i32, ptr @ql_log_warn, align 4, !tbaa !5
%54 = tail call i32 (i32, ptr, i32, ptr, ...) @ql_log(i32 noundef %53, ptr noundef nonnull %0, i32 noundef 45346, ptr noundef nonnull @.str.3) #2
%55 = load i32, ptr @QLA8044_MAX_OPTROM_BURST_DWORDS, align 4, !tbaa !5
%56 = tail call i32 @qla8044_write_flash_dword_mode(ptr noundef nonnull %0, ptr noundef %47, i32 noundef %48, i32 noundef %55) #2
br label %57
57: ; preds = %52, %45
%58 = phi i32 [ %56, %52 ], [ 0, %45 ]
%59 = load i32, ptr @QLA8044_MAX_OPTROM_BURST_DWORDS, align 4, !tbaa !5
%60 = sext i32 %59 to i64
%61 = shl nsw i64 %60, 2
%62 = getelementptr inbounds i32, ptr %47, i64 %61
%63 = trunc i64 %61 to i32
%64 = add i32 %48, %63
%65 = add nuw nsw i32 %49, 1
%66 = icmp eq i32 %65, %15
br i1 %66, label %67, label %45, !llvm.loop !13
67: ; preds = %57, %38
%68 = phi i32 [ %39, %38 ], [ %58, %57 ]
%69 = load i32, ptr @ql_dbg_user, align 4, !tbaa !5
%70 = tail call i32 (i32, ptr, i32, ptr, ...) @ql_dbg(i32 noundef %69, ptr noundef nonnull %0, i32 noundef 45363, ptr noundef nonnull @.str.4) #2
br label %71
71: ; preds = %67, %30
%72 = phi i32 [ %26, %30 ], [ %68, %67 ]
%73 = tail call i32 @qla8044_protect_flash(ptr noundef nonnull %0) #2
%74 = tail call i32 @qla8044_flash_unlock(ptr noundef nonnull %0) #2
%75 = load i32, ptr %0, align 4, !tbaa !9
%76 = tail call i32 @scsi_unblock_requests(i32 noundef %75) #2
%77 = tail call i32 @kfree(ptr noundef nonnull %7) #2
br label %78
78: ; preds = %71, %9
%79 = phi i32 [ %72, %71 ], [ %10, %9 ]
ret i32 %79
}
declare ptr @kcalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @scsi_block_requests(i32 noundef) local_unnamed_addr #1
declare i32 @qla8044_flash_lock(ptr noundef) local_unnamed_addr #1
declare i32 @qla8044_unprotect_flash(ptr noundef) local_unnamed_addr #1
declare i32 @qla8044_erase_flash_sector(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ql_dbg(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @ql_log(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @qla8044_write_flash_buffer_mode(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qla8044_write_flash_dword_mode(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qla8044_protect_flash(ptr noundef) local_unnamed_addr #1
declare i32 @qla8044_flash_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @scsi_unblock_requests(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"scsi_qla_host", !6, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_nx2.c_qla8044_write_optrom_data.c'
source_filename = "AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_nx2.c_qla8044_write_optrom_data.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@QLA_FUNCTION_FAILED = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@QLA8044_MAX_OPTROM_BURST_DWORDS = common local_unnamed_addr global i32 0, align 4
@QLA8044_SECTOR_SIZE = common local_unnamed_addr global i32 0, align 4
@ql_dbg_user = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Done erase of sector=0x%x.\0A\00", align 1
@ql_log_warn = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [50 x i8] c"Failed to erase the sector having address: 0x%x.\0A\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"Got write for addr = 0x%x length=0x%x.\0A\00", align 1
@.str.3 = private unnamed_addr constant [64 x i8] c"Failed to write flash in buffer mode, Reverting to slow-write.\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Done writing.\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @qla8044_write_optrom_data(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @QLA_FUNCTION_FAILED, align 4, !tbaa !6
%6 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%7 = tail call ptr @kcalloc(i32 noundef %3, i32 noundef 4, i32 noundef %6) #2
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %11
9: ; preds = %4
%10 = load i32, ptr @QLA_FUNCTION_FAILED, align 4, !tbaa !6
br label %78
11: ; preds = %4
%12 = tail call i32 @memcpy(ptr noundef nonnull %7, ptr noundef %1, i32 noundef %3) #2
%13 = ashr i32 %3, 2
%14 = load i32, ptr @QLA8044_MAX_OPTROM_BURST_DWORDS, align 4, !tbaa !6
%15 = sdiv i32 %13, %14
%16 = load i32, ptr @QLA8044_SECTOR_SIZE, align 4, !tbaa !6
%17 = sdiv i32 %3, %16
%18 = load i32, ptr %0, align 4, !tbaa !10
%19 = tail call i32 @scsi_block_requests(i32 noundef %18) #2
%20 = tail call i32 @qla8044_flash_lock(ptr noundef nonnull %0) #2
%21 = tail call i32 @qla8044_unprotect_flash(ptr noundef nonnull %0) #2
%22 = icmp sgt i32 %17, 0
br i1 %22, label %23, label %38
23: ; preds = %11, %33
%24 = phi i32 [ %35, %33 ], [ %2, %11 ]
%25 = phi i32 [ %36, %33 ], [ 0, %11 ]
%26 = tail call i32 @qla8044_erase_flash_sector(ptr noundef nonnull %0, i32 noundef %24) #2
%27 = load i32, ptr @ql_dbg_user, align 4, !tbaa !6
%28 = tail call i32 (i32, ptr, i32, ptr, ...) @ql_dbg(i32 noundef %27, ptr noundef nonnull %0, i32 noundef 45368, ptr noundef nonnull @.str, i32 noundef %24) #2
%29 = icmp eq i32 %26, 0
br i1 %29, label %33, label %30
30: ; preds = %23
%31 = load i32, ptr @ql_log_warn, align 4, !tbaa !6
%32 = tail call i32 (i32, ptr, i32, ptr, ...) @ql_log(i32 noundef %31, ptr noundef nonnull %0, i32 noundef 45345, ptr noundef nonnull @.str.1, i32 noundef %24) #2
br label %71
33: ; preds = %23
%34 = load i32, ptr @QLA8044_SECTOR_SIZE, align 4, !tbaa !6
%35 = add nsw i32 %34, %24
%36 = add nuw nsw i32 %25, 1
%37 = icmp eq i32 %36, %17
br i1 %37, label %38, label %23, !llvm.loop !12
38: ; preds = %33, %11
%39 = phi i32 [ %5, %11 ], [ 0, %33 ]
%40 = load i32, ptr @ql_dbg_user, align 4, !tbaa !6
%41 = tail call i32 (i32, ptr, i32, ptr, ...) @ql_dbg(i32 noundef %40, ptr noundef nonnull %0, i32 noundef 45375, ptr noundef nonnull @.str.2, i32 noundef %2, i32 noundef %3) #2
%42 = icmp sgt i32 %15, 0
br i1 %42, label %43, label %67
43: ; preds = %38
%44 = load i32, ptr @QLA8044_MAX_OPTROM_BURST_DWORDS, align 4, !tbaa !6
br label %45
45: ; preds = %43, %57
%46 = phi i32 [ %59, %57 ], [ %44, %43 ]
%47 = phi ptr [ %62, %57 ], [ %7, %43 ]
%48 = phi i32 [ %64, %57 ], [ %2, %43 ]
%49 = phi i32 [ %65, %57 ], [ 0, %43 ]
%50 = tail call i32 @qla8044_write_flash_buffer_mode(ptr noundef nonnull %0, ptr noundef %47, i32 noundef %48, i32 noundef %46) #2
%51 = icmp eq i32 %50, 0
br i1 %51, label %57, label %52
52: ; preds = %45
%53 = load i32, ptr @ql_log_warn, align 4, !tbaa !6
%54 = tail call i32 (i32, ptr, i32, ptr, ...) @ql_log(i32 noundef %53, ptr noundef nonnull %0, i32 noundef 45346, ptr noundef nonnull @.str.3) #2
%55 = load i32, ptr @QLA8044_MAX_OPTROM_BURST_DWORDS, align 4, !tbaa !6
%56 = tail call i32 @qla8044_write_flash_dword_mode(ptr noundef nonnull %0, ptr noundef %47, i32 noundef %48, i32 noundef %55) #2
br label %57
57: ; preds = %52, %45
%58 = phi i32 [ %56, %52 ], [ 0, %45 ]
%59 = load i32, ptr @QLA8044_MAX_OPTROM_BURST_DWORDS, align 4, !tbaa !6
%60 = sext i32 %59 to i64
%61 = shl nsw i64 %60, 2
%62 = getelementptr inbounds i32, ptr %47, i64 %61
%63 = trunc i64 %61 to i32
%64 = add i32 %48, %63
%65 = add nuw nsw i32 %49, 1
%66 = icmp eq i32 %65, %15
br i1 %66, label %67, label %45, !llvm.loop !14
67: ; preds = %57, %38
%68 = phi i32 [ %39, %38 ], [ %58, %57 ]
%69 = load i32, ptr @ql_dbg_user, align 4, !tbaa !6
%70 = tail call i32 (i32, ptr, i32, ptr, ...) @ql_dbg(i32 noundef %69, ptr noundef nonnull %0, i32 noundef 45363, ptr noundef nonnull @.str.4) #2
br label %71
71: ; preds = %67, %30
%72 = phi i32 [ %26, %30 ], [ %68, %67 ]
%73 = tail call i32 @qla8044_protect_flash(ptr noundef nonnull %0) #2
%74 = tail call i32 @qla8044_flash_unlock(ptr noundef nonnull %0) #2
%75 = load i32, ptr %0, align 4, !tbaa !10
%76 = tail call i32 @scsi_unblock_requests(i32 noundef %75) #2
%77 = tail call i32 @kfree(ptr noundef nonnull %7) #2
br label %78
78: ; preds = %71, %9
%79 = phi i32 [ %72, %71 ], [ %10, %9 ]
ret i32 %79
}
declare ptr @kcalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @scsi_block_requests(i32 noundef) local_unnamed_addr #1
declare i32 @qla8044_flash_lock(ptr noundef) local_unnamed_addr #1
declare i32 @qla8044_unprotect_flash(ptr noundef) local_unnamed_addr #1
declare i32 @qla8044_erase_flash_sector(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ql_dbg(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @ql_log(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @qla8044_write_flash_buffer_mode(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qla8044_write_flash_dword_mode(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qla8044_protect_flash(ptr noundef) local_unnamed_addr #1
declare i32 @qla8044_flash_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @scsi_unblock_requests(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"scsi_qla_host", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
| linux_drivers_scsi_qla2xxx_extr_qla_nx2.c_qla8044_write_optrom_data |
; ModuleID = 'AnghaBench/ijkplayer/ijkmedia/ijkplayer/ijkavutil/extr_ijktree.c_ijk_av_tree_find.c'
source_filename = "AnghaBench/ijkplayer/ijkmedia/ijkplayer/ijkavutil/extr_ijktree.c_ijk_av_tree_find.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { ptr, ptr }
; Function Attrs: nounwind uwtable
define dso_local ptr @ijk_av_tree_find(ptr noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = icmp eq ptr %0, null
br i1 %5, label %39, label %6
6: ; preds = %4
%7 = icmp eq ptr %3, null
br label %8
8: ; preds = %6, %19
%9 = phi ptr [ %0, %6 ], [ %25, %19 ]
%10 = load ptr, ptr %9, align 8, !tbaa !5
%11 = tail call i32 %2(ptr noundef %1, ptr noundef %10) #1
%12 = icmp eq i32 %11, 0
br i1 %12, label %27, label %13
13: ; preds = %8
br i1 %7, label %19, label %14
14: ; preds = %13
%15 = load ptr, ptr %9, align 8, !tbaa !5
%16 = lshr i32 %11, 31
%17 = zext nneg i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %3, i64 %17
store ptr %15, ptr %18, align 8, !tbaa !10
br label %19
19: ; preds = %14, %13
%20 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i64 0, i32 1
%21 = load ptr, ptr %20, align 8, !tbaa !11
%22 = icmp sgt i32 %11, -1
%23 = zext i1 %22 to i64
%24 = getelementptr inbounds ptr, ptr %21, i64 %23
%25 = load ptr, ptr %24, align 8, !tbaa !10
%26 = icmp eq ptr %25, null
br i1 %26, label %39, label %8
27: ; preds = %8
br i1 %7, label %37, label %28
28: ; preds = %27
%29 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i64 0, i32 1
%30 = load ptr, ptr %29, align 8, !tbaa !11
%31 = load ptr, ptr %30, align 8, !tbaa !10
%32 = tail call ptr @ijk_av_tree_find(ptr noundef %31, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %3)
%33 = load ptr, ptr %29, align 8, !tbaa !11
%34 = getelementptr inbounds ptr, ptr %33, i64 1
%35 = load ptr, ptr %34, align 8, !tbaa !10
%36 = tail call ptr @ijk_av_tree_find(ptr noundef %35, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %3)
br label %37
37: ; preds = %28, %27
%38 = load ptr, ptr %9, align 8, !tbaa !5
br label %39
39: ; preds = %19, %4, %37
%40 = phi ptr [ %38, %37 ], [ null, %4 ], [ null, %19 ]
ret ptr %40
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/ijkplayer/ijkmedia/ijkplayer/ijkavutil/extr_ijktree.c_ijk_av_tree_find.c'
source_filename = "AnghaBench/ijkplayer/ijkmedia/ijkplayer/ijkavutil/extr_ijktree.c_ijk_av_tree_find.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @ijk_av_tree_find(ptr noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = icmp eq ptr %0, null
br i1 %5, label %39, label %6
6: ; preds = %4
%7 = icmp eq ptr %3, null
br label %8
8: ; preds = %6, %19
%9 = phi ptr [ %0, %6 ], [ %25, %19 ]
%10 = load ptr, ptr %9, align 8, !tbaa !6
%11 = tail call i32 %2(ptr noundef %1, ptr noundef %10) #1
%12 = icmp eq i32 %11, 0
br i1 %12, label %27, label %13
13: ; preds = %8
br i1 %7, label %19, label %14
14: ; preds = %13
%15 = load ptr, ptr %9, align 8, !tbaa !6
%16 = lshr i32 %11, 31
%17 = zext nneg i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %3, i64 %17
store ptr %15, ptr %18, align 8, !tbaa !11
br label %19
19: ; preds = %14, %13
%20 = getelementptr inbounds i8, ptr %9, i64 8
%21 = load ptr, ptr %20, align 8, !tbaa !12
%22 = icmp sgt i32 %11, -1
%23 = zext i1 %22 to i64
%24 = getelementptr inbounds ptr, ptr %21, i64 %23
%25 = load ptr, ptr %24, align 8, !tbaa !11
%26 = icmp eq ptr %25, null
br i1 %26, label %39, label %8
27: ; preds = %8
br i1 %7, label %37, label %28
28: ; preds = %27
%29 = getelementptr inbounds i8, ptr %9, i64 8
%30 = load ptr, ptr %29, align 8, !tbaa !12
%31 = load ptr, ptr %30, align 8, !tbaa !11
%32 = tail call ptr @ijk_av_tree_find(ptr noundef %31, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %3)
%33 = load ptr, ptr %29, align 8, !tbaa !12
%34 = getelementptr inbounds i8, ptr %33, i64 8
%35 = load ptr, ptr %34, align 8, !tbaa !11
%36 = tail call ptr @ijk_av_tree_find(ptr noundef %35, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %3)
br label %37
37: ; preds = %28, %27
%38 = load ptr, ptr %9, align 8, !tbaa !6
br label %39
39: ; preds = %19, %4, %37
%40 = phi ptr [ %38, %37 ], [ null, %4 ], [ null, %19 ]
ret ptr %40
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 8}
| ijkplayer_ijkmedia_ijkplayer_ijkavutil_extr_ijktree.c_ijk_av_tree_find |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/xfs/linux-2.6/extr_xfs_acl.c_xfs_acl_chmod.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/xfs/linux-2.6/extr_xfs_acl.c_xfs_acl_chmod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@ACL_TYPE_ACCESS = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @xfs_acl_chmod(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i64 @S_ISLNK(i32 noundef %2) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !10
%7 = sub nsw i32 0, %6
br label %35
8: ; preds = %1
%9 = load i32, ptr @ACL_TYPE_ACCESS, align 4, !tbaa !10
%10 = tail call ptr @xfs_get_acl(ptr noundef nonnull %0, i32 noundef %9) #2
%11 = tail call i64 @IS_ERR(ptr noundef %10) #2
%12 = icmp eq i64 %11, 0
%13 = icmp ne ptr %10, null
%14 = and i1 %13, %12
br i1 %14, label %17, label %15
15: ; preds = %8
%16 = tail call i32 @PTR_ERR(ptr noundef %10) #2
br label %35
17: ; preds = %8
%18 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !10
%19 = tail call ptr @posix_acl_clone(ptr noundef nonnull %10, i32 noundef %18) #2
%20 = tail call i32 @posix_acl_release(ptr noundef nonnull %10) #2
%21 = icmp eq ptr %19, null
br i1 %21, label %22, label %25
22: ; preds = %17
%23 = load i32, ptr @ENOMEM, align 4, !tbaa !10
%24 = sub nsw i32 0, %23
br label %35
25: ; preds = %17
%26 = load i32, ptr %0, align 4, !tbaa !5
%27 = tail call i32 @posix_acl_chmod_masq(ptr noundef nonnull %19, i32 noundef %26) #2
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %25
%30 = load i32, ptr @ACL_TYPE_ACCESS, align 4, !tbaa !10
%31 = tail call i32 @xfs_set_acl(ptr noundef nonnull %0, i32 noundef %30, ptr noundef nonnull %19) #2
br label %32
32: ; preds = %29, %25
%33 = phi i32 [ %27, %25 ], [ %31, %29 ]
%34 = tail call i32 @posix_acl_release(ptr noundef nonnull %19) #2
br label %35
35: ; preds = %32, %22, %15, %5
%36 = phi i32 [ %7, %5 ], [ %33, %32 ], [ %24, %22 ], [ %16, %15 ]
ret i32 %36
}
declare i64 @S_ISLNK(i32 noundef) local_unnamed_addr #1
declare ptr @xfs_get_acl(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare ptr @posix_acl_clone(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @posix_acl_release(ptr noundef) local_unnamed_addr #1
declare i32 @posix_acl_chmod_masq(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xfs_set_acl(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"inode", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/xfs/linux-2.6/extr_xfs_acl.c_xfs_acl_chmod.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/xfs/linux-2.6/extr_xfs_acl.c_xfs_acl_chmod.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@ACL_TYPE_ACCESS = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @xfs_acl_chmod(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i64 @S_ISLNK(i32 noundef %2) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !11
%7 = sub nsw i32 0, %6
br label %35
8: ; preds = %1
%9 = load i32, ptr @ACL_TYPE_ACCESS, align 4, !tbaa !11
%10 = tail call ptr @xfs_get_acl(ptr noundef nonnull %0, i32 noundef %9) #2
%11 = tail call i64 @IS_ERR(ptr noundef %10) #2
%12 = icmp eq i64 %11, 0
%13 = icmp ne ptr %10, null
%14 = and i1 %13, %12
br i1 %14, label %17, label %15
15: ; preds = %8
%16 = tail call i32 @PTR_ERR(ptr noundef %10) #2
br label %35
17: ; preds = %8
%18 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11
%19 = tail call ptr @posix_acl_clone(ptr noundef nonnull %10, i32 noundef %18) #2
%20 = tail call i32 @posix_acl_release(ptr noundef nonnull %10) #2
%21 = icmp eq ptr %19, null
br i1 %21, label %22, label %25
22: ; preds = %17
%23 = load i32, ptr @ENOMEM, align 4, !tbaa !11
%24 = sub nsw i32 0, %23
br label %35
25: ; preds = %17
%26 = load i32, ptr %0, align 4, !tbaa !6
%27 = tail call i32 @posix_acl_chmod_masq(ptr noundef nonnull %19, i32 noundef %26) #2
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %25
%30 = load i32, ptr @ACL_TYPE_ACCESS, align 4, !tbaa !11
%31 = tail call i32 @xfs_set_acl(ptr noundef nonnull %0, i32 noundef %30, ptr noundef nonnull %19) #2
br label %32
32: ; preds = %29, %25
%33 = phi i32 [ %27, %25 ], [ %31, %29 ]
%34 = tail call i32 @posix_acl_release(ptr noundef nonnull %19) #2
br label %35
35: ; preds = %32, %22, %15, %5
%36 = phi i32 [ %7, %5 ], [ %33, %32 ], [ %24, %22 ], [ %16, %15 ]
ret i32 %36
}
declare i64 @S_ISLNK(i32 noundef) local_unnamed_addr #1
declare ptr @xfs_get_acl(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare ptr @posix_acl_clone(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @posix_acl_release(ptr noundef) local_unnamed_addr #1
declare i32 @posix_acl_chmod_masq(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xfs_set_acl(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"inode", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| fastsocket_kernel_fs_xfs_linux-2.6_extr_xfs_acl.c_xfs_acl_chmod |
; ModuleID = 'AnghaBench/lwan/src/lib/extr_lwan.c_lwan_get_default_config.c'
source_filename = "AnghaBench/lwan/src/lib/extr_lwan.c_lwan_get_default_config.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.lwan_config = type { i32 }
@default_config = dso_local constant %struct.lwan_config zeroinitializer, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local noundef nonnull ptr @lwan_get_default_config() local_unnamed_addr #0 {
ret ptr @default_config
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/lwan/src/lib/extr_lwan.c_lwan_get_default_config.c'
source_filename = "AnghaBench/lwan/src/lib/extr_lwan.c_lwan_get_default_config.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.lwan_config = type { i32 }
@default_config = common global %struct.lwan_config zeroinitializer, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define noundef nonnull ptr @lwan_get_default_config() local_unnamed_addr #0 {
ret ptr @default_config
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| lwan_src_lib_extr_lwan.c_lwan_get_default_config |
; ModuleID = 'AnghaBench/postgres/src/pl/plpython/extr_plpy_typeio.c_PLyObject_ToBool.c'
source_filename = "AnghaBench/postgres/src/pl/plpython/extr_plpy_typeio.c_PLyObject_ToBool.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@Py_None = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @PLyObject_ToBool], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @PLyObject_ToBool(ptr nocapture readnone %0, ptr noundef %1, ptr nocapture noundef writeonly %2, i32 %3) #0 {
%5 = load ptr, ptr @Py_None, align 8, !tbaa !5
%6 = icmp eq ptr %5, %1
br i1 %6, label %7, label %8
7: ; preds = %4
store i32 1, ptr %2, align 4, !tbaa !9
br label %11
8: ; preds = %4
store i32 0, ptr %2, align 4, !tbaa !9
%9 = tail call i32 @PyObject_IsTrue(ptr noundef %1) #2
%10 = tail call i32 @BoolGetDatum(i32 noundef %9) #2
br label %11
11: ; preds = %8, %7
%12 = phi i32 [ 0, %7 ], [ %10, %8 ]
ret i32 %12
}
declare i32 @BoolGetDatum(i32 noundef) local_unnamed_addr #1
declare i32 @PyObject_IsTrue(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/postgres/src/pl/plpython/extr_plpy_typeio.c_PLyObject_ToBool.c'
source_filename = "AnghaBench/postgres/src/pl/plpython/extr_plpy_typeio.c_PLyObject_ToBool.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@Py_None = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @PLyObject_ToBool], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @PLyObject_ToBool(ptr nocapture readnone %0, ptr noundef %1, ptr nocapture noundef writeonly %2, i32 %3) #0 {
%5 = load ptr, ptr @Py_None, align 8, !tbaa !6
%6 = icmp eq ptr %5, %1
br i1 %6, label %7, label %8
7: ; preds = %4
store i32 1, ptr %2, align 4, !tbaa !10
br label %11
8: ; preds = %4
store i32 0, ptr %2, align 4, !tbaa !10
%9 = tail call i32 @PyObject_IsTrue(ptr noundef %1) #2
%10 = tail call i32 @BoolGetDatum(i32 noundef %9) #2
br label %11
11: ; preds = %8, %7
%12 = phi i32 [ 0, %7 ], [ %10, %8 ]
ret i32 %12
}
declare i32 @BoolGetDatum(i32 noundef) local_unnamed_addr #1
declare i32 @PyObject_IsTrue(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| postgres_src_pl_plpython_extr_plpy_typeio.c_PLyObject_ToBool |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_nx.c_qla82xx_flash_set_write_enable.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_nx.c_qla82xx_flash_set_write_enable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@QLA82XX_ROMUSB_ROM_ABYTE_CNT = dso_local local_unnamed_addr global i32 0, align 4
@QLA82XX_ROMUSB_ROM_INSTR_OPCODE = dso_local local_unnamed_addr global i32 0, align 4
@M25P_INSTR_WREN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @qla82xx_flash_set_write_enable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @qla82xx_flash_set_write_enable(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = tail call i32 @qla82xx_wait_rom_busy(ptr noundef %0) #3
%4 = load i32, ptr @QLA82XX_ROMUSB_ROM_ABYTE_CNT, align 4, !tbaa !5
%5 = tail call i32 @qla82xx_wr_32(ptr noundef %0, i32 noundef %4, i32 noundef 0) #3
%6 = load i32, ptr @QLA82XX_ROMUSB_ROM_INSTR_OPCODE, align 4, !tbaa !5
%7 = load i32, ptr @M25P_INSTR_WREN, align 4, !tbaa !5
%8 = tail call i32 @qla82xx_wr_32(ptr noundef %0, i32 noundef %6, i32 noundef %7) #3
%9 = tail call i32 @qla82xx_wait_rom_busy(ptr noundef %0) #3
%10 = tail call i64 @qla82xx_wait_rom_done(ptr noundef %0) #3
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %20
12: ; preds = %1
%13 = call i64 @qla82xx_read_status_reg(ptr noundef %0, ptr noundef nonnull %2) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %12
%16 = load i32, ptr %2, align 4, !tbaa !5
%17 = lshr i32 %16, 1
%18 = and i32 %17, 1
%19 = add nsw i32 %18, -1
br label %20
20: ; preds = %15, %12, %1
%21 = phi i32 [ -1, %1 ], [ -1, %12 ], [ %19, %15 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %21
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @qla82xx_wait_rom_busy(ptr noundef) local_unnamed_addr #2
declare i32 @qla82xx_wr_32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @qla82xx_wait_rom_done(ptr noundef) local_unnamed_addr #2
declare i64 @qla82xx_read_status_reg(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_nx.c_qla82xx_flash_set_write_enable.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_nx.c_qla82xx_flash_set_write_enable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@QLA82XX_ROMUSB_ROM_ABYTE_CNT = common local_unnamed_addr global i32 0, align 4
@QLA82XX_ROMUSB_ROM_INSTR_OPCODE = common local_unnamed_addr global i32 0, align 4
@M25P_INSTR_WREN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @qla82xx_flash_set_write_enable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @qla82xx_flash_set_write_enable(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = tail call i32 @qla82xx_wait_rom_busy(ptr noundef %0) #3
%4 = load i32, ptr @QLA82XX_ROMUSB_ROM_ABYTE_CNT, align 4, !tbaa !6
%5 = tail call i32 @qla82xx_wr_32(ptr noundef %0, i32 noundef %4, i32 noundef 0) #3
%6 = load i32, ptr @QLA82XX_ROMUSB_ROM_INSTR_OPCODE, align 4, !tbaa !6
%7 = load i32, ptr @M25P_INSTR_WREN, align 4, !tbaa !6
%8 = tail call i32 @qla82xx_wr_32(ptr noundef %0, i32 noundef %6, i32 noundef %7) #3
%9 = tail call i32 @qla82xx_wait_rom_busy(ptr noundef %0) #3
%10 = tail call i64 @qla82xx_wait_rom_done(ptr noundef %0) #3
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %20
12: ; preds = %1
%13 = call i64 @qla82xx_read_status_reg(ptr noundef %0, ptr noundef nonnull %2) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %12
%16 = load i32, ptr %2, align 4, !tbaa !6
%17 = lshr i32 %16, 1
%18 = and i32 %17, 1
%19 = add nsw i32 %18, -1
br label %20
20: ; preds = %15, %12, %1
%21 = phi i32 [ -1, %1 ], [ -1, %12 ], [ %19, %15 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %21
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @qla82xx_wait_rom_busy(ptr noundef) local_unnamed_addr #2
declare i32 @qla82xx_wr_32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @qla82xx_wait_rom_done(ptr noundef) local_unnamed_addr #2
declare i64 @qla82xx_read_status_reg(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_scsi_qla2xxx_extr_qla_nx.c_qla82xx_flash_set_write_enable |
; ModuleID = 'AnghaBench/linux/kernel/trace/extr_....blockblk.h_blk_throtl_init.c'
source_filename = "AnghaBench/linux/kernel/trace/extr_....blockblk.h_blk_throtl_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @blk_throtl_init], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @blk_throtl_init(ptr nocapture readnone %0) #0 {
ret i32 0
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/kernel/trace/extr_....blockblk.h_blk_throtl_init.c'
source_filename = "AnghaBench/linux/kernel/trace/extr_....blockblk.h_blk_throtl_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @blk_throtl_init], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @blk_throtl_init(ptr nocapture readnone %0) #0 {
ret i32 0
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_kernel_trace_extr_....blockblk.h_blk_throtl_init |
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/arm/extr_dt_isadep.c_dt_pid_create_glob_offset_probes.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/arm/extr_dt_isadep.c_dt_pid_create_glob_offset_probes.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_9__ = type { i64, i64, i32, ptr, i32 }
@DTFTP_OFFSETS = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lx\00", align 1
@FASTTRAPIOC_MAKEPROBE = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [42 x i8] c"fasttrap probe creation ioctl failed: %s\0A\00", align 1
@errno = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @dt_pid_create_glob_offset_probes(ptr nocapture noundef readnone %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = alloca [17 x i8], align 16
%7 = load i32, ptr @DTFTP_OFFSETS, align 4, !tbaa !5
%8 = getelementptr inbounds %struct.TYPE_9__, ptr %2, i64 0, i32 4
store i32 %7, ptr %8, align 8, !tbaa !9
%9 = load <2 x i64>, ptr %3, align 8, !tbaa !13
%10 = shufflevector <2 x i64> %9, <2 x i64> poison, <2 x i32> <i32 1, i32 0>
store <2 x i64> %10, ptr %2, align 8, !tbaa !13
%11 = getelementptr inbounds %struct.TYPE_9__, ptr %2, i64 0, i32 2
store i32 0, ptr %11, align 8, !tbaa !14
%12 = tail call i64 @strcmp(ptr noundef nonnull @.str, ptr noundef %4) #3
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %30
14: ; preds = %5
%15 = load i64, ptr %3, align 8, !tbaa !15
%16 = icmp sgt i64 %15, 0
br i1 %16, label %17, label %53
17: ; preds = %14
%18 = getelementptr inbounds %struct.TYPE_9__, ptr %2, i64 0, i32 3
%19 = load ptr, ptr %18, align 8, !tbaa !17
%20 = load i32, ptr %11, align 8, !tbaa !14
%21 = sext i32 %20 to i64
br label %22
22: ; preds = %17, %22
%23 = phi i64 [ %21, %17 ], [ %25, %22 ]
%24 = phi i64 [ 0, %17 ], [ %27, %22 ]
%25 = add nsw i64 %23, 1
%26 = getelementptr inbounds i64, ptr %19, i64 %23
store i64 %24, ptr %26, align 8, !tbaa !13
%27 = add nuw nsw i64 %24, 4
%28 = load i64, ptr %3, align 8, !tbaa !15
%29 = icmp slt i64 %27, %28
br i1 %29, label %22, label %51, !llvm.loop !18
30: ; preds = %5
call void @llvm.lifetime.start.p0(i64 17, ptr nonnull %6) #3
%31 = load i64, ptr %3, align 8, !tbaa !15
%32 = icmp sgt i64 %31, 0
br i1 %32, label %33, label %50
33: ; preds = %30
%34 = getelementptr inbounds %struct.TYPE_9__, ptr %2, i64 0, i32 3
br label %35
35: ; preds = %33, %46
%36 = phi i64 [ 0, %33 ], [ %47, %46 ]
%37 = call i32 @sprintf(ptr noundef nonnull %6, ptr noundef nonnull @.str.1, i64 noundef %36) #3
%38 = call i64 @gmatch(ptr noundef nonnull %6, ptr noundef %4) #3
%39 = icmp eq i64 %38, 0
br i1 %39, label %46, label %40
40: ; preds = %35
%41 = load ptr, ptr %34, align 8, !tbaa !17
%42 = load i32, ptr %11, align 8, !tbaa !14
%43 = add nsw i32 %42, 1
store i32 %43, ptr %11, align 8, !tbaa !14
%44 = sext i32 %42 to i64
%45 = getelementptr inbounds i64, ptr %41, i64 %44
store i64 %36, ptr %45, align 8, !tbaa !13
br label %46
46: ; preds = %35, %40
%47 = add nuw nsw i64 %36, 4
%48 = load i64, ptr %3, align 8, !tbaa !15
%49 = icmp slt i64 %47, %48
br i1 %49, label %35, label %50, !llvm.loop !20
50: ; preds = %46, %30
call void @llvm.lifetime.end.p0(i64 17, ptr nonnull %6) #3
br label %53
51: ; preds = %22
%52 = trunc i64 %25 to i32
store i32 %52, ptr %11, align 8, !tbaa !14
br label %53
53: ; preds = %14, %51, %50
%54 = load i32, ptr %1, align 4, !tbaa !21
%55 = load i32, ptr @FASTTRAPIOC_MAKEPROBE, align 4, !tbaa !5
%56 = call i64 @ioctl(i32 noundef %54, i32 noundef %55, ptr noundef nonnull %2) #3
%57 = icmp eq i64 %56, 0
br i1 %57, label %64, label %58
58: ; preds = %53
%59 = load i32, ptr @errno, align 4, !tbaa !5
%60 = call i32 @strerror(i32 noundef %59) #3
%61 = call i32 @dt_dprintf(ptr noundef nonnull @.str.2, i32 noundef %60) #3
%62 = load i32, ptr @errno, align 4, !tbaa !5
%63 = call i32 @dt_set_errno(ptr noundef nonnull %1, i32 noundef %62) #3
br label %66
64: ; preds = %53
%65 = load i32, ptr %11, align 8, !tbaa !14
br label %66
66: ; preds = %64, %58
%67 = phi i32 [ %63, %58 ], [ %65, %64 ]
ret i32 %67
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i64 @gmatch(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dt_dprintf(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strerror(i32 noundef) local_unnamed_addr #2
declare i32 @dt_set_errno(ptr noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 32}
!10 = !{!"TYPE_9__", !11, i64 0, !11, i64 8, !6, i64 16, !12, i64 24, !6, i64 32}
!11 = !{!"long", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !6, i64 16}
!15 = !{!16, !11, i64 0}
!16 = !{!"TYPE_11__", !11, i64 0, !11, i64 8}
!17 = !{!10, !12, i64 24}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = !{!22, !6, i64 0}
!22 = !{!"TYPE_10__", !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/arm/extr_dt_isadep.c_dt_pid_create_glob_offset_probes.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/arm/extr_dt_isadep.c_dt_pid_create_glob_offset_probes.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DTFTP_OFFSETS = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lx\00", align 1
@FASTTRAPIOC_MAKEPROBE = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [42 x i8] c"fasttrap probe creation ioctl failed: %s\0A\00", align 1
@errno = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @dt_pid_create_glob_offset_probes(ptr nocapture noundef readnone %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = alloca [17 x i8], align 1
%7 = load i32, ptr @DTFTP_OFFSETS, align 4, !tbaa !6
%8 = getelementptr inbounds i8, ptr %2, i64 32
store i32 %7, ptr %8, align 8, !tbaa !10
%9 = load <2 x i64>, ptr %3, align 8, !tbaa !14
%10 = shufflevector <2 x i64> %9, <2 x i64> poison, <2 x i32> <i32 1, i32 0>
store <2 x i64> %10, ptr %2, align 8, !tbaa !14
%11 = getelementptr inbounds i8, ptr %2, i64 16
store i32 0, ptr %11, align 8, !tbaa !15
%12 = tail call i64 @strcmp(ptr noundef nonnull @.str, ptr noundef %4) #3
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %30
14: ; preds = %5
%15 = load i64, ptr %3, align 8, !tbaa !16
%16 = icmp sgt i64 %15, 0
br i1 %16, label %17, label %53
17: ; preds = %14
%18 = getelementptr inbounds i8, ptr %2, i64 24
%19 = load ptr, ptr %18, align 8, !tbaa !18
%20 = load i32, ptr %11, align 8, !tbaa !15
%21 = sext i32 %20 to i64
br label %22
22: ; preds = %17, %22
%23 = phi i64 [ %21, %17 ], [ %25, %22 ]
%24 = phi i64 [ 0, %17 ], [ %27, %22 ]
%25 = add nsw i64 %23, 1
%26 = getelementptr inbounds i64, ptr %19, i64 %23
store i64 %24, ptr %26, align 8, !tbaa !14
%27 = add nuw nsw i64 %24, 4
%28 = load i64, ptr %3, align 8, !tbaa !16
%29 = icmp slt i64 %27, %28
br i1 %29, label %22, label %51, !llvm.loop !19
30: ; preds = %5
call void @llvm.lifetime.start.p0(i64 17, ptr nonnull %6) #3
%31 = load i64, ptr %3, align 8, !tbaa !16
%32 = icmp sgt i64 %31, 0
br i1 %32, label %33, label %50
33: ; preds = %30
%34 = getelementptr inbounds i8, ptr %2, i64 24
br label %35
35: ; preds = %33, %46
%36 = phi i64 [ 0, %33 ], [ %47, %46 ]
%37 = call i32 @sprintf(ptr noundef nonnull %6, ptr noundef nonnull @.str.1, i64 noundef %36) #3
%38 = call i64 @gmatch(ptr noundef nonnull %6, ptr noundef %4) #3
%39 = icmp eq i64 %38, 0
br i1 %39, label %46, label %40
40: ; preds = %35
%41 = load ptr, ptr %34, align 8, !tbaa !18
%42 = load i32, ptr %11, align 8, !tbaa !15
%43 = add nsw i32 %42, 1
store i32 %43, ptr %11, align 8, !tbaa !15
%44 = sext i32 %42 to i64
%45 = getelementptr inbounds i64, ptr %41, i64 %44
store i64 %36, ptr %45, align 8, !tbaa !14
br label %46
46: ; preds = %35, %40
%47 = add nuw nsw i64 %36, 4
%48 = load i64, ptr %3, align 8, !tbaa !16
%49 = icmp slt i64 %47, %48
br i1 %49, label %35, label %50, !llvm.loop !21
50: ; preds = %46, %30
call void @llvm.lifetime.end.p0(i64 17, ptr nonnull %6) #3
br label %53
51: ; preds = %22
%52 = trunc nsw i64 %25 to i32
store i32 %52, ptr %11, align 8, !tbaa !15
br label %53
53: ; preds = %14, %51, %50
%54 = load i32, ptr %1, align 4, !tbaa !22
%55 = load i32, ptr @FASTTRAPIOC_MAKEPROBE, align 4, !tbaa !6
%56 = call i64 @ioctl(i32 noundef %54, i32 noundef %55, ptr noundef nonnull %2) #3
%57 = icmp eq i64 %56, 0
br i1 %57, label %64, label %58
58: ; preds = %53
%59 = load i32, ptr @errno, align 4, !tbaa !6
%60 = call i32 @strerror(i32 noundef %59) #3
%61 = call i32 @dt_dprintf(ptr noundef nonnull @.str.2, i32 noundef %60) #3
%62 = load i32, ptr @errno, align 4, !tbaa !6
%63 = call i32 @dt_set_errno(ptr noundef nonnull %1, i32 noundef %62) #3
br label %66
64: ; preds = %53
%65 = load i32, ptr %11, align 8, !tbaa !15
br label %66
66: ; preds = %64, %58
%67 = phi i32 [ %63, %58 ], [ %65, %64 ]
ret i32 %67
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i64 @gmatch(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dt_dprintf(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strerror(i32 noundef) local_unnamed_addr #2
declare i32 @dt_set_errno(ptr noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 32}
!11 = !{!"TYPE_9__", !12, i64 0, !12, i64 8, !7, i64 16, !13, i64 24, !7, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!11, !7, i64 16}
!16 = !{!17, !12, i64 0}
!17 = !{!"TYPE_11__", !12, i64 0, !12, i64 8}
!18 = !{!11, !13, i64 24}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = !{!23, !7, i64 0}
!23 = !{!"TYPE_10__", !7, i64 0}
| freebsd_cddl_contrib_opensolaris_lib_libdtrace_arm_extr_dt_isadep.c_dt_pid_create_glob_offset_probes |
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/tests/extr_utilities.c_test_SetLiVnMode2.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/tests/extr_utilities.c_test_SetLiVnMode2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.pkt = type { i32 }
@LEAP_NOTINSYNC = dso_local local_unnamed_addr global i32 0, align 4
@NTP_OLDVERSION = dso_local local_unnamed_addr global i32 0, align 4
@MODE_BROADCAST = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @test_SetLiVnMode2() local_unnamed_addr #0 {
%1 = alloca %struct.pkt, align 4
%2 = load i32, ptr @LEAP_NOTINSYNC, align 4, !tbaa !5
%3 = load i32, ptr @NTP_OLDVERSION, align 4, !tbaa !5
%4 = load i32, ptr @MODE_BROADCAST, align 4, !tbaa !5
%5 = tail call i32 @PKT_LI_VN_MODE(i32 noundef %2, i32 noundef %3, i32 noundef %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
%6 = load i32, ptr @LEAP_NOTINSYNC, align 4, !tbaa !5
%7 = load i32, ptr @NTP_OLDVERSION, align 4, !tbaa !5
%8 = load i32, ptr @MODE_BROADCAST, align 4, !tbaa !5
%9 = call i32 @set_li_vn_mode(ptr noundef nonnull %1, i32 noundef %6, i32 noundef %7, i32 noundef %8) #3
%10 = load i32, ptr %1, align 4, !tbaa !9
%11 = call i32 @TEST_ASSERT_EQUAL(i32 noundef %5, i32 noundef %10) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @PKT_LI_VN_MODE(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @set_li_vn_mode(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @TEST_ASSERT_EQUAL(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"pkt", !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/tests/extr_utilities.c_test_SetLiVnMode2.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/tests/extr_utilities.c_test_SetLiVnMode2.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.pkt = type { i32 }
@LEAP_NOTINSYNC = common local_unnamed_addr global i32 0, align 4
@NTP_OLDVERSION = common local_unnamed_addr global i32 0, align 4
@MODE_BROADCAST = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @test_SetLiVnMode2() local_unnamed_addr #0 {
%1 = alloca %struct.pkt, align 4
%2 = load i32, ptr @LEAP_NOTINSYNC, align 4, !tbaa !6
%3 = load i32, ptr @NTP_OLDVERSION, align 4, !tbaa !6
%4 = load i32, ptr @MODE_BROADCAST, align 4, !tbaa !6
%5 = tail call i32 @PKT_LI_VN_MODE(i32 noundef %2, i32 noundef %3, i32 noundef %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
%6 = load i32, ptr @LEAP_NOTINSYNC, align 4, !tbaa !6
%7 = load i32, ptr @NTP_OLDVERSION, align 4, !tbaa !6
%8 = load i32, ptr @MODE_BROADCAST, align 4, !tbaa !6
%9 = call i32 @set_li_vn_mode(ptr noundef nonnull %1, i32 noundef %6, i32 noundef %7, i32 noundef %8) #3
%10 = load i32, ptr %1, align 4, !tbaa !10
%11 = call i32 @TEST_ASSERT_EQUAL(i32 noundef %5, i32 noundef %10) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @PKT_LI_VN_MODE(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @set_li_vn_mode(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @TEST_ASSERT_EQUAL(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"pkt", !7, i64 0}
| freebsd_contrib_ntp_sntp_tests_extr_utilities.c_test_SetLiVnMode2 |
; ModuleID = 'AnghaBench/postgres/src/backend/access/gin/extr_ginvacuum.c_ginVacuumItemPointers.c'
source_filename = "AnghaBench/postgres/src/backend/access/gin/extr_ginvacuum.c_ginVacuumItemPointers.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { ptr, i32, ptr }
%struct.TYPE_4__ = type { i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local ptr @ginVacuumItemPointers(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 {
%5 = icmp sgt i32 %2, 0
br i1 %5, label %6, label %46
6: ; preds = %4
%7 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%8 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%9 = shl i32 %2, 2
%10 = zext nneg i32 %2 to i64
br label %11
11: ; preds = %6, %41
%12 = phi i64 [ 0, %6 ], [ %44, %41 ]
%13 = phi ptr [ null, %6 ], [ %43, %41 ]
%14 = phi i32 [ 0, %6 ], [ %42, %41 ]
%15 = load ptr, ptr %7, align 8, !tbaa !5
%16 = getelementptr inbounds i32, ptr %1, i64 %12
%17 = load i32, ptr %8, align 8, !tbaa !11
%18 = tail call i64 %15(ptr noundef %16, i32 noundef %17) #2
%19 = icmp eq i64 %18, 0
%20 = load ptr, ptr %0, align 8, !tbaa !12
br i1 %19, label %30, label %21
21: ; preds = %11
%22 = load i32, ptr %20, align 4, !tbaa !13
%23 = add nsw i32 %22, 1
store i32 %23, ptr %20, align 4, !tbaa !13
%24 = icmp eq ptr %13, null
br i1 %24, label %25, label %41
25: ; preds = %21
%26 = tail call ptr @palloc(i32 noundef %9) #2
%27 = trunc i64 %12 to i32
%28 = shl i32 %27, 2
%29 = tail call i32 @memcpy(ptr noundef %26, ptr noundef %1, i32 noundef %28) #2
br label %41
30: ; preds = %11
%31 = getelementptr inbounds %struct.TYPE_4__, ptr %20, i64 0, i32 1
%32 = load i32, ptr %31, align 4, !tbaa !15
%33 = add nsw i32 %32, 1
store i32 %33, ptr %31, align 4, !tbaa !15
%34 = icmp eq ptr %13, null
br i1 %34, label %39, label %35
35: ; preds = %30
%36 = load i32, ptr %16, align 4, !tbaa !16
%37 = sext i32 %14 to i64
%38 = getelementptr inbounds i32, ptr %13, i64 %37
store i32 %36, ptr %38, align 4, !tbaa !16
br label %39
39: ; preds = %35, %30
%40 = add nsw i32 %14, 1
br label %41
41: ; preds = %39, %25, %21
%42 = phi i32 [ %14, %21 ], [ %14, %25 ], [ %40, %39 ]
%43 = phi ptr [ %13, %21 ], [ %26, %25 ], [ %13, %39 ]
%44 = add nuw nsw i64 %12, 1
%45 = icmp eq i64 %44, %10
br i1 %45, label %46, label %11, !llvm.loop !17
46: ; preds = %41, %4
%47 = phi i32 [ 0, %4 ], [ %42, %41 ]
%48 = phi ptr [ null, %4 ], [ %43, %41 ]
store i32 %47, ptr %3, align 4, !tbaa !16
ret ptr %48
}
declare ptr @palloc(i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"TYPE_4__", !10, i64 0, !10, i64 4}
!15 = !{!14, !10, i64 4}
!16 = !{!10, !10, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/postgres/src/backend/access/gin/extr_ginvacuum.c_ginVacuumItemPointers.c'
source_filename = "AnghaBench/postgres/src/backend/access/gin/extr_ginvacuum.c_ginVacuumItemPointers.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @ginVacuumItemPointers(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 {
%5 = icmp sgt i32 %2, 0
br i1 %5, label %6, label %46
6: ; preds = %4
%7 = getelementptr inbounds i8, ptr %0, i64 16
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = shl i32 %2, 2
%10 = zext nneg i32 %2 to i64
br label %11
11: ; preds = %6, %41
%12 = phi i64 [ 0, %6 ], [ %44, %41 ]
%13 = phi ptr [ null, %6 ], [ %43, %41 ]
%14 = phi i32 [ 0, %6 ], [ %42, %41 ]
%15 = load ptr, ptr %7, align 8, !tbaa !6
%16 = getelementptr inbounds i32, ptr %1, i64 %12
%17 = load i32, ptr %8, align 8, !tbaa !12
%18 = tail call i64 %15(ptr noundef %16, i32 noundef %17) #2
%19 = icmp eq i64 %18, 0
%20 = load ptr, ptr %0, align 8, !tbaa !13
br i1 %19, label %30, label %21
21: ; preds = %11
%22 = load i32, ptr %20, align 4, !tbaa !14
%23 = add nsw i32 %22, 1
store i32 %23, ptr %20, align 4, !tbaa !14
%24 = icmp eq ptr %13, null
br i1 %24, label %25, label %41
25: ; preds = %21
%26 = tail call ptr @palloc(i32 noundef %9) #2
%27 = trunc nuw nsw i64 %12 to i32
%28 = shl i32 %27, 2
%29 = tail call i32 @memcpy(ptr noundef %26, ptr noundef %1, i32 noundef %28) #2
br label %41
30: ; preds = %11
%31 = getelementptr inbounds i8, ptr %20, i64 4
%32 = load i32, ptr %31, align 4, !tbaa !16
%33 = add nsw i32 %32, 1
store i32 %33, ptr %31, align 4, !tbaa !16
%34 = icmp eq ptr %13, null
br i1 %34, label %39, label %35
35: ; preds = %30
%36 = load i32, ptr %16, align 4, !tbaa !17
%37 = sext i32 %14 to i64
%38 = getelementptr inbounds i32, ptr %13, i64 %37
store i32 %36, ptr %38, align 4, !tbaa !17
br label %39
39: ; preds = %35, %30
%40 = add nsw i32 %14, 1
br label %41
41: ; preds = %39, %25, %21
%42 = phi i32 [ %14, %21 ], [ %14, %25 ], [ %40, %39 ]
%43 = phi ptr [ %13, %21 ], [ %26, %25 ], [ %13, %39 ]
%44 = add nuw nsw i64 %12, 1
%45 = icmp eq i64 %44, %10
br i1 %45, label %46, label %11, !llvm.loop !18
46: ; preds = %41, %4
%47 = phi i32 [ 0, %4 ], [ %42, %41 ]
%48 = phi ptr [ null, %4 ], [ %43, %41 ]
store i32 %47, ptr %3, align 4, !tbaa !17
ret ptr %48
}
declare ptr @palloc(i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8, !8, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!7, !8, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_4__", !11, i64 0, !11, i64 4}
!16 = !{!15, !11, i64 4}
!17 = !{!11, !11, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| postgres_src_backend_access_gin_extr_ginvacuum.c_ginVacuumItemPointers |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_auto_parser.c_snd_hda_add_verbs.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_auto_parser.c_snd_hda_add_verbs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @snd_hda_add_verbs(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @snd_array_new(ptr noundef %0) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%7 = sub nsw i32 0, %6
br label %9
8: ; preds = %2
store ptr %1, ptr %3, align 8, !tbaa !9
br label %9
9: ; preds = %8, %5
%10 = phi i32 [ 0, %8 ], [ %7, %5 ]
ret i32 %10
}
declare ptr @snd_array_new(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_auto_parser.c_snd_hda_add_verbs.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_auto_parser.c_snd_hda_add_verbs.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOMEM = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @snd_hda_add_verbs(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @snd_array_new(ptr noundef %0) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%7 = sub nsw i32 0, %6
br label %9
8: ; preds = %2
store ptr %1, ptr %3, align 8, !tbaa !10
br label %9
9: ; preds = %8, %5
%10 = phi i32 [ 0, %8 ], [ %7, %5 ]
ret i32 %10
}
declare ptr @snd_array_new(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| fastsocket_kernel_sound_pci_hda_extr_hda_auto_parser.c_snd_hda_add_verbs |
; ModuleID = 'AnghaBench/lab/engine/code/botlib/extr_be_ea.c_EA_Move.c'
source_filename = "AnghaBench/lab/engine/code/botlib/extr_be_ea.c_EA_Move.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { float, i32 }
@botinputs = dso_local local_unnamed_addr global %struct.TYPE_3__* null, align 8
@MAX_USERMOVE = dso_local local_unnamed_addr global float 0.000000e+00, align 4
; Function Attrs: nounwind uwtable
define dso_local void @EA_Move(i32 noundef %0, i32 noundef %1, float noundef %2) local_unnamed_addr #0 {
%4 = load %struct.TYPE_3__*, %struct.TYPE_3__** @botinputs, align 8, !tbaa !5
%5 = sext i32 %0 to i64
%6 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %4, i64 %5, i32 1
%7 = load i32, i32* %6, align 4, !tbaa !9
%8 = tail call i32 @VectorCopy(i32 noundef %1, i32 noundef %7) #2
%9 = load float, float* @MAX_USERMOVE, align 4, !tbaa !13
%10 = fcmp olt float %9, %2
br i1 %10, label %15, label %11
11: ; preds = %3
%12 = fneg float %9
%13 = fcmp ogt float %12, %2
br i1 %13, label %14, label %15
14: ; preds = %11
br label %15
15: ; preds = %3, %11, %14
%16 = phi float [ %12, %14 ], [ %2, %11 ], [ %9, %3 ]
%17 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %4, i64 %5, i32 0
store float %16, float* %17, align 4, !tbaa !14
ret void
}
declare i32 @VectorCopy(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 7, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 4}
!10 = !{!"TYPE_3__", !11, i64 0, !12, i64 4}
!11 = !{!"float", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/lab/engine/code/botlib/extr_be_ea.c_EA_Move.c'
source_filename = "AnghaBench/lab/engine/code/botlib/extr_be_ea.c_EA_Move.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { float, i32 }
@botinputs = common local_unnamed_addr global ptr null, align 8
@MAX_USERMOVE = common local_unnamed_addr global float 0.000000e+00, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @EA_Move(i32 noundef %0, i32 noundef %1, float noundef %2) local_unnamed_addr #0 {
%4 = load ptr, ptr @botinputs, align 8, !tbaa !6
%5 = sext i32 %0 to i64
%6 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 %5
%7 = getelementptr inbounds i8, ptr %6, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !10
%9 = tail call i32 @VectorCopy(i32 noundef %1, i32 noundef %8) #2
%10 = load float, ptr @MAX_USERMOVE, align 4, !tbaa !14
%11 = fcmp olt float %10, %2
br i1 %11, label %16, label %12
12: ; preds = %3
%13 = fneg float %10
%14 = fcmp ogt float %13, %2
br i1 %14, label %15, label %16
15: ; preds = %12
br label %16
16: ; preds = %3, %12, %15
%17 = phi float [ %13, %15 ], [ %2, %12 ], [ %10, %3 ]
store float %17, ptr %6, align 4, !tbaa !15
ret void
}
declare i32 @VectorCopy(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 4}
!11 = !{!"TYPE_3__", !12, i64 0, !13, i64 4}
!12 = !{!"float", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!11, !12, i64 0}
| lab_engine_code_botlib_extr_be_ea.c_EA_Move |
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-roccat-isku.c_isku_remove.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-roccat-isku.c_isku_remove.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @isku_remove], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @isku_remove(ptr noundef %0) #0 {
%2 = tail call i32 @isku_remove_specials(ptr noundef %0) #2
%3 = tail call i32 @hid_hw_stop(ptr noundef %0) #2
ret void
}
declare i32 @isku_remove_specials(ptr noundef) local_unnamed_addr #1
declare i32 @hid_hw_stop(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-roccat-isku.c_isku_remove.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-roccat-isku.c_isku_remove.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @isku_remove], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @isku_remove(ptr noundef %0) #0 {
%2 = tail call i32 @isku_remove_specials(ptr noundef %0) #2
%3 = tail call i32 @hid_hw_stop(ptr noundef %0) #2
ret void
}
declare i32 @isku_remove_specials(ptr noundef) local_unnamed_addr #1
declare i32 @hid_hw_stop(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_hid_extr_hid-roccat-isku.c_isku_remove |
; ModuleID = 'AnghaBench/memcached/extr_memcached.c_make_ascii_get_suffix.c'
source_filename = "AnghaBench/memcached/extr_memcached.c_make_ascii_get_suffix.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @make_ascii_get_suffix], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal noundef i32 @make_ascii_get_suffix(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
store i8 32, ptr %0, align 1, !tbaa !5
%5 = getelementptr inbounds i8, ptr %0, i64 1
%6 = tail call i64 @FLAGS_SIZE(ptr noundef %1) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %4
store i8 48, ptr %5, align 1, !tbaa !5
%9 = getelementptr inbounds i8, ptr %0, i64 2
br label %15
10: ; preds = %4
%11 = tail call i64 @ITEM_suffix(ptr noundef %1) #2
%12 = inttoptr i64 %11 to ptr
%13 = load i32, ptr %12, align 4, !tbaa !8
%14 = tail call ptr @itoa_u32(i32 noundef %13, ptr noundef nonnull %5) #2
br label %15
15: ; preds = %10, %8
%16 = phi ptr [ %9, %8 ], [ %14, %10 ]
store i8 32, ptr %16, align 1, !tbaa !5
%17 = add nsw i32 %3, -2
%18 = getelementptr inbounds i8, ptr %16, i64 1
%19 = tail call ptr @itoa_u32(i32 noundef %17, ptr noundef nonnull %18) #2
%20 = icmp eq i32 %2, 0
br i1 %20, label %25, label %21
21: ; preds = %15
store i8 32, ptr %19, align 1, !tbaa !5
%22 = tail call i32 @ITEM_get_cas(ptr noundef %1) #2
%23 = getelementptr inbounds i8, ptr %19, i64 1
%24 = tail call ptr @itoa_u64(i32 noundef %22, ptr noundef nonnull %23) #2
br label %25
25: ; preds = %21, %15
%26 = phi ptr [ %24, %21 ], [ %19, %15 ]
store i8 13, ptr %26, align 1, !tbaa !5
%27 = getelementptr inbounds i8, ptr %26, i64 1
store i8 10, ptr %27, align 1, !tbaa !5
%28 = getelementptr inbounds i8, ptr %26, i64 2
store i8 0, ptr %28, align 1, !tbaa !5
%29 = ptrtoint ptr %26 to i64
%30 = ptrtoint ptr %0 to i64
%31 = sub i64 %29, %30
%32 = trunc i64 %31 to i32
%33 = add i32 %32, 2
ret i32 %33
}
declare i64 @FLAGS_SIZE(ptr noundef) local_unnamed_addr #1
declare ptr @itoa_u32(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @ITEM_suffix(ptr noundef) local_unnamed_addr #1
declare ptr @itoa_u64(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ITEM_get_cas(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
| ; ModuleID = 'AnghaBench/memcached/extr_memcached.c_make_ascii_get_suffix.c'
source_filename = "AnghaBench/memcached/extr_memcached.c_make_ascii_get_suffix.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @make_ascii_get_suffix], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal noundef i32 @make_ascii_get_suffix(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
store i8 32, ptr %0, align 1, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 1
%6 = tail call i64 @FLAGS_SIZE(ptr noundef %1) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %4
store i8 48, ptr %5, align 1, !tbaa !6
%9 = getelementptr inbounds i8, ptr %0, i64 2
br label %15
10: ; preds = %4
%11 = tail call i64 @ITEM_suffix(ptr noundef %1) #2
%12 = inttoptr i64 %11 to ptr
%13 = load i32, ptr %12, align 4, !tbaa !9
%14 = tail call ptr @itoa_u32(i32 noundef %13, ptr noundef nonnull %5) #2
br label %15
15: ; preds = %10, %8
%16 = phi ptr [ %9, %8 ], [ %14, %10 ]
store i8 32, ptr %16, align 1, !tbaa !6
%17 = add nsw i32 %3, -2
%18 = getelementptr inbounds i8, ptr %16, i64 1
%19 = tail call ptr @itoa_u32(i32 noundef %17, ptr noundef nonnull %18) #2
%20 = icmp eq i32 %2, 0
br i1 %20, label %25, label %21
21: ; preds = %15
store i8 32, ptr %19, align 1, !tbaa !6
%22 = tail call i32 @ITEM_get_cas(ptr noundef %1) #2
%23 = getelementptr inbounds i8, ptr %19, i64 1
%24 = tail call ptr @itoa_u64(i32 noundef %22, ptr noundef nonnull %23) #2
br label %25
25: ; preds = %21, %15
%26 = phi ptr [ %24, %21 ], [ %19, %15 ]
store i8 13, ptr %26, align 1, !tbaa !6
%27 = getelementptr inbounds i8, ptr %26, i64 1
store i8 10, ptr %27, align 1, !tbaa !6
%28 = getelementptr inbounds i8, ptr %26, i64 2
store i8 0, ptr %28, align 1, !tbaa !6
%29 = ptrtoint ptr %26 to i64
%30 = ptrtoint ptr %0 to i64
%31 = sub i64 %29, %30
%32 = trunc i64 %31 to i32
%33 = add i32 %32, 2
ret i32 %33
}
declare i64 @FLAGS_SIZE(ptr noundef) local_unnamed_addr #1
declare ptr @itoa_u32(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @ITEM_suffix(ptr noundef) local_unnamed_addr #1
declare ptr @itoa_u64(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ITEM_get_cas(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| memcached_extr_memcached.c_make_ascii_get_suffix |
; ModuleID = 'AnghaBench/php-src/ext/calendar/extr_jewish.c_SdnToJewish.c'
source_filename = "AnghaBench/php-src/ext/calendar/extr_jewish.c_SdnToJewish.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@JEWISH_SDN_OFFSET = dso_local local_unnamed_addr global i64 0, align 8
@JEWISH_SDN_MAX = dso_local local_unnamed_addr global i64 0, align 8
@HALAKIM_PER_LUNAR_CYCLE = dso_local local_unnamed_addr global i64 0, align 8
@monthsPerYear = dso_local local_unnamed_addr global ptr null, align 8
@HALAKIM_PER_DAY = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @SdnToJewish(i64 noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef %2, ptr nocapture noundef %3) local_unnamed_addr #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
%9 = load i64, ptr @JEWISH_SDN_OFFSET, align 8, !tbaa !5
%10 = icmp sge i64 %9, %0
%11 = load i64, ptr @JEWISH_SDN_MAX, align 8
%12 = icmp slt i64 %11, %0
%13 = select i1 %10, i1 true, i1 %12
br i1 %13, label %14, label %15
14: ; preds = %4
store i32 0, ptr %1, align 4, !tbaa !9
store i32 0, ptr %2, align 4, !tbaa !9
br label %167
15: ; preds = %4
%16 = sub nsw i64 %0, %9
%17 = call i32 @FindTishriMolad(i64 noundef %16, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %5, ptr noundef nonnull %6) #3
%18 = load i32, ptr %8, align 4, !tbaa !9
%19 = load i64, ptr %5, align 8, !tbaa !5
%20 = load i64, ptr %6, align 8, !tbaa !5
%21 = call i32 @Tishri1(i32 noundef %18, i64 noundef %19, i64 noundef %20) #3
%22 = sext i32 %21 to i64
%23 = icmp slt i64 %16, %22
%24 = load i32, ptr %7, align 4, !tbaa !9
%25 = mul nsw i32 %24, 19
%26 = load i32, ptr %8, align 4, !tbaa !9
br i1 %23, label %58, label %27
27: ; preds = %15
%28 = add i32 %26, 1
%29 = add i32 %28, %25
store i32 %29, ptr %1, align 4, !tbaa !9
%30 = add nsw i32 %21, 59
%31 = sext i32 %30 to i64
%32 = icmp slt i64 %16, %31
br i1 %32, label %33, label %42
33: ; preds = %27
%34 = add nsw i32 %21, 30
%35 = sext i32 %34 to i64
%36 = icmp slt i64 %16, %35
%37 = trunc i64 %16 to i32
%38 = select i1 %36, i32 1, i32 -29
%39 = select i1 %36, i32 1, i32 2
%40 = add nsw i32 %38, %37
store i32 %39, ptr %2, align 4
%41 = sub i32 %40, %21
br label %167
42: ; preds = %27
%43 = load i64, ptr @HALAKIM_PER_LUNAR_CYCLE, align 8, !tbaa !5
%44 = load ptr, ptr @monthsPerYear, align 8, !tbaa !11
%45 = sext i32 %26 to i64
%46 = getelementptr inbounds i64, ptr %44, i64 %45
%47 = load i64, ptr %46, align 8, !tbaa !5
%48 = mul nsw i64 %47, %43
%49 = load i64, ptr %6, align 8, !tbaa !5
%50 = add nsw i64 %49, %48
%51 = load i64, ptr @HALAKIM_PER_DAY, align 8, !tbaa !5
%52 = sdiv i64 %50, %51
%53 = load i64, ptr %5, align 8, !tbaa !5
%54 = add nsw i64 %53, %52
store i64 %54, ptr %5, align 8, !tbaa !5
%55 = srem i64 %50, %51
store i64 %55, ptr %6, align 8, !tbaa !5
%56 = srem i32 %28, 19
%57 = call i32 @Tishri1(i32 noundef %56, i64 noundef %54, i64 noundef %55) #3
br label %148
58: ; preds = %15
%59 = add nsw i32 %25, %26
store i32 %59, ptr %1, align 4, !tbaa !9
%60 = add nsw i32 %21, -177
%61 = sext i32 %60 to i64
%62 = icmp slt i64 %16, %61
br i1 %62, label %106, label %63
63: ; preds = %58
%64 = add nsw i32 %21, -30
%65 = sext i32 %64 to i64
%66 = icmp sgt i64 %16, %65
br i1 %66, label %67, label %71
67: ; preds = %63
store i32 13, ptr %2, align 4, !tbaa !9
%68 = trunc i64 %16 to i32
%69 = add i32 %68, 30
%70 = sub i32 %69, %21
br label %167
71: ; preds = %63
%72 = add nsw i32 %21, -60
%73 = sext i32 %72 to i64
%74 = icmp sgt i64 %16, %73
br i1 %74, label %75, label %79
75: ; preds = %71
store i32 12, ptr %2, align 4, !tbaa !9
%76 = trunc i64 %16 to i32
%77 = add i32 %76, 60
%78 = sub i32 %77, %21
br label %167
79: ; preds = %71
%80 = add nsw i32 %21, -89
%81 = sext i32 %80 to i64
%82 = icmp sgt i64 %16, %81
br i1 %82, label %83, label %87
83: ; preds = %79
store i32 11, ptr %2, align 4, !tbaa !9
%84 = trunc i64 %16 to i32
%85 = add i32 %84, 89
%86 = sub i32 %85, %21
br label %167
87: ; preds = %79
%88 = add nsw i32 %21, -119
%89 = sext i32 %88 to i64
%90 = icmp sgt i64 %16, %89
br i1 %90, label %91, label %95
91: ; preds = %87
store i32 10, ptr %2, align 4, !tbaa !9
%92 = trunc i64 %16 to i32
%93 = add i32 %92, 119
%94 = sub i32 %93, %21
br label %167
95: ; preds = %87
%96 = add nsw i32 %21, -148
%97 = sext i32 %96 to i64
%98 = icmp sgt i64 %16, %97
%99 = trunc i64 %16 to i32
br i1 %98, label %100, label %103
100: ; preds = %95
store i32 9, ptr %2, align 4, !tbaa !9
%101 = add i32 %99, 148
%102 = sub i32 %101, %21
br label %167
103: ; preds = %95
store i32 8, ptr %2, align 4, !tbaa !9
%104 = add i32 %99, 178
%105 = sub i32 %104, %21
br label %167
106: ; preds = %58
%107 = load ptr, ptr @monthsPerYear, align 8, !tbaa !11
%108 = add nsw i32 %59, -1
%109 = srem i32 %108, 19
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i64, ptr %107, i64 %110
%112 = load i64, ptr %111, align 8, !tbaa !5
%113 = icmp eq i64 %112, 13
store i32 7, ptr %2, align 4, !tbaa !9
%114 = trunc i64 %16 to i32
%115 = sub i32 %114, %21
%116 = add i32 %115, 207
store i32 %116, ptr %3, align 4, !tbaa !9
%117 = icmp sgt i32 %116, 0
br i1 %113, label %118, label %125
118: ; preds = %106
br i1 %117, label %169, label %119
119: ; preds = %118
%120 = load i32, ptr %2, align 4, !tbaa !9
%121 = add nsw i32 %120, -1
store i32 %121, ptr %2, align 4, !tbaa !9
%122 = load i32, ptr %3, align 4, !tbaa !9
%123 = add nsw i32 %122, 30
store i32 %123, ptr %3, align 4, !tbaa !9
%124 = icmp sgt i32 %122, -30
br i1 %124, label %169, label %126
125: ; preds = %106
br i1 %117, label %169, label %126
126: ; preds = %125, %119
%127 = phi i32 [ -1, %119 ], [ -2, %125 ]
%128 = load i32, ptr %2, align 4, !tbaa !9
%129 = add nsw i32 %128, %127
store i32 %129, ptr %2, align 4, !tbaa !9
%130 = load i32, ptr %3, align 4, !tbaa !9
%131 = add nsw i32 %130, 30
store i32 %131, ptr %3, align 4, !tbaa !9
%132 = icmp sgt i32 %130, -30
br i1 %132, label %169, label %133
133: ; preds = %126
%134 = load i32, ptr %2, align 4, !tbaa !9
%135 = add nsw i32 %134, -1
store i32 %135, ptr %2, align 4, !tbaa !9
%136 = load i32, ptr %3, align 4, !tbaa !9
%137 = add nsw i32 %136, 29
store i32 %137, ptr %3, align 4, !tbaa !9
%138 = icmp sgt i32 %136, -29
br i1 %138, label %169, label %139
139: ; preds = %133
%140 = load i64, ptr %5, align 8, !tbaa !5
%141 = add nsw i64 %140, -365
%142 = call i32 @FindTishriMolad(i64 noundef %141, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %5, ptr noundef nonnull %6) #3
%143 = load i32, ptr %8, align 4, !tbaa !9
%144 = load i64, ptr %5, align 8, !tbaa !5
%145 = load i64, ptr %6, align 8, !tbaa !5
%146 = call i32 @Tishri1(i32 noundef %143, i64 noundef %144, i64 noundef %145) #3
%147 = sext i32 %146 to i64
br label %148
148: ; preds = %139, %42
%149 = phi i64 [ %147, %139 ], [ %22, %42 ]
%150 = phi i32 [ %21, %139 ], [ %57, %42 ]
%151 = phi i32 [ %146, %139 ], [ %21, %42 ]
%152 = sub nsw i32 %150, %151
%153 = sub nsw i64 %16, %149
%154 = add nsw i64 %153, -29
switch i32 %152, label %159 [
i32 385, label %155
i32 355, label %155
]
155: ; preds = %148, %148
%156 = icmp slt i64 %153, 60
br i1 %156, label %157, label %163
157: ; preds = %155
store i32 2, ptr %2, align 4, !tbaa !9
%158 = trunc i64 %154 to i32
br label %167
159: ; preds = %148
%160 = icmp slt i64 %153, 59
br i1 %160, label %161, label %163
161: ; preds = %159
store i32 2, ptr %2, align 4, !tbaa !9
%162 = trunc i64 %154 to i32
br label %167
163: ; preds = %159, %155
%164 = phi i64 [ -59, %155 ], [ -58, %159 ]
%165 = add nsw i64 %153, %164
store i32 3, ptr %2, align 4, !tbaa !9
%166 = trunc i64 %165 to i32
br label %167
167: ; preds = %14, %33, %157, %161, %163, %75, %91, %103, %100, %83, %67
%168 = phi i32 [ %70, %67 ], [ %86, %83 ], [ %102, %100 ], [ %105, %103 ], [ %94, %91 ], [ %78, %75 ], [ %166, %163 ], [ %162, %161 ], [ %158, %157 ], [ %41, %33 ], [ 0, %14 ]
store i32 %168, ptr %3, align 4, !tbaa !9
br label %169
169: ; preds = %167, %133, %126, %125, %119, %118
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @FindTishriMolad(i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @Tishri1(i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/php-src/ext/calendar/extr_jewish.c_SdnToJewish.c'
source_filename = "AnghaBench/php-src/ext/calendar/extr_jewish.c_SdnToJewish.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@JEWISH_SDN_OFFSET = common local_unnamed_addr global i64 0, align 8
@JEWISH_SDN_MAX = common local_unnamed_addr global i64 0, align 8
@HALAKIM_PER_LUNAR_CYCLE = common local_unnamed_addr global i64 0, align 8
@monthsPerYear = common local_unnamed_addr global ptr null, align 8
@HALAKIM_PER_DAY = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @SdnToJewish(i64 noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef %2, ptr nocapture noundef %3) local_unnamed_addr #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
%9 = load i64, ptr @JEWISH_SDN_OFFSET, align 8, !tbaa !6
%10 = icmp sge i64 %9, %0
%11 = load i64, ptr @JEWISH_SDN_MAX, align 8
%12 = icmp slt i64 %11, %0
%13 = select i1 %10, i1 true, i1 %12
br i1 %13, label %14, label %15
14: ; preds = %4
store i32 0, ptr %1, align 4, !tbaa !10
store i32 0, ptr %2, align 4, !tbaa !10
br label %170
15: ; preds = %4
%16 = sub nsw i64 %0, %9
%17 = call i32 @FindTishriMolad(i64 noundef %16, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %5, ptr noundef nonnull %6) #3
%18 = load i32, ptr %8, align 4, !tbaa !10
%19 = load i64, ptr %5, align 8, !tbaa !6
%20 = load i64, ptr %6, align 8, !tbaa !6
%21 = call i32 @Tishri1(i32 noundef %18, i64 noundef %19, i64 noundef %20) #3
%22 = sext i32 %21 to i64
%23 = icmp slt i64 %16, %22
%24 = load i32, ptr %7, align 4, !tbaa !10
%25 = mul nsw i32 %24, 19
%26 = load i32, ptr %8, align 4, !tbaa !10
br i1 %23, label %61, label %27
27: ; preds = %15
%28 = add i32 %26, 1
%29 = add i32 %28, %25
store i32 %29, ptr %1, align 4, !tbaa !10
%30 = add nsw i32 %21, 59
%31 = sext i32 %30 to i64
%32 = icmp slt i64 %16, %31
br i1 %32, label %33, label %42
33: ; preds = %27
%34 = add nsw i32 %21, 30
%35 = sext i32 %34 to i64
%36 = icmp slt i64 %16, %35
%37 = trunc i64 %16 to i32
%38 = select i1 %36, i32 1, i32 -29
%39 = select i1 %36, i32 1, i32 2
%40 = add nsw i32 %38, %37
store i32 %39, ptr %2, align 4
%41 = sub i32 %40, %21
br label %170
42: ; preds = %27
%43 = load i64, ptr @HALAKIM_PER_LUNAR_CYCLE, align 8, !tbaa !6
%44 = load ptr, ptr @monthsPerYear, align 8, !tbaa !12
%45 = sext i32 %26 to i64
%46 = getelementptr inbounds i64, ptr %44, i64 %45
%47 = load i64, ptr %46, align 8, !tbaa !6
%48 = mul nsw i64 %47, %43
%49 = load i64, ptr %6, align 8, !tbaa !6
%50 = add nsw i64 %49, %48
%51 = load i64, ptr @HALAKIM_PER_DAY, align 8, !tbaa !6
%52 = freeze i64 %50
%53 = freeze i64 %51
%54 = sdiv i64 %52, %53
%55 = load i64, ptr %5, align 8, !tbaa !6
%56 = add nsw i64 %55, %54
store i64 %56, ptr %5, align 8, !tbaa !6
%57 = mul i64 %54, %53
%58 = sub i64 %52, %57
store i64 %58, ptr %6, align 8, !tbaa !6
%59 = srem i32 %28, 19
%60 = call i32 @Tishri1(i32 noundef %59, i64 noundef %56, i64 noundef %58) #3
br label %151
61: ; preds = %15
%62 = add nsw i32 %25, %26
store i32 %62, ptr %1, align 4, !tbaa !10
%63 = add nsw i32 %21, -177
%64 = sext i32 %63 to i64
%65 = icmp slt i64 %16, %64
br i1 %65, label %109, label %66
66: ; preds = %61
%67 = add nsw i32 %21, -30
%68 = sext i32 %67 to i64
%69 = icmp sgt i64 %16, %68
br i1 %69, label %70, label %74
70: ; preds = %66
store i32 13, ptr %2, align 4, !tbaa !10
%71 = trunc i64 %16 to i32
%72 = add i32 %71, 30
%73 = sub i32 %72, %21
br label %170
74: ; preds = %66
%75 = add nsw i32 %21, -60
%76 = sext i32 %75 to i64
%77 = icmp sgt i64 %16, %76
br i1 %77, label %78, label %82
78: ; preds = %74
store i32 12, ptr %2, align 4, !tbaa !10
%79 = trunc i64 %16 to i32
%80 = add i32 %79, 60
%81 = sub i32 %80, %21
br label %170
82: ; preds = %74
%83 = add nsw i32 %21, -89
%84 = sext i32 %83 to i64
%85 = icmp sgt i64 %16, %84
br i1 %85, label %86, label %90
86: ; preds = %82
store i32 11, ptr %2, align 4, !tbaa !10
%87 = trunc i64 %16 to i32
%88 = add i32 %87, 89
%89 = sub i32 %88, %21
br label %170
90: ; preds = %82
%91 = add nsw i32 %21, -119
%92 = sext i32 %91 to i64
%93 = icmp sgt i64 %16, %92
br i1 %93, label %94, label %98
94: ; preds = %90
store i32 10, ptr %2, align 4, !tbaa !10
%95 = trunc i64 %16 to i32
%96 = add i32 %95, 119
%97 = sub i32 %96, %21
br label %170
98: ; preds = %90
%99 = add nsw i32 %21, -148
%100 = sext i32 %99 to i64
%101 = icmp sgt i64 %16, %100
%102 = trunc i64 %16 to i32
br i1 %101, label %103, label %106
103: ; preds = %98
store i32 9, ptr %2, align 4, !tbaa !10
%104 = add i32 %102, 148
%105 = sub i32 %104, %21
br label %170
106: ; preds = %98
store i32 8, ptr %2, align 4, !tbaa !10
%107 = add i32 %102, 178
%108 = sub i32 %107, %21
br label %170
109: ; preds = %61
%110 = load ptr, ptr @monthsPerYear, align 8, !tbaa !12
%111 = add nsw i32 %62, -1
%112 = srem i32 %111, 19
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i64, ptr %110, i64 %113
%115 = load i64, ptr %114, align 8, !tbaa !6
%116 = icmp eq i64 %115, 13
store i32 7, ptr %2, align 4, !tbaa !10
%117 = trunc i64 %16 to i32
%118 = sub i32 %117, %21
%119 = add i32 %118, 207
store i32 %119, ptr %3, align 4, !tbaa !10
%120 = icmp sgt i32 %119, 0
br i1 %116, label %121, label %128
121: ; preds = %109
br i1 %120, label %172, label %122
122: ; preds = %121
%123 = load i32, ptr %2, align 4, !tbaa !10
%124 = add nsw i32 %123, -1
store i32 %124, ptr %2, align 4, !tbaa !10
%125 = load i32, ptr %3, align 4, !tbaa !10
%126 = add nsw i32 %125, 30
store i32 %126, ptr %3, align 4, !tbaa !10
%127 = icmp sgt i32 %125, -30
br i1 %127, label %172, label %129
128: ; preds = %109
br i1 %120, label %172, label %129
129: ; preds = %128, %122
%130 = phi i32 [ -1, %122 ], [ -2, %128 ]
%131 = load i32, ptr %2, align 4, !tbaa !10
%132 = add nsw i32 %131, %130
store i32 %132, ptr %2, align 4, !tbaa !10
%133 = load i32, ptr %3, align 4, !tbaa !10
%134 = add nsw i32 %133, 30
store i32 %134, ptr %3, align 4, !tbaa !10
%135 = icmp sgt i32 %133, -30
br i1 %135, label %172, label %136
136: ; preds = %129
%137 = load i32, ptr %2, align 4, !tbaa !10
%138 = add nsw i32 %137, -1
store i32 %138, ptr %2, align 4, !tbaa !10
%139 = load i32, ptr %3, align 4, !tbaa !10
%140 = add nsw i32 %139, 29
store i32 %140, ptr %3, align 4, !tbaa !10
%141 = icmp sgt i32 %139, -29
br i1 %141, label %172, label %142
142: ; preds = %136
%143 = load i64, ptr %5, align 8, !tbaa !6
%144 = add nsw i64 %143, -365
%145 = call i32 @FindTishriMolad(i64 noundef %144, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %5, ptr noundef nonnull %6) #3
%146 = load i32, ptr %8, align 4, !tbaa !10
%147 = load i64, ptr %5, align 8, !tbaa !6
%148 = load i64, ptr %6, align 8, !tbaa !6
%149 = call i32 @Tishri1(i32 noundef %146, i64 noundef %147, i64 noundef %148) #3
%150 = sext i32 %149 to i64
br label %151
151: ; preds = %142, %42
%152 = phi i64 [ %150, %142 ], [ %22, %42 ]
%153 = phi i32 [ %21, %142 ], [ %60, %42 ]
%154 = phi i32 [ %149, %142 ], [ %21, %42 ]
%155 = sub nsw i32 %153, %154
%156 = sub nsw i64 %16, %152
%157 = add nsw i64 %156, -29
switch i32 %155, label %162 [
i32 385, label %158
i32 355, label %158
]
158: ; preds = %151, %151
%159 = icmp slt i64 %156, 60
br i1 %159, label %160, label %166
160: ; preds = %158
store i32 2, ptr %2, align 4, !tbaa !10
%161 = trunc i64 %157 to i32
br label %170
162: ; preds = %151
%163 = icmp slt i64 %156, 59
br i1 %163, label %164, label %166
164: ; preds = %162
store i32 2, ptr %2, align 4, !tbaa !10
%165 = trunc i64 %157 to i32
br label %170
166: ; preds = %162, %158
%167 = phi i64 [ -59, %158 ], [ -58, %162 ]
%168 = add nsw i64 %156, %167
store i32 3, ptr %2, align 4, !tbaa !10
%169 = trunc i64 %168 to i32
br label %170
170: ; preds = %14, %33, %160, %164, %166, %78, %94, %106, %103, %86, %70
%171 = phi i32 [ %73, %70 ], [ %89, %86 ], [ %105, %103 ], [ %108, %106 ], [ %97, %94 ], [ %81, %78 ], [ %169, %166 ], [ %165, %164 ], [ %161, %160 ], [ %41, %33 ], [ 0, %14 ]
store i32 %171, ptr %3, align 4, !tbaa !10
br label %172
172: ; preds = %170, %136, %129, %128, %122, %121
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @FindTishriMolad(i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @Tishri1(i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
| php-src_ext_calendar_extr_jewish.c_SdnToJewish |
; ModuleID = 'AnghaBench/8cc/extr_lex.c_token_buffer_unstash.c'
source_filename = "AnghaBench/8cc/extr_lex.c_token_buffer_unstash.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@buffers = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @token_buffer_unstash() local_unnamed_addr #0 {
%1 = load i32, ptr @buffers, align 4, !tbaa !5
%2 = tail call i32 @vec_pop(i32 noundef %1) #2
ret void
}
declare i32 @vec_pop(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/8cc/extr_lex.c_token_buffer_unstash.c'
source_filename = "AnghaBench/8cc/extr_lex.c_token_buffer_unstash.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@buffers = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @token_buffer_unstash() local_unnamed_addr #0 {
%1 = load i32, ptr @buffers, align 4, !tbaa !6
%2 = tail call i32 @vec_pop(i32 noundef %1) #2
ret void
}
declare i32 @vec_pop(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| 8cc_extr_lex.c_token_buffer_unstash |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/acpi/apei/extr_apei-internal.h_apei_unmap_generic_address.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/acpi/apei/extr_apei-internal.h_apei_unmap_generic_address.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @apei_unmap_generic_address], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @apei_unmap_generic_address(ptr noundef %0) #0 {
%2 = tail call i32 @acpi_os_unmap_generic_address(ptr noundef %0) #2
ret void
}
declare i32 @acpi_os_unmap_generic_address(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/acpi/apei/extr_apei-internal.h_apei_unmap_generic_address.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/acpi/apei/extr_apei-internal.h_apei_unmap_generic_address.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @apei_unmap_generic_address], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @apei_unmap_generic_address(ptr noundef %0) #0 {
%2 = tail call i32 @acpi_os_unmap_generic_address(ptr noundef %0) #2
ret void
}
declare i32 @acpi_os_unmap_generic_address(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_acpi_apei_extr_apei-internal.h_apei_unmap_generic_address |
; ModuleID = 'AnghaBench/libuv/src/unix/extr_sunos.c_uv__io_fork.c'
source_filename = "AnghaBench/libuv/src/unix/extr_sunos.c_uv__io_fork.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@POLLIN = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @uv__io_fork(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @uv__platform_loop_delete(ptr noundef %0) #2
%3 = tail call i32 @uv__platform_loop_init(ptr noundef %0) #2
ret i32 %3
}
declare i32 @uv__platform_loop_delete(ptr noundef) local_unnamed_addr #1
declare i32 @uv__platform_loop_init(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/libuv/src/unix/extr_sunos.c_uv__io_fork.c'
source_filename = "AnghaBench/libuv/src/unix/extr_sunos.c_uv__io_fork.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@POLLIN = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @uv__io_fork(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @uv__platform_loop_delete(ptr noundef %0) #2
%3 = tail call i32 @uv__platform_loop_init(ptr noundef %0) #2
ret i32 %3
}
declare i32 @uv__platform_loop_delete(ptr noundef) local_unnamed_addr #1
declare i32 @uv__platform_loop_init(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| libuv_src_unix_extr_sunos.c_uv__io_fork |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/extr_ramgk104.c_gk104_ram_train_type.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/extr_ramgk104.c_gk104_ram_train_type.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.nvbios_M0205E = type { i32 }
%struct.nvbios_M0205S = type { i32 }
%struct.nvbios_M0209E = type { i32, i32 }
%struct.gk104_ram_train = type { i32, %struct.nvbios_M0209S, %struct.nvbios_M0209S, %struct.nvbios_M0209S, %struct.nvbios_M0209S, %struct.nvbios_M0209S, %struct.nvbios_M0209S, %struct.nvbios_M0209S, %struct.nvbios_M0209S }
%struct.nvbios_M0209S = type { ptr }
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gk104_ram_train_type], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @gk104_ram_train_type(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca %struct.nvbios_M0205E, align 4
%6 = alloca %struct.nvbios_M0205S, align 4
%7 = alloca %struct.nvbios_M0209E, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = load ptr, ptr %0, align 8, !tbaa !5
%13 = load ptr, ptr %12, align 8, !tbaa !10
%14 = load ptr, ptr %13, align 8, !tbaa !13
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
%15 = getelementptr inbounds %struct.gk104_ram_train, ptr %3, i64 0, i32 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
%16 = call i32 @nvbios_M0205Ep(ptr noundef %14, i32 noundef %1, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %5) #3
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %4
%19 = load i32, ptr @ENOENT, align 4, !tbaa !15
%20 = sub nsw i32 0, %19
br label %91
21: ; preds = %4
%22 = load i32, ptr %5, align 4, !tbaa !17
switch i32 %22, label %91 [
i32 0, label %23
i32 1, label %25
i32 4, label %27
i32 6, label %29
i32 7, label %31
i32 8, label %33
i32 9, label %35
]
23: ; preds = %21
%24 = getelementptr inbounds %struct.gk104_ram_train, ptr %3, i64 0, i32 7
br label %37
25: ; preds = %21
%26 = getelementptr inbounds %struct.gk104_ram_train, ptr %3, i64 0, i32 6
br label %37
27: ; preds = %21
%28 = getelementptr inbounds %struct.gk104_ram_train, ptr %3, i64 0, i32 5
br label %37
29: ; preds = %21
%30 = getelementptr inbounds %struct.gk104_ram_train, ptr %3, i64 0, i32 4
br label %37
31: ; preds = %21
%32 = getelementptr inbounds %struct.gk104_ram_train, ptr %3, i64 0, i32 3
br label %37
33: ; preds = %21
%34 = getelementptr inbounds %struct.gk104_ram_train, ptr %3, i64 0, i32 2
br label %37
35: ; preds = %21
%36 = getelementptr inbounds %struct.gk104_ram_train, ptr %3, i64 0, i32 1
br label %37
37: ; preds = %35, %33, %31, %29, %27, %25, %23
%38 = phi ptr [ %36, %35 ], [ %34, %33 ], [ %32, %31 ], [ %30, %29 ], [ %28, %27 ], [ %26, %25 ], [ %24, %23 ]
%39 = call i32 @nvbios_M0205Sp(ptr noundef %14, i32 noundef %1, i32 noundef %2, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6) #3
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %37
%42 = load i32, ptr @EINVAL, align 4, !tbaa !15
%43 = sub nsw i32 0, %42
br label %91
44: ; preds = %37
%45 = load i32, ptr %6, align 4, !tbaa !19
%46 = call i32 @nvbios_M0209Ep(ptr noundef %14, i32 noundef %45, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %7) #3
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %51
48: ; preds = %44
%49 = load i32, ptr @EINVAL, align 4, !tbaa !15
%50 = sub nsw i32 0, %49
br label %91
51: ; preds = %44
%52 = call i32 @nvbios_M0209Sp(ptr noundef %14, i32 noundef %45, i32 noundef 0, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %38) #3
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %51
%55 = load i32, ptr @EINVAL, align 4, !tbaa !15
%56 = sub nsw i32 0, %55
br label %91
57: ; preds = %51
%58 = load i32, ptr %7, align 4, !tbaa !21
switch i32 %58, label %83 [
i32 2, label %59
i32 1, label %86
]
59: ; preds = %57
%60 = getelementptr inbounds %struct.nvbios_M0209E, ptr %7, i64 0, i32 1
%61 = load i32, ptr %60, align 4, !tbaa !23
%62 = call i32 @nvbios_M0209Sp(ptr noundef %14, i32 noundef %61, i32 noundef 0, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %15) #3
%63 = icmp eq i32 %62, 0
br i1 %63, label %68, label %64
64: ; preds = %59
%65 = load ptr, ptr %38, align 8, !tbaa !24
%66 = call i32 @ARRAY_SIZE(ptr noundef %65) #3
%67 = icmp sgt i32 %66, 0
br i1 %67, label %71, label %86
68: ; preds = %59
%69 = load i32, ptr @EINVAL, align 4, !tbaa !15
%70 = sub nsw i32 0, %69
br label %91
71: ; preds = %64, %71
%72 = phi i64 [ %79, %71 ], [ 0, %64 ]
%73 = load ptr, ptr %15, align 8, !tbaa !24
%74 = load ptr, ptr %38, align 8, !tbaa !24
%75 = getelementptr inbounds i64, ptr %74, i64 %72
%76 = load i64, ptr %75, align 8, !tbaa !26
%77 = getelementptr inbounds i64, ptr %73, i64 %76
%78 = load i64, ptr %77, align 8, !tbaa !26
store i64 %78, ptr %75, align 8, !tbaa !26
%79 = add nuw nsw i64 %72, 1
%80 = call i32 @ARRAY_SIZE(ptr noundef %74) #3
%81 = sext i32 %80 to i64
%82 = icmp slt i64 %79, %81
br i1 %82, label %71, label %86, !llvm.loop !28
83: ; preds = %57
%84 = load i32, ptr @EINVAL, align 4, !tbaa !15
%85 = sub nsw i32 0, %84
br label %91
86: ; preds = %71, %64, %57
%87 = load i32, ptr %5, align 4, !tbaa !17
%88 = shl nuw i32 1, %87
%89 = load i32, ptr %3, align 8, !tbaa !30
%90 = or i32 %89, %88
store i32 %90, ptr %3, align 8, !tbaa !30
br label %91
91: ; preds = %21, %86, %83, %68, %54, %48, %41, %18
%92 = phi i32 [ 0, %86 ], [ %70, %68 ], [ %85, %83 ], [ %56, %54 ], [ %50, %48 ], [ %43, %41 ], [ %20, %18 ], [ 0, %21 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %92
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @nvbios_M0205Ep(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nvbios_M0205Sp(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nvbios_M0209Ep(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nvbios_M0209Sp(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"nvkm_ram", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_6__", !12, i64 0}
!12 = !{!"TYPE_5__", !7, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_4__", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !8, i64 0}
!17 = !{!18, !16, i64 0}
!18 = !{!"nvbios_M0205E", !16, i64 0}
!19 = !{!20, !16, i64 0}
!20 = !{!"nvbios_M0205S", !16, i64 0}
!21 = !{!22, !16, i64 0}
!22 = !{!"nvbios_M0209E", !16, i64 0, !16, i64 4}
!23 = !{!22, !16, i64 4}
!24 = !{!25, !7, i64 0}
!25 = !{!"nvbios_M0209S", !7, i64 0}
!26 = !{!27, !27, i64 0}
!27 = !{!"long", !8, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!31, !16, i64 0}
!31 = !{!"gk104_ram_train", !16, i64 0, !25, i64 8, !25, i64 16, !25, i64 24, !25, i64 32, !25, i64 40, !25, i64 48, !25, i64 56, !25, i64 64}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/extr_ramgk104.c_gk104_ram_train_type.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/extr_ramgk104.c_gk104_ram_train_type.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.nvbios_M0205E = type { i32 }
%struct.nvbios_M0205S = type { i32 }
%struct.nvbios_M0209E = type { i32, i32 }
@ENOENT = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @gk104_ram_train_type], section "llvm.metadata"
@switch.table.gk104_ram_train_type = private unnamed_addr constant [10 x i64] [i64 56, i64 48, i64 56, i64 56, i64 40, i64 56, i64 32, i64 24, i64 16, i64 8], align 8
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @gk104_ram_train_type(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca %struct.nvbios_M0205E, align 4
%6 = alloca %struct.nvbios_M0205S, align 4
%7 = alloca %struct.nvbios_M0209E, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = load ptr, ptr %0, align 8, !tbaa !6
%13 = load ptr, ptr %12, align 8, !tbaa !11
%14 = load ptr, ptr %13, align 8, !tbaa !14
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
%15 = getelementptr inbounds i8, ptr %3, i64 64
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
%16 = call i32 @nvbios_M0205Ep(ptr noundef %14, i32 noundef %1, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %5) #3
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %4
%19 = load i32, ptr @ENOENT, align 4, !tbaa !16
%20 = sub nsw i32 0, %19
br label %85
21: ; preds = %4
%22 = load i32, ptr %5, align 4, !tbaa !18
%23 = icmp ult i32 %22, 10
br i1 %23, label %24, label %85
24: ; preds = %21
%25 = trunc nuw i32 %22 to i16
%26 = lshr i16 979, %25
%27 = trunc i16 %26 to i1
br i1 %27, label %28, label %85
28: ; preds = %24
%29 = zext nneg i32 %22 to i64
%30 = getelementptr inbounds [10 x i64], ptr @switch.table.gk104_ram_train_type, i64 0, i64 %29
%31 = load i64, ptr %30, align 8
%32 = getelementptr inbounds i8, ptr %3, i64 %31
%33 = call i32 @nvbios_M0205Sp(ptr noundef %14, i32 noundef %1, i32 noundef %2, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6) #3
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %28
%36 = load i32, ptr @EINVAL, align 4, !tbaa !16
%37 = sub nsw i32 0, %36
br label %85
38: ; preds = %28
%39 = load i32, ptr %6, align 4, !tbaa !20
%40 = call i32 @nvbios_M0209Ep(ptr noundef %14, i32 noundef %39, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %7) #3
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %38
%43 = load i32, ptr @EINVAL, align 4, !tbaa !16
%44 = sub nsw i32 0, %43
br label %85
45: ; preds = %38
%46 = call i32 @nvbios_M0209Sp(ptr noundef %14, i32 noundef %39, i32 noundef 0, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %32) #3
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %51
48: ; preds = %45
%49 = load i32, ptr @EINVAL, align 4, !tbaa !16
%50 = sub nsw i32 0, %49
br label %85
51: ; preds = %45
%52 = load i32, ptr %7, align 4, !tbaa !22
switch i32 %52, label %77 [
i32 2, label %53
i32 1, label %80
]
53: ; preds = %51
%54 = getelementptr inbounds i8, ptr %7, i64 4
%55 = load i32, ptr %54, align 4, !tbaa !24
%56 = call i32 @nvbios_M0209Sp(ptr noundef %14, i32 noundef %55, i32 noundef 0, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %15) #3
%57 = icmp eq i32 %56, 0
br i1 %57, label %62, label %58
58: ; preds = %53
%59 = load ptr, ptr %32, align 8, !tbaa !25
%60 = call i32 @ARRAY_SIZE(ptr noundef %59) #3
%61 = icmp sgt i32 %60, 0
br i1 %61, label %65, label %80
62: ; preds = %53
%63 = load i32, ptr @EINVAL, align 4, !tbaa !16
%64 = sub nsw i32 0, %63
br label %85
65: ; preds = %58, %65
%66 = phi i64 [ %73, %65 ], [ 0, %58 ]
%67 = load ptr, ptr %15, align 8, !tbaa !25
%68 = load ptr, ptr %32, align 8, !tbaa !25
%69 = getelementptr inbounds i64, ptr %68, i64 %66
%70 = load i64, ptr %69, align 8, !tbaa !27
%71 = getelementptr inbounds i64, ptr %67, i64 %70
%72 = load i64, ptr %71, align 8, !tbaa !27
store i64 %72, ptr %69, align 8, !tbaa !27
%73 = add nuw nsw i64 %66, 1
%74 = call i32 @ARRAY_SIZE(ptr noundef %68) #3
%75 = sext i32 %74 to i64
%76 = icmp slt i64 %73, %75
br i1 %76, label %65, label %80, !llvm.loop !29
77: ; preds = %51
%78 = load i32, ptr @EINVAL, align 4, !tbaa !16
%79 = sub nsw i32 0, %78
br label %85
80: ; preds = %65, %58, %51
%81 = load i32, ptr %5, align 4, !tbaa !18
%82 = shl nuw i32 1, %81
%83 = load i32, ptr %3, align 8, !tbaa !31
%84 = or i32 %83, %82
store i32 %84, ptr %3, align 8, !tbaa !31
br label %85
85: ; preds = %24, %21, %80, %77, %62, %48, %42, %35, %18
%86 = phi i32 [ 0, %80 ], [ %64, %62 ], [ %79, %77 ], [ %50, %48 ], [ %44, %42 ], [ %37, %35 ], [ %20, %18 ], [ 0, %21 ], [ 0, %24 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %86
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @nvbios_M0205Ep(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nvbios_M0205Sp(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nvbios_M0209Ep(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nvbios_M0209Sp(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"nvkm_ram", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_6__", !13, i64 0}
!13 = !{!"TYPE_5__", !8, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_4__", !8, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !9, i64 0}
!18 = !{!19, !17, i64 0}
!19 = !{!"nvbios_M0205E", !17, i64 0}
!20 = !{!21, !17, i64 0}
!21 = !{!"nvbios_M0205S", !17, i64 0}
!22 = !{!23, !17, i64 0}
!23 = !{!"nvbios_M0209E", !17, i64 0, !17, i64 4}
!24 = !{!23, !17, i64 4}
!25 = !{!26, !8, i64 0}
!26 = !{!"nvbios_M0209S", !8, i64 0}
!27 = !{!28, !28, i64 0}
!28 = !{!"long", !9, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!32, !17, i64 0}
!32 = !{!"gk104_ram_train", !17, i64 0, !26, i64 8, !26, i64 16, !26, i64 24, !26, i64 32, !26, i64 40, !26, i64 48, !26, i64 56, !26, i64 64}
| linux_drivers_gpu_drm_nouveau_nvkm_subdev_fb_extr_ramgk104.c_gk104_ram_train_type |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_4965.c_il4965_get_tx_atten_grp.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_4965.c_il4965_get_tx_atten_grp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CALIB_IL_TX_ATTEN_GR5_FCH = dso_local local_unnamed_addr global i64 0, align 8
@CALIB_IL_TX_ATTEN_GR5_LCH = dso_local local_unnamed_addr global i64 0, align 8
@CALIB_CH_GROUP_5 = dso_local local_unnamed_addr global i32 0, align 4
@CALIB_IL_TX_ATTEN_GR1_FCH = dso_local local_unnamed_addr global i64 0, align 8
@CALIB_IL_TX_ATTEN_GR1_LCH = dso_local local_unnamed_addr global i64 0, align 8
@CALIB_CH_GROUP_1 = dso_local local_unnamed_addr global i32 0, align 4
@CALIB_IL_TX_ATTEN_GR2_FCH = dso_local local_unnamed_addr global i64 0, align 8
@CALIB_IL_TX_ATTEN_GR2_LCH = dso_local local_unnamed_addr global i64 0, align 8
@CALIB_CH_GROUP_2 = dso_local local_unnamed_addr global i32 0, align 4
@CALIB_IL_TX_ATTEN_GR3_FCH = dso_local local_unnamed_addr global i64 0, align 8
@CALIB_IL_TX_ATTEN_GR3_LCH = dso_local local_unnamed_addr global i64 0, align 8
@CALIB_CH_GROUP_3 = dso_local local_unnamed_addr global i32 0, align 4
@CALIB_IL_TX_ATTEN_GR4_FCH = dso_local local_unnamed_addr global i64 0, align 8
@CALIB_IL_TX_ATTEN_GR4_LCH = dso_local local_unnamed_addr global i64 0, align 8
@CALIB_CH_GROUP_4 = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @il4965_get_tx_atten_grp], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @il4965_get_tx_atten_grp(i64 noundef %0) #0 {
%2 = load i64, ptr @CALIB_IL_TX_ATTEN_GR5_FCH, align 8, !tbaa !5
%3 = icmp sgt i64 %2, %0
%4 = load i64, ptr @CALIB_IL_TX_ATTEN_GR5_LCH, align 8
%5 = icmp slt i64 %4, %0
%6 = select i1 %3, i1 true, i1 %5
br i1 %6, label %9, label %7
7: ; preds = %1
%8 = load i32, ptr @CALIB_CH_GROUP_5, align 4, !tbaa !9
br label %44
9: ; preds = %1
%10 = load i64, ptr @CALIB_IL_TX_ATTEN_GR1_FCH, align 8, !tbaa !5
%11 = icmp sgt i64 %10, %0
%12 = load i64, ptr @CALIB_IL_TX_ATTEN_GR1_LCH, align 8
%13 = icmp slt i64 %12, %0
%14 = select i1 %11, i1 true, i1 %13
br i1 %14, label %17, label %15
15: ; preds = %9
%16 = load i32, ptr @CALIB_CH_GROUP_1, align 4, !tbaa !9
br label %44
17: ; preds = %9
%18 = load i64, ptr @CALIB_IL_TX_ATTEN_GR2_FCH, align 8, !tbaa !5
%19 = icmp sgt i64 %18, %0
%20 = load i64, ptr @CALIB_IL_TX_ATTEN_GR2_LCH, align 8
%21 = icmp slt i64 %20, %0
%22 = select i1 %19, i1 true, i1 %21
br i1 %22, label %25, label %23
23: ; preds = %17
%24 = load i32, ptr @CALIB_CH_GROUP_2, align 4, !tbaa !9
br label %44
25: ; preds = %17
%26 = load i64, ptr @CALIB_IL_TX_ATTEN_GR3_FCH, align 8, !tbaa !5
%27 = icmp sgt i64 %26, %0
%28 = load i64, ptr @CALIB_IL_TX_ATTEN_GR3_LCH, align 8
%29 = icmp slt i64 %28, %0
%30 = select i1 %27, i1 true, i1 %29
br i1 %30, label %33, label %31
31: ; preds = %25
%32 = load i32, ptr @CALIB_CH_GROUP_3, align 4, !tbaa !9
br label %44
33: ; preds = %25
%34 = load i64, ptr @CALIB_IL_TX_ATTEN_GR4_FCH, align 8, !tbaa !5
%35 = icmp sgt i64 %34, %0
%36 = load i64, ptr @CALIB_IL_TX_ATTEN_GR4_LCH, align 8
%37 = icmp slt i64 %36, %0
%38 = select i1 %35, i1 true, i1 %37
br i1 %38, label %41, label %39
39: ; preds = %33
%40 = load i32, ptr @CALIB_CH_GROUP_4, align 4, !tbaa !9
br label %44
41: ; preds = %33
%42 = load i32, ptr @EINVAL, align 4, !tbaa !9
%43 = sub nsw i32 0, %42
br label %44
44: ; preds = %41, %39, %31, %23, %15, %7
%45 = phi i32 [ %8, %7 ], [ %16, %15 ], [ %24, %23 ], [ %32, %31 ], [ %40, %39 ], [ %43, %41 ]
ret i32 %45
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_4965.c_il4965_get_tx_atten_grp.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_4965.c_il4965_get_tx_atten_grp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CALIB_IL_TX_ATTEN_GR5_FCH = common local_unnamed_addr global i64 0, align 8
@CALIB_IL_TX_ATTEN_GR5_LCH = common local_unnamed_addr global i64 0, align 8
@CALIB_CH_GROUP_5 = common local_unnamed_addr global i32 0, align 4
@CALIB_IL_TX_ATTEN_GR1_FCH = common local_unnamed_addr global i64 0, align 8
@CALIB_IL_TX_ATTEN_GR1_LCH = common local_unnamed_addr global i64 0, align 8
@CALIB_CH_GROUP_1 = common local_unnamed_addr global i32 0, align 4
@CALIB_IL_TX_ATTEN_GR2_FCH = common local_unnamed_addr global i64 0, align 8
@CALIB_IL_TX_ATTEN_GR2_LCH = common local_unnamed_addr global i64 0, align 8
@CALIB_CH_GROUP_2 = common local_unnamed_addr global i32 0, align 4
@CALIB_IL_TX_ATTEN_GR3_FCH = common local_unnamed_addr global i64 0, align 8
@CALIB_IL_TX_ATTEN_GR3_LCH = common local_unnamed_addr global i64 0, align 8
@CALIB_CH_GROUP_3 = common local_unnamed_addr global i32 0, align 4
@CALIB_IL_TX_ATTEN_GR4_FCH = common local_unnamed_addr global i64 0, align 8
@CALIB_IL_TX_ATTEN_GR4_LCH = common local_unnamed_addr global i64 0, align 8
@CALIB_CH_GROUP_4 = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @il4965_get_tx_atten_grp], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @il4965_get_tx_atten_grp(i64 noundef %0) #0 {
%2 = load i64, ptr @CALIB_IL_TX_ATTEN_GR5_FCH, align 8, !tbaa !6
%3 = icmp sgt i64 %2, %0
%4 = load i64, ptr @CALIB_IL_TX_ATTEN_GR5_LCH, align 8
%5 = icmp slt i64 %4, %0
%6 = select i1 %3, i1 true, i1 %5
br i1 %6, label %9, label %7
7: ; preds = %1
%8 = load i32, ptr @CALIB_CH_GROUP_5, align 4, !tbaa !10
br label %44
9: ; preds = %1
%10 = load i64, ptr @CALIB_IL_TX_ATTEN_GR1_FCH, align 8, !tbaa !6
%11 = icmp sgt i64 %10, %0
%12 = load i64, ptr @CALIB_IL_TX_ATTEN_GR1_LCH, align 8
%13 = icmp slt i64 %12, %0
%14 = select i1 %11, i1 true, i1 %13
br i1 %14, label %17, label %15
15: ; preds = %9
%16 = load i32, ptr @CALIB_CH_GROUP_1, align 4, !tbaa !10
br label %44
17: ; preds = %9
%18 = load i64, ptr @CALIB_IL_TX_ATTEN_GR2_FCH, align 8, !tbaa !6
%19 = icmp sgt i64 %18, %0
%20 = load i64, ptr @CALIB_IL_TX_ATTEN_GR2_LCH, align 8
%21 = icmp slt i64 %20, %0
%22 = select i1 %19, i1 true, i1 %21
br i1 %22, label %25, label %23
23: ; preds = %17
%24 = load i32, ptr @CALIB_CH_GROUP_2, align 4, !tbaa !10
br label %44
25: ; preds = %17
%26 = load i64, ptr @CALIB_IL_TX_ATTEN_GR3_FCH, align 8, !tbaa !6
%27 = icmp sgt i64 %26, %0
%28 = load i64, ptr @CALIB_IL_TX_ATTEN_GR3_LCH, align 8
%29 = icmp slt i64 %28, %0
%30 = select i1 %27, i1 true, i1 %29
br i1 %30, label %33, label %31
31: ; preds = %25
%32 = load i32, ptr @CALIB_CH_GROUP_3, align 4, !tbaa !10
br label %44
33: ; preds = %25
%34 = load i64, ptr @CALIB_IL_TX_ATTEN_GR4_FCH, align 8, !tbaa !6
%35 = icmp sgt i64 %34, %0
%36 = load i64, ptr @CALIB_IL_TX_ATTEN_GR4_LCH, align 8
%37 = icmp slt i64 %36, %0
%38 = select i1 %35, i1 true, i1 %37
br i1 %38, label %41, label %39
39: ; preds = %33
%40 = load i32, ptr @CALIB_CH_GROUP_4, align 4, !tbaa !10
br label %44
41: ; preds = %33
%42 = load i32, ptr @EINVAL, align 4, !tbaa !10
%43 = sub nsw i32 0, %42
br label %44
44: ; preds = %41, %39, %31, %23, %15, %7
%45 = phi i32 [ %8, %7 ], [ %16, %15 ], [ %24, %23 ], [ %32, %31 ], [ %40, %39 ], [ %43, %41 ]
ret i32 %45
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| fastsocket_kernel_drivers_net_wireless_iwlegacy_extr_4965.c_il4965_get_tx_atten_grp |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/carl9170/extr_phy.c_carl9170_init_phy.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/carl9170/extr_phy.c_carl9170_init_phy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ar9170 = type { %struct.TYPE_6__, ptr }
%struct.TYPE_6__ = type { i32 }
%struct.TYPE_7__ = type { i32, i32, i32, i32, i32 }
@IEEE80211_BAND_2GHZ = dso_local local_unnamed_addr global i32 0, align 4
@ar5416_phy_init = dso_local local_unnamed_addr global ptr null, align 8
@AR9170_PWR_REG_PLL_ADDAC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @carl9170_init_phy], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @carl9170_init_phy(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @IEEE80211_BAND_2GHZ, align 4, !tbaa !5
%4 = icmp eq i32 %3, %1
%5 = zext i1 %4 to i32
%6 = getelementptr inbounds %struct.ar9170, ptr %0, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !9
%8 = tail call i32 @conf_is_ht40(ptr noundef %7) #2
%9 = tail call i32 @carl9170_regwrite_begin(ptr noundef %0) #2
%10 = load ptr, ptr @ar5416_phy_init, align 8, !tbaa !13
%11 = tail call i32 @ARRAY_SIZE(ptr noundef %10) #2
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %39
13: ; preds = %2
%14 = icmp eq i32 %8, 0
br label %15
15: ; preds = %13, %28
%16 = phi i64 [ 0, %13 ], [ %34, %28 ]
%17 = load ptr, ptr @ar5416_phy_init, align 8, !tbaa !13
br i1 %14, label %23, label %18
18: ; preds = %15
br i1 %4, label %19, label %21
19: ; preds = %18
%20 = getelementptr inbounds %struct.TYPE_7__, ptr %17, i64 %16, i32 4
br label %28
21: ; preds = %18
%22 = getelementptr inbounds %struct.TYPE_7__, ptr %17, i64 %16, i32 3
br label %28
23: ; preds = %15
br i1 %4, label %24, label %26
24: ; preds = %23
%25 = getelementptr inbounds %struct.TYPE_7__, ptr %17, i64 %16, i32 2
br label %28
26: ; preds = %23
%27 = getelementptr inbounds %struct.TYPE_7__, ptr %17, i64 %16, i32 1
br label %28
28: ; preds = %24, %26, %19, %21
%29 = phi ptr [ %20, %19 ], [ %22, %21 ], [ %25, %24 ], [ %27, %26 ]
%30 = load i32, ptr %29, align 4, !tbaa !5
%31 = getelementptr inbounds %struct.TYPE_7__, ptr %17, i64 %16
%32 = load i32, ptr %31, align 4, !tbaa !14
%33 = tail call i32 @carl9170_regwrite(i32 noundef %32, i32 noundef %30) #2
%34 = add nuw nsw i64 %16, 1
%35 = load ptr, ptr @ar5416_phy_init, align 8, !tbaa !13
%36 = tail call i32 @ARRAY_SIZE(ptr noundef %35) #2
%37 = sext i32 %36 to i64
%38 = icmp slt i64 %34, %37
br i1 %38, label %15, label %39, !llvm.loop !16
39: ; preds = %28, %2
%40 = tail call i32 (...) @carl9170_regwrite_finish() #2
%41 = tail call i32 (...) @carl9170_regwrite_result() #2
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %56
43: ; preds = %39
%44 = tail call i32 @carl9170_init_phy_from_eeprom(ptr noundef %0, i32 noundef %5, i32 noundef %8) #2
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %56
46: ; preds = %43
%47 = tail call i32 @carl9170_init_power_cal(ptr noundef %0) #2
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %56
49: ; preds = %46
%50 = load i32, ptr %0, align 8, !tbaa !18
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %56
52: ; preds = %49
%53 = load i32, ptr @AR9170_PWR_REG_PLL_ADDAC, align 4, !tbaa !5
%54 = select i1 %4, i32 20835, i32 20803
%55 = tail call i32 @carl9170_write_reg(ptr noundef nonnull %0, i32 noundef %53, i32 noundef %54) #2
br label %56
56: ; preds = %49, %52, %46, %43, %39
%57 = phi i32 [ %41, %39 ], [ %44, %43 ], [ %47, %46 ], [ 0, %49 ], [ %55, %52 ]
ret i32 %57
}
declare i32 @conf_is_ht40(ptr noundef) local_unnamed_addr #1
declare i32 @carl9170_regwrite_begin(ptr noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @carl9170_regwrite(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @carl9170_regwrite_finish(...) local_unnamed_addr #1
declare i32 @carl9170_regwrite_result(...) local_unnamed_addr #1
declare i32 @carl9170_init_phy_from_eeprom(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @carl9170_init_power_cal(ptr noundef) local_unnamed_addr #1
declare i32 @carl9170_write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 8}
!10 = !{!"ar9170", !11, i64 0, !12, i64 8}
!11 = !{!"TYPE_6__", !6, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"TYPE_7__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/carl9170/extr_phy.c_carl9170_init_phy.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/carl9170/extr_phy.c_carl9170_init_phy.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_7__ = type { i32, i32, i32, i32, i32 }
@IEEE80211_BAND_2GHZ = common local_unnamed_addr global i32 0, align 4
@ar5416_phy_init = common local_unnamed_addr global ptr null, align 8
@AR9170_PWR_REG_PLL_ADDAC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @carl9170_init_phy], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @carl9170_init_phy(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @IEEE80211_BAND_2GHZ, align 4, !tbaa !6
%4 = icmp eq i32 %3, %1
%5 = zext i1 %4 to i32
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = tail call i32 @conf_is_ht40(ptr noundef %7) #2
%9 = tail call i32 @carl9170_regwrite_begin(ptr noundef %0) #2
%10 = load ptr, ptr @ar5416_phy_init, align 8, !tbaa !14
%11 = tail call i32 @ARRAY_SIZE(ptr noundef %10) #2
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %39
13: ; preds = %2
%14 = icmp eq i32 %8, 0
br label %15
15: ; preds = %13, %28
%16 = phi i64 [ 0, %13 ], [ %34, %28 ]
%17 = load ptr, ptr @ar5416_phy_init, align 8, !tbaa !14
br i1 %14, label %23, label %18
18: ; preds = %15
br i1 %4, label %19, label %21
19: ; preds = %18
%20 = getelementptr inbounds %struct.TYPE_7__, ptr %17, i64 %16, i32 4
br label %28
21: ; preds = %18
%22 = getelementptr inbounds %struct.TYPE_7__, ptr %17, i64 %16, i32 3
br label %28
23: ; preds = %15
br i1 %4, label %24, label %26
24: ; preds = %23
%25 = getelementptr inbounds %struct.TYPE_7__, ptr %17, i64 %16, i32 2
br label %28
26: ; preds = %23
%27 = getelementptr inbounds %struct.TYPE_7__, ptr %17, i64 %16, i32 1
br label %28
28: ; preds = %24, %26, %19, %21
%29 = phi ptr [ %20, %19 ], [ %22, %21 ], [ %25, %24 ], [ %27, %26 ]
%30 = load i32, ptr %29, align 4, !tbaa !6
%31 = getelementptr inbounds %struct.TYPE_7__, ptr %17, i64 %16
%32 = load i32, ptr %31, align 4, !tbaa !15
%33 = tail call i32 @carl9170_regwrite(i32 noundef %32, i32 noundef %30) #2
%34 = add nuw nsw i64 %16, 1
%35 = load ptr, ptr @ar5416_phy_init, align 8, !tbaa !14
%36 = tail call i32 @ARRAY_SIZE(ptr noundef %35) #2
%37 = sext i32 %36 to i64
%38 = icmp slt i64 %34, %37
br i1 %38, label %15, label %39, !llvm.loop !17
39: ; preds = %28, %2
%40 = tail call i32 @carl9170_regwrite_finish() #2
%41 = tail call i32 @carl9170_regwrite_result() #2
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %56
43: ; preds = %39
%44 = tail call i32 @carl9170_init_phy_from_eeprom(ptr noundef %0, i32 noundef %5, i32 noundef %8) #2
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %56
46: ; preds = %43
%47 = tail call i32 @carl9170_init_power_cal(ptr noundef %0) #2
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %56
49: ; preds = %46
%50 = load i32, ptr %0, align 8, !tbaa !19
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %56
52: ; preds = %49
%53 = load i32, ptr @AR9170_PWR_REG_PLL_ADDAC, align 4, !tbaa !6
%54 = select i1 %4, i32 20835, i32 20803
%55 = tail call i32 @carl9170_write_reg(ptr noundef nonnull %0, i32 noundef %53, i32 noundef %54) #2
br label %56
56: ; preds = %49, %52, %46, %43, %39
%57 = phi i32 [ %41, %39 ], [ %44, %43 ], [ %47, %46 ], [ 0, %49 ], [ %55, %52 ]
ret i32 %57
}
declare i32 @conf_is_ht40(ptr noundef) local_unnamed_addr #1
declare i32 @carl9170_regwrite_begin(ptr noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @carl9170_regwrite(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @carl9170_regwrite_finish(...) local_unnamed_addr #1
declare i32 @carl9170_regwrite_result(...) local_unnamed_addr #1
declare i32 @carl9170_init_phy_from_eeprom(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @carl9170_init_power_cal(ptr noundef) local_unnamed_addr #1
declare i32 @carl9170_write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 8}
!11 = !{!"ar9170", !12, i64 0, !13, i64 8}
!12 = !{!"TYPE_6__", !7, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!11, !7, i64 0}
| fastsocket_kernel_drivers_net_wireless_ath_carl9170_extr_phy.c_carl9170_init_phy |
; ModuleID = 'AnghaBench/linux/drivers/md/extr_dm-region-hash.c_dm_rh_region_context.c'
source_filename = "AnghaBench/linux/drivers/md/extr_dm-region-hash.c_dm_rh_region_context.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define dso_local ptr @dm_rh_region_context(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !10
ret ptr %3
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"dm_region", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/md/extr_dm-region-hash.c_dm_rh_region_context.c'
source_filename = "AnghaBench/linux/drivers/md/extr_dm-region-hash.c_dm_rh_region_context.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define ptr @dm_rh_region_context(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !11
ret ptr %3
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"dm_region", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_2__", !8, i64 0}
| linux_drivers_md_extr_dm-region-hash.c_dm_rh_region_context |
; ModuleID = 'AnghaBench/freebsd/contrib/libevent/sample/extr_https-client.c_err.c'
source_filename = "AnghaBench/freebsd/contrib/libevent/sample/extr_https-client.c_err.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @err], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @err(ptr noundef %0) #0 {
%2 = load i32, ptr @stderr, align 4, !tbaa !5
%3 = tail call i32 @fputs(ptr noundef %0, i32 noundef %2) #2
ret void
}
declare i32 @fputs(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libevent/sample/extr_https-client.c_err.c'
source_filename = "AnghaBench/freebsd/contrib/libevent/sample/extr_https-client.c_err.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@stderr = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @err], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @err(ptr noundef %0) #0 {
%2 = load i32, ptr @stderr, align 4, !tbaa !6
%3 = tail call i32 @fputs(ptr noundef %0, i32 noundef %2) #2
ret void
}
declare i32 @fputs(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_libevent_sample_extr_https-client.c_err |
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_st_Slot_inst_get.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_st_Slot_inst_get.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @Field_st_Slot_inst_get], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @Field_st_Slot_inst_get(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = shl i32 %2, 20
%4 = ashr i32 %3, 24
%5 = and i32 %4, -16
%6 = shl i32 %2, 24
%7 = ashr i32 %6, 28
%8 = or i32 %5, %7
ret i32 %8
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_st_Slot_inst_get.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_st_Slot_inst_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @Field_st_Slot_inst_get], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal i32 @Field_st_Slot_inst_get(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = shl i32 %2, 20
%4 = ashr i32 %3, 24
%5 = and i32 %4, -16
%6 = shl i32 %2, 24
%7 = ashr i32 %6, 28
%8 = or i32 %5, %7
ret i32 %8
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| radare2_libr_asm_arch_xtensa_gnu_extr_xtensa-modules.c_Field_st_Slot_inst_get |
; ModuleID = 'AnghaBench/ccv/lib/extr_ccv.h_ccv_point.c'
source_filename = "AnghaBench/ccv/lib/extr_ccv.h_ccv_point.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ccv_point], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal i64 @ccv_point(i32 noundef %0, i32 noundef %1) #0 {
%3 = zext i32 %1 to i64
%4 = shl nuw i64 %3, 32
%5 = zext i32 %0 to i64
%6 = or disjoint i64 %4, %5
ret i64 %6
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/ccv/lib/extr_ccv.h_ccv_point.c'
source_filename = "AnghaBench/ccv/lib/extr_ccv.h_ccv_point.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ccv_point], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal i64 @ccv_point(i32 noundef %0, i32 noundef %1) #0 {
%3 = zext i32 %1 to i64
%4 = shl nuw i64 %3, 32
%5 = zext i32 %0 to i64
%6 = or disjoint i64 %4, %5
ret i64 %6
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| ccv_lib_extr_ccv.h_ccv_point |
; ModuleID = 'AnghaBench/freebsd/sys/mips/atheros/extr_ar71xx_gpio.c_ar71xx_gpio_pin_max.c'
source_filename = "AnghaBench/freebsd/sys/mips/atheros/extr_ar71xx_gpio.c_ar71xx_gpio_pin_max.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ar71xx_soc = dso_local local_unnamed_addr global i32 0, align 4
@AR91XX_GPIO_PINS = dso_local local_unnamed_addr global i32 0, align 4
@AR724X_GPIO_PINS = dso_local local_unnamed_addr global i32 0, align 4
@AR7241_GPIO_PINS = dso_local local_unnamed_addr global i32 0, align 4
@AR933X_GPIO_COUNT = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_GPIO_COUNT = dso_local local_unnamed_addr global i32 0, align 4
@QCA953X_GPIO_COUNT = dso_local local_unnamed_addr global i32 0, align 4
@QCA955X_GPIO_COUNT = dso_local local_unnamed_addr global i32 0, align 4
@AR71XX_GPIO_PINS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ar71xx_gpio_pin_max], section "llvm.metadata"
@switch.table.ar71xx_gpio_pin_max = private unnamed_addr constant [14 x ptr] [ptr @QCA955X_GPIO_COUNT, ptr @QCA955X_GPIO_COUNT, ptr @QCA953X_GPIO_COUNT, ptr @QCA953X_GPIO_COUNT, ptr @AR934X_GPIO_COUNT, ptr @AR934X_GPIO_COUNT, ptr @AR934X_GPIO_COUNT, ptr @AR933X_GPIO_COUNT, ptr @AR933X_GPIO_COUNT, ptr @AR91XX_GPIO_PINS, ptr @AR91XX_GPIO_PINS, ptr @AR724X_GPIO_PINS, ptr @AR7241_GPIO_PINS, ptr @AR724X_GPIO_PINS], align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal noundef i32 @ar71xx_gpio_pin_max(i32 %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr @ar71xx_soc, align 4, !tbaa !5
%4 = add i32 %3, -128
%5 = icmp ult i32 %4, 14
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = zext nneg i32 %4 to i64
%8 = getelementptr inbounds [14 x ptr], ptr @switch.table.ar71xx_gpio_pin_max, i64 0, i64 %7
%9 = load ptr, ptr %8, align 8
br label %10
10: ; preds = %2, %6
%11 = phi ptr [ %9, %6 ], [ @AR71XX_GPIO_PINS, %2 ]
%12 = load i32, ptr %11, align 4, !tbaa !5
%13 = add nsw i32 %12, -1
store i32 %13, ptr %1, align 4, !tbaa !5
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/mips/atheros/extr_ar71xx_gpio.c_ar71xx_gpio_pin_max.c'
source_filename = "AnghaBench/freebsd/sys/mips/atheros/extr_ar71xx_gpio.c_ar71xx_gpio_pin_max.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ar71xx_soc = common local_unnamed_addr global i32 0, align 4
@AR91XX_GPIO_PINS = common local_unnamed_addr global i32 0, align 4
@AR724X_GPIO_PINS = common local_unnamed_addr global i32 0, align 4
@AR7241_GPIO_PINS = common local_unnamed_addr global i32 0, align 4
@AR933X_GPIO_COUNT = common local_unnamed_addr global i32 0, align 4
@AR934X_GPIO_COUNT = common local_unnamed_addr global i32 0, align 4
@QCA953X_GPIO_COUNT = common local_unnamed_addr global i32 0, align 4
@QCA955X_GPIO_COUNT = common local_unnamed_addr global i32 0, align 4
@AR71XX_GPIO_PINS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ar71xx_gpio_pin_max], section "llvm.metadata"
@switch.table.ar71xx_gpio_pin_max = private unnamed_addr constant [14 x ptr] [ptr @QCA955X_GPIO_COUNT, ptr @QCA955X_GPIO_COUNT, ptr @QCA953X_GPIO_COUNT, ptr @QCA953X_GPIO_COUNT, ptr @AR934X_GPIO_COUNT, ptr @AR934X_GPIO_COUNT, ptr @AR934X_GPIO_COUNT, ptr @AR933X_GPIO_COUNT, ptr @AR933X_GPIO_COUNT, ptr @AR91XX_GPIO_PINS, ptr @AR91XX_GPIO_PINS, ptr @AR724X_GPIO_PINS, ptr @AR7241_GPIO_PINS, ptr @AR724X_GPIO_PINS], align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal noundef i32 @ar71xx_gpio_pin_max(i32 %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr @ar71xx_soc, align 4, !tbaa !6
%4 = add i32 %3, -128
%5 = icmp ult i32 %4, 14
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = zext nneg i32 %4 to i64
%8 = getelementptr inbounds [14 x ptr], ptr @switch.table.ar71xx_gpio_pin_max, i64 0, i64 %7
%9 = load ptr, ptr %8, align 8
br label %10
10: ; preds = %2, %6
%11 = phi ptr [ %9, %6 ], [ @AR71XX_GPIO_PINS, %2 ]
%12 = load i32, ptr %11, align 4, !tbaa !6
%13 = add nsw i32 %12, -1
store i32 %13, ptr %1, align 4, !tbaa !6
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_mips_atheros_extr_ar71xx_gpio.c_ar71xx_gpio_pin_max |
; ModuleID = 'AnghaBench/linux/net/atm/extr_atm_sysfs.c_show_link_rate.c'
source_filename = "AnghaBench/linux/net/atm/extr_atm_sysfs.c_show_link_rate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @show_link_rate], section "llvm.metadata"
@switch.table.show_link_rate = private unnamed_addr constant [3 x i32] [i32 155520000, i32 622080000, i32 25600000], align 4
; Function Attrs: nounwind uwtable
define internal i32 @show_link_rate(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_atm_dev(ptr noundef %0) #2
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = add i32 %5, -128
%7 = icmp ult i32 %6, 3
br i1 %7, label %10, label %8
8: ; preds = %3
%9 = mul nsw i32 %5, 424
br label %14
10: ; preds = %3
%11 = zext nneg i32 %6 to i64
%12 = getelementptr inbounds [3 x i32], ptr @switch.table.show_link_rate, i64 0, i64 %11
%13 = load i32, ptr %12, align 4
br label %14
14: ; preds = %10, %8
%15 = phi i32 [ %9, %8 ], [ %13, %10 ]
%16 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !10
%17 = tail call i32 @scnprintf(ptr noundef %2, i32 noundef %16, ptr noundef nonnull @.str, i32 noundef %15) #2
ret i32 %17
}
declare ptr @to_atm_dev(ptr noundef) local_unnamed_addr #1
declare i32 @scnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"atm_dev", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/atm/extr_atm_sysfs.c_show_link_rate.c'
source_filename = "AnghaBench/linux/net/atm/extr_atm_sysfs.c_show_link_rate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @show_link_rate], section "llvm.metadata"
@switch.table.show_link_rate = private unnamed_addr constant [3 x i32] [i32 155520000, i32 622080000, i32 25600000], align 4
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @show_link_rate(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_atm_dev(ptr noundef %0) #2
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = add i32 %5, -128
%7 = icmp ult i32 %6, 3
br i1 %7, label %10, label %8
8: ; preds = %3
%9 = mul nsw i32 %5, 424
br label %14
10: ; preds = %3
%11 = zext nneg i32 %6 to i64
%12 = getelementptr inbounds [3 x i32], ptr @switch.table.show_link_rate, i64 0, i64 %11
%13 = load i32, ptr %12, align 4
br label %14
14: ; preds = %10, %8
%15 = phi i32 [ %9, %8 ], [ %13, %10 ]
%16 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !11
%17 = tail call i32 @scnprintf(ptr noundef %2, i32 noundef %16, ptr noundef nonnull @.str, i32 noundef %15) #2
ret i32 %17
}
declare ptr @to_atm_dev(ptr noundef) local_unnamed_addr #1
declare i32 @scnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"atm_dev", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_net_atm_extr_atm_sysfs.c_show_link_rate |
; ModuleID = 'AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_errorlimit.c'
source_filename = "AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_errorlimit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, ptr, i32 }
@.str = private unnamed_addr constant [34 x i8] c"main function has more than %d %s\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"function at line %d has more than %d %s\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @errorlimit], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @errorlimit(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = icmp eq i32 %6, 0
%8 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%9 = load i32, ptr %8, align 8, !tbaa !13
br i1 %7, label %10, label %12
10: ; preds = %3
%11 = tail call ptr (i32, ptr, i32, ...) @luaO_pushfstring(i32 noundef %9, ptr noundef nonnull @.str, i32 noundef %1, ptr noundef %2) #2
br label %14
12: ; preds = %3
%13 = tail call ptr (i32, ptr, i32, ...) @luaO_pushfstring(i32 noundef %9, ptr noundef nonnull @.str.1, i32 noundef %6, i32 noundef %1, ptr noundef %2) #2
br label %14
14: ; preds = %12, %10
%15 = phi ptr [ %11, %10 ], [ %13, %12 ]
%16 = load i32, ptr %0, align 8, !tbaa !14
%17 = tail call i32 @luaX_lexerror(i32 noundef %16, ptr noundef %15, i32 noundef 0) #2
ret void
}
declare ptr @luaO_pushfstring(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @luaX_lexerror(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"TYPE_4__", !7, i64 0}
!13 = !{!6, !7, i64 16}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_errorlimit.c'
source_filename = "AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_errorlimit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [34 x i8] c"main function has more than %d %s\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"function at line %d has more than %d %s\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @errorlimit], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @errorlimit(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = icmp eq i32 %6, 0
%8 = getelementptr inbounds i8, ptr %0, i64 16
%9 = load i32, ptr %8, align 8, !tbaa !14
br i1 %7, label %10, label %12
10: ; preds = %3
%11 = tail call ptr (i32, ptr, i32, ...) @luaO_pushfstring(i32 noundef %9, ptr noundef nonnull @.str, i32 noundef %1, ptr noundef %2) #2
br label %14
12: ; preds = %3
%13 = tail call ptr (i32, ptr, i32, ...) @luaO_pushfstring(i32 noundef %9, ptr noundef nonnull @.str.1, i32 noundef %6, i32 noundef %1, ptr noundef %2) #2
br label %14
14: ; preds = %12, %10
%15 = phi ptr [ %11, %10 ], [ %13, %12 ]
%16 = load i32, ptr %0, align 8, !tbaa !15
%17 = tail call i32 @luaX_lexerror(i32 noundef %16, ptr noundef %15, i32 noundef 0) #2
ret void
}
declare ptr @luaO_pushfstring(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @luaX_lexerror(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"TYPE_4__", !8, i64 0}
!14 = !{!7, !8, i64 16}
!15 = !{!7, !8, i64 0}
| php-src_ext_opcache_jit_dynasm_extr_minilua.c_errorlimit |
; ModuleID = 'AnghaBench/zfs/lib/libuutil/extr_uu_list.c_uu_list_node_init.c'
source_filename = "AnghaBench/zfs/lib/libuutil/extr_uu_list.c_uu_list_node_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i64, i64, i32, i64 }
%struct.TYPE_6__ = type { ptr, i32 }
@.str = private unnamed_addr constant [83 x i8] c"uu_list_node_init(%p, %p, %p (\22%s\22)): offset %ld doesn't fit in object (size %ld)\0A\00", align 1
@.str.1 = private unnamed_addr constant [84 x i8] c"uu_list_node_init(%p, %p, %p (\22%s\22)): offset %ld doesn't match pool's offset (%ld)\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @uu_list_node_init(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 3
%5 = load i64, ptr %4, align 8, !tbaa !5
%6 = icmp eq i64 %5, 0
br i1 %6, label %27, label %7
7: ; preds = %3
%8 = ptrtoint ptr %1 to i64
%9 = ptrtoint ptr %0 to i64
%10 = sub i64 %8, %9
%11 = add i64 %10, 16
%12 = load i64, ptr %2, align 8, !tbaa !11
%13 = icmp ugt i64 %11, %12
br i1 %13, label %14, label %18
14: ; preds = %7
%15 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 2
%16 = load i32, ptr %15, align 8, !tbaa !12
%17 = tail call i32 @uu_panic(ptr noundef nonnull @.str, ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, i32 noundef %16, i64 noundef %10, i64 noundef %12) #2
br label %18
18: ; preds = %14, %7
%19 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 1
%20 = load i64, ptr %19, align 8, !tbaa !13
%21 = icmp eq i64 %10, %20
br i1 %21, label %27, label %22
22: ; preds = %18
%23 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 2
%24 = load i32, ptr %23, align 8, !tbaa !12
%25 = load i64, ptr %2, align 8, !tbaa !11
%26 = tail call i32 @uu_panic(ptr noundef nonnull @.str.1, ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, i32 noundef %24, i64 noundef %10, i64 noundef %25) #2
br label %27
27: ; preds = %18, %22, %3
%28 = tail call i32 @POOL_TO_MARKER(ptr noundef nonnull %2) #2
%29 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1
store i32 %28, ptr %29, align 8, !tbaa !14
store ptr null, ptr %1, align 8, !tbaa !17
ret void
}
declare i32 @uu_panic(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @POOL_TO_MARKER(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 24}
!6 = !{!"TYPE_5__", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !10, i64 16}
!13 = !{!6, !7, i64 8}
!14 = !{!15, !10, i64 8}
!15 = !{!"TYPE_6__", !16, i64 0, !10, i64 8}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!15, !16, i64 0}
| ; ModuleID = 'AnghaBench/zfs/lib/libuutil/extr_uu_list.c_uu_list_node_init.c'
source_filename = "AnghaBench/zfs/lib/libuutil/extr_uu_list.c_uu_list_node_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [83 x i8] c"uu_list_node_init(%p, %p, %p (\22%s\22)): offset %ld doesn't fit in object (size %ld)\0A\00", align 1
@.str.1 = private unnamed_addr constant [84 x i8] c"uu_list_node_init(%p, %p, %p (\22%s\22)): offset %ld doesn't match pool's offset (%ld)\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @uu_list_node_init(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds i8, ptr %2, i64 24
%5 = load i64, ptr %4, align 8, !tbaa !6
%6 = icmp eq i64 %5, 0
br i1 %6, label %27, label %7
7: ; preds = %3
%8 = ptrtoint ptr %1 to i64
%9 = ptrtoint ptr %0 to i64
%10 = sub i64 %8, %9
%11 = add i64 %10, 16
%12 = load i64, ptr %2, align 8, !tbaa !12
%13 = icmp ugt i64 %11, %12
br i1 %13, label %14, label %18
14: ; preds = %7
%15 = getelementptr inbounds i8, ptr %2, i64 16
%16 = load i32, ptr %15, align 8, !tbaa !13
%17 = tail call i32 @uu_panic(ptr noundef nonnull @.str, ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, i32 noundef %16, i64 noundef %10, i64 noundef %12) #2
br label %18
18: ; preds = %14, %7
%19 = getelementptr inbounds i8, ptr %2, i64 8
%20 = load i64, ptr %19, align 8, !tbaa !14
%21 = icmp eq i64 %10, %20
br i1 %21, label %27, label %22
22: ; preds = %18
%23 = getelementptr inbounds i8, ptr %2, i64 16
%24 = load i32, ptr %23, align 8, !tbaa !13
%25 = load i64, ptr %2, align 8, !tbaa !12
%26 = tail call i32 @uu_panic(ptr noundef nonnull @.str.1, ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, i32 noundef %24, i64 noundef %10, i64 noundef %25) #2
br label %27
27: ; preds = %18, %22, %3
%28 = tail call i32 @POOL_TO_MARKER(ptr noundef nonnull %2) #2
%29 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %28, ptr %29, align 8, !tbaa !15
store ptr null, ptr %1, align 8, !tbaa !18
ret void
}
declare i32 @uu_panic(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @POOL_TO_MARKER(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 24}
!7 = !{!"TYPE_5__", !8, i64 0, !8, i64 8, !11, i64 16, !8, i64 24}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!7, !11, i64 16}
!14 = !{!7, !8, i64 8}
!15 = !{!16, !11, i64 8}
!16 = !{!"TYPE_6__", !17, i64 0, !11, i64 8}
!17 = !{!"any pointer", !9, i64 0}
!18 = !{!16, !17, i64 0}
| zfs_lib_libuutil_extr_uu_list.c_uu_list_node_init |
; ModuleID = 'AnghaBench/timescaledb/tsl/src/continuous_aggs/extr_insert.c_tuple_get_time.c'
source_filename = "AnghaBench/timescaledb/tsl/src/continuous_aggs/extr_insert.c_tuple_get_time.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i64, %struct.TYPE_5__, ptr }
%struct.TYPE_5__ = type { i32 }
@DIMENSION_TYPE_OPEN = dso_local local_unnamed_addr global i64 0, align 8
@ERROR = dso_local local_unnamed_addr global i32 0, align 4
@ERRCODE_NOT_NULL_VIOLATION = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [55 x i8] c"NULL value in column \22%s\22 violates not-null constraint\00", align 1
@.str.1 = private unnamed_addr constant [50 x i8] c"Columns used for time partitioning cannot be NULL\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @tuple_get_time], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @tuple_get_time(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = call i32 @heap_getattr(i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef nonnull %5) #3
%7 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
%8 = load ptr, ptr %7, align 8, !tbaa !5
%9 = icmp eq ptr %8, null
br i1 %9, label %12, label %10
10: ; preds = %4
%11 = call i32 @ts_partitioning_func_apply(ptr noundef nonnull %8, i32 noundef %6) #3
br label %12
12: ; preds = %10, %4
%13 = phi i32 [ %11, %10 ], [ %6, %4 ]
%14 = load i64, ptr %0, align 8, !tbaa !13
%15 = load i64, ptr @DIMENSION_TYPE_OPEN, align 8, !tbaa !14
%16 = icmp eq i64 %14, %15
%17 = zext i1 %16 to i32
%18 = call i32 @Assert(i32 noundef %17) #3
%19 = call i32 @ts_dimension_get_partition_type(ptr noundef nonnull %0) #3
%20 = load i32, ptr %5, align 4, !tbaa !15
%21 = icmp eq i32 %20, 0
br i1 %21, label %32, label %22
22: ; preds = %12
%23 = load i32, ptr @ERROR, align 4, !tbaa !15
%24 = load i32, ptr @ERRCODE_NOT_NULL_VIOLATION, align 4, !tbaa !15
%25 = call i32 @errcode(i32 noundef %24) #3
%26 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%27 = load i32, ptr %26, align 8, !tbaa !16
%28 = call i32 @NameStr(i32 noundef %27) #3
%29 = call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %28) #3
%30 = call i32 @errhint(ptr noundef nonnull @.str.1) #3
%31 = call i32 @ereport(i32 noundef %23, i32 noundef %30) #3
br label %32
32: ; preds = %22, %12
%33 = call i32 @ts_time_value_to_internal(i32 noundef %13, i32 noundef %19) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %33
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @heap_getattr(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ts_partitioning_func_apply(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @Assert(i32 noundef) local_unnamed_addr #2
declare i32 @ts_dimension_get_partition_type(ptr noundef) local_unnamed_addr #2
declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @errcode(i32 noundef) local_unnamed_addr #2
declare i32 @errmsg(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @NameStr(i32 noundef) local_unnamed_addr #2
declare i32 @errhint(ptr noundef) local_unnamed_addr #2
declare i32 @ts_time_value_to_internal(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !12, i64 16}
!6 = !{!"TYPE_6__", !7, i64 0, !10, i64 8, !12, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_5__", !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!11, !11, i64 0}
!16 = !{!6, !11, i64 8}
| ; ModuleID = 'AnghaBench/timescaledb/tsl/src/continuous_aggs/extr_insert.c_tuple_get_time.c'
source_filename = "AnghaBench/timescaledb/tsl/src/continuous_aggs/extr_insert.c_tuple_get_time.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DIMENSION_TYPE_OPEN = common local_unnamed_addr global i64 0, align 8
@ERROR = common local_unnamed_addr global i32 0, align 4
@ERRCODE_NOT_NULL_VIOLATION = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [55 x i8] c"NULL value in column \22%s\22 violates not-null constraint\00", align 1
@.str.1 = private unnamed_addr constant [50 x i8] c"Columns used for time partitioning cannot be NULL\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @tuple_get_time], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @tuple_get_time(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = call i32 @heap_getattr(i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef nonnull %5) #3
%7 = getelementptr inbounds i8, ptr %0, i64 16
%8 = load ptr, ptr %7, align 8, !tbaa !6
%9 = icmp eq ptr %8, null
br i1 %9, label %12, label %10
10: ; preds = %4
%11 = call i32 @ts_partitioning_func_apply(ptr noundef nonnull %8, i32 noundef %6) #3
br label %12
12: ; preds = %10, %4
%13 = phi i32 [ %11, %10 ], [ %6, %4 ]
%14 = load i64, ptr %0, align 8, !tbaa !14
%15 = load i64, ptr @DIMENSION_TYPE_OPEN, align 8, !tbaa !15
%16 = icmp eq i64 %14, %15
%17 = zext i1 %16 to i32
%18 = call i32 @Assert(i32 noundef %17) #3
%19 = call i32 @ts_dimension_get_partition_type(ptr noundef nonnull %0) #3
%20 = load i32, ptr %5, align 4, !tbaa !16
%21 = icmp eq i32 %20, 0
br i1 %21, label %32, label %22
22: ; preds = %12
%23 = load i32, ptr @ERROR, align 4, !tbaa !16
%24 = load i32, ptr @ERRCODE_NOT_NULL_VIOLATION, align 4, !tbaa !16
%25 = call i32 @errcode(i32 noundef %24) #3
%26 = getelementptr inbounds i8, ptr %0, i64 8
%27 = load i32, ptr %26, align 8, !tbaa !17
%28 = call i32 @NameStr(i32 noundef %27) #3
%29 = call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %28) #3
%30 = call i32 @errhint(ptr noundef nonnull @.str.1) #3
%31 = call i32 @ereport(i32 noundef %23, i32 noundef %30) #3
br label %32
32: ; preds = %22, %12
%33 = call i32 @ts_time_value_to_internal(i32 noundef %13, i32 noundef %19) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %33
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @heap_getattr(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ts_partitioning_func_apply(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @Assert(i32 noundef) local_unnamed_addr #2
declare i32 @ts_dimension_get_partition_type(ptr noundef) local_unnamed_addr #2
declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @errcode(i32 noundef) local_unnamed_addr #2
declare i32 @errmsg(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @NameStr(i32 noundef) local_unnamed_addr #2
declare i32 @errhint(ptr noundef) local_unnamed_addr #2
declare i32 @ts_time_value_to_internal(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !13, i64 16}
!7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8, !13, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!12, !12, i64 0}
!17 = !{!7, !12, i64 8}
| timescaledb_tsl_src_continuous_aggs_extr_insert.c_tuple_get_time |
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/gdi32/extr_font.c_match_off_by_n.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/gdi32/extr_font.c_match_off_by_n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @match_off_by_n], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal i32 @match_off_by_n(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = sub nsw i32 %0, %1
%5 = tail call i32 @llvm.abs.i32(i32 %4, i1 true)
%6 = icmp ule i32 %5, %2
%7 = zext i1 %6 to i32
ret i32 %7
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #1
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/gdi32/extr_font.c_match_off_by_n.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/gdi32/extr_font.c_match_off_by_n.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @match_off_by_n], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal range(i32 0, 2) i32 @match_off_by_n(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = sub nsw i32 %0, %1
%5 = tail call i32 @llvm.abs.i32(i32 %4, i1 true)
%6 = icmp ule i32 %5, %2
%7 = zext i1 %6 to i32
ret i32 %7
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #1
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| reactos_modules_rostests_winetests_gdi32_extr_font.c_match_off_by_n |
; ModuleID = 'AnghaBench/FFmpeg/libswscale/extr_input.c_p010LEToUV_c.c'
source_filename = "AnghaBench/FFmpeg/libswscale/extr_input.c_p010LEToUV_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @p010LEToUV_c], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @p010LEToUV_c(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2, ptr noundef %3, ptr nocapture readnone %4, i32 noundef %5, ptr nocapture readnone %6) #0 {
%8 = icmp sgt i32 %5, 0
br i1 %8, label %9, label %27
9: ; preds = %7
%10 = zext nneg i32 %5 to i64
br label %11
11: ; preds = %9, %11
%12 = phi i64 [ 0, %9 ], [ %25, %11 ]
%13 = shl nuw nsw i64 %12, 1
%14 = getelementptr inbounds i32, ptr %0, i64 %13
%15 = shl nsw i64 %12, 2
%16 = getelementptr inbounds i32, ptr %3, i64 %15
%17 = tail call i32 @AV_RL16(ptr noundef %16) #2
%18 = ashr i32 %17, 6
%19 = tail call i32 @AV_WN16(ptr noundef %14, i32 noundef %18) #2
%20 = getelementptr inbounds i32, ptr %1, i64 %13
%21 = getelementptr inbounds i32, ptr %16, i64 2
%22 = tail call i32 @AV_RL16(ptr noundef nonnull %21) #2
%23 = ashr i32 %22, 6
%24 = tail call i32 @AV_WN16(ptr noundef %20, i32 noundef %23) #2
%25 = add nuw nsw i64 %12, 1
%26 = icmp eq i64 %25, %10
br i1 %26, label %27, label %11, !llvm.loop !5
27: ; preds = %11, %7
ret void
}
declare i32 @AV_WN16(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @AV_RL16(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/FFmpeg/libswscale/extr_input.c_p010LEToUV_c.c'
source_filename = "AnghaBench/FFmpeg/libswscale/extr_input.c_p010LEToUV_c.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @p010LEToUV_c], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @p010LEToUV_c(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2, ptr noundef %3, ptr nocapture readnone %4, i32 noundef %5, ptr nocapture readnone %6) #0 {
%8 = icmp sgt i32 %5, 0
br i1 %8, label %9, label %27
9: ; preds = %7
%10 = zext nneg i32 %5 to i64
br label %11
11: ; preds = %9, %11
%12 = phi i64 [ 0, %9 ], [ %25, %11 ]
%13 = shl nuw nsw i64 %12, 1
%14 = getelementptr inbounds i32, ptr %0, i64 %13
%15 = shl nsw i64 %12, 4
%16 = getelementptr inbounds i8, ptr %3, i64 %15
%17 = tail call i32 @AV_RL16(ptr noundef %16) #2
%18 = ashr i32 %17, 6
%19 = tail call i32 @AV_WN16(ptr noundef %14, i32 noundef %18) #2
%20 = getelementptr inbounds i32, ptr %1, i64 %13
%21 = getelementptr inbounds i8, ptr %16, i64 8
%22 = tail call i32 @AV_RL16(ptr noundef nonnull %21) #2
%23 = ashr i32 %22, 6
%24 = tail call i32 @AV_WN16(ptr noundef %20, i32 noundef %23) #2
%25 = add nuw nsw i64 %12, 1
%26 = icmp eq i64 %25, %10
br i1 %26, label %27, label %11, !llvm.loop !6
27: ; preds = %11, %7
ret void
}
declare i32 @AV_WN16(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @AV_RL16(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| FFmpeg_libswscale_extr_input.c_p010LEToUV_c |
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_mio_common.c_ni_ai_insn_config.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_mio_common.c_ni_ai_insn_config.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.comedi_device = type { ptr, ptr }
%struct.ni_private = type { i32, i32, i32, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@NI_M_CFG_BYPASS_AI_CAL_MASK = dso_local local_unnamed_addr global i32 0, align 4
@NI6143_CALIB_CHAN_REG = dso_local local_unnamed_addr global i32 0, align 4
@NI611X_CAL_GAIN_SEL_REG = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ni_ai_insn_config], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ni_ai_insn_config(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2, ptr nocapture noundef %3) #0 {
%5 = getelementptr inbounds %struct.comedi_device, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = load ptr, ptr %0, align 8, !tbaa !10
%8 = load i32, ptr %2, align 4, !tbaa !11
%9 = icmp slt i32 %8, 1
br i1 %9, label %10, label %13
10: ; preds = %4
%11 = load i32, ptr @EINVAL, align 4, !tbaa !14
%12 = sub nsw i32 0, %11
br label %74
13: ; preds = %4
%14 = load i32, ptr %3, align 4, !tbaa !14
switch i32 %14, label %71 [
i32 129, label %15
i32 128, label %54
]
15: ; preds = %13
%16 = getelementptr inbounds %struct.ni_private, ptr %7, i64 0, i32 3
%17 = load i32, ptr %16, align 4, !tbaa !15
%18 = icmp eq i32 %17, 0
br i1 %18, label %30, label %19
19: ; preds = %15
%20 = getelementptr inbounds i32, ptr %3, i64 1
%21 = load i32, ptr %20, align 4, !tbaa !14
%22 = load i32, ptr @NI_M_CFG_BYPASS_AI_CAL_MASK, align 4, !tbaa !14
%23 = xor i32 %22, -1
%24 = and i32 %21, %23
%25 = icmp eq i32 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %19
%27 = load i32, ptr @EINVAL, align 4, !tbaa !14
%28 = sub nsw i32 0, %27
br label %74
29: ; preds = %19
store i32 %21, ptr %7, align 4, !tbaa !17
br label %74
30: ; preds = %15
%31 = getelementptr inbounds %struct.ni_private, ptr %7, i64 0, i32 1
%32 = load i32, ptr %31, align 4, !tbaa !18
%33 = icmp eq i32 %32, 0
%34 = getelementptr inbounds i32, ptr %3, i64 1
%35 = load i32, ptr %34, align 4, !tbaa !14
%36 = and i32 %35, 15
br i1 %33, label %40, label %37
37: ; preds = %30
store i32 %36, ptr %7, align 4, !tbaa !17
%38 = load i32, ptr @NI6143_CALIB_CHAN_REG, align 4, !tbaa !14
%39 = tail call i32 @ni_writew(ptr noundef nonnull %0, i32 noundef %36, i32 noundef %38) #2
br label %74
40: ; preds = %30
%41 = lshr i32 %35, 4
%42 = and i32 %41, 255
%43 = icmp ult i32 %36, 8
br i1 %43, label %44, label %51
44: ; preds = %40
store i32 %36, ptr %7, align 4, !tbaa !17
%45 = getelementptr inbounds %struct.ni_private, ptr %7, i64 0, i32 2
%46 = load i32, ptr %45, align 4, !tbaa !19
%47 = icmp eq i32 %46, 0
br i1 %47, label %74, label %48
48: ; preds = %44
%49 = load i32, ptr @NI611X_CAL_GAIN_SEL_REG, align 4, !tbaa !14
%50 = tail call i32 @ni_writeb(ptr noundef nonnull %0, i32 noundef %42, i32 noundef %49) #2
br label %74
51: ; preds = %40
%52 = load i32, ptr @EINVAL, align 4, !tbaa !14
%53 = sub nsw i32 0, %52
br label %74
54: ; preds = %13
%55 = getelementptr inbounds i32, ptr %3, i64 3
%56 = load i32, ptr %55, align 4, !tbaa !14
%57 = tail call i32 @ni_min_ai_scan_period_ns(ptr noundef nonnull %0, i32 noundef %56) #2
%58 = getelementptr inbounds i32, ptr %3, i64 1
store i32 %57, ptr %58, align 4, !tbaa !14
%59 = getelementptr inbounds %struct.ni_private, ptr %7, i64 0, i32 2
%60 = load i32, ptr %59, align 4, !tbaa !19
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %66
62: ; preds = %54
%63 = getelementptr inbounds %struct.ni_private, ptr %7, i64 0, i32 1
%64 = load i32, ptr %63, align 4, !tbaa !18
%65 = icmp eq i32 %64, 0
br i1 %65, label %68, label %66
66: ; preds = %62, %54
%67 = getelementptr inbounds i32, ptr %3, i64 2
store i32 0, ptr %67, align 4, !tbaa !14
br label %74
68: ; preds = %62
%69 = load i32, ptr %6, align 4, !tbaa !20
%70 = getelementptr inbounds i32, ptr %3, i64 2
store i32 %69, ptr %70, align 4, !tbaa !14
br label %74
71: ; preds = %13
%72 = load i32, ptr @EINVAL, align 4, !tbaa !14
%73 = sub nsw i32 0, %72
br label %74
74: ; preds = %48, %44, %29, %37, %51, %66, %68, %71, %26, %10
%75 = phi i32 [ %12, %10 ], [ %73, %71 ], [ %28, %26 ], [ %53, %51 ], [ 0, %68 ], [ 0, %66 ], [ 2, %37 ], [ 2, %29 ], [ 2, %44 ], [ 2, %48 ]
ret i32 %75
}
declare i32 @ni_writew(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ni_writeb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ni_min_ai_scan_period_ns(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"comedi_device", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"comedi_insn", !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !13, i64 12}
!16 = !{!"ni_private", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!17 = !{!16, !13, i64 0}
!18 = !{!16, !13, i64 4}
!19 = !{!16, !13, i64 8}
!20 = !{!21, !13, i64 0}
!21 = !{!"ni_board_struct", !13, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_mio_common.c_ni_ai_insn_config.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_mio_common.c_ni_ai_insn_config.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@NI_M_CFG_BYPASS_AI_CAL_MASK = common local_unnamed_addr global i32 0, align 4
@NI6143_CALIB_CHAN_REG = common local_unnamed_addr global i32 0, align 4
@NI611X_CAL_GAIN_SEL_REG = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ni_ai_insn_config], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ni_ai_insn_config(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2, ptr nocapture noundef %3) #0 {
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = load ptr, ptr %0, align 8, !tbaa !11
%8 = load i32, ptr %2, align 4, !tbaa !12
%9 = icmp slt i32 %8, 1
br i1 %9, label %10, label %13
10: ; preds = %4
%11 = load i32, ptr @EINVAL, align 4, !tbaa !15
%12 = sub nsw i32 0, %11
br label %74
13: ; preds = %4
%14 = load i32, ptr %3, align 4, !tbaa !15
switch i32 %14, label %71 [
i32 129, label %15
i32 128, label %54
]
15: ; preds = %13
%16 = getelementptr inbounds i8, ptr %7, i64 12
%17 = load i32, ptr %16, align 4, !tbaa !16
%18 = icmp eq i32 %17, 0
br i1 %18, label %30, label %19
19: ; preds = %15
%20 = getelementptr inbounds i8, ptr %3, i64 4
%21 = load i32, ptr %20, align 4, !tbaa !15
%22 = load i32, ptr @NI_M_CFG_BYPASS_AI_CAL_MASK, align 4, !tbaa !15
%23 = xor i32 %22, -1
%24 = and i32 %21, %23
%25 = icmp eq i32 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %19
%27 = load i32, ptr @EINVAL, align 4, !tbaa !15
%28 = sub nsw i32 0, %27
br label %74
29: ; preds = %19
store i32 %21, ptr %7, align 4, !tbaa !18
br label %74
30: ; preds = %15
%31 = getelementptr inbounds i8, ptr %7, i64 4
%32 = load i32, ptr %31, align 4, !tbaa !19
%33 = icmp eq i32 %32, 0
%34 = getelementptr inbounds i8, ptr %3, i64 4
%35 = load i32, ptr %34, align 4, !tbaa !15
%36 = and i32 %35, 15
br i1 %33, label %40, label %37
37: ; preds = %30
store i32 %36, ptr %7, align 4, !tbaa !18
%38 = load i32, ptr @NI6143_CALIB_CHAN_REG, align 4, !tbaa !15
%39 = tail call i32 @ni_writew(ptr noundef nonnull %0, i32 noundef %36, i32 noundef %38) #2
br label %74
40: ; preds = %30
%41 = lshr i32 %35, 4
%42 = and i32 %41, 255
%43 = icmp ult i32 %36, 8
br i1 %43, label %44, label %51
44: ; preds = %40
store i32 %36, ptr %7, align 4, !tbaa !18
%45 = getelementptr inbounds i8, ptr %7, i64 8
%46 = load i32, ptr %45, align 4, !tbaa !20
%47 = icmp eq i32 %46, 0
br i1 %47, label %74, label %48
48: ; preds = %44
%49 = load i32, ptr @NI611X_CAL_GAIN_SEL_REG, align 4, !tbaa !15
%50 = tail call i32 @ni_writeb(ptr noundef nonnull %0, i32 noundef %42, i32 noundef %49) #2
br label %74
51: ; preds = %40
%52 = load i32, ptr @EINVAL, align 4, !tbaa !15
%53 = sub nsw i32 0, %52
br label %74
54: ; preds = %13
%55 = getelementptr inbounds i8, ptr %3, i64 12
%56 = load i32, ptr %55, align 4, !tbaa !15
%57 = tail call i32 @ni_min_ai_scan_period_ns(ptr noundef nonnull %0, i32 noundef %56) #2
%58 = getelementptr inbounds i8, ptr %3, i64 4
store i32 %57, ptr %58, align 4, !tbaa !15
%59 = getelementptr inbounds i8, ptr %7, i64 8
%60 = load i32, ptr %59, align 4, !tbaa !20
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %66
62: ; preds = %54
%63 = getelementptr inbounds i8, ptr %7, i64 4
%64 = load i32, ptr %63, align 4, !tbaa !19
%65 = icmp eq i32 %64, 0
br i1 %65, label %68, label %66
66: ; preds = %62, %54
%67 = getelementptr inbounds i8, ptr %3, i64 8
store i32 0, ptr %67, align 4, !tbaa !15
br label %74
68: ; preds = %62
%69 = load i32, ptr %6, align 4, !tbaa !21
%70 = getelementptr inbounds i8, ptr %3, i64 8
store i32 %69, ptr %70, align 4, !tbaa !15
br label %74
71: ; preds = %13
%72 = load i32, ptr @EINVAL, align 4, !tbaa !15
%73 = sub nsw i32 0, %72
br label %74
74: ; preds = %48, %44, %29, %37, %51, %66, %68, %71, %26, %10
%75 = phi i32 [ %12, %10 ], [ %73, %71 ], [ %28, %26 ], [ %53, %51 ], [ 0, %68 ], [ 0, %66 ], [ 2, %37 ], [ 2, %29 ], [ 2, %44 ], [ 2, %48 ]
ret i32 %75
}
declare i32 @ni_writew(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ni_writeb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ni_min_ai_scan_period_ns(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"comedi_device", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"comedi_insn", !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!17, !14, i64 12}
!17 = !{!"ni_private", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!18 = !{!17, !14, i64 0}
!19 = !{!17, !14, i64 4}
!20 = !{!17, !14, i64 8}
!21 = !{!22, !14, i64 0}
!22 = !{!"ni_board_struct", !14, i64 0}
| linux_drivers_staging_comedi_drivers_extr_ni_mio_common.c_ni_ai_insn_config |
; ModuleID = 'AnghaBench/timescaledb/src/extr_extension.c_ts_extension_schema_oid.c'
source_filename = "AnghaBench/timescaledb/src/extr_extension.c_ts_extension_schema_oid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@InvalidOid = dso_local local_unnamed_addr global i64 0, align 8
@ExtensionRelationId = dso_local local_unnamed_addr global i32 0, align 4
@AccessShareLock = dso_local local_unnamed_addr global i32 0, align 4
@Anum_pg_extension_extname = dso_local local_unnamed_addr global i32 0, align 4
@BTEqualStrategyNumber = dso_local local_unnamed_addr global i32 0, align 4
@F_NAMEEQ = dso_local local_unnamed_addr global i32 0, align 4
@namein = dso_local local_unnamed_addr global i32 0, align 4
@EXTENSION_NAME = dso_local local_unnamed_addr global i32 0, align 4
@ExtensionNameIndexId = dso_local local_unnamed_addr global i32 0, align 4
@Anum_pg_extension_extnamespace = dso_local local_unnamed_addr global i32 0, align 4
@ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"extension schema not found\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i64 @ts_extension_schema_oid() local_unnamed_addr #0 {
%1 = alloca [1 x i32], align 4
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 1, ptr %2, align 4, !tbaa !5
%3 = load i64, ptr @InvalidOid, align 8, !tbaa !9
%4 = load i32, ptr @ExtensionRelationId, align 4, !tbaa !5
%5 = load i32, ptr @AccessShareLock, align 4, !tbaa !5
%6 = tail call i32 @heap_open(i32 noundef %4, i32 noundef %5) #3
%7 = load i32, ptr @Anum_pg_extension_extname, align 4, !tbaa !5
%8 = load i32, ptr @BTEqualStrategyNumber, align 4, !tbaa !5
%9 = load i32, ptr @F_NAMEEQ, align 4, !tbaa !5
%10 = load i32, ptr @namein, align 4, !tbaa !5
%11 = load i32, ptr @EXTENSION_NAME, align 4, !tbaa !5
%12 = tail call i32 @CStringGetDatum(i32 noundef %11) #3
%13 = tail call i32 @DirectFunctionCall1(i32 noundef %10, i32 noundef %12) #3
%14 = call i32 @ScanKeyInit(ptr noundef nonnull %1, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %13) #3
%15 = load i32, ptr @ExtensionNameIndexId, align 4, !tbaa !5
%16 = call i32 @systable_beginscan(i32 noundef %6, i32 noundef %15, i32 noundef 1, ptr noundef null, i32 noundef 1, ptr noundef nonnull %1) #3
%17 = call i32 @systable_getnext(i32 noundef %16) #3
%18 = call i64 @HeapTupleIsValid(i32 noundef %17) #3
%19 = icmp eq i64 %18, 0
br i1 %19, label %28, label %20
20: ; preds = %0
%21 = load i32, ptr @Anum_pg_extension_extnamespace, align 4, !tbaa !5
%22 = call i32 @RelationGetDescr(i32 noundef %6) #3
%23 = call i32 @heap_getattr(i32 noundef %17, i32 noundef %21, i32 noundef %22, ptr noundef nonnull %2) #3
%24 = load i32, ptr %2, align 4, !tbaa !5
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %20
%27 = call i64 @DatumGetObjectId(i32 noundef %23) #3
br label %28
28: ; preds = %20, %26, %0
%29 = phi i64 [ %3, %20 ], [ %27, %26 ], [ %3, %0 ]
%30 = call i32 @systable_endscan(i32 noundef %16) #3
%31 = load i32, ptr @AccessShareLock, align 4, !tbaa !5
%32 = call i32 @heap_close(i32 noundef %6, i32 noundef %31) #3
%33 = load i64, ptr @InvalidOid, align 8, !tbaa !9
%34 = icmp eq i64 %29, %33
br i1 %34, label %35, label %38
35: ; preds = %28
%36 = load i32, ptr @ERROR, align 4, !tbaa !5
%37 = call i32 @elog(i32 noundef %36, ptr noundef nonnull @.str) #3
br label %38
38: ; preds = %35, %28
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret i64 %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @heap_open(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ScanKeyInit(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @DirectFunctionCall1(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @CStringGetDatum(i32 noundef) local_unnamed_addr #2
declare i32 @systable_beginscan(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @systable_getnext(i32 noundef) local_unnamed_addr #2
declare i64 @HeapTupleIsValid(i32 noundef) local_unnamed_addr #2
declare i32 @heap_getattr(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RelationGetDescr(i32 noundef) local_unnamed_addr #2
declare i64 @DatumGetObjectId(i32 noundef) local_unnamed_addr #2
declare i32 @systable_endscan(i32 noundef) local_unnamed_addr #2
declare i32 @heap_close(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @elog(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/timescaledb/src/extr_extension.c_ts_extension_schema_oid.c'
source_filename = "AnghaBench/timescaledb/src/extr_extension.c_ts_extension_schema_oid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@InvalidOid = common local_unnamed_addr global i64 0, align 8
@ExtensionRelationId = common local_unnamed_addr global i32 0, align 4
@AccessShareLock = common local_unnamed_addr global i32 0, align 4
@Anum_pg_extension_extname = common local_unnamed_addr global i32 0, align 4
@BTEqualStrategyNumber = common local_unnamed_addr global i32 0, align 4
@F_NAMEEQ = common local_unnamed_addr global i32 0, align 4
@namein = common local_unnamed_addr global i32 0, align 4
@EXTENSION_NAME = common local_unnamed_addr global i32 0, align 4
@ExtensionNameIndexId = common local_unnamed_addr global i32 0, align 4
@Anum_pg_extension_extnamespace = common local_unnamed_addr global i32 0, align 4
@ERROR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"extension schema not found\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @ts_extension_schema_oid() local_unnamed_addr #0 {
%1 = alloca [1 x i32], align 4
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 1, ptr %2, align 4, !tbaa !6
%3 = load i64, ptr @InvalidOid, align 8, !tbaa !10
%4 = load i32, ptr @ExtensionRelationId, align 4, !tbaa !6
%5 = load i32, ptr @AccessShareLock, align 4, !tbaa !6
%6 = tail call i32 @heap_open(i32 noundef %4, i32 noundef %5) #3
%7 = load i32, ptr @Anum_pg_extension_extname, align 4, !tbaa !6
%8 = load i32, ptr @BTEqualStrategyNumber, align 4, !tbaa !6
%9 = load i32, ptr @F_NAMEEQ, align 4, !tbaa !6
%10 = load i32, ptr @namein, align 4, !tbaa !6
%11 = load i32, ptr @EXTENSION_NAME, align 4, !tbaa !6
%12 = tail call i32 @CStringGetDatum(i32 noundef %11) #3
%13 = tail call i32 @DirectFunctionCall1(i32 noundef %10, i32 noundef %12) #3
%14 = call i32 @ScanKeyInit(ptr noundef nonnull %1, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %13) #3
%15 = load i32, ptr @ExtensionNameIndexId, align 4, !tbaa !6
%16 = call i32 @systable_beginscan(i32 noundef %6, i32 noundef %15, i32 noundef 1, ptr noundef null, i32 noundef 1, ptr noundef nonnull %1) #3
%17 = call i32 @systable_getnext(i32 noundef %16) #3
%18 = call i64 @HeapTupleIsValid(i32 noundef %17) #3
%19 = icmp eq i64 %18, 0
br i1 %19, label %28, label %20
20: ; preds = %0
%21 = load i32, ptr @Anum_pg_extension_extnamespace, align 4, !tbaa !6
%22 = call i32 @RelationGetDescr(i32 noundef %6) #3
%23 = call i32 @heap_getattr(i32 noundef %17, i32 noundef %21, i32 noundef %22, ptr noundef nonnull %2) #3
%24 = load i32, ptr %2, align 4, !tbaa !6
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %20
%27 = call i64 @DatumGetObjectId(i32 noundef %23) #3
br label %28
28: ; preds = %20, %26, %0
%29 = phi i64 [ %3, %20 ], [ %27, %26 ], [ %3, %0 ]
%30 = call i32 @systable_endscan(i32 noundef %16) #3
%31 = load i32, ptr @AccessShareLock, align 4, !tbaa !6
%32 = call i32 @heap_close(i32 noundef %6, i32 noundef %31) #3
%33 = load i64, ptr @InvalidOid, align 8, !tbaa !10
%34 = icmp eq i64 %29, %33
br i1 %34, label %35, label %38
35: ; preds = %28
%36 = load i32, ptr @ERROR, align 4, !tbaa !6
%37 = call i32 @elog(i32 noundef %36, ptr noundef nonnull @.str) #3
br label %38
38: ; preds = %35, %28
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret i64 %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @heap_open(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ScanKeyInit(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @DirectFunctionCall1(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @CStringGetDatum(i32 noundef) local_unnamed_addr #2
declare i32 @systable_beginscan(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @systable_getnext(i32 noundef) local_unnamed_addr #2
declare i64 @HeapTupleIsValid(i32 noundef) local_unnamed_addr #2
declare i32 @heap_getattr(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RelationGetDescr(i32 noundef) local_unnamed_addr #2
declare i64 @DatumGetObjectId(i32 noundef) local_unnamed_addr #2
declare i32 @systable_endscan(i32 noundef) local_unnamed_addr #2
declare i32 @heap_close(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @elog(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| timescaledb_src_extr_extension.c_ts_extension_schema_oid |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_svq1dec.c_svq1_parse_string.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_svq1dec.c_svq1_parse_string.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@string_table = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @svq1_parse_string], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @svq1_parse_string(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = tail call i64 @get_bits(ptr noundef %0, i32 noundef 8) #2
store i64 %3, ptr %1, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %20, label %5
5: ; preds = %2
%6 = load ptr, ptr @string_table, align 8, !tbaa !9
%7 = getelementptr inbounds i64, ptr %6, i64 %3
br label %8
8: ; preds = %5, %8
%9 = phi i64 [ 1, %5 ], [ %17, %8 ]
%10 = phi ptr [ %7, %5 ], [ %16, %8 ]
%11 = load i64, ptr %10, align 8, !tbaa !5
%12 = tail call i64 @get_bits(ptr noundef %0, i32 noundef 8) #2
%13 = xor i64 %12, %11
%14 = getelementptr inbounds i64, ptr %1, i64 %9
store i64 %13, ptr %14, align 8, !tbaa !5
%15 = load ptr, ptr @string_table, align 8, !tbaa !9
%16 = getelementptr inbounds i64, ptr %15, i64 %12
%17 = add nuw i64 %9, 1
%18 = load i64, ptr %1, align 8, !tbaa !5
%19 = icmp ugt i64 %18, %9
br i1 %19, label %8, label %20, !llvm.loop !11
20: ; preds = %8, %2
%21 = phi i64 [ 1, %2 ], [ %17, %8 ]
%22 = getelementptr inbounds i64, ptr %1, i64 %21
store i64 0, ptr %22, align 8, !tbaa !5
ret void
}
declare i64 @get_bits(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_svq1dec.c_svq1_parse_string.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_svq1dec.c_svq1_parse_string.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@string_table = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @svq1_parse_string], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @svq1_parse_string(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = tail call i64 @get_bits(ptr noundef %0, i32 noundef 8) #2
store i64 %3, ptr %1, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %20, label %5
5: ; preds = %2
%6 = load ptr, ptr @string_table, align 8, !tbaa !10
%7 = getelementptr inbounds i64, ptr %6, i64 %3
br label %8
8: ; preds = %5, %8
%9 = phi i64 [ 1, %5 ], [ %17, %8 ]
%10 = phi ptr [ %7, %5 ], [ %16, %8 ]
%11 = load i64, ptr %10, align 8, !tbaa !6
%12 = tail call i64 @get_bits(ptr noundef %0, i32 noundef 8) #2
%13 = xor i64 %12, %11
%14 = getelementptr inbounds i64, ptr %1, i64 %9
store i64 %13, ptr %14, align 8, !tbaa !6
%15 = load ptr, ptr @string_table, align 8, !tbaa !10
%16 = getelementptr inbounds i64, ptr %15, i64 %12
%17 = add nuw nsw i64 %9, 1
%18 = load i64, ptr %1, align 8, !tbaa !6
%19 = icmp ugt i64 %18, %9
br i1 %19, label %8, label %20, !llvm.loop !12
20: ; preds = %8, %2
%21 = phi i64 [ 1, %2 ], [ %17, %8 ]
%22 = getelementptr inbounds i64, ptr %1, i64 %21
store i64 0, ptr %22, align 8, !tbaa !6
ret void
}
declare i64 @get_bits(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| FFmpeg_libavcodec_extr_svq1dec.c_svq1_parse_string |
; ModuleID = 'AnghaBench/RetroArch/cores/extr_dynamic_dummy.c_libretro_dummy_retro_serialize_size.c'
source_filename = "AnghaBench/RetroArch/cores/extr_dynamic_dummy.c_libretro_dummy_retro_serialize_size.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local noundef i64 @libretro_dummy_retro_serialize_size() local_unnamed_addr #0 {
ret i64 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/RetroArch/cores/extr_dynamic_dummy.c_libretro_dummy_retro_serialize_size.c'
source_filename = "AnghaBench/RetroArch/cores/extr_dynamic_dummy.c_libretro_dummy_retro_serialize_size.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define noundef i64 @libretro_dummy_retro_serialize_size() local_unnamed_addr #0 {
ret i64 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| RetroArch_cores_extr_dynamic_dummy.c_libretro_dummy_retro_serialize_size |
; ModuleID = 'AnghaBench/linux/drivers/firmware/tegra/extr_bpmp.c_tegra_bpmp_ack_response.c'
source_filename = "AnghaBench/linux/drivers/firmware/tegra/extr_bpmp.c_tegra_bpmp_ack_response.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @tegra_bpmp_ack_response], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @tegra_bpmp_ack_response(ptr noundef %0) #0 {
%2 = tail call ptr @channel_to_ops(ptr noundef %0) #2
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = tail call i32 %3(ptr noundef %0) #2
ret i32 %4
}
declare ptr @channel_to_ops(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"tegra_bpmp_ops", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/firmware/tegra/extr_bpmp.c_tegra_bpmp_ack_response.c'
source_filename = "AnghaBench/linux/drivers/firmware/tegra/extr_bpmp.c_tegra_bpmp_ack_response.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @tegra_bpmp_ack_response], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @tegra_bpmp_ack_response(ptr noundef %0) #0 {
%2 = tail call ptr @channel_to_ops(ptr noundef %0) #2
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = tail call i32 %3(ptr noundef %0) #2
ret i32 %4
}
declare ptr @channel_to_ops(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"tegra_bpmp_ops", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_firmware_tegra_extr_bpmp.c_tegra_bpmp_ack_response |
; ModuleID = 'AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcpim.c_bfa_tskim_match_scope.c'
source_filename = "AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcpim.c_bfa_tskim_match_scope.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.scsi_lun = type { i32 }
%struct.bfa_tskim_s = type { i32, i32 }
@BFA_TRUE = dso_local local_unnamed_addr global i32 0, align 4
@BFA_FALSE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bfa_tskim_match_scope], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bfa_tskim_match_scope(ptr noundef %0, i32 %1) #0 {
%3 = alloca %struct.scsi_lun, align 4
store i32 %1, ptr %3, align 4
%4 = load i32, ptr %0, align 4, !tbaa !5
switch i32 %4, label %12 [
i32 128, label %5
i32 132, label %7
i32 130, label %7
i32 129, label %7
i32 131, label %7
]
5: ; preds = %2
%6 = load i32, ptr @BFA_TRUE, align 4, !tbaa !10
br label %15
7: ; preds = %2, %2, %2, %2
%8 = getelementptr inbounds %struct.bfa_tskim_s, ptr %0, i64 0, i32 1
%9 = call i32 @memcmp(ptr noundef nonnull %8, ptr noundef nonnull %3, i32 noundef 4) #2
%10 = icmp eq i32 %9, 0
%11 = zext i1 %10 to i32
br label %15
12: ; preds = %2
%13 = tail call i32 @WARN_ON(i32 noundef 1) #2
%14 = load i32, ptr @BFA_FALSE, align 4, !tbaa !10
br label %15
15: ; preds = %12, %7, %5
%16 = phi i32 [ %14, %12 ], [ %11, %7 ], [ %6, %5 ]
ret i32 %16
}
declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"bfa_tskim_s", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcpim.c_bfa_tskim_match_scope.c'
source_filename = "AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcpim.c_bfa_tskim_match_scope.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.scsi_lun = type { i32 }
@BFA_TRUE = common local_unnamed_addr global i32 0, align 4
@BFA_FALSE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bfa_tskim_match_scope], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bfa_tskim_match_scope(ptr noundef %0, i64 %1) #0 {
%3 = alloca %struct.scsi_lun, align 4
%4 = trunc i64 %1 to i32
store i32 %4, ptr %3, align 4
%5 = load i32, ptr %0, align 4, !tbaa !6
switch i32 %5, label %13 [
i32 128, label %6
i32 132, label %8
i32 130, label %8
i32 129, label %8
i32 131, label %8
]
6: ; preds = %2
%7 = load i32, ptr @BFA_TRUE, align 4, !tbaa !11
br label %16
8: ; preds = %2, %2, %2, %2
%9 = getelementptr inbounds i8, ptr %0, i64 4
%10 = call i32 @memcmp(ptr noundef nonnull %9, ptr noundef nonnull %3, i32 noundef 4) #2
%11 = icmp eq i32 %10, 0
%12 = zext i1 %11 to i32
br label %16
13: ; preds = %2
%14 = tail call i32 @WARN_ON(i32 noundef 1) #2
%15 = load i32, ptr @BFA_FALSE, align 4, !tbaa !11
br label %16
16: ; preds = %13, %8, %6
%17 = phi i32 [ %15, %13 ], [ %12, %8 ], [ %7, %6 ]
ret i32 %17
}
declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"bfa_tskim_s", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_drivers_scsi_bfa_extr_bfa_fcpim.c_bfa_tskim_match_scope |
; ModuleID = 'AnghaBench/linux/sound/pci/ice1712/extr_delta.c_delta_open_spdif.c'
source_filename = "AnghaBench/linux/sound/pci/ice1712/extr_delta.c_delta_open_spdif.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @delta_open_spdif], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal void @delta_open_spdif(ptr nocapture noundef %0, ptr nocapture readnone %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
store i32 %3, ptr %4, align 4, !tbaa !11
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"snd_ice1712", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!6, !8, i64 4}
| ; ModuleID = 'AnghaBench/linux/sound/pci/ice1712/extr_delta.c_delta_open_spdif.c'
source_filename = "AnghaBench/linux/sound/pci/ice1712/extr_delta.c_delta_open_spdif.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @delta_open_spdif], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal void @delta_open_spdif(ptr nocapture noundef %0, ptr nocapture readnone %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %3, ptr %4, align 4, !tbaa !12
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"snd_ice1712", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0, !9, i64 4}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!7, !9, i64 4}
| linux_sound_pci_ice1712_extr_delta.c_delta_open_spdif |
; ModuleID = 'AnghaBench/linux/fs/adfs/extr_super.c_adfs_show_options.c'
source_filename = "AnghaBench/linux/fs/adfs/extr_super.c_adfs_show_options.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.adfs_sb_info = type { i64, i64, i64, i32, i32 }
@GLOBAL_ROOT_UID = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c",uid=%u\00", align 1
@init_user_ns = dso_local global i32 0, align 4
@GLOBAL_ROOT_GID = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [8 x i8] c",gid=%u\00", align 1
@ADFS_DEFAULT_OWNER_MASK = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [12 x i8] c",ownmask=%o\00", align 1
@ADFS_DEFAULT_OTHER_MASK = dso_local local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [12 x i8] c",othmask=%o\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c",ftsuffix=%u\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @adfs_show_options], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @adfs_show_options(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = tail call ptr @ADFS_SB(i32 noundef %3) #2
%5 = getelementptr inbounds %struct.adfs_sb_info, ptr %4, i64 0, i32 4
%6 = load i32, ptr %5, align 4, !tbaa !10
%7 = load i32, ptr @GLOBAL_ROOT_UID, align 4, !tbaa !13
%8 = tail call i32 @uid_eq(i32 noundef %6, i32 noundef %7) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load i32, ptr %5, align 4, !tbaa !10
%12 = tail call i64 @from_kuid_munged(ptr noundef nonnull @init_user_ns, i32 noundef %11) #2
%13 = tail call i32 @seq_printf(ptr noundef %0, ptr noundef nonnull @.str, i64 noundef %12) #2
br label %14
14: ; preds = %10, %2
%15 = getelementptr inbounds %struct.adfs_sb_info, ptr %4, i64 0, i32 3
%16 = load i32, ptr %15, align 8, !tbaa !14
%17 = load i32, ptr @GLOBAL_ROOT_GID, align 4, !tbaa !13
%18 = tail call i32 @gid_eq(i32 noundef %16, i32 noundef %17) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %14
%21 = load i32, ptr %15, align 8, !tbaa !14
%22 = tail call i64 @from_kgid_munged(ptr noundef nonnull @init_user_ns, i32 noundef %21) #2
%23 = tail call i32 @seq_printf(ptr noundef %0, ptr noundef nonnull @.str.1, i64 noundef %22) #2
br label %24
24: ; preds = %20, %14
%25 = load i64, ptr %4, align 8, !tbaa !15
%26 = load i64, ptr @ADFS_DEFAULT_OWNER_MASK, align 8, !tbaa !16
%27 = icmp eq i64 %25, %26
br i1 %27, label %30, label %28
28: ; preds = %24
%29 = tail call i32 @seq_printf(ptr noundef %0, ptr noundef nonnull @.str.2, i64 noundef %25) #2
br label %30
30: ; preds = %28, %24
%31 = getelementptr inbounds %struct.adfs_sb_info, ptr %4, i64 0, i32 1
%32 = load i64, ptr %31, align 8, !tbaa !17
%33 = load i64, ptr @ADFS_DEFAULT_OTHER_MASK, align 8, !tbaa !16
%34 = icmp eq i64 %32, %33
br i1 %34, label %37, label %35
35: ; preds = %30
%36 = tail call i32 @seq_printf(ptr noundef %0, ptr noundef nonnull @.str.3, i64 noundef %32) #2
br label %37
37: ; preds = %35, %30
%38 = getelementptr inbounds %struct.adfs_sb_info, ptr %4, i64 0, i32 2
%39 = load i64, ptr %38, align 8, !tbaa !18
%40 = icmp eq i64 %39, 0
br i1 %40, label %43, label %41
41: ; preds = %37
%42 = tail call i32 @seq_printf(ptr noundef %0, ptr noundef nonnull @.str.4, i64 noundef %39) #2
br label %43
43: ; preds = %41, %37
ret i32 0
}
declare ptr @ADFS_SB(i32 noundef) local_unnamed_addr #1
declare i32 @uid_eq(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @seq_printf(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @from_kuid_munged(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gid_eq(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @from_kgid_munged(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"dentry", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 28}
!11 = !{!"adfs_sb_info", !12, i64 0, !12, i64 8, !12, i64 16, !7, i64 24, !7, i64 28}
!12 = !{!"long", !8, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!11, !7, i64 24}
!15 = !{!11, !12, i64 0}
!16 = !{!12, !12, i64 0}
!17 = !{!11, !12, i64 8}
!18 = !{!11, !12, i64 16}
| ; ModuleID = 'AnghaBench/linux/fs/adfs/extr_super.c_adfs_show_options.c'
source_filename = "AnghaBench/linux/fs/adfs/extr_super.c_adfs_show_options.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GLOBAL_ROOT_UID = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c",uid=%u\00", align 1
@init_user_ns = common global i32 0, align 4
@GLOBAL_ROOT_GID = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [8 x i8] c",gid=%u\00", align 1
@ADFS_DEFAULT_OWNER_MASK = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [12 x i8] c",ownmask=%o\00", align 1
@ADFS_DEFAULT_OTHER_MASK = common local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [12 x i8] c",othmask=%o\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c",ftsuffix=%u\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @adfs_show_options], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @adfs_show_options(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = tail call ptr @ADFS_SB(i32 noundef %3) #2
%5 = getelementptr inbounds i8, ptr %4, i64 28
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = load i32, ptr @GLOBAL_ROOT_UID, align 4, !tbaa !14
%8 = tail call i32 @uid_eq(i32 noundef %6, i32 noundef %7) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load i32, ptr %5, align 4, !tbaa !11
%12 = tail call i64 @from_kuid_munged(ptr noundef nonnull @init_user_ns, i32 noundef %11) #2
%13 = tail call i32 @seq_printf(ptr noundef %0, ptr noundef nonnull @.str, i64 noundef %12) #2
br label %14
14: ; preds = %10, %2
%15 = getelementptr inbounds i8, ptr %4, i64 24
%16 = load i32, ptr %15, align 8, !tbaa !15
%17 = load i32, ptr @GLOBAL_ROOT_GID, align 4, !tbaa !14
%18 = tail call i32 @gid_eq(i32 noundef %16, i32 noundef %17) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %14
%21 = load i32, ptr %15, align 8, !tbaa !15
%22 = tail call i64 @from_kgid_munged(ptr noundef nonnull @init_user_ns, i32 noundef %21) #2
%23 = tail call i32 @seq_printf(ptr noundef %0, ptr noundef nonnull @.str.1, i64 noundef %22) #2
br label %24
24: ; preds = %20, %14
%25 = load i64, ptr %4, align 8, !tbaa !16
%26 = load i64, ptr @ADFS_DEFAULT_OWNER_MASK, align 8, !tbaa !17
%27 = icmp eq i64 %25, %26
br i1 %27, label %30, label %28
28: ; preds = %24
%29 = tail call i32 @seq_printf(ptr noundef %0, ptr noundef nonnull @.str.2, i64 noundef %25) #2
br label %30
30: ; preds = %28, %24
%31 = getelementptr inbounds i8, ptr %4, i64 8
%32 = load i64, ptr %31, align 8, !tbaa !18
%33 = load i64, ptr @ADFS_DEFAULT_OTHER_MASK, align 8, !tbaa !17
%34 = icmp eq i64 %32, %33
br i1 %34, label %37, label %35
35: ; preds = %30
%36 = tail call i32 @seq_printf(ptr noundef %0, ptr noundef nonnull @.str.3, i64 noundef %32) #2
br label %37
37: ; preds = %35, %30
%38 = getelementptr inbounds i8, ptr %4, i64 16
%39 = load i64, ptr %38, align 8, !tbaa !19
%40 = icmp eq i64 %39, 0
br i1 %40, label %43, label %41
41: ; preds = %37
%42 = tail call i32 @seq_printf(ptr noundef %0, ptr noundef nonnull @.str.4, i64 noundef %39) #2
br label %43
43: ; preds = %41, %37
ret i32 0
}
declare ptr @ADFS_SB(i32 noundef) local_unnamed_addr #1
declare i32 @uid_eq(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @seq_printf(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @from_kuid_munged(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gid_eq(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @from_kgid_munged(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"dentry", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 28}
!12 = !{!"adfs_sb_info", !13, i64 0, !13, i64 8, !13, i64 16, !8, i64 24, !8, i64 28}
!13 = !{!"long", !9, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!12, !8, i64 24}
!16 = !{!12, !13, i64 0}
!17 = !{!13, !13, i64 0}
!18 = !{!12, !13, i64 8}
!19 = !{!12, !13, i64 16}
| linux_fs_adfs_extr_super.c_adfs_show_options |
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_thread_map.c_comm_init.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_thread_map.c_comm_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { ptr }
@.str = private unnamed_addr constant [6 x i8] c"dummy\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"Couldn't resolve comm name for pid %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @comm_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @comm_init(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = tail call i32 @perf_thread_map__pid(ptr noundef %0, i32 noundef %1) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
store ptr null, ptr %3, align 8, !tbaa !5
%5 = icmp eq i32 %4, -1
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = tail call dereferenceable_or_null(6) ptr @strdup(ptr noundef nonnull @.str)
br label %15
8: ; preds = %2
%9 = call i64 @get_comm(ptr noundef nonnull %3, i32 noundef %4) #4
%10 = icmp eq i64 %9, 0
br i1 %10, label %13, label %11
11: ; preds = %8
%12 = call i32 @pr_warning(ptr noundef nonnull @.str.1, i32 noundef %4) #4
br label %13
13: ; preds = %11, %8
%14 = load ptr, ptr %3, align 8, !tbaa !5
br label %15
15: ; preds = %13, %6
%16 = phi ptr [ %14, %13 ], [ %7, %6 ]
%17 = load ptr, ptr %0, align 8, !tbaa !9
%18 = sext i32 %1 to i64
%19 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i64 %18
store ptr %16, ptr %19, align 8, !tbaa !11
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @perf_thread_map__pid(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #3
declare i64 @get_comm(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pr_warning(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"perf_thread_map", !6, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"TYPE_2__", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_thread_map.c_comm_init.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_thread_map.c_comm_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { ptr }
@.str = private unnamed_addr constant [6 x i8] c"dummy\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"Couldn't resolve comm name for pid %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @comm_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @comm_init(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = tail call i32 @perf_thread_map__pid(ptr noundef %0, i32 noundef %1) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
store ptr null, ptr %3, align 8, !tbaa !6
%5 = icmp eq i32 %4, -1
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = tail call dereferenceable_or_null(6) ptr @strdup(ptr noundef nonnull @.str)
br label %15
8: ; preds = %2
%9 = call i64 @get_comm(ptr noundef nonnull %3, i32 noundef %4) #4
%10 = icmp eq i64 %9, 0
br i1 %10, label %13, label %11
11: ; preds = %8
%12 = call i32 @pr_warning(ptr noundef nonnull @.str.1, i32 noundef %4) #4
br label %13
13: ; preds = %11, %8
%14 = load ptr, ptr %3, align 8, !tbaa !6
br label %15
15: ; preds = %13, %6
%16 = phi ptr [ %14, %13 ], [ %7, %6 ]
%17 = load ptr, ptr %0, align 8, !tbaa !10
%18 = sext i32 %1 to i64
%19 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i64 %18
store ptr %16, ptr %19, align 8, !tbaa !12
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @perf_thread_map__pid(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #3
declare i64 @get_comm(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pr_warning(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"perf_thread_map", !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0}
| linux_tools_perf_util_extr_thread_map.c_comm_init |
; ModuleID = 'AnghaBench/h2o/t/00unit/lib/http3/extr_........libhttp3qpack.c_emit_insert_without_nameref.c'
source_filename = "AnghaBench/h2o/t/00unit/lib/http3/extr_........libhttp3qpack.c_emit_insert_without_nameref.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_9__ = type { i32, ptr }
%struct.TYPE_8__ = type { i32, i32 }
@H2O_HPACK_ENCODE_INT_MAX_LENGTH = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @emit_insert_without_nameref], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @emit_insert_without_nameref(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3, i64 %4) #0 {
%6 = trunc i64 %4 to i32
%7 = lshr i64 %4, 32
%8 = trunc i64 %7 to i32
%9 = load i32, ptr %2, align 8, !tbaa !5
%10 = load i32, ptr @H2O_HPACK_ENCODE_INT_MAX_LENGTH, align 4, !tbaa !11
%11 = shl nsw i32 %10, 1
%12 = load i32, ptr %3, align 4, !tbaa !12
%13 = add i32 %9, %6
%14 = add i32 %13, %11
%15 = add i32 %14, %12
%16 = tail call i32 @h2o_vector_reserve(ptr noundef %1, ptr noundef nonnull %2, i32 noundef %15) #2
%17 = getelementptr inbounds %struct.TYPE_9__, ptr %2, i64 0, i32 1
%18 = load ptr, ptr %17, align 8, !tbaa !14
%19 = load i32, ptr %2, align 8, !tbaa !5
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
store i32 64, ptr %21, align 4, !tbaa !11
%22 = getelementptr inbounds %struct.TYPE_8__, ptr %3, i64 0, i32 1
%23 = load i32, ptr %22, align 4, !tbaa !15
%24 = load i32, ptr %3, align 4, !tbaa !12
%25 = tail call i32 @flatten_string(ptr noundef nonnull %2, i32 noundef %23, i32 noundef %24, i32 noundef 5, i32 noundef 0) #2
%26 = tail call i32 @flatten_string(ptr noundef nonnull %2, i32 noundef %8, i32 noundef %6, i32 noundef 7, i32 noundef 0) #2
ret void
}
declare i32 @h2o_vector_reserve(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @flatten_string(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_9__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_8__", !7, i64 0, !7, i64 4}
!14 = !{!6, !10, i64 8}
!15 = !{!13, !7, i64 4}
| ; ModuleID = 'AnghaBench/h2o/t/00unit/lib/http3/extr_........libhttp3qpack.c_emit_insert_without_nameref.c'
source_filename = "AnghaBench/h2o/t/00unit/lib/http3/extr_........libhttp3qpack.c_emit_insert_without_nameref.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@H2O_HPACK_ENCODE_INT_MAX_LENGTH = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @emit_insert_without_nameref], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @emit_insert_without_nameref(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3, i64 %4) #0 {
%6 = trunc i64 %4 to i32
%7 = lshr i64 %4, 32
%8 = trunc nuw i64 %7 to i32
%9 = load i32, ptr %2, align 8, !tbaa !6
%10 = load i32, ptr @H2O_HPACK_ENCODE_INT_MAX_LENGTH, align 4, !tbaa !12
%11 = shl nsw i32 %10, 1
%12 = load i32, ptr %3, align 4, !tbaa !13
%13 = add i32 %9, %6
%14 = add i32 %13, %11
%15 = add i32 %14, %12
%16 = tail call i32 @h2o_vector_reserve(ptr noundef %1, ptr noundef nonnull %2, i32 noundef %15) #2
%17 = getelementptr inbounds i8, ptr %2, i64 8
%18 = load ptr, ptr %17, align 8, !tbaa !15
%19 = load i32, ptr %2, align 8, !tbaa !6
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
store i32 64, ptr %21, align 4, !tbaa !12
%22 = getelementptr inbounds i8, ptr %3, i64 4
%23 = load i32, ptr %22, align 4, !tbaa !16
%24 = load i32, ptr %3, align 4, !tbaa !13
%25 = tail call i32 @flatten_string(ptr noundef nonnull %2, i32 noundef %23, i32 noundef %24, i32 noundef 5, i32 noundef 0) #2
%26 = tail call i32 @flatten_string(ptr noundef nonnull %2, i32 noundef %8, i32 noundef %6, i32 noundef 7, i32 noundef 0) #2
ret void
}
declare i32 @h2o_vector_reserve(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @flatten_string(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_9__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_8__", !8, i64 0, !8, i64 4}
!15 = !{!7, !11, i64 8}
!16 = !{!14, !8, i64 4}
| h2o_t_00unit_lib_http3_extr_........libhttp3qpack.c_emit_insert_without_nameref |
; ModuleID = 'AnghaBench/linux/fs/xfs/libxfs/extr_xfs_inode_buf.c_xfs_dinode_calc_crc.c'
source_filename = "AnghaBench/linux/fs/xfs/libxfs/extr_xfs_inode_buf.c_xfs_dinode_calc_crc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.xfs_dinode = type { i32, i32 }
@XFS_DINODE_CRC_OFF = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @xfs_dinode_calc_crc(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = icmp slt i32 %3, 3
br i1 %4, label %13, label %5
5: ; preds = %2
%6 = tail call i32 @xfs_sb_version_hascrc(ptr noundef %0) #2
%7 = tail call i32 @ASSERT(i32 noundef %6) #2
%8 = load i32, ptr %0, align 4, !tbaa !10
%9 = load i32, ptr @XFS_DINODE_CRC_OFF, align 4, !tbaa !13
%10 = tail call i32 @xfs_start_cksum_update(ptr noundef nonnull %1, i32 noundef %8, i32 noundef %9) #2
%11 = tail call i32 @xfs_end_cksum(i32 noundef %10) #2
%12 = getelementptr inbounds %struct.xfs_dinode, ptr %1, i64 0, i32 1
store i32 %11, ptr %12, align 4, !tbaa !14
br label %13
13: ; preds = %2, %5
ret void
}
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @xfs_sb_version_hascrc(ptr noundef) local_unnamed_addr #1
declare i32 @xfs_start_cksum_update(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xfs_end_cksum(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"xfs_dinode", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"xfs_mount", !12, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/fs/xfs/libxfs/extr_xfs_inode_buf.c_xfs_dinode_calc_crc.c'
source_filename = "AnghaBench/linux/fs/xfs/libxfs/extr_xfs_inode_buf.c_xfs_dinode_calc_crc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@XFS_DINODE_CRC_OFF = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @xfs_dinode_calc_crc(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = icmp slt i32 %3, 3
br i1 %4, label %13, label %5
5: ; preds = %2
%6 = tail call i32 @xfs_sb_version_hascrc(ptr noundef %0) #2
%7 = tail call i32 @ASSERT(i32 noundef %6) #2
%8 = load i32, ptr %0, align 4, !tbaa !11
%9 = load i32, ptr @XFS_DINODE_CRC_OFF, align 4, !tbaa !14
%10 = tail call i32 @xfs_start_cksum_update(ptr noundef nonnull %1, i32 noundef %8, i32 noundef %9) #2
%11 = tail call i32 @xfs_end_cksum(i32 noundef %10) #2
%12 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %11, ptr %12, align 4, !tbaa !15
br label %13
13: ; preds = %2, %5
ret void
}
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @xfs_sb_version_hascrc(ptr noundef) local_unnamed_addr #1
declare i32 @xfs_start_cksum_update(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xfs_end_cksum(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"xfs_dinode", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"xfs_mount", !13, i64 0}
!13 = !{!"TYPE_2__", !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 4}
| linux_fs_xfs_libxfs_extr_xfs_inode_buf.c_xfs_dinode_calc_crc |
; ModuleID = 'AnghaBench/esp-idf/components/wifi_provisioning/proto-c/extr_wifi_scan.pb-c.c_resp_scan_status__free_unpacked.c'
source_filename = "AnghaBench/esp-idf/components/wifi_provisioning/proto-c/extr_wifi_scan.pb-c.c_resp_scan_status__free_unpacked.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@resp_scan_status__descriptor = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @resp_scan_status__free_unpacked(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %10, label %4
4: ; preds = %2
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = icmp eq ptr %5, @resp_scan_status__descriptor
%7 = zext i1 %6 to i32
%8 = tail call i32 @assert(i32 noundef %7) #2
%9 = tail call i32 @protobuf_c_message_free_unpacked(ptr noundef nonnull %0, ptr noundef %1) #2
br label %10
10: ; preds = %2, %4
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @protobuf_c_message_free_unpacked(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/esp-idf/components/wifi_provisioning/proto-c/extr_wifi_scan.pb-c.c_resp_scan_status__free_unpacked.c'
source_filename = "AnghaBench/esp-idf/components/wifi_provisioning/proto-c/extr_wifi_scan.pb-c.c_resp_scan_status__free_unpacked.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@resp_scan_status__descriptor = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @resp_scan_status__free_unpacked(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %10, label %4
4: ; preds = %2
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = icmp eq ptr %5, @resp_scan_status__descriptor
%7 = zext i1 %6 to i32
%8 = tail call i32 @assert(i32 noundef %7) #2
%9 = tail call i32 @protobuf_c_message_free_unpacked(ptr noundef nonnull %0, ptr noundef %1) #2
br label %10
10: ; preds = %2, %4
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @protobuf_c_message_free_unpacked(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| esp-idf_components_wifi_provisioning_proto-c_extr_wifi_scan.pb-c.c_resp_scan_status__free_unpacked |
; ModuleID = 'AnghaBench/linux/lib/extr_parman.c_parman_enlarge.c'
source_filename = "AnghaBench/linux/lib/extr_parman.c_parman_enlarge.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.parman = type { i64, i32, ptr }
%struct.TYPE_2__ = type { i64, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @parman_enlarge], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @parman_enlarge(ptr nocapture noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.parman, ptr %0, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !12
%5 = load i64, ptr %4, align 8, !tbaa !13
%6 = add i64 %5, %2
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !15
%9 = getelementptr inbounds %struct.parman, ptr %0, i64 0, i32 1
%10 = load i32, ptr %9, align 8, !tbaa !16
%11 = tail call i32 %8(i32 noundef %10, i64 noundef %6) #1
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %1
store i64 %6, ptr %0, align 8, !tbaa !5
br label %14
14: ; preds = %1, %13
ret i32 %11
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"parman", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !11, i64 16}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_2__", !7, i64 0, !11, i64 8}
!15 = !{!14, !11, i64 8}
!16 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/linux/lib/extr_parman.c_parman_enlarge.c'
source_filename = "AnghaBench/linux/lib/extr_parman.c_parman_enlarge.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @parman_enlarge], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @parman_enlarge(ptr nocapture noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !13
%5 = load i64, ptr %4, align 8, !tbaa !14
%6 = add i64 %5, %2
%7 = getelementptr inbounds i8, ptr %4, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !16
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = load i32, ptr %9, align 8, !tbaa !17
%11 = tail call i32 %8(i32 noundef %10, i64 noundef %6) #1
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %1
store i64 %6, ptr %0, align 8, !tbaa !6
br label %14
14: ; preds = %1, %13
ret i32 %11
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"parman", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !12, i64 16}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_2__", !8, i64 0, !12, i64 8}
!16 = !{!15, !12, i64 8}
!17 = !{!7, !11, i64 8}
| linux_lib_extr_parman.c_parman_enlarge |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_genrecog.c_is_unconditional.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_genrecog.c_is_unconditional.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.decision_test = type { i64, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
@DT_accept_op = dso_local local_unnamed_addr global i64 0, align 8
@DT_accept_insn = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @is_unconditional], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @is_unconditional(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = load i64, ptr @DT_accept_op, align 8, !tbaa !13
%5 = icmp eq i64 %3, %4
br i1 %5, label %18, label %6
6: ; preds = %2
%7 = load i64, ptr @DT_accept_insn, align 8, !tbaa !13
%8 = icmp eq i64 %3, %7
br i1 %8, label %9, label %18
9: ; preds = %6
switch i32 %1, label %16 [
i32 129, label %10
i32 128, label %18
i32 130, label %15
]
10: ; preds = %9
%11 = getelementptr inbounds %struct.decision_test, ptr %0, i64 0, i32 1
%12 = load i32, ptr %11, align 8, !tbaa !14
%13 = icmp eq i32 %12, 0
%14 = zext i1 %13 to i32
br label %18
15: ; preds = %9
br label %18
16: ; preds = %9
%17 = tail call i32 (...) @gcc_unreachable() #2
br label %18
18: ; preds = %6, %16, %9, %2, %15, %10
%19 = phi i32 [ -1, %15 ], [ %14, %10 ], [ 1, %2 ], [ 1, %9 ], [ 0, %16 ], [ 0, %6 ]
ret i32 %19
}
declare i32 @gcc_unreachable(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"decision_test", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_4__", !11, i64 0}
!11 = !{!"TYPE_3__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !12, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_genrecog.c_is_unconditional.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_genrecog.c_is_unconditional.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DT_accept_op = common local_unnamed_addr global i64 0, align 8
@DT_accept_insn = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @is_unconditional], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 2) i32 @is_unconditional(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = load i64, ptr @DT_accept_op, align 8, !tbaa !14
%5 = icmp eq i64 %3, %4
br i1 %5, label %18, label %6
6: ; preds = %2
%7 = load i64, ptr @DT_accept_insn, align 8, !tbaa !14
%8 = icmp eq i64 %3, %7
br i1 %8, label %9, label %18
9: ; preds = %6
switch i32 %1, label %16 [
i32 129, label %10
i32 128, label %18
i32 130, label %15
]
10: ; preds = %9
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = load i32, ptr %11, align 8, !tbaa !15
%13 = icmp eq i32 %12, 0
%14 = zext i1 %13 to i32
br label %18
15: ; preds = %9
br label %18
16: ; preds = %9
%17 = tail call i32 @gcc_unreachable() #2
br label %18
18: ; preds = %6, %16, %9, %2, %15, %10
%19 = phi i32 [ -1, %15 ], [ %14, %10 ], [ 1, %2 ], [ 1, %9 ], [ 0, %16 ], [ 0, %6 ]
ret i32 %19
}
declare i32 @gcc_unreachable(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"decision_test", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"TYPE_3__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !13, i64 8}
| freebsd_contrib_gcc_extr_genrecog.c_is_unconditional |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/bspc/extr_csg.c_MergeBrushes.c'
source_filename = "AnghaBench/Quake-III-Arena/code/bspc/extr_csg.c_MergeBrushes.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_10__ = type { ptr, ptr }
%struct.TYPE_9__ = type { i64, i64 }
@.str = private unnamed_addr constant [19 x i8] c"%5d brushes merged\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"\0D%5d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local ptr @MergeBrushes(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %74, label %3
3: ; preds = %1
%4 = tail call i32 (ptr, ...) @qprintf(ptr noundef nonnull @.str, i32 noundef 0) #2
br label %5
5: ; preds = %69, %3
%6 = phi ptr [ %0, %3 ], [ %67, %69 ]
%7 = phi i32 [ 0, %3 ], [ %65, %69 ]
br label %8
8: ; preds = %11, %5
%9 = phi ptr [ %6, %5 ], [ %12, %11 ]
%10 = icmp eq ptr %9, null
br i1 %10, label %14, label %11
11: ; preds = %8
%12 = load ptr, ptr %9, align 8, !tbaa !5
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %8, !llvm.loop !10
14: ; preds = %11, %8
%15 = icmp eq ptr %6, null
br i1 %15, label %71, label %16
16: ; preds = %14, %62
%17 = phi ptr [ %67, %62 ], [ null, %14 ]
%18 = phi ptr [ %63, %62 ], [ %9, %14 ]
%19 = phi ptr [ %66, %62 ], [ %6, %14 ]
%20 = phi i32 [ %64, %62 ], [ 0, %14 ]
%21 = phi i32 [ %65, %62 ], [ %7, %14 ]
%22 = getelementptr inbounds %struct.TYPE_10__, ptr %19, i64 0, i32 1
br label %23
23: ; preds = %16, %42
%24 = phi ptr [ %25, %42 ], [ %19, %16 ]
%25 = load ptr, ptr %24, align 8, !tbaa !5
%26 = icmp eq ptr %25, null
br i1 %26, label %60, label %27
27: ; preds = %23
%28 = load ptr, ptr %22, align 8, !tbaa !12
%29 = load i64, ptr %28, align 8, !tbaa !13
%30 = getelementptr inbounds %struct.TYPE_10__, ptr %25, i64 0, i32 1
%31 = load ptr, ptr %30, align 8, !tbaa !12
%32 = load i64, ptr %31, align 8, !tbaa !13
%33 = icmp eq i64 %29, %32
br i1 %33, label %34, label %42
34: ; preds = %27
%35 = getelementptr inbounds %struct.TYPE_9__, ptr %28, i64 0, i32 1
%36 = load i64, ptr %35, align 8, !tbaa !16
%37 = getelementptr inbounds %struct.TYPE_9__, ptr %31, i64 0, i32 1
%38 = load i64, ptr %37, align 8, !tbaa !16
%39 = icmp eq i64 %36, %38
br i1 %39, label %40, label %42
40: ; preds = %34
%41 = tail call ptr @TryMergeBrushes(ptr noundef nonnull %19, ptr noundef nonnull %25) #2
br label %42
42: ; preds = %27, %34, %40
%43 = phi ptr [ %41, %40 ], [ null, %34 ], [ null, %27 ]
%44 = icmp eq ptr %43, null
br i1 %44, label %23, label %45, !llvm.loop !17
45: ; preds = %42
store ptr %43, ptr %18, align 8, !tbaa !5
%46 = load ptr, ptr %25, align 8, !tbaa !5
store ptr %46, ptr %24, align 8, !tbaa !5
%47 = load ptr, ptr %19, align 8, !tbaa !5
%48 = tail call i32 @FreeBrush(ptr noundef nonnull %19) #2
%49 = tail call i32 @FreeBrush(ptr noundef nonnull %25) #2
br label %50
50: ; preds = %53, %45
%51 = phi ptr [ %47, %45 ], [ %54, %53 ]
%52 = icmp eq ptr %51, null
br i1 %52, label %56, label %53
53: ; preds = %50
%54 = load ptr, ptr %51, align 8, !tbaa !5
%55 = icmp eq ptr %54, null
br i1 %55, label %56, label %50, !llvm.loop !18
56: ; preds = %50, %53
%57 = add nsw i32 %20, 1
%58 = add nsw i32 %21, 1
%59 = tail call i32 (ptr, ...) @qprintf(ptr noundef nonnull @.str.1, i32 noundef %21) #2
br label %62
60: ; preds = %23
%61 = load ptr, ptr %19, align 8, !tbaa !5
store ptr %17, ptr %19, align 8, !tbaa !5
br label %62
62: ; preds = %56, %60
%63 = phi ptr [ %51, %56 ], [ %18, %60 ]
%64 = phi i32 [ %57, %56 ], [ %20, %60 ]
%65 = phi i32 [ %58, %56 ], [ %21, %60 ]
%66 = phi ptr [ %47, %56 ], [ %61, %60 ]
%67 = phi ptr [ %17, %56 ], [ %19, %60 ]
%68 = icmp eq ptr %66, null
br i1 %68, label %69, label %16, !llvm.loop !19
69: ; preds = %62
%70 = icmp eq i32 %64, 0
br i1 %70, label %71, label %5, !llvm.loop !20
71: ; preds = %14, %69
%72 = phi ptr [ %67, %69 ], [ null, %14 ]
%73 = tail call i32 (ptr, ...) @qprintf(ptr noundef nonnull @.str.2) #2
br label %74
74: ; preds = %1, %71
%75 = phi ptr [ %72, %71 ], [ null, %1 ]
ret ptr %75
}
declare i32 @qprintf(ptr noundef, ...) local_unnamed_addr #1
declare ptr @TryMergeBrushes(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @FreeBrush(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_10__", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!6, !7, i64 8}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_9__", !15, i64 0, !15, i64 8}
!15 = !{!"long", !8, i64 0}
!16 = !{!14, !15, i64 8}
!17 = distinct !{!17, !11}
!18 = distinct !{!18, !11}
!19 = distinct !{!19, !11}
!20 = distinct !{!20, !11}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/bspc/extr_csg.c_MergeBrushes.c'
source_filename = "AnghaBench/Quake-III-Arena/code/bspc/extr_csg.c_MergeBrushes.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [19 x i8] c"%5d brushes merged\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"\0D%5d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @MergeBrushes(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %74, label %3
3: ; preds = %1
%4 = tail call i32 (ptr, ...) @qprintf(ptr noundef nonnull @.str, i32 noundef 0) #2
br label %5
5: ; preds = %69, %3
%6 = phi ptr [ %0, %3 ], [ %67, %69 ]
%7 = phi i32 [ 0, %3 ], [ %65, %69 ]
br label %8
8: ; preds = %11, %5
%9 = phi ptr [ %6, %5 ], [ %12, %11 ]
%10 = icmp eq ptr %9, null
br i1 %10, label %14, label %11
11: ; preds = %8
%12 = load ptr, ptr %9, align 8, !tbaa !6
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %8, !llvm.loop !11
14: ; preds = %11, %8
%15 = icmp eq ptr %6, null
br i1 %15, label %71, label %16
16: ; preds = %14, %62
%17 = phi ptr [ %67, %62 ], [ null, %14 ]
%18 = phi ptr [ %63, %62 ], [ %9, %14 ]
%19 = phi ptr [ %66, %62 ], [ %6, %14 ]
%20 = phi i32 [ %64, %62 ], [ 0, %14 ]
%21 = phi i32 [ %65, %62 ], [ %7, %14 ]
%22 = getelementptr inbounds i8, ptr %19, i64 8
br label %23
23: ; preds = %16, %42
%24 = phi ptr [ %25, %42 ], [ %19, %16 ]
%25 = load ptr, ptr %24, align 8, !tbaa !6
%26 = icmp eq ptr %25, null
br i1 %26, label %60, label %27
27: ; preds = %23
%28 = load ptr, ptr %22, align 8, !tbaa !13
%29 = load i64, ptr %28, align 8, !tbaa !14
%30 = getelementptr inbounds i8, ptr %25, i64 8
%31 = load ptr, ptr %30, align 8, !tbaa !13
%32 = load i64, ptr %31, align 8, !tbaa !14
%33 = icmp eq i64 %29, %32
br i1 %33, label %34, label %42
34: ; preds = %27
%35 = getelementptr inbounds i8, ptr %28, i64 8
%36 = load i64, ptr %35, align 8, !tbaa !17
%37 = getelementptr inbounds i8, ptr %31, i64 8
%38 = load i64, ptr %37, align 8, !tbaa !17
%39 = icmp eq i64 %36, %38
br i1 %39, label %40, label %42
40: ; preds = %34
%41 = tail call ptr @TryMergeBrushes(ptr noundef nonnull %19, ptr noundef nonnull %25) #2
br label %42
42: ; preds = %27, %34, %40
%43 = phi ptr [ %41, %40 ], [ null, %34 ], [ null, %27 ]
%44 = icmp eq ptr %43, null
br i1 %44, label %23, label %45, !llvm.loop !18
45: ; preds = %42
store ptr %43, ptr %18, align 8, !tbaa !6
%46 = load ptr, ptr %25, align 8, !tbaa !6
store ptr %46, ptr %24, align 8, !tbaa !6
%47 = load ptr, ptr %19, align 8, !tbaa !6
%48 = tail call i32 @FreeBrush(ptr noundef nonnull %19) #2
%49 = tail call i32 @FreeBrush(ptr noundef nonnull %25) #2
br label %50
50: ; preds = %53, %45
%51 = phi ptr [ %47, %45 ], [ %54, %53 ]
%52 = icmp eq ptr %51, null
br i1 %52, label %56, label %53
53: ; preds = %50
%54 = load ptr, ptr %51, align 8, !tbaa !6
%55 = icmp eq ptr %54, null
br i1 %55, label %56, label %50, !llvm.loop !19
56: ; preds = %50, %53
%57 = add nsw i32 %20, 1
%58 = add nsw i32 %21, 1
%59 = tail call i32 (ptr, ...) @qprintf(ptr noundef nonnull @.str.1, i32 noundef %21) #2
br label %62
60: ; preds = %23
%61 = load ptr, ptr %19, align 8, !tbaa !6
store ptr %17, ptr %19, align 8, !tbaa !6
br label %62
62: ; preds = %56, %60
%63 = phi ptr [ %51, %56 ], [ %18, %60 ]
%64 = phi i32 [ %57, %56 ], [ %20, %60 ]
%65 = phi i32 [ %58, %56 ], [ %21, %60 ]
%66 = phi ptr [ %47, %56 ], [ %61, %60 ]
%67 = phi ptr [ %17, %56 ], [ %19, %60 ]
%68 = icmp eq ptr %66, null
br i1 %68, label %69, label %16, !llvm.loop !20
69: ; preds = %62
%70 = icmp eq i32 %64, 0
br i1 %70, label %71, label %5, !llvm.loop !21
71: ; preds = %14, %69
%72 = phi ptr [ %67, %69 ], [ null, %14 ]
%73 = tail call i32 (ptr, ...) @qprintf(ptr noundef nonnull @.str.2) #2
br label %74
74: ; preds = %1, %71
%75 = phi ptr [ %72, %71 ], [ null, %1 ]
ret ptr %75
}
declare i32 @qprintf(ptr noundef, ...) local_unnamed_addr #1
declare ptr @TryMergeBrushes(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @FreeBrush(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_10__", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!7, !8, i64 8}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_9__", !16, i64 0, !16, i64 8}
!16 = !{!"long", !9, i64 0}
!17 = !{!15, !16, i64 8}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
| Quake-III-Arena_code_bspc_extr_csg.c_MergeBrushes |
; ModuleID = 'AnghaBench/freebsd/tests/sys/cddl/zfs/tests/ctime/extr_ctime_001_pos.c_do_chmod.c'
source_filename = "AnghaBench/freebsd/tests/sys/cddl/zfs/tests/ctime/extr_ctime_001_pos.c_do_chmod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ALL_MODE = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i32 0, align 4
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"chmod(%s, ALL_MODE)\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @do_chmod(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %14, label %3
3: ; preds = %1
%4 = load i32, ptr @ALL_MODE, align 4, !tbaa !5
%5 = tail call i32 @chmod(ptr noundef nonnull %0, i32 noundef %4)
%6 = icmp ne i32 %5, -1
%7 = load i32, ptr @errno, align 4
%8 = icmp eq i32 %7, 0
%9 = select i1 %6, i1 true, i1 %8
br i1 %9, label %14, label %10
10: ; preds = %3
%11 = load i32, ptr @stderr, align 4, !tbaa !5
%12 = tail call i32 @fprintf(i32 noundef %11, ptr noundef nonnull @.str, ptr noundef nonnull %0) #4
%13 = tail call i32 @exit(i32 noundef 1) #5
unreachable
14: ; preds = %3, %1
%15 = phi i32 [ -1, %1 ], [ 0, %3 ]
ret i32 %15
}
; Function Attrs: nofree nounwind
declare noundef i32 @chmod(ptr nocapture noundef readonly, i32 noundef) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/tests/sys/cddl/zfs/tests/ctime/extr_ctime_001_pos.c_do_chmod.c'
source_filename = "AnghaBench/freebsd/tests/sys/cddl/zfs/tests/ctime/extr_ctime_001_pos.c_do_chmod.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ALL_MODE = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i32 0, align 4
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"chmod(%s, ALL_MODE)\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 1) i32 @do_chmod(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %14, label %3
3: ; preds = %1
%4 = load i32, ptr @ALL_MODE, align 4, !tbaa !6
%5 = tail call i32 @chmod(ptr noundef nonnull %0, i32 noundef %4)
%6 = icmp ne i32 %5, -1
%7 = load i32, ptr @errno, align 4
%8 = icmp eq i32 %7, 0
%9 = select i1 %6, i1 true, i1 %8
br i1 %9, label %14, label %10
10: ; preds = %3
%11 = load i32, ptr @stderr, align 4, !tbaa !6
%12 = tail call i32 @fprintf(i32 noundef %11, ptr noundef nonnull @.str, ptr noundef nonnull %0) #4
%13 = tail call i32 @exit(i32 noundef 1) #5
unreachable
14: ; preds = %3, %1
%15 = phi i32 [ -1, %1 ], [ 0, %3 ]
ret i32 %15
}
; Function Attrs: nofree nounwind
declare noundef i32 @chmod(ptr nocapture noundef readonly, i32 noundef) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_tests_sys_cddl_zfs_tests_ctime_extr_ctime_001_pos.c_do_chmod |
; ModuleID = 'AnghaBench/htop/extr_Action.c_actionIncSearch.c'
source_filename = "AnghaBench/htop/extr_Action.c_actionIncSearch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@INC_SEARCH = dso_local local_unnamed_addr global i32 0, align 4
@HTOP_REFRESH = dso_local local_unnamed_addr global i32 0, align 4
@HTOP_KEEP_FOLLOWING = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @actionIncSearch], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @actionIncSearch(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = inttoptr i64 %2 to ptr
%4 = load i32, ptr %3, align 4, !tbaa !10
%5 = load i32, ptr @INC_SEARCH, align 4, !tbaa !13
%6 = tail call i32 @IncSet_activate(i32 noundef %4, i32 noundef %5, i64 noundef %2) #2
%7 = load i32, ptr @HTOP_REFRESH, align 4, !tbaa !13
%8 = load i32, ptr @HTOP_KEEP_FOLLOWING, align 4, !tbaa !13
%9 = or i32 %8, %7
ret i32 %9
}
declare i32 @IncSet_activate(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/htop/extr_Action.c_actionIncSearch.c'
source_filename = "AnghaBench/htop/extr_Action.c_actionIncSearch.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@INC_SEARCH = common local_unnamed_addr global i32 0, align 4
@HTOP_REFRESH = common local_unnamed_addr global i32 0, align 4
@HTOP_KEEP_FOLLOWING = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @actionIncSearch], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @actionIncSearch(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = inttoptr i64 %2 to ptr
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = load i32, ptr @INC_SEARCH, align 4, !tbaa !14
%6 = tail call i32 @IncSet_activate(i32 noundef %4, i32 noundef %5, i64 noundef %2) #2
%7 = load i32, ptr @HTOP_REFRESH, align 4, !tbaa !14
%8 = load i32, ptr @HTOP_KEEP_FOLLOWING, align 4, !tbaa !14
%9 = or i32 %8, %7
ret i32 %9
}
declare i32 @IncSet_activate(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_5__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
| htop_extr_Action.c_actionIncSearch |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/rcar-du/extr_rcar_du_writeback.c_rcar_du_wb_prepare_job.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/rcar-du/extr_rcar_du_writeback.c_rcar_du_wb_prepare_job.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.drm_writeback_job = type { ptr, i32 }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rcar_du_wb_prepare_job], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rcar_du_wb_prepare_job(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = tail call ptr @wb_to_rcar_crtc(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.drm_writeback_job, ptr %1, i64 0, i32 1
%5 = load i32, ptr %4, align 8, !tbaa !5
%6 = icmp eq i32 %5, 0
br i1 %6, label %23, label %7
7: ; preds = %2
%8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11
%9 = tail call ptr @kzalloc(i32 noundef 4, i32 noundef %8) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = load i32, ptr @ENOMEM, align 4, !tbaa !11
%13 = sub nsw i32 0, %12
br label %23
14: ; preds = %7
%15 = load i32, ptr %3, align 4, !tbaa !12
%16 = load i32, ptr %4, align 8, !tbaa !5
%17 = load i32, ptr %9, align 4, !tbaa !14
%18 = tail call i32 @rcar_du_vsp_map_fb(i32 noundef %15, i32 noundef %16, i32 noundef %17) #2
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %14
%21 = tail call i32 @kfree(ptr noundef nonnull %9) #2
br label %23
22: ; preds = %14
store ptr %9, ptr %1, align 8, !tbaa !16
br label %23
23: ; preds = %2, %22, %20, %11
%24 = phi i32 [ %18, %20 ], [ 0, %22 ], [ %13, %11 ], [ 0, %2 ]
ret i32 %24
}
declare ptr @wb_to_rcar_crtc(ptr noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rcar_du_vsp_map_fb(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"drm_writeback_job", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!13, !10, i64 0}
!13 = !{!"rcar_du_crtc", !10, i64 0}
!14 = !{!15, !10, i64 0}
!15 = !{!"rcar_du_wb_job", !10, i64 0}
!16 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/rcar-du/extr_rcar_du_writeback.c_rcar_du_wb_prepare_job.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/rcar-du/extr_rcar_du_writeback.c_rcar_du_wb_prepare_job.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rcar_du_wb_prepare_job], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rcar_du_wb_prepare_job(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = tail call ptr @wb_to_rcar_crtc(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = load i32, ptr %4, align 8, !tbaa !6
%6 = icmp eq i32 %5, 0
br i1 %6, label %23, label %7
7: ; preds = %2
%8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12
%9 = tail call ptr @kzalloc(i32 noundef 4, i32 noundef %8) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%13 = sub nsw i32 0, %12
br label %23
14: ; preds = %7
%15 = load i32, ptr %3, align 4, !tbaa !13
%16 = load i32, ptr %4, align 8, !tbaa !6
%17 = load i32, ptr %9, align 4, !tbaa !15
%18 = tail call i32 @rcar_du_vsp_map_fb(i32 noundef %15, i32 noundef %16, i32 noundef %17) #2
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %14
%21 = tail call i32 @kfree(ptr noundef nonnull %9) #2
br label %23
22: ; preds = %14
store ptr %9, ptr %1, align 8, !tbaa !17
br label %23
23: ; preds = %2, %22, %20, %11
%24 = phi i32 [ %18, %20 ], [ 0, %22 ], [ %13, %11 ], [ 0, %2 ]
ret i32 %24
}
declare ptr @wb_to_rcar_crtc(ptr noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rcar_du_vsp_map_fb(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"drm_writeback_job", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"rcar_du_crtc", !11, i64 0}
!15 = !{!16, !11, i64 0}
!16 = !{!"rcar_du_wb_job", !11, i64 0}
!17 = !{!7, !8, i64 0}
| linux_drivers_gpu_drm_rcar-du_extr_rcar_du_writeback.c_rcar_du_wb_prepare_job |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ocfs2/extr_dir.c_ocfs2_empty_dir_dx.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ocfs2/extr_dir.c_ocfs2_empty_dir_dx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ocfs2_empty_dir_priv = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ocfs2_empty_dir_dx], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ocfs2_empty_dir_dx(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store ptr null, ptr %3, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store ptr null, ptr %4, align 8, !tbaa !5
store i32 1, ptr %1, align 4, !tbaa !9
%5 = call i32 @ocfs2_read_inode_block(ptr noundef %0, ptr noundef nonnull %3) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %2
%8 = call i32 @mlog_errno(i32 noundef %5) #3
br label %26
9: ; preds = %2
%10 = load ptr, ptr %3, align 8, !tbaa !5
%11 = load i64, ptr %10, align 8, !tbaa !12
%12 = inttoptr i64 %11 to ptr
%13 = call i32 @ocfs2_read_dx_root(ptr noundef %0, ptr noundef %12, ptr noundef nonnull %4) #3
%14 = icmp eq i32 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %9
%16 = call i32 @mlog_errno(i32 noundef %13) #3
br label %26
17: ; preds = %9
%18 = load ptr, ptr %4, align 8, !tbaa !5
%19 = load i64, ptr %18, align 8, !tbaa !12
%20 = inttoptr i64 %19 to ptr
%21 = load i32, ptr %20, align 4, !tbaa !15
%22 = call i32 @le32_to_cpu(i32 noundef %21) #3
%23 = icmp eq i32 %22, 2
br i1 %23, label %26, label %24
24: ; preds = %17
%25 = getelementptr inbounds %struct.ocfs2_empty_dir_priv, ptr %1, i64 0, i32 1
store i32 1, ptr %25, align 4, !tbaa !17
br label %26
26: ; preds = %17, %24, %15, %7
%27 = phi i32 [ %5, %7 ], [ %13, %15 ], [ 0, %24 ], [ 0, %17 ]
%28 = load ptr, ptr %3, align 8, !tbaa !5
%29 = call i32 @brelse(ptr noundef %28) #3
%30 = load ptr, ptr %4, align 8, !tbaa !5
%31 = call i32 @brelse(ptr noundef %30) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %27
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ocfs2_read_inode_block(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mlog_errno(i32 noundef) local_unnamed_addr #2
declare i32 @ocfs2_read_dx_root(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @brelse(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"ocfs2_empty_dir_priv", !11, i64 0, !11, i64 4}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"buffer_head", !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !11, i64 0}
!16 = !{!"ocfs2_dx_root_block", !11, i64 0}
!17 = !{!10, !11, i64 4}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ocfs2/extr_dir.c_ocfs2_empty_dir_dx.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ocfs2/extr_dir.c_ocfs2_empty_dir_dx.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ocfs2_empty_dir_dx], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ocfs2_empty_dir_dx(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store ptr null, ptr %3, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store ptr null, ptr %4, align 8, !tbaa !6
store i32 1, ptr %1, align 4, !tbaa !10
%5 = call i32 @ocfs2_read_inode_block(ptr noundef %0, ptr noundef nonnull %3) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %2
%8 = call i32 @mlog_errno(i32 noundef %5) #3
br label %26
9: ; preds = %2
%10 = load ptr, ptr %3, align 8, !tbaa !6
%11 = load i64, ptr %10, align 8, !tbaa !13
%12 = inttoptr i64 %11 to ptr
%13 = call i32 @ocfs2_read_dx_root(ptr noundef %0, ptr noundef %12, ptr noundef nonnull %4) #3
%14 = icmp eq i32 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %9
%16 = call i32 @mlog_errno(i32 noundef %13) #3
br label %26
17: ; preds = %9
%18 = load ptr, ptr %4, align 8, !tbaa !6
%19 = load i64, ptr %18, align 8, !tbaa !13
%20 = inttoptr i64 %19 to ptr
%21 = load i32, ptr %20, align 4, !tbaa !16
%22 = call i32 @le32_to_cpu(i32 noundef %21) #3
%23 = icmp eq i32 %22, 2
br i1 %23, label %26, label %24
24: ; preds = %17
%25 = getelementptr inbounds i8, ptr %1, i64 4
store i32 1, ptr %25, align 4, !tbaa !18
br label %26
26: ; preds = %17, %24, %15, %7
%27 = phi i32 [ %5, %7 ], [ %13, %15 ], [ 0, %24 ], [ 0, %17 ]
%28 = load ptr, ptr %3, align 8, !tbaa !6
%29 = call i32 @brelse(ptr noundef %28) #3
%30 = load ptr, ptr %4, align 8, !tbaa !6
%31 = call i32 @brelse(ptr noundef %30) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %27
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ocfs2_read_inode_block(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mlog_errno(i32 noundef) local_unnamed_addr #2
declare i32 @ocfs2_read_dx_root(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @brelse(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"ocfs2_empty_dir_priv", !12, i64 0, !12, i64 4}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"buffer_head", !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!17, !12, i64 0}
!17 = !{!"ocfs2_dx_root_block", !12, i64 0}
!18 = !{!11, !12, i64 4}
| fastsocket_kernel_fs_ocfs2_extr_dir.c_ocfs2_empty_dir_dx |
; ModuleID = 'AnghaBench/php-src/ext/mbstring/libmbfl/filters/extr_mbfilter_cp5022x.c_mbfl_filt_conv_jis_ms_wchar.c'
source_filename = "AnghaBench/php-src/ext/mbstring/libmbfl/filters/extr_mbfilter_cp5022x.c_mbfl_filt_conv_jis_ms_wchar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32, i32, ptr }
@MBFL_WCSGROUP_MASK = dso_local local_unnamed_addr global i32 0, align 4
@MBFL_WCSGROUP_THROUGH = dso_local local_unnamed_addr global i32 0, align 4
@jisx0208_ucs_table_size = dso_local local_unnamed_addr global i32 0, align 4
@jisx0208_ucs_table = dso_local local_unnamed_addr global ptr null, align 8
@cp932ext1_ucs_table_min = dso_local local_unnamed_addr global i32 0, align 4
@cp932ext1_ucs_table_max = dso_local local_unnamed_addr global i32 0, align 4
@cp932ext1_ucs_table = dso_local local_unnamed_addr global ptr null, align 8
@cp932ext2_ucs_table_min = dso_local local_unnamed_addr global i32 0, align 4
@cp932ext2_ucs_table_max = dso_local local_unnamed_addr global i32 0, align 4
@cp932ext2_ucs_table = dso_local local_unnamed_addr global ptr null, align 8
@cp932ext3_ucs_table_min = dso_local local_unnamed_addr global i32 0, align 4
@cp932ext3_ucs_table_max = dso_local local_unnamed_addr global i32 0, align 4
@cp932ext3_ucs_table = dso_local local_unnamed_addr global ptr null, align 8
@MBFL_WCSPLANE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@MBFL_WCSPLANE_JIS0208 = dso_local local_unnamed_addr global i32 0, align 4
@jisx0212_ucs_table_size = dso_local local_unnamed_addr global i32 0, align 4
@jisx0212_ucs_table = dso_local local_unnamed_addr global ptr null, align 8
@MBFL_WCSPLANE_JIS0212 = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @mbfl_filt_conv_jis_ms_wchar(i32 noundef returned %0, ptr nocapture noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 3
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 2
%5 = and i32 %0, -3
%6 = icmp eq i32 %5, 64
%7 = icmp eq i32 %0, 68
%8 = icmp eq i32 %0, 40
br label %9
9: ; preds = %206, %2
%10 = load i32, ptr %1, align 8, !tbaa !5
%11 = and i32 %10, 15
switch i32 %11, label %247 [
i32 0, label %12
i32 1, label %81
i32 2, label %199
i32 3, label %212
i32 4, label %223
i32 5, label %237
]
12: ; preds = %9
switch i32 %0, label %17 [
i32 27, label %13
i32 14, label %15
i32 15, label %16
]
13: ; preds = %12
%14 = add nsw i32 %10, 2
store i32 %14, ptr %1, align 8, !tbaa !5
br label %248
15: ; preds = %12
store i32 32, ptr %1, align 8, !tbaa !5
br label %248
16: ; preds = %12
store i32 0, ptr %1, align 8, !tbaa !5
br label %248
17: ; preds = %12
%18 = icmp eq i32 %10, 16
%19 = icmp eq i32 %0, 92
%20 = and i1 %19, %18
br i1 %20, label %21, label %26
21: ; preds = %17
%22 = load ptr, ptr %3, align 8, !tbaa !11
%23 = load i32, ptr %4, align 8, !tbaa !12
%24 = tail call i32 %22(i32 noundef 165, i32 noundef %23) #2
%25 = tail call i32 @CK(i32 noundef %24) #2
br label %248
26: ; preds = %17
%27 = icmp eq i32 %0, 126
%28 = and i1 %27, %18
br i1 %28, label %29, label %34
29: ; preds = %26
%30 = load ptr, ptr %3, align 8, !tbaa !11
%31 = load i32, ptr %4, align 8, !tbaa !12
%32 = tail call i32 %30(i32 noundef 8254, i32 noundef %31) #2
%33 = tail call i32 @CK(i32 noundef %32) #2
br label %248
34: ; preds = %26
%35 = icmp eq i32 %10, 32
%36 = add i32 %0, -33
%37 = icmp ult i32 %36, 63
%38 = and i1 %37, %35
br i1 %38, label %39, label %45
39: ; preds = %34
%40 = load ptr, ptr %3, align 8, !tbaa !11
%41 = add nuw nsw i32 %0, 65344
%42 = load i32, ptr %4, align 8, !tbaa !12
%43 = tail call i32 %40(i32 noundef %41, i32 noundef %42) #2
%44 = tail call i32 @CK(i32 noundef %43) #2
br label %248
45: ; preds = %34
%46 = icmp eq i32 %10, 128
br i1 %46, label %51, label %47
47: ; preds = %45
%48 = icmp eq i32 %10, 144
%49 = icmp ult i32 %36, 114
%50 = and i1 %49, %48
br i1 %50, label %53, label %56
51: ; preds = %45
%52 = icmp ult i32 %36, 114
br i1 %52, label %53, label %56
53: ; preds = %51, %47
%54 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1
store i32 %0, ptr %54, align 4, !tbaa !13
%55 = add nuw nsw i32 %10, 1
store i32 %55, ptr %1, align 8, !tbaa !5
br label %248
56: ; preds = %51, %47
%57 = icmp ult i32 %0, 128
br i1 %57, label %58, label %63
58: ; preds = %56
%59 = load ptr, ptr %3, align 8, !tbaa !11
%60 = load i32, ptr %4, align 8, !tbaa !12
%61 = tail call i32 %59(i32 noundef %0, i32 noundef %60) #2
%62 = tail call i32 @CK(i32 noundef %61) #2
br label %248
63: ; preds = %56
%64 = add i32 %0, -161
%65 = icmp ult i32 %64, 63
br i1 %65, label %66, label %72
66: ; preds = %63
%67 = load ptr, ptr %3, align 8, !tbaa !11
%68 = add nuw nsw i32 %0, 65216
%69 = load i32, ptr %4, align 8, !tbaa !12
%70 = tail call i32 %67(i32 noundef %68, i32 noundef %69) #2
%71 = tail call i32 @CK(i32 noundef %70) #2
br label %248
72: ; preds = %63
%73 = load i32, ptr @MBFL_WCSGROUP_MASK, align 4, !tbaa !14
%74 = and i32 %73, %0
%75 = load i32, ptr @MBFL_WCSGROUP_THROUGH, align 4, !tbaa !14
%76 = or i32 %74, %75
%77 = load ptr, ptr %3, align 8, !tbaa !11
%78 = load i32, ptr %4, align 8, !tbaa !12
%79 = tail call i32 %77(i32 noundef %76, i32 noundef %78) #2
%80 = tail call i32 @CK(i32 noundef %79) #2
br label %248
81: ; preds = %9
%82 = and i32 %10, -16
store i32 %82, ptr %1, align 8, !tbaa !5
%83 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1
%84 = load i32, ptr %83, align 4, !tbaa !13
%85 = add i32 %0, -33
%86 = icmp ult i32 %85, 94
br i1 %86, label %87, label %175
87: ; preds = %81
%88 = mul i32 %84, 94
%89 = add nuw nsw i32 %0, -3102
%90 = add i32 %89, %88
%91 = add nsw i32 %90, -33
%92 = icmp eq i32 %82, 128
%93 = icmp sgt i32 %90, 32
br i1 %92, label %94, label %152
94: ; preds = %87
%95 = load i32, ptr @jisx0208_ucs_table_size, align 4
%96 = icmp slt i32 %91, %95
%97 = select i1 %93, i1 %96, i1 false
br i1 %97, label %98, label %102
98: ; preds = %94
%99 = load ptr, ptr @jisx0208_ucs_table, align 8, !tbaa !15
%100 = zext nneg i32 %91 to i64
%101 = getelementptr inbounds i32, ptr %99, i64 %100
br label %139
102: ; preds = %94
%103 = load i32, ptr @cp932ext1_ucs_table_min, align 4, !tbaa !14
%104 = icmp sge i32 %91, %103
%105 = load i32, ptr @cp932ext1_ucs_table_max, align 4
%106 = icmp slt i32 %91, %105
%107 = select i1 %104, i1 %106, i1 false
br i1 %107, label %108, label %113
108: ; preds = %102
%109 = load ptr, ptr @cp932ext1_ucs_table, align 8, !tbaa !15
%110 = sub nsw i32 %91, %103
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i32, ptr %109, i64 %111
br label %139
113: ; preds = %102
%114 = load i32, ptr @cp932ext2_ucs_table_min, align 4, !tbaa !14
%115 = icmp sge i32 %91, %114
%116 = load i32, ptr @cp932ext2_ucs_table_max, align 4
%117 = icmp slt i32 %91, %116
%118 = select i1 %115, i1 %117, i1 false
br i1 %118, label %119, label %124
119: ; preds = %113
%120 = load ptr, ptr @cp932ext2_ucs_table, align 8, !tbaa !15
%121 = sub nsw i32 %91, %114
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i32, ptr %120, i64 %122
br label %139
124: ; preds = %113
%125 = load i32, ptr @cp932ext3_ucs_table_min, align 4, !tbaa !14
%126 = icmp sge i32 %91, %125
%127 = load i32, ptr @cp932ext3_ucs_table_max, align 4
%128 = icmp slt i32 %91, %127
%129 = select i1 %126, i1 %128, i1 false
br i1 %129, label %130, label %135
130: ; preds = %124
%131 = load ptr, ptr @cp932ext3_ucs_table, align 8, !tbaa !15
%132 = sub nsw i32 %91, %125
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds i32, ptr %131, i64 %133
br label %139
135: ; preds = %124
%136 = add i32 %90, -8869
%137 = icmp ult i32 %136, 1880
%138 = add nuw nsw i32 %90, 48475
br i1 %137, label %142, label %145
139: ; preds = %98, %119, %130, %108
%140 = phi ptr [ %112, %108 ], [ %134, %130 ], [ %123, %119 ], [ %101, %98 ]
%141 = load i32, ptr %140, align 4, !tbaa !14
br label %142
142: ; preds = %139, %135
%143 = phi i32 [ %138, %135 ], [ %141, %139 ]
%144 = icmp slt i32 %143, 1
br i1 %144, label %145, label %169
145: ; preds = %135, %142
%146 = shl i32 %84, 8
%147 = or disjoint i32 %146, %0
%148 = load i32, ptr @MBFL_WCSPLANE_MASK, align 4, !tbaa !14
%149 = and i32 %148, %147
%150 = load i32, ptr @MBFL_WCSPLANE_JIS0208, align 4, !tbaa !14
%151 = or i32 %149, %150
br label %169
152: ; preds = %87
%153 = load i32, ptr @jisx0212_ucs_table_size, align 4
%154 = icmp slt i32 %91, %153
%155 = select i1 %93, i1 %154, i1 false
br i1 %155, label %156, label %162
156: ; preds = %152
%157 = load ptr, ptr @jisx0212_ucs_table, align 8, !tbaa !15
%158 = zext nneg i32 %91 to i64
%159 = getelementptr inbounds i32, ptr %157, i64 %158
%160 = load i32, ptr %159, align 4, !tbaa !14
%161 = icmp slt i32 %160, 1
br i1 %161, label %162, label %169
162: ; preds = %152, %156
%163 = shl i32 %84, 8
%164 = or disjoint i32 %163, %0
%165 = load i32, ptr @MBFL_WCSPLANE_MASK, align 4, !tbaa !14
%166 = and i32 %165, %164
%167 = load i32, ptr @MBFL_WCSPLANE_JIS0212, align 4, !tbaa !14
%168 = or i32 %166, %167
br label %169
169: ; preds = %156, %162, %142, %145
%170 = phi i32 [ %151, %145 ], [ %143, %142 ], [ %168, %162 ], [ %160, %156 ]
%171 = load ptr, ptr %3, align 8, !tbaa !11
%172 = load i32, ptr %4, align 8, !tbaa !12
%173 = tail call i32 %171(i32 noundef %170, i32 noundef %172) #2
%174 = tail call i32 @CK(i32 noundef %173) #2
br label %248
175: ; preds = %81
%176 = icmp eq i32 %0, 27
br i1 %176, label %177, label %179
177: ; preds = %175
%178 = or disjoint i32 %82, 2
store i32 %178, ptr %1, align 8, !tbaa !5
br label %248
179: ; preds = %175
%180 = icmp ult i32 %0, 33
%181 = icmp eq i32 %0, 127
%182 = or i1 %180, %181
br i1 %182, label %183, label %188
183: ; preds = %179
%184 = load ptr, ptr %3, align 8, !tbaa !11
%185 = load i32, ptr %4, align 8, !tbaa !12
%186 = tail call i32 %184(i32 noundef %0, i32 noundef %185) #2
%187 = tail call i32 @CK(i32 noundef %186) #2
br label %248
188: ; preds = %179
%189 = shl i32 %84, 8
%190 = or i32 %189, %0
%191 = load i32, ptr @MBFL_WCSGROUP_MASK, align 4, !tbaa !14
%192 = and i32 %191, %190
%193 = load i32, ptr @MBFL_WCSGROUP_THROUGH, align 4, !tbaa !14
%194 = or i32 %192, %193
%195 = load ptr, ptr %3, align 8, !tbaa !11
%196 = load i32, ptr %4, align 8, !tbaa !12
%197 = tail call i32 %195(i32 noundef %194, i32 noundef %196) #2
%198 = tail call i32 @CK(i32 noundef %197) #2
br label %248
199: ; preds = %9
switch i32 %0, label %204 [
i32 36, label %200
i32 40, label %202
]
200: ; preds = %199
%201 = add nsw i32 %10, 1
store i32 %201, ptr %1, align 8, !tbaa !5
br label %248
202: ; preds = %199
%203 = add nsw i32 %10, 3
store i32 %203, ptr %1, align 8, !tbaa !5
br label %248
204: ; preds = %199
%205 = and i32 %10, -16
store i32 %205, ptr %1, align 8, !tbaa !5
br label %206
206: ; preds = %204, %217, %227, %241
%207 = phi i32 [ 27, %204 ], [ 36, %217 ], [ 40, %227 ], [ 40, %241 ]
%208 = load ptr, ptr %3, align 8, !tbaa !11
%209 = load i32, ptr %4, align 8, !tbaa !12
%210 = tail call i32 %208(i32 noundef %207, i32 noundef %209) #2
%211 = tail call i32 @CK(i32 noundef %210) #2
br label %9
212: ; preds = %9
br i1 %6, label %213, label %214
213: ; preds = %212
store i32 128, ptr %1, align 8, !tbaa !5
br label %248
214: ; preds = %212
br i1 %8, label %215, label %217
215: ; preds = %214
%216 = add nsw i32 %10, 1
store i32 %216, ptr %1, align 8, !tbaa !5
br label %248
217: ; preds = %214
%218 = and i32 %10, -16
store i32 %218, ptr %1, align 8, !tbaa !5
%219 = load ptr, ptr %3, align 8, !tbaa !11
%220 = load i32, ptr %4, align 8, !tbaa !12
%221 = tail call i32 %219(i32 noundef 27, i32 noundef %220) #2
%222 = tail call i32 @CK(i32 noundef %221) #2
br label %206
223: ; preds = %9
br i1 %6, label %224, label %225
224: ; preds = %223
store i32 128, ptr %1, align 8, !tbaa !5
br label %248
225: ; preds = %223
br i1 %7, label %226, label %227
226: ; preds = %225
store i32 144, ptr %1, align 8, !tbaa !5
br label %248
227: ; preds = %225
%228 = and i32 %10, -16
store i32 %228, ptr %1, align 8, !tbaa !5
%229 = load ptr, ptr %3, align 8, !tbaa !11
%230 = load i32, ptr %4, align 8, !tbaa !12
%231 = tail call i32 %229(i32 noundef 27, i32 noundef %230) #2
%232 = tail call i32 @CK(i32 noundef %231) #2
%233 = load ptr, ptr %3, align 8, !tbaa !11
%234 = load i32, ptr %4, align 8, !tbaa !12
%235 = tail call i32 %233(i32 noundef 36, i32 noundef %234) #2
%236 = tail call i32 @CK(i32 noundef %235) #2
br label %206
237: ; preds = %9
switch i32 %0, label %241 [
i32 72, label %238
i32 66, label %238
i32 74, label %239
i32 73, label %240
]
238: ; preds = %237, %237
store i32 0, ptr %1, align 8, !tbaa !5
br label %248
239: ; preds = %237
store i32 16, ptr %1, align 8, !tbaa !5
br label %248
240: ; preds = %237
store i32 32, ptr %1, align 8, !tbaa !5
br label %248
241: ; preds = %237
%242 = and i32 %10, -16
store i32 %242, ptr %1, align 8, !tbaa !5
%243 = load ptr, ptr %3, align 8, !tbaa !11
%244 = load i32, ptr %4, align 8, !tbaa !12
%245 = tail call i32 %243(i32 noundef 27, i32 noundef %244) #2
%246 = tail call i32 @CK(i32 noundef %245) #2
br label %206
247: ; preds = %9
store i32 0, ptr %1, align 8, !tbaa !5
br label %248
248: ; preds = %238, %240, %239, %224, %226, %213, %215, %200, %202, %169, %183, %188, %177, %13, %16, %29, %53, %66, %72, %58, %39, %21, %15, %247
ret i32 %0
}
declare i32 @CK(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 16}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !7, i64 4}
!14 = !{!7, !7, i64 0}
!15 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/php-src/ext/mbstring/libmbfl/filters/extr_mbfilter_cp5022x.c_mbfl_filt_conv_jis_ms_wchar.c'
source_filename = "AnghaBench/php-src/ext/mbstring/libmbfl/filters/extr_mbfilter_cp5022x.c_mbfl_filt_conv_jis_ms_wchar.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MBFL_WCSGROUP_MASK = common local_unnamed_addr global i32 0, align 4
@MBFL_WCSGROUP_THROUGH = common local_unnamed_addr global i32 0, align 4
@jisx0208_ucs_table_size = common local_unnamed_addr global i32 0, align 4
@jisx0208_ucs_table = common local_unnamed_addr global ptr null, align 8
@cp932ext1_ucs_table_min = common local_unnamed_addr global i32 0, align 4
@cp932ext1_ucs_table_max = common local_unnamed_addr global i32 0, align 4
@cp932ext1_ucs_table = common local_unnamed_addr global ptr null, align 8
@cp932ext2_ucs_table_min = common local_unnamed_addr global i32 0, align 4
@cp932ext2_ucs_table_max = common local_unnamed_addr global i32 0, align 4
@cp932ext2_ucs_table = common local_unnamed_addr global ptr null, align 8
@cp932ext3_ucs_table_min = common local_unnamed_addr global i32 0, align 4
@cp932ext3_ucs_table_max = common local_unnamed_addr global i32 0, align 4
@cp932ext3_ucs_table = common local_unnamed_addr global ptr null, align 8
@MBFL_WCSPLANE_MASK = common local_unnamed_addr global i32 0, align 4
@MBFL_WCSPLANE_JIS0208 = common local_unnamed_addr global i32 0, align 4
@jisx0212_ucs_table_size = common local_unnamed_addr global i32 0, align 4
@jisx0212_ucs_table = common local_unnamed_addr global ptr null, align 8
@MBFL_WCSPLANE_JIS0212 = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @mbfl_filt_conv_jis_ms_wchar(i32 noundef returned %0, ptr nocapture noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 16
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = and i32 %0, -3
%6 = icmp eq i32 %5, 64
%7 = icmp eq i32 %0, 68
%8 = icmp eq i32 %0, 40
br label %9
9: ; preds = %206, %2
%10 = load i32, ptr %1, align 8, !tbaa !6
%11 = and i32 %10, 15
switch i32 %11, label %247 [
i32 0, label %12
i32 1, label %81
i32 2, label %199
i32 3, label %212
i32 4, label %223
i32 5, label %237
]
12: ; preds = %9
switch i32 %0, label %17 [
i32 27, label %13
i32 14, label %15
i32 15, label %16
]
13: ; preds = %12
%14 = add nsw i32 %10, 2
store i32 %14, ptr %1, align 8, !tbaa !6
br label %248
15: ; preds = %12
store i32 32, ptr %1, align 8, !tbaa !6
br label %248
16: ; preds = %12
store i32 0, ptr %1, align 8, !tbaa !6
br label %248
17: ; preds = %12
%18 = icmp eq i32 %10, 16
%19 = icmp eq i32 %0, 92
%20 = and i1 %19, %18
br i1 %20, label %21, label %26
21: ; preds = %17
%22 = load ptr, ptr %3, align 8, !tbaa !12
%23 = load i32, ptr %4, align 8, !tbaa !13
%24 = tail call i32 %22(i32 noundef 165, i32 noundef %23) #2
%25 = tail call i32 @CK(i32 noundef %24) #2
br label %248
26: ; preds = %17
%27 = icmp eq i32 %0, 126
%28 = and i1 %27, %18
br i1 %28, label %29, label %34
29: ; preds = %26
%30 = load ptr, ptr %3, align 8, !tbaa !12
%31 = load i32, ptr %4, align 8, !tbaa !13
%32 = tail call i32 %30(i32 noundef 8254, i32 noundef %31) #2
%33 = tail call i32 @CK(i32 noundef %32) #2
br label %248
34: ; preds = %26
%35 = icmp eq i32 %10, 32
%36 = add i32 %0, -33
%37 = icmp ult i32 %36, 63
%38 = and i1 %37, %35
br i1 %38, label %39, label %45
39: ; preds = %34
%40 = load ptr, ptr %3, align 8, !tbaa !12
%41 = add nuw nsw i32 %0, 65344
%42 = load i32, ptr %4, align 8, !tbaa !13
%43 = tail call i32 %40(i32 noundef %41, i32 noundef %42) #2
%44 = tail call i32 @CK(i32 noundef %43) #2
br label %248
45: ; preds = %34
%46 = icmp eq i32 %10, 128
br i1 %46, label %51, label %47
47: ; preds = %45
%48 = icmp eq i32 %10, 144
%49 = icmp ult i32 %36, 114
%50 = and i1 %49, %48
br i1 %50, label %53, label %56
51: ; preds = %45
%52 = icmp ult i32 %36, 114
br i1 %52, label %53, label %56
53: ; preds = %51, %47
%54 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %0, ptr %54, align 4, !tbaa !14
%55 = add nuw nsw i32 %10, 1
store i32 %55, ptr %1, align 8, !tbaa !6
br label %248
56: ; preds = %51, %47
%57 = icmp ult i32 %0, 128
br i1 %57, label %58, label %63
58: ; preds = %56
%59 = load ptr, ptr %3, align 8, !tbaa !12
%60 = load i32, ptr %4, align 8, !tbaa !13
%61 = tail call i32 %59(i32 noundef %0, i32 noundef %60) #2
%62 = tail call i32 @CK(i32 noundef %61) #2
br label %248
63: ; preds = %56
%64 = add i32 %0, -161
%65 = icmp ult i32 %64, 63
br i1 %65, label %66, label %72
66: ; preds = %63
%67 = load ptr, ptr %3, align 8, !tbaa !12
%68 = add nuw nsw i32 %0, 65216
%69 = load i32, ptr %4, align 8, !tbaa !13
%70 = tail call i32 %67(i32 noundef %68, i32 noundef %69) #2
%71 = tail call i32 @CK(i32 noundef %70) #2
br label %248
72: ; preds = %63
%73 = load i32, ptr @MBFL_WCSGROUP_MASK, align 4, !tbaa !15
%74 = and i32 %73, %0
%75 = load i32, ptr @MBFL_WCSGROUP_THROUGH, align 4, !tbaa !15
%76 = or i32 %74, %75
%77 = load ptr, ptr %3, align 8, !tbaa !12
%78 = load i32, ptr %4, align 8, !tbaa !13
%79 = tail call i32 %77(i32 noundef %76, i32 noundef %78) #2
%80 = tail call i32 @CK(i32 noundef %79) #2
br label %248
81: ; preds = %9
%82 = and i32 %10, -16
store i32 %82, ptr %1, align 8, !tbaa !6
%83 = getelementptr inbounds i8, ptr %1, i64 4
%84 = load i32, ptr %83, align 4, !tbaa !14
%85 = add i32 %0, -33
%86 = icmp ult i32 %85, 94
br i1 %86, label %87, label %175
87: ; preds = %81
%88 = mul i32 %84, 94
%89 = add nuw nsw i32 %0, -3102
%90 = add i32 %89, %88
%91 = add nsw i32 %90, -33
%92 = icmp eq i32 %82, 128
%93 = icmp sgt i32 %90, 32
br i1 %92, label %94, label %152
94: ; preds = %87
%95 = load i32, ptr @jisx0208_ucs_table_size, align 4
%96 = icmp slt i32 %91, %95
%97 = select i1 %93, i1 %96, i1 false
br i1 %97, label %98, label %102
98: ; preds = %94
%99 = load ptr, ptr @jisx0208_ucs_table, align 8, !tbaa !16
%100 = zext nneg i32 %91 to i64
%101 = getelementptr inbounds i32, ptr %99, i64 %100
br label %139
102: ; preds = %94
%103 = load i32, ptr @cp932ext1_ucs_table_min, align 4, !tbaa !15
%104 = icmp sge i32 %91, %103
%105 = load i32, ptr @cp932ext1_ucs_table_max, align 4
%106 = icmp slt i32 %91, %105
%107 = select i1 %104, i1 %106, i1 false
br i1 %107, label %108, label %113
108: ; preds = %102
%109 = load ptr, ptr @cp932ext1_ucs_table, align 8, !tbaa !16
%110 = sub nsw i32 %91, %103
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i32, ptr %109, i64 %111
br label %139
113: ; preds = %102
%114 = load i32, ptr @cp932ext2_ucs_table_min, align 4, !tbaa !15
%115 = icmp sge i32 %91, %114
%116 = load i32, ptr @cp932ext2_ucs_table_max, align 4
%117 = icmp slt i32 %91, %116
%118 = select i1 %115, i1 %117, i1 false
br i1 %118, label %119, label %124
119: ; preds = %113
%120 = load ptr, ptr @cp932ext2_ucs_table, align 8, !tbaa !16
%121 = sub nsw i32 %91, %114
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i32, ptr %120, i64 %122
br label %139
124: ; preds = %113
%125 = load i32, ptr @cp932ext3_ucs_table_min, align 4, !tbaa !15
%126 = icmp sge i32 %91, %125
%127 = load i32, ptr @cp932ext3_ucs_table_max, align 4
%128 = icmp slt i32 %91, %127
%129 = select i1 %126, i1 %128, i1 false
br i1 %129, label %130, label %135
130: ; preds = %124
%131 = load ptr, ptr @cp932ext3_ucs_table, align 8, !tbaa !16
%132 = sub nsw i32 %91, %125
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds i32, ptr %131, i64 %133
br label %139
135: ; preds = %124
%136 = add i32 %90, -8869
%137 = icmp ult i32 %136, 1880
%138 = add nuw nsw i32 %90, 48475
br i1 %137, label %142, label %145
139: ; preds = %98, %119, %130, %108
%140 = phi ptr [ %112, %108 ], [ %134, %130 ], [ %123, %119 ], [ %101, %98 ]
%141 = load i32, ptr %140, align 4, !tbaa !15
br label %142
142: ; preds = %139, %135
%143 = phi i32 [ %138, %135 ], [ %141, %139 ]
%144 = icmp slt i32 %143, 1
br i1 %144, label %145, label %169
145: ; preds = %135, %142
%146 = shl i32 %84, 8
%147 = or disjoint i32 %146, %0
%148 = load i32, ptr @MBFL_WCSPLANE_MASK, align 4, !tbaa !15
%149 = and i32 %148, %147
%150 = load i32, ptr @MBFL_WCSPLANE_JIS0208, align 4, !tbaa !15
%151 = or i32 %149, %150
br label %169
152: ; preds = %87
%153 = load i32, ptr @jisx0212_ucs_table_size, align 4
%154 = icmp slt i32 %91, %153
%155 = select i1 %93, i1 %154, i1 false
br i1 %155, label %156, label %162
156: ; preds = %152
%157 = load ptr, ptr @jisx0212_ucs_table, align 8, !tbaa !16
%158 = zext nneg i32 %91 to i64
%159 = getelementptr inbounds i32, ptr %157, i64 %158
%160 = load i32, ptr %159, align 4, !tbaa !15
%161 = icmp slt i32 %160, 1
br i1 %161, label %162, label %169
162: ; preds = %152, %156
%163 = shl i32 %84, 8
%164 = or disjoint i32 %163, %0
%165 = load i32, ptr @MBFL_WCSPLANE_MASK, align 4, !tbaa !15
%166 = and i32 %165, %164
%167 = load i32, ptr @MBFL_WCSPLANE_JIS0212, align 4, !tbaa !15
%168 = or i32 %166, %167
br label %169
169: ; preds = %156, %162, %142, %145
%170 = phi i32 [ %151, %145 ], [ %143, %142 ], [ %168, %162 ], [ %160, %156 ]
%171 = load ptr, ptr %3, align 8, !tbaa !12
%172 = load i32, ptr %4, align 8, !tbaa !13
%173 = tail call i32 %171(i32 noundef %170, i32 noundef %172) #2
%174 = tail call i32 @CK(i32 noundef %173) #2
br label %248
175: ; preds = %81
%176 = icmp eq i32 %0, 27
br i1 %176, label %177, label %179
177: ; preds = %175
%178 = or disjoint i32 %82, 2
store i32 %178, ptr %1, align 8, !tbaa !6
br label %248
179: ; preds = %175
%180 = icmp ult i32 %0, 33
%181 = icmp eq i32 %0, 127
%182 = or i1 %180, %181
br i1 %182, label %183, label %188
183: ; preds = %179
%184 = load ptr, ptr %3, align 8, !tbaa !12
%185 = load i32, ptr %4, align 8, !tbaa !13
%186 = tail call i32 %184(i32 noundef %0, i32 noundef %185) #2
%187 = tail call i32 @CK(i32 noundef %186) #2
br label %248
188: ; preds = %179
%189 = shl i32 %84, 8
%190 = or i32 %189, %0
%191 = load i32, ptr @MBFL_WCSGROUP_MASK, align 4, !tbaa !15
%192 = and i32 %191, %190
%193 = load i32, ptr @MBFL_WCSGROUP_THROUGH, align 4, !tbaa !15
%194 = or i32 %192, %193
%195 = load ptr, ptr %3, align 8, !tbaa !12
%196 = load i32, ptr %4, align 8, !tbaa !13
%197 = tail call i32 %195(i32 noundef %194, i32 noundef %196) #2
%198 = tail call i32 @CK(i32 noundef %197) #2
br label %248
199: ; preds = %9
switch i32 %0, label %204 [
i32 36, label %200
i32 40, label %202
]
200: ; preds = %199
%201 = add nsw i32 %10, 1
store i32 %201, ptr %1, align 8, !tbaa !6
br label %248
202: ; preds = %199
%203 = add nsw i32 %10, 3
store i32 %203, ptr %1, align 8, !tbaa !6
br label %248
204: ; preds = %199
%205 = and i32 %10, -16
store i32 %205, ptr %1, align 8, !tbaa !6
br label %206
206: ; preds = %204, %217, %227, %241
%207 = phi i32 [ 27, %204 ], [ 36, %217 ], [ 40, %227 ], [ 40, %241 ]
%208 = load ptr, ptr %3, align 8, !tbaa !12
%209 = load i32, ptr %4, align 8, !tbaa !13
%210 = tail call i32 %208(i32 noundef %207, i32 noundef %209) #2
%211 = tail call i32 @CK(i32 noundef %210) #2
br label %9
212: ; preds = %9
br i1 %6, label %213, label %214
213: ; preds = %212
store i32 128, ptr %1, align 8, !tbaa !6
br label %248
214: ; preds = %212
br i1 %8, label %215, label %217
215: ; preds = %214
%216 = add nsw i32 %10, 1
store i32 %216, ptr %1, align 8, !tbaa !6
br label %248
217: ; preds = %214
%218 = and i32 %10, -16
store i32 %218, ptr %1, align 8, !tbaa !6
%219 = load ptr, ptr %3, align 8, !tbaa !12
%220 = load i32, ptr %4, align 8, !tbaa !13
%221 = tail call i32 %219(i32 noundef 27, i32 noundef %220) #2
%222 = tail call i32 @CK(i32 noundef %221) #2
br label %206
223: ; preds = %9
br i1 %6, label %224, label %225
224: ; preds = %223
store i32 128, ptr %1, align 8, !tbaa !6
br label %248
225: ; preds = %223
br i1 %7, label %226, label %227
226: ; preds = %225
store i32 144, ptr %1, align 8, !tbaa !6
br label %248
227: ; preds = %225
%228 = and i32 %10, -16
store i32 %228, ptr %1, align 8, !tbaa !6
%229 = load ptr, ptr %3, align 8, !tbaa !12
%230 = load i32, ptr %4, align 8, !tbaa !13
%231 = tail call i32 %229(i32 noundef 27, i32 noundef %230) #2
%232 = tail call i32 @CK(i32 noundef %231) #2
%233 = load ptr, ptr %3, align 8, !tbaa !12
%234 = load i32, ptr %4, align 8, !tbaa !13
%235 = tail call i32 %233(i32 noundef 36, i32 noundef %234) #2
%236 = tail call i32 @CK(i32 noundef %235) #2
br label %206
237: ; preds = %9
switch i32 %0, label %241 [
i32 72, label %238
i32 66, label %238
i32 74, label %239
i32 73, label %240
]
238: ; preds = %237, %237
store i32 0, ptr %1, align 8, !tbaa !6
br label %248
239: ; preds = %237
store i32 16, ptr %1, align 8, !tbaa !6
br label %248
240: ; preds = %237
store i32 32, ptr %1, align 8, !tbaa !6
br label %248
241: ; preds = %237
%242 = and i32 %10, -16
store i32 %242, ptr %1, align 8, !tbaa !6
%243 = load ptr, ptr %3, align 8, !tbaa !12
%244 = load i32, ptr %4, align 8, !tbaa !13
%245 = tail call i32 %243(i32 noundef 27, i32 noundef %244) #2
%246 = tail call i32 @CK(i32 noundef %245) #2
br label %206
247: ; preds = %9
store i32 0, ptr %1, align 8, !tbaa !6
br label %248
248: ; preds = %238, %240, %239, %224, %226, %213, %215, %200, %202, %169, %183, %188, %177, %13, %16, %29, %53, %66, %72, %58, %39, %21, %15, %247
ret i32 %0
}
declare i32 @CK(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 16}
!13 = !{!7, !8, i64 8}
!14 = !{!7, !8, i64 4}
!15 = !{!8, !8, i64 0}
!16 = !{!11, !11, i64 0}
| php-src_ext_mbstring_libmbfl_filters_extr_mbfilter_cp5022x.c_mbfl_filt_conv_jis_ms_wchar |
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/lib/libpthread/dlopen/dso/extr_h_pthread_dlopen.c_testf_dso_null.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/lib/libpthread/dlopen/dso/extr_h_pthread_dlopen.c_testf_dso_null.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local noundef i32 @testf_dso_null() local_unnamed_addr #0 {
ret i32 51966
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/lib/libpthread/dlopen/dso/extr_h_pthread_dlopen.c_testf_dso_null.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/lib/libpthread/dlopen/dso/extr_h_pthread_dlopen.c_testf_dso_null.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define noundef i32 @testf_dso_null() local_unnamed_addr #0 {
ret i32 51966
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_contrib_netbsd-tests_lib_libpthread_dlopen_dso_extr_h_pthread_dlopen.c_testf_dso_null |
; ModuleID = 'AnghaBench/linux/arch/hexagon/kernel/extr_time.c_timer_interrupt.c'
source_filename = "AnghaBench/linux/arch/hexagon/kernel/extr_time.c_timer_interrupt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.clock_event_device = type { ptr }
@hexagon_clockevent_dev = dso_local global %struct.clock_event_device zeroinitializer, align 8
@rtos_timer = dso_local local_unnamed_addr global ptr null, align 8
@IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @timer_interrupt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @timer_interrupt(i32 %0, ptr nocapture readnone %1) #0 {
%3 = load ptr, ptr @rtos_timer, align 8, !tbaa !5
%4 = tail call i32 @iowrite32(i32 noundef 0, ptr noundef %3) #2
%5 = load ptr, ptr @hexagon_clockevent_dev, align 8, !tbaa !9
%6 = tail call i32 %5(ptr noundef nonnull @hexagon_clockevent_dev) #2
%7 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !11
ret i32 %7
}
declare i32 @iowrite32(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"clock_event_device", !6, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/hexagon/kernel/extr_time.c_timer_interrupt.c'
source_filename = "AnghaBench/linux/arch/hexagon/kernel/extr_time.c_timer_interrupt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.clock_event_device = type { ptr }
@hexagon_clockevent_dev = common global %struct.clock_event_device zeroinitializer, align 8
@rtos_timer = common local_unnamed_addr global ptr null, align 8
@IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @timer_interrupt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @timer_interrupt(i32 %0, ptr nocapture readnone %1) #0 {
%3 = load ptr, ptr @rtos_timer, align 8, !tbaa !6
%4 = tail call i32 @iowrite32(i32 noundef 0, ptr noundef %3) #2
%5 = load ptr, ptr @hexagon_clockevent_dev, align 8, !tbaa !10
%6 = tail call i32 %5(ptr noundef nonnull @hexagon_clockevent_dev) #2
%7 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !12
ret i32 %7
}
declare i32 @iowrite32(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"clock_event_device", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
| linux_arch_hexagon_kernel_extr_time.c_timer_interrupt |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/fmtree/extr_verify.c_mtree_verifyspec.c'
source_filename = "AnghaBench/freebsd/usr.sbin/fmtree/extr_verify.c_mtree_verifyspec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@root = dso_local local_unnamed_addr global i32 0, align 4
@path = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @mtree_verifyspec(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @mtree_readspec(ptr noundef %0) #2
store i32 %2, ptr @root, align 4, !tbaa !5
%3 = tail call i32 (...) @vwalk() #2
%4 = load i32, ptr @root, align 4, !tbaa !5
%5 = load i32, ptr @path, align 4, !tbaa !5
%6 = tail call i32 @miss(i32 noundef %4, i32 noundef %5) #2
ret i32 %3
}
declare i32 @mtree_readspec(ptr noundef) local_unnamed_addr #1
declare i32 @vwalk(...) local_unnamed_addr #1
declare i32 @miss(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/fmtree/extr_verify.c_mtree_verifyspec.c'
source_filename = "AnghaBench/freebsd/usr.sbin/fmtree/extr_verify.c_mtree_verifyspec.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@root = common local_unnamed_addr global i32 0, align 4
@path = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @mtree_verifyspec(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @mtree_readspec(ptr noundef %0) #2
store i32 %2, ptr @root, align 4, !tbaa !6
%3 = tail call i32 @vwalk() #2
%4 = load i32, ptr @root, align 4, !tbaa !6
%5 = load i32, ptr @path, align 4, !tbaa !6
%6 = tail call i32 @miss(i32 noundef %4, i32 noundef %5) #2
ret i32 %3
}
declare i32 @mtree_readspec(ptr noundef) local_unnamed_addr #1
declare i32 @vwalk(...) local_unnamed_addr #1
declare i32 @miss(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_usr.sbin_fmtree_extr_verify.c_mtree_verifyspec |
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_sysv_sem.c_semu_try_free.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_sysv_sem.c_semu_try_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MA_OWNED = dso_local local_unnamed_addr global i32 0, align 4
@un_next = dso_local local_unnamed_addr global i32 0, align 4
@semu_free_list = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @semu_try_free], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @semu_try_free(ptr noundef %0) #0 {
%2 = load i32, ptr @MA_OWNED, align 4, !tbaa !5
%3 = tail call i32 @SEMUNDO_LOCKASSERT(i32 noundef %2) #2
%4 = load i64, ptr %0, align 8, !tbaa !9
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %11
6: ; preds = %1
%7 = load i32, ptr @un_next, align 4, !tbaa !5
%8 = tail call i32 @LIST_REMOVE(ptr noundef nonnull %0, i32 noundef %7) #2
%9 = load i32, ptr @un_next, align 4, !tbaa !5
%10 = tail call i32 @LIST_INSERT_HEAD(ptr noundef nonnull @semu_free_list, ptr noundef nonnull %0, i32 noundef %9) #2
br label %11
11: ; preds = %1, %6
%12 = phi i32 [ 1, %6 ], [ 0, %1 ]
ret i32 %12
}
declare i32 @SEMUNDO_LOCKASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @LIST_REMOVE(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LIST_INSERT_HEAD(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"sem_undo", !11, i64 0}
!11 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_sysv_sem.c_semu_try_free.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_sysv_sem.c_semu_try_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MA_OWNED = common local_unnamed_addr global i32 0, align 4
@un_next = common local_unnamed_addr global i32 0, align 4
@semu_free_list = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @semu_try_free], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @semu_try_free(ptr noundef %0) #0 {
%2 = load i32, ptr @MA_OWNED, align 4, !tbaa !6
%3 = tail call i32 @SEMUNDO_LOCKASSERT(i32 noundef %2) #2
%4 = load i64, ptr %0, align 8, !tbaa !10
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %11
6: ; preds = %1
%7 = load i32, ptr @un_next, align 4, !tbaa !6
%8 = tail call i32 @LIST_REMOVE(ptr noundef nonnull %0, i32 noundef %7) #2
%9 = load i32, ptr @un_next, align 4, !tbaa !6
%10 = tail call i32 @LIST_INSERT_HEAD(ptr noundef nonnull @semu_free_list, ptr noundef nonnull %0, i32 noundef %9) #2
br label %11
11: ; preds = %1, %6
%12 = phi i32 [ 1, %6 ], [ 0, %1 ]
ret i32 %12
}
declare i32 @SEMUNDO_LOCKASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @LIST_REMOVE(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LIST_INSERT_HEAD(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"sem_undo", !12, i64 0}
!12 = !{!"long", !8, i64 0}
| freebsd_sys_kern_extr_sysv_sem.c_semu_try_free |
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_ascot2e.c_ascot2e_write_reg.c'
source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_ascot2e.c_ascot2e_write_reg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ascot2e_write_reg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ascot2e_write_reg(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 %2, ptr %4, align 4, !tbaa !5
%5 = call i32 @ascot2e_write_regs(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %4, i32 noundef 1) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %5
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ascot2e_write_regs(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_ascot2e.c_ascot2e_write_reg.c'
source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_ascot2e.c_ascot2e_write_reg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ascot2e_write_reg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ascot2e_write_reg(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 %2, ptr %4, align 4, !tbaa !6
%5 = call i32 @ascot2e_write_regs(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %4, i32 noundef 1) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %5
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ascot2e_write_regs(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_media_dvb-frontends_extr_ascot2e.c_ascot2e_write_reg |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_libvxlan.h_mlx5_vxlan_allowed.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_libvxlan.h_mlx5_vxlan_allowed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @mlx5_vxlan_allowed], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @mlx5_vxlan_allowed(ptr noundef %0) #0 {
%2 = tail call i32 @IS_ERR_OR_NULL(ptr noundef %0) #2
%3 = icmp eq i32 %2, 0
%4 = zext i1 %3 to i32
ret i32 %4
}
declare i32 @IS_ERR_OR_NULL(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_libvxlan.h_mlx5_vxlan_allowed.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_libvxlan.h_mlx5_vxlan_allowed.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @mlx5_vxlan_allowed], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @mlx5_vxlan_allowed(ptr noundef %0) #0 {
%2 = tail call i32 @IS_ERR_OR_NULL(ptr noundef %0) #2
%3 = icmp eq i32 %2, 0
%4 = zext i1 %3 to i32
ret i32 %4
}
declare i32 @IS_ERR_OR_NULL(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_net_ethernet_mellanox_mlx5_core_extr_libvxlan.h_mlx5_vxlan_allowed |
; ModuleID = 'AnghaBench/linux/drivers/s390/cio/extr_qdio_main.c_account_sbals.c'
source_filename = "AnghaBench/linux/drivers/s390/cio/extr_qdio_main.c_account_sbals.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, ptr }
@QDIO_MAX_BUFFERS_MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @account_sbals], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @account_sbals(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 8, !tbaa !5
%4 = add i32 %3, %1
store i32 %4, ptr %0, align 8, !tbaa !5
%5 = load i32, ptr @QDIO_MAX_BUFFERS_MASK, align 4, !tbaa !12
%6 = icmp eq i32 %5, %1
br i1 %6, label %7, label %11
7: ; preds = %2
%8 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !13
%10 = getelementptr inbounds i32, ptr %9, i64 7
br label %17
11: ; preds = %2
%12 = tail call i32 @ilog2(i32 noundef %1) #2
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%14 = load ptr, ptr %13, align 8, !tbaa !13
%15 = sext i32 %12 to i64
%16 = getelementptr inbounds i32, ptr %14, i64 %15
br label %17
17: ; preds = %11, %7
%18 = phi ptr [ %16, %11 ], [ %10, %7 ]
%19 = load i32, ptr %18, align 4, !tbaa !12
%20 = add nsw i32 %19, 1
store i32 %20, ptr %18, align 4, !tbaa !12
ret void
}
declare i32 @ilog2(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"qdio_q", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!6, !11, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/s390/cio/extr_qdio_main.c_account_sbals.c'
source_filename = "AnghaBench/linux/drivers/s390/cio/extr_qdio_main.c_account_sbals.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@QDIO_MAX_BUFFERS_MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @account_sbals], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @account_sbals(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 8, !tbaa !6
%4 = add i32 %3, %1
store i32 %4, ptr %0, align 8, !tbaa !6
%5 = load i32, ptr @QDIO_MAX_BUFFERS_MASK, align 4, !tbaa !13
%6 = icmp eq i32 %5, %1
br i1 %6, label %7, label %11
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !14
%10 = getelementptr inbounds i8, ptr %9, i64 28
br label %17
11: ; preds = %2
%12 = tail call i32 @ilog2(i32 noundef %1) #2
%13 = getelementptr inbounds i8, ptr %0, i64 8
%14 = load ptr, ptr %13, align 8, !tbaa !14
%15 = sext i32 %12 to i64
%16 = getelementptr inbounds i32, ptr %14, i64 %15
br label %17
17: ; preds = %11, %7
%18 = phi ptr [ %16, %11 ], [ %10, %7 ]
%19 = load i32, ptr %18, align 4, !tbaa !13
%20 = add nsw i32 %19, 1
store i32 %20, ptr %18, align 4, !tbaa !13
ret void
}
declare i32 @ilog2(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"qdio_q", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0, !12, i64 8}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!9, !9, i64 0}
!14 = !{!7, !12, i64 8}
| linux_drivers_s390_cio_extr_qdio_main.c_account_sbals |
; ModuleID = 'AnghaBench/linux/drivers/scsi/mpt3sas/extr_mpt3sas_base.c_base_mod64.c'
source_filename = "AnghaBench/linux/drivers/scsi/mpt3sas/extr_mpt3sas_base.c_base_mod64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"mpt3sas: DIVISOR is zero, in div fn\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @base_mod64], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @base_mod64(i32 noundef %0, i32 noundef %1) #0 {
%3 = icmp eq i32 %1, 0
br i1 %3, label %4, label %6
4: ; preds = %2
%5 = tail call i32 @pr_err(ptr noundef nonnull @.str) #2
br label %6
6: ; preds = %4, %2
%7 = tail call i32 @do_div(i32 noundef %0, i32 noundef %1) #2
ret i32 %7
}
declare i32 @pr_err(ptr noundef) local_unnamed_addr #1
declare i32 @do_div(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/mpt3sas/extr_mpt3sas_base.c_base_mod64.c'
source_filename = "AnghaBench/linux/drivers/scsi/mpt3sas/extr_mpt3sas_base.c_base_mod64.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [37 x i8] c"mpt3sas: DIVISOR is zero, in div fn\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @base_mod64], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @base_mod64(i32 noundef %0, i32 noundef %1) #0 {
%3 = icmp eq i32 %1, 0
br i1 %3, label %4, label %6
4: ; preds = %2
%5 = tail call i32 @pr_err(ptr noundef nonnull @.str) #2
br label %6
6: ; preds = %4, %2
%7 = tail call i32 @do_div(i32 noundef %0, i32 noundef %1) #2
ret i32 %7
}
declare i32 @pr_err(ptr noundef) local_unnamed_addr #1
declare i32 @do_div(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_scsi_mpt3sas_extr_mpt3sas_base.c_base_mod64 |
; ModuleID = 'AnghaBench/linux/drivers/staging/most/dim2/extr_hal.c_dim2_cleanup.c'
source_filename = "AnghaBench/linux/drivers/staging/most/dim2/extr_hal.c_dim2_cleanup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { ptr }
%struct.TYPE_3__ = type { i32, i32, i32, i32, i32, i32 }
@MLBC0_MLBEN_BIT = dso_local local_unnamed_addr global i32 0, align 4
@g = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @dim2_cleanup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dim2_cleanup() #0 {
%1 = load ptr, ptr @g, align 8, !tbaa !5
%2 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 5
%3 = tail call i32 @writel(i32 noundef 0, ptr noundef nonnull %2) #2
%4 = tail call i32 (...) @dim2_clear_ctram() #2
%5 = load ptr, ptr @g, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 4
%7 = tail call i32 @writel(i32 noundef 0, ptr noundef nonnull %6) #2
%8 = load ptr, ptr @g, align 8, !tbaa !5
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i64 0, i32 3
%10 = tail call i32 @writel(i32 noundef -1, ptr noundef nonnull %9) #2
%11 = load ptr, ptr @g, align 8, !tbaa !5
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i64 0, i32 2
%13 = tail call i32 @writel(i32 noundef -1, ptr noundef nonnull %12) #2
%14 = load ptr, ptr @g, align 8, !tbaa !5
%15 = getelementptr inbounds %struct.TYPE_3__, ptr %14, i64 0, i32 1
%16 = tail call i32 @writel(i32 noundef 0, ptr noundef nonnull %15) #2
%17 = load ptr, ptr @g, align 8, !tbaa !5
%18 = tail call i32 @writel(i32 noundef 0, ptr noundef %17) #2
ret void
}
declare i32 @writel(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dim2_clear_ctram(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/most/dim2/extr_hal.c_dim2_cleanup.c'
source_filename = "AnghaBench/linux/drivers/staging/most/dim2/extr_hal.c_dim2_cleanup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { ptr }
@MLBC0_MLBEN_BIT = common local_unnamed_addr global i32 0, align 4
@g = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@llvm.used = appending global [1 x ptr] [ptr @dim2_cleanup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dim2_cleanup() #0 {
%1 = load ptr, ptr @g, align 8, !tbaa !6
%2 = getelementptr inbounds i8, ptr %1, i64 20
%3 = tail call i32 @writel(i32 noundef 0, ptr noundef nonnull %2) #2
%4 = tail call i32 @dim2_clear_ctram() #2
%5 = load ptr, ptr @g, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %5, i64 16
%7 = tail call i32 @writel(i32 noundef 0, ptr noundef nonnull %6) #2
%8 = load ptr, ptr @g, align 8, !tbaa !6
%9 = getelementptr inbounds i8, ptr %8, i64 12
%10 = tail call i32 @writel(i32 noundef -1, ptr noundef nonnull %9) #2
%11 = load ptr, ptr @g, align 8, !tbaa !6
%12 = getelementptr inbounds i8, ptr %11, i64 8
%13 = tail call i32 @writel(i32 noundef -1, ptr noundef nonnull %12) #2
%14 = load ptr, ptr @g, align 8, !tbaa !6
%15 = getelementptr inbounds i8, ptr %14, i64 4
%16 = tail call i32 @writel(i32 noundef 0, ptr noundef nonnull %15) #2
%17 = load ptr, ptr @g, align 8, !tbaa !6
%18 = tail call i32 @writel(i32 noundef 0, ptr noundef %17) #2
ret void
}
declare i32 @writel(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dim2_clear_ctram(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_staging_most_dim2_extr_hal.c_dim2_cleanup |
; ModuleID = 'AnghaBench/skynet/lualib-src/extr_lua-bson.c_write_binary.c'
source_filename = "AnghaBench/skynet/lualib-src/extr_lua-bson.c_write_binary.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.bson = type { i64, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @write_binary], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @write_binary(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = tail call i32 @reserve_length(ptr noundef %0) #2
%5 = tail call i32 @bson_reserve(ptr noundef %0, i64 noundef %2) #2
%6 = getelementptr inbounds %struct.bson, ptr %0, i64 0, i32 1
%7 = load i64, ptr %6, align 8, !tbaa !5
%8 = load i64, ptr %0, align 8, !tbaa !10
%9 = add nsw i64 %8, %7
%10 = tail call i32 @memcpy(i64 noundef %9, ptr noundef %1, i64 noundef %2) #2
%11 = load i64, ptr %0, align 8, !tbaa !10
%12 = add i64 %11, %2
store i64 %12, ptr %0, align 8, !tbaa !10
%13 = add i64 %2, -1
%14 = tail call i32 @write_length(ptr noundef nonnull %0, i64 noundef %13, i32 noundef %4) #2
ret void
}
declare i32 @reserve_length(ptr noundef) local_unnamed_addr #1
declare i32 @bson_reserve(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @memcpy(i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @write_length(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"bson", !7, i64 0, !7, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/skynet/lualib-src/extr_lua-bson.c_write_binary.c'
source_filename = "AnghaBench/skynet/lualib-src/extr_lua-bson.c_write_binary.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @write_binary], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @write_binary(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = tail call i32 @reserve_length(ptr noundef %0) #2
%5 = tail call i32 @bson_reserve(ptr noundef %0, i64 noundef %2) #2
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load i64, ptr %6, align 8, !tbaa !6
%8 = load i64, ptr %0, align 8, !tbaa !11
%9 = add nsw i64 %8, %7
%10 = tail call i32 @memcpy(i64 noundef %9, ptr noundef %1, i64 noundef %2) #2
%11 = load i64, ptr %0, align 8, !tbaa !11
%12 = add i64 %11, %2
store i64 %12, ptr %0, align 8, !tbaa !11
%13 = add i64 %2, -1
%14 = tail call i32 @write_length(ptr noundef nonnull %0, i64 noundef %13, i32 noundef %4) #2
ret void
}
declare i32 @reserve_length(ptr noundef) local_unnamed_addr #1
declare i32 @bson_reserve(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @memcpy(i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @write_length(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"bson", !8, i64 0, !8, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
| skynet_lualib-src_extr_lua-bson.c_write_binary |
; ModuleID = 'AnghaBench/radare2/shlr/zip/zip/extr_zip_dirent.c__zip_read8.c'
source_filename = "AnghaBench/radare2/shlr/zip/zip/extr_zip_dirent.c__zip_read8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define dso_local i32 @_zip_read8(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds i32, ptr %2, i64 8
store ptr %3, ptr %0, align 8, !tbaa !5
ret i32 poison
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/radare2/shlr/zip/zip/extr_zip_dirent.c__zip_read8.c'
source_filename = "AnghaBench/radare2/shlr/zip/zip/extr_zip_dirent.c__zip_read8.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define i32 @_zip_read8(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %2, i64 32
store ptr %3, ptr %0, align 8, !tbaa !6
ret i32 poison
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| radare2_shlr_zip_zip_extr_zip_dirent.c__zip_read8 |
; ModuleID = 'AnghaBench/reactos/dll/win32/netapi32/extr_netbios.c_nbCall.c'
source_filename = "AnghaBench/reactos/dll/win32/netapi32/extr_netbios.c_nbCall.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_13__ = type { i64, ptr, %struct.TYPE_10__, ptr, i32 }
%struct.TYPE_10__ = type { i32 }
%struct.TYPE_11__ = type { i64, i64, i32, i32, i32 }
%struct.TYPE_12__ = type { i64, i32, i32 }
@.str = private unnamed_addr constant [22 x i8] c": adapter %p, NCB %p\0A\00", align 1
@NRC_BRIDGE = dso_local local_unnamed_addr global i64 0, align 8
@NRC_ENVNOTDEF = dso_local local_unnamed_addr global i64 0, align 8
@NRC_ILLCMD = dso_local local_unnamed_addr global i64 0, align 8
@NRC_INVADDRESS = dso_local local_unnamed_addr global i64 0, align 8
@TRUE = dso_local local_unnamed_addr global i64 0, align 8
@CALL_PENDING = dso_local local_unnamed_addr global i64 0, align 8
@NCBNAMSZ = dso_local local_unnamed_addr global i32 0, align 4
@NRC_GOODRET = dso_local local_unnamed_addr global i64 0, align 8
@NRC_LOCTFUL = dso_local local_unnamed_addr global i64 0, align 8
@SESSION_ESTABLISHED = dso_local local_unnamed_addr global i64 0, align 8
@FALSE = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [18 x i8] c"returning 0x%02x\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @nbCall], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @nbCall(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 (ptr, ...) @TRACE(ptr noundef nonnull @.str, ptr noundef %0, ptr noundef %1) #2
%4 = icmp eq ptr %0, null
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = load i64, ptr @NRC_BRIDGE, align 8, !tbaa !5
br label %88
7: ; preds = %2
%8 = load i64, ptr %0, align 8, !tbaa !9
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = load i64, ptr @NRC_ENVNOTDEF, align 8, !tbaa !5
br label %88
12: ; preds = %7
%13 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 3
%14 = load ptr, ptr %13, align 8, !tbaa !14
%15 = load ptr, ptr %14, align 8, !tbaa !15
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %12
%18 = load i64, ptr @NRC_ILLCMD, align 8, !tbaa !5
br label %88
19: ; preds = %12
%20 = icmp eq ptr %1, null
br i1 %20, label %21, label %23
21: ; preds = %19
%22 = load i64, ptr @NRC_INVADDRESS, align 8, !tbaa !5
br label %88
23: ; preds = %19
%24 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 4
%25 = tail call i32 @EnterCriticalSection(ptr noundef nonnull %24) #2
%26 = load i64, ptr %0, align 8, !tbaa !9
%27 = icmp eq i64 %26, 0
br i1 %27, label %56, label %28
28: ; preds = %23
%29 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1
%30 = load ptr, ptr %29, align 8, !tbaa !17
br label %31
31: ; preds = %28, %36
%32 = phi i64 [ 0, %28 ], [ %37, %36 ]
%33 = getelementptr inbounds %struct.TYPE_11__, ptr %30, i64 %32, i32 1
%34 = load i64, ptr %33, align 8, !tbaa !18
%35 = icmp eq i64 %34, 0
br i1 %35, label %39, label %36
36: ; preds = %31
%37 = add nuw i64 %32, 1
%38 = icmp eq i64 %37, %26
br i1 %38, label %56, label %31, !llvm.loop !20
39: ; preds = %31
%40 = load i64, ptr @TRUE, align 8, !tbaa !5
store i64 %40, ptr %33, align 8, !tbaa !18
%41 = load i64, ptr @CALL_PENDING, align 8, !tbaa !5
%42 = getelementptr inbounds %struct.TYPE_11__, ptr %30, i64 %32
store i64 %41, ptr %42, align 8, !tbaa !22
%43 = getelementptr inbounds %struct.TYPE_11__, ptr %30, i64 %32, i32 4
%44 = load i32, ptr %43, align 8, !tbaa !23
%45 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 2
%46 = load i32, ptr %45, align 4, !tbaa !24
%47 = load i32, ptr @NCBNAMSZ, align 4, !tbaa !26
%48 = tail call i32 @memcpy(i32 noundef %44, i32 noundef %46, i32 noundef %47) #2
%49 = load ptr, ptr %29, align 8, !tbaa !17
%50 = getelementptr inbounds %struct.TYPE_11__, ptr %49, i64 %32, i32 3
%51 = load i32, ptr %50, align 4, !tbaa !27
%52 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 1
%53 = load i32, ptr %52, align 8, !tbaa !28
%54 = load i32, ptr @NCBNAMSZ, align 4, !tbaa !26
%55 = tail call i32 @memcpy(i32 noundef %51, i32 noundef %53, i32 noundef %54) #2
br label %56
56: ; preds = %36, %23, %39
%57 = phi i64 [ %32, %39 ], [ 0, %23 ], [ %26, %36 ]
%58 = phi ptr [ @NRC_GOODRET, %39 ], [ @NRC_LOCTFUL, %23 ], [ @NRC_LOCTFUL, %36 ]
%59 = load i64, ptr %58, align 8, !tbaa !5
%60 = tail call i32 @LeaveCriticalSection(ptr noundef nonnull %24) #2
%61 = load i64, ptr @NRC_GOODRET, align 8, !tbaa !5
%62 = icmp eq i64 %59, %61
br i1 %62, label %63, label %85
63: ; preds = %56
%64 = load ptr, ptr %13, align 8, !tbaa !14
%65 = load ptr, ptr %64, align 8, !tbaa !15
%66 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 2
%67 = load i32, ptr %66, align 8, !tbaa !29
%68 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1
%69 = load ptr, ptr %68, align 8, !tbaa !17
%70 = getelementptr inbounds %struct.TYPE_11__, ptr %69, i64 %57, i32 2
%71 = tail call i64 %65(i32 noundef %67, ptr noundef nonnull %1, ptr noundef nonnull %70) #2
%72 = load i64, ptr @NRC_GOODRET, align 8, !tbaa !5
%73 = icmp eq i64 %71, %72
br i1 %73, label %74, label %77
74: ; preds = %63
store i64 %57, ptr %1, align 8, !tbaa !30
%75 = load i64, ptr @SESSION_ESTABLISHED, align 8, !tbaa !5
%76 = load ptr, ptr %68, align 8, !tbaa !17
br label %81
77: ; preds = %63
%78 = load i64, ptr @FALSE, align 8, !tbaa !5
%79 = load ptr, ptr %68, align 8, !tbaa !17
%80 = getelementptr inbounds %struct.TYPE_11__, ptr %79, i64 %57, i32 1
store i64 %78, ptr %80, align 8, !tbaa !18
br label %81
81: ; preds = %77, %74
%82 = phi ptr [ %76, %74 ], [ %79, %77 ]
%83 = phi i64 [ %75, %74 ], [ 0, %77 ]
%84 = getelementptr inbounds %struct.TYPE_11__, ptr %82, i64 %57
store i64 %83, ptr %84, align 8, !tbaa !22
br label %85
85: ; preds = %81, %56
%86 = phi i64 [ %59, %56 ], [ %71, %81 ]
%87 = tail call i32 (ptr, ...) @TRACE(ptr noundef nonnull @.str.1, i64 noundef %86) #2
br label %88
88: ; preds = %85, %21, %17, %10, %5
%89 = phi i64 [ %11, %10 ], [ %86, %85 ], [ %22, %21 ], [ %18, %17 ], [ %6, %5 ]
ret i64 %89
}
declare i32 @TRACE(ptr noundef, ...) local_unnamed_addr #1
declare i32 @EnterCriticalSection(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LeaveCriticalSection(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_13__", !6, i64 0, !11, i64 8, !12, i64 16, !11, i64 24, !13, i64 32}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"TYPE_10__", !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!10, !11, i64 24}
!15 = !{!16, !11, i64 0}
!16 = !{!"TYPE_9__", !11, i64 0}
!17 = !{!10, !11, i64 8}
!18 = !{!19, !6, i64 8}
!19 = !{!"TYPE_11__", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!19, !6, i64 0}
!23 = !{!19, !13, i64 24}
!24 = !{!25, !13, i64 12}
!25 = !{!"TYPE_12__", !6, i64 0, !13, i64 8, !13, i64 12}
!26 = !{!13, !13, i64 0}
!27 = !{!19, !13, i64 20}
!28 = !{!25, !13, i64 8}
!29 = !{!10, !13, i64 16}
!30 = !{!25, !6, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/netapi32/extr_netbios.c_nbCall.c'
source_filename = "AnghaBench/reactos/dll/win32/netapi32/extr_netbios.c_nbCall.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_11__ = type { i64, i64, i32, i32, i32 }
@.str = private unnamed_addr constant [22 x i8] c": adapter %p, NCB %p\0A\00", align 1
@NRC_BRIDGE = common local_unnamed_addr global i64 0, align 8
@NRC_ENVNOTDEF = common local_unnamed_addr global i64 0, align 8
@NRC_ILLCMD = common local_unnamed_addr global i64 0, align 8
@NRC_INVADDRESS = common local_unnamed_addr global i64 0, align 8
@TRUE = common local_unnamed_addr global i64 0, align 8
@CALL_PENDING = common local_unnamed_addr global i64 0, align 8
@NCBNAMSZ = common local_unnamed_addr global i32 0, align 4
@NRC_GOODRET = common local_unnamed_addr global i64 0, align 8
@NRC_LOCTFUL = common local_unnamed_addr global i64 0, align 8
@SESSION_ESTABLISHED = common local_unnamed_addr global i64 0, align 8
@FALSE = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [18 x i8] c"returning 0x%02x\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @nbCall], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @nbCall(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 (ptr, ...) @TRACE(ptr noundef nonnull @.str, ptr noundef %0, ptr noundef %1) #2
%4 = icmp eq ptr %0, null
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = load i64, ptr @NRC_BRIDGE, align 8, !tbaa !6
br label %88
7: ; preds = %2
%8 = load i64, ptr %0, align 8, !tbaa !10
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = load i64, ptr @NRC_ENVNOTDEF, align 8, !tbaa !6
br label %88
12: ; preds = %7
%13 = getelementptr inbounds i8, ptr %0, i64 24
%14 = load ptr, ptr %13, align 8, !tbaa !15
%15 = load ptr, ptr %14, align 8, !tbaa !16
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %12
%18 = load i64, ptr @NRC_ILLCMD, align 8, !tbaa !6
br label %88
19: ; preds = %12
%20 = icmp eq ptr %1, null
br i1 %20, label %21, label %23
21: ; preds = %19
%22 = load i64, ptr @NRC_INVADDRESS, align 8, !tbaa !6
br label %88
23: ; preds = %19
%24 = getelementptr inbounds i8, ptr %0, i64 32
%25 = tail call i32 @EnterCriticalSection(ptr noundef nonnull %24) #2
%26 = load i64, ptr %0, align 8, !tbaa !10
%27 = icmp eq i64 %26, 0
br i1 %27, label %56, label %28
28: ; preds = %23
%29 = getelementptr inbounds i8, ptr %0, i64 8
%30 = load ptr, ptr %29, align 8, !tbaa !18
br label %31
31: ; preds = %28, %36
%32 = phi i64 [ 0, %28 ], [ %37, %36 ]
%33 = getelementptr inbounds %struct.TYPE_11__, ptr %30, i64 %32, i32 1
%34 = load i64, ptr %33, align 8, !tbaa !19
%35 = icmp eq i64 %34, 0
br i1 %35, label %39, label %36
36: ; preds = %31
%37 = add nuw i64 %32, 1
%38 = icmp eq i64 %37, %26
br i1 %38, label %56, label %31, !llvm.loop !21
39: ; preds = %31
%40 = load i64, ptr @TRUE, align 8, !tbaa !6
store i64 %40, ptr %33, align 8, !tbaa !19
%41 = load i64, ptr @CALL_PENDING, align 8, !tbaa !6
%42 = getelementptr inbounds %struct.TYPE_11__, ptr %30, i64 %32
store i64 %41, ptr %42, align 8, !tbaa !23
%43 = getelementptr inbounds %struct.TYPE_11__, ptr %30, i64 %32, i32 4
%44 = load i32, ptr %43, align 8, !tbaa !24
%45 = getelementptr inbounds i8, ptr %1, i64 12
%46 = load i32, ptr %45, align 4, !tbaa !25
%47 = load i32, ptr @NCBNAMSZ, align 4, !tbaa !27
%48 = tail call i32 @memcpy(i32 noundef %44, i32 noundef %46, i32 noundef %47) #2
%49 = load ptr, ptr %29, align 8, !tbaa !18
%50 = getelementptr inbounds %struct.TYPE_11__, ptr %49, i64 %32, i32 3
%51 = load i32, ptr %50, align 4, !tbaa !28
%52 = getelementptr inbounds i8, ptr %1, i64 8
%53 = load i32, ptr %52, align 8, !tbaa !29
%54 = load i32, ptr @NCBNAMSZ, align 4, !tbaa !27
%55 = tail call i32 @memcpy(i32 noundef %51, i32 noundef %53, i32 noundef %54) #2
br label %56
56: ; preds = %36, %23, %39
%57 = phi i64 [ %32, %39 ], [ 0, %23 ], [ %26, %36 ]
%58 = phi ptr [ @NRC_GOODRET, %39 ], [ @NRC_LOCTFUL, %23 ], [ @NRC_LOCTFUL, %36 ]
%59 = load i64, ptr %58, align 8, !tbaa !6
%60 = tail call i32 @LeaveCriticalSection(ptr noundef nonnull %24) #2
%61 = load i64, ptr @NRC_GOODRET, align 8, !tbaa !6
%62 = icmp eq i64 %59, %61
br i1 %62, label %63, label %85
63: ; preds = %56
%64 = load ptr, ptr %13, align 8, !tbaa !15
%65 = load ptr, ptr %64, align 8, !tbaa !16
%66 = getelementptr inbounds i8, ptr %0, i64 16
%67 = load i32, ptr %66, align 8, !tbaa !30
%68 = getelementptr inbounds i8, ptr %0, i64 8
%69 = load ptr, ptr %68, align 8, !tbaa !18
%70 = getelementptr inbounds %struct.TYPE_11__, ptr %69, i64 %57, i32 2
%71 = tail call i64 %65(i32 noundef %67, ptr noundef nonnull %1, ptr noundef nonnull %70) #2
%72 = load i64, ptr @NRC_GOODRET, align 8, !tbaa !6
%73 = icmp eq i64 %71, %72
br i1 %73, label %74, label %77
74: ; preds = %63
store i64 %57, ptr %1, align 8, !tbaa !31
%75 = load i64, ptr @SESSION_ESTABLISHED, align 8, !tbaa !6
%76 = load ptr, ptr %68, align 8, !tbaa !18
br label %81
77: ; preds = %63
%78 = load i64, ptr @FALSE, align 8, !tbaa !6
%79 = load ptr, ptr %68, align 8, !tbaa !18
%80 = getelementptr inbounds %struct.TYPE_11__, ptr %79, i64 %57, i32 1
store i64 %78, ptr %80, align 8, !tbaa !19
br label %81
81: ; preds = %77, %74
%82 = phi ptr [ %76, %74 ], [ %79, %77 ]
%83 = phi i64 [ %75, %74 ], [ 0, %77 ]
%84 = getelementptr inbounds %struct.TYPE_11__, ptr %82, i64 %57
store i64 %83, ptr %84, align 8, !tbaa !23
br label %85
85: ; preds = %81, %56
%86 = phi i64 [ %59, %56 ], [ %71, %81 ]
%87 = tail call i32 (ptr, ...) @TRACE(ptr noundef nonnull @.str.1, i64 noundef %86) #2
br label %88
88: ; preds = %85, %21, %17, %10, %5
%89 = phi i64 [ %11, %10 ], [ %86, %85 ], [ %22, %21 ], [ %18, %17 ], [ %6, %5 ]
ret i64 %89
}
declare i32 @TRACE(ptr noundef, ...) local_unnamed_addr #1
declare i32 @EnterCriticalSection(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LeaveCriticalSection(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_13__", !7, i64 0, !12, i64 8, !13, i64 16, !12, i64 24, !14, i64 32}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"TYPE_10__", !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!11, !12, i64 24}
!16 = !{!17, !12, i64 0}
!17 = !{!"TYPE_9__", !12, i64 0}
!18 = !{!11, !12, i64 8}
!19 = !{!20, !7, i64 8}
!20 = !{!"TYPE_11__", !7, i64 0, !7, i64 8, !14, i64 16, !14, i64 20, !14, i64 24}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!20, !7, i64 0}
!24 = !{!20, !14, i64 24}
!25 = !{!26, !14, i64 12}
!26 = !{!"TYPE_12__", !7, i64 0, !14, i64 8, !14, i64 12}
!27 = !{!14, !14, i64 0}
!28 = !{!20, !14, i64 20}
!29 = !{!26, !14, i64 8}
!30 = !{!11, !14, i64 16}
!31 = !{!26, !7, i64 0}
| reactos_dll_win32_netapi32_extr_netbios.c_nbCall |
; ModuleID = 'AnghaBench/freebsd/sys/i386/i386/extr_minidump_machdep_base.c_blk_write.c'
source_filename = "AnghaBench/freebsd/sys/i386/i386/extr_minidump_machdep_base.c_blk_write.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MAXDUMPPGS = dso_local local_unnamed_addr global i64 0, align 8
@PAGE_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@fragsz = dso_local local_unnamed_addr global i32 0, align 4
@counter = dso_local local_unnamed_addr global i64 0, align 8
@progress = dso_local local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [6 x i8] c" %lld\00", align 1
@PAGE_SHIFT = dso_local local_unnamed_addr global i64 0, align 8
@WD_LASTVAL = dso_local local_unnamed_addr global i32 0, align 4
@dump_va = dso_local local_unnamed_addr global i32 0, align 4
@ECANCELED = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [20 x i8] c" (CTRL-C to abort) \00", align 1
@str = private unnamed_addr constant [25 x i8] c"address not page aligned\00", align 1
@str.5 = private unnamed_addr constant [26 x i8] c"cant have both va and pa!\00", align 1
@str.6 = private unnamed_addr constant [22 x i8] c"size not page aligned\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @blk_write], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @blk_write(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = load i64, ptr @MAXDUMPPGS, align 8, !tbaa !10
%7 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !10
%8 = mul i64 %7, %6
%9 = tail call i32 @min(i32 noundef %5, i64 noundef %8) #5
%10 = icmp eq i32 %9, 0
%11 = load i64, ptr @PAGE_SIZE, align 8
%12 = trunc i64 %11 to i32
%13 = select i1 %10, i32 %12, i32 %9
%14 = urem i64 %3, %11
%15 = icmp eq i64 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %4
%17 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.6)
%18 = load i32, ptr @EINVAL, align 4, !tbaa !12
br label %106
19: ; preds = %4
%20 = icmp ne ptr %1, null
%21 = icmp ne i64 %2, 0
%22 = and i1 %20, %21
br i1 %22, label %23, label %26
23: ; preds = %19
%24 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.5)
%25 = load i32, ptr @EINVAL, align 4, !tbaa !12
br label %106
26: ; preds = %19
br i1 %21, label %27, label %34
27: ; preds = %26
%28 = ptrtoint ptr %1 to i64
%29 = urem i64 %28, %11
%30 = icmp eq i64 %29, 0
br i1 %30, label %34, label %31
31: ; preds = %27
%32 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str)
%33 = load i32, ptr @EINVAL, align 4, !tbaa !12
br label %106
34: ; preds = %27, %26
br i1 %20, label %35, label %38
35: ; preds = %34
%36 = tail call i32 @blk_flush(ptr noundef nonnull %0) #5
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %106
38: ; preds = %35, %34
%39 = icmp eq i64 %3, 0
br i1 %39, label %106, label %40
40: ; preds = %38, %104
%41 = phi i64 [ %98, %104 ], [ %3, %38 ]
%42 = phi i64 [ %97, %104 ], [ %2, %38 ]
%43 = phi ptr [ %96, %104 ], [ %1, %38 ]
%44 = load i32, ptr @fragsz, align 4, !tbaa !12
%45 = sub nsw i32 %13, %44
%46 = sext i32 %45 to i64
%47 = tail call i64 @llvm.umin.i64(i64 %41, i64 %46)
%48 = load i64, ptr @counter, align 8, !tbaa !10
%49 = add i64 %47, %48
store i64 %49, ptr @counter, align 8, !tbaa !10
%50 = load i64, ptr @progress, align 8, !tbaa !10
%51 = sub i64 %50, %47
store i64 %51, ptr @progress, align 8, !tbaa !10
%52 = icmp ult i64 %49, 16777216
br i1 %52, label %60, label %53
53: ; preds = %40
%54 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !10
%55 = lshr i64 %51, %54
%56 = tail call i32 @PG2MB(i64 noundef %55) #5
%57 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %56)
%58 = load i64, ptr @counter, align 8, !tbaa !10
%59 = and i64 %58, 16777215
store i64 %59, ptr @counter, align 8, !tbaa !10
br label %60
60: ; preds = %53, %40
%61 = load i32, ptr @WD_LASTVAL, align 4, !tbaa !12
%62 = tail call i32 @wdog_kern_pat(i32 noundef %61) #5
%63 = icmp eq ptr %43, null
br i1 %63, label %64, label %66
64: ; preds = %60
%65 = icmp eq i32 %13, %44
br i1 %65, label %86, label %71
66: ; preds = %60
%67 = tail call i32 @dump_append(ptr noundef nonnull %0, ptr noundef nonnull %43, i32 noundef 0, i64 noundef %47) #5
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %106
69: ; preds = %66
%70 = getelementptr inbounds i8, ptr %43, i64 %47
br label %95
71: ; preds = %64, %71
%72 = phi i64 [ %84, %71 ], [ 0, %64 ]
%73 = phi i32 [ %83, %71 ], [ 0, %64 ]
%74 = add nsw i64 %72, %42
%75 = load i32, ptr @fragsz, align 4, !tbaa !12
%76 = add nsw i32 %75, %73
%77 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !10
%78 = trunc i64 %77 to i32
%79 = ashr i32 %76, %78
%80 = tail call i32 @pmap_kenter_temporary(i64 noundef %74, i32 noundef %79) #5
store i32 %80, ptr @dump_va, align 4, !tbaa !12
%81 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !10
%82 = trunc i64 %81 to i32
%83 = add i32 %73, %82
%84 = sext i32 %83 to i64
%85 = icmp ugt i64 %47, %84
br i1 %85, label %71, label %86, !llvm.loop !13
86: ; preds = %71, %64
%87 = load i32, ptr @fragsz, align 4, !tbaa !12
%88 = trunc i64 %47 to i32
%89 = add i32 %87, %88
store i32 %89, ptr @fragsz, align 4, !tbaa !12
%90 = add i64 %47, %42
%91 = icmp eq i32 %89, %13
br i1 %91, label %92, label %95
92: ; preds = %86
%93 = tail call i32 @blk_flush(ptr noundef nonnull %0) #5
%94 = icmp eq i32 %93, 0
br i1 %94, label %95, label %106
95: ; preds = %86, %92, %69
%96 = phi ptr [ %70, %69 ], [ null, %92 ], [ null, %86 ]
%97 = phi i64 [ %42, %69 ], [ %90, %92 ], [ %90, %86 ]
%98 = sub i64 %41, %47
%99 = tail call i32 (...) @cncheckc() #5
switch i32 %99, label %102 [
i32 3, label %100
i32 -1, label %104
]
100: ; preds = %95
%101 = load i32, ptr @ECANCELED, align 4, !tbaa !12
br label %106
102: ; preds = %95
%103 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
br label %104
104: ; preds = %95, %102
%105 = icmp eq i64 %98, 0
br i1 %105, label %106, label %40, !llvm.loop !15
106: ; preds = %66, %92, %104, %38, %35, %100, %31, %23, %16
%107 = phi i32 [ %18, %16 ], [ %25, %23 ], [ %33, %31 ], [ %101, %100 ], [ %36, %35 ], [ 0, %38 ], [ %67, %66 ], [ %93, %92 ], [ 0, %104 ]
ret i32 %107
}
declare i32 @min(i32 noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare i32 @blk_flush(ptr noundef) local_unnamed_addr #1
declare i32 @PG2MB(i64 noundef) local_unnamed_addr #1
declare i32 @wdog_kern_pat(i32 noundef) local_unnamed_addr #1
declare i32 @dump_append(ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @pmap_kenter_temporary(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cncheckc(...) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.i64(i64, i64) #4
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"dumperinfo", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
| ; ModuleID = 'AnghaBench/freebsd/sys/i386/i386/extr_minidump_machdep_base.c_blk_write.c'
source_filename = "AnghaBench/freebsd/sys/i386/i386/extr_minidump_machdep_base.c_blk_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAXDUMPPGS = common local_unnamed_addr global i64 0, align 8
@PAGE_SIZE = common local_unnamed_addr global i64 0, align 8
@EINVAL = common local_unnamed_addr global i32 0, align 4
@fragsz = common local_unnamed_addr global i32 0, align 4
@counter = common local_unnamed_addr global i64 0, align 8
@progress = common local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [6 x i8] c" %lld\00", align 1
@PAGE_SHIFT = common local_unnamed_addr global i64 0, align 8
@WD_LASTVAL = common local_unnamed_addr global i32 0, align 4
@dump_va = common local_unnamed_addr global i32 0, align 4
@ECANCELED = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [20 x i8] c" (CTRL-C to abort) \00", align 1
@str = private unnamed_addr constant [25 x i8] c"address not page aligned\00", align 1
@str.5 = private unnamed_addr constant [26 x i8] c"cant have both va and pa!\00", align 1
@str.6 = private unnamed_addr constant [22 x i8] c"size not page aligned\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @blk_write], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @blk_write(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = load i64, ptr @MAXDUMPPGS, align 8, !tbaa !11
%7 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !11
%8 = mul i64 %7, %6
%9 = tail call i32 @min(i32 noundef %5, i64 noundef %8) #5
%10 = icmp eq i32 %9, 0
%11 = load i64, ptr @PAGE_SIZE, align 8
%12 = trunc i64 %11 to i32
%13 = select i1 %10, i32 %12, i32 %9
%14 = urem i64 %3, %11
%15 = icmp eq i64 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %4
%17 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.6)
%18 = load i32, ptr @EINVAL, align 4, !tbaa !13
br label %106
19: ; preds = %4
%20 = icmp ne ptr %1, null
%21 = icmp ne i64 %2, 0
%22 = and i1 %20, %21
br i1 %22, label %23, label %26
23: ; preds = %19
%24 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.5)
%25 = load i32, ptr @EINVAL, align 4, !tbaa !13
br label %106
26: ; preds = %19
br i1 %21, label %27, label %34
27: ; preds = %26
%28 = ptrtoint ptr %1 to i64
%29 = urem i64 %28, %11
%30 = icmp eq i64 %29, 0
br i1 %30, label %34, label %31
31: ; preds = %27
%32 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str)
%33 = load i32, ptr @EINVAL, align 4, !tbaa !13
br label %106
34: ; preds = %27, %26
br i1 %20, label %35, label %38
35: ; preds = %34
%36 = tail call i32 @blk_flush(ptr noundef nonnull %0) #5
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %106
38: ; preds = %35, %34
%39 = icmp eq i64 %3, 0
br i1 %39, label %106, label %40
40: ; preds = %38, %104
%41 = phi i64 [ %98, %104 ], [ %3, %38 ]
%42 = phi i64 [ %97, %104 ], [ %2, %38 ]
%43 = phi ptr [ %96, %104 ], [ %1, %38 ]
%44 = load i32, ptr @fragsz, align 4, !tbaa !13
%45 = sub nsw i32 %13, %44
%46 = sext i32 %45 to i64
%47 = tail call i64 @llvm.umin.i64(i64 %41, i64 %46)
%48 = load i64, ptr @counter, align 8, !tbaa !11
%49 = add i64 %47, %48
store i64 %49, ptr @counter, align 8, !tbaa !11
%50 = load i64, ptr @progress, align 8, !tbaa !11
%51 = sub i64 %50, %47
store i64 %51, ptr @progress, align 8, !tbaa !11
%52 = icmp ult i64 %49, 16777216
br i1 %52, label %60, label %53
53: ; preds = %40
%54 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !11
%55 = lshr i64 %51, %54
%56 = tail call i32 @PG2MB(i64 noundef %55) #5
%57 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %56)
%58 = load i64, ptr @counter, align 8, !tbaa !11
%59 = and i64 %58, 16777215
store i64 %59, ptr @counter, align 8, !tbaa !11
br label %60
60: ; preds = %53, %40
%61 = load i32, ptr @WD_LASTVAL, align 4, !tbaa !13
%62 = tail call i32 @wdog_kern_pat(i32 noundef %61) #5
%63 = icmp eq ptr %43, null
br i1 %63, label %64, label %66
64: ; preds = %60
%65 = icmp eq i32 %13, %44
br i1 %65, label %86, label %71
66: ; preds = %60
%67 = tail call i32 @dump_append(ptr noundef nonnull %0, ptr noundef nonnull %43, i32 noundef 0, i64 noundef %47) #5
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %106
69: ; preds = %66
%70 = getelementptr inbounds i8, ptr %43, i64 %47
br label %95
71: ; preds = %64, %71
%72 = phi i64 [ %84, %71 ], [ 0, %64 ]
%73 = phi i32 [ %83, %71 ], [ 0, %64 ]
%74 = add nsw i64 %72, %42
%75 = load i32, ptr @fragsz, align 4, !tbaa !13
%76 = add nsw i32 %75, %73
%77 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !11
%78 = trunc i64 %77 to i32
%79 = ashr i32 %76, %78
%80 = tail call i32 @pmap_kenter_temporary(i64 noundef %74, i32 noundef %79) #5
store i32 %80, ptr @dump_va, align 4, !tbaa !13
%81 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !11
%82 = trunc i64 %81 to i32
%83 = add i32 %73, %82
%84 = sext i32 %83 to i64
%85 = icmp ugt i64 %47, %84
br i1 %85, label %71, label %86, !llvm.loop !14
86: ; preds = %71, %64
%87 = load i32, ptr @fragsz, align 4, !tbaa !13
%88 = trunc i64 %47 to i32
%89 = add i32 %87, %88
store i32 %89, ptr @fragsz, align 4, !tbaa !13
%90 = add i64 %47, %42
%91 = icmp eq i32 %89, %13
br i1 %91, label %92, label %95
92: ; preds = %86
%93 = tail call i32 @blk_flush(ptr noundef nonnull %0) #5
%94 = icmp eq i32 %93, 0
br i1 %94, label %95, label %106
95: ; preds = %86, %92, %69
%96 = phi ptr [ %70, %69 ], [ null, %92 ], [ null, %86 ]
%97 = phi i64 [ %42, %69 ], [ %90, %92 ], [ %90, %86 ]
%98 = sub i64 %41, %47
%99 = tail call i32 @cncheckc() #5
switch i32 %99, label %102 [
i32 3, label %100
i32 -1, label %104
]
100: ; preds = %95
%101 = load i32, ptr @ECANCELED, align 4, !tbaa !13
br label %106
102: ; preds = %95
%103 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
br label %104
104: ; preds = %95, %102
%105 = icmp eq i64 %98, 0
br i1 %105, label %106, label %40, !llvm.loop !16
106: ; preds = %66, %92, %104, %38, %35, %100, %31, %23, %16
%107 = phi i32 [ %18, %16 ], [ %25, %23 ], [ %33, %31 ], [ %101, %100 ], [ %36, %35 ], [ 0, %38 ], [ %67, %66 ], [ %93, %92 ], [ 0, %104 ]
ret i32 %107
}
declare i32 @min(i32 noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare i32 @blk_flush(ptr noundef) local_unnamed_addr #1
declare i32 @PG2MB(i64 noundef) local_unnamed_addr #1
declare i32 @wdog_kern_pat(i32 noundef) local_unnamed_addr #1
declare i32 @dump_append(ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @pmap_kenter_temporary(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cncheckc(...) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.i64(i64, i64) #4
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nofree nounwind }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"dumperinfo", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
| freebsd_sys_i386_i386_extr_minidump_machdep_base.c_blk_write |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/parisc/kernel/extr_unwind.c_unwind_to_user.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/parisc/kernel/extr_unwind.c_unwind_to_user.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @unwind_to_user(ptr noundef %0) local_unnamed_addr #0 {
br label %2
2: ; preds = %5, %1
%3 = tail call i32 @unwind_once(ptr noundef %0) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %9
5: ; preds = %2
%6 = load i32, ptr %0, align 4, !tbaa !5
%7 = and i32 %6, 3
%8 = icmp eq i32 %7, 0
br i1 %8, label %2, label %9, !llvm.loop !10
9: ; preds = %2, %5
ret i32 %3
}
declare i32 @unwind_once(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"unwind_frame_info", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/parisc/kernel/extr_unwind.c_unwind_to_user.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/parisc/kernel/extr_unwind.c_unwind_to_user.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @unwind_to_user(ptr noundef %0) local_unnamed_addr #0 {
br label %2
2: ; preds = %5, %1
%3 = tail call i32 @unwind_once(ptr noundef %0) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %9
5: ; preds = %2
%6 = load i32, ptr %0, align 4, !tbaa !6
%7 = and i32 %6, 3
%8 = icmp eq i32 %7, 0
br i1 %8, label %2, label %9, !llvm.loop !11
9: ; preds = %2, %5
ret i32 %3
}
declare i32 @unwind_once(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"unwind_frame_info", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_arch_parisc_kernel_extr_unwind.c_unwind_to_user |
; ModuleID = 'AnghaBench/freebsd/sys/dev/acpica/extr_acpi_pci_link.c_acpi_pci_link_probe.c'
source_filename = "AnghaBench/freebsd/sys/dev/acpica/extr_acpi_pci_link.c_acpi_pci_link_probe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"pci_link\00", align 1
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@pci_link_ids = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"ACPI PCI Link %s\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"ACPI PCI Link\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @acpi_pci_link_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @acpi_pci_link_probe(i32 noundef %0) #0 {
%2 = alloca [28 x i8], align 16
%3 = alloca [12 x i8], align 1
call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #3
%4 = tail call i64 @acpi_disabled(ptr noundef nonnull @.str) #3
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = load i32, ptr @ENXIO, align 4, !tbaa !5
br label %25
8: ; preds = %1
%9 = tail call i32 @device_get_parent(i32 noundef %0) #3
%10 = load i32, ptr @pci_link_ids, align 4, !tbaa !5
%11 = tail call i32 @ACPI_ID_PROBE(i32 noundef %9, i32 noundef %0, i32 noundef %10, ptr noundef null) #3
%12 = icmp sgt i32 %11, 0
br i1 %12, label %25, label %13
13: ; preds = %8
%14 = tail call i32 @acpi_get_handle(i32 noundef %0) #3
%15 = call i32 @acpi_short_name(i32 noundef %14, ptr noundef nonnull %3, i32 noundef 12) #3
%16 = call i64 @ACPI_SUCCESS(i32 noundef %15) #3
%17 = icmp eq i64 %16, 0
br i1 %17, label %21, label %18
18: ; preds = %13
%19 = call i32 @snprintf(ptr noundef nonnull %2, i32 noundef 28, ptr noundef nonnull @.str.1, ptr noundef nonnull %3) #3
%20 = call i32 @device_set_desc_copy(i32 noundef %0, ptr noundef nonnull %2) #3
br label %23
21: ; preds = %13
%22 = call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str.2) #3
br label %23
23: ; preds = %21, %18
%24 = call i32 @device_quiet(i32 noundef %0) #3
br label %25
25: ; preds = %8, %23, %6
%26 = phi i32 [ %7, %6 ], [ %11, %23 ], [ %11, %8 ]
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %2) #3
ret i32 %26
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @acpi_disabled(ptr noundef) local_unnamed_addr #2
declare i32 @ACPI_ID_PROBE(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @device_get_parent(i32 noundef) local_unnamed_addr #2
declare i64 @ACPI_SUCCESS(i32 noundef) local_unnamed_addr #2
declare i32 @acpi_short_name(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @acpi_get_handle(i32 noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @device_set_desc_copy(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @device_set_desc(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @device_quiet(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/acpica/extr_acpi_pci_link.c_acpi_pci_link_probe.c'
source_filename = "AnghaBench/freebsd/sys/dev/acpica/extr_acpi_pci_link.c_acpi_pci_link_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [9 x i8] c"pci_link\00", align 1
@ENXIO = common local_unnamed_addr global i32 0, align 4
@pci_link_ids = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"ACPI PCI Link %s\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"ACPI PCI Link\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @acpi_pci_link_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @acpi_pci_link_probe(i32 noundef %0) #0 {
%2 = alloca [28 x i8], align 1
%3 = alloca [12 x i8], align 1
call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #3
%4 = tail call i64 @acpi_disabled(ptr noundef nonnull @.str) #3
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = load i32, ptr @ENXIO, align 4, !tbaa !6
br label %25
8: ; preds = %1
%9 = tail call i32 @device_get_parent(i32 noundef %0) #3
%10 = load i32, ptr @pci_link_ids, align 4, !tbaa !6
%11 = tail call i32 @ACPI_ID_PROBE(i32 noundef %9, i32 noundef %0, i32 noundef %10, ptr noundef null) #3
%12 = icmp sgt i32 %11, 0
br i1 %12, label %25, label %13
13: ; preds = %8
%14 = tail call i32 @acpi_get_handle(i32 noundef %0) #3
%15 = call i32 @acpi_short_name(i32 noundef %14, ptr noundef nonnull %3, i32 noundef 12) #3
%16 = call i64 @ACPI_SUCCESS(i32 noundef %15) #3
%17 = icmp eq i64 %16, 0
br i1 %17, label %21, label %18
18: ; preds = %13
%19 = call i32 @snprintf(ptr noundef nonnull %2, i32 noundef 28, ptr noundef nonnull @.str.1, ptr noundef nonnull %3) #3
%20 = call i32 @device_set_desc_copy(i32 noundef %0, ptr noundef nonnull %2) #3
br label %23
21: ; preds = %13
%22 = call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str.2) #3
br label %23
23: ; preds = %21, %18
%24 = call i32 @device_quiet(i32 noundef %0) #3
br label %25
25: ; preds = %8, %23, %6
%26 = phi i32 [ %7, %6 ], [ %11, %23 ], [ %11, %8 ]
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %2) #3
ret i32 %26
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @acpi_disabled(ptr noundef) local_unnamed_addr #2
declare i32 @ACPI_ID_PROBE(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @device_get_parent(i32 noundef) local_unnamed_addr #2
declare i64 @ACPI_SUCCESS(i32 noundef) local_unnamed_addr #2
declare i32 @acpi_short_name(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @acpi_get_handle(i32 noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @device_set_desc_copy(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @device_set_desc(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @device_quiet(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_dev_acpica_extr_acpi_pci_link.c_acpi_pci_link_probe |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_lrc.c_execlists_update_context.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_lrc.c_execlists_update_context.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.i915_request = type { i32, i32, ptr }
%struct.intel_context = type { i32, ptr }
@CTX_RING_TAIL = dso_local local_unnamed_addr global i32 0, align 4
@CTX_DESC_FORCE_RESTORE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @execlists_update_context], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @execlists_update_context(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.i915_request, ptr %0, i64 0, i32 2
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.i915_request, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = load i32, ptr %0, align 8, !tbaa !12
%7 = tail call i32 @intel_ring_set_tail(i32 noundef %5, i32 noundef %6) #2
%8 = getelementptr inbounds %struct.intel_context, ptr %3, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !13
%10 = load i32, ptr @CTX_RING_TAIL, align 4, !tbaa !15
%11 = sext i32 %10 to i64
%12 = getelementptr i32, ptr %9, i64 %11
%13 = getelementptr i32, ptr %12, i64 1
store i32 %7, ptr %13, align 4, !tbaa !15
%14 = tail call i32 (...) @mb() #2
%15 = load i32, ptr %3, align 8, !tbaa !16
%16 = load i32, ptr @CTX_DESC_FORCE_RESTORE, align 4, !tbaa !15
%17 = xor i32 %16, -1
%18 = and i32 %15, %17
store i32 %18, ptr %3, align 8, !tbaa !16
ret i32 %15
}
declare i32 @intel_ring_set_tail(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mb(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"i915_request", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !10, i64 8}
!14 = !{!"intel_context", !7, i64 0, !10, i64 8}
!15 = !{!7, !7, i64 0}
!16 = !{!14, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_lrc.c_execlists_update_context.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_lrc.c_execlists_update_context.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CTX_RING_TAIL = common local_unnamed_addr global i32 0, align 4
@CTX_DESC_FORCE_RESTORE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @execlists_update_context], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @execlists_update_context(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !12
%6 = load i32, ptr %0, align 8, !tbaa !13
%7 = tail call i32 @intel_ring_set_tail(i32 noundef %5, i32 noundef %6) #2
%8 = getelementptr inbounds i8, ptr %3, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !14
%10 = load i32, ptr @CTX_RING_TAIL, align 4, !tbaa !16
%11 = sext i32 %10 to i64
%12 = getelementptr i32, ptr %9, i64 %11
%13 = getelementptr i8, ptr %12, i64 4
store i32 %7, ptr %13, align 4, !tbaa !16
%14 = tail call i32 @mb() #2
%15 = load i32, ptr %3, align 8, !tbaa !17
%16 = load i32, ptr @CTX_DESC_FORCE_RESTORE, align 4, !tbaa !16
%17 = xor i32 %16, -1
%18 = and i32 %15, %17
store i32 %18, ptr %3, align 8, !tbaa !17
ret i32 %15
}
declare i32 @intel_ring_set_tail(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mb(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"i915_request", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !8, i64 0}
!14 = !{!15, !11, i64 8}
!15 = !{!"intel_context", !8, i64 0, !11, i64 8}
!16 = !{!8, !8, i64 0}
!17 = !{!15, !8, i64 0}
| linux_drivers_gpu_drm_i915_gt_extr_intel_lrc.c_execlists_update_context |
; ModuleID = 'AnghaBench/zstd/lib/legacy/extr_zstd_v06.c_ZSTDv06_createDCtx.c'
source_filename = "AnghaBench/zstd/lib/legacy/extr_zstd_v06.c_ZSTDv06_createDCtx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local noundef ptr @ZSTDv06_createDCtx() local_unnamed_addr #0 {
%1 = tail call i64 @malloc(i32 noundef 4) #2
%2 = icmp eq i64 %1, 0
br i1 %2, label %6, label %3
3: ; preds = %0
%4 = inttoptr i64 %1 to ptr
%5 = tail call i32 @ZSTDv06_decompressBegin(ptr noundef nonnull %4) #2
br label %6
6: ; preds = %0, %3
%7 = phi ptr [ %4, %3 ], [ null, %0 ]
ret ptr %7
}
declare i64 @malloc(i32 noundef) local_unnamed_addr #1
declare i32 @ZSTDv06_decompressBegin(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/zstd/lib/legacy/extr_zstd_v06.c_ZSTDv06_createDCtx.c'
source_filename = "AnghaBench/zstd/lib/legacy/extr_zstd_v06.c_ZSTDv06_createDCtx.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define noundef ptr @ZSTDv06_createDCtx() local_unnamed_addr #0 {
%1 = tail call i64 @malloc(i32 noundef 4) #2
%2 = icmp eq i64 %1, 0
br i1 %2, label %6, label %3
3: ; preds = %0
%4 = inttoptr i64 %1 to ptr
%5 = tail call i32 @ZSTDv06_decompressBegin(ptr noundef nonnull %4) #2
br label %6
6: ; preds = %0, %3
%7 = phi ptr [ %4, %3 ], [ null, %0 ]
ret ptr %7
}
declare i64 @malloc(i32 noundef) local_unnamed_addr #1
declare i32 @ZSTDv06_decompressBegin(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| zstd_lib_legacy_extr_zstd_v06.c_ZSTDv06_createDCtx |
; ModuleID = 'AnghaBench/git/extr_log-tree.c_show_decorations.c'
source_filename = "AnghaBench/git/extr_log-tree.c_show_decorations.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.strbuf = type { i32 }
%struct.rev_info = type { %struct.TYPE_2__, i32, i64 }
%struct.TYPE_2__ = type { i32, i32 }
@STRBUF_INIT = dso_local local_unnamed_addr global %struct.strbuf zeroinitializer, align 4
@.str = private unnamed_addr constant [4 x i8] c"\09%s\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @show_decorations(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.strbuf, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @STRBUF_INIT, align 4, !tbaa !5
store i32 %4, ptr %3, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.rev_info, ptr %0, i64 0, i32 2
%6 = load i64, ptr %5, align 8, !tbaa !9
%7 = icmp eq i64 %6, 0
br i1 %7, label %17, label %8
8: ; preds = %2
%9 = tail call ptr @revision_sources_peek(i64 noundef %6, ptr noundef %1) #3
%10 = icmp eq ptr %9, null
br i1 %10, label %17, label %11
11: ; preds = %8
%12 = load ptr, ptr %9, align 8, !tbaa !13
%13 = icmp eq ptr %12, null
br i1 %13, label %17, label %14
14: ; preds = %11
%15 = load i32, ptr %0, align 8, !tbaa !15
%16 = tail call i32 @fprintf(i32 noundef %15, ptr noundef nonnull @.str, ptr noundef nonnull %12) #3
br label %17
17: ; preds = %8, %11, %14, %2
%18 = getelementptr inbounds %struct.rev_info, ptr %0, i64 0, i32 1
%19 = load i32, ptr %18, align 8, !tbaa !16
%20 = icmp eq i32 %19, 0
br i1 %20, label %29, label %21
21: ; preds = %17
%22 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%23 = load i32, ptr %22, align 4, !tbaa !17
%24 = call i32 @format_decorations(ptr noundef nonnull %3, ptr noundef %1, i32 noundef %23) #3
%25 = load i32, ptr %3, align 4, !tbaa !18
%26 = load i32, ptr %0, align 8, !tbaa !15
%27 = call i32 @fputs(i32 noundef %25, i32 noundef %26) #3
%28 = call i32 @strbuf_release(ptr noundef nonnull %3) #3
br label %29
29: ; preds = %17, %21
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @revision_sources_peek(i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @format_decorations(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @fputs(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strbuf_release(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 16}
!10 = !{!"rev_info", !11, i64 0, !6, i64 8, !12, i64 16}
!11 = !{!"TYPE_2__", !6, i64 0, !6, i64 4}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!10, !6, i64 0}
!16 = !{!10, !6, i64 8}
!17 = !{!10, !6, i64 4}
!18 = !{!19, !6, i64 0}
!19 = !{!"strbuf", !6, i64 0}
| ; ModuleID = 'AnghaBench/git/extr_log-tree.c_show_decorations.c'
source_filename = "AnghaBench/git/extr_log-tree.c_show_decorations.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.strbuf = type { i32 }
@STRBUF_INIT = common local_unnamed_addr global %struct.strbuf zeroinitializer, align 4
@.str = private unnamed_addr constant [4 x i8] c"\09%s\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @show_decorations(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.strbuf, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @STRBUF_INIT, align 4, !tbaa !6
store i32 %4, ptr %3, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 16
%6 = load i64, ptr %5, align 8, !tbaa !10
%7 = icmp eq i64 %6, 0
br i1 %7, label %17, label %8
8: ; preds = %2
%9 = tail call ptr @revision_sources_peek(i64 noundef %6, ptr noundef %1) #3
%10 = icmp eq ptr %9, null
br i1 %10, label %17, label %11
11: ; preds = %8
%12 = load ptr, ptr %9, align 8, !tbaa !14
%13 = icmp eq ptr %12, null
br i1 %13, label %17, label %14
14: ; preds = %11
%15 = load i32, ptr %0, align 8, !tbaa !16
%16 = tail call i32 @fprintf(i32 noundef %15, ptr noundef nonnull @.str, ptr noundef nonnull %12) #3
br label %17
17: ; preds = %8, %11, %14, %2
%18 = getelementptr inbounds i8, ptr %0, i64 8
%19 = load i32, ptr %18, align 8, !tbaa !17
%20 = icmp eq i32 %19, 0
br i1 %20, label %29, label %21
21: ; preds = %17
%22 = getelementptr inbounds i8, ptr %0, i64 4
%23 = load i32, ptr %22, align 4, !tbaa !18
%24 = call i32 @format_decorations(ptr noundef nonnull %3, ptr noundef %1, i32 noundef %23) #3
%25 = load i32, ptr %3, align 4, !tbaa !19
%26 = load i32, ptr %0, align 8, !tbaa !16
%27 = call i32 @fputs(i32 noundef %25, i32 noundef %26) #3
%28 = call i32 @strbuf_release(ptr noundef nonnull %3) #3
br label %29
29: ; preds = %17, %21
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @revision_sources_peek(i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @format_decorations(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @fputs(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strbuf_release(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 16}
!11 = !{!"rev_info", !12, i64 0, !7, i64 8, !13, i64 16}
!12 = !{!"TYPE_2__", !7, i64 0, !7, i64 4}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!11, !7, i64 0}
!17 = !{!11, !7, i64 8}
!18 = !{!11, !7, i64 4}
!19 = !{!20, !7, i64 0}
!20 = !{!"strbuf", !7, i64 0}
| git_extr_log-tree.c_show_decorations |
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libmlx4/extr_srq.c_mlx4_free_srq_wqe.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/libmlx4/extr_srq.c_mlx4_free_srq_wqe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mlx4_srq = type { i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @mlx4_free_srq_wqe(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.mlx4_srq, ptr %0, i64 0, i32 1
%4 = tail call i32 @pthread_spin_lock(ptr noundef nonnull %3) #2
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = tail call ptr @get_wqe(ptr noundef nonnull %0, i32 noundef %5) #2
%7 = tail call i32 @htobe16(i32 noundef %1) #2
store i32 %7, ptr %6, align 4, !tbaa !10
store i32 %1, ptr %0, align 4, !tbaa !5
%8 = tail call i32 @pthread_spin_unlock(ptr noundef nonnull %3) #2
ret void
}
declare i32 @pthread_spin_lock(ptr noundef) local_unnamed_addr #1
declare ptr @get_wqe(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @htobe16(i32 noundef) local_unnamed_addr #1
declare i32 @pthread_spin_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"mlx4_srq", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"mlx4_wqe_srq_next_seg", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libmlx4/extr_srq.c_mlx4_free_srq_wqe.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/libmlx4/extr_srq.c_mlx4_free_srq_wqe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @mlx4_free_srq_wqe(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = tail call i32 @pthread_spin_lock(ptr noundef nonnull %3) #2
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = tail call ptr @get_wqe(ptr noundef nonnull %0, i32 noundef %5) #2
%7 = tail call i32 @htobe16(i32 noundef %1) #2
store i32 %7, ptr %6, align 4, !tbaa !11
store i32 %1, ptr %0, align 4, !tbaa !6
%8 = tail call i32 @pthread_spin_unlock(ptr noundef nonnull %3) #2
ret void
}
declare i32 @pthread_spin_lock(ptr noundef) local_unnamed_addr #1
declare ptr @get_wqe(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @htobe16(i32 noundef) local_unnamed_addr #1
declare i32 @pthread_spin_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"mlx4_srq", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"mlx4_wqe_srq_next_seg", !8, i64 0}
| freebsd_contrib_ofed_libmlx4_extr_srq.c_mlx4_free_srq_wqe |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.