IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/serial/extr_samsung.c_s3c24xx_serial_set_mctrl.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/serial/extr_samsung.c_s3c24xx_serial_set_mctrl.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 @s3c24xx_serial_set_mctrl], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @s3c24xx_serial_set_mctrl(ptr nocapture readnone %0, i32 %1) #0 {
ret void
}
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/fastsocket/kernel/drivers/serial/extr_samsung.c_s3c24xx_serial_set_mctrl.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/serial/extr_samsung.c_s3c24xx_serial_set_mctrl.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 @s3c24xx_serial_set_mctrl], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @s3c24xx_serial_set_mctrl(ptr nocapture readnone %0, i32 %1) #0 {
ret void
}
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)"}
| fastsocket_kernel_drivers_serial_extr_samsung.c_s3c24xx_serial_set_mctrl |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/extr_aiutils.h_ai_get_pmurev.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/extr_aiutils.h_ai_get_pmurev.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 @ai_get_pmurev], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @ai_get_pmurev(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
ret i32 %2
}
attributes #0 = { inlinehint 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, !7, i64 0}
!6 = !{!"si_pub", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/extr_aiutils.h_ai_get_pmurev.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/extr_aiutils.h_ai_get_pmurev.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 @ai_get_pmurev], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal i32 @ai_get_pmurev(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
ret i32 %2
}
attributes #0 = { inlinehint 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, !8, i64 0}
!7 = !{!"si_pub", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_wireless_broadcom_brcm80211_brcmsmac_extr_aiutils.h_ai_get_pmurev |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/extr_trx.c__rtl92de_process_phyinfo.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/extr_trx.c__rtl92de_process_phyinfo.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.rtl_stats = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @_rtl92de_process_phyinfo], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @_rtl92de_process_phyinfo(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds %struct.rtl_stats, ptr %2, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load i32, ptr %2, align 4, !tbaa !10
%9 = icmp eq i32 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %7, %3
%11 = tail call i32 @_rtl92de_process_ui_rssi(ptr noundef %0, ptr noundef nonnull %2) #2
%12 = tail call i32 @_rtl92de_process_pwdb(ptr noundef %0, ptr noundef nonnull %2) #2
%13 = tail call i32 @_rtl92de_process_ui_link_quality(ptr noundef %0, ptr noundef nonnull %2) #2
br label %14
14: ; preds = %7, %10
ret void
}
declare i32 @_rtl92de_process_ui_rssi(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @_rtl92de_process_pwdb(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @_rtl92de_process_ui_link_quality(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 4}
!6 = !{!"rtl_stats", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/extr_trx.c__rtl92de_process_phyinfo.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/extr_trx.c__rtl92de_process_phyinfo.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 @_rtl92de_process_phyinfo], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @_rtl92de_process_phyinfo(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %2, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load i32, ptr %2, align 4, !tbaa !11
%9 = icmp eq i32 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %7, %3
%11 = tail call i32 @_rtl92de_process_ui_rssi(ptr noundef %0, ptr noundef nonnull %2) #2
%12 = tail call i32 @_rtl92de_process_pwdb(ptr noundef %0, ptr noundef nonnull %2) #2
%13 = tail call i32 @_rtl92de_process_ui_link_quality(ptr noundef %0, ptr noundef nonnull %2) #2
br label %14
14: ; preds = %7, %10
ret void
}
declare i32 @_rtl92de_process_ui_rssi(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @_rtl92de_process_pwdb(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @_rtl92de_process_ui_link_quality(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 4}
!7 = !{!"rtl_stats", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
| linux_drivers_net_wireless_realtek_rtlwifi_rtl8192de_extr_trx.c__rtl92de_process_phyinfo |
; ModuleID = 'AnghaBench/vlc/test/src/input/extr_demux-run.c_EsOutCheckId.c'
source_filename = "AnghaBench/vlc/test/src/input/extr_demux-run.c_EsOutCheckId.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 @EsOutCheckId], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @EsOutCheckId(ptr nocapture noundef readonly %0, ptr noundef readnone %1) #0 {
br label %3
3: ; preds = %7, %2
%4 = phi ptr [ %0, %2 ], [ %5, %7 ]
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = icmp eq ptr %5, null
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = icmp eq ptr %5, %1
br i1 %8, label %11, label %3, !llvm.loop !9
9: ; preds = %3
%10 = tail call i32 (...) @abort() #2
unreachable
11: ; preds = %7
ret void
}
; Function Attrs: noreturn
declare i32 @abort(...) 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 = { 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 #2 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/vlc/test/src/input/extr_demux-run.c_EsOutCheckId.c'
source_filename = "AnghaBench/vlc/test/src/input/extr_demux-run.c_EsOutCheckId.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 @EsOutCheckId], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @EsOutCheckId(ptr nocapture noundef readonly %0, ptr noundef readnone %1) #0 {
br label %3
3: ; preds = %7, %2
%4 = phi ptr [ %0, %2 ], [ %5, %7 ]
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = icmp eq ptr %5, null
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = icmp eq ptr %5, %1
br i1 %8, label %11, label %3, !llvm.loop !10
9: ; preds = %3
%10 = tail call i32 @abort() #2
unreachable
11: ; preds = %7
ret void
}
; Function Attrs: noreturn
declare i32 @abort(...) 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 = { 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 #2 = { 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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| vlc_test_src_input_extr_demux-run.c_EsOutCheckId |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/dream/smd/extr_smd.c_chstate.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/dream/smd/extr_smd.c_chstate.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"CLOSED\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"OPENING\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"OPENED\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"FLUSHING\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"CLOSING\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"RESET\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"ROPENING\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"UNKNOWN\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @chstate], section "llvm.metadata"
@reltable.chstate = private unnamed_addr constant [7 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.6 to i64), i64 ptrtoint (ptr @reltable.chstate to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.5 to i64), i64 ptrtoint (ptr @reltable.chstate to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.1 to i64), i64 ptrtoint (ptr @reltable.chstate to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.2 to i64), i64 ptrtoint (ptr @reltable.chstate to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.3 to i64), i64 ptrtoint (ptr @reltable.chstate to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.4 to i64), i64 ptrtoint (ptr @reltable.chstate to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str to i64), i64 ptrtoint (ptr @reltable.chstate to i64)) to i32)], align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef nonnull ptr @chstate(i32 noundef %0) #0 {
%2 = add i32 %0, -128
%3 = icmp ult i32 %2, 7
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = zext nneg i32 %2 to i64
%6 = shl i64 %5, 2
%7 = call ptr @llvm.load.relative.i64(ptr @reltable.chstate, i64 %6)
br label %8
8: ; preds = %1, %4
%9 = phi ptr [ %7, %4 ], [ @.str.7, %1 ]
ret ptr %9
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare ptr @llvm.load.relative.i64(ptr, i64) #1
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" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) }
!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/staging/dream/smd/extr_smd.c_chstate.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/dream/smd/extr_smd.c_chstate.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"CLOSED\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"OPENING\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"OPENED\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"FLUSHING\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"CLOSING\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"RESET\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"ROPENING\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"UNKNOWN\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @chstate], section "llvm.metadata"
@switch.table.chstate = private unnamed_addr constant [7 x ptr] [ptr @.str.6, ptr @.str.5, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str], align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef nonnull ptr @chstate(i32 noundef %0) #0 {
%2 = add i32 %0, -128
%3 = icmp ult i32 %2, 7
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = zext nneg i32 %2 to i64
%6 = getelementptr inbounds [7 x ptr], ptr @switch.table.chstate, i64 0, i64 %5
%7 = load ptr, ptr %6, align 8
br label %8
8: ; preds = %1, %4
%9 = phi ptr [ %7, %4 ], [ @.str.7, %1 ]
ret ptr %9
}
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)"}
| fastsocket_kernel_drivers_staging_dream_smd_extr_smd.c_chstate |
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/net/extr_nettest.c_set_multicast_if.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/net/extr_nettest.c_set_multicast_if.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.ip_mreqn = type { i32 }
@SOL_IP = dso_local local_unnamed_addr global i32 0, align 4
@IP_MULTICAST_IF = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"setsockopt(IP_MULTICAST_IF)\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @set_multicast_if], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @set_multicast_if(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca %struct.ip_mreqn, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 %1, ptr %3, align 4, !tbaa !5
%4 = load i32, ptr @SOL_IP, align 4, !tbaa !10
%5 = load i32, ptr @IP_MULTICAST_IF, align 4, !tbaa !10
%6 = call i32 @setsockopt(i32 noundef %0, i32 noundef %4, i32 noundef %5, ptr noundef nonnull %3, i32 noundef 4) #3
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = call i32 @log_err_errno(ptr noundef nonnull @.str) #3
br label %10
10: ; preds = %8, %2
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %6
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @log_err_errno(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 = !{!"ip_mreqn", !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/tools/testing/selftests/net/extr_nettest.c_set_multicast_if.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/net/extr_nettest.c_set_multicast_if.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ip_mreqn = type { i32 }
@SOL_IP = common local_unnamed_addr global i32 0, align 4
@IP_MULTICAST_IF = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"setsockopt(IP_MULTICAST_IF)\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @set_multicast_if], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @set_multicast_if(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca %struct.ip_mreqn, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 %1, ptr %3, align 4, !tbaa !6
%4 = load i32, ptr @SOL_IP, align 4, !tbaa !11
%5 = load i32, ptr @IP_MULTICAST_IF, align 4, !tbaa !11
%6 = call i32 @setsockopt(i32 noundef %0, i32 noundef %4, i32 noundef %5, ptr noundef nonnull %3, i32 noundef 4) #3
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = call i32 @log_err_errno(ptr noundef nonnull @.str) #3
br label %10
10: ; preds = %8, %2
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %6
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @log_err_errno(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 = !{!"ip_mreqn", !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_tools_testing_selftests_net_extr_nettest.c_set_multicast_if |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ssb/extr_main.c_ssb_calc_clock_rate.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ssb/extr_main.c_ssb_calc_clock_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"
@SSB_CHIPCO_CLK_N1 = dso_local local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_N2 = dso_local local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_N2_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_T6_MMASK = dso_local local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_T6_M1 = dso_local local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_T6_M0 = dso_local local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_F5_BIAS = dso_local local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_T2_BIAS = dso_local local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_BASE2 = dso_local local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_BASE1 = dso_local local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_M1 = dso_local local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_M2 = dso_local local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_M2_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_M3 = dso_local local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_M3_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_MC = dso_local local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_MC_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_T2M2_BIAS = dso_local local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_T2MC_M1BYP = dso_local local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_T2MC_M2BYP = dso_local local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_T2MC_M3BYP = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ssb_calc_clock_rate(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @SSB_CHIPCO_CLK_N1, align 4, !tbaa !5
%5 = and i32 %4, %1
%6 = load i32, ptr @SSB_CHIPCO_CLK_N2, align 4, !tbaa !5
%7 = and i32 %6, %1
%8 = load i32, ptr @SSB_CHIPCO_CLK_N2_SHIFT, align 4, !tbaa !5
%9 = ashr i32 %7, %8
switch i32 %0, label %34 [
i32 129, label %10
i32 134, label %18
i32 132, label %18
i32 131, label %18
i32 128, label %18
i32 133, label %22
i32 130, label %126
]
10: ; preds = %3
%11 = load i32, ptr @SSB_CHIPCO_CLK_T6_MMASK, align 4, !tbaa !5
%12 = and i32 %11, %2
%13 = icmp eq i32 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %10
%15 = load i32, ptr @SSB_CHIPCO_CLK_T6_M1, align 4, !tbaa !5
br label %126
16: ; preds = %10
%17 = load i32, ptr @SSB_CHIPCO_CLK_T6_M0, align 4, !tbaa !5
br label %126
18: ; preds = %3, %3, %3, %3
%19 = tail call i32 @clkfactor_f6_resolve(i32 noundef %5) #2
%20 = load i32, ptr @SSB_CHIPCO_CLK_F5_BIAS, align 4, !tbaa !5
%21 = add nsw i32 %20, %9
br label %36
22: ; preds = %3
%23 = load i32, ptr @SSB_CHIPCO_CLK_T2_BIAS, align 4, !tbaa !5
%24 = add nsw i32 %23, %5
%25 = add nsw i32 %23, %9
%26 = add i32 %24, -8
%27 = icmp ult i32 %26, -6
%28 = zext i1 %27 to i32
%29 = tail call i32 @SSB_WARN_ON(i32 noundef %28) #2
%30 = add i32 %25, -24
%31 = icmp ult i32 %30, -19
%32 = zext i1 %31 to i32
%33 = tail call i32 @SSB_WARN_ON(i32 noundef %32) #2
br label %36
34: ; preds = %3
%35 = tail call i32 @SSB_WARN_ON(i32 noundef 1) #2
br label %36
36: ; preds = %34, %22, %18
%37 = phi i32 [ %5, %34 ], [ %24, %22 ], [ %19, %18 ]
%38 = phi i32 [ %9, %34 ], [ %25, %22 ], [ %21, %18 ]
%39 = and i32 %0, -5
%40 = icmp eq i32 %39, 128
%41 = load i32, ptr @SSB_CHIPCO_CLK_BASE2, align 4
%42 = load i32, ptr @SSB_CHIPCO_CLK_BASE1, align 4
%43 = select i1 %40, i32 %41, i32 %42
%44 = mul i32 %38, %37
%45 = mul i32 %44, %43
%46 = icmp eq i32 %45, 0
br i1 %46, label %126, label %47
47: ; preds = %36
%48 = load i32, ptr @SSB_CHIPCO_CLK_M1, align 4, !tbaa !5
%49 = and i32 %48, %2
%50 = load i32, ptr @SSB_CHIPCO_CLK_M2, align 4, !tbaa !5
%51 = and i32 %50, %2
%52 = load i32, ptr @SSB_CHIPCO_CLK_M2_SHIFT, align 4, !tbaa !5
%53 = ashr i32 %51, %52
%54 = load i32, ptr @SSB_CHIPCO_CLK_M3, align 4, !tbaa !5
%55 = and i32 %54, %2
%56 = load i32, ptr @SSB_CHIPCO_CLK_M3_SHIFT, align 4, !tbaa !5
%57 = ashr i32 %55, %56
%58 = load i32, ptr @SSB_CHIPCO_CLK_MC, align 4, !tbaa !5
%59 = and i32 %58, %2
%60 = load i32, ptr @SSB_CHIPCO_CLK_MC_SHIFT, align 4, !tbaa !5
%61 = ashr i32 %59, %60
switch i32 %0, label %124 [
i32 134, label %62
i32 132, label %62
i32 131, label %62
i32 128, label %62
i32 133, label %87
]
62: ; preds = %47, %47, %47, %47
%63 = tail call i32 @clkfactor_f6_resolve(i32 noundef %49) #2
%64 = and i32 %0, -3
%65 = icmp eq i32 %64, 132
br i1 %65, label %66, label %69
66: ; preds = %62
%67 = load i32, ptr @SSB_CHIPCO_CLK_F5_BIAS, align 4, !tbaa !5
%68 = add nsw i32 %67, %53
br label %71
69: ; preds = %62
%70 = tail call i32 @clkfactor_f6_resolve(i32 noundef %53) #2
br label %71
71: ; preds = %69, %66
%72 = phi i32 [ %68, %66 ], [ %70, %69 ]
%73 = tail call i32 @clkfactor_f6_resolve(i32 noundef %57) #2
switch i32 %61, label %86 [
i32 139, label %126
i32 138, label %74
i32 137, label %76
i32 136, label %79
i32 135, label %83
]
74: ; preds = %71
%75 = sdiv i32 %45, %63
br label %126
76: ; preds = %71
%77 = mul nsw i32 %72, %63
%78 = sdiv i32 %45, %77
br label %126
79: ; preds = %71
%80 = mul nsw i32 %72, %63
%81 = mul nsw i32 %80, %73
%82 = sdiv i32 %45, %81
br label %126
83: ; preds = %71
%84 = mul nsw i32 %73, %63
%85 = sdiv i32 %45, %84
br label %126
86: ; preds = %71
br label %126
87: ; preds = %47
%88 = load i32, ptr @SSB_CHIPCO_CLK_T2_BIAS, align 4, !tbaa !5
%89 = add nsw i32 %88, %49
%90 = load i32, ptr @SSB_CHIPCO_CLK_T2M2_BIAS, align 4, !tbaa !5
%91 = add nsw i32 %90, %53
%92 = add nsw i32 %88, %57
%93 = add i32 %89, -8
%94 = icmp ult i32 %93, -6
%95 = zext i1 %94 to i32
%96 = tail call i32 @SSB_WARN_ON(i32 noundef %95) #2
%97 = add i32 %91, -11
%98 = icmp ult i32 %97, -8
%99 = zext i1 %98 to i32
%100 = tail call i32 @SSB_WARN_ON(i32 noundef %99) #2
%101 = add i32 %92, -8
%102 = icmp ult i32 %101, -6
%103 = zext i1 %102 to i32
%104 = tail call i32 @SSB_WARN_ON(i32 noundef %103) #2
%105 = load i32, ptr @SSB_CHIPCO_CLK_T2MC_M1BYP, align 4, !tbaa !5
%106 = and i32 %105, %61
%107 = icmp eq i32 %106, 0
br i1 %107, label %108, label %110
108: ; preds = %87
%109 = sdiv i32 %45, %89
br label %110
110: ; preds = %108, %87
%111 = phi i32 [ %45, %87 ], [ %109, %108 ]
%112 = load i32, ptr @SSB_CHIPCO_CLK_T2MC_M2BYP, align 4, !tbaa !5
%113 = and i32 %112, %61
%114 = icmp eq i32 %113, 0
br i1 %114, label %115, label %117
115: ; preds = %110
%116 = sdiv i32 %111, %91
br label %117
117: ; preds = %115, %110
%118 = phi i32 [ %111, %110 ], [ %116, %115 ]
%119 = load i32, ptr @SSB_CHIPCO_CLK_T2MC_M3BYP, align 4, !tbaa !5
%120 = and i32 %119, %61
%121 = icmp eq i32 %120, 0
br i1 %121, label %122, label %126
122: ; preds = %117
%123 = sdiv i32 %118, %92
br label %126
124: ; preds = %47
%125 = tail call i32 @SSB_WARN_ON(i32 noundef 1) #2
br label %126
126: ; preds = %117, %122, %71, %36, %3, %124, %86, %83, %79, %76, %74, %16, %14
%127 = phi i32 [ 0, %124 ], [ 0, %86 ], [ %85, %83 ], [ %82, %79 ], [ %78, %76 ], [ %75, %74 ], [ %15, %14 ], [ %17, %16 ], [ 100000000, %3 ], [ 0, %36 ], [ %45, %71 ], [ %118, %117 ], [ %123, %122 ]
ret i32 %127
}
declare i32 @clkfactor_f6_resolve(i32 noundef) local_unnamed_addr #1
declare i32 @SSB_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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ssb/extr_main.c_ssb_calc_clock_rate.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ssb/extr_main.c_ssb_calc_clock_rate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SSB_CHIPCO_CLK_N1 = common local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_N2 = common local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_N2_SHIFT = common local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_T6_MMASK = common local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_T6_M1 = common local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_T6_M0 = common local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_F5_BIAS = common local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_T2_BIAS = common local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_BASE2 = common local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_BASE1 = common local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_M1 = common local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_M2 = common local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_M2_SHIFT = common local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_M3 = common local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_M3_SHIFT = common local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_MC = common local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_MC_SHIFT = common local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_T2M2_BIAS = common local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_T2MC_M1BYP = common local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_T2MC_M2BYP = common local_unnamed_addr global i32 0, align 4
@SSB_CHIPCO_CLK_T2MC_M3BYP = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ssb_calc_clock_rate(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @SSB_CHIPCO_CLK_N1, align 4, !tbaa !6
%5 = and i32 %4, %1
%6 = load i32, ptr @SSB_CHIPCO_CLK_N2, align 4, !tbaa !6
%7 = and i32 %6, %1
%8 = load i32, ptr @SSB_CHIPCO_CLK_N2_SHIFT, align 4, !tbaa !6
%9 = ashr i32 %7, %8
switch i32 %0, label %34 [
i32 129, label %10
i32 134, label %18
i32 132, label %18
i32 131, label %18
i32 128, label %18
i32 133, label %22
i32 130, label %126
]
10: ; preds = %3
%11 = load i32, ptr @SSB_CHIPCO_CLK_T6_MMASK, align 4, !tbaa !6
%12 = and i32 %11, %2
%13 = icmp eq i32 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %10
%15 = load i32, ptr @SSB_CHIPCO_CLK_T6_M1, align 4, !tbaa !6
br label %126
16: ; preds = %10
%17 = load i32, ptr @SSB_CHIPCO_CLK_T6_M0, align 4, !tbaa !6
br label %126
18: ; preds = %3, %3, %3, %3
%19 = tail call i32 @clkfactor_f6_resolve(i32 noundef %5) #2
%20 = load i32, ptr @SSB_CHIPCO_CLK_F5_BIAS, align 4, !tbaa !6
%21 = add nsw i32 %20, %9
br label %36
22: ; preds = %3
%23 = load i32, ptr @SSB_CHIPCO_CLK_T2_BIAS, align 4, !tbaa !6
%24 = add nsw i32 %23, %5
%25 = add nsw i32 %23, %9
%26 = add i32 %24, -8
%27 = icmp ult i32 %26, -6
%28 = zext i1 %27 to i32
%29 = tail call i32 @SSB_WARN_ON(i32 noundef %28) #2
%30 = add i32 %25, -24
%31 = icmp ult i32 %30, -19
%32 = zext i1 %31 to i32
%33 = tail call i32 @SSB_WARN_ON(i32 noundef %32) #2
br label %36
34: ; preds = %3
%35 = tail call i32 @SSB_WARN_ON(i32 noundef 1) #2
br label %36
36: ; preds = %34, %22, %18
%37 = phi i32 [ %5, %34 ], [ %24, %22 ], [ %19, %18 ]
%38 = phi i32 [ %9, %34 ], [ %25, %22 ], [ %21, %18 ]
%39 = and i32 %0, -5
%40 = icmp eq i32 %39, 128
%41 = load i32, ptr @SSB_CHIPCO_CLK_BASE2, align 4
%42 = load i32, ptr @SSB_CHIPCO_CLK_BASE1, align 4
%43 = select i1 %40, i32 %41, i32 %42
%44 = mul i32 %38, %37
%45 = mul i32 %44, %43
%46 = icmp eq i32 %45, 0
br i1 %46, label %126, label %47
47: ; preds = %36
%48 = load i32, ptr @SSB_CHIPCO_CLK_M1, align 4, !tbaa !6
%49 = and i32 %48, %2
%50 = load i32, ptr @SSB_CHIPCO_CLK_M2, align 4, !tbaa !6
%51 = and i32 %50, %2
%52 = load i32, ptr @SSB_CHIPCO_CLK_M2_SHIFT, align 4, !tbaa !6
%53 = ashr i32 %51, %52
%54 = load i32, ptr @SSB_CHIPCO_CLK_M3, align 4, !tbaa !6
%55 = and i32 %54, %2
%56 = load i32, ptr @SSB_CHIPCO_CLK_M3_SHIFT, align 4, !tbaa !6
%57 = ashr i32 %55, %56
%58 = load i32, ptr @SSB_CHIPCO_CLK_MC, align 4, !tbaa !6
%59 = and i32 %58, %2
%60 = load i32, ptr @SSB_CHIPCO_CLK_MC_SHIFT, align 4, !tbaa !6
%61 = ashr i32 %59, %60
switch i32 %0, label %124 [
i32 134, label %62
i32 132, label %62
i32 131, label %62
i32 128, label %62
i32 133, label %87
]
62: ; preds = %47, %47, %47, %47
%63 = tail call i32 @clkfactor_f6_resolve(i32 noundef %49) #2
%64 = and i32 %0, -3
%65 = icmp eq i32 %64, 132
br i1 %65, label %66, label %69
66: ; preds = %62
%67 = load i32, ptr @SSB_CHIPCO_CLK_F5_BIAS, align 4, !tbaa !6
%68 = add nsw i32 %67, %53
br label %71
69: ; preds = %62
%70 = tail call i32 @clkfactor_f6_resolve(i32 noundef %53) #2
br label %71
71: ; preds = %69, %66
%72 = phi i32 [ %68, %66 ], [ %70, %69 ]
%73 = tail call i32 @clkfactor_f6_resolve(i32 noundef %57) #2
switch i32 %61, label %86 [
i32 139, label %126
i32 138, label %74
i32 137, label %76
i32 136, label %79
i32 135, label %83
]
74: ; preds = %71
%75 = sdiv i32 %45, %63
br label %126
76: ; preds = %71
%77 = mul nsw i32 %72, %63
%78 = sdiv i32 %45, %77
br label %126
79: ; preds = %71
%80 = mul nsw i32 %72, %63
%81 = mul nsw i32 %80, %73
%82 = sdiv i32 %45, %81
br label %126
83: ; preds = %71
%84 = mul nsw i32 %73, %63
%85 = sdiv i32 %45, %84
br label %126
86: ; preds = %71
br label %126
87: ; preds = %47
%88 = load i32, ptr @SSB_CHIPCO_CLK_T2_BIAS, align 4, !tbaa !6
%89 = add nsw i32 %88, %49
%90 = load i32, ptr @SSB_CHIPCO_CLK_T2M2_BIAS, align 4, !tbaa !6
%91 = add nsw i32 %90, %53
%92 = add nsw i32 %88, %57
%93 = add i32 %89, -8
%94 = icmp ult i32 %93, -6
%95 = zext i1 %94 to i32
%96 = tail call i32 @SSB_WARN_ON(i32 noundef %95) #2
%97 = add i32 %91, -11
%98 = icmp ult i32 %97, -8
%99 = zext i1 %98 to i32
%100 = tail call i32 @SSB_WARN_ON(i32 noundef %99) #2
%101 = add i32 %92, -8
%102 = icmp ult i32 %101, -6
%103 = zext i1 %102 to i32
%104 = tail call i32 @SSB_WARN_ON(i32 noundef %103) #2
%105 = load i32, ptr @SSB_CHIPCO_CLK_T2MC_M1BYP, align 4, !tbaa !6
%106 = and i32 %105, %61
%107 = icmp eq i32 %106, 0
br i1 %107, label %108, label %110
108: ; preds = %87
%109 = sdiv i32 %45, %89
br label %110
110: ; preds = %108, %87
%111 = phi i32 [ %45, %87 ], [ %109, %108 ]
%112 = load i32, ptr @SSB_CHIPCO_CLK_T2MC_M2BYP, align 4, !tbaa !6
%113 = and i32 %112, %61
%114 = icmp eq i32 %113, 0
br i1 %114, label %115, label %117
115: ; preds = %110
%116 = sdiv i32 %111, %91
br label %117
117: ; preds = %115, %110
%118 = phi i32 [ %111, %110 ], [ %116, %115 ]
%119 = load i32, ptr @SSB_CHIPCO_CLK_T2MC_M3BYP, align 4, !tbaa !6
%120 = and i32 %119, %61
%121 = icmp eq i32 %120, 0
br i1 %121, label %122, label %126
122: ; preds = %117
%123 = sdiv i32 %118, %92
br label %126
124: ; preds = %47
%125 = tail call i32 @SSB_WARN_ON(i32 noundef 1) #2
br label %126
126: ; preds = %117, %122, %71, %36, %3, %124, %86, %83, %79, %76, %74, %16, %14
%127 = phi i32 [ 0, %124 ], [ 0, %86 ], [ %85, %83 ], [ %82, %79 ], [ %78, %76 ], [ %75, %74 ], [ %15, %14 ], [ %17, %16 ], [ 100000000, %3 ], [ 0, %36 ], [ %45, %71 ], [ %118, %117 ], [ %123, %122 ]
ret i32 %127
}
declare i32 @clkfactor_f6_resolve(i32 noundef) local_unnamed_addr #1
declare i32 @SSB_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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_ssb_extr_main.c_ssb_calc_clock_rate |
; ModuleID = 'AnghaBench/obs-studio/plugins/obs-outputs/extr_rtmp-stream.c_rtmp_stream_start.c'
source_filename = "AnghaBench/obs-studio/plugins/obs-outputs/extr_rtmp-stream.c_rtmp_stream_start.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.rtmp_stream = type { i32, i32, i32 }
@connect_thread = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rtmp_stream_start], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rtmp_stream_start(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.rtmp_stream, ptr %0, i64 0, i32 2
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i32 @obs_output_can_begin_data_capture(i32 noundef %3, i32 noundef 0) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %17, label %6
6: ; preds = %1
%7 = load i32, ptr %2, align 4, !tbaa !5
%8 = tail call i32 @obs_output_initialize_encoders(i32 noundef %7, i32 noundef 0) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %17, label %10
10: ; preds = %6
%11 = getelementptr inbounds %struct.rtmp_stream, ptr %0, i64 0, i32 1
%12 = tail call i32 @os_atomic_set_bool(ptr noundef nonnull %11, i32 noundef 1) #2
%13 = load i32, ptr @connect_thread, align 4, !tbaa !10
%14 = tail call i64 @pthread_create(ptr noundef nonnull %0, ptr noundef null, i32 noundef %13, ptr noundef nonnull %0) #2
%15 = icmp eq i64 %14, 0
%16 = zext i1 %15 to i32
br label %17
17: ; preds = %6, %1, %10
%18 = phi i32 [ %16, %10 ], [ 0, %1 ], [ 0, %6 ]
ret i32 %18
}
declare i32 @obs_output_can_begin_data_capture(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @obs_output_initialize_encoders(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @os_atomic_set_bool(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @pthread_create(ptr noundef, 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 8}
!6 = !{!"rtmp_stream", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/obs-studio/plugins/obs-outputs/extr_rtmp-stream.c_rtmp_stream_start.c'
source_filename = "AnghaBench/obs-studio/plugins/obs-outputs/extr_rtmp-stream.c_rtmp_stream_start.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@connect_thread = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rtmp_stream_start], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @rtmp_stream_start(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i32 @obs_output_can_begin_data_capture(i32 noundef %3, i32 noundef 0) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %17, label %6
6: ; preds = %1
%7 = load i32, ptr %2, align 4, !tbaa !6
%8 = tail call i32 @obs_output_initialize_encoders(i32 noundef %7, i32 noundef 0) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %17, label %10
10: ; preds = %6
%11 = getelementptr inbounds i8, ptr %0, i64 4
%12 = tail call i32 @os_atomic_set_bool(ptr noundef nonnull %11, i32 noundef 1) #2
%13 = load i32, ptr @connect_thread, align 4, !tbaa !11
%14 = tail call i64 @pthread_create(ptr noundef nonnull %0, ptr noundef null, i32 noundef %13, ptr noundef nonnull %0) #2
%15 = icmp eq i64 %14, 0
%16 = zext i1 %15 to i32
br label %17
17: ; preds = %6, %1, %10
%18 = phi i32 [ %16, %10 ], [ 0, %1 ], [ 0, %6 ]
ret i32 %18
}
declare i32 @obs_output_can_begin_data_capture(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @obs_output_initialize_encoders(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @os_atomic_set_bool(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @pthread_create(ptr noundef, 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 8}
!7 = !{!"rtmp_stream", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| obs-studio_plugins_obs-outputs_extr_rtmp-stream.c_rtmp_stream_start |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_mt9m111.c_mt9m111_resume.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_mt9m111.c_mt9m111_resume.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 @mt9m111_resume], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mt9m111_resume(ptr noundef %0) #0 {
%2 = tail call i32 @to_soc_camera_control(ptr noundef %0) #2
%3 = tail call ptr @to_i2c_client(i32 noundef %2) #2
%4 = tail call ptr @to_mt9m111(ptr noundef %3) #2
%5 = load i64, ptr %4, align 8, !tbaa !5
%6 = icmp eq i64 %5, 0
br i1 %6, label %15, label %7
7: ; preds = %1
%8 = tail call i32 @mt9m111_enable(ptr noundef %3) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %7
%11 = tail call i32 @mt9m111_reset(ptr noundef %3) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = tail call i32 @mt9m111_restore_state(ptr noundef %3) #2
br label %15
15: ; preds = %7, %10, %13, %1
%16 = phi i32 [ %11, %10 ], [ %14, %13 ], [ 0, %1 ], [ %8, %7 ]
ret i32 %16
}
declare ptr @to_i2c_client(i32 noundef) local_unnamed_addr #1
declare i32 @to_soc_camera_control(ptr noundef) local_unnamed_addr #1
declare ptr @to_mt9m111(ptr noundef) local_unnamed_addr #1
declare i32 @mt9m111_enable(ptr noundef) local_unnamed_addr #1
declare i32 @mt9m111_reset(ptr noundef) local_unnamed_addr #1
declare i32 @mt9m111_restore_state(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 = !{!"mt9m111", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_mt9m111.c_mt9m111_resume.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_mt9m111.c_mt9m111_resume.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 @mt9m111_resume], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mt9m111_resume(ptr noundef %0) #0 {
%2 = tail call i32 @to_soc_camera_control(ptr noundef %0) #2
%3 = tail call ptr @to_i2c_client(i32 noundef %2) #2
%4 = tail call ptr @to_mt9m111(ptr noundef %3) #2
%5 = load i64, ptr %4, align 8, !tbaa !6
%6 = icmp eq i64 %5, 0
br i1 %6, label %15, label %7
7: ; preds = %1
%8 = tail call i32 @mt9m111_enable(ptr noundef %3) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %7
%11 = tail call i32 @mt9m111_reset(ptr noundef %3) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = tail call i32 @mt9m111_restore_state(ptr noundef %3) #2
br label %15
15: ; preds = %7, %10, %13, %1
%16 = phi i32 [ %11, %10 ], [ %14, %13 ], [ 0, %1 ], [ %8, %7 ]
ret i32 %16
}
declare ptr @to_i2c_client(i32 noundef) local_unnamed_addr #1
declare i32 @to_soc_camera_control(ptr noundef) local_unnamed_addr #1
declare ptr @to_mt9m111(ptr noundef) local_unnamed_addr #1
declare i32 @mt9m111_enable(ptr noundef) local_unnamed_addr #1
declare i32 @mt9m111_reset(ptr noundef) local_unnamed_addr #1
declare i32 @mt9m111_restore_state(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 = !{!"mt9m111", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_media_video_extr_mt9m111.c_mt9m111_resume |
; ModuleID = 'AnghaBench/postgres/src/backend/utils/adt/extr_geo_ops.c_line_interpt_line.c'
source_filename = "AnghaBench/postgres/src/backend/utils/adt/extr_geo_ops.c_line_interpt_line.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 { double, double, double }
@llvm.compiler.used = appending global [1 x ptr] [ptr @line_interpt_line], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @line_interpt_line(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = load double, ptr %1, align 8, !tbaa !5
%5 = tail call i32 @FPzero(double noundef %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %18
7: ; preds = %3
%8 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 0, i32 1
%9 = load double, ptr %8, align 8, !tbaa !10
%10 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1
%11 = load double, ptr %10, align 8, !tbaa !10
%12 = load double, ptr %2, align 8, !tbaa !5
%13 = load double, ptr %1, align 8, !tbaa !5
%14 = tail call double @float8_div(double noundef %12, double noundef %13) #2
%15 = tail call i32 @float8_mul(double noundef %11, double noundef %14) #2
%16 = tail call i64 @FPeq(double noundef %9, i32 noundef %15) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %33, label %69
18: ; preds = %3
%19 = load double, ptr %2, align 8, !tbaa !5
%20 = tail call i32 @FPzero(double noundef %19) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %69
22: ; preds = %18
%23 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1
%24 = load double, ptr %23, align 8, !tbaa !10
%25 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 0, i32 1
%26 = load double, ptr %25, align 8, !tbaa !10
%27 = load double, ptr %1, align 8, !tbaa !5
%28 = load double, ptr %2, align 8, !tbaa !5
%29 = tail call double @float8_div(double noundef %27, double noundef %28) #2
%30 = tail call i32 @float8_mul(double noundef %26, double noundef %29) #2
%31 = tail call i64 @FPeq(double noundef %24, i32 noundef %30) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %69
33: ; preds = %22, %7
%34 = phi ptr [ %1, %7 ], [ %2, %22 ]
%35 = phi ptr [ %2, %7 ], [ %1, %22 ]
%36 = phi ptr [ %10, %7 ], [ %25, %22 ]
%37 = phi ptr [ %8, %7 ], [ %23, %22 ]
%38 = load double, ptr %34, align 8, !tbaa !5
%39 = getelementptr inbounds %struct.TYPE_4__, ptr %35, i64 0, i32 2
%40 = load double, ptr %39, align 8, !tbaa !11
%41 = tail call i32 @float8_mul(double noundef %38, double noundef %40) #2
%42 = load double, ptr %35, align 8, !tbaa !5
%43 = getelementptr inbounds %struct.TYPE_4__, ptr %34, i64 0, i32 2
%44 = load double, ptr %43, align 8, !tbaa !11
%45 = tail call i32 @float8_mul(double noundef %42, double noundef %44) #2
%46 = tail call double @float8_mi(i32 noundef %41, i32 noundef %45) #2
%47 = load double, ptr %36, align 8, !tbaa !10
%48 = load double, ptr %35, align 8, !tbaa !5
%49 = tail call i32 @float8_mul(double noundef %47, double noundef %48) #2
%50 = load double, ptr %37, align 8, !tbaa !10
%51 = load double, ptr %34, align 8, !tbaa !5
%52 = tail call i32 @float8_mul(double noundef %50, double noundef %51) #2
%53 = tail call double @float8_mi(i32 noundef %49, i32 noundef %52) #2
%54 = tail call double @float8_div(double noundef %46, double noundef %53) #2
%55 = load double, ptr %36, align 8, !tbaa !10
%56 = tail call i32 @float8_mul(double noundef %55, double noundef %54) #2
%57 = load double, ptr %43, align 8, !tbaa !11
%58 = tail call double @float8_pl(i32 noundef %56, double noundef %57) #2
%59 = fneg double %58
%60 = load double, ptr %34, align 8, !tbaa !5
%61 = tail call double @float8_div(double noundef %59, double noundef %60) #2
%62 = icmp eq ptr %0, null
br i1 %62, label %69, label %63
63: ; preds = %33
%64 = fcmp oeq double %61, 0.000000e+00
%65 = select i1 %64, double 0.000000e+00, double %61
%66 = fcmp oeq double %54, 0.000000e+00
%67 = select i1 %66, double 0.000000e+00, double %54
%68 = tail call i32 @point_construct(ptr noundef nonnull %0, double noundef %67, double noundef %65) #2
br label %69
69: ; preds = %33, %63, %18, %22, %7
%70 = phi i32 [ 0, %7 ], [ 0, %22 ], [ 0, %18 ], [ 1, %63 ], [ 1, %33 ]
ret i32 %70
}
declare i32 @FPzero(double noundef) local_unnamed_addr #1
declare i64 @FPeq(double noundef, i32 noundef) local_unnamed_addr #1
declare i32 @float8_mul(double noundef, double noundef) local_unnamed_addr #1
declare double @float8_div(double noundef, double noundef) local_unnamed_addr #1
declare double @float8_mi(i32 noundef, i32 noundef) local_unnamed_addr #1
declare double @float8_pl(i32 noundef, double noundef) local_unnamed_addr #1
declare i32 @point_construct(ptr noundef, double noundef, double 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, i64 8, !7, i64 16}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!6, !7, i64 16}
| ; ModuleID = 'AnghaBench/postgres/src/backend/utils/adt/extr_geo_ops.c_line_interpt_line.c'
source_filename = "AnghaBench/postgres/src/backend/utils/adt/extr_geo_ops.c_line_interpt_line.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 @line_interpt_line], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @line_interpt_line(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = load double, ptr %1, align 8, !tbaa !6
%5 = tail call i32 @FPzero(double noundef %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %18
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %2, i64 8
%9 = load double, ptr %8, align 8, !tbaa !11
%10 = getelementptr inbounds i8, ptr %1, i64 8
%11 = load double, ptr %10, align 8, !tbaa !11
%12 = load double, ptr %2, align 8, !tbaa !6
%13 = load double, ptr %1, align 8, !tbaa !6
%14 = tail call double @float8_div(double noundef %12, double noundef %13) #2
%15 = tail call i32 @float8_mul(double noundef %11, double noundef %14) #2
%16 = tail call i64 @FPeq(double noundef %9, i32 noundef %15) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %33, label %69
18: ; preds = %3
%19 = load double, ptr %2, align 8, !tbaa !6
%20 = tail call i32 @FPzero(double noundef %19) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %69
22: ; preds = %18
%23 = getelementptr inbounds i8, ptr %1, i64 8
%24 = load double, ptr %23, align 8, !tbaa !11
%25 = getelementptr inbounds i8, ptr %2, i64 8
%26 = load double, ptr %25, align 8, !tbaa !11
%27 = load double, ptr %1, align 8, !tbaa !6
%28 = load double, ptr %2, align 8, !tbaa !6
%29 = tail call double @float8_div(double noundef %27, double noundef %28) #2
%30 = tail call i32 @float8_mul(double noundef %26, double noundef %29) #2
%31 = tail call i64 @FPeq(double noundef %24, i32 noundef %30) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %69
33: ; preds = %22, %7
%34 = phi ptr [ %1, %7 ], [ %2, %22 ]
%35 = phi ptr [ %2, %7 ], [ %1, %22 ]
%36 = phi ptr [ %10, %7 ], [ %25, %22 ]
%37 = phi ptr [ %8, %7 ], [ %23, %22 ]
%38 = load double, ptr %34, align 8, !tbaa !6
%39 = getelementptr inbounds i8, ptr %35, i64 16
%40 = load double, ptr %39, align 8, !tbaa !12
%41 = tail call i32 @float8_mul(double noundef %38, double noundef %40) #2
%42 = load double, ptr %35, align 8, !tbaa !6
%43 = getelementptr inbounds i8, ptr %34, i64 16
%44 = load double, ptr %43, align 8, !tbaa !12
%45 = tail call i32 @float8_mul(double noundef %42, double noundef %44) #2
%46 = tail call double @float8_mi(i32 noundef %41, i32 noundef %45) #2
%47 = load double, ptr %36, align 8, !tbaa !11
%48 = load double, ptr %35, align 8, !tbaa !6
%49 = tail call i32 @float8_mul(double noundef %47, double noundef %48) #2
%50 = load double, ptr %37, align 8, !tbaa !11
%51 = load double, ptr %34, align 8, !tbaa !6
%52 = tail call i32 @float8_mul(double noundef %50, double noundef %51) #2
%53 = tail call double @float8_mi(i32 noundef %49, i32 noundef %52) #2
%54 = tail call double @float8_div(double noundef %46, double noundef %53) #2
%55 = load double, ptr %36, align 8, !tbaa !11
%56 = tail call i32 @float8_mul(double noundef %55, double noundef %54) #2
%57 = load double, ptr %43, align 8, !tbaa !12
%58 = tail call double @float8_pl(i32 noundef %56, double noundef %57) #2
%59 = fneg double %58
%60 = load double, ptr %34, align 8, !tbaa !6
%61 = tail call double @float8_div(double noundef %59, double noundef %60) #2
%62 = icmp eq ptr %0, null
br i1 %62, label %69, label %63
63: ; preds = %33
%64 = fcmp oeq double %61, 0.000000e+00
%65 = select i1 %64, double 0.000000e+00, double %61
%66 = fcmp oeq double %54, 0.000000e+00
%67 = select i1 %66, double 0.000000e+00, double %54
%68 = tail call i32 @point_construct(ptr noundef nonnull %0, double noundef %67, double noundef %65) #2
br label %69
69: ; preds = %33, %63, %18, %22, %7
%70 = phi i32 [ 0, %7 ], [ 0, %22 ], [ 0, %18 ], [ 1, %63 ], [ 1, %33 ]
ret i32 %70
}
declare i32 @FPzero(double noundef) local_unnamed_addr #1
declare i64 @FPeq(double noundef, i32 noundef) local_unnamed_addr #1
declare i32 @float8_mul(double noundef, double noundef) local_unnamed_addr #1
declare double @float8_div(double noundef, double noundef) local_unnamed_addr #1
declare double @float8_mi(i32 noundef, i32 noundef) local_unnamed_addr #1
declare double @float8_pl(i32 noundef, double noundef) local_unnamed_addr #1
declare i32 @point_construct(ptr noundef, double noundef, double 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, i64 8, !8, i64 16}
!8 = !{!"double", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
!12 = !{!7, !8, i64 16}
| postgres_src_backend_utils_adt_extr_geo_ops.c_line_interpt_line |
; ModuleID = 'AnghaBench/linux/drivers/hid/usbhid/extr_hid-pidff.c_pidff_init_fields.c'
source_filename = "AnghaBench/linux/drivers/hid/usbhid/extr_hid-pidff.c_pidff_init_fields.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.pidff_device = type { i32, ptr }
%struct.TYPE_2__ = type { i32 }
@set_effect = dso_local local_unnamed_addr global i32 0, align 4
@PID_SET_EFFECT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"unknown set_effect report layout\0A\00", align 1
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@block_load = dso_local local_unnamed_addr global i32 0, align 4
@PID_BLOCK_LOAD = dso_local local_unnamed_addr global i32 0, align 4
@PID_EFFECT_BLOCK_INDEX = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [38 x i8] c"unknown pid_block_load report layout\0A\00", align 1
@effect_operation = dso_local local_unnamed_addr global i32 0, align 4
@PID_EFFECT_OPERATION = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [40 x i8] c"unknown effect_operation report layout\0A\00", align 1
@block_free = dso_local local_unnamed_addr global i32 0, align 4
@PID_BLOCK_FREE = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [38 x i8] c"unknown pid_block_free report layout\0A\00", align 1
@set_envelope = dso_local local_unnamed_addr global i32 0, align 4
@PID_SET_ENVELOPE = dso_local local_unnamed_addr global i32 0, align 4
@FF_CONSTANT = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [37 x i8] c"has constant effect but no envelope\0A\00", align 1
@FF_RAMP = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [33 x i8] c"has ramp effect but no envelope\0A\00", align 1
@FF_PERIODIC = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [37 x i8] c"has periodic effect but no envelope\0A\00", align 1
@set_constant = dso_local local_unnamed_addr global i32 0, align 4
@PID_SET_CONSTANT = dso_local local_unnamed_addr global i32 0, align 4
@.str.7 = private unnamed_addr constant [32 x i8] c"unknown constant effect layout\0A\00", align 1
@set_ramp = dso_local local_unnamed_addr global i32 0, align 4
@PID_SET_RAMP = dso_local local_unnamed_addr global i32 0, align 4
@.str.8 = private unnamed_addr constant [28 x i8] c"unknown ramp effect layout\0A\00", align 1
@FF_SPRING = dso_local local_unnamed_addr global i32 0, align 4
@FF_DAMPER = dso_local local_unnamed_addr global i32 0, align 4
@FF_FRICTION = dso_local local_unnamed_addr global i32 0, align 4
@FF_INERTIA = dso_local local_unnamed_addr global i32 0, align 4
@set_condition = dso_local local_unnamed_addr global i32 0, align 4
@PID_SET_CONDITION = dso_local local_unnamed_addr global i32 0, align 4
@.str.9 = private unnamed_addr constant [33 x i8] c"unknown condition effect layout\0A\00", align 1
@set_periodic = dso_local local_unnamed_addr global i32 0, align 4
@PID_SET_PERIODIC = dso_local local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [32 x i8] c"unknown periodic effect layout\0A\00", align 1
@pool = dso_local local_unnamed_addr global i32 0, align 4
@PID_POOL = dso_local local_unnamed_addr global i32 0, align 4
@device_gain = dso_local local_unnamed_addr global i32 0, align 4
@PID_DEVICE_GAIN = dso_local local_unnamed_addr global i32 0, align 4
@FF_GAIN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pidff_init_fields], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pidff_init_fields(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @set_effect, align 4, !tbaa !5
%4 = load i32, ptr @PID_SET_EFFECT, align 4, !tbaa !5
%5 = tail call i64 @PIDFF_FIND_FIELDS(i32 noundef %3, i32 noundef %4, i32 noundef 1) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %12, label %7
7: ; preds = %2
%8 = load i32, ptr %0, align 8, !tbaa !9
%9 = tail call i32 @hid_err(i32 noundef %8, ptr noundef nonnull @.str) #2
%10 = load i32, ptr @ENODEV, align 4, !tbaa !5
%11 = sub nsw i32 0, %10
br label %185
12: ; preds = %2
%13 = load i32, ptr @block_load, align 4, !tbaa !5
%14 = load i32, ptr @PID_BLOCK_LOAD, align 4, !tbaa !5
%15 = tail call i64 @PIDFF_FIND_FIELDS(i32 noundef %13, i32 noundef %14, i32 noundef 0) #2
%16 = getelementptr inbounds %struct.pidff_device, ptr %0, i64 0, i32 1
%17 = load ptr, ptr %16, align 8, !tbaa !12
%18 = load i64, ptr @PID_EFFECT_BLOCK_INDEX, align 8, !tbaa !13
%19 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i64 %18
%20 = load i32, ptr %19, align 4, !tbaa !15
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %12
%23 = load i32, ptr %0, align 8, !tbaa !9
%24 = tail call i32 @hid_err(i32 noundef %23, ptr noundef nonnull @.str.1) #2
%25 = load i32, ptr @ENODEV, align 4, !tbaa !5
%26 = sub nsw i32 0, %25
br label %185
27: ; preds = %12
%28 = load i32, ptr @effect_operation, align 4, !tbaa !5
%29 = load i32, ptr @PID_EFFECT_OPERATION, align 4, !tbaa !5
%30 = tail call i64 @PIDFF_FIND_FIELDS(i32 noundef %28, i32 noundef %29, i32 noundef 1) #2
%31 = icmp eq i64 %30, 0
br i1 %31, label %37, label %32
32: ; preds = %27
%33 = load i32, ptr %0, align 8, !tbaa !9
%34 = tail call i32 @hid_err(i32 noundef %33, ptr noundef nonnull @.str.2) #2
%35 = load i32, ptr @ENODEV, align 4, !tbaa !5
%36 = sub nsw i32 0, %35
br label %185
37: ; preds = %27
%38 = load i32, ptr @block_free, align 4, !tbaa !5
%39 = load i32, ptr @PID_BLOCK_FREE, align 4, !tbaa !5
%40 = tail call i64 @PIDFF_FIND_FIELDS(i32 noundef %38, i32 noundef %39, i32 noundef 1) #2
%41 = icmp eq i64 %40, 0
br i1 %41, label %47, label %42
42: ; preds = %37
%43 = load i32, ptr %0, align 8, !tbaa !9
%44 = tail call i32 @hid_err(i32 noundef %43, ptr noundef nonnull @.str.3) #2
%45 = load i32, ptr @ENODEV, align 4, !tbaa !5
%46 = sub nsw i32 0, %45
br label %185
47: ; preds = %37
%48 = load i32, ptr @set_envelope, align 4, !tbaa !5
%49 = load i32, ptr @PID_SET_ENVELOPE, align 4, !tbaa !5
%50 = tail call i64 @PIDFF_FIND_FIELDS(i32 noundef %48, i32 noundef %49, i32 noundef 1) #2
%51 = icmp eq i64 %50, 0
%52 = tail call i64 @pidff_find_special_fields(ptr noundef nonnull %0) #2
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %47
%55 = tail call i64 @pidff_find_effects(ptr noundef nonnull %0, ptr noundef %1) #2
%56 = icmp eq i64 %55, 0
br i1 %56, label %60, label %57
57: ; preds = %54, %47
%58 = load i32, ptr @ENODEV, align 4, !tbaa !5
%59 = sub nsw i32 0, %58
br label %185
60: ; preds = %54
br i1 %51, label %85, label %61
61: ; preds = %60
%62 = load i32, ptr @FF_CONSTANT, align 4, !tbaa !5
%63 = load i32, ptr %1, align 4, !tbaa !17
%64 = tail call i64 @test_and_clear_bit(i32 noundef %62, i32 noundef %63) #2
%65 = icmp eq i64 %64, 0
br i1 %65, label %69, label %66
66: ; preds = %61
%67 = load i32, ptr %0, align 8, !tbaa !9
%68 = tail call i32 @hid_warn(i32 noundef %67, ptr noundef nonnull @.str.4) #2
br label %69
69: ; preds = %66, %61
%70 = load i32, ptr @FF_RAMP, align 4, !tbaa !5
%71 = load i32, ptr %1, align 4, !tbaa !17
%72 = tail call i64 @test_and_clear_bit(i32 noundef %70, i32 noundef %71) #2
%73 = icmp eq i64 %72, 0
br i1 %73, label %77, label %74
74: ; preds = %69
%75 = load i32, ptr %0, align 8, !tbaa !9
%76 = tail call i32 @hid_warn(i32 noundef %75, ptr noundef nonnull @.str.5) #2
br label %77
77: ; preds = %74, %69
%78 = load i32, ptr @FF_PERIODIC, align 4, !tbaa !5
%79 = load i32, ptr %1, align 4, !tbaa !17
%80 = tail call i64 @test_and_clear_bit(i32 noundef %78, i32 noundef %79) #2
%81 = icmp eq i64 %80, 0
br i1 %81, label %85, label %82
82: ; preds = %77
%83 = load i32, ptr %0, align 8, !tbaa !9
%84 = tail call i32 @hid_warn(i32 noundef %83, ptr noundef nonnull @.str.6) #2
br label %85
85: ; preds = %77, %82, %60
%86 = load i32, ptr @FF_CONSTANT, align 4, !tbaa !5
%87 = load i32, ptr %1, align 4, !tbaa !17
%88 = tail call i64 @test_bit(i32 noundef %86, i32 noundef %87) #2
%89 = icmp eq i64 %88, 0
br i1 %89, label %101, label %90
90: ; preds = %85
%91 = load i32, ptr @set_constant, align 4, !tbaa !5
%92 = load i32, ptr @PID_SET_CONSTANT, align 4, !tbaa !5
%93 = tail call i64 @PIDFF_FIND_FIELDS(i32 noundef %91, i32 noundef %92, i32 noundef 1) #2
%94 = icmp eq i64 %93, 0
br i1 %94, label %101, label %95
95: ; preds = %90
%96 = load i32, ptr %0, align 8, !tbaa !9
%97 = tail call i32 @hid_warn(i32 noundef %96, ptr noundef nonnull @.str.7) #2
%98 = load i32, ptr @FF_CONSTANT, align 4, !tbaa !5
%99 = load i32, ptr %1, align 4, !tbaa !17
%100 = tail call i32 @clear_bit(i32 noundef %98, i32 noundef %99) #2
br label %101
101: ; preds = %95, %90, %85
%102 = load i32, ptr @FF_RAMP, align 4, !tbaa !5
%103 = load i32, ptr %1, align 4, !tbaa !17
%104 = tail call i64 @test_bit(i32 noundef %102, i32 noundef %103) #2
%105 = icmp eq i64 %104, 0
br i1 %105, label %117, label %106
106: ; preds = %101
%107 = load i32, ptr @set_ramp, align 4, !tbaa !5
%108 = load i32, ptr @PID_SET_RAMP, align 4, !tbaa !5
%109 = tail call i64 @PIDFF_FIND_FIELDS(i32 noundef %107, i32 noundef %108, i32 noundef 1) #2
%110 = icmp eq i64 %109, 0
br i1 %110, label %117, label %111
111: ; preds = %106
%112 = load i32, ptr %0, align 8, !tbaa !9
%113 = tail call i32 @hid_warn(i32 noundef %112, ptr noundef nonnull @.str.8) #2
%114 = load i32, ptr @FF_RAMP, align 4, !tbaa !5
%115 = load i32, ptr %1, align 4, !tbaa !17
%116 = tail call i32 @clear_bit(i32 noundef %114, i32 noundef %115) #2
br label %117
117: ; preds = %111, %106, %101
%118 = load i32, ptr @FF_SPRING, align 4, !tbaa !5
%119 = load i32, ptr %1, align 4, !tbaa !17
%120 = tail call i64 @test_bit(i32 noundef %118, i32 noundef %119) #2
%121 = icmp eq i64 %120, 0
br i1 %121, label %122, label %137
122: ; preds = %117
%123 = load i32, ptr @FF_DAMPER, align 4, !tbaa !5
%124 = load i32, ptr %1, align 4, !tbaa !17
%125 = tail call i64 @test_bit(i32 noundef %123, i32 noundef %124) #2
%126 = icmp eq i64 %125, 0
br i1 %126, label %127, label %137
127: ; preds = %122
%128 = load i32, ptr @FF_FRICTION, align 4, !tbaa !5
%129 = load i32, ptr %1, align 4, !tbaa !17
%130 = tail call i64 @test_bit(i32 noundef %128, i32 noundef %129) #2
%131 = icmp eq i64 %130, 0
br i1 %131, label %132, label %137
132: ; preds = %127
%133 = load i32, ptr @FF_INERTIA, align 4, !tbaa !5
%134 = load i32, ptr %1, align 4, !tbaa !17
%135 = tail call i64 @test_bit(i32 noundef %133, i32 noundef %134) #2
%136 = icmp eq i64 %135, 0
br i1 %136, label %157, label %137
137: ; preds = %132, %127, %122, %117
%138 = load i32, ptr @set_condition, align 4, !tbaa !5
%139 = load i32, ptr @PID_SET_CONDITION, align 4, !tbaa !5
%140 = tail call i64 @PIDFF_FIND_FIELDS(i32 noundef %138, i32 noundef %139, i32 noundef 1) #2
%141 = icmp eq i64 %140, 0
br i1 %141, label %157, label %142
142: ; preds = %137
%143 = load i32, ptr %0, align 8, !tbaa !9
%144 = tail call i32 @hid_warn(i32 noundef %143, ptr noundef nonnull @.str.9) #2
%145 = load i32, ptr @FF_SPRING, align 4, !tbaa !5
%146 = load i32, ptr %1, align 4, !tbaa !17
%147 = tail call i32 @clear_bit(i32 noundef %145, i32 noundef %146) #2
%148 = load i32, ptr @FF_DAMPER, align 4, !tbaa !5
%149 = load i32, ptr %1, align 4, !tbaa !17
%150 = tail call i32 @clear_bit(i32 noundef %148, i32 noundef %149) #2
%151 = load i32, ptr @FF_FRICTION, align 4, !tbaa !5
%152 = load i32, ptr %1, align 4, !tbaa !17
%153 = tail call i32 @clear_bit(i32 noundef %151, i32 noundef %152) #2
%154 = load i32, ptr @FF_INERTIA, align 4, !tbaa !5
%155 = load i32, ptr %1, align 4, !tbaa !17
%156 = tail call i32 @clear_bit(i32 noundef %154, i32 noundef %155) #2
br label %157
157: ; preds = %142, %137, %132
%158 = load i32, ptr @FF_PERIODIC, align 4, !tbaa !5
%159 = load i32, ptr %1, align 4, !tbaa !17
%160 = tail call i64 @test_bit(i32 noundef %158, i32 noundef %159) #2
%161 = icmp eq i64 %160, 0
br i1 %161, label %173, label %162
162: ; preds = %157
%163 = load i32, ptr @set_periodic, align 4, !tbaa !5
%164 = load i32, ptr @PID_SET_PERIODIC, align 4, !tbaa !5
%165 = tail call i64 @PIDFF_FIND_FIELDS(i32 noundef %163, i32 noundef %164, i32 noundef 1) #2
%166 = icmp eq i64 %165, 0
br i1 %166, label %173, label %167
167: ; preds = %162
%168 = load i32, ptr %0, align 8, !tbaa !9
%169 = tail call i32 @hid_warn(i32 noundef %168, ptr noundef nonnull @.str.10) #2
%170 = load i32, ptr @FF_PERIODIC, align 4, !tbaa !5
%171 = load i32, ptr %1, align 4, !tbaa !17
%172 = tail call i32 @clear_bit(i32 noundef %170, i32 noundef %171) #2
br label %173
173: ; preds = %167, %162, %157
%174 = load i32, ptr @pool, align 4, !tbaa !5
%175 = load i32, ptr @PID_POOL, align 4, !tbaa !5
%176 = tail call i64 @PIDFF_FIND_FIELDS(i32 noundef %174, i32 noundef %175, i32 noundef 0) #2
%177 = load i32, ptr @device_gain, align 4, !tbaa !5
%178 = load i32, ptr @PID_DEVICE_GAIN, align 4, !tbaa !5
%179 = tail call i64 @PIDFF_FIND_FIELDS(i32 noundef %177, i32 noundef %178, i32 noundef 1) #2
%180 = icmp eq i64 %179, 0
br i1 %180, label %181, label %185
181: ; preds = %173
%182 = load i32, ptr @FF_GAIN, align 4, !tbaa !5
%183 = load i32, ptr %1, align 4, !tbaa !17
%184 = tail call i32 @set_bit(i32 noundef %182, i32 noundef %183) #2
br label %185
185: ; preds = %173, %181, %57, %42, %32, %22, %7
%186 = phi i32 [ %11, %7 ], [ %36, %32 ], [ %46, %42 ], [ %59, %57 ], [ %26, %22 ], [ 0, %181 ], [ 0, %173 ]
ret i32 %186
}
declare i64 @PIDFF_FIND_FIELDS(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @hid_err(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @pidff_find_special_fields(ptr noundef) local_unnamed_addr #1
declare i64 @pidff_find_effects(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @test_and_clear_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @hid_warn(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @test_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @clear_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @set_bit(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, !6, i64 0}
!10 = !{!"pidff_device", !6, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !6, i64 0}
!16 = !{!"TYPE_2__", !6, i64 0}
!17 = !{!18, !6, i64 0}
!18 = !{!"input_dev", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/hid/usbhid/extr_hid-pidff.c_pidff_init_fields.c'
source_filename = "AnghaBench/linux/drivers/hid/usbhid/extr_hid-pidff.c_pidff_init_fields.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 { i32 }
@set_effect = common local_unnamed_addr global i32 0, align 4
@PID_SET_EFFECT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"unknown set_effect report layout\0A\00", align 1
@ENODEV = common local_unnamed_addr global i32 0, align 4
@block_load = common local_unnamed_addr global i32 0, align 4
@PID_BLOCK_LOAD = common local_unnamed_addr global i32 0, align 4
@PID_EFFECT_BLOCK_INDEX = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [38 x i8] c"unknown pid_block_load report layout\0A\00", align 1
@effect_operation = common local_unnamed_addr global i32 0, align 4
@PID_EFFECT_OPERATION = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [40 x i8] c"unknown effect_operation report layout\0A\00", align 1
@block_free = common local_unnamed_addr global i32 0, align 4
@PID_BLOCK_FREE = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [38 x i8] c"unknown pid_block_free report layout\0A\00", align 1
@set_envelope = common local_unnamed_addr global i32 0, align 4
@PID_SET_ENVELOPE = common local_unnamed_addr global i32 0, align 4
@FF_CONSTANT = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [37 x i8] c"has constant effect but no envelope\0A\00", align 1
@FF_RAMP = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [33 x i8] c"has ramp effect but no envelope\0A\00", align 1
@FF_PERIODIC = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [37 x i8] c"has periodic effect but no envelope\0A\00", align 1
@set_constant = common local_unnamed_addr global i32 0, align 4
@PID_SET_CONSTANT = common local_unnamed_addr global i32 0, align 4
@.str.7 = private unnamed_addr constant [32 x i8] c"unknown constant effect layout\0A\00", align 1
@set_ramp = common local_unnamed_addr global i32 0, align 4
@PID_SET_RAMP = common local_unnamed_addr global i32 0, align 4
@.str.8 = private unnamed_addr constant [28 x i8] c"unknown ramp effect layout\0A\00", align 1
@FF_SPRING = common local_unnamed_addr global i32 0, align 4
@FF_DAMPER = common local_unnamed_addr global i32 0, align 4
@FF_FRICTION = common local_unnamed_addr global i32 0, align 4
@FF_INERTIA = common local_unnamed_addr global i32 0, align 4
@set_condition = common local_unnamed_addr global i32 0, align 4
@PID_SET_CONDITION = common local_unnamed_addr global i32 0, align 4
@.str.9 = private unnamed_addr constant [33 x i8] c"unknown condition effect layout\0A\00", align 1
@set_periodic = common local_unnamed_addr global i32 0, align 4
@PID_SET_PERIODIC = common local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [32 x i8] c"unknown periodic effect layout\0A\00", align 1
@pool = common local_unnamed_addr global i32 0, align 4
@PID_POOL = common local_unnamed_addr global i32 0, align 4
@device_gain = common local_unnamed_addr global i32 0, align 4
@PID_DEVICE_GAIN = common local_unnamed_addr global i32 0, align 4
@FF_GAIN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pidff_init_fields], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @pidff_init_fields(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @set_effect, align 4, !tbaa !6
%4 = load i32, ptr @PID_SET_EFFECT, align 4, !tbaa !6
%5 = tail call i64 @PIDFF_FIND_FIELDS(i32 noundef %3, i32 noundef %4, i32 noundef 1) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %12, label %7
7: ; preds = %2
%8 = load i32, ptr %0, align 8, !tbaa !10
%9 = tail call i32 @hid_err(i32 noundef %8, ptr noundef nonnull @.str) #2
%10 = load i32, ptr @ENODEV, align 4, !tbaa !6
%11 = sub nsw i32 0, %10
br label %185
12: ; preds = %2
%13 = load i32, ptr @block_load, align 4, !tbaa !6
%14 = load i32, ptr @PID_BLOCK_LOAD, align 4, !tbaa !6
%15 = tail call i64 @PIDFF_FIND_FIELDS(i32 noundef %13, i32 noundef %14, i32 noundef 0) #2
%16 = getelementptr inbounds i8, ptr %0, i64 8
%17 = load ptr, ptr %16, align 8, !tbaa !13
%18 = load i64, ptr @PID_EFFECT_BLOCK_INDEX, align 8, !tbaa !14
%19 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i64 %18
%20 = load i32, ptr %19, align 4, !tbaa !16
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %12
%23 = load i32, ptr %0, align 8, !tbaa !10
%24 = tail call i32 @hid_err(i32 noundef %23, ptr noundef nonnull @.str.1) #2
%25 = load i32, ptr @ENODEV, align 4, !tbaa !6
%26 = sub nsw i32 0, %25
br label %185
27: ; preds = %12
%28 = load i32, ptr @effect_operation, align 4, !tbaa !6
%29 = load i32, ptr @PID_EFFECT_OPERATION, align 4, !tbaa !6
%30 = tail call i64 @PIDFF_FIND_FIELDS(i32 noundef %28, i32 noundef %29, i32 noundef 1) #2
%31 = icmp eq i64 %30, 0
br i1 %31, label %37, label %32
32: ; preds = %27
%33 = load i32, ptr %0, align 8, !tbaa !10
%34 = tail call i32 @hid_err(i32 noundef %33, ptr noundef nonnull @.str.2) #2
%35 = load i32, ptr @ENODEV, align 4, !tbaa !6
%36 = sub nsw i32 0, %35
br label %185
37: ; preds = %27
%38 = load i32, ptr @block_free, align 4, !tbaa !6
%39 = load i32, ptr @PID_BLOCK_FREE, align 4, !tbaa !6
%40 = tail call i64 @PIDFF_FIND_FIELDS(i32 noundef %38, i32 noundef %39, i32 noundef 1) #2
%41 = icmp eq i64 %40, 0
br i1 %41, label %47, label %42
42: ; preds = %37
%43 = load i32, ptr %0, align 8, !tbaa !10
%44 = tail call i32 @hid_err(i32 noundef %43, ptr noundef nonnull @.str.3) #2
%45 = load i32, ptr @ENODEV, align 4, !tbaa !6
%46 = sub nsw i32 0, %45
br label %185
47: ; preds = %37
%48 = load i32, ptr @set_envelope, align 4, !tbaa !6
%49 = load i32, ptr @PID_SET_ENVELOPE, align 4, !tbaa !6
%50 = tail call i64 @PIDFF_FIND_FIELDS(i32 noundef %48, i32 noundef %49, i32 noundef 1) #2
%51 = icmp eq i64 %50, 0
%52 = tail call i64 @pidff_find_special_fields(ptr noundef nonnull %0) #2
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %47
%55 = tail call i64 @pidff_find_effects(ptr noundef nonnull %0, ptr noundef %1) #2
%56 = icmp eq i64 %55, 0
br i1 %56, label %60, label %57
57: ; preds = %54, %47
%58 = load i32, ptr @ENODEV, align 4, !tbaa !6
%59 = sub nsw i32 0, %58
br label %185
60: ; preds = %54
br i1 %51, label %85, label %61
61: ; preds = %60
%62 = load i32, ptr @FF_CONSTANT, align 4, !tbaa !6
%63 = load i32, ptr %1, align 4, !tbaa !18
%64 = tail call i64 @test_and_clear_bit(i32 noundef %62, i32 noundef %63) #2
%65 = icmp eq i64 %64, 0
br i1 %65, label %69, label %66
66: ; preds = %61
%67 = load i32, ptr %0, align 8, !tbaa !10
%68 = tail call i32 @hid_warn(i32 noundef %67, ptr noundef nonnull @.str.4) #2
br label %69
69: ; preds = %66, %61
%70 = load i32, ptr @FF_RAMP, align 4, !tbaa !6
%71 = load i32, ptr %1, align 4, !tbaa !18
%72 = tail call i64 @test_and_clear_bit(i32 noundef %70, i32 noundef %71) #2
%73 = icmp eq i64 %72, 0
br i1 %73, label %77, label %74
74: ; preds = %69
%75 = load i32, ptr %0, align 8, !tbaa !10
%76 = tail call i32 @hid_warn(i32 noundef %75, ptr noundef nonnull @.str.5) #2
br label %77
77: ; preds = %74, %69
%78 = load i32, ptr @FF_PERIODIC, align 4, !tbaa !6
%79 = load i32, ptr %1, align 4, !tbaa !18
%80 = tail call i64 @test_and_clear_bit(i32 noundef %78, i32 noundef %79) #2
%81 = icmp eq i64 %80, 0
br i1 %81, label %85, label %82
82: ; preds = %77
%83 = load i32, ptr %0, align 8, !tbaa !10
%84 = tail call i32 @hid_warn(i32 noundef %83, ptr noundef nonnull @.str.6) #2
br label %85
85: ; preds = %77, %82, %60
%86 = load i32, ptr @FF_CONSTANT, align 4, !tbaa !6
%87 = load i32, ptr %1, align 4, !tbaa !18
%88 = tail call i64 @test_bit(i32 noundef %86, i32 noundef %87) #2
%89 = icmp eq i64 %88, 0
br i1 %89, label %101, label %90
90: ; preds = %85
%91 = load i32, ptr @set_constant, align 4, !tbaa !6
%92 = load i32, ptr @PID_SET_CONSTANT, align 4, !tbaa !6
%93 = tail call i64 @PIDFF_FIND_FIELDS(i32 noundef %91, i32 noundef %92, i32 noundef 1) #2
%94 = icmp eq i64 %93, 0
br i1 %94, label %101, label %95
95: ; preds = %90
%96 = load i32, ptr %0, align 8, !tbaa !10
%97 = tail call i32 @hid_warn(i32 noundef %96, ptr noundef nonnull @.str.7) #2
%98 = load i32, ptr @FF_CONSTANT, align 4, !tbaa !6
%99 = load i32, ptr %1, align 4, !tbaa !18
%100 = tail call i32 @clear_bit(i32 noundef %98, i32 noundef %99) #2
br label %101
101: ; preds = %95, %90, %85
%102 = load i32, ptr @FF_RAMP, align 4, !tbaa !6
%103 = load i32, ptr %1, align 4, !tbaa !18
%104 = tail call i64 @test_bit(i32 noundef %102, i32 noundef %103) #2
%105 = icmp eq i64 %104, 0
br i1 %105, label %117, label %106
106: ; preds = %101
%107 = load i32, ptr @set_ramp, align 4, !tbaa !6
%108 = load i32, ptr @PID_SET_RAMP, align 4, !tbaa !6
%109 = tail call i64 @PIDFF_FIND_FIELDS(i32 noundef %107, i32 noundef %108, i32 noundef 1) #2
%110 = icmp eq i64 %109, 0
br i1 %110, label %117, label %111
111: ; preds = %106
%112 = load i32, ptr %0, align 8, !tbaa !10
%113 = tail call i32 @hid_warn(i32 noundef %112, ptr noundef nonnull @.str.8) #2
%114 = load i32, ptr @FF_RAMP, align 4, !tbaa !6
%115 = load i32, ptr %1, align 4, !tbaa !18
%116 = tail call i32 @clear_bit(i32 noundef %114, i32 noundef %115) #2
br label %117
117: ; preds = %111, %106, %101
%118 = load i32, ptr @FF_SPRING, align 4, !tbaa !6
%119 = load i32, ptr %1, align 4, !tbaa !18
%120 = tail call i64 @test_bit(i32 noundef %118, i32 noundef %119) #2
%121 = icmp eq i64 %120, 0
br i1 %121, label %122, label %137
122: ; preds = %117
%123 = load i32, ptr @FF_DAMPER, align 4, !tbaa !6
%124 = load i32, ptr %1, align 4, !tbaa !18
%125 = tail call i64 @test_bit(i32 noundef %123, i32 noundef %124) #2
%126 = icmp eq i64 %125, 0
br i1 %126, label %127, label %137
127: ; preds = %122
%128 = load i32, ptr @FF_FRICTION, align 4, !tbaa !6
%129 = load i32, ptr %1, align 4, !tbaa !18
%130 = tail call i64 @test_bit(i32 noundef %128, i32 noundef %129) #2
%131 = icmp eq i64 %130, 0
br i1 %131, label %132, label %137
132: ; preds = %127
%133 = load i32, ptr @FF_INERTIA, align 4, !tbaa !6
%134 = load i32, ptr %1, align 4, !tbaa !18
%135 = tail call i64 @test_bit(i32 noundef %133, i32 noundef %134) #2
%136 = icmp eq i64 %135, 0
br i1 %136, label %157, label %137
137: ; preds = %132, %127, %122, %117
%138 = load i32, ptr @set_condition, align 4, !tbaa !6
%139 = load i32, ptr @PID_SET_CONDITION, align 4, !tbaa !6
%140 = tail call i64 @PIDFF_FIND_FIELDS(i32 noundef %138, i32 noundef %139, i32 noundef 1) #2
%141 = icmp eq i64 %140, 0
br i1 %141, label %157, label %142
142: ; preds = %137
%143 = load i32, ptr %0, align 8, !tbaa !10
%144 = tail call i32 @hid_warn(i32 noundef %143, ptr noundef nonnull @.str.9) #2
%145 = load i32, ptr @FF_SPRING, align 4, !tbaa !6
%146 = load i32, ptr %1, align 4, !tbaa !18
%147 = tail call i32 @clear_bit(i32 noundef %145, i32 noundef %146) #2
%148 = load i32, ptr @FF_DAMPER, align 4, !tbaa !6
%149 = load i32, ptr %1, align 4, !tbaa !18
%150 = tail call i32 @clear_bit(i32 noundef %148, i32 noundef %149) #2
%151 = load i32, ptr @FF_FRICTION, align 4, !tbaa !6
%152 = load i32, ptr %1, align 4, !tbaa !18
%153 = tail call i32 @clear_bit(i32 noundef %151, i32 noundef %152) #2
%154 = load i32, ptr @FF_INERTIA, align 4, !tbaa !6
%155 = load i32, ptr %1, align 4, !tbaa !18
%156 = tail call i32 @clear_bit(i32 noundef %154, i32 noundef %155) #2
br label %157
157: ; preds = %142, %137, %132
%158 = load i32, ptr @FF_PERIODIC, align 4, !tbaa !6
%159 = load i32, ptr %1, align 4, !tbaa !18
%160 = tail call i64 @test_bit(i32 noundef %158, i32 noundef %159) #2
%161 = icmp eq i64 %160, 0
br i1 %161, label %173, label %162
162: ; preds = %157
%163 = load i32, ptr @set_periodic, align 4, !tbaa !6
%164 = load i32, ptr @PID_SET_PERIODIC, align 4, !tbaa !6
%165 = tail call i64 @PIDFF_FIND_FIELDS(i32 noundef %163, i32 noundef %164, i32 noundef 1) #2
%166 = icmp eq i64 %165, 0
br i1 %166, label %173, label %167
167: ; preds = %162
%168 = load i32, ptr %0, align 8, !tbaa !10
%169 = tail call i32 @hid_warn(i32 noundef %168, ptr noundef nonnull @.str.10) #2
%170 = load i32, ptr @FF_PERIODIC, align 4, !tbaa !6
%171 = load i32, ptr %1, align 4, !tbaa !18
%172 = tail call i32 @clear_bit(i32 noundef %170, i32 noundef %171) #2
br label %173
173: ; preds = %167, %162, %157
%174 = load i32, ptr @pool, align 4, !tbaa !6
%175 = load i32, ptr @PID_POOL, align 4, !tbaa !6
%176 = tail call i64 @PIDFF_FIND_FIELDS(i32 noundef %174, i32 noundef %175, i32 noundef 0) #2
%177 = load i32, ptr @device_gain, align 4, !tbaa !6
%178 = load i32, ptr @PID_DEVICE_GAIN, align 4, !tbaa !6
%179 = tail call i64 @PIDFF_FIND_FIELDS(i32 noundef %177, i32 noundef %178, i32 noundef 1) #2
%180 = icmp eq i64 %179, 0
br i1 %180, label %181, label %185
181: ; preds = %173
%182 = load i32, ptr @FF_GAIN, align 4, !tbaa !6
%183 = load i32, ptr %1, align 4, !tbaa !18
%184 = tail call i32 @set_bit(i32 noundef %182, i32 noundef %183) #2
br label %185
185: ; preds = %173, %181, %57, %42, %32, %22, %7
%186 = phi i32 [ %11, %7 ], [ %36, %32 ], [ %46, %42 ], [ %59, %57 ], [ %26, %22 ], [ 0, %181 ], [ 0, %173 ]
ret i32 %186
}
declare i64 @PIDFF_FIND_FIELDS(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @hid_err(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @pidff_find_special_fields(ptr noundef) local_unnamed_addr #1
declare i64 @pidff_find_effects(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @test_and_clear_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @hid_warn(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @test_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @clear_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @set_bit(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, !7, i64 0}
!11 = !{!"pidff_device", !7, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 8}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_2__", !7, i64 0}
!18 = !{!19, !7, i64 0}
!19 = !{!"input_dev", !7, i64 0}
| linux_drivers_hid_usbhid_extr_hid-pidff.c_pidff_init_fields |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/core/extr_nldev.c_fill_stat_counter_hwcounters.c'
source_filename = "AnghaBench/linux/drivers/infiniband/core/extr_nldev.c_fill_stat_counter_hwcounters.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.rdma_hw_stats = type { i32, ptr, ptr }
@RDMA_NLDEV_ATTR_STAT_HWCOUNTERS = 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 @fill_stat_counter_hwcounters], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @fill_stat_counter_hwcounters(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !5
%4 = load i32, ptr @RDMA_NLDEV_ATTR_STAT_HWCOUNTERS, align 4, !tbaa !10
%5 = tail call ptr @nla_nest_start(ptr noundef %0, i32 noundef %4) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %13, label %7
7: ; preds = %2
%8 = load i32, ptr %3, align 8, !tbaa !12
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %31
10: ; preds = %7
%11 = getelementptr inbounds %struct.rdma_hw_stats, ptr %3, i64 0, i32 2
%12 = getelementptr inbounds %struct.rdma_hw_stats, ptr %3, i64 0, i32 1
br label %21
13: ; preds = %2
%14 = load i32, ptr @EMSGSIZE, align 4, !tbaa !10
%15 = sub nsw i32 0, %14
br label %37
16: ; preds = %21
%17 = add nuw nsw i64 %22, 1
%18 = load i32, ptr %3, align 8, !tbaa !12
%19 = sext i32 %18 to i64
%20 = icmp slt i64 %17, %19
br i1 %20, label %21, label %31, !llvm.loop !14
21: ; preds = %10, %16
%22 = phi i64 [ 0, %10 ], [ %17, %16 ]
%23 = load ptr, ptr %11, align 8, !tbaa !16
%24 = getelementptr inbounds i32, ptr %23, i64 %22
%25 = load i32, ptr %24, align 4, !tbaa !10
%26 = load ptr, ptr %12, align 8, !tbaa !17
%27 = getelementptr inbounds i32, ptr %26, i64 %22
%28 = load i32, ptr %27, align 4, !tbaa !10
%29 = tail call i64 @fill_stat_hwcounter_entry(ptr noundef %0, i32 noundef %25, i32 noundef %28) #2
%30 = icmp eq i64 %29, 0
br i1 %30, label %16, label %33
31: ; preds = %16, %7
%32 = tail call i32 @nla_nest_end(ptr noundef %0, ptr noundef nonnull %5) #2
br label %37
33: ; preds = %21
%34 = tail call i32 @nla_nest_cancel(ptr noundef %0, ptr noundef nonnull %5) #2
%35 = load i32, ptr @EMSGSIZE, align 4, !tbaa !10
%36 = sub nsw i32 0, %35
br label %37
37: ; preds = %33, %31, %13
%38 = phi i32 [ %36, %33 ], [ 0, %31 ], [ %15, %13 ]
ret i32 %38
}
declare ptr @nla_nest_start(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @fill_stat_hwcounter_entry(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 @nla_nest_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, !7, i64 0}
!6 = !{!"rdma_counter", !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 = !{!"rdma_hw_stats", !11, i64 0, !7, i64 8, !7, i64 16}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!13, !7, i64 16}
!17 = !{!13, !7, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/core/extr_nldev.c_fill_stat_counter_hwcounters.c'
source_filename = "AnghaBench/linux/drivers/infiniband/core/extr_nldev.c_fill_stat_counter_hwcounters.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RDMA_NLDEV_ATTR_STAT_HWCOUNTERS = 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 @fill_stat_counter_hwcounters], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @fill_stat_counter_hwcounters(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !6
%4 = load i32, ptr @RDMA_NLDEV_ATTR_STAT_HWCOUNTERS, align 4, !tbaa !11
%5 = tail call ptr @nla_nest_start(ptr noundef %0, i32 noundef %4) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %13, label %7
7: ; preds = %2
%8 = load i32, ptr %3, align 8, !tbaa !13
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %31
10: ; preds = %7
%11 = getelementptr inbounds i8, ptr %3, i64 16
%12 = getelementptr inbounds i8, ptr %3, i64 8
br label %21
13: ; preds = %2
%14 = load i32, ptr @EMSGSIZE, align 4, !tbaa !11
%15 = sub nsw i32 0, %14
br label %37
16: ; preds = %21
%17 = add nuw nsw i64 %22, 1
%18 = load i32, ptr %3, align 8, !tbaa !13
%19 = sext i32 %18 to i64
%20 = icmp slt i64 %17, %19
br i1 %20, label %21, label %31, !llvm.loop !15
21: ; preds = %10, %16
%22 = phi i64 [ 0, %10 ], [ %17, %16 ]
%23 = load ptr, ptr %11, align 8, !tbaa !17
%24 = getelementptr inbounds i32, ptr %23, i64 %22
%25 = load i32, ptr %24, align 4, !tbaa !11
%26 = load ptr, ptr %12, align 8, !tbaa !18
%27 = getelementptr inbounds i32, ptr %26, i64 %22
%28 = load i32, ptr %27, align 4, !tbaa !11
%29 = tail call i64 @fill_stat_hwcounter_entry(ptr noundef %0, i32 noundef %25, i32 noundef %28) #2
%30 = icmp eq i64 %29, 0
br i1 %30, label %16, label %33
31: ; preds = %16, %7
%32 = tail call i32 @nla_nest_end(ptr noundef %0, ptr noundef nonnull %5) #2
br label %37
33: ; preds = %21
%34 = tail call i32 @nla_nest_cancel(ptr noundef %0, ptr noundef nonnull %5) #2
%35 = load i32, ptr @EMSGSIZE, align 4, !tbaa !11
%36 = sub nsw i32 0, %35
br label %37
37: ; preds = %33, %31, %13
%38 = phi i32 [ %36, %33 ], [ 0, %31 ], [ %15, %13 ]
ret i32 %38
}
declare ptr @nla_nest_start(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @fill_stat_hwcounter_entry(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 @nla_nest_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, !8, i64 0}
!7 = !{!"rdma_counter", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"rdma_hw_stats", !12, i64 0, !8, i64 8, !8, i64 16}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!14, !8, i64 16}
!18 = !{!14, !8, i64 8}
| linux_drivers_infiniband_core_extr_nldev.c_fill_stat_counter_hwcounters |
; ModuleID = 'AnghaBench/redis/tests/modules/extr_testrdb.c_testrdb_type_load.c'
source_filename = "AnghaBench/redis/tests/modules/extr_testrdb.c_testrdb_type_load.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 ptr @testrdb_type_load(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @RedisModule_LoadSigned(ptr noundef %0) #2
%4 = tail call ptr @RedisModule_LoadString(ptr noundef %0) #2
%5 = tail call float @RedisModule_LoadFloat(ptr noundef %0) #2
%6 = tail call x86_fp80 @RedisModule_LoadLongDouble(ptr noundef %0) #2
%7 = tail call i64 @RedisModule_IsIOError(ptr noundef %0) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %22
9: ; preds = %2
%10 = icmp eq i32 %3, 1
%11 = zext i1 %10 to i32
%12 = tail call i32 @assert(i32 noundef %11) #2
%13 = icmp eq i32 %1, 1
%14 = zext i1 %13 to i32
%15 = tail call i32 @assert(i32 noundef %14) #2
%16 = fcmp oeq float %5, 1.500000e+00
%17 = zext i1 %16 to i32
%18 = tail call i32 @assert(i32 noundef %17) #2
%19 = fcmp oeq x86_fp80 %6, 0xK3FFDAAAAAAAAAAAAAA9E
%20 = zext i1 %19 to i32
%21 = tail call i32 @assert(i32 noundef %20) #2
br label %22
22: ; preds = %2, %9
%23 = phi ptr [ %4, %9 ], [ null, %2 ]
ret ptr %23
}
declare i32 @RedisModule_LoadSigned(ptr noundef) local_unnamed_addr #1
declare ptr @RedisModule_LoadString(ptr noundef) local_unnamed_addr #1
declare float @RedisModule_LoadFloat(ptr noundef) local_unnamed_addr #1
declare x86_fp80 @RedisModule_LoadLongDouble(ptr noundef) local_unnamed_addr #1
declare i64 @RedisModule_IsIOError(ptr noundef) local_unnamed_addr #1
declare i32 @assert(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/redis/tests/modules/extr_testrdb.c_testrdb_type_load.c'
source_filename = "AnghaBench/redis/tests/modules/extr_testrdb.c_testrdb_type_load.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 @testrdb_type_load(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @RedisModule_LoadSigned(ptr noundef %0) #2
%4 = tail call ptr @RedisModule_LoadString(ptr noundef %0) #2
%5 = tail call float @RedisModule_LoadFloat(ptr noundef %0) #2
%6 = tail call double @RedisModule_LoadLongDouble(ptr noundef %0) #2
%7 = tail call i64 @RedisModule_IsIOError(ptr noundef %0) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %22
9: ; preds = %2
%10 = icmp eq i32 %3, 1
%11 = zext i1 %10 to i32
%12 = tail call i32 @assert(i32 noundef %11) #2
%13 = icmp eq i32 %1, 1
%14 = zext i1 %13 to i32
%15 = tail call i32 @assert(i32 noundef %14) #2
%16 = fcmp oeq float %5, 1.500000e+00
%17 = zext i1 %16 to i32
%18 = tail call i32 @assert(i32 noundef %17) #2
%19 = fcmp oeq double %6, 0x3FD5555555555555
%20 = zext i1 %19 to i32
%21 = tail call i32 @assert(i32 noundef %20) #2
br label %22
22: ; preds = %2, %9
%23 = phi ptr [ %4, %9 ], [ null, %2 ]
ret ptr %23
}
declare i32 @RedisModule_LoadSigned(ptr noundef) local_unnamed_addr #1
declare ptr @RedisModule_LoadString(ptr noundef) local_unnamed_addr #1
declare float @RedisModule_LoadFloat(ptr noundef) local_unnamed_addr #1
declare double @RedisModule_LoadLongDouble(ptr noundef) local_unnamed_addr #1
declare i64 @RedisModule_IsIOError(ptr noundef) local_unnamed_addr #1
declare i32 @assert(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)"}
| redis_tests_modules_extr_testrdb.c_testrdb_type_load |
; ModuleID = 'AnghaBench/linux/drivers/media/usb/cpia2/extr_cpia2_core.c_cpia2_set_brightness.c'
source_filename = "AnghaBench/linux/drivers/media/usb/cpia2/extr_cpia2_core.c_cpia2_set_brightness.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"
@DEVICE_STV_672 = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [34 x i8] c"Setting brightness to %d (0x%0x)\0A\00", align 1
@CPIA2_CMD_SET_VP_BRIGHTNESS = dso_local local_unnamed_addr global i32 0, align 4
@TRANSFER_WRITE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @cpia2_set_brightness(ptr noundef %0, i8 noundef zeroext %1) local_unnamed_addr #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = load i64, ptr @DEVICE_STV_672, align 8, !tbaa !12
%5 = icmp eq i64 %3, %4
%6 = icmp eq i8 %1, 0
%7 = and i1 %6, %5
%8 = zext i1 %7 to i8
%9 = add i8 %8, %1
%10 = tail call i32 @DBG(ptr noundef nonnull @.str, i8 noundef zeroext %9, i8 noundef zeroext %9) #2
%11 = load i32, ptr @CPIA2_CMD_SET_VP_BRIGHTNESS, align 4, !tbaa !13
%12 = load i32, ptr @TRANSFER_WRITE, align 4, !tbaa !13
%13 = tail call i32 @cpia2_do_command(ptr noundef nonnull %0, i32 noundef %11, i32 noundef %12, i8 noundef zeroext %9) #2
ret void
}
declare i32 @DBG(ptr noundef, i8 noundef zeroext, i8 noundef zeroext) local_unnamed_addr #1
declare i32 @cpia2_do_command(ptr noundef, i32 noundef, i32 noundef, i8 noundef zeroext) 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, !9, i64 0}
!6 = !{!"camera_data", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!9, !9, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/usb/cpia2/extr_cpia2_core.c_cpia2_set_brightness.c'
source_filename = "AnghaBench/linux/drivers/media/usb/cpia2/extr_cpia2_core.c_cpia2_set_brightness.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DEVICE_STV_672 = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [34 x i8] c"Setting brightness to %d (0x%0x)\0A\00", align 1
@CPIA2_CMD_SET_VP_BRIGHTNESS = common local_unnamed_addr global i32 0, align 4
@TRANSFER_WRITE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @cpia2_set_brightness(ptr noundef %0, i8 noundef zeroext %1) local_unnamed_addr #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = load i64, ptr @DEVICE_STV_672, align 8, !tbaa !13
%5 = icmp eq i64 %3, %4
%6 = icmp eq i8 %1, 0
%7 = and i1 %6, %5
%8 = select i1 %7, i8 1, i8 %1
%9 = tail call i32 @DBG(ptr noundef nonnull @.str, i8 noundef zeroext %8, i8 noundef zeroext %8) #2
%10 = load i32, ptr @CPIA2_CMD_SET_VP_BRIGHTNESS, align 4, !tbaa !14
%11 = load i32, ptr @TRANSFER_WRITE, align 4, !tbaa !14
%12 = tail call i32 @cpia2_do_command(ptr noundef nonnull %0, i32 noundef %10, i32 noundef %11, i8 noundef zeroext %8) #2
ret void
}
declare i32 @DBG(ptr noundef, i8 noundef zeroext, i8 noundef zeroext) local_unnamed_addr #1
declare i32 @cpia2_do_command(ptr noundef, i32 noundef, i32 noundef, i8 noundef zeroext) 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, !10, i64 0}
!7 = !{!"camera_data", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"TYPE_3__", !10, i64 0}
!10 = !{!"long", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!10, !10, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !11, i64 0}
| linux_drivers_media_usb_cpia2_extr_cpia2_core.c_cpia2_set_brightness |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/extr_argon2-encoding.c_u32_to_string.c'
source_filename = "AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/extr_argon2-encoding.c_u32_to_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"
@U32_STR_MAXSIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @u32_to_string], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @u32_to_string(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @U32_STR_MAXSIZE, align 4, !tbaa !5
%4 = add i32 %3, -1
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5, align 16
br label %7
7: ; preds = %7, %2
%8 = phi i32 [ %1, %2 ], [ %15, %7 ]
%9 = phi i64 [ %5, %2 ], [ %13, %7 ]
%10 = urem i32 %8, 10
%11 = trunc i32 %10 to i8
%12 = or disjoint i8 %11, 48
%13 = add i64 %9, -1
%14 = getelementptr inbounds i8, ptr %6, i64 %13
store i8 %12, ptr %14, align 1, !tbaa !9
%15 = udiv i32 %8, 10
%16 = icmp ugt i32 %8, 9
%17 = icmp ne i64 %13, 0
%18 = and i1 %16, %17
br i1 %18, label %7, label %19, !llvm.loop !10
19: ; preds = %7
%20 = getelementptr inbounds i8, ptr %6, i64 %13
%21 = sub i64 %5, %13
%22 = trunc i64 %21 to i32
%23 = call i32 @memcpy(ptr noundef %0, ptr noundef nonnull %20, i32 noundef %22) #2
%24 = getelementptr inbounds i8, ptr %0, i64 %21
store i8 0, ptr %24, align 1, !tbaa !9
ret void
}
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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/extr_argon2-encoding.c_u32_to_string.c'
source_filename = "AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/extr_argon2-encoding.c_u32_to_string.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@U32_STR_MAXSIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @u32_to_string], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @u32_to_string(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @U32_STR_MAXSIZE, align 4, !tbaa !6
%4 = add i32 %3, -1
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5, align 1
br label %7
7: ; preds = %7, %2
%8 = phi i32 [ %1, %2 ], [ %11, %7 ]
%9 = phi i64 [ %5, %2 ], [ %16, %7 ]
%10 = freeze i32 %8
%11 = udiv i32 %10, 10
%12 = mul i32 %11, 10
%13 = sub i32 %10, %12
%14 = trunc nuw nsw i32 %13 to i8
%15 = or disjoint i8 %14, 48
%16 = add i64 %9, -1
%17 = getelementptr inbounds i8, ptr %6, i64 %16
store i8 %15, ptr %17, align 1, !tbaa !10
%18 = icmp ugt i32 %8, 9
%19 = icmp ne i64 %16, 0
%20 = and i1 %18, %19
br i1 %20, label %7, label %21, !llvm.loop !11
21: ; preds = %7
%22 = getelementptr inbounds i8, ptr %6, i64 %16
%23 = sub i64 %5, %16
%24 = trunc i64 %23 to i32
%25 = call i32 @memcpy(ptr noundef %0, ptr noundef nonnull %22, i32 noundef %24) #2
%26 = getelementptr inbounds i8, ptr %0, i64 %23
store i8 0, ptr %26, align 1, !tbaa !10
ret void
}
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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| freebsd_sys_contrib_libsodium_src_libsodium_crypto_pwhash_argon2_extr_argon2-encoding.c_u32_to_string |
; ModuleID = 'AnghaBench/ZipArchive/SSZipArchive/minizip/extr_mz_strm_mem.c_mz_stream_mem_get_buffer.c'
source_filename = "AnghaBench/ZipArchive/SSZipArchive/minizip/extr_mz_strm_mem.c_mz_stream_mem_get_buffer.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 @mz_stream_mem_get_buffer(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @mz_stream_mem_get_buffer_at(ptr noundef %0, i32 noundef 0, ptr noundef %1) #2
ret i32 %3
}
declare i32 @mz_stream_mem_get_buffer_at(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)"}
| ; ModuleID = 'AnghaBench/ZipArchive/SSZipArchive/minizip/extr_mz_strm_mem.c_mz_stream_mem_get_buffer.c'
source_filename = "AnghaBench/ZipArchive/SSZipArchive/minizip/extr_mz_strm_mem.c_mz_stream_mem_get_buffer.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 @mz_stream_mem_get_buffer(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @mz_stream_mem_get_buffer_at(ptr noundef %0, i32 noundef 0, ptr noundef %1) #2
ret i32 %3
}
declare i32 @mz_stream_mem_get_buffer_at(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)"}
| ZipArchive_SSZipArchive_minizip_extr_mz_strm_mem.c_mz_stream_mem_get_buffer |
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/mstask/extr_task.c_test_SetParameters_GetParameters.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/mstask/extr_task.c_test_SetParameters_GetParameters.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"
@__const.test_SetParameters_GetParameters.parameters_a = private unnamed_addr constant [8 x float] [float 1.020000e+02, float 1.110000e+02, float 1.110000e+02, float 4.600000e+01, float 1.160000e+02, float 1.200000e+02, float 1.160000e+02, float 0.000000e+00], align 16
@__const.test_SetParameters_GetParameters.parameters_b = private unnamed_addr constant [16 x float] [float 1.020000e+02, float 1.110000e+02, float 1.110000e+02, float 4.600000e+01, float 1.160000e+02, float 1.200000e+02, float 1.160000e+02, float 3.200000e+01, float 9.800000e+01, float 9.700000e+01, float 1.140000e+02, float 4.600000e+01, float 1.160000e+02, float 1.200000e+02, float 1.160000e+02, float 0.000000e+00], align 16
@.str = private unnamed_addr constant [27 x i8] c"Failed to setup test_task\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"Failed to create task. Skipping tests.\0A\00", align 1
@test_task = dso_local local_unnamed_addr global i32 0, align 4
@S_OK = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [28 x i8] c"GetParameters failed: %08x\0A\00", align 1
@empty = dso_local local_unnamed_addr global ptr null, align 8
@.str.3 = private unnamed_addr constant [31 x i8] c"Got %s, expected empty string\0A\00", align 1
@.str.4 = private unnamed_addr constant [36 x i8] c"Failed setting parameters %s: %08x\0A\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"Got %s, expected %s\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_SetParameters_GetParameters], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @test_SetParameters_GetParameters() #0 {
%1 = alloca ptr, align 8
%2 = alloca [8 x float], align 16
%3 = alloca [16 x float], align 16
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #4
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %2, ptr noundef nonnull align 16 dereferenceable(32) @__const.test_SetParameters_GetParameters.parameters_a, i64 32, i1 false)
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %3, ptr noundef nonnull align 16 dereferenceable(64) @__const.test_SetParameters_GetParameters.parameters_b, i64 64, i1 false)
%4 = tail call i32 (...) @setup_task() #4
%5 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %4, ptr noundef nonnull @.str) #4
%6 = icmp eq i32 %4, 0
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = tail call i32 @skip(ptr noundef nonnull @.str.1) #4
br label %114
9: ; preds = %0
%10 = load i32, ptr @test_task, align 4, !tbaa !5
%11 = call i64 @ITask_GetParameters(i32 noundef %10, ptr noundef nonnull %1) #4
%12 = load i64, ptr @S_OK, align 8, !tbaa !9
%13 = icmp eq i64 %11, %12
%14 = zext i1 %13 to i32
%15 = call i32 (i32, ptr, ...) @ok(i32 noundef %14, ptr noundef nonnull @.str.2, i64 noundef %11) #4
%16 = load i64, ptr @S_OK, align 8, !tbaa !9
%17 = icmp eq i64 %11, %16
br i1 %17, label %18, label %29
18: ; preds = %9
%19 = load ptr, ptr %1, align 8, !tbaa !11
%20 = load ptr, ptr @empty, align 8, !tbaa !11
%21 = call i32 @lstrcmpW(ptr noundef %19, ptr noundef %20) #4
%22 = icmp eq i32 %21, 0
%23 = zext i1 %22 to i32
%24 = load ptr, ptr %1, align 8, !tbaa !11
%25 = call i64 @wine_dbgstr_w(ptr noundef %24) #4
%26 = call i32 (i32, ptr, ...) @ok(i32 noundef %23, ptr noundef nonnull @.str.3, i64 noundef %25) #4
%27 = load ptr, ptr %1, align 8, !tbaa !11
%28 = call i32 @CoTaskMemFree(ptr noundef %27) #4
br label %29
29: ; preds = %18, %9
%30 = load i32, ptr @test_task, align 4, !tbaa !5
%31 = call i64 @ITask_SetParameters(i32 noundef %30, ptr noundef nonnull %2) #4
%32 = load i64, ptr @S_OK, align 8, !tbaa !9
%33 = icmp eq i64 %31, %32
%34 = zext i1 %33 to i32
%35 = call i64 @wine_dbgstr_w(ptr noundef nonnull %2) #4
%36 = call i32 (i32, ptr, ...) @ok(i32 noundef %34, ptr noundef nonnull @.str.4, i64 noundef %35, i64 noundef %31) #4
%37 = load i32, ptr @test_task, align 4, !tbaa !5
%38 = call i64 @ITask_GetParameters(i32 noundef %37, ptr noundef nonnull %1) #4
%39 = load i64, ptr @S_OK, align 8, !tbaa !9
%40 = icmp eq i64 %38, %39
%41 = zext i1 %40 to i32
%42 = call i32 (i32, ptr, ...) @ok(i32 noundef %41, ptr noundef nonnull @.str.2, i64 noundef %38) #4
%43 = load i64, ptr @S_OK, align 8, !tbaa !9
%44 = icmp eq i64 %38, %43
br i1 %44, label %45, label %56
45: ; preds = %29
%46 = load ptr, ptr %1, align 8, !tbaa !11
%47 = call i32 @lstrcmpW(ptr noundef %46, ptr noundef nonnull %2) #4
%48 = icmp eq i32 %47, 0
%49 = zext i1 %48 to i32
%50 = load ptr, ptr %1, align 8, !tbaa !11
%51 = call i64 @wine_dbgstr_w(ptr noundef %50) #4
%52 = call i64 @wine_dbgstr_w(ptr noundef nonnull %2) #4
%53 = call i32 (i32, ptr, ...) @ok(i32 noundef %49, ptr noundef nonnull @.str.5, i64 noundef %51, i64 noundef %52) #4
%54 = load ptr, ptr %1, align 8, !tbaa !11
%55 = call i32 @CoTaskMemFree(ptr noundef %54) #4
br label %56
56: ; preds = %45, %29
%57 = load i32, ptr @test_task, align 4, !tbaa !5
%58 = call i64 @ITask_SetParameters(i32 noundef %57, ptr noundef nonnull %3) #4
%59 = load i64, ptr @S_OK, align 8, !tbaa !9
%60 = icmp eq i64 %58, %59
%61 = zext i1 %60 to i32
%62 = call i64 @wine_dbgstr_w(ptr noundef nonnull %3) #4
%63 = call i32 (i32, ptr, ...) @ok(i32 noundef %61, ptr noundef nonnull @.str.4, i64 noundef %62, i64 noundef %58) #4
%64 = load i32, ptr @test_task, align 4, !tbaa !5
%65 = call i64 @ITask_GetParameters(i32 noundef %64, ptr noundef nonnull %1) #4
%66 = load i64, ptr @S_OK, align 8, !tbaa !9
%67 = icmp eq i64 %65, %66
%68 = zext i1 %67 to i32
%69 = call i32 (i32, ptr, ...) @ok(i32 noundef %68, ptr noundef nonnull @.str.2, i64 noundef %65) #4
%70 = load i64, ptr @S_OK, align 8, !tbaa !9
%71 = icmp eq i64 %65, %70
br i1 %71, label %72, label %83
72: ; preds = %56
%73 = load ptr, ptr %1, align 8, !tbaa !11
%74 = call i32 @lstrcmpW(ptr noundef %73, ptr noundef nonnull %3) #4
%75 = icmp eq i32 %74, 0
%76 = zext i1 %75 to i32
%77 = load ptr, ptr %1, align 8, !tbaa !11
%78 = call i64 @wine_dbgstr_w(ptr noundef %77) #4
%79 = call i64 @wine_dbgstr_w(ptr noundef nonnull %3) #4
%80 = call i32 (i32, ptr, ...) @ok(i32 noundef %76, ptr noundef nonnull @.str.5, i64 noundef %78, i64 noundef %79) #4
%81 = load ptr, ptr %1, align 8, !tbaa !11
%82 = call i32 @CoTaskMemFree(ptr noundef %81) #4
br label %83
83: ; preds = %72, %56
%84 = load i32, ptr @test_task, align 4, !tbaa !5
%85 = load ptr, ptr @empty, align 8, !tbaa !11
%86 = call i64 @ITask_SetParameters(i32 noundef %84, ptr noundef %85) #4
%87 = load i64, ptr @S_OK, align 8, !tbaa !9
%88 = icmp eq i64 %86, %87
%89 = zext i1 %88 to i32
%90 = load ptr, ptr @empty, align 8, !tbaa !11
%91 = call i64 @wine_dbgstr_w(ptr noundef %90) #4
%92 = call i32 (i32, ptr, ...) @ok(i32 noundef %89, ptr noundef nonnull @.str.4, i64 noundef %91, i64 noundef %86) #4
%93 = load i32, ptr @test_task, align 4, !tbaa !5
%94 = call i64 @ITask_GetParameters(i32 noundef %93, ptr noundef nonnull %1) #4
%95 = load i64, ptr @S_OK, align 8, !tbaa !9
%96 = icmp eq i64 %94, %95
%97 = zext i1 %96 to i32
%98 = call i32 (i32, ptr, ...) @ok(i32 noundef %97, ptr noundef nonnull @.str.2, i64 noundef %94) #4
%99 = load i64, ptr @S_OK, align 8, !tbaa !9
%100 = icmp eq i64 %94, %99
br i1 %100, label %101, label %112
101: ; preds = %83
%102 = load ptr, ptr %1, align 8, !tbaa !11
%103 = load ptr, ptr @empty, align 8, !tbaa !11
%104 = call i32 @lstrcmpW(ptr noundef %102, ptr noundef %103) #4
%105 = icmp eq i32 %104, 0
%106 = zext i1 %105 to i32
%107 = load ptr, ptr %1, align 8, !tbaa !11
%108 = call i64 @wine_dbgstr_w(ptr noundef %107) #4
%109 = call i32 (i32, ptr, ...) @ok(i32 noundef %106, ptr noundef nonnull @.str.3, i64 noundef %108) #4
%110 = load ptr, ptr %1, align 8, !tbaa !11
%111 = call i32 @CoTaskMemFree(ptr noundef %110) #4
br label %112
112: ; preds = %101, %83
%113 = call i32 (...) @cleanup_task() #4
br label %114
114: ; preds = %112, %7
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #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
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @setup_task(...) local_unnamed_addr #3
declare i32 @ok(i32 noundef, ptr noundef, ...) local_unnamed_addr #3
declare i32 @skip(ptr noundef) local_unnamed_addr #3
declare i64 @ITask_GetParameters(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @lstrcmpW(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @wine_dbgstr_w(ptr noundef) local_unnamed_addr #3
declare i32 @CoTaskMemFree(ptr noundef) local_unnamed_addr #3
declare i64 @ITask_SetParameters(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @cleanup_task(...) 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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 = !{!"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}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/mstask/extr_task.c_test_SetParameters_GetParameters.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/mstask/extr_task.c_test_SetParameters_GetParameters.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@__const.test_SetParameters_GetParameters.parameters_a = private unnamed_addr constant [8 x float] [float 1.020000e+02, float 1.110000e+02, float 1.110000e+02, float 4.600000e+01, float 1.160000e+02, float 1.200000e+02, float 1.160000e+02, float 0.000000e+00], align 4
@__const.test_SetParameters_GetParameters.parameters_b = private unnamed_addr constant [16 x float] [float 1.020000e+02, float 1.110000e+02, float 1.110000e+02, float 4.600000e+01, float 1.160000e+02, float 1.200000e+02, float 1.160000e+02, float 3.200000e+01, float 9.800000e+01, float 9.700000e+01, float 1.140000e+02, float 4.600000e+01, float 1.160000e+02, float 1.200000e+02, float 1.160000e+02, float 0.000000e+00], align 4
@.str = private unnamed_addr constant [27 x i8] c"Failed to setup test_task\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"Failed to create task. Skipping tests.\0A\00", align 1
@test_task = common local_unnamed_addr global i32 0, align 4
@S_OK = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [28 x i8] c"GetParameters failed: %08x\0A\00", align 1
@empty = common local_unnamed_addr global ptr null, align 8
@.str.3 = private unnamed_addr constant [31 x i8] c"Got %s, expected empty string\0A\00", align 1
@.str.4 = private unnamed_addr constant [36 x i8] c"Failed setting parameters %s: %08x\0A\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"Got %s, expected %s\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @test_SetParameters_GetParameters], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @test_SetParameters_GetParameters() #0 {
%1 = alloca ptr, align 8
%2 = alloca [8 x float], align 4
%3 = alloca [16 x float], align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #4
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(32) %2, ptr noundef nonnull align 4 dereferenceable(32) @__const.test_SetParameters_GetParameters.parameters_a, i64 32, i1 false)
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %3, ptr noundef nonnull align 4 dereferenceable(64) @__const.test_SetParameters_GetParameters.parameters_b, i64 64, i1 false)
%4 = tail call i32 @setup_task() #4
%5 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %4, ptr noundef nonnull @.str) #4
%6 = icmp eq i32 %4, 0
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = tail call i32 @skip(ptr noundef nonnull @.str.1) #4
br label %114
9: ; preds = %0
%10 = load i32, ptr @test_task, align 4, !tbaa !6
%11 = call i64 @ITask_GetParameters(i32 noundef %10, ptr noundef nonnull %1) #4
%12 = load i64, ptr @S_OK, align 8, !tbaa !10
%13 = icmp eq i64 %11, %12
%14 = zext i1 %13 to i32
%15 = call i32 (i32, ptr, ...) @ok(i32 noundef %14, ptr noundef nonnull @.str.2, i64 noundef %11) #4
%16 = load i64, ptr @S_OK, align 8, !tbaa !10
%17 = icmp eq i64 %11, %16
br i1 %17, label %18, label %29
18: ; preds = %9
%19 = load ptr, ptr %1, align 8, !tbaa !12
%20 = load ptr, ptr @empty, align 8, !tbaa !12
%21 = call i32 @lstrcmpW(ptr noundef %19, ptr noundef %20) #4
%22 = icmp eq i32 %21, 0
%23 = zext i1 %22 to i32
%24 = load ptr, ptr %1, align 8, !tbaa !12
%25 = call i64 @wine_dbgstr_w(ptr noundef %24) #4
%26 = call i32 (i32, ptr, ...) @ok(i32 noundef %23, ptr noundef nonnull @.str.3, i64 noundef %25) #4
%27 = load ptr, ptr %1, align 8, !tbaa !12
%28 = call i32 @CoTaskMemFree(ptr noundef %27) #4
br label %29
29: ; preds = %18, %9
%30 = load i32, ptr @test_task, align 4, !tbaa !6
%31 = call i64 @ITask_SetParameters(i32 noundef %30, ptr noundef nonnull %2) #4
%32 = load i64, ptr @S_OK, align 8, !tbaa !10
%33 = icmp eq i64 %31, %32
%34 = zext i1 %33 to i32
%35 = call i64 @wine_dbgstr_w(ptr noundef nonnull %2) #4
%36 = call i32 (i32, ptr, ...) @ok(i32 noundef %34, ptr noundef nonnull @.str.4, i64 noundef %35, i64 noundef %31) #4
%37 = load i32, ptr @test_task, align 4, !tbaa !6
%38 = call i64 @ITask_GetParameters(i32 noundef %37, ptr noundef nonnull %1) #4
%39 = load i64, ptr @S_OK, align 8, !tbaa !10
%40 = icmp eq i64 %38, %39
%41 = zext i1 %40 to i32
%42 = call i32 (i32, ptr, ...) @ok(i32 noundef %41, ptr noundef nonnull @.str.2, i64 noundef %38) #4
%43 = load i64, ptr @S_OK, align 8, !tbaa !10
%44 = icmp eq i64 %38, %43
br i1 %44, label %45, label %56
45: ; preds = %29
%46 = load ptr, ptr %1, align 8, !tbaa !12
%47 = call i32 @lstrcmpW(ptr noundef %46, ptr noundef nonnull %2) #4
%48 = icmp eq i32 %47, 0
%49 = zext i1 %48 to i32
%50 = load ptr, ptr %1, align 8, !tbaa !12
%51 = call i64 @wine_dbgstr_w(ptr noundef %50) #4
%52 = call i64 @wine_dbgstr_w(ptr noundef nonnull %2) #4
%53 = call i32 (i32, ptr, ...) @ok(i32 noundef %49, ptr noundef nonnull @.str.5, i64 noundef %51, i64 noundef %52) #4
%54 = load ptr, ptr %1, align 8, !tbaa !12
%55 = call i32 @CoTaskMemFree(ptr noundef %54) #4
br label %56
56: ; preds = %45, %29
%57 = load i32, ptr @test_task, align 4, !tbaa !6
%58 = call i64 @ITask_SetParameters(i32 noundef %57, ptr noundef nonnull %3) #4
%59 = load i64, ptr @S_OK, align 8, !tbaa !10
%60 = icmp eq i64 %58, %59
%61 = zext i1 %60 to i32
%62 = call i64 @wine_dbgstr_w(ptr noundef nonnull %3) #4
%63 = call i32 (i32, ptr, ...) @ok(i32 noundef %61, ptr noundef nonnull @.str.4, i64 noundef %62, i64 noundef %58) #4
%64 = load i32, ptr @test_task, align 4, !tbaa !6
%65 = call i64 @ITask_GetParameters(i32 noundef %64, ptr noundef nonnull %1) #4
%66 = load i64, ptr @S_OK, align 8, !tbaa !10
%67 = icmp eq i64 %65, %66
%68 = zext i1 %67 to i32
%69 = call i32 (i32, ptr, ...) @ok(i32 noundef %68, ptr noundef nonnull @.str.2, i64 noundef %65) #4
%70 = load i64, ptr @S_OK, align 8, !tbaa !10
%71 = icmp eq i64 %65, %70
br i1 %71, label %72, label %83
72: ; preds = %56
%73 = load ptr, ptr %1, align 8, !tbaa !12
%74 = call i32 @lstrcmpW(ptr noundef %73, ptr noundef nonnull %3) #4
%75 = icmp eq i32 %74, 0
%76 = zext i1 %75 to i32
%77 = load ptr, ptr %1, align 8, !tbaa !12
%78 = call i64 @wine_dbgstr_w(ptr noundef %77) #4
%79 = call i64 @wine_dbgstr_w(ptr noundef nonnull %3) #4
%80 = call i32 (i32, ptr, ...) @ok(i32 noundef %76, ptr noundef nonnull @.str.5, i64 noundef %78, i64 noundef %79) #4
%81 = load ptr, ptr %1, align 8, !tbaa !12
%82 = call i32 @CoTaskMemFree(ptr noundef %81) #4
br label %83
83: ; preds = %72, %56
%84 = load i32, ptr @test_task, align 4, !tbaa !6
%85 = load ptr, ptr @empty, align 8, !tbaa !12
%86 = call i64 @ITask_SetParameters(i32 noundef %84, ptr noundef %85) #4
%87 = load i64, ptr @S_OK, align 8, !tbaa !10
%88 = icmp eq i64 %86, %87
%89 = zext i1 %88 to i32
%90 = load ptr, ptr @empty, align 8, !tbaa !12
%91 = call i64 @wine_dbgstr_w(ptr noundef %90) #4
%92 = call i32 (i32, ptr, ...) @ok(i32 noundef %89, ptr noundef nonnull @.str.4, i64 noundef %91, i64 noundef %86) #4
%93 = load i32, ptr @test_task, align 4, !tbaa !6
%94 = call i64 @ITask_GetParameters(i32 noundef %93, ptr noundef nonnull %1) #4
%95 = load i64, ptr @S_OK, align 8, !tbaa !10
%96 = icmp eq i64 %94, %95
%97 = zext i1 %96 to i32
%98 = call i32 (i32, ptr, ...) @ok(i32 noundef %97, ptr noundef nonnull @.str.2, i64 noundef %94) #4
%99 = load i64, ptr @S_OK, align 8, !tbaa !10
%100 = icmp eq i64 %94, %99
br i1 %100, label %101, label %112
101: ; preds = %83
%102 = load ptr, ptr %1, align 8, !tbaa !12
%103 = load ptr, ptr @empty, align 8, !tbaa !12
%104 = call i32 @lstrcmpW(ptr noundef %102, ptr noundef %103) #4
%105 = icmp eq i32 %104, 0
%106 = zext i1 %105 to i32
%107 = load ptr, ptr %1, align 8, !tbaa !12
%108 = call i64 @wine_dbgstr_w(ptr noundef %107) #4
%109 = call i32 (i32, ptr, ...) @ok(i32 noundef %106, ptr noundef nonnull @.str.3, i64 noundef %108) #4
%110 = load ptr, ptr %1, align 8, !tbaa !12
%111 = call i32 @CoTaskMemFree(ptr noundef %110) #4
br label %112
112: ; preds = %101, %83
%113 = call i32 @cleanup_task() #4
br label %114
114: ; preds = %112, %7
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #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
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @setup_task(...) local_unnamed_addr #3
declare i32 @ok(i32 noundef, ptr noundef, ...) local_unnamed_addr #3
declare i32 @skip(ptr noundef) local_unnamed_addr #3
declare i64 @ITask_GetParameters(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @lstrcmpW(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @wine_dbgstr_w(ptr noundef) local_unnamed_addr #3
declare i32 @CoTaskMemFree(ptr noundef) local_unnamed_addr #3
declare i64 @ITask_SetParameters(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @cleanup_task(...) 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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 = !{!"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 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
| reactos_modules_rostests_winetests_mstask_extr_task.c_test_SetParameters_GetParameters |
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-ds1307.c_frequency_test_store.c'
source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-ds1307.c_frequency_test_store.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 [46 x i8] c"Failed to store RTC Frequency Test attribute\0A\00", align 1
@M41TXX_REG_CONTROL = dso_local local_unnamed_addr global i32 0, align 4
@M41TXX_BIT_FT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @frequency_test_store], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @frequency_test_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = load i32, ptr %0, align 4, !tbaa !5
%7 = tail call ptr @dev_get_drvdata(i32 noundef %6) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%8 = call i32 @kstrtobool(ptr noundef %2, ptr noundef nonnull %5) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %4
%11 = call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str) #3
br label %21
12: ; preds = %4
%13 = load i32, ptr %7, align 4, !tbaa !10
%14 = load i32, ptr @M41TXX_REG_CONTROL, align 4, !tbaa !12
%15 = load i32, ptr @M41TXX_BIT_FT, align 4
%16 = load i32, ptr %5, align 4, !tbaa !12
%17 = icmp eq i32 %16, 0
%18 = select i1 %17, i32 0, i32 %15
%19 = call i32 @regmap_update_bits(i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %18) #3
%20 = trunc i64 %3 to i32
br label %21
21: ; preds = %12, %10
%22 = phi i32 [ %8, %10 ], [ %20, %12 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %22
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @dev_get_drvdata(i32 noundef) local_unnamed_addr #2
declare i32 @kstrtobool(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @regmap_update_bits(i32 noundef, i32 noundef, 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, !7, i64 0}
!6 = !{!"device", !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 = !{!"ds1307", !7, i64 0}
!12 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-ds1307.c_frequency_test_store.c'
source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-ds1307.c_frequency_test_store.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 [46 x i8] c"Failed to store RTC Frequency Test attribute\0A\00", align 1
@M41TXX_REG_CONTROL = common local_unnamed_addr global i32 0, align 4
@M41TXX_BIT_FT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @frequency_test_store], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @frequency_test_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = load i32, ptr %0, align 4, !tbaa !6
%7 = tail call ptr @dev_get_drvdata(i32 noundef %6) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%8 = call i32 @kstrtobool(ptr noundef %2, ptr noundef nonnull %5) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %4
%11 = call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str) #3
br label %21
12: ; preds = %4
%13 = load i32, ptr %7, align 4, !tbaa !11
%14 = load i32, ptr @M41TXX_REG_CONTROL, align 4, !tbaa !13
%15 = load i32, ptr @M41TXX_BIT_FT, align 4
%16 = load i32, ptr %5, align 4, !tbaa !13
%17 = icmp eq i32 %16, 0
%18 = select i1 %17, i32 0, i32 %15
%19 = call i32 @regmap_update_bits(i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %18) #3
%20 = trunc i64 %3 to i32
br label %21
21: ; preds = %12, %10
%22 = phi i32 [ %8, %10 ], [ %20, %12 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %22
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @dev_get_drvdata(i32 noundef) local_unnamed_addr #2
declare i32 @kstrtobool(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @regmap_update_bits(i32 noundef, i32 noundef, 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, !8, i64 0}
!7 = !{!"device", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"ds1307", !8, i64 0}
!13 = !{!8, !8, i64 0}
| linux_drivers_rtc_extr_rtc-ds1307.c_frequency_test_store |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/nand/extr_cmx270_nand.c_cmx270_write_buf.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/nand/extr_cmx270_nand.c_cmx270_write_buf.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 @cmx270_write_buf], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @cmx270_write_buf(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = icmp sgt i32 %2, 0
br i1 %5, label %6, label %16
6: ; preds = %3, %6
%7 = phi ptr [ %9, %6 ], [ %1, %3 ]
%8 = phi i32 [ %14, %6 ], [ 0, %3 ]
%9 = getelementptr inbounds i32, ptr %7, i64 1
%10 = load i32, ptr %7, align 4, !tbaa !10
%11 = shl i32 %10, 16
%12 = load i32, ptr %4, align 4, !tbaa !12
%13 = tail call i32 @writel(i32 noundef %11, i32 noundef %12) #2
%14 = add nuw nsw i32 %8, 1
%15 = icmp eq i32 %14, %2
br i1 %15, label %16, label %6, !llvm.loop !14
16: ; preds = %6, %3
ret void
}
declare i32 @writel(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 = !{!"mtd_info", !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 = !{!"nand_chip", !11, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/nand/extr_cmx270_nand.c_cmx270_write_buf.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/nand/extr_cmx270_nand.c_cmx270_write_buf.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 @cmx270_write_buf], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @cmx270_write_buf(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = icmp sgt i32 %2, 0
br i1 %5, label %6, label %16
6: ; preds = %3, %6
%7 = phi ptr [ %9, %6 ], [ %1, %3 ]
%8 = phi i32 [ %14, %6 ], [ 0, %3 ]
%9 = getelementptr inbounds i8, ptr %7, i64 4
%10 = load i32, ptr %7, align 4, !tbaa !11
%11 = shl i32 %10, 16
%12 = load i32, ptr %4, align 4, !tbaa !13
%13 = tail call i32 @writel(i32 noundef %11, i32 noundef %12) #2
%14 = add nuw nsw i32 %8, 1
%15 = icmp eq i32 %14, %2
br i1 %15, label %16, label %6, !llvm.loop !15
16: ; preds = %6, %3
ret void
}
declare i32 @writel(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 = !{!"mtd_info", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"nand_chip", !12, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_mtd_nand_extr_cmx270_nand.c_cmx270_write_buf |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-mx3/extr_mx31ads.c_mx31ads_expio_irq_handler.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-mx3/extr_mx31ads.c_mx31ads_expio_irq_handler.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"
@PBC_INTMASK_SET_REG = dso_local local_unnamed_addr global i32 0, align 4
@PBC_INTSTATUS_REG = dso_local local_unnamed_addr global i32 0, align 4
@MXC_EXP_IO_BASE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mx31ads_expio_irq_handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mx31ads_expio_irq_handler(i32 %0, ptr nocapture readnone %1) #0 {
%3 = load i32, ptr @PBC_INTMASK_SET_REG, align 4, !tbaa !5
%4 = tail call i32 @__raw_readw(i32 noundef %3) #2
%5 = load i32, ptr @PBC_INTSTATUS_REG, align 4, !tbaa !5
%6 = tail call i32 @__raw_readw(i32 noundef %5) #2
%7 = and i32 %6, %4
%8 = icmp eq i32 %7, 0
br i1 %8, label %22, label %9
9: ; preds = %2
%10 = load i32, ptr @MXC_EXP_IO_BASE, align 4, !tbaa !5
br label %11
11: ; preds = %9, %18
%12 = phi i32 [ %20, %18 ], [ %10, %9 ]
%13 = phi i32 [ %19, %18 ], [ %7, %9 ]
%14 = and i32 %13, 1
%15 = icmp eq i32 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %11
%17 = tail call i32 @generic_handle_irq(i32 noundef %12) #2
br label %18
18: ; preds = %11, %16
%19 = ashr i32 %13, 1
%20 = add nsw i32 %12, 1
%21 = icmp ult i32 %13, 2
br i1 %21, label %22, label %11, !llvm.loop !9
22: ; preds = %18, %2
ret void
}
declare i32 @__raw_readw(i32 noundef) local_unnamed_addr #1
declare i32 @generic_handle_irq(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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-mx3/extr_mx31ads.c_mx31ads_expio_irq_handler.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-mx3/extr_mx31ads.c_mx31ads_expio_irq_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PBC_INTMASK_SET_REG = common local_unnamed_addr global i32 0, align 4
@PBC_INTSTATUS_REG = common local_unnamed_addr global i32 0, align 4
@MXC_EXP_IO_BASE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mx31ads_expio_irq_handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mx31ads_expio_irq_handler(i32 %0, ptr nocapture readnone %1) #0 {
%3 = load i32, ptr @PBC_INTMASK_SET_REG, align 4, !tbaa !6
%4 = tail call i32 @__raw_readw(i32 noundef %3) #2
%5 = load i32, ptr @PBC_INTSTATUS_REG, align 4, !tbaa !6
%6 = tail call i32 @__raw_readw(i32 noundef %5) #2
%7 = and i32 %6, %4
%8 = icmp eq i32 %7, 0
br i1 %8, label %22, label %9
9: ; preds = %2
%10 = load i32, ptr @MXC_EXP_IO_BASE, align 4, !tbaa !6
br label %11
11: ; preds = %9, %18
%12 = phi i32 [ %20, %18 ], [ %10, %9 ]
%13 = phi i32 [ %19, %18 ], [ %7, %9 ]
%14 = and i32 %13, 1
%15 = icmp eq i32 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %11
%17 = tail call i32 @generic_handle_irq(i32 noundef %12) #2
br label %18
18: ; preds = %11, %16
%19 = ashr i32 %13, 1
%20 = add nsw i32 %12, 1
%21 = icmp ult i32 %13, 2
br i1 %21, label %22, label %11, !llvm.loop !10
22: ; preds = %18, %2
ret void
}
declare i32 @__raw_readw(i32 noundef) local_unnamed_addr #1
declare i32 @generic_handle_irq(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 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_arch_arm_mach-mx3_extr_mx31ads.c_mx31ads_expio_irq_handler |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/efa/extr_efa_com_cmd.c_efa_com_create_cq.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/efa/extr_efa_com_cmd.c_efa_com_create_cq.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.efa_admin_create_cq_resp = type { i32 }
%struct.efa_admin_create_cq_cmd = type { i32, %struct.TYPE_4__, i32, i32, i32, %struct.TYPE_3__ }
%struct.TYPE_4__ = type { i32, i32 }
%struct.TYPE_3__ = type { i32 }
%struct.efa_com_dev = type { i32, %struct.efa_com_admin_queue }
%struct.efa_com_admin_queue = type { i32 }
%struct.efa_com_create_cq_params = type { i32, i32, i32, i32, i32 }
%struct.efa_com_create_cq_result = type { i32, i32 }
@EFA_ADMIN_CREATE_CQ = dso_local local_unnamed_addr global i32 0, align 4
@EFA_ADMIN_CREATE_CQ_CMD_CQ_ENTRY_SIZE_WORDS_MASK = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"Failed to create cq[%d]\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @efa_com_create_cq(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = alloca %struct.efa_admin_create_cq_resp, align 4
%5 = alloca %struct.efa_admin_create_cq_cmd, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %5) #3
%6 = getelementptr inbounds i8, ptr %5, i64 4
store i64 0, ptr %6, align 4
%7 = getelementptr inbounds %struct.efa_com_dev, ptr %0, i64 0, i32 1
%8 = load i32, ptr @EFA_ADMIN_CREATE_CQ, align 4, !tbaa !5
%9 = getelementptr inbounds %struct.efa_admin_create_cq_cmd, ptr %5, i64 0, i32 5
store i32 %8, ptr %9, align 4, !tbaa !9
%10 = load i32, ptr %1, align 4, !tbaa !13
%11 = sdiv i32 %10, 4
%12 = load i32, ptr @EFA_ADMIN_CREATE_CQ_CMD_CQ_ENTRY_SIZE_WORDS_MASK, align 4, !tbaa !5
%13 = and i32 %11, %12
store i32 %13, ptr %5, align 4, !tbaa !15
%14 = getelementptr inbounds %struct.efa_com_create_cq_params, ptr %1, i64 0, i32 1
%15 = load i32, ptr %14, align 4, !tbaa !16
%16 = getelementptr inbounds %struct.efa_admin_create_cq_cmd, ptr %5, i64 0, i32 4
store i32 %15, ptr %16, align 4, !tbaa !17
%17 = getelementptr inbounds %struct.efa_com_create_cq_params, ptr %1, i64 0, i32 3
%18 = getelementptr inbounds %struct.efa_admin_create_cq_cmd, ptr %5, i64 0, i32 2
%19 = load <2 x i32>, ptr %17, align 4, !tbaa !5
store <2 x i32> %19, ptr %18, align 4, !tbaa !5
%20 = getelementptr inbounds %struct.efa_com_create_cq_params, ptr %1, i64 0, i32 2
%21 = load i32, ptr %20, align 4, !tbaa !18
%22 = getelementptr inbounds %struct.efa_admin_create_cq_cmd, ptr %5, i64 0, i32 1
%23 = getelementptr inbounds %struct.efa_admin_create_cq_cmd, ptr %5, i64 0, i32 1, i32 1
%24 = call i32 @efa_com_set_dma_addr(i32 noundef %21, ptr noundef nonnull %23, ptr noundef nonnull %22) #3
%25 = call i32 @efa_com_cmd_exec(ptr noundef nonnull %7, ptr noundef nonnull %5, i32 noundef 28, ptr noundef nonnull %4, i32 noundef 4) #3
%26 = icmp eq i32 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %3
%28 = load i32, ptr %0, align 4, !tbaa !19
%29 = call i32 @ibdev_err_ratelimited(i32 noundef %28, ptr noundef nonnull @.str, i32 noundef %25) #3
br label %34
30: ; preds = %3
%31 = load i32, ptr %4, align 4, !tbaa !22
%32 = getelementptr inbounds %struct.efa_com_create_cq_result, ptr %2, i64 0, i32 1
store i32 %31, ptr %32, align 4, !tbaa !24
%33 = load i32, ptr %14, align 4, !tbaa !16
store i32 %33, ptr %2, align 4, !tbaa !26
br label %34
34: ; preds = %30, %27
call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %25
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @efa_com_set_dma_addr(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @efa_com_cmd_exec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ibdev_err_ratelimited(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"}
!9 = !{!10, !6, i64 24}
!10 = !{!"efa_admin_create_cq_cmd", !6, i64 0, !11, i64 4, !6, i64 12, !6, i64 16, !6, i64 20, !12, i64 24}
!11 = !{!"TYPE_4__", !6, i64 0, !6, i64 4}
!12 = !{!"TYPE_3__", !6, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"efa_com_create_cq_params", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16}
!15 = !{!10, !6, i64 0}
!16 = !{!14, !6, i64 4}
!17 = !{!10, !6, i64 20}
!18 = !{!14, !6, i64 8}
!19 = !{!20, !6, i64 0}
!20 = !{!"efa_com_dev", !6, i64 0, !21, i64 4}
!21 = !{!"efa_com_admin_queue", !6, i64 0}
!22 = !{!23, !6, i64 0}
!23 = !{!"efa_admin_create_cq_resp", !6, i64 0}
!24 = !{!25, !6, i64 4}
!25 = !{!"efa_com_create_cq_result", !6, i64 0, !6, i64 4}
!26 = !{!25, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/efa/extr_efa_com_cmd.c_efa_com_create_cq.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/efa/extr_efa_com_cmd.c_efa_com_create_cq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.efa_admin_create_cq_resp = type { i32 }
%struct.efa_admin_create_cq_cmd = type { i32, %struct.TYPE_4__, i32, i32, i32, %struct.TYPE_3__ }
%struct.TYPE_4__ = type { i32, i32 }
%struct.TYPE_3__ = type { i32 }
@EFA_ADMIN_CREATE_CQ = common local_unnamed_addr global i32 0, align 4
@EFA_ADMIN_CREATE_CQ_CMD_CQ_ENTRY_SIZE_WORDS_MASK = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"Failed to create cq[%d]\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @efa_com_create_cq(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = alloca %struct.efa_admin_create_cq_resp, align 4
%5 = alloca %struct.efa_admin_create_cq_cmd, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %5) #3
%6 = getelementptr inbounds i8, ptr %5, i64 4
store i64 0, ptr %6, align 4
%7 = getelementptr inbounds i8, ptr %0, i64 4
%8 = load i32, ptr @EFA_ADMIN_CREATE_CQ, align 4, !tbaa !6
%9 = getelementptr inbounds i8, ptr %5, i64 24
store i32 %8, ptr %9, align 4, !tbaa !10
%10 = load i32, ptr %1, align 4, !tbaa !14
%11 = sdiv i32 %10, 4
%12 = load i32, ptr @EFA_ADMIN_CREATE_CQ_CMD_CQ_ENTRY_SIZE_WORDS_MASK, align 4, !tbaa !6
%13 = and i32 %11, %12
store i32 %13, ptr %5, align 4, !tbaa !16
%14 = getelementptr inbounds i8, ptr %1, i64 4
%15 = load i32, ptr %14, align 4, !tbaa !17
%16 = getelementptr inbounds i8, ptr %5, i64 20
store i32 %15, ptr %16, align 4, !tbaa !18
%17 = getelementptr inbounds i8, ptr %1, i64 12
%18 = getelementptr inbounds i8, ptr %5, i64 12
%19 = load <2 x i32>, ptr %17, align 4, !tbaa !6
store <2 x i32> %19, ptr %18, align 4, !tbaa !6
%20 = getelementptr inbounds i8, ptr %1, i64 8
%21 = load i32, ptr %20, align 4, !tbaa !19
%22 = getelementptr inbounds i8, ptr %5, i64 8
%23 = call i32 @efa_com_set_dma_addr(i32 noundef %21, ptr noundef nonnull %22, ptr noundef nonnull %6) #3
%24 = call i32 @efa_com_cmd_exec(ptr noundef nonnull %7, ptr noundef nonnull %5, i32 noundef 28, ptr noundef nonnull %4, i32 noundef 4) #3
%25 = icmp eq i32 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %3
%27 = load i32, ptr %0, align 4, !tbaa !20
%28 = call i32 @ibdev_err_ratelimited(i32 noundef %27, ptr noundef nonnull @.str, i32 noundef %24) #3
br label %33
29: ; preds = %3
%30 = load i32, ptr %4, align 4, !tbaa !23
%31 = getelementptr inbounds i8, ptr %2, i64 4
store i32 %30, ptr %31, align 4, !tbaa !25
%32 = load i32, ptr %14, align 4, !tbaa !17
store i32 %32, ptr %2, align 4, !tbaa !27
br label %33
33: ; preds = %29, %26
call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %24
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @efa_com_set_dma_addr(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @efa_com_cmd_exec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ibdev_err_ratelimited(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"}
!10 = !{!11, !7, i64 24}
!11 = !{!"efa_admin_create_cq_cmd", !7, i64 0, !12, i64 4, !7, i64 12, !7, i64 16, !7, i64 20, !13, i64 24}
!12 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
!13 = !{!"TYPE_3__", !7, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"efa_com_create_cq_params", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!16 = !{!11, !7, i64 0}
!17 = !{!15, !7, i64 4}
!18 = !{!11, !7, i64 20}
!19 = !{!15, !7, i64 8}
!20 = !{!21, !7, i64 0}
!21 = !{!"efa_com_dev", !7, i64 0, !22, i64 4}
!22 = !{!"efa_com_admin_queue", !7, i64 0}
!23 = !{!24, !7, i64 0}
!24 = !{!"efa_admin_create_cq_resp", !7, i64 0}
!25 = !{!26, !7, i64 4}
!26 = !{!"efa_com_create_cq_result", !7, i64 0, !7, i64 4}
!27 = !{!26, !7, i64 0}
| linux_drivers_infiniband_hw_efa_extr_efa_com_cmd.c_efa_com_create_cq |
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/vmx/extr_nested.c_nested_vmx_check_apic_access_controls.c'
source_filename = "AnghaBench/linux/arch/x86/kvm/vmx/extr_nested.c_nested_vmx_check_apic_access_controls.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"
@SECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES = 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 @nested_vmx_check_apic_access_controls], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @nested_vmx_check_apic_access_controls(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @SECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES, align 4, !tbaa !5
%4 = tail call i64 @nested_cpu_has2(ptr noundef %1, i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %16, label %6
6: ; preds = %2
%7 = load i32, ptr %1, align 4, !tbaa !9
%8 = tail call i32 @page_address_valid(ptr noundef %0, i32 noundef %7) #2
%9 = icmp eq i32 %8, 0
%10 = zext i1 %9 to i32
%11 = tail call i64 @CC(i32 noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %6
%14 = load i32, ptr @EINVAL, align 4, !tbaa !5
%15 = sub nsw i32 0, %14
br label %16
16: ; preds = %2, %6, %13
%17 = phi i32 [ %15, %13 ], [ 0, %6 ], [ 0, %2 ]
ret i32 %17
}
declare i64 @nested_cpu_has2(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @CC(i32 noundef) local_unnamed_addr #1
declare i32 @page_address_valid(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, !6, i64 0}
!10 = !{!"vmcs12", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/x86/kvm/vmx/extr_nested.c_nested_vmx_check_apic_access_controls.c'
source_filename = "AnghaBench/linux/arch/x86/kvm/vmx/extr_nested.c_nested_vmx_check_apic_access_controls.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES = 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 @nested_vmx_check_apic_access_controls], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @nested_vmx_check_apic_access_controls(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @SECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES, align 4, !tbaa !6
%4 = tail call i64 @nested_cpu_has2(ptr noundef %1, i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %16, label %6
6: ; preds = %2
%7 = load i32, ptr %1, align 4, !tbaa !10
%8 = tail call i32 @page_address_valid(ptr noundef %0, i32 noundef %7) #2
%9 = icmp eq i32 %8, 0
%10 = zext i1 %9 to i32
%11 = tail call i64 @CC(i32 noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %6
%14 = load i32, ptr @EINVAL, align 4, !tbaa !6
%15 = sub nsw i32 0, %14
br label %16
16: ; preds = %2, %6, %13
%17 = phi i32 [ %15, %13 ], [ 0, %6 ], [ 0, %2 ]
ret i32 %17
}
declare i64 @nested_cpu_has2(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @CC(i32 noundef) local_unnamed_addr #1
declare i32 @page_address_valid(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, !7, i64 0}
!11 = !{!"vmcs12", !7, i64 0}
| linux_arch_x86_kvm_vmx_extr_nested.c_nested_vmx_check_apic_access_controls |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_..wifi.h_rtl_read_word.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_..wifi.h_rtl_read_word.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 @rtl_read_word], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @rtl_read_word(ptr noundef %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = tail call i32 %3(ptr noundef nonnull %0, i32 noundef %1) #1
ret i32 %4
}
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, !8, i64 0}
!6 = !{!"rtl_priv", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_..wifi.h_rtl_read_word.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_..wifi.h_rtl_read_word.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 @rtl_read_word], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @rtl_read_word(ptr noundef %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = tail call i32 %3(ptr noundef nonnull %0, i32 noundef %1) #1
ret i32 %4
}
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, !9, i64 0}
!7 = !{!"rtl_priv", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_wireless_realtek_rtlwifi_rtl8188ee_extr_..wifi.h_rtl_read_word |
; ModuleID = 'AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_remez.c_isDone.c'
source_filename = "AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_remez.c_isDone.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 @isDone], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable
define internal i32 @isDone(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i32, ptr %1, align 4, !tbaa !5
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds double, ptr %2, i64 %5
%7 = load double, ptr %6, align 8, !tbaa !9
%8 = tail call double @llvm.fabs.f64(double %7)
%9 = icmp slt i32 %0, 1
br i1 %9, label %63, label %10
10: ; preds = %3
%11 = zext nneg i32 %0 to i64
%12 = and i64 %11, 1
%13 = icmp eq i32 %0, 1
br i1 %13, label %45, label %14
14: ; preds = %10
%15 = and i64 %11, 2147483646
%16 = getelementptr i32, ptr %1, i64 1
br label %17
17: ; preds = %17, %14
%18 = phi i64 [ 1, %14 ], [ %42, %17 ]
%19 = phi double [ %8, %14 ], [ %41, %17 ]
%20 = phi double [ %8, %14 ], [ %39, %17 ]
%21 = phi i64 [ 0, %14 ], [ %43, %17 ]
%22 = getelementptr inbounds i32, ptr %1, i64 %18
%23 = load i32, ptr %22, align 4, !tbaa !5
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds double, ptr %2, i64 %24
%26 = load double, ptr %25, align 8, !tbaa !9
%27 = tail call double @llvm.fabs.f64(double %26)
%28 = fcmp olt double %27, %20
%29 = select i1 %28, double %27, double %20
%30 = fcmp ogt double %27, %19
%31 = select i1 %30, double %27, double %19
%32 = getelementptr i32, ptr %16, i64 %18
%33 = load i32, ptr %32, align 4, !tbaa !5
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double, ptr %2, i64 %34
%36 = load double, ptr %35, align 8, !tbaa !9
%37 = tail call double @llvm.fabs.f64(double %36)
%38 = fcmp olt double %37, %29
%39 = select i1 %38, double %37, double %29
%40 = fcmp ogt double %37, %31
%41 = select i1 %40, double %37, double %31
%42 = add nuw nsw i64 %18, 2
%43 = add i64 %21, 2
%44 = icmp eq i64 %43, %15
br i1 %44, label %45, label %17, !llvm.loop !11
45: ; preds = %17, %10
%46 = phi double [ undef, %10 ], [ %39, %17 ]
%47 = phi double [ undef, %10 ], [ %41, %17 ]
%48 = phi i64 [ 1, %10 ], [ %42, %17 ]
%49 = phi double [ %8, %10 ], [ %41, %17 ]
%50 = phi double [ %8, %10 ], [ %39, %17 ]
%51 = icmp eq i64 %12, 0
br i1 %51, label %63, label %52
52: ; preds = %45
%53 = getelementptr inbounds i32, ptr %1, i64 %48
%54 = load i32, ptr %53, align 4, !tbaa !5
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds double, ptr %2, i64 %55
%57 = load double, ptr %56, align 8, !tbaa !9
%58 = tail call double @llvm.fabs.f64(double %57)
%59 = fcmp olt double %58, %50
%60 = select i1 %59, double %58, double %50
%61 = fcmp ogt double %58, %49
%62 = select i1 %61, double %58, double %49
br label %63
63: ; preds = %52, %45, %3
%64 = phi double [ %8, %3 ], [ %46, %45 ], [ %60, %52 ]
%65 = phi double [ %8, %3 ], [ %47, %45 ], [ %62, %52 ]
%66 = fsub double %65, %64
%67 = fdiv double %66, %65
%68 = fcmp olt double %67, 1.000000e-04
%69 = zext i1 %68 to i32
ret i32 %69
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
attributes #0 = { nofree norecurse nosync nounwind 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" }
attributes #1 = { mustprogress 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, !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 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_remez.c_isDone.c'
source_filename = "AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_remez.c_isDone.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 @isDone], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(argmem: read) uwtable(sync)
define internal range(i32 0, 2) i32 @isDone(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i32, ptr %1, align 4, !tbaa !6
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds double, ptr %2, i64 %5
%7 = load double, ptr %6, align 8, !tbaa !10
%8 = tail call double @llvm.fabs.f64(double %7)
%9 = icmp slt i32 %0, 1
br i1 %9, label %29, label %10
10: ; preds = %3
%11 = add nuw i32 %0, 1
%12 = zext i32 %11 to i64
br label %13
13: ; preds = %10, %13
%14 = phi i64 [ 1, %10 ], [ %27, %13 ]
%15 = phi double [ %8, %10 ], [ %26, %13 ]
%16 = phi double [ %8, %10 ], [ %24, %13 ]
%17 = getelementptr inbounds i32, ptr %1, i64 %14
%18 = load i32, ptr %17, align 4, !tbaa !6
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds double, ptr %2, i64 %19
%21 = load double, ptr %20, align 8, !tbaa !10
%22 = tail call double @llvm.fabs.f64(double %21)
%23 = fcmp olt double %22, %16
%24 = select i1 %23, double %22, double %16
%25 = fcmp ogt double %22, %15
%26 = select i1 %25, double %22, double %15
%27 = add nuw nsw i64 %14, 1
%28 = icmp eq i64 %27, %12
br i1 %28, label %29, label %13, !llvm.loop !12
29: ; preds = %13, %3
%30 = phi double [ %8, %3 ], [ %24, %13 ]
%31 = phi double [ %8, %3 ], [ %26, %13 ]
%32 = fsub double %31, %30
%33 = fdiv double %32, %31
%34 = fcmp olt double %33, 1.000000e-04
%35 = zext i1 %34 to i32
ret i32 %35
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
attributes #0 = { nofree norecurse nosync nounwind ssp 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" }
attributes #1 = { mustprogress 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, !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 = !{!"double", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| Provenance_Cores_Atari800_atari800-src_extr_remez.c_isDone |
; ModuleID = 'AnghaBench/libuv/src/unix/extr_aix.c_uv__fs_event_close.c'
source_filename = "AnghaBench/libuv/src/unix/extr_aix.c_uv__fs_event_close.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 void @uv__fs_event_close(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
%2 = tail call i32 (...) @UNREACHABLE() #2
ret void
}
declare i32 @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)"}
| ; ModuleID = 'AnghaBench/libuv/src/unix/extr_aix.c_uv__fs_event_close.c'
source_filename = "AnghaBench/libuv/src/unix/extr_aix.c_uv__fs_event_close.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 @uv__fs_event_close(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
%2 = tail call i32 @UNREACHABLE() #2
ret void
}
declare i32 @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)"}
| libuv_src_unix_extr_aix.c_uv__fs_event_close |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dp.c_intel_pps_readout_hw_state.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dp.c_intel_pps_readout_hw_state.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.pps_registers = type { i32, i32, i32, i32 }
%struct.edp_power_seq = type { i32, i32, i32, i32, i32 }
@PANEL_POWER_UP_DELAY_MASK = dso_local local_unnamed_addr global i32 0, align 4
@PANEL_LIGHT_ON_DELAY_MASK = dso_local local_unnamed_addr global i32 0, align 4
@PANEL_LIGHT_OFF_DELAY_MASK = dso_local local_unnamed_addr global i32 0, align 4
@PANEL_POWER_DOWN_DELAY_MASK = dso_local local_unnamed_addr global i32 0, align 4
@PANEL_POWER_CYCLE_DELAY_MASK = dso_local local_unnamed_addr global i32 0, align 4
@BXT_POWER_CYCLE_DELAY_MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @intel_pps_readout_hw_state], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @intel_pps_readout_hw_state(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = alloca %struct.pps_registers, align 4
%4 = tail call ptr @dp_to_i915(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
%5 = call i32 @intel_pps_get_registers(ptr noundef %0, ptr noundef nonnull %3) #3
%6 = call i32 @ironlake_get_pp_control(ptr noundef %0) #3
%7 = call i32 @HAS_DDI(ptr noundef %4) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %2
%10 = getelementptr inbounds %struct.pps_registers, ptr %3, i64 0, i32 3
%11 = load i32, ptr %10, align 4, !tbaa !5
%12 = call i32 @I915_WRITE(i32 noundef %11, i32 noundef %6) #3
br label %13
13: ; preds = %9, %2
%14 = getelementptr inbounds %struct.pps_registers, ptr %3, i64 0, i32 2
%15 = load i32, ptr %14, align 4, !tbaa !10
%16 = call i32 @I915_READ(i32 noundef %15) #3
%17 = getelementptr inbounds %struct.pps_registers, ptr %3, i64 0, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !11
%19 = call i32 @I915_READ(i32 noundef %18) #3
%20 = load i32, ptr @PANEL_POWER_UP_DELAY_MASK, align 4, !tbaa !12
%21 = call i32 @REG_FIELD_GET(i32 noundef %20, i32 noundef %16) #3
store i32 %21, ptr %1, align 4, !tbaa !13
%22 = load i32, ptr @PANEL_LIGHT_ON_DELAY_MASK, align 4, !tbaa !12
%23 = call i32 @REG_FIELD_GET(i32 noundef %22, i32 noundef %16) #3
%24 = getelementptr inbounds %struct.edp_power_seq, ptr %1, i64 0, i32 1
store i32 %23, ptr %24, align 4, !tbaa !15
%25 = load i32, ptr @PANEL_LIGHT_OFF_DELAY_MASK, align 4, !tbaa !12
%26 = call i32 @REG_FIELD_GET(i32 noundef %25, i32 noundef %19) #3
%27 = getelementptr inbounds %struct.edp_power_seq, ptr %1, i64 0, i32 2
store i32 %26, ptr %27, align 4, !tbaa !16
%28 = load i32, ptr @PANEL_POWER_DOWN_DELAY_MASK, align 4, !tbaa !12
%29 = call i32 @REG_FIELD_GET(i32 noundef %28, i32 noundef %19) #3
%30 = getelementptr inbounds %struct.edp_power_seq, ptr %1, i64 0, i32 3
store i32 %29, ptr %30, align 4, !tbaa !17
%31 = load i32, ptr %3, align 4, !tbaa !18
%32 = call i64 @i915_mmio_reg_valid(i32 noundef %31) #3
%33 = icmp eq i64 %32, 0
br i1 %33, label %37, label %34
34: ; preds = %13
%35 = load i32, ptr %3, align 4, !tbaa !18
%36 = call i32 @I915_READ(i32 noundef %35) #3
br label %37
37: ; preds = %13, %34
%38 = phi ptr [ @PANEL_POWER_CYCLE_DELAY_MASK, %34 ], [ @BXT_POWER_CYCLE_DELAY_MASK, %13 ]
%39 = phi i32 [ %36, %34 ], [ %6, %13 ]
%40 = load i32, ptr %38, align 4, !tbaa !12
%41 = call i32 @REG_FIELD_GET(i32 noundef %40, i32 noundef %39) #3
%42 = mul nsw i32 %41, 1000
%43 = getelementptr inbounds %struct.edp_power_seq, ptr %1, i64 0, i32 4
store i32 %42, ptr %43, align 4
call void @llvm.lifetime.end.p0(i64 16, 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 @dp_to_i915(ptr noundef) local_unnamed_addr #2
declare i32 @intel_pps_get_registers(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ironlake_get_pp_control(ptr noundef) local_unnamed_addr #2
declare i32 @HAS_DDI(ptr noundef) local_unnamed_addr #2
declare i32 @I915_WRITE(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @I915_READ(i32 noundef) local_unnamed_addr #2
declare i32 @REG_FIELD_GET(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @i915_mmio_reg_valid(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 12}
!6 = !{!"pps_registers", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!6, !7, i64 4}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"edp_power_seq", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!15 = !{!14, !7, i64 4}
!16 = !{!14, !7, i64 8}
!17 = !{!14, !7, i64 12}
!18 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dp.c_intel_pps_readout_hw_state.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dp.c_intel_pps_readout_hw_state.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.pps_registers = type { i32, i32, i32, i32 }
@PANEL_POWER_UP_DELAY_MASK = common local_unnamed_addr global i32 0, align 4
@PANEL_LIGHT_ON_DELAY_MASK = common local_unnamed_addr global i32 0, align 4
@PANEL_LIGHT_OFF_DELAY_MASK = common local_unnamed_addr global i32 0, align 4
@PANEL_POWER_DOWN_DELAY_MASK = common local_unnamed_addr global i32 0, align 4
@PANEL_POWER_CYCLE_DELAY_MASK = common local_unnamed_addr global i32 0, align 4
@BXT_POWER_CYCLE_DELAY_MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @intel_pps_readout_hw_state], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @intel_pps_readout_hw_state(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = alloca %struct.pps_registers, align 4
%4 = tail call ptr @dp_to_i915(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
%5 = call i32 @intel_pps_get_registers(ptr noundef %0, ptr noundef nonnull %3) #3
%6 = call i32 @ironlake_get_pp_control(ptr noundef %0) #3
%7 = call i32 @HAS_DDI(ptr noundef %4) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %2
%10 = getelementptr inbounds i8, ptr %3, i64 12
%11 = load i32, ptr %10, align 4, !tbaa !6
%12 = call i32 @I915_WRITE(i32 noundef %11, i32 noundef %6) #3
br label %13
13: ; preds = %9, %2
%14 = getelementptr inbounds i8, ptr %3, i64 8
%15 = load i32, ptr %14, align 4, !tbaa !11
%16 = call i32 @I915_READ(i32 noundef %15) #3
%17 = getelementptr inbounds i8, ptr %3, i64 4
%18 = load i32, ptr %17, align 4, !tbaa !12
%19 = call i32 @I915_READ(i32 noundef %18) #3
%20 = load i32, ptr @PANEL_POWER_UP_DELAY_MASK, align 4, !tbaa !13
%21 = call i32 @REG_FIELD_GET(i32 noundef %20, i32 noundef %16) #3
store i32 %21, ptr %1, align 4, !tbaa !14
%22 = load i32, ptr @PANEL_LIGHT_ON_DELAY_MASK, align 4, !tbaa !13
%23 = call i32 @REG_FIELD_GET(i32 noundef %22, i32 noundef %16) #3
%24 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %23, ptr %24, align 4, !tbaa !16
%25 = load i32, ptr @PANEL_LIGHT_OFF_DELAY_MASK, align 4, !tbaa !13
%26 = call i32 @REG_FIELD_GET(i32 noundef %25, i32 noundef %19) #3
%27 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %26, ptr %27, align 4, !tbaa !17
%28 = load i32, ptr @PANEL_POWER_DOWN_DELAY_MASK, align 4, !tbaa !13
%29 = call i32 @REG_FIELD_GET(i32 noundef %28, i32 noundef %19) #3
%30 = getelementptr inbounds i8, ptr %1, i64 12
store i32 %29, ptr %30, align 4, !tbaa !18
%31 = load i32, ptr %3, align 4, !tbaa !19
%32 = call i64 @i915_mmio_reg_valid(i32 noundef %31) #3
%33 = icmp eq i64 %32, 0
br i1 %33, label %37, label %34
34: ; preds = %13
%35 = load i32, ptr %3, align 4, !tbaa !19
%36 = call i32 @I915_READ(i32 noundef %35) #3
br label %37
37: ; preds = %13, %34
%38 = phi ptr [ @PANEL_POWER_CYCLE_DELAY_MASK, %34 ], [ @BXT_POWER_CYCLE_DELAY_MASK, %13 ]
%39 = phi i32 [ %36, %34 ], [ %6, %13 ]
%40 = load i32, ptr %38, align 4, !tbaa !13
%41 = call i32 @REG_FIELD_GET(i32 noundef %40, i32 noundef %39) #3
%42 = mul nsw i32 %41, 1000
%43 = getelementptr inbounds i8, ptr %1, i64 16
store i32 %42, ptr %43, align 4
call void @llvm.lifetime.end.p0(i64 16, 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 @dp_to_i915(ptr noundef) local_unnamed_addr #2
declare i32 @intel_pps_get_registers(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ironlake_get_pp_control(ptr noundef) local_unnamed_addr #2
declare i32 @HAS_DDI(ptr noundef) local_unnamed_addr #2
declare i32 @I915_WRITE(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @I915_READ(i32 noundef) local_unnamed_addr #2
declare i32 @REG_FIELD_GET(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @i915_mmio_reg_valid(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 12}
!7 = !{!"pps_registers", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
!12 = !{!7, !8, i64 4}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"edp_power_seq", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16}
!16 = !{!15, !8, i64 4}
!17 = !{!15, !8, i64 8}
!18 = !{!15, !8, i64 12}
!19 = !{!7, !8, i64 0}
| linux_drivers_gpu_drm_i915_display_extr_intel_dp.c_intel_pps_readout_hw_state |
; ModuleID = 'AnghaBench/masscan/src/extr_ranges6.c_LESSEQ.c'
source_filename = "AnghaBench/masscan/src/extr_ranges6.c_LESSEQ.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 @LESSEQ], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal i32 @LESSEQ(i64 %0, i64 %1, i64 %2, i64 %3) #0 {
%5 = icmp sle i64 %0, %2
%6 = zext i1 %5 to i32
ret i32 %6
}
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/masscan/src/extr_ranges6.c_LESSEQ.c'
source_filename = "AnghaBench/masscan/src/extr_ranges6.c_LESSEQ.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 @LESSEQ], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal range(i32 0, 2) i32 @LESSEQ([2 x i64] %0, [2 x i64] %1) #0 {
%3 = extractvalue [2 x i64] %0, 0
%4 = extractvalue [2 x i64] %1, 0
%5 = icmp sle i64 %3, %4
%6 = zext i1 %5 to i32
ret i32 %6
}
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)"}
| masscan_src_extr_ranges6.c_LESSEQ |
; ModuleID = 'AnghaBench/linux/drivers/input/touchscreen/extr_of_touchscreen.c_touchscreen_set_mt_pos.c'
source_filename = "AnghaBench/linux/drivers/input/touchscreen/extr_of_touchscreen.c_touchscreen_set_mt_pos.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.input_mt_pos = type { i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @touchscreen_set_mt_pos(ptr nocapture noundef writeonly %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %2, ptr %5, align 4, !tbaa !5
store i32 %3, ptr %6, align 4, !tbaa !5
%7 = call i32 @touchscreen_apply_prop_to_x_y(ptr noundef %1, ptr noundef nonnull %5, ptr noundef nonnull %6) #2
%8 = load i32, ptr %5, align 4, !tbaa !5
store i32 %8, ptr %0, align 4, !tbaa !9
%9 = load i32, ptr %6, align 4, !tbaa !5
%10 = getelementptr inbounds %struct.input_mt_pos, ptr %0, i64 0, i32 1
store i32 %9, ptr %10, align 4, !tbaa !11
ret void
}
declare i32 @touchscreen_apply_prop_to_x_y(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, !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 = !{!"input_mt_pos", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/input/touchscreen/extr_of_touchscreen.c_touchscreen_set_mt_pos.c'
source_filename = "AnghaBench/linux/drivers/input/touchscreen/extr_of_touchscreen.c_touchscreen_set_mt_pos.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 @touchscreen_set_mt_pos(ptr nocapture noundef writeonly %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %2, ptr %5, align 4, !tbaa !6
store i32 %3, ptr %6, align 4, !tbaa !6
%7 = call i32 @touchscreen_apply_prop_to_x_y(ptr noundef %1, ptr noundef nonnull %5, ptr noundef nonnull %6) #2
%8 = load i32, ptr %5, align 4, !tbaa !6
store i32 %8, ptr %0, align 4, !tbaa !10
%9 = load i32, ptr %6, align 4, !tbaa !6
%10 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %9, ptr %10, align 4, !tbaa !12
ret void
}
declare i32 @touchscreen_apply_prop_to_x_y(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, !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 = !{!"input_mt_pos", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 4}
| linux_drivers_input_touchscreen_extr_of_touchscreen.c_touchscreen_set_mt_pos |
; ModuleID = 'AnghaBench/freebsd/sys/arm/nvidia/extr_as3722.c_as3722_intr.c'
source_filename = "AnghaBench/freebsd/sys/arm/nvidia/extr_as3722.c_as3722_intr.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 @as3722_intr], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @as3722_intr(ptr nocapture readnone %0) #0 {
ret void
}
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/sys/arm/nvidia/extr_as3722.c_as3722_intr.c'
source_filename = "AnghaBench/freebsd/sys/arm/nvidia/extr_as3722.c_as3722_intr.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 @as3722_intr], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @as3722_intr(ptr nocapture readnone %0) #0 {
ret void
}
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_sys_arm_nvidia_extr_as3722.c_as3722_intr |
; ModuleID = 'AnghaBench/freebsd/usr.bin/jot/extr_jot.c_getprec.c'
source_filename = "AnghaBench/freebsd/usr.bin/jot/extr_jot.c_getprec.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 @getprec], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @getprec(ptr noundef %0) #0 {
br label %2
2: ; preds = %5, %1
%3 = phi ptr [ %0, %1 ], [ %6, %5 ]
%4 = load i8, ptr %3, align 1, !tbaa !5
switch i8 %4, label %5 [
i8 0, label %26
i8 46, label %7
]
5: ; preds = %2
%6 = getelementptr inbounds i8, ptr %3, i64 1
br label %2, !llvm.loop !8
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %3, i64 1
%9 = load i8, ptr %8, align 1, !tbaa !5
%10 = icmp eq i8 %9, 0
br i1 %10, label %20, label %11
11: ; preds = %7, %16
%12 = phi i8 [ %18, %16 ], [ %9, %7 ]
%13 = phi ptr [ %17, %16 ], [ %8, %7 ]
%14 = tail call i32 @isdigit(i8 noundef zeroext %12) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %20, label %16
16: ; preds = %11
%17 = getelementptr inbounds i8, ptr %13, i64 1
%18 = load i8, ptr %17, align 1, !tbaa !5
%19 = icmp eq i8 %18, 0
br i1 %19, label %20, label %11, !llvm.loop !10
20: ; preds = %16, %11, %7
%21 = phi ptr [ %8, %7 ], [ %13, %11 ], [ %17, %16 ]
%22 = ptrtoint ptr %21 to i64
%23 = ptrtoint ptr %8 to i64
%24 = sub i64 %22, %23
%25 = trunc i64 %24 to i32
br label %26
26: ; preds = %2, %20
%27 = phi i32 [ %25, %20 ], [ 0, %2 ]
ret i32 %27
}
declare i32 @isdigit(i8 noundef zeroext) 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9}
| ; ModuleID = 'AnghaBench/freebsd/usr.bin/jot/extr_jot.c_getprec.c'
source_filename = "AnghaBench/freebsd/usr.bin/jot/extr_jot.c_getprec.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 @getprec], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @getprec(ptr noundef %0) #0 {
br label %2
2: ; preds = %5, %1
%3 = phi ptr [ %0, %1 ], [ %6, %5 ]
%4 = load i8, ptr %3, align 1, !tbaa !6
switch i8 %4, label %5 [
i8 0, label %26
i8 46, label %7
]
5: ; preds = %2
%6 = getelementptr inbounds i8, ptr %3, i64 1
br label %2, !llvm.loop !9
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %3, i64 1
%9 = load i8, ptr %8, align 1, !tbaa !6
%10 = icmp eq i8 %9, 0
br i1 %10, label %20, label %11
11: ; preds = %7, %16
%12 = phi i8 [ %18, %16 ], [ %9, %7 ]
%13 = phi ptr [ %17, %16 ], [ %8, %7 ]
%14 = tail call i32 @isdigit(i8 noundef zeroext %12) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %20, label %16
16: ; preds = %11
%17 = getelementptr inbounds i8, ptr %13, i64 1
%18 = load i8, ptr %17, align 1, !tbaa !6
%19 = icmp eq i8 %18, 0
br i1 %19, label %20, label %11, !llvm.loop !11
20: ; preds = %16, %11, %7
%21 = phi ptr [ %8, %7 ], [ %13, %11 ], [ %17, %16 ]
%22 = ptrtoint ptr %21 to i64
%23 = ptrtoint ptr %8 to i64
%24 = sub i64 %22, %23
%25 = trunc i64 %24 to i32
br label %26
26: ; preds = %2, %20
%27 = phi i32 [ %25, %20 ], [ 0, %2 ]
ret i32 %27
}
declare i32 @isdigit(i8 noundef zeroext) 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 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
| freebsd_usr.bin_jot_extr_jot.c_getprec |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/xen/extr_enlighten.c_xen_read_cr0.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/xen/extr_enlighten.c_xen_read_cr0.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"
@xen_cr0_value = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @xen_read_cr0], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @xen_read_cr0() #0 {
%1 = load i32, ptr @xen_cr0_value, align 4, !tbaa !5
%2 = tail call i64 @percpu_read(i32 noundef %1) #2
%3 = icmp eq i64 %2, 0
%4 = zext i1 %3 to i32
%5 = tail call i64 @unlikely(i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %0
%8 = tail call i64 (...) @native_read_cr0() #2
%9 = load i32, ptr @xen_cr0_value, align 4, !tbaa !5
%10 = tail call i32 @percpu_write(i32 noundef %9, i64 noundef %8) #2
br label %11
11: ; preds = %7, %0
%12 = phi i64 [ %8, %7 ], [ %2, %0 ]
ret i64 %12
}
declare i64 @percpu_read(i32 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i64 @native_read_cr0(...) local_unnamed_addr #1
declare i32 @percpu_write(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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/xen/extr_enlighten.c_xen_read_cr0.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/xen/extr_enlighten.c_xen_read_cr0.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@xen_cr0_value = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @xen_read_cr0], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @xen_read_cr0() #0 {
%1 = load i32, ptr @xen_cr0_value, align 4, !tbaa !6
%2 = tail call i64 @percpu_read(i32 noundef %1) #2
%3 = icmp eq i64 %2, 0
%4 = zext i1 %3 to i32
%5 = tail call i64 @unlikely(i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %0
%8 = tail call i64 @native_read_cr0() #2
%9 = load i32, ptr @xen_cr0_value, align 4, !tbaa !6
%10 = tail call i32 @percpu_write(i32 noundef %9, i64 noundef %8) #2
br label %11
11: ; preds = %7, %0
%12 = phi i64 [ %8, %7 ], [ %2, %0 ]
ret i64 %12
}
declare i64 @percpu_read(i32 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i64 @native_read_cr0(...) local_unnamed_addr #1
declare i32 @percpu_write(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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_arch_x86_xen_extr_enlighten.c_xen_read_cr0 |
; ModuleID = 'AnghaBench/mpv/filters/extr_f_output_chain.c_process_user.c'
source_filename = "AnghaBench/mpv/filters/extr_f_output_chain.c_process_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"
%struct.mp_frame = type { i32 }
%struct.mp_filter_command = type { i64, i32 }
%struct.mp_filter = type { ptr, ptr }
%struct.mp_user_filter = type { ptr, ptr, i32, i32, double, double, i64, ptr, ptr }
%struct.chain = type { ptr, i32, %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i32 }
@.str = private unnamed_addr constant [77 x i8] c"Cannot convert decoder/filter output to any format supported by the output.\0A\00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c"Disabling filter %s because it has failed.\0A\00", align 1
@MP_EOF_FRAME = dso_local local_unnamed_addr global %struct.mp_frame zeroinitializer, align 4
@MP_NOPTS_VALUE = dso_local local_unnamed_addr global double 0.000000e+00, align 8
@MP_FILTER_COMMAND_IS_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [16 x i8] c"[%s] (%sabled)\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"en\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"dis\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @process_user], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @process_user(ptr noundef %0) #0 {
%2 = alloca %struct.mp_filter_command, align 8
%3 = getelementptr inbounds %struct.mp_filter, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.mp_user_filter, ptr %4, i64 0, i32 8
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = getelementptr inbounds %struct.mp_user_filter, ptr %4, i64 0, i32 7
%8 = load ptr, ptr %7, align 8, !tbaa !15
%9 = tail call i32 @mp_filter_set_error_handler(ptr noundef %8, ptr noundef %0) #3
%10 = load ptr, ptr %4, align 8, !tbaa !16
%11 = icmp eq ptr %10, null
%12 = getelementptr inbounds %struct.mp_user_filter, ptr %4, i64 0, i32 1
%13 = load ptr, ptr %12, align 8, !tbaa !17
%14 = select i1 %11, ptr %13, ptr %10
%15 = getelementptr inbounds %struct.mp_user_filter, ptr %4, i64 0, i32 1
%16 = tail call i32 @assert(ptr noundef %13) #3
%17 = getelementptr inbounds %struct.mp_user_filter, ptr %4, i64 0, i32 2
%18 = load i32, ptr %17, align 8, !tbaa !18
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %41
20: ; preds = %1
%21 = load ptr, ptr %7, align 8, !tbaa !15
%22 = tail call i64 @mp_filter_has_failed(ptr noundef %21) #3
%23 = icmp eq i64 %22, 0
br i1 %23, label %38, label %24
24: ; preds = %20
%25 = load ptr, ptr %6, align 8, !tbaa !19
%26 = icmp eq ptr %4, %25
br i1 %26, label %27, label %33
27: ; preds = %24
%28 = tail call i32 @MP_FATAL(ptr noundef nonnull %6, ptr noundef nonnull @.str) #3
%29 = getelementptr inbounds %struct.chain, ptr %6, i64 0, i32 2
store i32 1, ptr %29, align 4, !tbaa !22
%30 = getelementptr inbounds %struct.chain, ptr %6, i64 0, i32 1
%31 = load i32, ptr %30, align 8, !tbaa !23
%32 = tail call i32 @mp_filter_wakeup(i32 noundef %31) #3
br label %37
33: ; preds = %24
%34 = tail call i32 @MP_ERR(ptr noundef nonnull %6, ptr noundef nonnull @.str.1, ptr noundef %14) #3
%35 = load ptr, ptr %7, align 8, !tbaa !15
%36 = tail call i32 @mp_filter_reset(ptr noundef %35) #3
br label %37
37: ; preds = %33, %27
store i32 1, ptr %17, align 8, !tbaa !18
br label %41
38: ; preds = %20
%39 = load i32, ptr %17, align 8, !tbaa !18
%40 = icmp eq i32 %39, 0
br i1 %40, label %64, label %41
41: ; preds = %1, %37, %38
%42 = load ptr, ptr %6, align 8, !tbaa !19
%43 = icmp eq ptr %4, %42
%44 = load ptr, ptr %0, align 8, !tbaa !24
%45 = getelementptr inbounds i32, ptr %44, i64 1
%46 = load i32, ptr %45, align 4, !tbaa !25
br i1 %43, label %47, label %61
47: ; preds = %41
%48 = tail call i64 @mp_pin_in_needs_data(i32 noundef %46) #3
%49 = icmp eq i64 %48, 0
br i1 %49, label %129, label %50
50: ; preds = %47
%51 = getelementptr inbounds %struct.mp_user_filter, ptr %4, i64 0, i32 3
%52 = load i32, ptr %51, align 4, !tbaa !26
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %60
54: ; preds = %50
%55 = load ptr, ptr %0, align 8, !tbaa !24
%56 = getelementptr inbounds i32, ptr %55, i64 1
%57 = load i32, ptr %56, align 4, !tbaa !25
%58 = load i32, ptr @MP_EOF_FRAME, align 4
%59 = tail call i32 @mp_pin_in_write(i32 noundef %57, i32 %58) #3
br label %60
60: ; preds = %54, %50
store i32 1, ptr %51, align 4, !tbaa !26
br label %129
61: ; preds = %41
%62 = load i32, ptr %44, align 4, !tbaa !25
%63 = tail call i32 @mp_pin_transfer_data(i32 noundef %46, i32 noundef %62) #3
br label %129
64: ; preds = %38
%65 = load ptr, ptr %7, align 8, !tbaa !15
%66 = load ptr, ptr %65, align 8, !tbaa !27
%67 = load i32, ptr %66, align 4, !tbaa !25
%68 = load ptr, ptr %0, align 8, !tbaa !24
%69 = load i32, ptr %68, align 4, !tbaa !25
%70 = tail call i64 @mp_pin_can_transfer_data(i32 noundef %67, i32 noundef %69) #3
%71 = icmp eq i64 %70, 0
br i1 %71, label %87, label %72
72: ; preds = %64
%73 = load ptr, ptr %0, align 8, !tbaa !24
%74 = load i32, ptr %73, align 4, !tbaa !25
%75 = tail call i32 @mp_pin_out_read(i32 noundef %74) #3
%76 = tail call i32 @check_in_format_change(ptr noundef nonnull %4, i32 %75) #3
%77 = tail call double @mp_frame_get_pts(i32 %75) #3
%78 = load double, ptr @MP_NOPTS_VALUE, align 8, !tbaa !29
%79 = fcmp une double %77, %78
br i1 %79, label %80, label %82
80: ; preds = %72
%81 = getelementptr inbounds %struct.mp_user_filter, ptr %4, i64 0, i32 4
store double %77, ptr %81, align 8, !tbaa !30
br label %82
82: ; preds = %80, %72
%83 = load ptr, ptr %7, align 8, !tbaa !15
%84 = load ptr, ptr %83, align 8, !tbaa !27
%85 = load i32, ptr %84, align 4, !tbaa !25
%86 = tail call i32 @mp_pin_in_write(i32 noundef %85, i32 %75) #3
br label %87
87: ; preds = %82, %64
%88 = load ptr, ptr %0, align 8, !tbaa !24
%89 = getelementptr inbounds i32, ptr %88, i64 1
%90 = load i32, ptr %89, align 4, !tbaa !25
%91 = load ptr, ptr %7, align 8, !tbaa !15
%92 = load ptr, ptr %91, align 8, !tbaa !27
%93 = getelementptr inbounds i32, ptr %92, i64 1
%94 = load i32, ptr %93, align 4, !tbaa !25
%95 = tail call i64 @mp_pin_can_transfer_data(i32 noundef %90, i32 noundef %94) #3
%96 = icmp eq i64 %95, 0
br i1 %96, label %129, label %97
97: ; preds = %87
%98 = load ptr, ptr %7, align 8, !tbaa !15
%99 = load ptr, ptr %98, align 8, !tbaa !27
%100 = getelementptr inbounds i32, ptr %99, i64 1
%101 = load i32, ptr %100, align 4, !tbaa !25
%102 = tail call i32 @mp_pin_out_read(i32 noundef %101) #3
%103 = tail call double @mp_frame_get_pts(i32 %102) #3
%104 = load double, ptr @MP_NOPTS_VALUE, align 8, !tbaa !29
%105 = fcmp une double %103, %104
br i1 %105, label %106, label %108
106: ; preds = %97
%107 = getelementptr inbounds %struct.mp_user_filter, ptr %4, i64 0, i32 5
store double %103, ptr %107, align 8, !tbaa !31
br label %108
108: ; preds = %106, %97
%109 = load ptr, ptr %0, align 8, !tbaa !24
%110 = getelementptr inbounds i32, ptr %109, i64 1
%111 = load i32, ptr %110, align 4, !tbaa !25
%112 = tail call i32 @mp_pin_in_write(i32 noundef %111, i32 %102) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3
store i64 0, ptr %2, align 8, !tbaa !32
%113 = getelementptr inbounds %struct.mp_filter_command, ptr %2, i64 0, i32 1
%114 = load i32, ptr @MP_FILTER_COMMAND_IS_ACTIVE, align 4, !tbaa !25
store i32 %114, ptr %113, align 8, !tbaa !34
%115 = load ptr, ptr %7, align 8, !tbaa !15
%116 = call i64 @mp_filter_command(ptr noundef %115, ptr noundef nonnull %2) #3
%117 = icmp eq i64 %116, 0
br i1 %117, label %128, label %118
118: ; preds = %108
%119 = getelementptr inbounds %struct.mp_user_filter, ptr %4, i64 0, i32 6
%120 = load i64, ptr %119, align 8, !tbaa !35
%121 = load i64, ptr %2, align 8, !tbaa !32
%122 = icmp eq i64 %120, %121
br i1 %122, label %128, label %123
123: ; preds = %118
store i64 %121, ptr %119, align 8, !tbaa !35
%124 = load ptr, ptr %15, align 8, !tbaa !17
%125 = icmp eq i64 %121, 0
%126 = select i1 %125, ptr @.str.4, ptr @.str.3
%127 = call i32 @MP_VERBOSE(ptr noundef %6, ptr noundef nonnull @.str.2, ptr noundef %124, ptr noundef nonnull %126) #3
br label %128
128: ; preds = %123, %118, %108
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3
br label %129
129: ; preds = %87, %128, %47, %60, %61
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 @mp_filter_set_error_handler(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @assert(ptr noundef) local_unnamed_addr #2
declare i64 @mp_filter_has_failed(ptr noundef) local_unnamed_addr #2
declare i32 @MP_FATAL(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mp_filter_wakeup(i32 noundef) local_unnamed_addr #2
declare i32 @MP_ERR(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mp_filter_reset(ptr noundef) local_unnamed_addr #2
declare i64 @mp_pin_in_needs_data(i32 noundef) local_unnamed_addr #2
declare i32 @mp_pin_in_write(i32 noundef, i32) local_unnamed_addr #2
declare i32 @mp_pin_transfer_data(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @mp_pin_can_transfer_data(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mp_pin_out_read(i32 noundef) local_unnamed_addr #2
declare i32 @check_in_format_change(ptr noundef, i32) local_unnamed_addr #2
declare double @mp_frame_get_pts(i32) 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 @mp_filter_command(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @MP_VERBOSE(ptr noundef, ptr noundef, ptr 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 = { 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 = !{!"mp_filter", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 56}
!11 = !{!"mp_user_filter", !7, i64 0, !7, i64 8, !12, i64 16, !12, i64 20, !13, i64 24, !13, i64 32, !14, i64 40, !7, i64 48, !7, i64 56}
!12 = !{!"int", !8, i64 0}
!13 = !{!"double", !8, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!11, !7, i64 48}
!16 = !{!11, !7, i64 0}
!17 = !{!11, !7, i64 8}
!18 = !{!11, !12, i64 16}
!19 = !{!20, !7, i64 0}
!20 = !{!"chain", !7, i64 0, !12, i64 8, !21, i64 12}
!21 = !{!"TYPE_6__", !12, i64 0}
!22 = !{!20, !12, i64 12}
!23 = !{!20, !12, i64 8}
!24 = !{!6, !7, i64 0}
!25 = !{!12, !12, i64 0}
!26 = !{!11, !12, i64 20}
!27 = !{!28, !7, i64 0}
!28 = !{!"TYPE_7__", !7, i64 0}
!29 = !{!13, !13, i64 0}
!30 = !{!11, !13, i64 24}
!31 = !{!11, !13, i64 32}
!32 = !{!33, !14, i64 0}
!33 = !{!"mp_filter_command", !14, i64 0, !12, i64 8}
!34 = !{!33, !12, i64 8}
!35 = !{!11, !14, i64 40}
| ; ModuleID = 'AnghaBench/mpv/filters/extr_f_output_chain.c_process_user.c'
source_filename = "AnghaBench/mpv/filters/extr_f_output_chain.c_process_user.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.mp_frame = type { i32 }
%struct.mp_filter_command = type { i64, i32 }
@.str = private unnamed_addr constant [77 x i8] c"Cannot convert decoder/filter output to any format supported by the output.\0A\00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c"Disabling filter %s because it has failed.\0A\00", align 1
@MP_EOF_FRAME = common local_unnamed_addr global %struct.mp_frame zeroinitializer, align 4
@MP_NOPTS_VALUE = common local_unnamed_addr global double 0.000000e+00, align 8
@MP_FILTER_COMMAND_IS_ACTIVE = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [16 x i8] c"[%s] (%sabled)\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"en\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"dis\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @process_user], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @process_user(ptr noundef %0) #0 {
%2 = alloca %struct.mp_filter_command, align 8
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %4, i64 56
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = getelementptr inbounds i8, ptr %4, i64 48
%8 = load ptr, ptr %7, align 8, !tbaa !16
%9 = tail call i32 @mp_filter_set_error_handler(ptr noundef %8, ptr noundef %0) #3
%10 = load ptr, ptr %4, align 8, !tbaa !17
%11 = icmp eq ptr %10, null
%12 = getelementptr inbounds i8, ptr %4, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !18
%14 = select i1 %11, ptr %13, ptr %10
%15 = tail call i32 @assert(ptr noundef %13) #3
%16 = getelementptr inbounds i8, ptr %4, i64 16
%17 = load i32, ptr %16, align 8, !tbaa !19
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %40
19: ; preds = %1
%20 = load ptr, ptr %7, align 8, !tbaa !16
%21 = tail call i64 @mp_filter_has_failed(ptr noundef %20) #3
%22 = icmp eq i64 %21, 0
br i1 %22, label %37, label %23
23: ; preds = %19
%24 = load ptr, ptr %6, align 8, !tbaa !20
%25 = icmp eq ptr %4, %24
br i1 %25, label %26, label %32
26: ; preds = %23
%27 = tail call i32 @MP_FATAL(ptr noundef nonnull %6, ptr noundef nonnull @.str) #3
%28 = getelementptr inbounds i8, ptr %6, i64 12
store i32 1, ptr %28, align 4, !tbaa !23
%29 = getelementptr inbounds i8, ptr %6, i64 8
%30 = load i32, ptr %29, align 8, !tbaa !24
%31 = tail call i32 @mp_filter_wakeup(i32 noundef %30) #3
br label %36
32: ; preds = %23
%33 = tail call i32 @MP_ERR(ptr noundef nonnull %6, ptr noundef nonnull @.str.1, ptr noundef %14) #3
%34 = load ptr, ptr %7, align 8, !tbaa !16
%35 = tail call i32 @mp_filter_reset(ptr noundef %34) #3
br label %36
36: ; preds = %32, %26
store i32 1, ptr %16, align 8, !tbaa !19
br label %40
37: ; preds = %19
%38 = load i32, ptr %16, align 8, !tbaa !19
%39 = icmp eq i32 %38, 0
br i1 %39, label %64, label %40
40: ; preds = %1, %36, %37
%41 = load ptr, ptr %6, align 8, !tbaa !20
%42 = icmp eq ptr %4, %41
%43 = load ptr, ptr %0, align 8, !tbaa !25
%44 = getelementptr inbounds i8, ptr %43, i64 4
%45 = load i32, ptr %44, align 4, !tbaa !26
br i1 %42, label %46, label %61
46: ; preds = %40
%47 = tail call i64 @mp_pin_in_needs_data(i32 noundef %45) #3
%48 = icmp eq i64 %47, 0
br i1 %48, label %131, label %49
49: ; preds = %46
%50 = getelementptr inbounds i8, ptr %4, i64 20
%51 = load i32, ptr %50, align 4, !tbaa !27
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %60
53: ; preds = %49
%54 = load ptr, ptr %0, align 8, !tbaa !25
%55 = getelementptr inbounds i8, ptr %54, i64 4
%56 = load i32, ptr %55, align 4, !tbaa !26
%57 = load i32, ptr @MP_EOF_FRAME, align 4
%58 = zext i32 %57 to i64
%59 = tail call i32 @mp_pin_in_write(i32 noundef %56, i64 %58) #3
br label %60
60: ; preds = %53, %49
store i32 1, ptr %50, align 4, !tbaa !27
br label %131
61: ; preds = %40
%62 = load i32, ptr %43, align 4, !tbaa !26
%63 = tail call i32 @mp_pin_transfer_data(i32 noundef %45, i32 noundef %62) #3
br label %131
64: ; preds = %37
%65 = load ptr, ptr %7, align 8, !tbaa !16
%66 = load ptr, ptr %65, align 8, !tbaa !28
%67 = load i32, ptr %66, align 4, !tbaa !26
%68 = load ptr, ptr %0, align 8, !tbaa !25
%69 = load i32, ptr %68, align 4, !tbaa !26
%70 = tail call i64 @mp_pin_can_transfer_data(i32 noundef %67, i32 noundef %69) #3
%71 = icmp eq i64 %70, 0
br i1 %71, label %88, label %72
72: ; preds = %64
%73 = load ptr, ptr %0, align 8, !tbaa !25
%74 = load i32, ptr %73, align 4, !tbaa !26
%75 = tail call i32 @mp_pin_out_read(i32 noundef %74) #3
%76 = zext i32 %75 to i64
%77 = tail call i32 @check_in_format_change(ptr noundef nonnull %4, i64 %76) #3
%78 = tail call double @mp_frame_get_pts(i64 %76) #3
%79 = load double, ptr @MP_NOPTS_VALUE, align 8, !tbaa !30
%80 = fcmp une double %78, %79
br i1 %80, label %81, label %83
81: ; preds = %72
%82 = getelementptr inbounds i8, ptr %4, i64 24
store double %78, ptr %82, align 8, !tbaa !31
br label %83
83: ; preds = %81, %72
%84 = load ptr, ptr %7, align 8, !tbaa !16
%85 = load ptr, ptr %84, align 8, !tbaa !28
%86 = load i32, ptr %85, align 4, !tbaa !26
%87 = tail call i32 @mp_pin_in_write(i32 noundef %86, i64 %76) #3
br label %88
88: ; preds = %83, %64
%89 = load ptr, ptr %0, align 8, !tbaa !25
%90 = getelementptr inbounds i8, ptr %89, i64 4
%91 = load i32, ptr %90, align 4, !tbaa !26
%92 = load ptr, ptr %7, align 8, !tbaa !16
%93 = load ptr, ptr %92, align 8, !tbaa !28
%94 = getelementptr inbounds i8, ptr %93, i64 4
%95 = load i32, ptr %94, align 4, !tbaa !26
%96 = tail call i64 @mp_pin_can_transfer_data(i32 noundef %91, i32 noundef %95) #3
%97 = icmp eq i64 %96, 0
br i1 %97, label %131, label %98
98: ; preds = %88
%99 = load ptr, ptr %7, align 8, !tbaa !16
%100 = load ptr, ptr %99, align 8, !tbaa !28
%101 = getelementptr inbounds i8, ptr %100, i64 4
%102 = load i32, ptr %101, align 4, !tbaa !26
%103 = tail call i32 @mp_pin_out_read(i32 noundef %102) #3
%104 = zext i32 %103 to i64
%105 = tail call double @mp_frame_get_pts(i64 %104) #3
%106 = load double, ptr @MP_NOPTS_VALUE, align 8, !tbaa !30
%107 = fcmp une double %105, %106
br i1 %107, label %108, label %110
108: ; preds = %98
%109 = getelementptr inbounds i8, ptr %4, i64 32
store double %105, ptr %109, align 8, !tbaa !32
br label %110
110: ; preds = %108, %98
%111 = load ptr, ptr %0, align 8, !tbaa !25
%112 = getelementptr inbounds i8, ptr %111, i64 4
%113 = load i32, ptr %112, align 4, !tbaa !26
%114 = tail call i32 @mp_pin_in_write(i32 noundef %113, i64 %104) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3
store i64 0, ptr %2, align 8, !tbaa !33
%115 = getelementptr inbounds i8, ptr %2, i64 8
%116 = load i32, ptr @MP_FILTER_COMMAND_IS_ACTIVE, align 4, !tbaa !26
store i32 %116, ptr %115, align 8, !tbaa !35
%117 = load ptr, ptr %7, align 8, !tbaa !16
%118 = call i64 @mp_filter_command(ptr noundef %117, ptr noundef nonnull %2) #3
%119 = icmp eq i64 %118, 0
br i1 %119, label %130, label %120
120: ; preds = %110
%121 = getelementptr inbounds i8, ptr %4, i64 40
%122 = load i64, ptr %121, align 8, !tbaa !36
%123 = load i64, ptr %2, align 8, !tbaa !33
%124 = icmp eq i64 %122, %123
br i1 %124, label %130, label %125
125: ; preds = %120
store i64 %123, ptr %121, align 8, !tbaa !36
%126 = load ptr, ptr %12, align 8, !tbaa !18
%127 = icmp eq i64 %123, 0
%128 = select i1 %127, ptr @.str.4, ptr @.str.3
%129 = call i32 @MP_VERBOSE(ptr noundef %6, ptr noundef nonnull @.str.2, ptr noundef %126, ptr noundef nonnull %128) #3
br label %130
130: ; preds = %125, %120, %110
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3
br label %131
131: ; preds = %88, %130, %46, %60, %61
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 @mp_filter_set_error_handler(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @assert(ptr noundef) local_unnamed_addr #2
declare i64 @mp_filter_has_failed(ptr noundef) local_unnamed_addr #2
declare i32 @MP_FATAL(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mp_filter_wakeup(i32 noundef) local_unnamed_addr #2
declare i32 @MP_ERR(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mp_filter_reset(ptr noundef) local_unnamed_addr #2
declare i64 @mp_pin_in_needs_data(i32 noundef) local_unnamed_addr #2
declare i32 @mp_pin_in_write(i32 noundef, i64) local_unnamed_addr #2
declare i32 @mp_pin_transfer_data(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @mp_pin_can_transfer_data(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mp_pin_out_read(i32 noundef) local_unnamed_addr #2
declare i32 @check_in_format_change(ptr noundef, i64) local_unnamed_addr #2
declare double @mp_frame_get_pts(i64) 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 @mp_filter_command(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @MP_VERBOSE(ptr noundef, ptr noundef, ptr 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 = { 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 = !{!"mp_filter", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 56}
!12 = !{!"mp_user_filter", !8, i64 0, !8, i64 8, !13, i64 16, !13, i64 20, !14, i64 24, !14, i64 32, !15, i64 40, !8, i64 48, !8, i64 56}
!13 = !{!"int", !9, i64 0}
!14 = !{!"double", !9, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!12, !8, i64 48}
!17 = !{!12, !8, i64 0}
!18 = !{!12, !8, i64 8}
!19 = !{!12, !13, i64 16}
!20 = !{!21, !8, i64 0}
!21 = !{!"chain", !8, i64 0, !13, i64 8, !22, i64 12}
!22 = !{!"TYPE_6__", !13, i64 0}
!23 = !{!21, !13, i64 12}
!24 = !{!21, !13, i64 8}
!25 = !{!7, !8, i64 0}
!26 = !{!13, !13, i64 0}
!27 = !{!12, !13, i64 20}
!28 = !{!29, !8, i64 0}
!29 = !{!"TYPE_7__", !8, i64 0}
!30 = !{!14, !14, i64 0}
!31 = !{!12, !14, i64 24}
!32 = !{!12, !14, i64 32}
!33 = !{!34, !15, i64 0}
!34 = !{!"mp_filter_command", !15, i64 0, !13, i64 8}
!35 = !{!34, !13, i64 8}
!36 = !{!12, !15, i64 40}
| mpv_filters_extr_f_output_chain.c_process_user |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_bw.c_icl_pcode_read_qgv_point_info.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_bw.c_icl_pcode_read_qgv_point_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"
%struct.intel_qgv_point = type { i32, i32, i32, i32, i32, i32 }
@ICL_PCODE_MEM_SUBSYSYSTEM_INFO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @icl_pcode_read_qgv_point_info], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @icl_pcode_read_qgv_point_info(ptr noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 0, ptr %4, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
store i32 0, ptr %5, align 4, !tbaa !5
%6 = load i32, ptr @ICL_PCODE_MEM_SUBSYSYSTEM_INFO, align 4, !tbaa !5
%7 = tail call i32 @ICL_PCODE_MEM_SS_READ_QGV_POINT_INFO(i32 noundef %2) #3
%8 = or i32 %7, %6
%9 = call i32 @sandybridge_pcode_read(ptr noundef %0, i32 noundef %8, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %27
11: ; preds = %3
%12 = load i32, ptr %4, align 4, !tbaa !5
%13 = and i32 %12, 65535
store i32 %13, ptr %1, align 4, !tbaa !9
%14 = lshr i32 %12, 16
%15 = and i32 %14, 255
%16 = getelementptr inbounds %struct.intel_qgv_point, ptr %1, i64 0, i32 1
store i32 %15, ptr %16, align 4, !tbaa !11
%17 = lshr i32 %12, 24
%18 = getelementptr inbounds %struct.intel_qgv_point, ptr %1, i64 0, i32 2
store i32 %17, ptr %18, align 4, !tbaa !12
%19 = load i32, ptr %5, align 4, !tbaa !5
%20 = and i32 %19, 255
%21 = getelementptr inbounds %struct.intel_qgv_point, ptr %1, i64 0, i32 3
store i32 %20, ptr %21, align 4, !tbaa !13
%22 = lshr i32 %19, 8
%23 = and i32 %22, 255
%24 = getelementptr inbounds %struct.intel_qgv_point, ptr %1, i64 0, i32 4
store i32 %23, ptr %24, align 4, !tbaa !14
%25 = add nuw nsw i32 %23, %15
%26 = getelementptr inbounds %struct.intel_qgv_point, ptr %1, i64 0, i32 5
store i32 %25, ptr %26, align 4, !tbaa !15
br label %27
27: ; preds = %3, %11
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %9
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sandybridge_pcode_read(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ICL_PCODE_MEM_SS_READ_QGV_POINT_INFO(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 = !{!"intel_qgv_point", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20}
!11 = !{!10, !6, i64 4}
!12 = !{!10, !6, i64 8}
!13 = !{!10, !6, i64 12}
!14 = !{!10, !6, i64 16}
!15 = !{!10, !6, i64 20}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_bw.c_icl_pcode_read_qgv_point_info.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_bw.c_icl_pcode_read_qgv_point_info.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ICL_PCODE_MEM_SUBSYSYSTEM_INFO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @icl_pcode_read_qgv_point_info], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @icl_pcode_read_qgv_point_info(ptr noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 0, ptr %4, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
store i32 0, ptr %5, align 4, !tbaa !6
%6 = load i32, ptr @ICL_PCODE_MEM_SUBSYSYSTEM_INFO, align 4, !tbaa !6
%7 = tail call i32 @ICL_PCODE_MEM_SS_READ_QGV_POINT_INFO(i32 noundef %2) #3
%8 = or i32 %7, %6
%9 = call i32 @sandybridge_pcode_read(ptr noundef %0, i32 noundef %8, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %27
11: ; preds = %3
%12 = load i32, ptr %4, align 4, !tbaa !6
%13 = and i32 %12, 65535
store i32 %13, ptr %1, align 4, !tbaa !10
%14 = lshr i32 %12, 16
%15 = and i32 %14, 255
%16 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %15, ptr %16, align 4, !tbaa !12
%17 = lshr i32 %12, 24
%18 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %17, ptr %18, align 4, !tbaa !13
%19 = load i32, ptr %5, align 4, !tbaa !6
%20 = and i32 %19, 255
%21 = getelementptr inbounds i8, ptr %1, i64 12
store i32 %20, ptr %21, align 4, !tbaa !14
%22 = lshr i32 %19, 8
%23 = and i32 %22, 255
%24 = getelementptr inbounds i8, ptr %1, i64 16
store i32 %23, ptr %24, align 4, !tbaa !15
%25 = add nuw nsw i32 %23, %15
%26 = getelementptr inbounds i8, ptr %1, i64 20
store i32 %25, ptr %26, align 4, !tbaa !16
br label %27
27: ; preds = %3, %11
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %9
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sandybridge_pcode_read(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ICL_PCODE_MEM_SS_READ_QGV_POINT_INFO(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 = !{!"intel_qgv_point", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!12 = !{!11, !7, i64 4}
!13 = !{!11, !7, i64 8}
!14 = !{!11, !7, i64 12}
!15 = !{!11, !7, i64 16}
!16 = !{!11, !7, i64 20}
| linux_drivers_gpu_drm_i915_display_extr_intel_bw.c_icl_pcode_read_qgv_point_info |
; ModuleID = 'AnghaBench/linux/fs/jfs/extr_jfs_dmap.c_dbAdjTree.c'
source_filename = "AnghaBench/linux/fs/jfs/extr_jfs_dmap.c_dbAdjTree.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, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @dbAdjTree], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dbAdjTree(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = tail call i32 @le32_to_cpu(i32 noundef %5) #2
%7 = add nsw i32 %6, %1
%8 = load ptr, ptr %0, align 8, !tbaa !11
%9 = sext i32 %7 to i64
%10 = getelementptr inbounds i32, ptr %8, i64 %9
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = icmp eq i32 %11, %2
br i1 %12, label %39, label %13
13: ; preds = %3
store i32 %2, ptr %10, align 4, !tbaa !12
%14 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%15 = load i32, ptr %14, align 8, !tbaa !13
%16 = tail call i32 @le32_to_cpu(i32 noundef %15) #2
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %39
18: ; preds = %13, %34
%19 = phi i32 [ %24, %34 ], [ %7, %13 ]
%20 = phi i32 [ %35, %34 ], [ 0, %13 ]
%21 = add nsw i32 %19, -1
%22 = and i32 %21, -4
%23 = or disjoint i32 %22, 1
%24 = ashr i32 %21, 2
%25 = load ptr, ptr %0, align 8, !tbaa !11
%26 = sext i32 %23 to i64
%27 = getelementptr inbounds i32, ptr %25, i64 %26
%28 = tail call i32 @TREEMAX(ptr noundef nonnull %27) #2
%29 = load ptr, ptr %0, align 8, !tbaa !11
%30 = sext i32 %24 to i64
%31 = getelementptr inbounds i32, ptr %29, i64 %30
%32 = load i32, ptr %31, align 4, !tbaa !12
%33 = icmp eq i32 %32, %28
br i1 %33, label %39, label %34
34: ; preds = %18
store i32 %28, ptr %31, align 4, !tbaa !12
%35 = add nuw nsw i32 %20, 1
%36 = load i32, ptr %14, align 8, !tbaa !13
%37 = tail call i32 @le32_to_cpu(i32 noundef %36) #2
%38 = icmp slt i32 %35, %37
br i1 %38, label %18, label %39, !llvm.loop !14
39: ; preds = %18, %34, %13, %3
ret void
}
declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @TREEMAX(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 12}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"any pointer", !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 = !{!10, !10, i64 0}
!13 = !{!6, !10, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/fs/jfs/extr_jfs_dmap.c_dbAdjTree.c'
source_filename = "AnghaBench/linux/fs/jfs/extr_jfs_dmap.c_dbAdjTree.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 @dbAdjTree], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dbAdjTree(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 12
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = tail call i32 @le32_to_cpu(i32 noundef %5) #2
%7 = add nsw i32 %6, %1
%8 = load ptr, ptr %0, align 8, !tbaa !12
%9 = sext i32 %7 to i64
%10 = getelementptr inbounds i32, ptr %8, i64 %9
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = icmp eq i32 %11, %2
br i1 %12, label %39, label %13
13: ; preds = %3
store i32 %2, ptr %10, align 4, !tbaa !13
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = load i32, ptr %14, align 8, !tbaa !14
%16 = tail call i32 @le32_to_cpu(i32 noundef %15) #2
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %39
18: ; preds = %13, %34
%19 = phi i32 [ %24, %34 ], [ %7, %13 ]
%20 = phi i32 [ %35, %34 ], [ 0, %13 ]
%21 = add nsw i32 %19, -1
%22 = and i32 %21, -4
%23 = or disjoint i32 %22, 1
%24 = ashr i32 %21, 2
%25 = load ptr, ptr %0, align 8, !tbaa !12
%26 = sext i32 %23 to i64
%27 = getelementptr inbounds i32, ptr %25, i64 %26
%28 = tail call i32 @TREEMAX(ptr noundef nonnull %27) #2
%29 = load ptr, ptr %0, align 8, !tbaa !12
%30 = sext i32 %24 to i64
%31 = getelementptr inbounds i32, ptr %29, i64 %30
%32 = load i32, ptr %31, align 4, !tbaa !13
%33 = icmp eq i32 %32, %28
br i1 %33, label %39, label %34
34: ; preds = %18
store i32 %28, ptr %31, align 4, !tbaa !13
%35 = add nuw nsw i32 %20, 1
%36 = load i32, ptr %14, align 8, !tbaa !14
%37 = tail call i32 @le32_to_cpu(i32 noundef %36) #2
%38 = icmp slt i32 %35, %37
br i1 %38, label %18, label %39, !llvm.loop !15
39: ; preds = %18, %34, %13, %3
ret void
}
declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @TREEMAX(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 12}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !11, i64 12}
!8 = !{!"any pointer", !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 = !{!11, !11, i64 0}
!14 = !{!7, !11, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| linux_fs_jfs_extr_jfs_dmap.c_dbAdjTree |
; ModuleID = 'AnghaBench/freebsd/tools/tools/ipw/extr_ipwstats.c_main.c'
source_filename = "AnghaBench/freebsd/tools/tools/ipw/extr_ipwstats.c_main.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"ipw0\00", align 1
@EX_OK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = icmp sgt i32 %0, 1
br i1 %3, label %4, label %7
4: ; preds = %2
%5 = getelementptr inbounds ptr, ptr %1, i64 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
br label %7
7: ; preds = %2, %4
%8 = phi ptr [ %6, %4 ], [ @.str, %2 ]
%9 = tail call i32 @get_statistics(ptr noundef %8) #2
%10 = load i32, ptr @EX_OK, align 4, !tbaa !9
ret i32 %10
}
declare i32 @get_statistics(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/freebsd/tools/tools/ipw/extr_ipwstats.c_main.c'
source_filename = "AnghaBench/freebsd/tools/tools/ipw/extr_ipwstats.c_main.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"ipw0\00", align 1
@EX_OK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = icmp sgt i32 %0, 1
br i1 %3, label %4, label %7
4: ; preds = %2
%5 = getelementptr inbounds i8, ptr %1, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
br label %7
7: ; preds = %2, %4
%8 = phi ptr [ %6, %4 ], [ @.str, %2 ]
%9 = tail call i32 @get_statistics(ptr noundef %8) #2
%10 = load i32, ptr @EX_OK, align 4, !tbaa !10
ret i32 %10
}
declare i32 @get_statistics(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}
| freebsd_tools_tools_ipw_extr_ipwstats.c_main |
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/sunxi/extr_pinctrl-sunxi.h_sunxi_dlevel_reg.c'
source_filename = "AnghaBench/linux/drivers/pinctrl/sunxi/extr_pinctrl-sunxi.h_sunxi_dlevel_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"
@PINS_PER_BANK = dso_local local_unnamed_addr global i32 0, align 4
@BANK_MEM_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@DLEVEL_REGS_OFFSET = dso_local local_unnamed_addr global i64 0, align 8
@DLEVEL_PINS_PER_REG = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sunxi_dlevel_reg], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @sunxi_dlevel_reg(i32 noundef %0) #0 {
%2 = load i32, ptr @PINS_PER_BANK, align 4, !tbaa !5
%3 = sdiv i32 %0, %2
%4 = load i32, ptr @BANK_MEM_SIZE, align 4, !tbaa !5
%5 = mul nsw i32 %4, %3
%6 = load i64, ptr @DLEVEL_REGS_OFFSET, align 8, !tbaa !9
%7 = trunc i64 %6 to i32
%8 = add i32 %5, %7
%9 = srem i32 %0, %2
%10 = load i32, ptr @DLEVEL_PINS_PER_REG, align 4, !tbaa !5
%11 = sdiv i32 %9, %10
%12 = shl nsw i32 %11, 2
%13 = add nsw i32 %8, %12
%14 = tail call i32 @round_down(i32 noundef %13, i32 noundef 4) #2
ret i32 %14
}
declare i32 @round_down(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, !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/linux/drivers/pinctrl/sunxi/extr_pinctrl-sunxi.h_sunxi_dlevel_reg.c'
source_filename = "AnghaBench/linux/drivers/pinctrl/sunxi/extr_pinctrl-sunxi.h_sunxi_dlevel_reg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PINS_PER_BANK = common local_unnamed_addr global i32 0, align 4
@BANK_MEM_SIZE = common local_unnamed_addr global i32 0, align 4
@DLEVEL_REGS_OFFSET = common local_unnamed_addr global i64 0, align 8
@DLEVEL_PINS_PER_REG = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sunxi_dlevel_reg], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @sunxi_dlevel_reg(i32 noundef %0) #0 {
%2 = load i32, ptr @PINS_PER_BANK, align 4, !tbaa !6
%3 = freeze i32 %2
%4 = sdiv i32 %0, %3
%5 = load i32, ptr @BANK_MEM_SIZE, align 4, !tbaa !6
%6 = mul nsw i32 %5, %4
%7 = load i64, ptr @DLEVEL_REGS_OFFSET, align 8, !tbaa !10
%8 = trunc i64 %7 to i32
%9 = add i32 %6, %8
%10 = mul i32 %4, %3
%11 = sub i32 %0, %10
%12 = load i32, ptr @DLEVEL_PINS_PER_REG, align 4, !tbaa !6
%13 = sdiv i32 %11, %12
%14 = shl nsw i32 %13, 2
%15 = add nsw i32 %9, %14
%16 = tail call i32 @round_down(i32 noundef %15, i32 noundef 4) #2
ret i32 %16
}
declare i32 @round_down(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, !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}
| linux_drivers_pinctrl_sunxi_extr_pinctrl-sunxi.h_sunxi_dlevel_reg |
; ModuleID = 'AnghaBench/linux/drivers/usb/dwc3/extr_core.h_dwc3_host_init.c'
source_filename = "AnghaBench/linux/drivers/usb/dwc3/extr_core.h_dwc3_host_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 @dwc3_host_init], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @dwc3_host_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/drivers/usb/dwc3/extr_core.h_dwc3_host_init.c'
source_filename = "AnghaBench/linux/drivers/usb/dwc3/extr_core.h_dwc3_host_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 @dwc3_host_init], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @dwc3_host_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_drivers_usb_dwc3_extr_core.h_dwc3_host_init |
; ModuleID = 'AnghaBench/redis/deps/jemalloc/test/unit/extr_decay.c_get_arena_npurge_impl.c'
source_filename = "AnghaBench/redis/deps/jemalloc/test/unit/extr_decay.c_get_arena_npurge_impl.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 [38 x i8] c"Unexpected mallctlnametomib() failure\00", align 1
@config_stats = dso_local local_unnamed_addr global i64 0, align 8
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"Unexpected mallctlbymib() failure\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_arena_npurge_impl], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @get_arena_npurge_impl(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca [4 x i64], align 16
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store i64 4, ptr %4, align 8, !tbaa !5
%7 = call i32 @mallctlnametomib(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%8 = call i32 @assert_d_eq(i32 noundef %7, i32 noundef 0, ptr noundef nonnull @.str) #3
%9 = zext i32 %1 to i64
%10 = getelementptr inbounds [4 x i64], ptr %3, i64 0, i64 2
store i64 %9, ptr %10, align 16, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
store i64 0, ptr %5, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
store i64 8, ptr %6, align 8, !tbaa !5
%11 = load i64, ptr %4, align 8, !tbaa !5
%12 = call i32 @mallctlbymib(ptr noundef nonnull %3, i64 noundef %11, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef null, i32 noundef 0) #3
%13 = load i64, ptr @config_stats, align 8, !tbaa !5
%14 = icmp eq i64 %13, 0
%15 = load i32, ptr @ENOENT, align 4
%16 = select i1 %14, i32 %15, i32 0
%17 = call i32 @assert_d_eq(i32 noundef %12, i32 noundef %16, ptr noundef nonnull @.str.1) #3
%18 = load i64, ptr %5, align 8, !tbaa !5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3
ret i64 %18
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @assert_d_eq(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mallctlnametomib(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mallctlbymib(ptr noundef, i64 noundef, ptr noundef, ptr 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/redis/deps/jemalloc/test/unit/extr_decay.c_get_arena_npurge_impl.c'
source_filename = "AnghaBench/redis/deps/jemalloc/test/unit/extr_decay.c_get_arena_npurge_impl.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 [38 x i8] c"Unexpected mallctlnametomib() failure\00", align 1
@config_stats = common local_unnamed_addr global i64 0, align 8
@ENOENT = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"Unexpected mallctlbymib() failure\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @get_arena_npurge_impl], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @get_arena_npurge_impl(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca [4 x i64], align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store i64 4, ptr %4, align 8, !tbaa !6
%7 = call i32 @mallctlnametomib(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%8 = call i32 @assert_d_eq(i32 noundef %7, i32 noundef 0, ptr noundef nonnull @.str) #3
%9 = zext i32 %1 to i64
%10 = getelementptr inbounds i8, ptr %3, i64 16
store i64 %9, ptr %10, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
store i64 0, ptr %5, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
store i64 8, ptr %6, align 8, !tbaa !6
%11 = load i64, ptr %4, align 8, !tbaa !6
%12 = call i32 @mallctlbymib(ptr noundef nonnull %3, i64 noundef %11, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef null, i32 noundef 0) #3
%13 = load i64, ptr @config_stats, align 8, !tbaa !6
%14 = icmp eq i64 %13, 0
%15 = load i32, ptr @ENOENT, align 4
%16 = select i1 %14, i32 %15, i32 0
%17 = call i32 @assert_d_eq(i32 noundef %12, i32 noundef %16, ptr noundef nonnull @.str.1) #3
%18 = load i64, ptr %5, align 8, !tbaa !6
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3
ret i64 %18
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @assert_d_eq(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mallctlnametomib(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mallctlbymib(ptr noundef, i64 noundef, ptr noundef, ptr 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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| redis_deps_jemalloc_test_unit_extr_decay.c_get_arena_npurge_impl |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/radio/extr_radio-aztech.c_vidioc_queryctrl.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/radio/extr_radio-aztech.c_vidioc_queryctrl.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"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vidioc_queryctrl], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vidioc_queryctrl(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = load i32, ptr %2, align 4, !tbaa !5
switch i32 %4, label %9 [
i32 129, label %5
i32 128, label %7
]
5: ; preds = %3
%6 = tail call i32 @v4l2_ctrl_query_fill(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 1, i32 noundef 1, i32 noundef 1) #2
br label %12
7: ; preds = %3
%8 = tail call i32 @v4l2_ctrl_query_fill(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 255, i32 noundef 1, i32 noundef 255) #2
br label %12
9: ; preds = %3
%10 = load i32, ptr @EINVAL, align 4, !tbaa !10
%11 = sub nsw i32 0, %10
br label %12
12: ; preds = %9, %7, %5
%13 = phi i32 [ %11, %9 ], [ %8, %7 ], [ %6, %5 ]
ret i32 %13
}
declare i32 @v4l2_ctrl_query_fill(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 = !{!"v4l2_queryctrl", !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/drivers/media/radio/extr_radio-aztech.c_vidioc_queryctrl.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/radio/extr_radio-aztech.c_vidioc_queryctrl.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
@llvm.used = appending global [1 x ptr] [ptr @vidioc_queryctrl], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @vidioc_queryctrl(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = load i32, ptr %2, align 4, !tbaa !6
switch i32 %4, label %9 [
i32 129, label %5
i32 128, label %7
]
5: ; preds = %3
%6 = tail call i32 @v4l2_ctrl_query_fill(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 1, i32 noundef 1, i32 noundef 1) #2
br label %12
7: ; preds = %3
%8 = tail call i32 @v4l2_ctrl_query_fill(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 255, i32 noundef 1, i32 noundef 255) #2
br label %12
9: ; preds = %3
%10 = load i32, ptr @EINVAL, align 4, !tbaa !11
%11 = sub nsw i32 0, %10
br label %12
12: ; preds = %9, %7, %5
%13 = phi i32 [ %11, %9 ], [ %8, %7 ], [ %6, %5 ]
ret i32 %13
}
declare i32 @v4l2_ctrl_query_fill(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 = !{!"v4l2_queryctrl", !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_drivers_media_radio_extr_radio-aztech.c_vidioc_queryctrl |
; ModuleID = 'AnghaBench/glfw/tests/extr_events.c_window_iconify_callback.c'
source_filename = "AnghaBench/glfw/tests/extr_events.c_window_iconify_callback.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 [36 x i8] c"%08x to %i at %0.3f: Window was %s\0A\00", align 1
@counter = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"iconified\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"uniconified\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @window_iconify_callback], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @window_iconify_callback(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @glfwGetWindowUserPointer(ptr noundef %0) #2
%4 = load i32, ptr @counter, align 4, !tbaa !5
%5 = add nsw i32 %4, 1
store i32 %5, ptr @counter, align 4, !tbaa !5
%6 = load i32, ptr %3, align 4, !tbaa !9
%7 = tail call double (...) @glfwGetTime() #2
%8 = icmp eq i32 %1, 0
%9 = select i1 %8, ptr @.str.2, ptr @.str.1
%10 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %4, i32 noundef %6, double noundef %7, ptr noundef nonnull %9) #2
ret void
}
declare ptr @glfwGetWindowUserPointer(ptr noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, double noundef, ptr noundef) local_unnamed_addr #1
declare double @glfwGetTime(...) 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 = !{!"TYPE_3__", !6, i64 0}
| ; ModuleID = 'AnghaBench/glfw/tests/extr_events.c_window_iconify_callback.c'
source_filename = "AnghaBench/glfw/tests/extr_events.c_window_iconify_callback.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 [36 x i8] c"%08x to %i at %0.3f: Window was %s\0A\00", align 1
@counter = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"iconified\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"uniconified\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @window_iconify_callback], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @window_iconify_callback(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @glfwGetWindowUserPointer(ptr noundef %0) #2
%4 = load i32, ptr @counter, align 4, !tbaa !6
%5 = add nsw i32 %4, 1
store i32 %5, ptr @counter, align 4, !tbaa !6
%6 = load i32, ptr %3, align 4, !tbaa !10
%7 = tail call double @glfwGetTime() #2
%8 = icmp eq i32 %1, 0
%9 = select i1 %8, ptr @.str.2, ptr @.str.1
%10 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %4, i32 noundef %6, double noundef %7, ptr noundef nonnull %9) #2
ret void
}
declare ptr @glfwGetWindowUserPointer(ptr noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, double noundef, ptr noundef) local_unnamed_addr #1
declare double @glfwGetTime(...) 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 = !{!"TYPE_3__", !7, i64 0}
| glfw_tests_extr_events.c_window_iconify_callback |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_real.c_real_copysign.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_real.c_real_copysign.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 void @real_copysign(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
store i32 %3, ptr %0, align 4, !tbaa !5
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, !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/contrib/gcc/extr_real.c_real_copysign.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_real.c_real_copysign.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 void @real_copysign(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
store i32 %3, ptr %0, align 4, !tbaa !6
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, !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_contrib_gcc_extr_real.c_real_copysign |
; ModuleID = 'AnghaBench/micropython/ports/teensy/core/extr_analog.c_analogWriteDAC0.c'
source_filename = "AnghaBench/micropython/ports/teensy/core/extr_analog.c_analogWriteDAC0.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"
@DAC0_C0 = dso_local local_unnamed_addr global i32 0, align 4
@DAC0_DAT0L = dso_local local_unnamed_addr global i32 0, align 4
@DAC_C0_DACEN = dso_local local_unnamed_addr global i32 0, align 4
@DAC_C0_DACRFS = dso_local local_unnamed_addr global i32 0, align 4
@SIM_SCGC2 = dso_local local_unnamed_addr global i32 0, align 4
@SIM_SCGC2_DAC0 = dso_local local_unnamed_addr global i32 0, align 4
@analog_reference_internal = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local void @analogWriteDAC0(i32 noundef %0) local_unnamed_addr #0 {
ret void
}
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/micropython/ports/teensy/core/extr_analog.c_analogWriteDAC0.c'
source_filename = "AnghaBench/micropython/ports/teensy/core/extr_analog.c_analogWriteDAC0.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DAC0_C0 = common local_unnamed_addr global i32 0, align 4
@DAC0_DAT0L = common local_unnamed_addr global i32 0, align 4
@DAC_C0_DACEN = common local_unnamed_addr global i32 0, align 4
@DAC_C0_DACRFS = common local_unnamed_addr global i32 0, align 4
@SIM_SCGC2 = common local_unnamed_addr global i32 0, align 4
@SIM_SCGC2_DAC0 = common local_unnamed_addr global i32 0, align 4
@analog_reference_internal = common local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define void @analogWriteDAC0(i32 noundef %0) local_unnamed_addr #0 {
ret void
}
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)"}
| micropython_ports_teensy_core_extr_analog.c_analogWriteDAC0 |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/sysdev/extr_dart_iommu.c_dart_tlb_invalidate_all.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/sysdev/extr_dart_iommu.c_dart_tlb_invalidate_all.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"
@invalidate_lock = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"dart: flush\0A\00", align 1
@dart_is_u4 = dso_local local_unnamed_addr global i64 0, align 8
@DART_CNTL_U4_FLUSHTLB = dso_local local_unnamed_addr global i32 0, align 4
@DART_CNTL_U3_FLUSHTLB = dso_local local_unnamed_addr global i32 0, align 4
@DART_CNTL = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [62 x i8] c"DART: TLB did not flush after waiting a long time. Buggy U3 ?\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @dart_tlb_invalidate_all], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @dart_tlb_invalidate_all() #0 {
%1 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @invalidate_lock, i64 noundef undef) #2
%2 = tail call i32 @DBG(ptr noundef nonnull @.str) #2
%3 = load i64, ptr @dart_is_u4, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
%5 = load i32, ptr @DART_CNTL_U4_FLUSHTLB, align 4
%6 = load i32, ptr @DART_CNTL_U3_FLUSHTLB, align 4
%7 = select i1 %4, i32 %6, i32 %5
%8 = xor i32 %7, -1
br label %9
9: ; preds = %30, %0
%10 = phi i64 [ 0, %0 ], [ %31, %30 ]
%11 = load i32, ptr @DART_CNTL, align 4, !tbaa !9
%12 = tail call i32 @DART_IN(i32 noundef %11) #2
%13 = or i32 %12, %7
%14 = load i32, ptr @DART_CNTL, align 4, !tbaa !9
%15 = tail call i32 @DART_OUT(i32 noundef %14, i32 noundef %13) #2
%16 = shl nuw i64 1, %10
br label %17
17: ; preds = %17, %9
%18 = phi i64 [ 0, %9 ], [ %25, %17 ]
%19 = load i32, ptr @DART_CNTL, align 4, !tbaa !9
%20 = tail call i32 @DART_IN(i32 noundef %19) #2
%21 = and i32 %20, %7
%22 = icmp ne i32 %21, 0
%23 = icmp ult i64 %18, %16
%24 = select i1 %22, i1 %23, i1 false
%25 = add nuw i64 %18, 1
br i1 %24, label %17, label %26, !llvm.loop !11
26: ; preds = %17
%27 = icmp eq i64 %18, %16
br i1 %27, label %28, label %39
28: ; preds = %26
%29 = icmp eq i64 %10, 4
br i1 %29, label %37, label %30
30: ; preds = %28
%31 = add nuw nsw i64 %10, 1
%32 = load i32, ptr @DART_CNTL, align 4, !tbaa !9
%33 = tail call i32 @DART_IN(i32 noundef %32) #2
%34 = and i32 %33, %8
%35 = load i32, ptr @DART_CNTL, align 4, !tbaa !9
%36 = tail call i32 @DART_OUT(i32 noundef %35, i32 noundef %34) #2
br label %9
37: ; preds = %28
%38 = tail call i32 @panic(ptr noundef nonnull @.str.1) #2
br label %39
39: ; preds = %26, %37
%40 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @invalidate_lock, i64 noundef undef) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @DBG(ptr noundef) local_unnamed_addr #1
declare i32 @DART_IN(i32 noundef) local_unnamed_addr #1
declare i32 @DART_OUT(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @panic(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 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 = !{!"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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/sysdev/extr_dart_iommu.c_dart_tlb_invalidate_all.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/sysdev/extr_dart_iommu.c_dart_tlb_invalidate_all.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@invalidate_lock = common global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"dart: flush\0A\00", align 1
@dart_is_u4 = common local_unnamed_addr global i64 0, align 8
@DART_CNTL_U4_FLUSHTLB = common local_unnamed_addr global i32 0, align 4
@DART_CNTL_U3_FLUSHTLB = common local_unnamed_addr global i32 0, align 4
@DART_CNTL = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [62 x i8] c"DART: TLB did not flush after waiting a long time. Buggy U3 ?\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @dart_tlb_invalidate_all], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @dart_tlb_invalidate_all() #0 {
%1 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @invalidate_lock, i64 noundef undef) #2
%2 = tail call i32 @DBG(ptr noundef nonnull @.str) #2
%3 = load i64, ptr @dart_is_u4, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
%5 = load i32, ptr @DART_CNTL_U4_FLUSHTLB, align 4
%6 = load i32, ptr @DART_CNTL_U3_FLUSHTLB, align 4
%7 = select i1 %4, i32 %6, i32 %5
%8 = xor i32 %7, -1
br label %9
9: ; preds = %30, %0
%10 = phi i64 [ 0, %0 ], [ %31, %30 ]
%11 = load i32, ptr @DART_CNTL, align 4, !tbaa !10
%12 = tail call i32 @DART_IN(i32 noundef %11) #2
%13 = or i32 %12, %7
%14 = load i32, ptr @DART_CNTL, align 4, !tbaa !10
%15 = tail call i32 @DART_OUT(i32 noundef %14, i32 noundef %13) #2
%16 = shl nuw i64 1, %10
br label %17
17: ; preds = %17, %9
%18 = phi i64 [ 0, %9 ], [ %25, %17 ]
%19 = load i32, ptr @DART_CNTL, align 4, !tbaa !10
%20 = tail call i32 @DART_IN(i32 noundef %19) #2
%21 = and i32 %20, %7
%22 = icmp ne i32 %21, 0
%23 = icmp ult i64 %18, %16
%24 = select i1 %22, i1 %23, i1 false
%25 = add nuw i64 %18, 1
br i1 %24, label %17, label %26, !llvm.loop !12
26: ; preds = %17
%27 = icmp eq i64 %18, %16
br i1 %27, label %28, label %39
28: ; preds = %26
%29 = icmp eq i64 %10, 4
br i1 %29, label %37, label %30
30: ; preds = %28
%31 = add nuw nsw i64 %10, 1
%32 = load i32, ptr @DART_CNTL, align 4, !tbaa !10
%33 = tail call i32 @DART_IN(i32 noundef %32) #2
%34 = and i32 %33, %8
%35 = load i32, ptr @DART_CNTL, align 4, !tbaa !10
%36 = tail call i32 @DART_OUT(i32 noundef %35, i32 noundef %34) #2
br label %9
37: ; preds = %28
%38 = tail call i32 @panic(ptr noundef nonnull @.str.1) #2
br label %39
39: ; preds = %26, %37
%40 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @invalidate_lock, i64 noundef undef) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @DBG(ptr noundef) local_unnamed_addr #1
declare i32 @DART_IN(i32 noundef) local_unnamed_addr #1
declare i32 @DART_OUT(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @panic(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 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 = !{!"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 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_arch_powerpc_sysdev_extr_dart_iommu.c_dart_tlb_invalidate_all |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/ia64/extr_ia64.c_get_template.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/config/ia64/extr_ia64.c_get_template.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"
@_0mmi_ = dso_local local_unnamed_addr global i32 0, align 4
@_0mii_ = dso_local local_unnamed_addr global i32 0, align 4
@_0mmb_ = dso_local local_unnamed_addr global i32 0, align 4
@_0mib_ = dso_local local_unnamed_addr global i32 0, align 4
@_0mbb_ = dso_local local_unnamed_addr global i32 0, align 4
@_0bbb_ = dso_local local_unnamed_addr global i32 0, align 4
@_0mmf_ = dso_local local_unnamed_addr global i32 0, align 4
@_0mfi_ = dso_local local_unnamed_addr global i32 0, align 4
@_0mfb_ = dso_local local_unnamed_addr global i32 0, align 4
@_0mlx_ = dso_local local_unnamed_addr global i32 0, align 4
@_1mmi_ = dso_local local_unnamed_addr global i32 0, align 4
@_1mii_ = dso_local local_unnamed_addr global i32 0, align 4
@_1mmb_ = dso_local local_unnamed_addr global i32 0, align 4
@_1mib_ = dso_local local_unnamed_addr global i32 0, align 4
@_1mbb_ = dso_local local_unnamed_addr global i32 0, align 4
@_1bbb_ = dso_local local_unnamed_addr global i32 0, align 4
@_1mmf_ = dso_local local_unnamed_addr global i32 0, align 4
@_1mfi_ = dso_local local_unnamed_addr global i32 0, align 4
@_1mfb_ = dso_local local_unnamed_addr global i32 0, align 4
@_1mlx_ = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_template], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @get_template(i32 noundef %0, i32 noundef %1) #0 {
switch i32 %1, label %89 [
i32 3, label %3
i32 6, label %45
]
3: ; preds = %2
%4 = load i32, ptr @_0mmi_, align 4, !tbaa !5
%5 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %91
7: ; preds = %3
%8 = load i32, ptr @_0mii_, align 4, !tbaa !5
%9 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %8) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %91
11: ; preds = %7
%12 = load i32, ptr @_0mmb_, align 4, !tbaa !5
%13 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %12) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %91
15: ; preds = %11
%16 = load i32, ptr @_0mib_, align 4, !tbaa !5
%17 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %16) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %91
19: ; preds = %15
%20 = load i32, ptr @_0mbb_, align 4, !tbaa !5
%21 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %20) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %91
23: ; preds = %19
%24 = load i32, ptr @_0bbb_, align 4, !tbaa !5
%25 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %24) #2
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %91
27: ; preds = %23
%28 = load i32, ptr @_0mmf_, align 4, !tbaa !5
%29 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %28) #2
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %91
31: ; preds = %27
%32 = load i32, ptr @_0mfi_, align 4, !tbaa !5
%33 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %32) #2
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %91
35: ; preds = %31
%36 = load i32, ptr @_0mfb_, align 4, !tbaa !5
%37 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %36) #2
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %91
39: ; preds = %35
%40 = load i32, ptr @_0mlx_, align 4, !tbaa !5
%41 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %40) #2
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %91
43: ; preds = %39
%44 = tail call i32 (...) @gcc_unreachable() #2
br label %45
45: ; preds = %2, %43
%46 = load i32, ptr @_1mmi_, align 4, !tbaa !5
%47 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %46) #2
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %91
49: ; preds = %45
%50 = load i32, ptr @_1mii_, align 4, !tbaa !5
%51 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %50) #2
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %91
53: ; preds = %49
%54 = load i32, ptr @_1mmb_, align 4, !tbaa !5
%55 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %54) #2
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %91
57: ; preds = %53
%58 = load i32, ptr @_1mib_, align 4, !tbaa !5
%59 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %58) #2
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %91
61: ; preds = %57
%62 = load i32, ptr @_1mbb_, align 4, !tbaa !5
%63 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %62) #2
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %91
65: ; preds = %61
%66 = load i32, ptr @_1bbb_, align 4, !tbaa !5
%67 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %66) #2
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %91
69: ; preds = %65
%70 = load i32, ptr @_1mmf_, align 4, !tbaa !5
%71 = icmp sgt i32 %70, -1
br i1 %71, label %72, label %75
72: ; preds = %69
%73 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %70) #2
%74 = icmp eq i32 %73, 0
br i1 %74, label %75, label %91
75: ; preds = %72, %69
%76 = load i32, ptr @_1mfi_, align 4, !tbaa !5
%77 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %76) #2
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %91
79: ; preds = %75
%80 = load i32, ptr @_1mfb_, align 4, !tbaa !5
%81 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %80) #2
%82 = icmp eq i32 %81, 0
br i1 %82, label %83, label %91
83: ; preds = %79
%84 = load i32, ptr @_1mlx_, align 4, !tbaa !5
%85 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %84) #2
%86 = icmp eq i32 %85, 0
br i1 %86, label %87, label %91
87: ; preds = %83
%88 = tail call i32 (...) @gcc_unreachable() #2
br label %89
89: ; preds = %2, %87
%90 = tail call i32 (...) @gcc_unreachable() #2
br label %91
91: ; preds = %83, %79, %75, %72, %65, %61, %57, %53, %49, %45, %39, %35, %31, %27, %23, %19, %15, %11, %7, %3, %89
%92 = phi i32 [ undef, %89 ], [ 1, %3 ], [ 0, %7 ], [ 7, %11 ], [ 6, %15 ], [ 5, %19 ], [ 4, %23 ], [ 3, %27 ], [ 2, %31 ], [ 8, %35 ], [ 9, %39 ], [ 1, %45 ], [ 0, %49 ], [ 7, %53 ], [ 6, %57 ], [ 5, %61 ], [ 4, %65 ], [ 3, %72 ], [ 2, %75 ], [ 8, %79 ], [ 9, %83 ]
ret i32 %92
}
declare i32 @cpu_unit_reservation_p(i32 noundef, i32 noundef) local_unnamed_addr #1
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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/ia64/extr_ia64.c_get_template.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/config/ia64/extr_ia64.c_get_template.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@_0mmi_ = common local_unnamed_addr global i32 0, align 4
@_0mii_ = common local_unnamed_addr global i32 0, align 4
@_0mmb_ = common local_unnamed_addr global i32 0, align 4
@_0mib_ = common local_unnamed_addr global i32 0, align 4
@_0mbb_ = common local_unnamed_addr global i32 0, align 4
@_0bbb_ = common local_unnamed_addr global i32 0, align 4
@_0mmf_ = common local_unnamed_addr global i32 0, align 4
@_0mfi_ = common local_unnamed_addr global i32 0, align 4
@_0mfb_ = common local_unnamed_addr global i32 0, align 4
@_0mlx_ = common local_unnamed_addr global i32 0, align 4
@_1mmi_ = common local_unnamed_addr global i32 0, align 4
@_1mii_ = common local_unnamed_addr global i32 0, align 4
@_1mmb_ = common local_unnamed_addr global i32 0, align 4
@_1mib_ = common local_unnamed_addr global i32 0, align 4
@_1mbb_ = common local_unnamed_addr global i32 0, align 4
@_1bbb_ = common local_unnamed_addr global i32 0, align 4
@_1mmf_ = common local_unnamed_addr global i32 0, align 4
@_1mfi_ = common local_unnamed_addr global i32 0, align 4
@_1mfb_ = common local_unnamed_addr global i32 0, align 4
@_1mlx_ = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @get_template], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @get_template(i32 noundef %0, i32 noundef %1) #0 {
switch i32 %1, label %89 [
i32 3, label %3
i32 6, label %45
]
3: ; preds = %2
%4 = load i32, ptr @_0mmi_, align 4, !tbaa !6
%5 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %91
7: ; preds = %3
%8 = load i32, ptr @_0mii_, align 4, !tbaa !6
%9 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %8) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %91
11: ; preds = %7
%12 = load i32, ptr @_0mmb_, align 4, !tbaa !6
%13 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %12) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %91
15: ; preds = %11
%16 = load i32, ptr @_0mib_, align 4, !tbaa !6
%17 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %16) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %91
19: ; preds = %15
%20 = load i32, ptr @_0mbb_, align 4, !tbaa !6
%21 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %20) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %91
23: ; preds = %19
%24 = load i32, ptr @_0bbb_, align 4, !tbaa !6
%25 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %24) #2
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %91
27: ; preds = %23
%28 = load i32, ptr @_0mmf_, align 4, !tbaa !6
%29 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %28) #2
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %91
31: ; preds = %27
%32 = load i32, ptr @_0mfi_, align 4, !tbaa !6
%33 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %32) #2
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %91
35: ; preds = %31
%36 = load i32, ptr @_0mfb_, align 4, !tbaa !6
%37 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %36) #2
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %91
39: ; preds = %35
%40 = load i32, ptr @_0mlx_, align 4, !tbaa !6
%41 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %40) #2
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %91
43: ; preds = %39
%44 = tail call i32 @gcc_unreachable() #2
br label %45
45: ; preds = %2, %43
%46 = load i32, ptr @_1mmi_, align 4, !tbaa !6
%47 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %46) #2
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %91
49: ; preds = %45
%50 = load i32, ptr @_1mii_, align 4, !tbaa !6
%51 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %50) #2
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %91
53: ; preds = %49
%54 = load i32, ptr @_1mmb_, align 4, !tbaa !6
%55 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %54) #2
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %91
57: ; preds = %53
%58 = load i32, ptr @_1mib_, align 4, !tbaa !6
%59 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %58) #2
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %91
61: ; preds = %57
%62 = load i32, ptr @_1mbb_, align 4, !tbaa !6
%63 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %62) #2
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %91
65: ; preds = %61
%66 = load i32, ptr @_1bbb_, align 4, !tbaa !6
%67 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %66) #2
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %91
69: ; preds = %65
%70 = load i32, ptr @_1mmf_, align 4, !tbaa !6
%71 = icmp sgt i32 %70, -1
br i1 %71, label %72, label %75
72: ; preds = %69
%73 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %70) #2
%74 = icmp eq i32 %73, 0
br i1 %74, label %75, label %91
75: ; preds = %72, %69
%76 = load i32, ptr @_1mfi_, align 4, !tbaa !6
%77 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %76) #2
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %91
79: ; preds = %75
%80 = load i32, ptr @_1mfb_, align 4, !tbaa !6
%81 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %80) #2
%82 = icmp eq i32 %81, 0
br i1 %82, label %83, label %91
83: ; preds = %79
%84 = load i32, ptr @_1mlx_, align 4, !tbaa !6
%85 = tail call i32 @cpu_unit_reservation_p(i32 noundef %0, i32 noundef %84) #2
%86 = icmp eq i32 %85, 0
br i1 %86, label %87, label %91
87: ; preds = %83
%88 = tail call i32 @gcc_unreachable() #2
br label %89
89: ; preds = %2, %87
%90 = tail call i32 @gcc_unreachable() #2
br label %91
91: ; preds = %83, %79, %75, %72, %65, %61, %57, %53, %49, %45, %39, %35, %31, %27, %23, %19, %15, %11, %7, %3, %89
%92 = phi i32 [ undef, %89 ], [ 1, %3 ], [ 0, %7 ], [ 7, %11 ], [ 6, %15 ], [ 5, %19 ], [ 4, %23 ], [ 3, %27 ], [ 2, %31 ], [ 8, %35 ], [ 9, %39 ], [ 1, %45 ], [ 0, %49 ], [ 7, %53 ], [ 6, %57 ], [ 5, %61 ], [ 4, %65 ], [ 3, %72 ], [ 2, %75 ], [ 8, %79 ], [ 9, %83 ]
ret i32 %92
}
declare i32 @cpu_unit_reservation_p(i32 noundef, i32 noundef) local_unnamed_addr #1
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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_gcc_config_ia64_extr_ia64.c_get_template |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intersil/hostap/extr_hostap_download.c_hfa384x_from_aux.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/intersil/hostap/extr_hostap_download.c_hfa384x_from_aux.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"
@HFA384X_AUXPAGE_OFF = dso_local local_unnamed_addr global i32 0, align 4
@HFA384X_AUXOFFSET_OFF = dso_local local_unnamed_addr global i32 0, align 4
@HFA384X_AUXDATA_OFF = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hfa384x_from_aux], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @hfa384x_from_aux(ptr nocapture readnone %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = or i32 %2, %1
%6 = and i32 %5, 1
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %19
8: ; preds = %4
%9 = lshr i32 %1, 7
%10 = and i32 %1, 126
%11 = load i32, ptr @HFA384X_AUXPAGE_OFF, align 4, !tbaa !5
%12 = tail call i32 @HFA384X_OUTW(i32 noundef %9, i32 noundef %11) #2
%13 = load i32, ptr @HFA384X_AUXOFFSET_OFF, align 4, !tbaa !5
%14 = tail call i32 @HFA384X_OUTW(i32 noundef %10, i32 noundef %13) #2
%15 = tail call i32 @udelay(i32 noundef 5) #2
%16 = load i32, ptr @HFA384X_AUXDATA_OFF, align 4, !tbaa !5
%17 = ashr exact i32 %2, 1
%18 = tail call i32 @HFA384X_INSW(i32 noundef %16, ptr noundef %3, i32 noundef %17) #2
br label %19
19: ; preds = %4, %8
%20 = phi i32 [ 0, %8 ], [ -1, %4 ]
ret i32 %20
}
declare i32 @HFA384X_OUTW(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @HFA384X_INSW(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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intersil/hostap/extr_hostap_download.c_hfa384x_from_aux.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/intersil/hostap/extr_hostap_download.c_hfa384x_from_aux.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HFA384X_AUXPAGE_OFF = common local_unnamed_addr global i32 0, align 4
@HFA384X_AUXOFFSET_OFF = common local_unnamed_addr global i32 0, align 4
@HFA384X_AUXDATA_OFF = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hfa384x_from_aux], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @hfa384x_from_aux(ptr nocapture readnone %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = or i32 %2, %1
%6 = and i32 %5, 1
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %19
8: ; preds = %4
%9 = lshr i32 %1, 7
%10 = and i32 %1, 126
%11 = load i32, ptr @HFA384X_AUXPAGE_OFF, align 4, !tbaa !6
%12 = tail call i32 @HFA384X_OUTW(i32 noundef %9, i32 noundef %11) #2
%13 = load i32, ptr @HFA384X_AUXOFFSET_OFF, align 4, !tbaa !6
%14 = tail call i32 @HFA384X_OUTW(i32 noundef %10, i32 noundef %13) #2
%15 = tail call i32 @udelay(i32 noundef 5) #2
%16 = load i32, ptr @HFA384X_AUXDATA_OFF, align 4, !tbaa !6
%17 = ashr exact i32 %2, 1
%18 = tail call i32 @HFA384X_INSW(i32 noundef %16, ptr noundef %3, i32 noundef %17) #2
br label %19
19: ; preds = %4, %8
%20 = phi i32 [ 0, %8 ], [ -1, %4 ]
ret i32 %20
}
declare i32 @HFA384X_OUTW(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @HFA384X_INSW(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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_wireless_intersil_hostap_extr_hostap_download.c_hfa384x_from_aux |
; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_st_8_aw.c'
source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_st_8_aw.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 @m68k_op_st_8_aw], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @m68k_op_st_8_aw() #0 {
%1 = tail call i32 (...) @EA_AW_8() #2
%2 = tail call i32 @m68ki_write_8(i32 noundef %1, i32 noundef 255) #2
ret void
}
declare i32 @m68ki_write_8(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @EA_AW_8(...) 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/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_st_8_aw.c'
source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_st_8_aw.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 @m68k_op_st_8_aw], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @m68k_op_st_8_aw() #0 {
%1 = tail call i32 @EA_AW_8() #2
%2 = tail call i32 @m68ki_write_8(i32 noundef %1, i32 noundef 255) #2
ret void
}
declare i32 @m68ki_write_8(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @EA_AW_8(...) 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)"}
| Provenance_Cores_Genesis-Plus-GX_PVGenesis_Genesis_GenesisCore_genplusgx_source_m68k_extr_m68kops.h_m68k_op_st_8_aw |
; ModuleID = 'AnghaBench/freebsd/contrib/amd/libamu/extr_xutil.c_clocktime.c'
source_filename = "AnghaBench/freebsd/contrib/amd/libamu/extr_xutil.c_clocktime.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.timeval = type { i64, i64 }
%struct.TYPE_3__ = type { ptr, ptr }
@clocktime.now = internal global %struct.timeval zeroinitializer, align 8
@XLOG_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"clocktime: gettimeofday: %m\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @clocktime(ptr noundef writeonly %0) local_unnamed_addr #0 {
%2 = tail call i64 @gettimeofday(ptr noundef nonnull @clocktime.now, ptr noundef null) #2
%3 = icmp slt i64 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = load i64, ptr @clocktime.now, align 8, !tbaa !5
br label %11
6: ; preds = %1
%7 = load i32, ptr @XLOG_ERROR, align 4, !tbaa !10
%8 = tail call i32 @plog(i32 noundef %7, ptr noundef nonnull @.str) #2
%9 = load i64, ptr @clocktime.now, align 8, !tbaa !5
%10 = add nsw i64 %9, 1
store i64 %10, ptr @clocktime.now, align 8, !tbaa !5
br label %11
11: ; preds = %4, %6
%12 = phi i64 [ %5, %4 ], [ %10, %6 ]
%13 = icmp eq ptr %0, null
br i1 %13, label %19, label %14
14: ; preds = %11
%15 = inttoptr i64 %12 to ptr
%16 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
store ptr %15, ptr %16, align 8, !tbaa !12
%17 = load i64, ptr getelementptr inbounds (%struct.timeval, ptr @clocktime.now, i64 0, i32 1), align 8, !tbaa !15
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %0, align 8, !tbaa !16
br label %19
19: ; preds = %14, %11
%20 = trunc i64 %12 to i32
ret i32 %20
}
declare i64 @gettimeofday(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @plog(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 = !{!"timeval", !7, i64 0, !7, i64 8}
!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, !14, i64 8}
!13 = !{!"TYPE_3__", !14, i64 0, !14, i64 8}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!6, !7, i64 8}
!16 = !{!13, !14, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/amd/libamu/extr_xutil.c_clocktime.c'
source_filename = "AnghaBench/freebsd/contrib/amd/libamu/extr_xutil.c_clocktime.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.timeval = type { i64, i64 }
@clocktime.now = internal global %struct.timeval zeroinitializer, align 8
@XLOG_ERROR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"clocktime: gettimeofday: %m\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @clocktime(ptr noundef writeonly %0) local_unnamed_addr #0 {
%2 = tail call i64 @gettimeofday(ptr noundef nonnull @clocktime.now, ptr noundef null) #2
%3 = icmp slt i64 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = load i64, ptr @clocktime.now, align 8, !tbaa !6
br label %11
6: ; preds = %1
%7 = load i32, ptr @XLOG_ERROR, align 4, !tbaa !11
%8 = tail call i32 @plog(i32 noundef %7, ptr noundef nonnull @.str) #2
%9 = load i64, ptr @clocktime.now, align 8, !tbaa !6
%10 = add nsw i64 %9, 1
store i64 %10, ptr @clocktime.now, align 8, !tbaa !6
br label %11
11: ; preds = %4, %6
%12 = phi i64 [ %5, %4 ], [ %10, %6 ]
%13 = icmp eq ptr %0, null
br i1 %13, label %19, label %14
14: ; preds = %11
%15 = inttoptr i64 %12 to ptr
%16 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %15, ptr %16, align 8, !tbaa !13
%17 = load i64, ptr getelementptr inbounds (i8, ptr @clocktime.now, i64 8), align 8, !tbaa !16
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %0, align 8, !tbaa !17
br label %19
19: ; preds = %14, %11
%20 = trunc i64 %12 to i32
ret i32 %20
}
declare i64 @gettimeofday(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @plog(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 = !{!"timeval", !8, i64 0, !8, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !15, i64 8}
!14 = !{!"TYPE_3__", !15, i64 0, !15, i64 8}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!7, !8, i64 8}
!17 = !{!14, !15, i64 0}
| freebsd_contrib_amd_libamu_extr_xutil.c_clocktime |
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_StGetAdminMsg.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_StGetAdminMsg.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_32__ = type { i32 }
%struct.TYPE_29__ = type { ptr }
%struct.TYPE_30__ = type { i32, i32 }
%struct.TYPE_34__ = type { i32, ptr }
@ERR_NO_ERROR = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [20 x i8] c"WINVER_ERROR_FORMAT\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"WINVER_ERROR_PC_LOCAL\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"WINVER_ERROR_VPNSERVER\00", align 1
@SUPPORTED_WINDOWS_LIST = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [23 x i8] c"WINVER_ERROR_PC_REMOTE\00", align 1
@GSF_SHOW_OSS_MSG = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [8 x i8] c"OSS_MSG\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i64 @StGetAdminMsg(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.TYPE_32__, align 4
%4 = alloca %struct.TYPE_32__, align 4
%5 = alloca [3800 x %struct.TYPE_29__], align 16
%6 = alloca [3800 x %struct.TYPE_29__], align 16
%7 = alloca %struct.TYPE_30__, align 4
%8 = alloca %struct.TYPE_30__, align 4
%9 = getelementptr inbounds %struct.TYPE_34__, ptr %0, i64 0, i32 1
%10 = load ptr, ptr %9, align 8, !tbaa !5
%11 = load ptr, ptr %10, align 8, !tbaa !11
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 30400, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 30400, ptr nonnull %6) #3
%12 = tail call i32 @FreeRpcMsg(ptr noundef %1) #3
%13 = tail call i32 @Zero(ptr noundef %1, i32 noundef 8) #3
%14 = call i32 @GetWinVer(ptr noundef nonnull %3) #3
%15 = call i32 @Copy(ptr noundef nonnull %4, ptr noundef %0, i32 noundef 4) #3
%16 = call i32 @Zero(ptr noundef nonnull %5, i32 noundef 30400) #3
%17 = call i32 @Zero(ptr noundef nonnull %6, i32 noundef 30400) #3
%18 = call i32 @IsSupportedWinVer(ptr noundef nonnull %4) #3
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %35
20: ; preds = %2
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
%21 = call i32 @LocalTime(ptr noundef nonnull %7) #3
%22 = call ptr @_UU(ptr noundef nonnull @.str) #3
%23 = call ptr @_UU(ptr noundef nonnull @.str.1) #3
%24 = load i32, ptr %4, align 4, !tbaa !13
%25 = call ptr @_UU(ptr noundef nonnull @.str.2) #3
%26 = load i32, ptr @SUPPORTED_WINDOWS_LIST, align 4, !tbaa !15
%27 = call ptr @_UU(ptr noundef nonnull @.str.1) #3
%28 = call ptr @_UU(ptr noundef nonnull @.str.2) #3
%29 = call ptr @_UU(ptr noundef nonnull @.str.2) #3
%30 = call ptr @_UU(ptr noundef nonnull @.str.2) #3
%31 = getelementptr inbounds %struct.TYPE_30__, ptr %7, i64 0, i32 1
%32 = load i32, ptr %31, align 4, !tbaa !16
%33 = load i32, ptr %7, align 4, !tbaa !18
%34 = call i32 @UniFormat(ptr noundef nonnull %5, i32 noundef 30400, ptr noundef %22, ptr noundef %23, i32 noundef %24, ptr noundef %25, i32 noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30, i32 noundef %32, i32 noundef %33) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
br label %35
35: ; preds = %20, %2
%36 = call i32 @IsSupportedWinVer(ptr noundef nonnull %3) #3
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %53
38: ; preds = %35
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
%39 = call i32 @LocalTime(ptr noundef nonnull %8) #3
%40 = call ptr @_UU(ptr noundef nonnull @.str) #3
%41 = call ptr @_UU(ptr noundef nonnull @.str.3) #3
%42 = load i32, ptr %3, align 4, !tbaa !13
%43 = call ptr @_UU(ptr noundef nonnull @.str.2) #3
%44 = load i32, ptr @SUPPORTED_WINDOWS_LIST, align 4, !tbaa !15
%45 = call ptr @_UU(ptr noundef nonnull @.str.3) #3
%46 = call ptr @_UU(ptr noundef nonnull @.str.2) #3
%47 = call ptr @_UU(ptr noundef nonnull @.str.2) #3
%48 = call ptr @_UU(ptr noundef nonnull @.str.2) #3
%49 = getelementptr inbounds %struct.TYPE_30__, ptr %8, i64 0, i32 1
%50 = load i32, ptr %49, align 4, !tbaa !16
%51 = load i32, ptr %8, align 4, !tbaa !18
%52 = call i32 @UniFormat(ptr noundef nonnull %6, i32 noundef 30400, ptr noundef %40, ptr noundef %41, i32 noundef %42, ptr noundef %43, i32 noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, i32 noundef %50, i32 noundef %51) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
br label %53
53: ; preds = %38, %35
%54 = call i64 @UniStrSize(ptr noundef nonnull %5) #3
%55 = call i64 @UniStrSize(ptr noundef nonnull %6) #3
%56 = add i64 %54, 10000
%57 = add i64 %56, %55
%58 = call ptr @ZeroMalloc(i64 noundef %57) #3
%59 = load i32, ptr %11, align 4, !tbaa !19
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %68
61: ; preds = %53
%62 = load i32, ptr @GSF_SHOW_OSS_MSG, align 4, !tbaa !15
%63 = call i64 @GetGlobalServerFlag(i32 noundef %62) #3
%64 = icmp eq i64 %63, 0
br i1 %64, label %68, label %65
65: ; preds = %61
%66 = call ptr @_UU(ptr noundef nonnull @.str.4) #3
%67 = call i32 @UniStrCat(ptr noundef %58, i64 noundef %57, ptr noundef %66) #3
br label %68
68: ; preds = %61, %65, %53
%69 = call i32 @UniStrCat(ptr noundef %58, i64 noundef %57, ptr noundef nonnull %5) #3
%70 = call i32 @UniStrCat(ptr noundef %58, i64 noundef %57, ptr noundef nonnull %6) #3
store ptr %58, ptr %1, align 8, !tbaa !21
%71 = load i64, ptr @ERR_NO_ERROR, align 8, !tbaa !23
call void @llvm.lifetime.end.p0(i64 30400, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 30400, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i64 %71
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @FreeRpcMsg(ptr noundef) local_unnamed_addr #2
declare i32 @Zero(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @GetWinVer(ptr noundef) local_unnamed_addr #2
declare i32 @Copy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @IsSupportedWinVer(ptr noundef) local_unnamed_addr #2
declare i32 @LocalTime(ptr noundef) local_unnamed_addr #2
declare i32 @UniFormat(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @_UU(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 @UniStrSize(ptr noundef) local_unnamed_addr #2
declare ptr @ZeroMalloc(i64 noundef) local_unnamed_addr #2
declare i64 @GetGlobalServerFlag(i32 noundef) local_unnamed_addr #2
declare i32 @UniStrCat(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 = { 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_34__", !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 = !{!12, !10, i64 0}
!12 = !{!"TYPE_31__", !10, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_32__", !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !7, i64 4}
!17 = !{!"TYPE_30__", !7, i64 0, !7, i64 4}
!18 = !{!17, !7, i64 0}
!19 = !{!20, !7, i64 0}
!20 = !{!"TYPE_33__", !7, i64 0}
!21 = !{!22, !10, i64 0}
!22 = !{!"TYPE_29__", !10, i64 0}
!23 = !{!24, !24, i64 0}
!24 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_StGetAdminMsg.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_StGetAdminMsg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_32__ = type { i32 }
%struct.TYPE_29__ = type { ptr }
%struct.TYPE_30__ = type { i32, i32 }
@ERR_NO_ERROR = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [20 x i8] c"WINVER_ERROR_FORMAT\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"WINVER_ERROR_PC_LOCAL\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"WINVER_ERROR_VPNSERVER\00", align 1
@SUPPORTED_WINDOWS_LIST = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [23 x i8] c"WINVER_ERROR_PC_REMOTE\00", align 1
@GSF_SHOW_OSS_MSG = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [8 x i8] c"OSS_MSG\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @StGetAdminMsg(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.TYPE_32__, align 4
%4 = alloca %struct.TYPE_32__, align 4
%5 = alloca [3800 x %struct.TYPE_29__], align 8
%6 = alloca [3800 x %struct.TYPE_29__], align 8
%7 = alloca %struct.TYPE_30__, align 4
%8 = alloca %struct.TYPE_30__, align 4
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = load ptr, ptr %9, align 8, !tbaa !6
%11 = load ptr, ptr %10, align 8, !tbaa !12
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 30400, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 30400, ptr nonnull %6) #3
%12 = tail call i32 @FreeRpcMsg(ptr noundef %1) #3
%13 = tail call i32 @Zero(ptr noundef %1, i32 noundef 8) #3
%14 = call i32 @GetWinVer(ptr noundef nonnull %3) #3
%15 = call i32 @Copy(ptr noundef nonnull %4, ptr noundef %0, i32 noundef 4) #3
%16 = call i32 @Zero(ptr noundef nonnull %5, i32 noundef 30400) #3
%17 = call i32 @Zero(ptr noundef nonnull %6, i32 noundef 30400) #3
%18 = call i32 @IsSupportedWinVer(ptr noundef nonnull %4) #3
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %35
20: ; preds = %2
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
%21 = call i32 @LocalTime(ptr noundef nonnull %7) #3
%22 = call ptr @_UU(ptr noundef nonnull @.str) #3
%23 = call ptr @_UU(ptr noundef nonnull @.str.1) #3
%24 = load i32, ptr %4, align 4, !tbaa !14
%25 = call ptr @_UU(ptr noundef nonnull @.str.2) #3
%26 = load i32, ptr @SUPPORTED_WINDOWS_LIST, align 4, !tbaa !16
%27 = call ptr @_UU(ptr noundef nonnull @.str.1) #3
%28 = call ptr @_UU(ptr noundef nonnull @.str.2) #3
%29 = call ptr @_UU(ptr noundef nonnull @.str.2) #3
%30 = call ptr @_UU(ptr noundef nonnull @.str.2) #3
%31 = getelementptr inbounds i8, ptr %7, i64 4
%32 = load i32, ptr %31, align 4, !tbaa !17
%33 = load i32, ptr %7, align 4, !tbaa !19
%34 = call i32 @UniFormat(ptr noundef nonnull %5, i32 noundef 30400, ptr noundef %22, ptr noundef %23, i32 noundef %24, ptr noundef %25, i32 noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30, i32 noundef %32, i32 noundef %33) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
br label %35
35: ; preds = %20, %2
%36 = call i32 @IsSupportedWinVer(ptr noundef nonnull %3) #3
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %53
38: ; preds = %35
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
%39 = call i32 @LocalTime(ptr noundef nonnull %8) #3
%40 = call ptr @_UU(ptr noundef nonnull @.str) #3
%41 = call ptr @_UU(ptr noundef nonnull @.str.3) #3
%42 = load i32, ptr %3, align 4, !tbaa !14
%43 = call ptr @_UU(ptr noundef nonnull @.str.2) #3
%44 = load i32, ptr @SUPPORTED_WINDOWS_LIST, align 4, !tbaa !16
%45 = call ptr @_UU(ptr noundef nonnull @.str.3) #3
%46 = call ptr @_UU(ptr noundef nonnull @.str.2) #3
%47 = call ptr @_UU(ptr noundef nonnull @.str.2) #3
%48 = call ptr @_UU(ptr noundef nonnull @.str.2) #3
%49 = getelementptr inbounds i8, ptr %8, i64 4
%50 = load i32, ptr %49, align 4, !tbaa !17
%51 = load i32, ptr %8, align 4, !tbaa !19
%52 = call i32 @UniFormat(ptr noundef nonnull %6, i32 noundef 30400, ptr noundef %40, ptr noundef %41, i32 noundef %42, ptr noundef %43, i32 noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, i32 noundef %50, i32 noundef %51) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
br label %53
53: ; preds = %38, %35
%54 = call i64 @UniStrSize(ptr noundef nonnull %5) #3
%55 = call i64 @UniStrSize(ptr noundef nonnull %6) #3
%56 = add i64 %54, 10000
%57 = add i64 %56, %55
%58 = call ptr @ZeroMalloc(i64 noundef %57) #3
%59 = load i32, ptr %11, align 4, !tbaa !20
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %68
61: ; preds = %53
%62 = load i32, ptr @GSF_SHOW_OSS_MSG, align 4, !tbaa !16
%63 = call i64 @GetGlobalServerFlag(i32 noundef %62) #3
%64 = icmp eq i64 %63, 0
br i1 %64, label %68, label %65
65: ; preds = %61
%66 = call ptr @_UU(ptr noundef nonnull @.str.4) #3
%67 = call i32 @UniStrCat(ptr noundef %58, i64 noundef %57, ptr noundef %66) #3
br label %68
68: ; preds = %61, %65, %53
%69 = call i32 @UniStrCat(ptr noundef %58, i64 noundef %57, ptr noundef nonnull %5) #3
%70 = call i32 @UniStrCat(ptr noundef %58, i64 noundef %57, ptr noundef nonnull %6) #3
store ptr %58, ptr %1, align 8, !tbaa !22
%71 = load i64, ptr @ERR_NO_ERROR, align 8, !tbaa !24
call void @llvm.lifetime.end.p0(i64 30400, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 30400, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i64 %71
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @FreeRpcMsg(ptr noundef) local_unnamed_addr #2
declare i32 @Zero(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @GetWinVer(ptr noundef) local_unnamed_addr #2
declare i32 @Copy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @IsSupportedWinVer(ptr noundef) local_unnamed_addr #2
declare i32 @LocalTime(ptr noundef) local_unnamed_addr #2
declare i32 @UniFormat(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @_UU(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 @UniStrSize(ptr noundef) local_unnamed_addr #2
declare ptr @ZeroMalloc(i64 noundef) local_unnamed_addr #2
declare i64 @GetGlobalServerFlag(i32 noundef) local_unnamed_addr #2
declare i32 @UniStrCat(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 = { 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_34__", !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 = !{!13, !11, i64 0}
!13 = !{!"TYPE_31__", !11, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_32__", !8, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!18, !8, i64 4}
!18 = !{!"TYPE_30__", !8, i64 0, !8, i64 4}
!19 = !{!18, !8, i64 0}
!20 = !{!21, !8, i64 0}
!21 = !{!"TYPE_33__", !8, i64 0}
!22 = !{!23, !11, i64 0}
!23 = !{!"TYPE_29__", !11, i64 0}
!24 = !{!25, !25, i64 0}
!25 = !{!"long", !9, i64 0}
| SoftEtherVPN_src_Cedar_extr_Admin.c_StGetAdminMsg |
; ModuleID = 'AnghaBench/darwin-xnu/security/extr_mac_vfs.c_mac_mount_check_setattr.c'
source_filename = "AnghaBench/darwin-xnu/security/extr_mac_vfs.c_mac_mount_check_setattr.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"
@mount_check_setattr = dso_local local_unnamed_addr global i32 0, align 4
@mac_vnode_enforce = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @mac_mount_check_setattr(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @vfs_context_ucred(i32 noundef %0) #2
%5 = tail call i32 @mac_cred_check_enforce(i32 noundef %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %3
%8 = load i32, ptr @mount_check_setattr, align 4, !tbaa !5
%9 = load i32, ptr %1, align 4, !tbaa !9
%10 = tail call i32 @MAC_CHECK(i32 noundef %8, i32 noundef %4, ptr noundef nonnull %1, i32 noundef %9, ptr noundef %2) #2
br label %11
11: ; preds = %3, %7
ret i32 0
}
declare i32 @vfs_context_ucred(i32 noundef) local_unnamed_addr #1
declare i32 @mac_cred_check_enforce(i32 noundef) local_unnamed_addr #1
declare i32 @MAC_CHECK(i32 noundef, i32 noundef, 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, !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 = !{!"mount", !6, i64 0}
| ; ModuleID = 'AnghaBench/darwin-xnu/security/extr_mac_vfs.c_mac_mount_check_setattr.c'
source_filename = "AnghaBench/darwin-xnu/security/extr_mac_vfs.c_mac_mount_check_setattr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@mount_check_setattr = common local_unnamed_addr global i32 0, align 4
@mac_vnode_enforce = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @mac_mount_check_setattr(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @vfs_context_ucred(i32 noundef %0) #2
%5 = tail call i32 @mac_cred_check_enforce(i32 noundef %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %3
%8 = load i32, ptr @mount_check_setattr, align 4, !tbaa !6
%9 = load i32, ptr %1, align 4, !tbaa !10
%10 = tail call i32 @MAC_CHECK(i32 noundef %8, i32 noundef %4, ptr noundef nonnull %1, i32 noundef %9, ptr noundef %2) #2
br label %11
11: ; preds = %3, %7
ret i32 0
}
declare i32 @vfs_context_ucred(i32 noundef) local_unnamed_addr #1
declare i32 @mac_cred_check_enforce(i32 noundef) local_unnamed_addr #1
declare i32 @MAC_CHECK(i32 noundef, i32 noundef, 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, !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 = !{!"mount", !7, i64 0}
| darwin-xnu_security_extr_mac_vfs.c_mac_mount_check_setattr |
; ModuleID = 'AnghaBench/linux/sound/usb/hiface/extr_pcm.c_hiface_pcm_open.c'
source_filename = "AnghaBench/linux/sound/usb/hiface/extr_pcm.c_hiface_pcm_open.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 }
%struct.snd_pcm_substream = type { i64, ptr }
%struct.pcm_runtime = type { i32, i64, ptr, %struct.pcm_substream, i64 }
%struct.pcm_substream = type { i32, ptr }
@EPIPE = dso_local local_unnamed_addr global i32 0, align 4
@pcm_hw = dso_local local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8
@SNDRV_PCM_STREAM_PLAYBACK = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [21 x i8] c"Invalid stream type\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@SNDRV_PCM_RATE_KNOT = dso_local local_unnamed_addr global i32 0, align 4
@SNDRV_PCM_HW_PARAM_RATE = dso_local local_unnamed_addr global i32 0, align 4
@constraints_extra_rates = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hiface_pcm_open], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @hiface_pcm_open(ptr noundef %0) #0 {
%2 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.snd_pcm_substream, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.pcm_runtime, ptr %2, i64 0, i32 4
%6 = load i64, ptr %5, align 8, !tbaa !11
%7 = icmp eq i64 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %1
%9 = load i32, ptr @EPIPE, align 4, !tbaa !15
%10 = sub nsw i32 0, %9
br label %45
11: ; preds = %1
%12 = tail call i32 @mutex_lock(ptr noundef nonnull %2) #2
%13 = load i64, ptr @pcm_hw, align 8
store i64 %13, ptr %4, align 4
%14 = load i64, ptr %0, align 8, !tbaa !16
%15 = load i64, ptr @SNDRV_PCM_STREAM_PLAYBACK, align 8, !tbaa !17
%16 = icmp eq i64 %14, %15
%17 = getelementptr inbounds %struct.pcm_runtime, ptr %2, i64 0, i32 3
%18 = lshr i64 %13, 32
%19 = trunc i64 %18 to i32
br i1 %16, label %28, label %20
20: ; preds = %11
%21 = getelementptr inbounds %struct.pcm_runtime, ptr %2, i64 0, i32 2
%22 = load ptr, ptr %21, align 8, !tbaa !18
%23 = load ptr, ptr %22, align 8, !tbaa !19
%24 = tail call i32 @mutex_unlock(ptr noundef nonnull %2) #2
%25 = tail call i32 @dev_err(ptr noundef %23, ptr noundef nonnull @.str) #2
%26 = load i32, ptr @EINVAL, align 4, !tbaa !15
%27 = sub nsw i32 0, %26
br label %45
28: ; preds = %11
%29 = getelementptr inbounds %struct.pcm_runtime, ptr %2, i64 0, i32 1
%30 = load i64, ptr %29, align 8, !tbaa !21
%31 = icmp eq i64 %30, 0
br i1 %31, label %42, label %32
32: ; preds = %28
%33 = load i32, ptr @SNDRV_PCM_RATE_KNOT, align 4, !tbaa !15
%34 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i64 0, i32 1
%35 = or i32 %33, %19
store i32 %35, ptr %34, align 4, !tbaa !22
store i32 384000, ptr %4, align 4, !tbaa !25
%36 = load ptr, ptr %3, align 8, !tbaa !5
%37 = load i32, ptr @SNDRV_PCM_HW_PARAM_RATE, align 4, !tbaa !15
%38 = tail call i32 @snd_pcm_hw_constraint_list(ptr noundef %36, i32 noundef 0, i32 noundef %37, ptr noundef nonnull @constraints_extra_rates) #2
%39 = icmp slt i32 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %32
%41 = tail call i32 @mutex_unlock(ptr noundef nonnull %2) #2
br label %45
42: ; preds = %32, %28
%43 = getelementptr inbounds %struct.pcm_runtime, ptr %2, i64 0, i32 3, i32 1
store ptr %0, ptr %43, align 8, !tbaa !26
store i32 0, ptr %17, align 8, !tbaa !27
%44 = tail call i32 @mutex_unlock(ptr noundef nonnull %2) #2
br label %45
45: ; preds = %42, %40, %20, %8
%46 = phi i32 [ %10, %8 ], [ %38, %40 ], [ 0, %42 ], [ %27, %20 ]
ret i32 %46
}
declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @snd_pcm_hw_constraint_list(ptr noundef, i32 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, !10, i64 8}
!6 = !{!"snd_pcm_substream", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 40}
!12 = !{!"pcm_runtime", !13, i64 0, !7, i64 8, !10, i64 16, !14, i64 24, !7, i64 40}
!13 = !{!"int", !8, i64 0}
!14 = !{!"pcm_substream", !13, i64 0, !10, i64 8}
!15 = !{!13, !13, i64 0}
!16 = !{!6, !7, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!12, !10, i64 16}
!19 = !{!20, !10, i64 0}
!20 = !{!"TYPE_5__", !10, i64 0}
!21 = !{!12, !7, i64 8}
!22 = !{!23, !13, i64 4}
!23 = !{!"snd_pcm_runtime", !24, i64 0}
!24 = !{!"TYPE_6__", !13, i64 0, !13, i64 4}
!25 = !{!23, !13, i64 0}
!26 = !{!14, !10, i64 8}
!27 = !{!14, !13, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/usb/hiface/extr_pcm.c_hiface_pcm_open.c'
source_filename = "AnghaBench/linux/sound/usb/hiface/extr_pcm.c_hiface_pcm_open.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_6__ = type { i32, i32 }
@EPIPE = common local_unnamed_addr global i32 0, align 4
@pcm_hw = common local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 4
@SNDRV_PCM_STREAM_PLAYBACK = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [21 x i8] c"Invalid stream type\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@SNDRV_PCM_RATE_KNOT = common local_unnamed_addr global i32 0, align 4
@SNDRV_PCM_HW_PARAM_RATE = common local_unnamed_addr global i32 0, align 4
@constraints_extra_rates = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hiface_pcm_open], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @hiface_pcm_open(ptr noundef %0) #0 {
%2 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %2, i64 40
%6 = load i64, ptr %5, align 8, !tbaa !12
%7 = icmp eq i64 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %1
%9 = load i32, ptr @EPIPE, align 4, !tbaa !16
%10 = sub nsw i32 0, %9
br label %45
11: ; preds = %1
%12 = tail call i32 @mutex_lock(ptr noundef nonnull %2) #2
%13 = load i64, ptr @pcm_hw, align 4
store i64 %13, ptr %4, align 4
%14 = load i64, ptr %0, align 8, !tbaa !17
%15 = load i64, ptr @SNDRV_PCM_STREAM_PLAYBACK, align 8, !tbaa !18
%16 = icmp eq i64 %14, %15
%17 = getelementptr inbounds i8, ptr %2, i64 24
%18 = lshr i64 %13, 32
%19 = trunc nuw i64 %18 to i32
br i1 %16, label %28, label %20
20: ; preds = %11
%21 = getelementptr inbounds i8, ptr %2, i64 16
%22 = load ptr, ptr %21, align 8, !tbaa !19
%23 = load ptr, ptr %22, align 8, !tbaa !20
%24 = tail call i32 @mutex_unlock(ptr noundef nonnull %2) #2
%25 = tail call i32 @dev_err(ptr noundef %23, ptr noundef nonnull @.str) #2
%26 = load i32, ptr @EINVAL, align 4, !tbaa !16
%27 = sub nsw i32 0, %26
br label %45
28: ; preds = %11
%29 = getelementptr inbounds i8, ptr %2, i64 8
%30 = load i64, ptr %29, align 8, !tbaa !22
%31 = icmp eq i64 %30, 0
br i1 %31, label %42, label %32
32: ; preds = %28
%33 = load i32, ptr @SNDRV_PCM_RATE_KNOT, align 4, !tbaa !16
%34 = getelementptr inbounds i8, ptr %4, i64 4
%35 = or i32 %33, %19
store i32 %35, ptr %34, align 4, !tbaa !23
store i32 384000, ptr %4, align 4, !tbaa !26
%36 = load ptr, ptr %3, align 8, !tbaa !6
%37 = load i32, ptr @SNDRV_PCM_HW_PARAM_RATE, align 4, !tbaa !16
%38 = tail call i32 @snd_pcm_hw_constraint_list(ptr noundef %36, i32 noundef 0, i32 noundef %37, ptr noundef nonnull @constraints_extra_rates) #2
%39 = icmp slt i32 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %32
%41 = tail call i32 @mutex_unlock(ptr noundef nonnull %2) #2
br label %45
42: ; preds = %32, %28
%43 = getelementptr inbounds i8, ptr %2, i64 32
store ptr %0, ptr %43, align 8, !tbaa !27
store i32 0, ptr %17, align 8, !tbaa !28
%44 = tail call i32 @mutex_unlock(ptr noundef nonnull %2) #2
br label %45
45: ; preds = %42, %40, %20, %8
%46 = phi i32 [ %10, %8 ], [ %38, %40 ], [ 0, %42 ], [ %27, %20 ]
ret i32 %46
}
declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @snd_pcm_hw_constraint_list(ptr noundef, i32 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, !11, i64 8}
!7 = !{!"snd_pcm_substream", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !8, i64 40}
!13 = !{!"pcm_runtime", !14, i64 0, !8, i64 8, !11, i64 16, !15, i64 24, !8, i64 40}
!14 = !{!"int", !9, i64 0}
!15 = !{!"pcm_substream", !14, i64 0, !11, i64 8}
!16 = !{!14, !14, i64 0}
!17 = !{!7, !8, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!13, !11, i64 16}
!20 = !{!21, !11, i64 0}
!21 = !{!"TYPE_5__", !11, i64 0}
!22 = !{!13, !8, i64 8}
!23 = !{!24, !14, i64 4}
!24 = !{!"snd_pcm_runtime", !25, i64 0}
!25 = !{!"TYPE_6__", !14, i64 0, !14, i64 4}
!26 = !{!24, !14, i64 0}
!27 = !{!15, !11, i64 8}
!28 = !{!15, !14, i64 0}
| linux_sound_usb_hiface_extr_pcm.c_hiface_pcm_open |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bna_enet.c_bna_ethport_uninit.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bna_enet.c_bna_ethport_uninit.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.bna_ethport = type { ptr, i32 }
@BNA_ETHPORT_F_ADMIN_UP = dso_local local_unnamed_addr global i32 0, align 4
@BNA_ETHPORT_F_PORT_ENABLED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bna_ethport_uninit], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal void @bna_ethport_uninit(ptr nocapture noundef %0) #0 {
%2 = load i32, ptr @BNA_ETHPORT_F_ADMIN_UP, align 4, !tbaa !5
%3 = getelementptr inbounds %struct.bna_ethport, ptr %0, i64 0, i32 1
%4 = load i32, ptr %3, align 8, !tbaa !9
%5 = load i32, ptr @BNA_ETHPORT_F_PORT_ENABLED, align 4, !tbaa !5
%6 = or i32 %2, %5
%7 = xor i32 %6, -1
%8 = and i32 %4, %7
store i32 %8, ptr %3, align 8, !tbaa !9
store ptr null, ptr %0, align 8, !tbaa !12
ret void
}
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"}
!9 = !{!10, !6, i64 8}
!10 = !{!"bna_ethport", !11, i64 0, !6, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bna_enet.c_bna_ethport_uninit.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bna_enet.c_bna_ethport_uninit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BNA_ETHPORT_F_ADMIN_UP = common local_unnamed_addr global i32 0, align 4
@BNA_ETHPORT_F_PORT_ENABLED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bna_ethport_uninit], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @bna_ethport_uninit(ptr nocapture noundef %0) #0 {
%2 = load i32, ptr @BNA_ETHPORT_F_ADMIN_UP, align 4, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i32, ptr %3, align 8, !tbaa !10
%5 = load i32, ptr @BNA_ETHPORT_F_PORT_ENABLED, align 4, !tbaa !6
%6 = or i32 %2, %5
%7 = xor i32 %6, -1
%8 = and i32 %4, %7
store i32 %8, ptr %3, align 8, !tbaa !10
store ptr null, ptr %0, align 8, !tbaa !13
ret void
}
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"}
!10 = !{!11, !7, i64 8}
!11 = !{!"bna_ethport", !12, i64 0, !7, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 0}
| fastsocket_kernel_drivers_net_bna_extr_bna_enet.c_bna_ethport_uninit |
; ModuleID = 'AnghaBench/linux/net/sched/extr_cls_flow.c_flow_get_src.c'
source_filename = "AnghaBench/linux/net/sched/extr_cls_flow.c_flow_get_src.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 @flow_get_src], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @flow_get_src(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = tail call i64 @flow_get_u32_src(ptr noundef %1) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = tail call i32 @ntohl(i64 noundef %3) #2
br label %10
7: ; preds = %2
%8 = load i32, ptr %0, align 4, !tbaa !5
%9 = tail call i32 @addr_fold(i32 noundef %8) #2
br label %10
10: ; preds = %7, %5
%11 = phi i32 [ %6, %5 ], [ %9, %7 ]
ret i32 %11
}
declare i64 @flow_get_u32_src(ptr noundef) local_unnamed_addr #1
declare i32 @ntohl(i64 noundef) local_unnamed_addr #1
declare i32 @addr_fold(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 = !{!"sk_buff", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/net/sched/extr_cls_flow.c_flow_get_src.c'
source_filename = "AnghaBench/linux/net/sched/extr_cls_flow.c_flow_get_src.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 @flow_get_src], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @flow_get_src(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = tail call i64 @flow_get_u32_src(ptr noundef %1) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = tail call i32 @ntohl(i64 noundef %3) #2
br label %10
7: ; preds = %2
%8 = load i32, ptr %0, align 4, !tbaa !6
%9 = tail call i32 @addr_fold(i32 noundef %8) #2
br label %10
10: ; preds = %7, %5
%11 = phi i32 [ %6, %5 ], [ %9, %7 ]
ret i32 %11
}
declare i64 @flow_get_u32_src(ptr noundef) local_unnamed_addr #1
declare i32 @ntohl(i64 noundef) local_unnamed_addr #1
declare i32 @addr_fold(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 = !{!"sk_buff", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_net_sched_extr_cls_flow.c_flow_get_src |
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/setupapi/extr_devinst.c_test_register_device_iface.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/setupapi/extr_devinst.c_test_register_device_iface.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 { i32 }
%struct.TYPE_12__ = type { i32 }
@test_register_device_iface.bogus = internal constant [48 x i8] c"System\\CurrentControlSet\\Enum\\Root\\LEGACY_BOGUS\00", align 16
@guid = dso_local global i32 0, align 4
@DIGCF_ALLCLASSES = dso_local local_unnamed_addr global i32 0, align 4
@INVALID_HANDLE_VALUE = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [42 x i8] c"Failed to create device list, error %#x.\0A\00", align 1
@HKEY_LOCAL_MACHINE = dso_local local_unnamed_addr global i32 0, align 4
@ERROR_FILE_NOT_FOUND = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [23 x i8] c"Key should not exist.\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"Root\\LEGACY_BOGUS\\0000\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"Failed to create device, error %#x.\0A\00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c"Failed to create interface, error %#x.\0A\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"removed\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"deleted\00", align 1
@.str.7 = private unnamed_addr constant [39 x i8] c"Failed to register device, error %#x.\0A\00", align 1
@.str.8 = private unnamed_addr constant [44 x i8] c"Failed to enumerate interfaces, error %#x.\0A\00", align 1
@.str.9 = private unnamed_addr constant [40 x i8] c"Failed to delete interface, error %#x.\0A\00", align 1
@DIGCF_DEVICEINTERFACE = dso_local local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [66 x i8] c"\\\\?\\root#legacy_bogus#0000#{6a55b5a4-3f65-11db-b704-0011955c2bdb}\00", align 1
@.str.11 = private unnamed_addr constant [74 x i8] c"\\\\?\\root#legacy_bogus#0000#{6a55b5a4-3f65-11db-b704-0011955c2bdb}\\deleted\00", align 1
@.str.12 = private unnamed_addr constant [37 x i8] c"Failed to remove device, error %#x.\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_register_device_iface], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @test_register_device_iface() #0 {
%1 = alloca %struct.TYPE_13__, align 4
%2 = alloca %struct.TYPE_12__, align 4
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
store i32 4, ptr %1, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 4, ptr %2, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @DIGCF_ALLCLASSES, align 4, !tbaa !5
%5 = tail call i64 @SetupDiGetClassDevsA(ptr noundef nonnull @guid, ptr noundef null, i32 noundef 0, i32 noundef %4) #3
%6 = load i64, ptr @INVALID_HANDLE_VALUE, align 8, !tbaa !9
%7 = icmp ne i64 %5, %6
%8 = zext i1 %7 to i32
%9 = tail call i32 (...) @GetLastError() #3
%10 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %9) #3
%11 = load i32, ptr @HKEY_LOCAL_MACHINE, align 4, !tbaa !5
%12 = call i64 @RegOpenKeyW(i32 noundef %11, ptr noundef nonnull @test_register_device_iface.bogus, ptr noundef nonnull %3) #3
%13 = load i64, ptr @ERROR_FILE_NOT_FOUND, align 8, !tbaa !9
%14 = icmp eq i64 %12, %13
%15 = zext i1 %14 to i32
%16 = call i32 (i32, ptr, ...) @ok(i32 noundef %15, ptr noundef nonnull @.str.1) #3
%17 = call i32 @SetupDiCreateDeviceInfoA(i64 noundef %5, ptr noundef nonnull @.str.2, ptr noundef nonnull @guid, ptr noundef null, ptr noundef null, i32 noundef 0, ptr noundef nonnull %2) #3
%18 = call i32 (...) @GetLastError() #3
%19 = call i32 (i32, ptr, ...) @ok(i32 noundef %17, ptr noundef nonnull @.str.3, i32 noundef %18) #3
%20 = call i32 @SetupDiCreateDeviceInterfaceA(i64 noundef %5, ptr noundef nonnull %2, ptr noundef nonnull @guid, ptr noundef null, i32 noundef 0, ptr noundef nonnull %1) #3
%21 = call i32 (...) @GetLastError() #3
%22 = call i32 (i32, ptr, ...) @ok(i32 noundef %20, ptr noundef nonnull @.str.4, i32 noundef %21) #3
%23 = call i32 @SetupDiCreateDeviceInterfaceA(i64 noundef %5, ptr noundef nonnull %2, ptr noundef nonnull @guid, ptr noundef nonnull @.str.5, i32 noundef 0, ptr noundef nonnull %1) #3
%24 = call i32 (...) @GetLastError() #3
%25 = call i32 (i32, ptr, ...) @ok(i32 noundef %23, ptr noundef nonnull @.str.4, i32 noundef %24) #3
%26 = call i32 @SetupDiCreateDeviceInterfaceA(i64 noundef %5, ptr noundef nonnull %2, ptr noundef nonnull @guid, ptr noundef nonnull @.str.6, i32 noundef 0, ptr noundef nonnull %1) #3
%27 = call i32 (...) @GetLastError() #3
%28 = call i32 (i32, ptr, ...) @ok(i32 noundef %26, ptr noundef nonnull @.str.4, i32 noundef %27) #3
%29 = call i32 @SetupDiRegisterDeviceInfo(i64 noundef %5, ptr noundef nonnull %2, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null) #3
%30 = call i32 (...) @GetLastError() #3
%31 = call i32 (i32, ptr, ...) @ok(i32 noundef %29, ptr noundef nonnull @.str.7, i32 noundef %30) #3
%32 = call i32 @SetupDiEnumDeviceInterfaces(i64 noundef %5, ptr noundef nonnull %2, ptr noundef nonnull @guid, i32 noundef 1, ptr noundef nonnull %1) #3
%33 = call i32 (...) @GetLastError() #3
%34 = call i32 (i32, ptr, ...) @ok(i32 noundef %32, ptr noundef nonnull @.str.8, i32 noundef %33) #3
%35 = call i32 @SetupDiRemoveDeviceInterface(i64 noundef %5, ptr noundef nonnull %1) #3
%36 = call i32 (...) @GetLastError() #3
%37 = call i32 (i32, ptr, ...) @ok(i32 noundef %35, ptr noundef nonnull @.str.9, i32 noundef %36) #3
%38 = call i32 @SetupDiEnumDeviceInterfaces(i64 noundef %5, ptr noundef nonnull %2, ptr noundef nonnull @guid, i32 noundef 2, ptr noundef nonnull %1) #3
%39 = call i32 (...) @GetLastError() #3
%40 = call i32 (i32, ptr, ...) @ok(i32 noundef %38, ptr noundef nonnull @.str.8, i32 noundef %39) #3
%41 = call i32 @SetupDiDeleteDeviceInterfaceData(i64 noundef %5, ptr noundef nonnull %1) #3
%42 = call i32 (...) @GetLastError() #3
%43 = call i32 (i32, ptr, ...) @ok(i32 noundef %41, ptr noundef nonnull @.str.9, i32 noundef %42) #3
%44 = load i32, ptr @DIGCF_DEVICEINTERFACE, align 4, !tbaa !5
%45 = call i64 @SetupDiGetClassDevsA(ptr noundef nonnull @guid, ptr noundef null, i32 noundef 0, i32 noundef %44) #3
%46 = load i64, ptr @INVALID_HANDLE_VALUE, align 8, !tbaa !9
%47 = icmp ne i64 %45, %46
%48 = zext i1 %47 to i32
%49 = call i32 (...) @GetLastError() #3
%50 = call i32 (i32, ptr, ...) @ok(i32 noundef %48, ptr noundef nonnull @.str, i32 noundef %49) #3
%51 = call i32 @check_device_iface(i64 noundef %45, ptr noundef null, ptr noundef nonnull @guid, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.10) #3
%52 = call i32 @check_device_iface(i64 noundef %45, ptr noundef null, ptr noundef nonnull @guid, i32 noundef 1, i32 noundef 0, ptr noundef nonnull @.str.11) #3
%53 = call i32 @check_device_iface(i64 noundef %45, ptr noundef null, ptr noundef nonnull @guid, i32 noundef 2, i32 noundef 0, ptr noundef null) #3
%54 = call i32 @SetupDiRemoveDevice(i64 noundef %5, ptr noundef nonnull %2) #3
%55 = call i32 (...) @GetLastError() #3
%56 = call i32 (i32, ptr, ...) @ok(i32 noundef %54, ptr noundef nonnull @.str.12, i32 noundef %55) #3
%57 = call i32 @SetupDiDestroyDeviceInfoList(i64 noundef %5) #3
%58 = call i32 @SetupDiDestroyDeviceInfoList(i64 noundef %45) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
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 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 @SetupDiGetClassDevsA(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @GetLastError(...) local_unnamed_addr #2
declare i64 @RegOpenKeyW(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SetupDiCreateDeviceInfoA(i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SetupDiCreateDeviceInterfaceA(i64 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SetupDiRegisterDeviceInfo(i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SetupDiEnumDeviceInterfaces(i64 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SetupDiRemoveDeviceInterface(i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SetupDiDeleteDeviceInterfaceData(i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @check_device_iface(i64 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SetupDiRemoveDevice(i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SetupDiDestroyDeviceInfoList(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 = !{!"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/reactos/modules/rostests/winetests/setupapi/extr_devinst.c_test_register_device_iface.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/setupapi/extr_devinst.c_test_register_device_iface.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_13__ = type { i32 }
%struct.TYPE_12__ = type { i32 }
@test_register_device_iface.bogus = internal constant [48 x i8] c"System\\CurrentControlSet\\Enum\\Root\\LEGACY_BOGUS\00", align 1
@guid = common global i32 0, align 4
@DIGCF_ALLCLASSES = common local_unnamed_addr global i32 0, align 4
@INVALID_HANDLE_VALUE = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [42 x i8] c"Failed to create device list, error %#x.\0A\00", align 1
@HKEY_LOCAL_MACHINE = common local_unnamed_addr global i32 0, align 4
@ERROR_FILE_NOT_FOUND = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [23 x i8] c"Key should not exist.\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"Root\\LEGACY_BOGUS\\0000\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"Failed to create device, error %#x.\0A\00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c"Failed to create interface, error %#x.\0A\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"removed\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"deleted\00", align 1
@.str.7 = private unnamed_addr constant [39 x i8] c"Failed to register device, error %#x.\0A\00", align 1
@.str.8 = private unnamed_addr constant [44 x i8] c"Failed to enumerate interfaces, error %#x.\0A\00", align 1
@.str.9 = private unnamed_addr constant [40 x i8] c"Failed to delete interface, error %#x.\0A\00", align 1
@DIGCF_DEVICEINTERFACE = common local_unnamed_addr global i32 0, align 4
@.str.10 = private unnamed_addr constant [66 x i8] c"\\\\?\\root#legacy_bogus#0000#{6a55b5a4-3f65-11db-b704-0011955c2bdb}\00", align 1
@.str.11 = private unnamed_addr constant [74 x i8] c"\\\\?\\root#legacy_bogus#0000#{6a55b5a4-3f65-11db-b704-0011955c2bdb}\\deleted\00", align 1
@.str.12 = private unnamed_addr constant [37 x i8] c"Failed to remove device, error %#x.\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @test_register_device_iface], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @test_register_device_iface() #0 {
%1 = alloca %struct.TYPE_13__, align 4
%2 = alloca %struct.TYPE_12__, align 4
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
store i32 4, ptr %1, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 4, ptr %2, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @DIGCF_ALLCLASSES, align 4, !tbaa !6
%5 = tail call i64 @SetupDiGetClassDevsA(ptr noundef nonnull @guid, ptr noundef null, i32 noundef 0, i32 noundef %4) #3
%6 = load i64, ptr @INVALID_HANDLE_VALUE, align 8, !tbaa !10
%7 = icmp ne i64 %5, %6
%8 = zext i1 %7 to i32
%9 = tail call i32 @GetLastError() #3
%10 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %9) #3
%11 = load i32, ptr @HKEY_LOCAL_MACHINE, align 4, !tbaa !6
%12 = call i64 @RegOpenKeyW(i32 noundef %11, ptr noundef nonnull @test_register_device_iface.bogus, ptr noundef nonnull %3) #3
%13 = load i64, ptr @ERROR_FILE_NOT_FOUND, align 8, !tbaa !10
%14 = icmp eq i64 %12, %13
%15 = zext i1 %14 to i32
%16 = call i32 (i32, ptr, ...) @ok(i32 noundef %15, ptr noundef nonnull @.str.1) #3
%17 = call i32 @SetupDiCreateDeviceInfoA(i64 noundef %5, ptr noundef nonnull @.str.2, ptr noundef nonnull @guid, ptr noundef null, ptr noundef null, i32 noundef 0, ptr noundef nonnull %2) #3
%18 = call i32 @GetLastError() #3
%19 = call i32 (i32, ptr, ...) @ok(i32 noundef %17, ptr noundef nonnull @.str.3, i32 noundef %18) #3
%20 = call i32 @SetupDiCreateDeviceInterfaceA(i64 noundef %5, ptr noundef nonnull %2, ptr noundef nonnull @guid, ptr noundef null, i32 noundef 0, ptr noundef nonnull %1) #3
%21 = call i32 @GetLastError() #3
%22 = call i32 (i32, ptr, ...) @ok(i32 noundef %20, ptr noundef nonnull @.str.4, i32 noundef %21) #3
%23 = call i32 @SetupDiCreateDeviceInterfaceA(i64 noundef %5, ptr noundef nonnull %2, ptr noundef nonnull @guid, ptr noundef nonnull @.str.5, i32 noundef 0, ptr noundef nonnull %1) #3
%24 = call i32 @GetLastError() #3
%25 = call i32 (i32, ptr, ...) @ok(i32 noundef %23, ptr noundef nonnull @.str.4, i32 noundef %24) #3
%26 = call i32 @SetupDiCreateDeviceInterfaceA(i64 noundef %5, ptr noundef nonnull %2, ptr noundef nonnull @guid, ptr noundef nonnull @.str.6, i32 noundef 0, ptr noundef nonnull %1) #3
%27 = call i32 @GetLastError() #3
%28 = call i32 (i32, ptr, ...) @ok(i32 noundef %26, ptr noundef nonnull @.str.4, i32 noundef %27) #3
%29 = call i32 @SetupDiRegisterDeviceInfo(i64 noundef %5, ptr noundef nonnull %2, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null) #3
%30 = call i32 @GetLastError() #3
%31 = call i32 (i32, ptr, ...) @ok(i32 noundef %29, ptr noundef nonnull @.str.7, i32 noundef %30) #3
%32 = call i32 @SetupDiEnumDeviceInterfaces(i64 noundef %5, ptr noundef nonnull %2, ptr noundef nonnull @guid, i32 noundef 1, ptr noundef nonnull %1) #3
%33 = call i32 @GetLastError() #3
%34 = call i32 (i32, ptr, ...) @ok(i32 noundef %32, ptr noundef nonnull @.str.8, i32 noundef %33) #3
%35 = call i32 @SetupDiRemoveDeviceInterface(i64 noundef %5, ptr noundef nonnull %1) #3
%36 = call i32 @GetLastError() #3
%37 = call i32 (i32, ptr, ...) @ok(i32 noundef %35, ptr noundef nonnull @.str.9, i32 noundef %36) #3
%38 = call i32 @SetupDiEnumDeviceInterfaces(i64 noundef %5, ptr noundef nonnull %2, ptr noundef nonnull @guid, i32 noundef 2, ptr noundef nonnull %1) #3
%39 = call i32 @GetLastError() #3
%40 = call i32 (i32, ptr, ...) @ok(i32 noundef %38, ptr noundef nonnull @.str.8, i32 noundef %39) #3
%41 = call i32 @SetupDiDeleteDeviceInterfaceData(i64 noundef %5, ptr noundef nonnull %1) #3
%42 = call i32 @GetLastError() #3
%43 = call i32 (i32, ptr, ...) @ok(i32 noundef %41, ptr noundef nonnull @.str.9, i32 noundef %42) #3
%44 = load i32, ptr @DIGCF_DEVICEINTERFACE, align 4, !tbaa !6
%45 = call i64 @SetupDiGetClassDevsA(ptr noundef nonnull @guid, ptr noundef null, i32 noundef 0, i32 noundef %44) #3
%46 = load i64, ptr @INVALID_HANDLE_VALUE, align 8, !tbaa !10
%47 = icmp ne i64 %45, %46
%48 = zext i1 %47 to i32
%49 = call i32 @GetLastError() #3
%50 = call i32 (i32, ptr, ...) @ok(i32 noundef %48, ptr noundef nonnull @.str, i32 noundef %49) #3
%51 = call i32 @check_device_iface(i64 noundef %45, ptr noundef null, ptr noundef nonnull @guid, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.10) #3
%52 = call i32 @check_device_iface(i64 noundef %45, ptr noundef null, ptr noundef nonnull @guid, i32 noundef 1, i32 noundef 0, ptr noundef nonnull @.str.11) #3
%53 = call i32 @check_device_iface(i64 noundef %45, ptr noundef null, ptr noundef nonnull @guid, i32 noundef 2, i32 noundef 0, ptr noundef null) #3
%54 = call i32 @SetupDiRemoveDevice(i64 noundef %5, ptr noundef nonnull %2) #3
%55 = call i32 @GetLastError() #3
%56 = call i32 (i32, ptr, ...) @ok(i32 noundef %54, ptr noundef nonnull @.str.12, i32 noundef %55) #3
%57 = call i32 @SetupDiDestroyDeviceInfoList(i64 noundef %5) #3
%58 = call i32 @SetupDiDestroyDeviceInfoList(i64 noundef %45) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
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 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 @SetupDiGetClassDevsA(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @GetLastError(...) local_unnamed_addr #2
declare i64 @RegOpenKeyW(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SetupDiCreateDeviceInfoA(i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SetupDiCreateDeviceInterfaceA(i64 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SetupDiRegisterDeviceInfo(i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SetupDiEnumDeviceInterfaces(i64 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SetupDiRemoveDeviceInterface(i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SetupDiDeleteDeviceInterfaceData(i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @check_device_iface(i64 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SetupDiRemoveDevice(i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SetupDiDestroyDeviceInfoList(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 = !{!"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}
| reactos_modules_rostests_winetests_setupapi_extr_devinst.c_test_register_device_iface |
; ModuleID = 'AnghaBench/php-src/ext/pcre/pcre2lib/sljit/extr_sljitNativePPC_common.c_emit_op_mem.c'
source_filename = "AnghaBench/php-src/ext/pcre/pcre2lib/sljit/extr_sljitNativePPC_common.c_emit_op_mem.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"
@SLJIT_MEM = dso_local local_unnamed_addr global i64 0, align 8
@OFFS_REG_MASK = dso_local local_unnamed_addr global i64 0, align 8
@data_transfer_insts = dso_local local_unnamed_addr global ptr null, align 8
@INDEXED = dso_local local_unnamed_addr global i64 0, align 8
@MEM_MASK = dso_local local_unnamed_addr global i64 0, align 8
@REG_MASK = dso_local local_unnamed_addr global i64 0, align 8
@SIMM_MAX = dso_local local_unnamed_addr global i32 0, align 4
@SIMM_MIN = dso_local local_unnamed_addr global i32 0, align 4
@ADDIS = dso_local local_unnamed_addr global i32 0, align 4
@INT_ALIGNED = dso_local local_unnamed_addr global i32 0, align 4
@RLWINM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @emit_op_mem], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @emit_op_mem(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i32 noundef %4, i64 noundef %5) #0 {
%7 = tail call i32 @A(i64 noundef 0) #2
%8 = icmp eq i32 %7, 0
%9 = zext i1 %8 to i32
%10 = tail call i32 @SLJIT_ASSERT(i32 noundef %9) #2
%11 = load i64, ptr @SLJIT_MEM, align 8, !tbaa !5
%12 = and i64 %11, %3
%13 = trunc i64 %12 to i32
%14 = tail call i32 @SLJIT_ASSERT(i32 noundef %13) #2
%15 = load i64, ptr @OFFS_REG_MASK, align 8, !tbaa !5
%16 = and i64 %15, %3
%17 = tail call i64 @SLJIT_UNLIKELY(i64 noundef %16) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %45, label %19
19: ; preds = %6
%20 = and i32 %4, 3
%21 = tail call i64 @OFFS_REG(i64 noundef %3) #2
%22 = icmp eq i32 %20, 0
br i1 %22, label %29, label %23
23: ; preds = %19
%24 = tail call i64 @OFFS_REG(i64 noundef %3) #2
%25 = xor i32 %20, 63
%26 = tail call i32 @RLDI(i64 noundef %5, i64 noundef %24, i32 noundef %20, i32 noundef %25, i32 noundef 1) #2
%27 = tail call i64 @push_inst(ptr noundef %0, i32 noundef %26) #2
%28 = tail call i32 @FAIL_IF(i64 noundef %27) #2
br label %29
29: ; preds = %23, %19
%30 = phi i64 [ %5, %23 ], [ %21, %19 ]
%31 = load ptr, ptr @data_transfer_insts, align 8, !tbaa !9
%32 = load i64, ptr @INDEXED, align 8, !tbaa !5
%33 = or i64 %32, %1
%34 = load i64, ptr @MEM_MASK, align 8, !tbaa !5
%35 = and i64 %33, %34
%36 = getelementptr inbounds i32, ptr %31, i64 %35
%37 = load i32, ptr %36, align 4, !tbaa !11
%38 = tail call i32 @INST_CODE_AND_DST(i32 noundef %37, i64 noundef %1, i64 noundef %2) #2
%39 = load i64, ptr @REG_MASK, align 8, !tbaa !5
%40 = and i64 %39, %3
%41 = tail call i32 @A(i64 noundef %40) #2
%42 = or i32 %41, %38
%43 = tail call i32 @B(i64 noundef %30) #2
%44 = or i32 %42, %43
br label %85
45: ; preds = %6
%46 = load ptr, ptr @data_transfer_insts, align 8, !tbaa !9
%47 = load i64, ptr @MEM_MASK, align 8, !tbaa !5
%48 = and i64 %47, %1
%49 = getelementptr inbounds i32, ptr %46, i64 %48
%50 = load i32, ptr %49, align 4, !tbaa !11
%51 = load i64, ptr @REG_MASK, align 8, !tbaa !5
%52 = and i64 %51, %3
%53 = load i32, ptr @SIMM_MAX, align 4, !tbaa !11
%54 = icmp slt i32 %53, %4
%55 = load i32, ptr @SIMM_MIN, align 4
%56 = icmp sgt i32 %55, %4
%57 = select i1 %54, i1 true, i1 %56
br i1 %57, label %64, label %58
58: ; preds = %45
%59 = tail call i32 @INST_CODE_AND_DST(i32 noundef %50, i64 noundef %1, i64 noundef %2) #2
%60 = tail call i32 @A(i64 noundef %52) #2
%61 = or i32 %60, %59
%62 = tail call i32 @IMM(i32 noundef %4) #2
%63 = or i32 %61, %62
br label %85
64: ; preds = %45
%65 = shl i32 %4, 1
%66 = and i32 %65, 65536
%67 = add nsw i32 %66, %4
%68 = and i32 %67, -65536
%69 = tail call i32 @SLJIT_ASSERT(i32 noundef %68) #2
%70 = load i32, ptr @ADDIS, align 4, !tbaa !11
%71 = tail call i32 @D(i64 noundef %5) #2
%72 = or i32 %71, %70
%73 = tail call i32 @A(i64 noundef %52) #2
%74 = or i32 %72, %73
%75 = ashr i32 %67, 16
%76 = tail call i32 @IMM(i32 noundef %75) #2
%77 = or i32 %74, %76
%78 = tail call i64 @push_inst(ptr noundef %0, i32 noundef %77) #2
%79 = tail call i32 @FAIL_IF(i64 noundef %78) #2
%80 = tail call i32 @INST_CODE_AND_DST(i32 noundef %50, i64 noundef %1, i64 noundef %2) #2
%81 = tail call i32 @A(i64 noundef %5) #2
%82 = or i32 %81, %80
%83 = tail call i32 @IMM(i32 noundef %4) #2
%84 = or i32 %82, %83
br label %85
85: ; preds = %64, %58, %29
%86 = phi i32 [ %84, %64 ], [ %63, %58 ], [ %44, %29 ]
%87 = tail call i64 @push_inst(ptr noundef %0, i32 noundef %86) #2
ret i64 %87
}
declare i32 @SLJIT_ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @A(i64 noundef) local_unnamed_addr #1
declare i64 @SLJIT_UNLIKELY(i64 noundef) local_unnamed_addr #1
declare i64 @OFFS_REG(i64 noundef) local_unnamed_addr #1
declare i32 @FAIL_IF(i64 noundef) local_unnamed_addr #1
declare i64 @push_inst(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RLDI(i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @INST_CODE_AND_DST(i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @B(i64 noundef) local_unnamed_addr #1
declare i32 @IMM(i32 noundef) local_unnamed_addr #1
declare i32 @D(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 = !{!"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 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/php-src/ext/pcre/pcre2lib/sljit/extr_sljitNativePPC_common.c_emit_op_mem.c'
source_filename = "AnghaBench/php-src/ext/pcre/pcre2lib/sljit/extr_sljitNativePPC_common.c_emit_op_mem.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SLJIT_MEM = common local_unnamed_addr global i64 0, align 8
@OFFS_REG_MASK = common local_unnamed_addr global i64 0, align 8
@data_transfer_insts = common local_unnamed_addr global ptr null, align 8
@INDEXED = common local_unnamed_addr global i64 0, align 8
@MEM_MASK = common local_unnamed_addr global i64 0, align 8
@REG_MASK = common local_unnamed_addr global i64 0, align 8
@SIMM_MAX = common local_unnamed_addr global i32 0, align 4
@SIMM_MIN = common local_unnamed_addr global i32 0, align 4
@ADDIS = common local_unnamed_addr global i32 0, align 4
@INT_ALIGNED = common local_unnamed_addr global i32 0, align 4
@RLWINM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @emit_op_mem], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @emit_op_mem(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i32 noundef %4, i64 noundef %5) #0 {
%7 = tail call i32 @A(i64 noundef 0) #2
%8 = icmp eq i32 %7, 0
%9 = zext i1 %8 to i32
%10 = tail call i32 @SLJIT_ASSERT(i32 noundef %9) #2
%11 = load i64, ptr @SLJIT_MEM, align 8, !tbaa !6
%12 = and i64 %11, %3
%13 = trunc i64 %12 to i32
%14 = tail call i32 @SLJIT_ASSERT(i32 noundef %13) #2
%15 = load i64, ptr @OFFS_REG_MASK, align 8, !tbaa !6
%16 = and i64 %15, %3
%17 = tail call i64 @SLJIT_UNLIKELY(i64 noundef %16) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %45, label %19
19: ; preds = %6
%20 = and i32 %4, 3
%21 = tail call i64 @OFFS_REG(i64 noundef %3) #2
%22 = icmp eq i32 %20, 0
br i1 %22, label %29, label %23
23: ; preds = %19
%24 = tail call i64 @OFFS_REG(i64 noundef %3) #2
%25 = xor i32 %20, 63
%26 = tail call i32 @RLDI(i64 noundef %5, i64 noundef %24, i32 noundef %20, i32 noundef %25, i32 noundef 1) #2
%27 = tail call i64 @push_inst(ptr noundef %0, i32 noundef %26) #2
%28 = tail call i32 @FAIL_IF(i64 noundef %27) #2
br label %29
29: ; preds = %23, %19
%30 = phi i64 [ %5, %23 ], [ %21, %19 ]
%31 = load ptr, ptr @data_transfer_insts, align 8, !tbaa !10
%32 = load i64, ptr @INDEXED, align 8, !tbaa !6
%33 = or i64 %32, %1
%34 = load i64, ptr @MEM_MASK, align 8, !tbaa !6
%35 = and i64 %33, %34
%36 = getelementptr inbounds i32, ptr %31, i64 %35
%37 = load i32, ptr %36, align 4, !tbaa !12
%38 = tail call i32 @INST_CODE_AND_DST(i32 noundef %37, i64 noundef %1, i64 noundef %2) #2
%39 = load i64, ptr @REG_MASK, align 8, !tbaa !6
%40 = and i64 %39, %3
%41 = tail call i32 @A(i64 noundef %40) #2
%42 = or i32 %41, %38
%43 = tail call i32 @B(i64 noundef %30) #2
%44 = or i32 %42, %43
br label %85
45: ; preds = %6
%46 = load ptr, ptr @data_transfer_insts, align 8, !tbaa !10
%47 = load i64, ptr @MEM_MASK, align 8, !tbaa !6
%48 = and i64 %47, %1
%49 = getelementptr inbounds i32, ptr %46, i64 %48
%50 = load i32, ptr %49, align 4, !tbaa !12
%51 = load i64, ptr @REG_MASK, align 8, !tbaa !6
%52 = and i64 %51, %3
%53 = load i32, ptr @SIMM_MAX, align 4, !tbaa !12
%54 = icmp slt i32 %53, %4
%55 = load i32, ptr @SIMM_MIN, align 4
%56 = icmp sgt i32 %55, %4
%57 = select i1 %54, i1 true, i1 %56
br i1 %57, label %64, label %58
58: ; preds = %45
%59 = tail call i32 @INST_CODE_AND_DST(i32 noundef %50, i64 noundef %1, i64 noundef %2) #2
%60 = tail call i32 @A(i64 noundef %52) #2
%61 = or i32 %60, %59
%62 = tail call i32 @IMM(i32 noundef %4) #2
%63 = or i32 %61, %62
br label %85
64: ; preds = %45
%65 = shl i32 %4, 1
%66 = and i32 %65, 65536
%67 = add nsw i32 %66, %4
%68 = and i32 %67, -65536
%69 = tail call i32 @SLJIT_ASSERT(i32 noundef %68) #2
%70 = load i32, ptr @ADDIS, align 4, !tbaa !12
%71 = tail call i32 @D(i64 noundef %5) #2
%72 = or i32 %71, %70
%73 = tail call i32 @A(i64 noundef %52) #2
%74 = or i32 %72, %73
%75 = ashr i32 %67, 16
%76 = tail call i32 @IMM(i32 noundef %75) #2
%77 = or i32 %74, %76
%78 = tail call i64 @push_inst(ptr noundef %0, i32 noundef %77) #2
%79 = tail call i32 @FAIL_IF(i64 noundef %78) #2
%80 = tail call i32 @INST_CODE_AND_DST(i32 noundef %50, i64 noundef %1, i64 noundef %2) #2
%81 = tail call i32 @A(i64 noundef %5) #2
%82 = or i32 %81, %80
%83 = tail call i32 @IMM(i32 noundef %4) #2
%84 = or i32 %82, %83
br label %85
85: ; preds = %64, %58, %29
%86 = phi i32 [ %84, %64 ], [ %63, %58 ], [ %44, %29 ]
%87 = tail call i64 @push_inst(ptr noundef %0, i32 noundef %86) #2
ret i64 %87
}
declare i32 @SLJIT_ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @A(i64 noundef) local_unnamed_addr #1
declare i64 @SLJIT_UNLIKELY(i64 noundef) local_unnamed_addr #1
declare i64 @OFFS_REG(i64 noundef) local_unnamed_addr #1
declare i32 @FAIL_IF(i64 noundef) local_unnamed_addr #1
declare i64 @push_inst(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RLDI(i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @INST_CODE_AND_DST(i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @B(i64 noundef) local_unnamed_addr #1
declare i32 @IMM(i32 noundef) local_unnamed_addr #1
declare i32 @D(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 = !{!"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 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
| php-src_ext_pcre_pcre2lib_sljit_extr_sljitNativePPC_common.c_emit_op_mem |
; ModuleID = 'AnghaBench/linux/drivers/scsi/pm8001/extr_pm8001_hwi.c_pm8001_mpi_dereg_resp.c'
source_filename = "AnghaBench/linux/drivers/scsi/pm8001/extr_pm8001_hwi.c_pm8001_mpi_dereg_resp.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 [56 x i8] c" deregister device failed ,status = %x, device_id = %x\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @pm8001_mpi_dereg_resp(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 4
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = tail call i64 @le32_to_cpu(i32 noundef %5) #2
%7 = load i32, ptr %3, align 4, !tbaa !10
%8 = tail call i64 @le32_to_cpu(i32 noundef %7) #2
%9 = icmp eq i64 %6, 0
br i1 %9, label %13, label %10
10: ; preds = %2
%11 = tail call i32 @pm8001_printk(ptr noundef nonnull @.str, i64 noundef %6, i64 noundef %8) #2
%12 = tail call i32 @PM8001_MSG_DBG(ptr noundef %0, i32 noundef %11) #2
br label %13
13: ; preds = %10, %2
ret i32 0
}
declare i64 @le32_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @PM8001_MSG_DBG(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pm8001_printk(ptr noundef, i64 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 4}
!6 = !{!"dev_reg_resp", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/pm8001/extr_pm8001_hwi.c_pm8001_mpi_dereg_resp.c'
source_filename = "AnghaBench/linux/drivers/scsi/pm8001/extr_pm8001_hwi.c_pm8001_mpi_dereg_resp.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 [56 x i8] c" deregister device failed ,status = %x, device_id = %x\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @pm8001_mpi_dereg_resp(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 4
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = tail call i64 @le32_to_cpu(i32 noundef %5) #2
%7 = load i32, ptr %3, align 4, !tbaa !11
%8 = tail call i64 @le32_to_cpu(i32 noundef %7) #2
%9 = icmp eq i64 %6, 0
br i1 %9, label %13, label %10
10: ; preds = %2
%11 = tail call i32 @pm8001_printk(ptr noundef nonnull @.str, i64 noundef %6, i64 noundef %8) #2
%12 = tail call i32 @PM8001_MSG_DBG(ptr noundef %0, i32 noundef %11) #2
br label %13
13: ; preds = %10, %2
ret i32 0
}
declare i64 @le32_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @PM8001_MSG_DBG(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pm8001_printk(ptr noundef, i64 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 4}
!7 = !{!"dev_reg_resp", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
| linux_drivers_scsi_pm8001_extr_pm8001_hwi.c_pm8001_mpi_dereg_resp |
; ModuleID = 'AnghaBench/sumatrapdf/ext/mujs/extr_jsvalue.c_js_newnumber.c'
source_filename = "AnghaBench/sumatrapdf/ext/mujs/extr_jsvalue.c_js_newnumber.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 void @js_newnumber(ptr noundef %0, double noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @jsV_newnumber(ptr noundef %0, double noundef %1) #2
%4 = tail call i32 @js_pushobject(ptr noundef %0, i32 noundef %3) #2
ret void
}
declare i32 @js_pushobject(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @jsV_newnumber(ptr noundef, double 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/sumatrapdf/ext/mujs/extr_jsvalue.c_js_newnumber.c'
source_filename = "AnghaBench/sumatrapdf/ext/mujs/extr_jsvalue.c_js_newnumber.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 @js_newnumber(ptr noundef %0, double noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @jsV_newnumber(ptr noundef %0, double noundef %1) #2
%4 = tail call i32 @js_pushobject(ptr noundef %0, i32 noundef %3) #2
ret void
}
declare i32 @js_pushobject(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @jsV_newnumber(ptr noundef, double 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)"}
| sumatrapdf_ext_mujs_extr_jsvalue.c_js_newnumber |
; ModuleID = 'AnghaBench/linux/drivers/auxdisplay/extr_hd44780.c_hd44780_write_gpio8.c'
source_filename = "AnghaBench/linux/drivers/auxdisplay/extr_hd44780.c_hd44780_write_gpio8.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"
@values = dso_local local_unnamed_addr global ptr null, align 8
@PIN_CTRL_RW = dso_local local_unnamed_addr global i64 0, align 8
@PIN_DATA0 = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @hd44780_write_gpio8], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @hd44780_write_gpio8(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr @values, align 8, !tbaa !5
%5 = tail call i32 @DECLARE_BITMAP(ptr noundef %4, i32 noundef 10) #2
%6 = load ptr, ptr @values, align 8, !tbaa !5
store i32 %1, ptr %6, align 4, !tbaa !9
%7 = tail call i32 @__assign_bit(i32 noundef 8, ptr noundef nonnull %6, i32 noundef %2) #2
%8 = load ptr, ptr %0, align 8, !tbaa !11
%9 = load i64, ptr @PIN_CTRL_RW, align 8, !tbaa !13
%10 = getelementptr inbounds i64, ptr %8, i64 %9
%11 = load i64, ptr %10, align 8, !tbaa !13
%12 = icmp eq i64 %11, 0
%13 = select i1 %12, i32 9, i32 10
%14 = load i64, ptr @PIN_DATA0, align 8, !tbaa !13
%15 = getelementptr inbounds i64, ptr %8, i64 %14
%16 = load ptr, ptr @values, align 8, !tbaa !5
%17 = tail call i32 @gpiod_set_array_value_cansleep(i32 noundef %13, ptr noundef %15, ptr noundef null, ptr noundef %16) #2
%18 = tail call i32 @hd44780_strobe_gpio(ptr noundef nonnull %0) #2
ret void
}
declare i32 @DECLARE_BITMAP(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__assign_bit(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gpiod_set_array_value_cansleep(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @hd44780_strobe_gpio(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}
!11 = !{!12, !6, i64 0}
!12 = !{!"hd44780", !6, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/auxdisplay/extr_hd44780.c_hd44780_write_gpio8.c'
source_filename = "AnghaBench/linux/drivers/auxdisplay/extr_hd44780.c_hd44780_write_gpio8.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@values = common local_unnamed_addr global ptr null, align 8
@PIN_CTRL_RW = common local_unnamed_addr global i64 0, align 8
@PIN_DATA0 = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @hd44780_write_gpio8], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @hd44780_write_gpio8(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr @values, align 8, !tbaa !6
%5 = tail call i32 @DECLARE_BITMAP(ptr noundef %4, i32 noundef 10) #2
%6 = load ptr, ptr @values, align 8, !tbaa !6
store i32 %1, ptr %6, align 4, !tbaa !10
%7 = tail call i32 @__assign_bit(i32 noundef 8, ptr noundef nonnull %6, i32 noundef %2) #2
%8 = load ptr, ptr %0, align 8, !tbaa !12
%9 = load i64, ptr @PIN_CTRL_RW, align 8, !tbaa !14
%10 = getelementptr inbounds i64, ptr %8, i64 %9
%11 = load i64, ptr %10, align 8, !tbaa !14
%12 = icmp eq i64 %11, 0
%13 = select i1 %12, i32 9, i32 10
%14 = load i64, ptr @PIN_DATA0, align 8, !tbaa !14
%15 = getelementptr inbounds i64, ptr %8, i64 %14
%16 = load ptr, ptr @values, align 8, !tbaa !6
%17 = tail call i32 @gpiod_set_array_value_cansleep(i32 noundef %13, ptr noundef %15, ptr noundef null, ptr noundef %16) #2
%18 = tail call i32 @hd44780_strobe_gpio(ptr noundef nonnull %0) #2
ret void
}
declare i32 @DECLARE_BITMAP(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__assign_bit(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gpiod_set_array_value_cansleep(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @hd44780_strobe_gpio(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}
!12 = !{!13, !7, i64 0}
!13 = !{!"hd44780", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
| linux_drivers_auxdisplay_extr_hd44780.c_hd44780_write_gpio8 |
; ModuleID = 'AnghaBench/h2o/t/00unit/lib/handler/extr_........libhandlerfastcgi.c_send_eos_and_close.c'
source_filename = "AnghaBench/h2o/t/00unit/lib/handler/extr_........libhandlerfastcgi.c_send_eos_and_close.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.st_fcgi_generator_t = type { %struct.TYPE_6__, i32, ptr, ptr }
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32 }
%struct.TYPE_8__ = type { i32, %struct.TYPE_7__ }
%struct.TYPE_7__ = type { i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @send_eos_and_close], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @send_eos_and_close(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.st_fcgi_generator_t, ptr %0, i64 0, i32 3
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_8__, ptr %4, i64 0, i32 1
%6 = load i64, ptr %5, align 8, !tbaa !13
%7 = icmp ne i64 %6, 0
%8 = icmp ne i32 %1, 0
%9 = and i1 %8, %7
%10 = getelementptr inbounds %struct.st_fcgi_generator_t, ptr %0, i64 0, i32 2
%11 = load ptr, ptr %10, align 8, !tbaa !17
br i1 %9, label %12, label %14
12: ; preds = %2
%13 = tail call i32 @h2o_socketpool_return(ptr noundef nonnull %4, ptr noundef %11) #2
br label %16
14: ; preds = %2
%15 = tail call i32 @h2o_socket_close(ptr noundef %11) #2
br label %16
16: ; preds = %14, %12
%17 = getelementptr inbounds %struct.st_fcgi_generator_t, ptr %0, i64 0, i32 2
store ptr null, ptr %17, align 8, !tbaa !17
%18 = getelementptr inbounds %struct.st_fcgi_generator_t, ptr %0, i64 0, i32 1
%19 = tail call i64 @h2o_timer_is_linked(ptr noundef nonnull %18) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %16
%22 = tail call i32 @h2o_timer_unlink(ptr noundef nonnull %18) #2
br label %23
23: ; preds = %21, %16
%24 = load i32, ptr %0, align 8, !tbaa !18
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = tail call i32 @do_send(ptr noundef nonnull %0) #2
br label %28
28: ; preds = %26, %23
ret void
}
declare i32 @h2o_socketpool_return(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @h2o_socket_close(ptr noundef) local_unnamed_addr #1
declare i64 @h2o_timer_is_linked(ptr noundef) local_unnamed_addr #1
declare i32 @h2o_timer_unlink(ptr noundef) local_unnamed_addr #1
declare i32 @do_send(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, !12, i64 16}
!6 = !{!"st_fcgi_generator_t", !7, i64 0, !9, i64 4, !12, i64 8, !12, i64 16}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"TYPE_5__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!14, !16, i64 8}
!14 = !{!"TYPE_8__", !9, i64 0, !15, i64 8}
!15 = !{!"TYPE_7__", !16, i64 0}
!16 = !{!"long", !10, i64 0}
!17 = !{!6, !12, i64 8}
!18 = !{!6, !9, i64 0}
| ; ModuleID = 'AnghaBench/h2o/t/00unit/lib/handler/extr_........libhandlerfastcgi.c_send_eos_and_close.c'
source_filename = "AnghaBench/h2o/t/00unit/lib/handler/extr_........libhandlerfastcgi.c_send_eos_and_close.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 @send_eos_and_close], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @send_eos_and_close(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %4, i64 8
%6 = load i64, ptr %5, align 8, !tbaa !14
%7 = icmp ne i64 %6, 0
%8 = icmp ne i32 %1, 0
%9 = and i1 %8, %7
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = load ptr, ptr %10, align 8, !tbaa !18
br i1 %9, label %12, label %14
12: ; preds = %2
%13 = tail call i32 @h2o_socketpool_return(ptr noundef nonnull %4, ptr noundef %11) #2
br label %16
14: ; preds = %2
%15 = tail call i32 @h2o_socket_close(ptr noundef %11) #2
br label %16
16: ; preds = %14, %12
store ptr null, ptr %10, align 8, !tbaa !18
%17 = getelementptr inbounds i8, ptr %0, i64 4
%18 = tail call i64 @h2o_timer_is_linked(ptr noundef nonnull %17) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %22, label %20
20: ; preds = %16
%21 = tail call i32 @h2o_timer_unlink(ptr noundef nonnull %17) #2
br label %22
22: ; preds = %20, %16
%23 = load i32, ptr %0, align 8, !tbaa !19
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = tail call i32 @do_send(ptr noundef nonnull %0) #2
br label %27
27: ; preds = %25, %22
ret void
}
declare i32 @h2o_socketpool_return(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @h2o_socket_close(ptr noundef) local_unnamed_addr #1
declare i64 @h2o_timer_is_linked(ptr noundef) local_unnamed_addr #1
declare i32 @h2o_timer_unlink(ptr noundef) local_unnamed_addr #1
declare i32 @do_send(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, !13, i64 16}
!7 = !{!"st_fcgi_generator_t", !8, i64 0, !10, i64 4, !13, i64 8, !13, i64 16}
!8 = !{!"TYPE_6__", !9, i64 0}
!9 = !{!"TYPE_5__", !10, i64 0}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!"any pointer", !11, i64 0}
!14 = !{!15, !17, i64 8}
!15 = !{!"TYPE_8__", !10, i64 0, !16, i64 8}
!16 = !{!"TYPE_7__", !17, i64 0}
!17 = !{!"long", !11, i64 0}
!18 = !{!7, !13, i64 8}
!19 = !{!7, !10, i64 0}
| h2o_t_00unit_lib_handler_extr_........libhandlerfastcgi.c_send_eos_and_close |
; ModuleID = 'AnghaBench/linux/drivers/misc/mic/scif/extr_scif_fence.c_scif_recv_wait_resp.c'
source_filename = "AnghaBench/linux/drivers/misc/mic/scif/extr_scif_fence.c_scif_recv_wait_resp.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.scifmsg = type { i64, ptr }
%struct.scif_fence_info = type { i32, i32 }
@SCIF_WAIT_ACK = dso_local local_unnamed_addr global i64 0, align 8
@OP_COMPLETED = dso_local local_unnamed_addr global i32 0, align 4
@OP_FAILED = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @scif_recv_wait_resp(ptr nocapture noundef readnone %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.scifmsg, ptr %1, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i64, ptr %4, align 8, !tbaa !11
%6 = inttoptr i64 %5 to ptr
%7 = getelementptr inbounds i64, ptr %4, i64 1
%8 = load i64, ptr %7, align 8, !tbaa !11
%9 = tail call i32 @mutex_lock(ptr noundef %6) #2
%10 = load i64, ptr %1, align 8, !tbaa !12
%11 = load i64, ptr @SCIF_WAIT_ACK, align 8, !tbaa !11
%12 = icmp eq i64 %10, %11
%13 = load i32, ptr @OP_COMPLETED, align 4
%14 = load i32, ptr @OP_FAILED, align 4
%15 = select i1 %12, i32 %13, i32 %14
%16 = inttoptr i64 %8 to ptr
%17 = getelementptr inbounds %struct.scif_fence_info, ptr %16, i64 0, i32 1
store i32 %15, ptr %17, align 4
%18 = tail call i32 @mutex_unlock(ptr noundef %6) #2
%19 = tail call i32 @complete(ptr noundef nonnull %16) #2
ret void
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @complete(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 = !{!"scifmsg", !7, i64 0, !10, i64 8}
!7 = !{!"long", !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 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/misc/mic/scif/extr_scif_fence.c_scif_recv_wait_resp.c'
source_filename = "AnghaBench/linux/drivers/misc/mic/scif/extr_scif_fence.c_scif_recv_wait_resp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SCIF_WAIT_ACK = common local_unnamed_addr global i64 0, align 8
@OP_COMPLETED = common local_unnamed_addr global i32 0, align 4
@OP_FAILED = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @scif_recv_wait_resp(ptr nocapture noundef readnone %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i64, ptr %4, align 8, !tbaa !12
%6 = inttoptr i64 %5 to ptr
%7 = getelementptr inbounds i8, ptr %4, i64 8
%8 = load i64, ptr %7, align 8, !tbaa !12
%9 = tail call i32 @mutex_lock(ptr noundef %6) #2
%10 = load i64, ptr %1, align 8, !tbaa !13
%11 = load i64, ptr @SCIF_WAIT_ACK, align 8, !tbaa !12
%12 = icmp eq i64 %10, %11
%13 = load i32, ptr @OP_COMPLETED, align 4
%14 = load i32, ptr @OP_FAILED, align 4
%15 = select i1 %12, i32 %13, i32 %14
%16 = inttoptr i64 %8 to ptr
%17 = getelementptr inbounds i8, ptr %16, i64 4
store i32 %15, ptr %17, align 4
%18 = tail call i32 @mutex_unlock(ptr noundef %6) #2
%19 = tail call i32 @complete(ptr noundef nonnull %16) #2
ret void
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @complete(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 = !{!"scifmsg", !8, i64 0, !11, i64 8}
!8 = !{!"long", !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 = !{!7, !8, i64 0}
| linux_drivers_misc_mic_scif_extr_scif_fence.c_scif_recv_wait_resp |
; ModuleID = 'AnghaBench/reactos/sdk/tools/widl/extr_typetree.c_type_dispinterface_define_from_iface.c'
source_filename = "AnghaBench/reactos/sdk/tools/widl/extr_typetree.c_type_dispinterface_define_from_iface.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 { i32, %struct.TYPE_7__ }
%struct.TYPE_7__ = type { ptr }
%struct.TYPE_9__ = type { ptr, ptr, i32, ptr, ptr, ptr }
@.str = private unnamed_addr constant [10 x i8] c"IDispatch\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"IDispatch is undefined\0A\00", align 1
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @type_dispinterface_define_from_iface(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @xmalloc(i32 noundef 48) #3
%4 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1
store ptr %3, ptr %4, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_9__, ptr %3, i64 0, i32 3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %5, i8 0, i64 24, i1 false)
%6 = tail call i32 @find_type(ptr noundef nonnull @.str, ptr noundef null, i32 noundef 0) #3
%7 = load ptr, ptr %4, align 8, !tbaa !5
%8 = getelementptr inbounds %struct.TYPE_9__, ptr %7, i64 0, i32 2
store i32 %6, ptr %8, align 8, !tbaa !12
%9 = icmp eq i32 %6, 0
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = tail call i32 @error_loc(ptr noundef nonnull @.str.1) #3
%12 = load ptr, ptr %4, align 8, !tbaa !5
br label %13
13: ; preds = %10, %2
%14 = phi ptr [ %12, %10 ], [ %7, %2 ]
%15 = getelementptr inbounds %struct.TYPE_9__, ptr %14, i64 0, i32 1
store ptr %1, ptr %15, align 8, !tbaa !14
store ptr null, ptr %14, align 8, !tbaa !15
%16 = load i32, ptr @TRUE, align 4, !tbaa !16
store i32 %16, ptr %0, align 8, !tbaa !17
%17 = tail call i32 @compute_method_indexes(ptr noundef nonnull %0) #3
ret void
}
declare ptr @xmalloc(i32 noundef) local_unnamed_addr #1
declare i32 @find_type(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @error_loc(ptr noundef) local_unnamed_addr #1
declare i32 @compute_method_indexes(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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, !11, i64 8}
!6 = !{!"TYPE_8__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_7__", !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 16}
!13 = !{!"TYPE_9__", !11, i64 0, !11, i64 8, !7, i64 16, !11, i64 24, !11, i64 32, !11, i64 40}
!14 = !{!13, !11, i64 8}
!15 = !{!13, !11, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/sdk/tools/widl/extr_typetree.c_type_dispinterface_define_from_iface.c'
source_filename = "AnghaBench/reactos/sdk/tools/widl/extr_typetree.c_type_dispinterface_define_from_iface.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 [10 x i8] c"IDispatch\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"IDispatch is undefined\0A\00", align 1
@TRUE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @type_dispinterface_define_from_iface(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @xmalloc(i32 noundef 48) #3
%4 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %3, ptr %4, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %3, i64 24
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %5, i8 0, i64 24, i1 false)
%6 = tail call i32 @find_type(ptr noundef nonnull @.str, ptr noundef null, i32 noundef 0) #3
%7 = load ptr, ptr %4, align 8, !tbaa !6
%8 = getelementptr inbounds i8, ptr %7, i64 16
store i32 %6, ptr %8, align 8, !tbaa !13
%9 = icmp eq i32 %6, 0
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = tail call i32 @error_loc(ptr noundef nonnull @.str.1) #3
%12 = load ptr, ptr %4, align 8, !tbaa !6
br label %13
13: ; preds = %10, %2
%14 = phi ptr [ %12, %10 ], [ %7, %2 ]
%15 = getelementptr inbounds i8, ptr %14, i64 8
store ptr %1, ptr %15, align 8, !tbaa !15
store ptr null, ptr %14, align 8, !tbaa !16
%16 = load i32, ptr @TRUE, align 4, !tbaa !17
store i32 %16, ptr %0, align 8, !tbaa !18
%17 = tail call i32 @compute_method_indexes(ptr noundef nonnull %0) #3
ret void
}
declare ptr @xmalloc(i32 noundef) local_unnamed_addr #1
declare i32 @find_type(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @error_loc(ptr noundef) local_unnamed_addr #1
declare i32 @compute_method_indexes(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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, !12, i64 8}
!7 = !{!"TYPE_8__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_7__", !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !8, i64 16}
!14 = !{!"TYPE_9__", !12, i64 0, !12, i64 8, !8, i64 16, !12, i64 24, !12, i64 32, !12, i64 40}
!15 = !{!14, !12, i64 8}
!16 = !{!14, !12, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!7, !8, i64 0}
| reactos_sdk_tools_widl_extr_typetree.c_type_dispinterface_define_from_iface |
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_rtl8723b_phycfg.c_PHY_BBConfig8723B.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_rtl8723b_phycfg.c_PHY_BBConfig8723B.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"
@_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@REG_SYS_FUNC_EN = dso_local local_unnamed_addr global i64 0, align 8
@BIT13 = dso_local local_unnamed_addr global i32 0, align 4
@BIT0 = dso_local local_unnamed_addr global i32 0, align 4
@BIT1 = dso_local local_unnamed_addr global i32 0, align 4
@REG_RF_CTRL = dso_local local_unnamed_addr global i64 0, align 8
@RF_EN = dso_local local_unnamed_addr global i32 0, align 4
@RF_RSTB = dso_local local_unnamed_addr global i32 0, align 4
@RF_SDMRSTB = dso_local local_unnamed_addr global i32 0, align 4
@ODM_RF_PATH_A = dso_local local_unnamed_addr global i32 0, align 4
@FEN_PPLL = dso_local local_unnamed_addr global i32 0, align 4
@FEN_PCIEA = dso_local local_unnamed_addr global i32 0, align 4
@FEN_DIO_PCIE = dso_local local_unnamed_addr global i32 0, align 4
@FEN_BB_GLB_RSTn = dso_local local_unnamed_addr global i32 0, align 4
@FEN_BBRSTB = dso_local local_unnamed_addr global i32 0, align 4
@REG_AFE_XTAL_CTRL = dso_local local_unnamed_addr global i64 0, align 8
@REG_MAC_PHY_CTRL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @PHY_BBConfig8723B(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @GET_HAL_DATA(ptr noundef %0) #2
%3 = tail call i32 @phy_InitBBRFRegisterDefinition(ptr noundef %0) #2
%4 = load i64, ptr @REG_SYS_FUNC_EN, align 8, !tbaa !5
%5 = tail call i32 @rtw_read16(ptr noundef %0, i64 noundef %4) #2
%6 = load i64, ptr @REG_SYS_FUNC_EN, align 8, !tbaa !5
%7 = load i32, ptr @BIT13, align 4, !tbaa !9
%8 = or i32 %7, %5
%9 = load i32, ptr @BIT0, align 4, !tbaa !9
%10 = or i32 %8, %9
%11 = load i32, ptr @BIT1, align 4, !tbaa !9
%12 = or i32 %10, %11
%13 = tail call i32 @rtw_write16(ptr noundef %0, i64 noundef %6, i32 noundef %12) #2
%14 = tail call i32 @rtw_write32(ptr noundef %0, i32 noundef 2376, i32 noundef 640) #2
%15 = load i64, ptr @REG_RF_CTRL, align 8, !tbaa !5
%16 = load i32, ptr @RF_EN, align 4, !tbaa !9
%17 = load i32, ptr @RF_RSTB, align 4, !tbaa !9
%18 = or i32 %17, %16
%19 = load i32, ptr @RF_SDMRSTB, align 4, !tbaa !9
%20 = or i32 %18, %19
%21 = tail call i32 @rtw_write8(ptr noundef %0, i64 noundef %15, i32 noundef %20) #2
%22 = tail call i32 @msleep(i32 noundef 1) #2
%23 = load i32, ptr @ODM_RF_PATH_A, align 4, !tbaa !9
%24 = tail call i32 @PHY_SetRFReg(ptr noundef %0, i32 noundef %23, i32 noundef 1, i32 noundef 1048575, i32 noundef 1920) #2
%25 = load i64, ptr @REG_SYS_FUNC_EN, align 8, !tbaa !5
%26 = load i32, ptr @FEN_PPLL, align 4, !tbaa !9
%27 = load i32, ptr @FEN_PCIEA, align 4, !tbaa !9
%28 = or i32 %27, %26
%29 = load i32, ptr @FEN_DIO_PCIE, align 4, !tbaa !9
%30 = or i32 %28, %29
%31 = load i32, ptr @FEN_BB_GLB_RSTn, align 4, !tbaa !9
%32 = or i32 %30, %31
%33 = load i32, ptr @FEN_BBRSTB, align 4, !tbaa !9
%34 = or i32 %32, %33
%35 = tail call i32 @rtw_write8(ptr noundef %0, i64 noundef %25, i32 noundef %34) #2
%36 = load i64, ptr @REG_AFE_XTAL_CTRL, align 8, !tbaa !5
%37 = add nsw i64 %36, 1
%38 = tail call i32 @rtw_write8(ptr noundef %0, i64 noundef %37, i32 noundef 128) #2
%39 = tail call i32 @phy_BB8723b_Config_ParaFile(ptr noundef %0) #2
%40 = load i32, ptr %2, align 4, !tbaa !11
%41 = and i32 %40, 63
%42 = load i32, ptr @REG_MAC_PHY_CTRL, align 4, !tbaa !9
%43 = mul nuw nsw i32 %41, 65
%44 = tail call i32 @PHY_SetBBReg(ptr noundef %0, i32 noundef %42, i32 noundef 16773120, i32 noundef %43) #2
ret i32 %39
}
declare ptr @GET_HAL_DATA(ptr noundef) local_unnamed_addr #1
declare i32 @phy_InitBBRFRegisterDefinition(ptr noundef) local_unnamed_addr #1
declare i32 @rtw_read16(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @rtw_write16(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rtw_write32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rtw_write8(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @PHY_SetRFReg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @phy_BB8723b_Config_ParaFile(ptr noundef) local_unnamed_addr #1
declare i32 @PHY_SetBBReg(ptr 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, !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, !10, i64 0}
!12 = !{!"hal_com_data", !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_rtl8723b_phycfg.c_PHY_BBConfig8723B.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_rtl8723b_phycfg.c_PHY_BBConfig8723B.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@_SUCCESS = common local_unnamed_addr global i32 0, align 4
@REG_SYS_FUNC_EN = common local_unnamed_addr global i64 0, align 8
@BIT13 = common local_unnamed_addr global i32 0, align 4
@BIT0 = common local_unnamed_addr global i32 0, align 4
@BIT1 = common local_unnamed_addr global i32 0, align 4
@REG_RF_CTRL = common local_unnamed_addr global i64 0, align 8
@RF_EN = common local_unnamed_addr global i32 0, align 4
@RF_RSTB = common local_unnamed_addr global i32 0, align 4
@RF_SDMRSTB = common local_unnamed_addr global i32 0, align 4
@ODM_RF_PATH_A = common local_unnamed_addr global i32 0, align 4
@FEN_PPLL = common local_unnamed_addr global i32 0, align 4
@FEN_PCIEA = common local_unnamed_addr global i32 0, align 4
@FEN_DIO_PCIE = common local_unnamed_addr global i32 0, align 4
@FEN_BB_GLB_RSTn = common local_unnamed_addr global i32 0, align 4
@FEN_BBRSTB = common local_unnamed_addr global i32 0, align 4
@REG_AFE_XTAL_CTRL = common local_unnamed_addr global i64 0, align 8
@REG_MAC_PHY_CTRL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @PHY_BBConfig8723B(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @GET_HAL_DATA(ptr noundef %0) #2
%3 = tail call i32 @phy_InitBBRFRegisterDefinition(ptr noundef %0) #2
%4 = load i64, ptr @REG_SYS_FUNC_EN, align 8, !tbaa !6
%5 = tail call i32 @rtw_read16(ptr noundef %0, i64 noundef %4) #2
%6 = load i64, ptr @REG_SYS_FUNC_EN, align 8, !tbaa !6
%7 = load i32, ptr @BIT13, align 4, !tbaa !10
%8 = or i32 %7, %5
%9 = load i32, ptr @BIT0, align 4, !tbaa !10
%10 = or i32 %8, %9
%11 = load i32, ptr @BIT1, align 4, !tbaa !10
%12 = or i32 %10, %11
%13 = tail call i32 @rtw_write16(ptr noundef %0, i64 noundef %6, i32 noundef %12) #2
%14 = tail call i32 @rtw_write32(ptr noundef %0, i32 noundef 2376, i32 noundef 640) #2
%15 = load i64, ptr @REG_RF_CTRL, align 8, !tbaa !6
%16 = load i32, ptr @RF_EN, align 4, !tbaa !10
%17 = load i32, ptr @RF_RSTB, align 4, !tbaa !10
%18 = or i32 %17, %16
%19 = load i32, ptr @RF_SDMRSTB, align 4, !tbaa !10
%20 = or i32 %18, %19
%21 = tail call i32 @rtw_write8(ptr noundef %0, i64 noundef %15, i32 noundef %20) #2
%22 = tail call i32 @msleep(i32 noundef 1) #2
%23 = load i32, ptr @ODM_RF_PATH_A, align 4, !tbaa !10
%24 = tail call i32 @PHY_SetRFReg(ptr noundef %0, i32 noundef %23, i32 noundef 1, i32 noundef 1048575, i32 noundef 1920) #2
%25 = load i64, ptr @REG_SYS_FUNC_EN, align 8, !tbaa !6
%26 = load i32, ptr @FEN_PPLL, align 4, !tbaa !10
%27 = load i32, ptr @FEN_PCIEA, align 4, !tbaa !10
%28 = or i32 %27, %26
%29 = load i32, ptr @FEN_DIO_PCIE, align 4, !tbaa !10
%30 = or i32 %28, %29
%31 = load i32, ptr @FEN_BB_GLB_RSTn, align 4, !tbaa !10
%32 = or i32 %30, %31
%33 = load i32, ptr @FEN_BBRSTB, align 4, !tbaa !10
%34 = or i32 %32, %33
%35 = tail call i32 @rtw_write8(ptr noundef %0, i64 noundef %25, i32 noundef %34) #2
%36 = load i64, ptr @REG_AFE_XTAL_CTRL, align 8, !tbaa !6
%37 = add nsw i64 %36, 1
%38 = tail call i32 @rtw_write8(ptr noundef %0, i64 noundef %37, i32 noundef 128) #2
%39 = tail call i32 @phy_BB8723b_Config_ParaFile(ptr noundef %0) #2
%40 = load i32, ptr %2, align 4, !tbaa !12
%41 = and i32 %40, 63
%42 = load i32, ptr @REG_MAC_PHY_CTRL, align 4, !tbaa !10
%43 = mul nuw nsw i32 %41, 65
%44 = tail call i32 @PHY_SetBBReg(ptr noundef %0, i32 noundef %42, i32 noundef 16773120, i32 noundef %43) #2
ret i32 %39
}
declare ptr @GET_HAL_DATA(ptr noundef) local_unnamed_addr #1
declare i32 @phy_InitBBRFRegisterDefinition(ptr noundef) local_unnamed_addr #1
declare i32 @rtw_read16(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @rtw_write16(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rtw_write32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rtw_write8(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @PHY_SetRFReg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @phy_BB8723b_Config_ParaFile(ptr noundef) local_unnamed_addr #1
declare i32 @PHY_SetBBReg(ptr 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, !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, !11, i64 0}
!13 = !{!"hal_com_data", !11, i64 0}
| linux_drivers_staging_rtl8723bs_hal_extr_rtl8723b_phycfg.c_PHY_BBConfig8723B |
; ModuleID = 'AnghaBench/linux/fs/ocfs2/dlm/extr_dlmrecovery.c_dlm_list_num_to_pointer.c'
source_filename = "AnghaBench/linux/fs/ocfs2/dlm/extr_dlmrecovery.c_dlm_list_num_to_pointer.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.list_head = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @dlm_list_num_to_pointer], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal ptr @dlm_list_num_to_pointer(ptr noundef readnone %0, i32 noundef %1) #0 {
%3 = lshr i32 %1, 31
%4 = tail call i32 @BUG_ON(i32 noundef %3) #2
%5 = icmp sgt i32 %1, 2
%6 = zext i1 %5 to i32
%7 = tail call i32 @BUG_ON(i32 noundef %6) #2
%8 = sext i32 %1 to i64
%9 = getelementptr inbounds %struct.list_head, ptr %0, i64 %8
ret ptr %9
}
declare i32 @BUG_ON(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)"}
| ; ModuleID = 'AnghaBench/linux/fs/ocfs2/dlm/extr_dlmrecovery.c_dlm_list_num_to_pointer.c'
source_filename = "AnghaBench/linux/fs/ocfs2/dlm/extr_dlmrecovery.c_dlm_list_num_to_pointer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.list_head = type { i32 }
@llvm.used = appending global [1 x ptr] [ptr @dlm_list_num_to_pointer], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal ptr @dlm_list_num_to_pointer(ptr noundef readnone %0, i32 noundef %1) #0 {
%3 = lshr i32 %1, 31
%4 = tail call i32 @BUG_ON(i32 noundef %3) #2
%5 = icmp sgt i32 %1, 2
%6 = zext i1 %5 to i32
%7 = tail call i32 @BUG_ON(i32 noundef %6) #2
%8 = sext i32 %1 to i64
%9 = getelementptr inbounds %struct.list_head, ptr %0, i64 %8
ret ptr %9
}
declare i32 @BUG_ON(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)"}
| linux_fs_ocfs2_dlm_extr_dlmrecovery.c_dlm_list_num_to_pointer |
; ModuleID = 'AnghaBench/linux/drivers/watchdog/extr_omap_wdt.c_omap_wdt_stop.c'
source_filename = "AnghaBench/linux/drivers/watchdog/extr_omap_wdt.c_omap_wdt_stop.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.omap_wdt_dev = type { i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @omap_wdt_stop], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @omap_wdt_stop(ptr noundef %0) #0 {
%2 = tail call ptr @to_omap_wdt_dev(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.omap_wdt_dev, ptr %2, i64 0, i32 1
%4 = tail call i32 @mutex_lock(ptr noundef nonnull %3) #2
%5 = tail call i32 @omap_wdt_disable(ptr noundef %2) #2
%6 = getelementptr inbounds %struct.omap_wdt_dev, ptr %2, i64 0, i32 2
%7 = load i32, ptr %6, align 4, !tbaa !5
%8 = tail call i32 @pm_runtime_put_sync(i32 noundef %7) #2
store i32 0, ptr %2, align 4, !tbaa !10
%9 = tail call i32 @mutex_unlock(ptr noundef nonnull %3) #2
ret i32 0
}
declare ptr @to_omap_wdt_dev(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @omap_wdt_disable(ptr noundef) local_unnamed_addr #1
declare i32 @pm_runtime_put_sync(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_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 8}
!6 = !{!"omap_wdt_dev", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/watchdog/extr_omap_wdt.c_omap_wdt_stop.c'
source_filename = "AnghaBench/linux/drivers/watchdog/extr_omap_wdt.c_omap_wdt_stop.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 @omap_wdt_stop], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @omap_wdt_stop(ptr noundef %0) #0 {
%2 = tail call ptr @to_omap_wdt_dev(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 4
%4 = tail call i32 @mutex_lock(ptr noundef nonnull %3) #2
%5 = tail call i32 @omap_wdt_disable(ptr noundef %2) #2
%6 = getelementptr inbounds i8, ptr %2, i64 8
%7 = load i32, ptr %6, align 4, !tbaa !6
%8 = tail call i32 @pm_runtime_put_sync(i32 noundef %7) #2
store i32 0, ptr %2, align 4, !tbaa !11
%9 = tail call i32 @mutex_unlock(ptr noundef nonnull %3) #2
ret i32 0
}
declare ptr @to_omap_wdt_dev(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @omap_wdt_disable(ptr noundef) local_unnamed_addr #1
declare i32 @pm_runtime_put_sync(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_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 8}
!7 = !{!"omap_wdt_dev", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
| linux_drivers_watchdog_extr_omap_wdt.c_omap_wdt_stop |
; ModuleID = 'AnghaBench/exploitdb/exploits/unix/remote/extr_22314.c_fixshellcode.c'
source_filename = "AnghaBench/exploitdb/exploits/unix/remote/extr_22314.c_fixshellcode.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.hostent = type { ptr, i32 }
@.str = private unnamed_addr constant [33 x i8] c"Unable to resolve local address\0A\00", align 1
@code = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @fixshellcode(ptr noundef %0, i16 noundef zeroext %1) local_unnamed_addr #0 {
%3 = alloca i64, align 8
%4 = alloca [4 x i8], align 1
%5 = alloca [4 x i8], align 1
%6 = alloca [2 x i8], align 1
%7 = alloca [2 x i8], align 1
call void @llvm.lifetime.start.p0(i64 8, 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 2, ptr nonnull %6) #4
call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %7) #4
%8 = tail call i64 @inet_addr(ptr noundef %0) #4
store i64 %8, ptr %3, align 8, !tbaa !5
%9 = icmp eq i64 %8, -1
br i1 %9, label %10, label %22
10: ; preds = %2
%11 = tail call ptr @gethostbyname(ptr noundef %0) #4
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = tail call i32 @printf(ptr noundef nonnull @.str) #4
%15 = tail call i32 @exit(i32 noundef 0) #5
unreachable
16: ; preds = %10
%17 = load ptr, ptr %11, align 8, !tbaa !9
%18 = getelementptr inbounds %struct.hostent, ptr %11, i64 0, i32 1
%19 = load i32, ptr %18, align 8, !tbaa !13
%20 = call i32 @memcpy(ptr noundef nonnull %3, ptr noundef %17, i32 noundef %19) #4
%21 = load i64, ptr %3, align 8, !tbaa !5
br label %22
22: ; preds = %16, %2
%23 = phi i64 [ %21, %16 ], [ %8, %2 ]
%24 = lshr i64 %23, 24
%25 = trunc i64 %24 to i8
%26 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 3
store i8 %25, ptr %26, align 1, !tbaa !14
%27 = lshr i64 %23, 16
%28 = trunc i64 %27 to i8
%29 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 2
store i8 %28, ptr %29, align 1, !tbaa !14
%30 = lshr i64 %23, 8
%31 = trunc i64 %30 to i8
%32 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 1
store i8 %31, ptr %32, align 1, !tbaa !14
%33 = trunc i64 %23 to i8
store i8 %33, ptr %4, align 1, !tbaa !14
%34 = lshr i16 %1, 8
%35 = trunc i16 %34 to i8
store i8 %35, ptr %6, align 1, !tbaa !14
%36 = trunc i16 %1 to i8
%37 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 1
store i8 %36, ptr %37, align 1, !tbaa !14
%38 = call i32 @findvalmask(ptr noundef nonnull %4, ptr noundef nonnull %5, i32 noundef 4) #4
%39 = call i32 @findvalmask(ptr noundef nonnull %6, ptr noundef nonnull %7, i32 noundef 2) #4
%40 = load ptr, ptr @code, align 8, !tbaa !15
%41 = getelementptr inbounds i8, ptr %40, i64 33
%42 = call i32 @memcpy(ptr noundef nonnull %41, ptr noundef nonnull %4, i32 noundef 4) #4
%43 = load ptr, ptr @code, align 8, !tbaa !15
%44 = getelementptr inbounds i8, ptr %43, i64 38
%45 = call i32 @memcpy(ptr noundef nonnull %44, ptr noundef nonnull %5, i32 noundef 4) #4
%46 = load ptr, ptr @code, align 8, !tbaa !15
%47 = getelementptr inbounds i8, ptr %46, i64 48
%48 = call i32 @memcpy(ptr noundef nonnull %47, ptr noundef nonnull %6, i32 noundef 2) #4
%49 = load ptr, ptr @code, align 8, !tbaa !15
%50 = getelementptr inbounds i8, ptr %49, i64 53
%51 = call i32 @memcpy(ptr noundef nonnull %50, ptr noundef nonnull %7, i32 noundef 2) #4
call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %7) #4
call void @llvm.lifetime.end.p0(i64 2, 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 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 i64 @inet_addr(ptr noundef) local_unnamed_addr #2
declare ptr @gethostbyname(ptr noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
declare i32 @memcpy(ptr 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
declare i32 @findvalmask(ptr noundef, 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 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"hostent", !11, i64 0, !12, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!10, !12, i64 8}
!14 = !{!7, !7, i64 0}
!15 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/exploitdb/exploits/unix/remote/extr_22314.c_fixshellcode.c'
source_filename = "AnghaBench/exploitdb/exploits/unix/remote/extr_22314.c_fixshellcode.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 [33 x i8] c"Unable to resolve local address\0A\00", align 1
@code = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @fixshellcode(ptr noundef %0, i16 noundef zeroext %1) local_unnamed_addr #0 {
%3 = alloca i64, align 8
%4 = alloca [4 x i8], align 1
%5 = alloca [4 x i8], align 1
%6 = alloca [2 x i8], align 1
%7 = alloca [2 x i8], align 1
call void @llvm.lifetime.start.p0(i64 8, 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 2, ptr nonnull %6) #4
call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %7) #4
%8 = tail call i64 @inet_addr(ptr noundef %0) #4
store i64 %8, ptr %3, align 8, !tbaa !6
%9 = icmp eq i64 %8, -1
br i1 %9, label %10, label %22
10: ; preds = %2
%11 = tail call ptr @gethostbyname(ptr noundef %0) #4
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = tail call i32 @printf(ptr noundef nonnull @.str) #4
%15 = tail call i32 @exit(i32 noundef 0) #5
unreachable
16: ; preds = %10
%17 = load ptr, ptr %11, align 8, !tbaa !10
%18 = getelementptr inbounds i8, ptr %11, i64 8
%19 = load i32, ptr %18, align 8, !tbaa !14
%20 = call i32 @memcpy(ptr noundef nonnull %3, ptr noundef %17, i32 noundef %19) #4
%21 = load i64, ptr %3, align 8, !tbaa !6
br label %22
22: ; preds = %16, %2
%23 = phi i64 [ %21, %16 ], [ %8, %2 ]
%24 = lshr i64 %23, 24
%25 = trunc i64 %24 to i8
%26 = getelementptr inbounds i8, ptr %4, i64 3
store i8 %25, ptr %26, align 1, !tbaa !15
%27 = lshr i64 %23, 16
%28 = trunc i64 %27 to i8
%29 = getelementptr inbounds i8, ptr %4, i64 2
store i8 %28, ptr %29, align 1, !tbaa !15
%30 = lshr i64 %23, 8
%31 = trunc i64 %30 to i8
%32 = getelementptr inbounds i8, ptr %4, i64 1
store i8 %31, ptr %32, align 1, !tbaa !15
%33 = trunc i64 %23 to i8
store i8 %33, ptr %4, align 1, !tbaa !15
%34 = lshr i16 %1, 8
%35 = trunc nuw i16 %34 to i8
store i8 %35, ptr %6, align 1, !tbaa !15
%36 = trunc i16 %1 to i8
%37 = getelementptr inbounds i8, ptr %6, i64 1
store i8 %36, ptr %37, align 1, !tbaa !15
%38 = call i32 @findvalmask(ptr noundef nonnull %4, ptr noundef nonnull %5, i32 noundef 4) #4
%39 = call i32 @findvalmask(ptr noundef nonnull %6, ptr noundef nonnull %7, i32 noundef 2) #4
%40 = load ptr, ptr @code, align 8, !tbaa !16
%41 = getelementptr inbounds i8, ptr %40, i64 33
%42 = call i32 @memcpy(ptr noundef nonnull %41, ptr noundef nonnull %4, i32 noundef 4) #4
%43 = load ptr, ptr @code, align 8, !tbaa !16
%44 = getelementptr inbounds i8, ptr %43, i64 38
%45 = call i32 @memcpy(ptr noundef nonnull %44, ptr noundef nonnull %5, i32 noundef 4) #4
%46 = load ptr, ptr @code, align 8, !tbaa !16
%47 = getelementptr inbounds i8, ptr %46, i64 48
%48 = call i32 @memcpy(ptr noundef nonnull %47, ptr noundef nonnull %6, i32 noundef 2) #4
%49 = load ptr, ptr @code, align 8, !tbaa !16
%50 = getelementptr inbounds i8, ptr %49, i64 53
%51 = call i32 @memcpy(ptr noundef nonnull %50, ptr noundef nonnull %7, i32 noundef 2) #4
call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %7) #4
call void @llvm.lifetime.end.p0(i64 2, 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 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 i64 @inet_addr(ptr noundef) local_unnamed_addr #2
declare ptr @gethostbyname(ptr noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
declare i32 @memcpy(ptr 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
declare i32 @findvalmask(ptr noundef, 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 = { 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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"hostent", !12, i64 0, !13, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!11, !13, i64 8}
!15 = !{!8, !8, i64 0}
!16 = !{!12, !12, i64 0}
| exploitdb_exploits_unix_remote_extr_22314.c_fixshellcode |
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nf_conntrack_netlink.c_change_seq_adj.c'
source_filename = "AnghaBench/linux/net/netfilter/extr_nf_conntrack_netlink.c_change_seq_adj.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.nf_ct_seqadj = type { ptr, ptr, ptr }
@CTA_SEQADJ_MAX = dso_local local_unnamed_addr global i32 0, align 4
@seqadj_policy = dso_local local_unnamed_addr global i32 0, align 4
@CTA_SEQADJ_CORRECTION_POS = dso_local local_unnamed_addr global i64 0, align 8
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@CTA_SEQADJ_OFFSET_BEFORE = dso_local local_unnamed_addr global i64 0, align 8
@CTA_SEQADJ_OFFSET_AFTER = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @change_seq_adj], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @change_seq_adj(ptr nocapture noundef writeonly %0, ptr noundef %1) #0 {
%3 = load i32, ptr @CTA_SEQADJ_MAX, align 4, !tbaa !5
%4 = add nsw i32 %3, 1
%5 = zext i32 %4 to i64
%6 = alloca ptr, i64 %5, align 16
%7 = load i32, ptr @seqadj_policy, align 4, !tbaa !5
%8 = call i32 @nla_parse_nested_deprecated(ptr noundef nonnull %6, i32 noundef %3, ptr noundef %1, i32 noundef %7, ptr noundef null) #2
%9 = icmp slt i32 %8, 0
br i1 %9, label %43, label %10
10: ; preds = %2
%11 = load i64, ptr @CTA_SEQADJ_CORRECTION_POS, align 8, !tbaa !9
%12 = getelementptr inbounds ptr, ptr %6, i64 %11
%13 = load ptr, ptr %12, align 8, !tbaa !11
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %18
15: ; preds = %10
%16 = load i32, ptr @EINVAL, align 4, !tbaa !5
%17 = sub nsw i32 0, %16
br label %43
18: ; preds = %10
%19 = call i32 @nla_get_be32(ptr noundef nonnull %13) #2
%20 = call ptr @ntohl(i32 noundef %19) #2
%21 = getelementptr inbounds %struct.nf_ct_seqadj, ptr %0, i64 0, i32 2
store ptr %20, ptr %21, align 8, !tbaa !13
%22 = load i64, ptr @CTA_SEQADJ_OFFSET_BEFORE, align 8, !tbaa !9
%23 = getelementptr inbounds ptr, ptr %6, i64 %22
%24 = load ptr, ptr %23, align 8, !tbaa !11
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %29
26: ; preds = %18
%27 = load i32, ptr @EINVAL, align 4, !tbaa !5
%28 = sub nsw i32 0, %27
br label %43
29: ; preds = %18
%30 = call i32 @nla_get_be32(ptr noundef nonnull %24) #2
%31 = call ptr @ntohl(i32 noundef %30) #2
%32 = getelementptr inbounds %struct.nf_ct_seqadj, ptr %0, i64 0, i32 1
store ptr %31, ptr %32, align 8, !tbaa !15
%33 = load i64, ptr @CTA_SEQADJ_OFFSET_AFTER, align 8, !tbaa !9
%34 = getelementptr inbounds ptr, ptr %6, i64 %33
%35 = load ptr, ptr %34, align 8, !tbaa !11
%36 = icmp eq ptr %35, null
br i1 %36, label %37, label %40
37: ; preds = %29
%38 = load i32, ptr @EINVAL, align 4, !tbaa !5
%39 = sub nsw i32 0, %38
br label %43
40: ; preds = %29
%41 = call i32 @nla_get_be32(ptr noundef nonnull %35) #2
%42 = call ptr @ntohl(i32 noundef %41) #2
store ptr %42, ptr %0, align 8, !tbaa !16
br label %43
43: ; preds = %2, %40, %37, %26, %15
%44 = phi i32 [ 0, %40 ], [ %39, %37 ], [ %28, %26 ], [ %17, %15 ], [ %8, %2 ]
ret i32 %44
}
declare i32 @nla_parse_nested_deprecated(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @ntohl(i32 noundef) local_unnamed_addr #1
declare i32 @nla_get_be32(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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !12, i64 16}
!14 = !{!"nf_ct_seqadj", !12, i64 0, !12, i64 8, !12, i64 16}
!15 = !{!14, !12, i64 8}
!16 = !{!14, !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nf_conntrack_netlink.c_change_seq_adj.c'
source_filename = "AnghaBench/linux/net/netfilter/extr_nf_conntrack_netlink.c_change_seq_adj.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CTA_SEQADJ_MAX = common local_unnamed_addr global i32 0, align 4
@seqadj_policy = common local_unnamed_addr global i32 0, align 4
@CTA_SEQADJ_CORRECTION_POS = common local_unnamed_addr global i64 0, align 8
@EINVAL = common local_unnamed_addr global i32 0, align 4
@CTA_SEQADJ_OFFSET_BEFORE = common local_unnamed_addr global i64 0, align 8
@CTA_SEQADJ_OFFSET_AFTER = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @change_seq_adj], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @change_seq_adj(ptr nocapture noundef writeonly %0, ptr noundef %1) #0 {
%3 = load i32, ptr @CTA_SEQADJ_MAX, align 4, !tbaa !6
%4 = add nsw i32 %3, 1
%5 = zext i32 %4 to i64
%6 = alloca ptr, i64 %5, align 8
%7 = load i32, ptr @seqadj_policy, align 4, !tbaa !6
%8 = call i32 @nla_parse_nested_deprecated(ptr noundef nonnull %6, i32 noundef %3, ptr noundef %1, i32 noundef %7, ptr noundef null) #2
%9 = icmp slt i32 %8, 0
br i1 %9, label %43, label %10
10: ; preds = %2
%11 = load i64, ptr @CTA_SEQADJ_CORRECTION_POS, align 8, !tbaa !10
%12 = getelementptr inbounds ptr, ptr %6, i64 %11
%13 = load ptr, ptr %12, align 8, !tbaa !12
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %18
15: ; preds = %10
%16 = load i32, ptr @EINVAL, align 4, !tbaa !6
%17 = sub nsw i32 0, %16
br label %43
18: ; preds = %10
%19 = call i32 @nla_get_be32(ptr noundef nonnull %13) #2
%20 = call ptr @ntohl(i32 noundef %19) #2
%21 = getelementptr inbounds i8, ptr %0, i64 16
store ptr %20, ptr %21, align 8, !tbaa !14
%22 = load i64, ptr @CTA_SEQADJ_OFFSET_BEFORE, align 8, !tbaa !10
%23 = getelementptr inbounds ptr, ptr %6, i64 %22
%24 = load ptr, ptr %23, align 8, !tbaa !12
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %29
26: ; preds = %18
%27 = load i32, ptr @EINVAL, align 4, !tbaa !6
%28 = sub nsw i32 0, %27
br label %43
29: ; preds = %18
%30 = call i32 @nla_get_be32(ptr noundef nonnull %24) #2
%31 = call ptr @ntohl(i32 noundef %30) #2
%32 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %31, ptr %32, align 8, !tbaa !16
%33 = load i64, ptr @CTA_SEQADJ_OFFSET_AFTER, align 8, !tbaa !10
%34 = getelementptr inbounds ptr, ptr %6, i64 %33
%35 = load ptr, ptr %34, align 8, !tbaa !12
%36 = icmp eq ptr %35, null
br i1 %36, label %37, label %40
37: ; preds = %29
%38 = load i32, ptr @EINVAL, align 4, !tbaa !6
%39 = sub nsw i32 0, %38
br label %43
40: ; preds = %29
%41 = call i32 @nla_get_be32(ptr noundef nonnull %35) #2
%42 = call ptr @ntohl(i32 noundef %41) #2
store ptr %42, ptr %0, align 8, !tbaa !17
br label %43
43: ; preds = %2, %40, %37, %26, %15
%44 = phi i32 [ 0, %40 ], [ %39, %37 ], [ %28, %26 ], [ %17, %15 ], [ %8, %2 ]
ret i32 %44
}
declare i32 @nla_parse_nested_deprecated(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @ntohl(i32 noundef) local_unnamed_addr #1
declare i32 @nla_get_be32(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 = !{!"long", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !13, i64 16}
!15 = !{!"nf_ct_seqadj", !13, i64 0, !13, i64 8, !13, i64 16}
!16 = !{!15, !13, i64 8}
!17 = !{!15, !13, i64 0}
| linux_net_netfilter_extr_nf_conntrack_netlink.c_change_seq_adj |
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_sdio_ops.c_sdio_writeN.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_sdio_ops.c_sdio_writeN.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"
@HW_VAR_APFM_ON_MAC = dso_local local_unnamed_addr global i32 0, align 4
@WLAN_IOREG_DEVICE_ID = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @sdio_writeN], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sdio_writeN(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = 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
%8 = load ptr, ptr %0, align 8, !tbaa !5
%9 = call i32 @_cvrt2ftaddr(i32 noundef %1, ptr noundef nonnull %6, ptr noundef nonnull %7) #3
%10 = load i32, ptr @HW_VAR_APFM_ON_MAC, align 4, !tbaa !10
%11 = call i32 @rtw_hal_get_hwreg(ptr noundef %8, i32 noundef %10, ptr noundef nonnull %5) #3
%12 = load i64, ptr %6, align 8, !tbaa !12
%13 = load i64, ptr @WLAN_IOREG_DEVICE_ID, align 8, !tbaa !12
%14 = icmp ne i64 %12, %13
%15 = load i32, ptr %7, align 4
%16 = icmp sgt i32 %15, 255
%17 = select i1 %14, i1 true, i1 %16
%18 = load i64, ptr %5, align 8
%19 = icmp ne i64 %18, 0
%20 = select i1 %17, i1 %19, i1 false
br i1 %20, label %21, label %25
21: ; preds = %4
%22 = call ptr @adapter_to_pwrctl(ptr noundef %8) #3
%23 = load i64, ptr %22, align 8, !tbaa !14
%24 = icmp eq i64 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %4, %21
%26 = call i32 @sd_cmd52_write(ptr noundef nonnull %0, i32 noundef %9, i32 noundef %2, ptr noundef %3) #3
br label %48
27: ; preds = %21
%28 = and i32 %9, 3
%29 = zext nneg i32 %28 to i64
%30 = icmp eq i32 %28, 0
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = call i32 @sd_write(ptr noundef nonnull %0, i32 noundef %9, i32 noundef %2, ptr noundef %3) #3
br label %48
33: ; preds = %27
%34 = and i32 %9, -4
%35 = add i32 %28, %2
%36 = call ptr @rtw_malloc(i32 noundef %35) #3
%37 = icmp eq ptr %36, null
br i1 %37, label %48, label %38
38: ; preds = %33
%39 = call i32 @sd_read(ptr noundef nonnull %0, i32 noundef %34, i32 noundef 4, ptr noundef nonnull %36) #3
%40 = icmp eq i32 %39, 0
br i1 %40, label %43, label %41
41: ; preds = %38
%42 = call i32 @kfree(ptr noundef nonnull %36) #3
br label %48
43: ; preds = %38
%44 = getelementptr inbounds i64, ptr %36, i64 %29
%45 = call i32 @memcpy(ptr noundef nonnull %44, ptr noundef %3, i32 noundef %2) #3
%46 = call i32 @sd_write(ptr noundef nonnull %0, i32 noundef %34, i32 noundef %35, ptr noundef nonnull %36) #3
%47 = call i32 @kfree(ptr noundef nonnull %36) #3
br label %48
48: ; preds = %33, %41, %43, %31, %25
%49 = phi i32 [ %26, %25 ], [ %32, %31 ], [ %46, %43 ], [ -1, %33 ], [ %39, %41 ]
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 i32 %49
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @_cvrt2ftaddr(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @rtw_hal_get_hwreg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @adapter_to_pwrctl(ptr noundef) local_unnamed_addr #2
declare i32 @sd_cmd52_write(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sd_write(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @rtw_malloc(i32 noundef) local_unnamed_addr #2
declare i32 @sd_read(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @kfree(ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr 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, !7, i64 0}
!6 = !{!"intf_hdl", !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, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"TYPE_2__", !13, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_sdio_ops.c_sdio_writeN.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_sdio_ops.c_sdio_writeN.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HW_VAR_APFM_ON_MAC = common local_unnamed_addr global i32 0, align 4
@WLAN_IOREG_DEVICE_ID = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @sdio_writeN], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @sdio_writeN(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = 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
%8 = load ptr, ptr %0, align 8, !tbaa !6
%9 = call i32 @_cvrt2ftaddr(i32 noundef %1, ptr noundef nonnull %6, ptr noundef nonnull %7) #3
%10 = load i32, ptr @HW_VAR_APFM_ON_MAC, align 4, !tbaa !11
%11 = call i32 @rtw_hal_get_hwreg(ptr noundef %8, i32 noundef %10, ptr noundef nonnull %5) #3
%12 = load i64, ptr %6, align 8, !tbaa !13
%13 = load i64, ptr @WLAN_IOREG_DEVICE_ID, align 8, !tbaa !13
%14 = icmp ne i64 %12, %13
%15 = load i32, ptr %7, align 4
%16 = icmp sgt i32 %15, 255
%17 = select i1 %14, i1 true, i1 %16
%18 = load i64, ptr %5, align 8
%19 = icmp ne i64 %18, 0
%20 = select i1 %17, i1 %19, i1 false
br i1 %20, label %21, label %25
21: ; preds = %4
%22 = call ptr @adapter_to_pwrctl(ptr noundef %8) #3
%23 = load i64, ptr %22, align 8, !tbaa !15
%24 = icmp eq i64 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %4, %21
%26 = call i32 @sd_cmd52_write(ptr noundef nonnull %0, i32 noundef %9, i32 noundef %2, ptr noundef %3) #3
br label %48
27: ; preds = %21
%28 = and i32 %9, 3
%29 = zext nneg i32 %28 to i64
%30 = icmp eq i32 %28, 0
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = call i32 @sd_write(ptr noundef nonnull %0, i32 noundef %9, i32 noundef %2, ptr noundef %3) #3
br label %48
33: ; preds = %27
%34 = and i32 %9, -4
%35 = add i32 %28, %2
%36 = call ptr @rtw_malloc(i32 noundef %35) #3
%37 = icmp eq ptr %36, null
br i1 %37, label %48, label %38
38: ; preds = %33
%39 = call i32 @sd_read(ptr noundef nonnull %0, i32 noundef %34, i32 noundef 4, ptr noundef nonnull %36) #3
%40 = icmp eq i32 %39, 0
br i1 %40, label %43, label %41
41: ; preds = %38
%42 = call i32 @kfree(ptr noundef nonnull %36) #3
br label %48
43: ; preds = %38
%44 = getelementptr inbounds i64, ptr %36, i64 %29
%45 = call i32 @memcpy(ptr noundef nonnull %44, ptr noundef %3, i32 noundef %2) #3
%46 = call i32 @sd_write(ptr noundef nonnull %0, i32 noundef %34, i32 noundef %35, ptr noundef nonnull %36) #3
%47 = call i32 @kfree(ptr noundef nonnull %36) #3
br label %48
48: ; preds = %33, %41, %31, %43, %25
%49 = phi i32 [ %26, %25 ], [ %32, %31 ], [ %46, %43 ], [ -1, %33 ], [ %39, %41 ]
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 i32 %49
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @_cvrt2ftaddr(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @rtw_hal_get_hwreg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @adapter_to_pwrctl(ptr noundef) local_unnamed_addr #2
declare i32 @sd_cmd52_write(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sd_write(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @rtw_malloc(i32 noundef) local_unnamed_addr #2
declare i32 @sd_read(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @kfree(ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr 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, !8, i64 0}
!7 = !{!"intf_hdl", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"TYPE_2__", !14, i64 0}
| linux_drivers_staging_rtl8723bs_hal_extr_sdio_ops.c_sdio_writeN |
; ModuleID = 'AnghaBench/RetroArch/wii/libogc/libogc/extr_lwp.c___lwp_thread_context.c'
source_filename = "AnghaBench/RetroArch/wii/libogc/libogc/extr_lwp.c___lwp_thread_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"
@_lwp_thr_objects = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @__lwp_thread_context(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @LWP_CHECK_THREAD(i32 noundef %0) #2
%3 = tail call i32 @LWP_OBJMASKID(i32 noundef %0) #2
%4 = tail call i64 @__lwp_objmgr_getnoprotection(ptr noundef nonnull @_lwp_thr_objects, i32 noundef %3) #2
%5 = inttoptr i64 %4 to ptr
ret ptr %5
}
declare i32 @LWP_CHECK_THREAD(i32 noundef) local_unnamed_addr #1
declare i64 @__lwp_objmgr_getnoprotection(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LWP_OBJMASKID(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/RetroArch/wii/libogc/libogc/extr_lwp.c___lwp_thread_context.c'
source_filename = "AnghaBench/RetroArch/wii/libogc/libogc/extr_lwp.c___lwp_thread_context.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@_lwp_thr_objects = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @__lwp_thread_context(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @LWP_CHECK_THREAD(i32 noundef %0) #2
%3 = tail call i32 @LWP_OBJMASKID(i32 noundef %0) #2
%4 = tail call i64 @__lwp_objmgr_getnoprotection(ptr noundef nonnull @_lwp_thr_objects, i32 noundef %3) #2
%5 = inttoptr i64 %4 to ptr
ret ptr %5
}
declare i32 @LWP_CHECK_THREAD(i32 noundef) local_unnamed_addr #1
declare i64 @__lwp_objmgr_getnoprotection(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LWP_OBJMASKID(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)"}
| RetroArch_wii_libogc_libogc_extr_lwp.c___lwp_thread_context |
; ModuleID = 'AnghaBench/linux/drivers/media/pci/ttpci/extr_budget-ci.c_budget_ci_attach.c'
source_filename = "AnghaBench/linux/drivers/media/pci/ttpci/extr_budget-ci.c_budget_ci_attach.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"
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"budget_ci: %p\0A\00", align 1
@THIS_MODULE = dso_local local_unnamed_addr global i32 0, align 4
@adapter_nr = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @budget_ci_attach], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @budget_ci_attach(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%4 = tail call ptr @kzalloc(i32 noundef 8, i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%8 = sub nsw i32 0, %7
br label %27
9: ; preds = %2
%10 = tail call i32 @dprintk(i32 noundef 2, ptr noundef nonnull @.str, ptr noundef nonnull %4) #2
store ptr %4, ptr %0, align 8, !tbaa !9
%11 = load i32, ptr @THIS_MODULE, align 4, !tbaa !5
%12 = load i32, ptr @adapter_nr, align 4, !tbaa !5
%13 = tail call i32 @ttpci_budget_init(ptr noundef nonnull %4, ptr noundef nonnull %0, ptr noundef %1, i32 noundef %11, i32 noundef %12) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %24
15: ; preds = %9
%16 = tail call i32 @msp430_ir_init(ptr noundef nonnull %4) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %15
%19 = tail call i32 @ciintf_init(ptr noundef nonnull %4) #2
store ptr %4, ptr %4, align 8, !tbaa !12
%20 = tail call i32 @frontend_init(ptr noundef nonnull %4) #2
%21 = tail call i32 @ttpci_budget_init_hooks(ptr noundef nonnull %4) #2
br label %27
22: ; preds = %15
%23 = tail call i32 @ttpci_budget_deinit(ptr noundef nonnull %4) #2
br label %24
24: ; preds = %9, %22
%25 = phi i32 [ %13, %9 ], [ %16, %22 ]
%26 = tail call i32 @kfree(ptr noundef nonnull %4) #2
br label %27
27: ; preds = %6, %24, %18
%28 = phi i32 [ 0, %18 ], [ %25, %24 ], [ %8, %6 ]
ret i32 %28
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dprintk(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ttpci_budget_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msp430_ir_init(ptr noundef) local_unnamed_addr #1
declare i32 @ciintf_init(ptr noundef) local_unnamed_addr #1
declare i32 @frontend_init(ptr noundef) local_unnamed_addr #1
declare i32 @ttpci_budget_init_hooks(ptr noundef) local_unnamed_addr #1
declare i32 @ttpci_budget_deinit(ptr 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, !11, i64 0}
!10 = !{!"saa7146_dev", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"budget_ci", !14, i64 0}
!14 = !{!"TYPE_6__", !15, i64 0}
!15 = !{!"TYPE_5__", !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/pci/ttpci/extr_budget-ci.c_budget_ci_attach.c'
source_filename = "AnghaBench/linux/drivers/media/pci/ttpci/extr_budget-ci.c_budget_ci_attach.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
@.str = private unnamed_addr constant [15 x i8] c"budget_ci: %p\0A\00", align 1
@THIS_MODULE = common local_unnamed_addr global i32 0, align 4
@adapter_nr = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @budget_ci_attach], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @budget_ci_attach(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%4 = tail call ptr @kzalloc(i32 noundef 8, i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%8 = sub nsw i32 0, %7
br label %27
9: ; preds = %2
%10 = tail call i32 @dprintk(i32 noundef 2, ptr noundef nonnull @.str, ptr noundef nonnull %4) #2
store ptr %4, ptr %0, align 8, !tbaa !10
%11 = load i32, ptr @THIS_MODULE, align 4, !tbaa !6
%12 = load i32, ptr @adapter_nr, align 4, !tbaa !6
%13 = tail call i32 @ttpci_budget_init(ptr noundef nonnull %4, ptr noundef nonnull %0, ptr noundef %1, i32 noundef %11, i32 noundef %12) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %24
15: ; preds = %9
%16 = tail call i32 @msp430_ir_init(ptr noundef nonnull %4) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %15
%19 = tail call i32 @ciintf_init(ptr noundef nonnull %4) #2
store ptr %4, ptr %4, align 8, !tbaa !13
%20 = tail call i32 @frontend_init(ptr noundef nonnull %4) #2
%21 = tail call i32 @ttpci_budget_init_hooks(ptr noundef nonnull %4) #2
br label %27
22: ; preds = %15
%23 = tail call i32 @ttpci_budget_deinit(ptr noundef nonnull %4) #2
br label %24
24: ; preds = %9, %22
%25 = phi i32 [ %13, %9 ], [ %16, %22 ]
%26 = tail call i32 @kfree(ptr noundef nonnull %4) #2
br label %27
27: ; preds = %6, %24, %18
%28 = phi i32 [ 0, %18 ], [ %25, %24 ], [ %8, %6 ]
ret i32 %28
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dprintk(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ttpci_budget_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msp430_ir_init(ptr noundef) local_unnamed_addr #1
declare i32 @ciintf_init(ptr noundef) local_unnamed_addr #1
declare i32 @frontend_init(ptr noundef) local_unnamed_addr #1
declare i32 @ttpci_budget_init_hooks(ptr noundef) local_unnamed_addr #1
declare i32 @ttpci_budget_deinit(ptr 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, !12, i64 0}
!11 = !{!"saa7146_dev", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"budget_ci", !15, i64 0}
!15 = !{!"TYPE_6__", !16, i64 0}
!16 = !{!"TYPE_5__", !12, i64 0}
| linux_drivers_media_pci_ttpci_extr_budget-ci.c_budget_ci_attach |
; ModuleID = 'AnghaBench/jq/src/extr_compile.c_gen_label.c'
source_filename = "AnghaBench/jq/src/extr_compile.c_gen_label.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"_equal\00", align 1
@LOADV = dso_local local_unnamed_addr global i32 0, align 4
@GENLABEL = dso_local local_unnamed_addr global i32 0, align 4
@POP = dso_local local_unnamed_addr global i32 0, align 4
@BACKTRACK = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"error\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @gen_label(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 (...) @gen_noop() #2
%4 = tail call i32 @gen_lambda(i32 noundef %3) #2
%5 = load i32, ptr @LOADV, align 4, !tbaa !5
%6 = tail call i32 @gen_op_unbound(i32 noundef %5, ptr noundef %0) #2
%7 = tail call i32 @gen_lambda(i32 noundef %6) #2
%8 = tail call i32 @BLOCK(i32 noundef %4, i32 noundef %7) #2
%9 = tail call i32 @gen_call(ptr noundef nonnull @.str, i32 noundef %8) #2
%10 = load i32, ptr @GENLABEL, align 4, !tbaa !5
%11 = tail call i32 @gen_op_simple(i32 noundef %10) #2
%12 = load i32, ptr @POP, align 4, !tbaa !5
%13 = tail call i32 @gen_op_simple(i32 noundef %12) #2
%14 = load i32, ptr @BACKTRACK, align 4, !tbaa !5
%15 = tail call i32 @gen_op_simple(i32 noundef %14) #2
%16 = tail call i32 (...) @gen_noop() #2
%17 = tail call i32 @gen_call(ptr noundef nonnull @.str.1, i32 noundef %16) #2
%18 = tail call i32 @gen_cond(i32 noundef %9, i32 noundef %15, i32 noundef %17) #2
%19 = tail call i32 @gen_try(i32 noundef %1, i32 noundef %18) #2
%20 = tail call i32 @BLOCK(i32 noundef %13, i32 noundef %19) #2
%21 = tail call i32 @gen_wildvar_binding(i32 noundef %11, ptr noundef %0, i32 noundef %20) #2
ret i32 %21
}
declare i32 @gen_call(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BLOCK(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gen_lambda(i32 noundef) local_unnamed_addr #1
declare i32 @gen_noop(...) local_unnamed_addr #1
declare i32 @gen_op_unbound(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @gen_wildvar_binding(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gen_op_simple(i32 noundef) local_unnamed_addr #1
declare i32 @gen_try(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gen_cond(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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/jq/src/extr_compile.c_gen_label.c'
source_filename = "AnghaBench/jq/src/extr_compile.c_gen_label.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"_equal\00", align 1
@LOADV = common local_unnamed_addr global i32 0, align 4
@GENLABEL = common local_unnamed_addr global i32 0, align 4
@POP = common local_unnamed_addr global i32 0, align 4
@BACKTRACK = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"error\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @gen_label(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @gen_noop() #2
%4 = tail call i32 @gen_lambda(i32 noundef %3) #2
%5 = load i32, ptr @LOADV, align 4, !tbaa !6
%6 = tail call i32 @gen_op_unbound(i32 noundef %5, ptr noundef %0) #2
%7 = tail call i32 @gen_lambda(i32 noundef %6) #2
%8 = tail call i32 @BLOCK(i32 noundef %4, i32 noundef %7) #2
%9 = tail call i32 @gen_call(ptr noundef nonnull @.str, i32 noundef %8) #2
%10 = load i32, ptr @GENLABEL, align 4, !tbaa !6
%11 = tail call i32 @gen_op_simple(i32 noundef %10) #2
%12 = load i32, ptr @POP, align 4, !tbaa !6
%13 = tail call i32 @gen_op_simple(i32 noundef %12) #2
%14 = load i32, ptr @BACKTRACK, align 4, !tbaa !6
%15 = tail call i32 @gen_op_simple(i32 noundef %14) #2
%16 = tail call i32 @gen_noop() #2
%17 = tail call i32 @gen_call(ptr noundef nonnull @.str.1, i32 noundef %16) #2
%18 = tail call i32 @gen_cond(i32 noundef %9, i32 noundef %15, i32 noundef %17) #2
%19 = tail call i32 @gen_try(i32 noundef %1, i32 noundef %18) #2
%20 = tail call i32 @BLOCK(i32 noundef %13, i32 noundef %19) #2
%21 = tail call i32 @gen_wildvar_binding(i32 noundef %11, ptr noundef %0, i32 noundef %20) #2
ret i32 %21
}
declare i32 @gen_call(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BLOCK(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gen_lambda(i32 noundef) local_unnamed_addr #1
declare i32 @gen_noop(...) local_unnamed_addr #1
declare i32 @gen_op_unbound(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @gen_wildvar_binding(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gen_op_simple(i32 noundef) local_unnamed_addr #1
declare i32 @gen_try(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gen_cond(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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| jq_src_extr_compile.c_gen_label |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/cp/extr_class.c_convert_to_base.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/cp/extr_class.c_convert_to_base.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"
@ba_check = dso_local local_unnamed_addr global i32 0, align 4
@ba_unique = dso_local local_unnamed_addr global i32 0, align 4
@error_mark_node = dso_local local_unnamed_addr global i64 0, align 8
@PLUS_EXPR = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i64 @convert_to_base(i64 noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = tail call i64 @TREE_TYPE(i64 noundef %0) #2
%6 = tail call i64 @TYPE_PTR_P(i64 noundef %5) #2
%7 = icmp eq i64 %6, 0
%8 = tail call i64 @TREE_TYPE(i64 noundef %0) #2
br i1 %7, label %12, label %9
9: ; preds = %4
%10 = tail call i64 @TREE_TYPE(i64 noundef %8) #2
%11 = tail call i64 @TREE_TYPE(i64 noundef %1) #2
br label %12
12: ; preds = %4, %9
%13 = phi i64 [ %11, %9 ], [ %1, %4 ]
%14 = phi i64 [ %10, %9 ], [ %8, %4 ]
%15 = icmp eq i32 %2, 0
%16 = load i32, ptr @ba_check, align 4
%17 = load i32, ptr @ba_unique, align 4
%18 = select i1 %15, i32 %17, i32 %16
%19 = tail call i64 @lookup_base(i64 noundef %14, i64 noundef %13, i32 noundef %18, ptr noundef null) #2
%20 = icmp eq i64 %19, 0
%21 = load i64, ptr @error_mark_node, align 8
%22 = icmp eq i64 %19, %21
%23 = select i1 %20, i1 true, i1 %22
br i1 %23, label %27, label %24
24: ; preds = %12
%25 = load i32, ptr @PLUS_EXPR, align 4, !tbaa !5
%26 = tail call i64 @build_base_path(i32 noundef %25, i64 noundef %0, i64 noundef %19, i32 noundef %3) #2
br label %27
27: ; preds = %12, %24
%28 = phi i64 [ %26, %24 ], [ %21, %12 ]
ret i64 %28
}
declare i64 @TYPE_PTR_P(i64 noundef) local_unnamed_addr #1
declare i64 @TREE_TYPE(i64 noundef) local_unnamed_addr #1
declare i64 @lookup_base(i64 noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @build_base_path(i32 noundef, i64 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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/cp/extr_class.c_convert_to_base.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/cp/extr_class.c_convert_to_base.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ba_check = common local_unnamed_addr global i32 0, align 4
@ba_unique = common local_unnamed_addr global i32 0, align 4
@error_mark_node = common local_unnamed_addr global i64 0, align 8
@PLUS_EXPR = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @convert_to_base(i64 noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = tail call i64 @TREE_TYPE(i64 noundef %0) #2
%6 = tail call i64 @TYPE_PTR_P(i64 noundef %5) #2
%7 = icmp eq i64 %6, 0
%8 = tail call i64 @TREE_TYPE(i64 noundef %0) #2
br i1 %7, label %12, label %9
9: ; preds = %4
%10 = tail call i64 @TREE_TYPE(i64 noundef %8) #2
%11 = tail call i64 @TREE_TYPE(i64 noundef %1) #2
br label %12
12: ; preds = %4, %9
%13 = phi i64 [ %11, %9 ], [ %1, %4 ]
%14 = phi i64 [ %10, %9 ], [ %8, %4 ]
%15 = icmp eq i32 %2, 0
%16 = load i32, ptr @ba_check, align 4
%17 = load i32, ptr @ba_unique, align 4
%18 = select i1 %15, i32 %17, i32 %16
%19 = tail call i64 @lookup_base(i64 noundef %14, i64 noundef %13, i32 noundef %18, ptr noundef null) #2
%20 = icmp eq i64 %19, 0
%21 = load i64, ptr @error_mark_node, align 8
%22 = icmp eq i64 %19, %21
%23 = select i1 %20, i1 true, i1 %22
br i1 %23, label %27, label %24
24: ; preds = %12
%25 = load i32, ptr @PLUS_EXPR, align 4, !tbaa !6
%26 = tail call i64 @build_base_path(i32 noundef %25, i64 noundef %0, i64 noundef %19, i32 noundef %3) #2
br label %27
27: ; preds = %12, %24
%28 = phi i64 [ %26, %24 ], [ %21, %12 ]
ret i64 %28
}
declare i64 @TYPE_PTR_P(i64 noundef) local_unnamed_addr #1
declare i64 @TREE_TYPE(i64 noundef) local_unnamed_addr #1
declare i64 @lookup_base(i64 noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @build_base_path(i32 noundef, i64 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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_gcc_cp_extr_class.c_convert_to_base |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/dvm/extr_rs.c_rs_switch_to_mimo3.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/dvm/extr_rs.c_rs_switch_to_mimo3.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.ieee80211_sta = type { i64, %struct.TYPE_3__, i64 }
%struct.TYPE_3__ = type { i32 }
%struct.iwl_scale_tbl_info = type { i32, i32, i32, i64, i32, i32 }
%struct.iwl_lq_sta = type { i32, i32, i32 }
@IEEE80211_SMPS_STATIC = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [28 x i8] c"LQ: try to switch to MIMO3\0A\00", align 1
@LQ_MIMO3 = dso_local local_unnamed_addr global i32 0, align 4
@IWL_MAX_11N_MIMO3_SEARCH = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"LQ: MIMO3 best rate %d mask %X\0A\00", align 1
@IWL_RATE_INVALID = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [41 x i8] c"Can't switch with index %d rate mask %x\0A\00", align 1
@.str.3 = private unnamed_addr constant [44 x i8] c"LQ: Switch to new mcs %X index is green %X\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @rs_switch_to_mimo3], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @rs_switch_to_mimo3(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = load i32, ptr %1, align 4, !tbaa !5
%8 = getelementptr inbounds %struct.ieee80211_sta, ptr %3, i64 0, i32 2
%9 = load i64, ptr %8, align 8, !tbaa !10
%10 = inttoptr i64 %9 to ptr
%11 = load ptr, ptr %10, align 8, !tbaa !14
%12 = tail call i32 @conf_is_ht(ptr noundef %2) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %55, label %14
14: ; preds = %6
%15 = getelementptr inbounds %struct.ieee80211_sta, ptr %3, i64 0, i32 1
%16 = load i32, ptr %15, align 8, !tbaa !17
%17 = icmp eq i32 %16, 0
br i1 %17, label %55, label %18
18: ; preds = %14
%19 = load i64, ptr %3, align 8, !tbaa !18
%20 = load i64, ptr @IEEE80211_SMPS_STATIC, align 8, !tbaa !19
%21 = icmp eq i64 %19, %20
br i1 %21, label %55, label %22
22: ; preds = %18
%23 = load i32, ptr %0, align 4, !tbaa !20
%24 = icmp slt i32 %23, 3
br i1 %24, label %55, label %25
25: ; preds = %22
%26 = tail call i32 (ptr, ptr, ...) @IWL_DEBUG_RATE(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
%27 = load i32, ptr @LQ_MIMO3, align 4, !tbaa !23
%28 = getelementptr inbounds %struct.iwl_scale_tbl_info, ptr %4, i64 0, i32 5
store i32 %27, ptr %28, align 4, !tbaa !24
%29 = getelementptr inbounds %struct.iwl_lq_sta, ptr %1, i64 0, i32 2
%30 = load i32, ptr %29, align 4, !tbaa !26
%31 = getelementptr inbounds %struct.iwl_scale_tbl_info, ptr %4, i64 0, i32 4
store i32 %30, ptr %31, align 8, !tbaa !27
%32 = getelementptr inbounds %struct.iwl_scale_tbl_info, ptr %4, i64 0, i32 3
store i64 0, ptr %32, align 8, !tbaa !28
%33 = load i32, ptr @IWL_MAX_11N_MIMO3_SEARCH, align 4, !tbaa !23
%34 = getelementptr inbounds %struct.iwl_scale_tbl_info, ptr %4, i64 0, i32 2
store i32 %33, ptr %34, align 8, !tbaa !29
%35 = getelementptr inbounds %struct.iwl_lq_sta, ptr %1, i64 0, i32 1
%36 = load i32, ptr %35, align 4, !tbaa !30
%37 = tail call i64 @iwl_is_ht40_tx_allowed(ptr noundef nonnull %0, ptr noundef %11, ptr noundef nonnull %3) #2
%38 = icmp ne i64 %37, 0
%39 = zext i1 %38 to i32
store i32 %39, ptr %4, align 8, !tbaa !31
%40 = tail call i32 @rs_set_expected_tpt_table(ptr noundef nonnull %1, ptr noundef nonnull %4) #2
%41 = tail call i32 @rs_get_best_rate(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %4, i32 noundef %36, i32 noundef %5) #2
%42 = tail call i32 (ptr, ptr, ...) @IWL_DEBUG_RATE(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %41, i32 noundef %36) #2
%43 = load i32, ptr @IWL_RATE_INVALID, align 4, !tbaa !23
%44 = icmp eq i32 %41, %43
br i1 %44, label %49, label %45
45: ; preds = %25
%46 = shl nuw i32 1, %41
%47 = and i32 %46, %36
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %45, %25
%50 = tail call i32 (ptr, ptr, ...) @IWL_DEBUG_RATE(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %41, i32 noundef %36) #2
br label %55
51: ; preds = %45
%52 = tail call i32 @rate_n_flags_from_tbl(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %41, i32 noundef %7) #2
%53 = getelementptr inbounds %struct.iwl_scale_tbl_info, ptr %4, i64 0, i32 1
store i32 %52, ptr %53, align 4, !tbaa !32
%54 = tail call i32 (ptr, ptr, ...) @IWL_DEBUG_RATE(ptr noundef nonnull %0, ptr noundef nonnull @.str.3, i32 noundef %52, i32 noundef %7) #2
br label %55
55: ; preds = %22, %18, %6, %14, %51, %49
%56 = phi i32 [ -1, %49 ], [ 0, %51 ], [ -1, %14 ], [ -1, %6 ], [ -1, %18 ], [ -1, %22 ]
ret i32 %56
}
declare i32 @conf_is_ht(ptr noundef) local_unnamed_addr #1
declare i32 @IWL_DEBUG_RATE(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i64 @iwl_is_ht40_tx_allowed(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rs_set_expected_tpt_table(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rs_get_best_rate(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rate_n_flags_from_tbl(ptr noundef, 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, !7, i64 0}
!6 = !{!"iwl_lq_sta", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 16}
!11 = !{!"ieee80211_sta", !12, i64 0, !13, i64 8, !12, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!"TYPE_3__", !7, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"iwl_station_priv", !16, i64 0}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!11, !7, i64 8}
!18 = !{!11, !12, i64 0}
!19 = !{!12, !12, i64 0}
!20 = !{!21, !7, i64 0}
!21 = !{!"iwl_priv", !22, i64 0}
!22 = !{!"TYPE_4__", !7, i64 0}
!23 = !{!7, !7, i64 0}
!24 = !{!25, !7, i64 28}
!25 = !{!"iwl_scale_tbl_info", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16, !7, i64 24, !7, i64 28}
!26 = !{!6, !7, i64 8}
!27 = !{!25, !7, i64 24}
!28 = !{!25, !12, i64 16}
!29 = !{!25, !7, i64 8}
!30 = !{!6, !7, i64 4}
!31 = !{!25, !7, i64 0}
!32 = !{!25, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/dvm/extr_rs.c_rs_switch_to_mimo3.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/dvm/extr_rs.c_rs_switch_to_mimo3.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IEEE80211_SMPS_STATIC = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [28 x i8] c"LQ: try to switch to MIMO3\0A\00", align 1
@LQ_MIMO3 = common local_unnamed_addr global i32 0, align 4
@IWL_MAX_11N_MIMO3_SEARCH = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"LQ: MIMO3 best rate %d mask %X\0A\00", align 1
@IWL_RATE_INVALID = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [41 x i8] c"Can't switch with index %d rate mask %x\0A\00", align 1
@.str.3 = private unnamed_addr constant [44 x i8] c"LQ: Switch to new mcs %X index is green %X\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @rs_switch_to_mimo3], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @rs_switch_to_mimo3(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = load i32, ptr %1, align 4, !tbaa !6
%8 = getelementptr inbounds i8, ptr %3, i64 16
%9 = load i64, ptr %8, align 8, !tbaa !11
%10 = inttoptr i64 %9 to ptr
%11 = load ptr, ptr %10, align 8, !tbaa !15
%12 = tail call i32 @conf_is_ht(ptr noundef %2) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %55, label %14
14: ; preds = %6
%15 = getelementptr inbounds i8, ptr %3, i64 8
%16 = load i32, ptr %15, align 8, !tbaa !18
%17 = icmp eq i32 %16, 0
br i1 %17, label %55, label %18
18: ; preds = %14
%19 = load i64, ptr %3, align 8, !tbaa !19
%20 = load i64, ptr @IEEE80211_SMPS_STATIC, align 8, !tbaa !20
%21 = icmp eq i64 %19, %20
br i1 %21, label %55, label %22
22: ; preds = %18
%23 = load i32, ptr %0, align 4, !tbaa !21
%24 = icmp slt i32 %23, 3
br i1 %24, label %55, label %25
25: ; preds = %22
%26 = tail call i32 (ptr, ptr, ...) @IWL_DEBUG_RATE(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
%27 = load i32, ptr @LQ_MIMO3, align 4, !tbaa !24
%28 = getelementptr inbounds i8, ptr %4, i64 28
store i32 %27, ptr %28, align 4, !tbaa !25
%29 = getelementptr inbounds i8, ptr %1, i64 8
%30 = load i32, ptr %29, align 4, !tbaa !27
%31 = getelementptr inbounds i8, ptr %4, i64 24
store i32 %30, ptr %31, align 8, !tbaa !28
%32 = getelementptr inbounds i8, ptr %4, i64 16
store i64 0, ptr %32, align 8, !tbaa !29
%33 = load i32, ptr @IWL_MAX_11N_MIMO3_SEARCH, align 4, !tbaa !24
%34 = getelementptr inbounds i8, ptr %4, i64 8
store i32 %33, ptr %34, align 8, !tbaa !30
%35 = getelementptr inbounds i8, ptr %1, i64 4
%36 = load i32, ptr %35, align 4, !tbaa !31
%37 = tail call i64 @iwl_is_ht40_tx_allowed(ptr noundef nonnull %0, ptr noundef %11, ptr noundef nonnull %3) #2
%38 = icmp ne i64 %37, 0
%39 = zext i1 %38 to i32
store i32 %39, ptr %4, align 8, !tbaa !32
%40 = tail call i32 @rs_set_expected_tpt_table(ptr noundef nonnull %1, ptr noundef nonnull %4) #2
%41 = tail call i32 @rs_get_best_rate(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %4, i32 noundef %36, i32 noundef %5) #2
%42 = tail call i32 (ptr, ptr, ...) @IWL_DEBUG_RATE(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %41, i32 noundef %36) #2
%43 = load i32, ptr @IWL_RATE_INVALID, align 4, !tbaa !24
%44 = icmp eq i32 %41, %43
br i1 %44, label %49, label %45
45: ; preds = %25
%46 = shl nuw i32 1, %41
%47 = and i32 %46, %36
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %45, %25
%50 = tail call i32 (ptr, ptr, ...) @IWL_DEBUG_RATE(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %41, i32 noundef %36) #2
br label %55
51: ; preds = %45
%52 = tail call i32 @rate_n_flags_from_tbl(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %41, i32 noundef %7) #2
%53 = getelementptr inbounds i8, ptr %4, i64 4
store i32 %52, ptr %53, align 4, !tbaa !33
%54 = tail call i32 (ptr, ptr, ...) @IWL_DEBUG_RATE(ptr noundef nonnull %0, ptr noundef nonnull @.str.3, i32 noundef %52, i32 noundef %7) #2
br label %55
55: ; preds = %22, %18, %6, %14, %51, %49
%56 = phi i32 [ -1, %49 ], [ 0, %51 ], [ -1, %14 ], [ -1, %6 ], [ -1, %18 ], [ -1, %22 ]
ret i32 %56
}
declare i32 @conf_is_ht(ptr noundef) local_unnamed_addr #1
declare i32 @IWL_DEBUG_RATE(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i64 @iwl_is_ht40_tx_allowed(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rs_set_expected_tpt_table(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rs_get_best_rate(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rate_n_flags_from_tbl(ptr noundef, 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, !8, i64 0}
!7 = !{!"iwl_lq_sta", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 16}
!12 = !{!"ieee80211_sta", !13, i64 0, !14, i64 8, !13, i64 16}
!13 = !{!"long", !9, i64 0}
!14 = !{!"TYPE_3__", !8, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"iwl_station_priv", !17, i64 0}
!17 = !{!"any pointer", !9, i64 0}
!18 = !{!12, !8, i64 8}
!19 = !{!12, !13, i64 0}
!20 = !{!13, !13, i64 0}
!21 = !{!22, !8, i64 0}
!22 = !{!"iwl_priv", !23, i64 0}
!23 = !{!"TYPE_4__", !8, i64 0}
!24 = !{!8, !8, i64 0}
!25 = !{!26, !8, i64 28}
!26 = !{!"iwl_scale_tbl_info", !8, i64 0, !8, i64 4, !8, i64 8, !13, i64 16, !8, i64 24, !8, i64 28}
!27 = !{!7, !8, i64 8}
!28 = !{!26, !8, i64 24}
!29 = !{!26, !13, i64 16}
!30 = !{!26, !8, i64 8}
!31 = !{!7, !8, i64 4}
!32 = !{!26, !8, i64 0}
!33 = !{!26, !8, i64 4}
| linux_drivers_net_wireless_intel_iwlwifi_dvm_extr_rs.c_rs_switch_to_mimo3 |
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_sapdec.c_sap_read_close.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_sapdec.c_sap_read_close.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.SAPState = type { i32, i64, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @sap_read_close], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @sap_read_close(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.SAPState, ptr %2, i64 0, i32 2
%4 = load i64, ptr %3, align 8, !tbaa !10
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = tail call i32 @avformat_close_input(ptr noundef nonnull %3) #2
br label %8
8: ; preds = %6, %1
%9 = getelementptr inbounds %struct.SAPState, ptr %2, i64 0, i32 1
%10 = load i64, ptr %9, align 8, !tbaa !14
%11 = icmp eq i64 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %8
%13 = tail call i32 @ffurl_close(i64 noundef %10) #2
br label %14
14: ; preds = %12, %8
%15 = tail call i32 @av_freep(ptr noundef nonnull %2) #2
%16 = tail call i32 (...) @ff_network_close() #2
ret i32 0
}
declare i32 @avformat_close_input(ptr noundef) local_unnamed_addr #1
declare i32 @ffurl_close(i64 noundef) local_unnamed_addr #1
declare i32 @av_freep(ptr noundef) local_unnamed_addr #1
declare i32 @ff_network_close(...) 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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 16}
!11 = !{!"SAPState", !12, i64 0, !13, i64 8, !13, i64 16}
!12 = !{!"int", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !13, i64 8}
| ; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_sapdec.c_sap_read_close.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_sapdec.c_sap_read_close.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 @sap_read_close], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @sap_read_close(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %2, i64 16
%4 = load i64, ptr %3, align 8, !tbaa !11
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = tail call i32 @avformat_close_input(ptr noundef nonnull %3) #2
br label %8
8: ; preds = %6, %1
%9 = getelementptr inbounds i8, ptr %2, i64 8
%10 = load i64, ptr %9, align 8, !tbaa !15
%11 = icmp eq i64 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %8
%13 = tail call i32 @ffurl_close(i64 noundef %10) #2
br label %14
14: ; preds = %12, %8
%15 = tail call i32 @av_freep(ptr noundef nonnull %2) #2
%16 = tail call i32 @ff_network_close() #2
ret i32 0
}
declare i32 @avformat_close_input(ptr noundef) local_unnamed_addr #1
declare i32 @ffurl_close(i64 noundef) local_unnamed_addr #1
declare i32 @av_freep(ptr noundef) local_unnamed_addr #1
declare i32 @ff_network_close(...) 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 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 16}
!12 = !{!"SAPState", !13, i64 0, !14, i64 8, !14, i64 16}
!13 = !{!"int", !9, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!12, !14, i64 8}
| FFmpeg_libavformat_extr_sapdec.c_sap_read_close |
; ModuleID = 'AnghaBench/linux/drivers/media/platform/qcom/camss/extr_camss-vfe-4-1.c_vfe_set_clamp_cfg.c'
source_filename = "AnghaBench/linux/drivers/media/platform/qcom/camss/extr_camss-vfe-4-1.c_vfe_set_clamp_cfg.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"
@VFE_0_CLAMP_ENC_MAX_CFG_CH0 = dso_local local_unnamed_addr global i32 0, align 4
@VFE_0_CLAMP_ENC_MAX_CFG_CH1 = dso_local local_unnamed_addr global i32 0, align 4
@VFE_0_CLAMP_ENC_MAX_CFG_CH2 = dso_local local_unnamed_addr global i32 0, align 4
@VFE_0_CLAMP_ENC_MAX_CFG = dso_local local_unnamed_addr global i64 0, align 8
@VFE_0_CLAMP_ENC_MIN_CFG_CH0 = dso_local local_unnamed_addr global i32 0, align 4
@VFE_0_CLAMP_ENC_MIN_CFG_CH1 = dso_local local_unnamed_addr global i32 0, align 4
@VFE_0_CLAMP_ENC_MIN_CFG_CH2 = dso_local local_unnamed_addr global i32 0, align 4
@VFE_0_CLAMP_ENC_MIN_CFG = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @vfe_set_clamp_cfg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @vfe_set_clamp_cfg(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @VFE_0_CLAMP_ENC_MAX_CFG_CH0, align 4, !tbaa !5
%3 = load i32, ptr @VFE_0_CLAMP_ENC_MAX_CFG_CH1, align 4, !tbaa !5
%4 = or i32 %3, %2
%5 = load i32, ptr @VFE_0_CLAMP_ENC_MAX_CFG_CH2, align 4, !tbaa !5
%6 = or i32 %4, %5
%7 = load i64, ptr %0, align 8, !tbaa !9
%8 = load i64, ptr @VFE_0_CLAMP_ENC_MAX_CFG, align 8, !tbaa !12
%9 = add nsw i64 %8, %7
%10 = tail call i32 @writel_relaxed(i32 noundef %6, i64 noundef %9) #2
%11 = load i32, ptr @VFE_0_CLAMP_ENC_MIN_CFG_CH0, align 4, !tbaa !5
%12 = load i32, ptr @VFE_0_CLAMP_ENC_MIN_CFG_CH1, align 4, !tbaa !5
%13 = or i32 %12, %11
%14 = load i32, ptr @VFE_0_CLAMP_ENC_MIN_CFG_CH2, align 4, !tbaa !5
%15 = or i32 %13, %14
%16 = load i64, ptr %0, align 8, !tbaa !9
%17 = load i64, ptr @VFE_0_CLAMP_ENC_MIN_CFG, align 8, !tbaa !12
%18 = add nsw i64 %17, %16
%19 = tail call i32 @writel_relaxed(i32 noundef %15, i64 noundef %18) #2
ret void
}
declare i32 @writel_relaxed(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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"vfe_device", !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/platform/qcom/camss/extr_camss-vfe-4-1.c_vfe_set_clamp_cfg.c'
source_filename = "AnghaBench/linux/drivers/media/platform/qcom/camss/extr_camss-vfe-4-1.c_vfe_set_clamp_cfg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VFE_0_CLAMP_ENC_MAX_CFG_CH0 = common local_unnamed_addr global i32 0, align 4
@VFE_0_CLAMP_ENC_MAX_CFG_CH1 = common local_unnamed_addr global i32 0, align 4
@VFE_0_CLAMP_ENC_MAX_CFG_CH2 = common local_unnamed_addr global i32 0, align 4
@VFE_0_CLAMP_ENC_MAX_CFG = common local_unnamed_addr global i64 0, align 8
@VFE_0_CLAMP_ENC_MIN_CFG_CH0 = common local_unnamed_addr global i32 0, align 4
@VFE_0_CLAMP_ENC_MIN_CFG_CH1 = common local_unnamed_addr global i32 0, align 4
@VFE_0_CLAMP_ENC_MIN_CFG_CH2 = common local_unnamed_addr global i32 0, align 4
@VFE_0_CLAMP_ENC_MIN_CFG = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @vfe_set_clamp_cfg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @vfe_set_clamp_cfg(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @VFE_0_CLAMP_ENC_MAX_CFG_CH0, align 4, !tbaa !6
%3 = load i32, ptr @VFE_0_CLAMP_ENC_MAX_CFG_CH1, align 4, !tbaa !6
%4 = or i32 %3, %2
%5 = load i32, ptr @VFE_0_CLAMP_ENC_MAX_CFG_CH2, align 4, !tbaa !6
%6 = or i32 %4, %5
%7 = load i64, ptr %0, align 8, !tbaa !10
%8 = load i64, ptr @VFE_0_CLAMP_ENC_MAX_CFG, align 8, !tbaa !13
%9 = add nsw i64 %8, %7
%10 = tail call i32 @writel_relaxed(i32 noundef %6, i64 noundef %9) #2
%11 = load i32, ptr @VFE_0_CLAMP_ENC_MIN_CFG_CH0, align 4, !tbaa !6
%12 = load i32, ptr @VFE_0_CLAMP_ENC_MIN_CFG_CH1, align 4, !tbaa !6
%13 = or i32 %12, %11
%14 = load i32, ptr @VFE_0_CLAMP_ENC_MIN_CFG_CH2, align 4, !tbaa !6
%15 = or i32 %13, %14
%16 = load i64, ptr %0, align 8, !tbaa !10
%17 = load i64, ptr @VFE_0_CLAMP_ENC_MIN_CFG, align 8, !tbaa !13
%18 = add nsw i64 %17, %16
%19 = tail call i32 @writel_relaxed(i32 noundef %15, i64 noundef %18) #2
ret void
}
declare i32 @writel_relaxed(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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"vfe_device", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
| linux_drivers_media_platform_qcom_camss_extr_camss-vfe-4-1.c_vfe_set_clamp_cfg |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_phy_ht.c_b43_phy_ht_tx_tone.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_phy_ht.c_b43_phy_ht_tx_tone.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 @b43_phy_ht_tx_tone], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @b43_phy_ht_tx_tone(ptr noundef %0) #0 {
%2 = tail call i32 @b43_phy_ht_load_samples(ptr noundef %0) #2
%3 = tail call i32 @b43_phy_ht_run_samples(ptr noundef %0, i32 noundef %2, i32 noundef 65535, i32 noundef 0) #2
ret void
}
declare i32 @b43_phy_ht_load_samples(ptr noundef) local_unnamed_addr #1
declare i32 @b43_phy_ht_run_samples(ptr 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)"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_phy_ht.c_b43_phy_ht_tx_tone.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_phy_ht.c_b43_phy_ht_tx_tone.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 @b43_phy_ht_tx_tone], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @b43_phy_ht_tx_tone(ptr noundef %0) #0 {
%2 = tail call i32 @b43_phy_ht_load_samples(ptr noundef %0) #2
%3 = tail call i32 @b43_phy_ht_run_samples(ptr noundef %0, i32 noundef %2, i32 noundef 65535, i32 noundef 0) #2
ret void
}
declare i32 @b43_phy_ht_load_samples(ptr noundef) local_unnamed_addr #1
declare i32 @b43_phy_ht_run_samples(ptr 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)"}
| linux_drivers_net_wireless_broadcom_b43_extr_phy_ht.c_b43_phy_ht_tx_tone |
; ModuleID = 'AnghaBench/micropython/ports/cc3200/FreeRTOS/Source/extr_list.c_vListInsert.c'
source_filename = "AnghaBench/micropython/ports/cc3200/FreeRTOS/Source/extr_list.c_vListInsert.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, %struct.TYPE_8__ }
%struct.TYPE_8__ = type { ptr }
%struct.TYPE_10__ = type { i64, ptr, ptr, ptr }
@portMAX_DELAY = dso_local local_unnamed_addr constant i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @vListInsert(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = tail call i32 @listTEST_LIST_INTEGRITY(ptr noundef %0) #2
%5 = tail call i32 @listTEST_LIST_ITEM_INTEGRITY(ptr noundef nonnull %1) #2
%6 = icmp eq i64 %3, 0
%7 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1
br i1 %6, label %8, label %12
8: ; preds = %2
%9 = load ptr, ptr %7, align 8, !tbaa !11
%10 = getelementptr inbounds %struct.TYPE_10__, ptr %9, i64 0, i32 2
%11 = load ptr, ptr %10, align 8, !tbaa !15
br label %18
12: ; preds = %2, %12
%13 = phi ptr [ %15, %12 ], [ %7, %2 ]
%14 = getelementptr inbounds %struct.TYPE_10__, ptr %13, i64 0, i32 2
%15 = load ptr, ptr %14, align 8, !tbaa !15
%16 = load i64, ptr %15, align 8, !tbaa !5
%17 = icmp sgt i64 %16, %3
br i1 %17, label %18, label %12, !llvm.loop !16
18: ; preds = %12, %8
%19 = phi ptr [ %11, %8 ], [ %15, %12 ]
%20 = phi ptr [ %9, %8 ], [ %13, %12 ]
%21 = getelementptr inbounds %struct.TYPE_10__, ptr %20, i64 0, i32 2
%22 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 0, i32 2
store ptr %19, ptr %22, align 8, !tbaa !15
%23 = getelementptr inbounds %struct.TYPE_10__, ptr %19, i64 0, i32 3
store ptr %1, ptr %23, align 8, !tbaa !18
%24 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 0, i32 3
store ptr %20, ptr %24, align 8, !tbaa !18
store ptr %1, ptr %21, align 8, !tbaa !15
%25 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 0, i32 1
store ptr %0, ptr %25, align 8, !tbaa !19
%26 = load i32, ptr %0, align 8, !tbaa !20
%27 = add nsw i32 %26, 1
store i32 %27, ptr %0, align 8, !tbaa !20
ret void
}
declare i32 @listTEST_LIST_INTEGRITY(ptr noundef) local_unnamed_addr #1
declare i32 @listTEST_LIST_ITEM_INTEGRITY(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, !10, i64 8, !10, i64 16, !10, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"TYPE_9__", !13, i64 0, !14, i64 8}
!13 = !{!"int", !8, i64 0}
!14 = !{!"TYPE_8__", !10, i64 0}
!15 = !{!6, !10, i64 16}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!6, !10, i64 24}
!19 = !{!6, !10, i64 8}
!20 = !{!12, !13, i64 0}
| ; ModuleID = 'AnghaBench/micropython/ports/cc3200/FreeRTOS/Source/extr_list.c_vListInsert.c'
source_filename = "AnghaBench/micropython/ports/cc3200/FreeRTOS/Source/extr_list.c_vListInsert.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@portMAX_DELAY = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @vListInsert(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = tail call i32 @listTEST_LIST_INTEGRITY(ptr noundef %0) #2
%5 = tail call i32 @listTEST_LIST_ITEM_INTEGRITY(ptr noundef nonnull %1) #2
%6 = load i64, ptr @portMAX_DELAY, align 8, !tbaa !12
%7 = icmp eq i64 %3, %6
%8 = getelementptr inbounds i8, ptr %0, i64 8
br i1 %7, label %9, label %13
9: ; preds = %2
%10 = load ptr, ptr %8, align 8, !tbaa !13
%11 = getelementptr inbounds i8, ptr %10, i64 16
%12 = load ptr, ptr %11, align 8, !tbaa !17
br label %19
13: ; preds = %2, %13
%14 = phi ptr [ %16, %13 ], [ %8, %2 ]
%15 = getelementptr inbounds i8, ptr %14, i64 16
%16 = load ptr, ptr %15, align 8, !tbaa !17
%17 = load i64, ptr %16, align 8, !tbaa !6
%18 = icmp sgt i64 %17, %3
br i1 %18, label %19, label %13, !llvm.loop !18
19: ; preds = %13, %9
%20 = phi ptr [ %12, %9 ], [ %16, %13 ]
%21 = phi ptr [ %10, %9 ], [ %14, %13 ]
%22 = getelementptr inbounds i8, ptr %21, i64 16
%23 = getelementptr inbounds i8, ptr %1, i64 16
store ptr %20, ptr %23, align 8, !tbaa !17
%24 = getelementptr inbounds i8, ptr %20, i64 24
store ptr %1, ptr %24, align 8, !tbaa !20
%25 = getelementptr inbounds i8, ptr %1, i64 24
store ptr %21, ptr %25, align 8, !tbaa !20
store ptr %1, ptr %22, align 8, !tbaa !17
%26 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %0, ptr %26, align 8, !tbaa !21
%27 = load i32, ptr %0, align 8, !tbaa !22
%28 = add nsw i32 %27, 1
store i32 %28, ptr %0, align 8, !tbaa !22
ret void
}
declare i32 @listTEST_LIST_INTEGRITY(ptr noundef) local_unnamed_addr #1
declare i32 @listTEST_LIST_ITEM_INTEGRITY(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, !11, i64 8, !11, i64 16, !11, i64 24}
!8 = !{!"long", !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, !11, i64 8}
!14 = !{!"TYPE_9__", !15, i64 0, !16, i64 8}
!15 = !{!"int", !9, i64 0}
!16 = !{!"TYPE_8__", !11, i64 0}
!17 = !{!7, !11, i64 16}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!7, !11, i64 24}
!21 = !{!7, !11, i64 8}
!22 = !{!14, !15, i64 0}
| micropython_ports_cc3200_FreeRTOS_Source_extr_list.c_vListInsert |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_en_main.c_mlx5e_update_nic_rx.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_en_main.c_mlx5e_update_nic_rx.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 @mlx5e_update_nic_rx(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @mlx5e_refresh_tirs(ptr noundef %0, i32 noundef 0) #2
ret i32 %2
}
declare i32 @mlx5e_refresh_tirs(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)"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_en_main.c_mlx5e_update_nic_rx.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_en_main.c_mlx5e_update_nic_rx.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 @mlx5e_update_nic_rx(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @mlx5e_refresh_tirs(ptr noundef %0, i32 noundef 0) #2
ret i32 %2
}
declare i32 @mlx5e_refresh_tirs(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)"}
| linux_drivers_net_ethernet_mellanox_mlx5_core_extr_en_main.c_mlx5e_update_nic_rx |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/extr_bsnmpmap.c_snmp_mapping_free.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/extr_bsnmpmap.c_snmp_mapping_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.snmp_toolinfo = type { ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @snmp_mapping_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %33, label %3
3: ; preds = %1
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
br i1 %5, label %33, label %6
6: ; preds = %3
%7 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 12
%8 = tail call i32 @snmp_mapping_listfree(ptr noundef nonnull %7) #2
%9 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 11
%10 = tail call i32 @snmp_mapping_listfree(ptr noundef nonnull %9) #2
%11 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 10
%12 = tail call i32 @snmp_mapping_listfree(ptr noundef nonnull %11) #2
%13 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 9
%14 = tail call i32 @snmp_mapping_listfree(ptr noundef nonnull %13) #2
%15 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 8
%16 = tail call i32 @snmp_mapping_listfree(ptr noundef nonnull %15) #2
%17 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 7
%18 = tail call i32 @snmp_mapping_listfree(ptr noundef nonnull %17) #2
%19 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 6
%20 = tail call i32 @snmp_mapping_listfree(ptr noundef nonnull %19) #2
%21 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 5
%22 = tail call i32 @snmp_mapping_listfree(ptr noundef nonnull %21) #2
%23 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 4
%24 = tail call i32 @snmp_mapping_listfree(ptr noundef nonnull %23) #2
%25 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 3
%26 = tail call i32 @snmp_mapping_listfree(ptr noundef nonnull %25) #2
%27 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 2
%28 = tail call i32 @snmp_mapping_table_listfree(ptr noundef nonnull %27) #2
%29 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 1
%30 = tail call i32 @snmp_enumtc_listfree(ptr noundef nonnull %29) #2
%31 = load ptr, ptr %0, align 8, !tbaa !5
%32 = tail call i32 @free(ptr noundef %31) #2
br label %33
33: ; preds = %1, %3, %6
%34 = phi i32 [ 0, %6 ], [ -1, %3 ], [ -1, %1 ]
ret i32 %34
}
declare i32 @snmp_mapping_listfree(ptr noundef) local_unnamed_addr #1
declare i32 @snmp_mapping_table_listfree(ptr noundef) local_unnamed_addr #1
declare i32 @snmp_enumtc_listfree(ptr noundef) local_unnamed_addr #1
declare i32 @free(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 = !{!"snmp_toolinfo", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/extr_bsnmpmap.c_snmp_mapping_free.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/extr_bsnmpmap.c_snmp_mapping_free.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 range(i32 -1, 1) i32 @snmp_mapping_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %33, label %3
3: ; preds = %1
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %33, label %6
6: ; preds = %3
%7 = getelementptr inbounds i8, ptr %0, i64 52
%8 = tail call i32 @snmp_mapping_listfree(ptr noundef nonnull %7) #2
%9 = getelementptr inbounds i8, ptr %0, i64 48
%10 = tail call i32 @snmp_mapping_listfree(ptr noundef nonnull %9) #2
%11 = getelementptr inbounds i8, ptr %0, i64 44
%12 = tail call i32 @snmp_mapping_listfree(ptr noundef nonnull %11) #2
%13 = getelementptr inbounds i8, ptr %0, i64 40
%14 = tail call i32 @snmp_mapping_listfree(ptr noundef nonnull %13) #2
%15 = getelementptr inbounds i8, ptr %0, i64 36
%16 = tail call i32 @snmp_mapping_listfree(ptr noundef nonnull %15) #2
%17 = getelementptr inbounds i8, ptr %0, i64 32
%18 = tail call i32 @snmp_mapping_listfree(ptr noundef nonnull %17) #2
%19 = getelementptr inbounds i8, ptr %0, i64 28
%20 = tail call i32 @snmp_mapping_listfree(ptr noundef nonnull %19) #2
%21 = getelementptr inbounds i8, ptr %0, i64 24
%22 = tail call i32 @snmp_mapping_listfree(ptr noundef nonnull %21) #2
%23 = getelementptr inbounds i8, ptr %0, i64 20
%24 = tail call i32 @snmp_mapping_listfree(ptr noundef nonnull %23) #2
%25 = getelementptr inbounds i8, ptr %0, i64 16
%26 = tail call i32 @snmp_mapping_listfree(ptr noundef nonnull %25) #2
%27 = getelementptr inbounds i8, ptr %0, i64 12
%28 = tail call i32 @snmp_mapping_table_listfree(ptr noundef nonnull %27) #2
%29 = getelementptr inbounds i8, ptr %0, i64 8
%30 = tail call i32 @snmp_enumtc_listfree(ptr noundef nonnull %29) #2
%31 = load ptr, ptr %0, align 8, !tbaa !6
%32 = tail call i32 @free(ptr noundef %31) #2
br label %33
33: ; preds = %1, %3, %6
%34 = phi i32 [ 0, %6 ], [ -1, %3 ], [ -1, %1 ]
ret i32 %34
}
declare i32 @snmp_mapping_listfree(ptr noundef) local_unnamed_addr #1
declare i32 @snmp_mapping_table_listfree(ptr noundef) local_unnamed_addr #1
declare i32 @snmp_enumtc_listfree(ptr noundef) local_unnamed_addr #1
declare i32 @free(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 = !{!"snmp_toolinfo", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
| freebsd_usr.sbin_bsnmpd_tools_libbsnmptools_extr_bsnmpmap.c_snmp_mapping_free |
; ModuleID = 'AnghaBench/freebsd/crypto/openssh/extr_ssh-rsa.c_ssh_rsa_verify.c'
source_filename = "AnghaBench/freebsd/crypto/openssh/extr_ssh-rsa.c_ssh_rsa_verify.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.sshkey = type { ptr, i32 }
@SSH_ERR_INTERNAL_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@SSH_DIGEST_MAX_LENGTH = dso_local local_unnamed_addr global i32 0, align 4
@KEY_RSA = dso_local local_unnamed_addr global i64 0, align 8
@SSH_ERR_INVALID_ARGUMENT = dso_local local_unnamed_addr global i32 0, align 4
@SSH_RSA_MINIMUM_MODULUS_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@SSH_ERR_KEY_LENGTH = dso_local local_unnamed_addr global i32 0, align 4
@SSH_ERR_ALLOC_FAIL = dso_local local_unnamed_addr global i32 0, align 4
@SSH_ERR_INVALID_FORMAT = dso_local local_unnamed_addr global i32 0, align 4
@SSH_ERR_KEY_TYPE_MISMATCH = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"ssh-rsa-cert-v01@openssh.com\00", align 1
@SSH_ERR_SIGNATURE_INVALID = dso_local local_unnamed_addr global i32 0, align 4
@SSH_ERR_UNEXPECTED_TRAILING_DATA = dso_local local_unnamed_addr global i32 0, align 4
@SSH_ERR_KEY_BITS_MISMATCH = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ssh_rsa_verify(ptr noundef readonly %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5) local_unnamed_addr #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
store ptr null, ptr %8, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
store i64 0, ptr %9, align 8, !tbaa !9
%11 = load i32, ptr @SSH_DIGEST_MAX_LENGTH, align 4, !tbaa !11
%12 = zext i32 %11 to i64
%13 = tail call ptr @llvm.stacksave.p0()
%14 = alloca i32, i64 %12, align 16
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
store ptr null, ptr %10, align 8, !tbaa !5
%15 = icmp eq ptr %0, null
br i1 %15, label %29, label %16
16: ; preds = %6
%17 = load ptr, ptr %0, align 8, !tbaa !13
%18 = icmp eq ptr %17, null
br i1 %18, label %29, label %19
19: ; preds = %16
%20 = getelementptr inbounds %struct.sshkey, ptr %0, i64 0, i32 1
%21 = load i32, ptr %20, align 8, !tbaa !15
%22 = tail call i64 @sshkey_type_plain(i32 noundef %21) #5
%23 = load i64, ptr @KEY_RSA, align 8, !tbaa !9
%24 = icmp ne i64 %22, %23
%25 = icmp eq ptr %1, null
%26 = or i1 %25, %24
%27 = icmp eq i64 %2, 0
%28 = or i1 %27, %26
br i1 %28, label %29, label %31
29: ; preds = %19, %16, %6
%30 = load i32, ptr @SSH_ERR_INVALID_ARGUMENT, align 4, !tbaa !11
br label %127
31: ; preds = %19
%32 = load ptr, ptr %0, align 8, !tbaa !13
%33 = call i32 @RSA_get0_key(ptr noundef %32, ptr noundef nonnull %7, ptr noundef null, ptr noundef null) #5
%34 = load ptr, ptr %7, align 8, !tbaa !5
%35 = call i64 @BN_num_bits(ptr noundef %34) #5
%36 = load i64, ptr @SSH_RSA_MINIMUM_MODULUS_SIZE, align 8, !tbaa !9
%37 = icmp slt i64 %35, %36
br i1 %37, label %38, label %40
38: ; preds = %31
%39 = load i32, ptr @SSH_ERR_KEY_LENGTH, align 4, !tbaa !11
br label %127
40: ; preds = %31
%41 = call ptr @sshbuf_from(ptr noundef nonnull %1, i64 noundef %2) #5
%42 = icmp eq ptr %41, null
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = load i32, ptr @SSH_ERR_ALLOC_FAIL, align 4, !tbaa !11
br label %127
45: ; preds = %40
%46 = call i64 @sshbuf_get_cstring(ptr noundef nonnull %41, ptr noundef nonnull %8, ptr noundef null) #5
%47 = icmp eq i64 %46, 0
br i1 %47, label %50, label %48
48: ; preds = %45
%49 = load i32, ptr @SSH_ERR_INVALID_FORMAT, align 4, !tbaa !11
br label %117
50: ; preds = %45
%51 = load ptr, ptr %8, align 8, !tbaa !5
%52 = call i32 @rsa_hash_id_from_ident(ptr noundef %51) #5
%53 = icmp eq i32 %52, -1
br i1 %53, label %54, label %56
54: ; preds = %50
%55 = load i32, ptr @SSH_ERR_KEY_TYPE_MISMATCH, align 4, !tbaa !11
br label %117
56: ; preds = %50
%57 = icmp eq ptr %5, null
br i1 %57, label %70, label %58
58: ; preds = %56
%59 = call i64 @strcmp(ptr noundef nonnull %5, ptr noundef nonnull @.str) #5
%60 = icmp eq i64 %59, 0
br i1 %60, label %70, label %61
61: ; preds = %58
%62 = call i32 @rsa_hash_id_from_keyname(ptr noundef nonnull %5) #5
%63 = icmp eq i32 %62, -1
br i1 %63, label %64, label %66
64: ; preds = %61
%65 = load i32, ptr @SSH_ERR_INVALID_ARGUMENT, align 4, !tbaa !11
br label %117
66: ; preds = %61
%67 = icmp eq i32 %52, %62
br i1 %67, label %70, label %68
68: ; preds = %66
%69 = load i32, ptr @SSH_ERR_SIGNATURE_INVALID, align 4, !tbaa !11
br label %117
70: ; preds = %66, %58, %56
%71 = call i64 @sshbuf_get_string(ptr noundef nonnull %41, ptr noundef nonnull %10, ptr noundef nonnull %9) #5
%72 = icmp eq i64 %71, 0
br i1 %72, label %75, label %73
73: ; preds = %70
%74 = load i32, ptr @SSH_ERR_INVALID_FORMAT, align 4, !tbaa !11
br label %117
75: ; preds = %70
%76 = call i64 @sshbuf_len(ptr noundef nonnull %41) #5
%77 = icmp eq i64 %76, 0
br i1 %77, label %80, label %78
78: ; preds = %75
%79 = load i32, ptr @SSH_ERR_UNEXPECTED_TRAILING_DATA, align 4, !tbaa !11
br label %117
80: ; preds = %75
%81 = load ptr, ptr %0, align 8, !tbaa !13
%82 = call i64 @RSA_size(ptr noundef %81) #5
%83 = load i64, ptr %9, align 8, !tbaa !9
%84 = icmp ugt i64 %83, %82
br i1 %84, label %85, label %87
85: ; preds = %80
%86 = load i32, ptr @SSH_ERR_KEY_BITS_MISMATCH, align 4, !tbaa !11
br label %117
87: ; preds = %80
%88 = icmp ult i64 %83, %82
br i1 %88, label %89, label %103
89: ; preds = %87
%90 = load ptr, ptr %10, align 8, !tbaa !5
%91 = call ptr @realloc(ptr noundef %90, i64 noundef %82)
store ptr %91, ptr %10, align 8, !tbaa !5
%92 = icmp eq ptr %91, null
br i1 %92, label %93, label %95
93: ; preds = %89
store ptr %90, ptr %10, align 8, !tbaa !5
%94 = load i32, ptr @SSH_ERR_ALLOC_FAIL, align 4, !tbaa !11
br label %117
95: ; preds = %89
%96 = sub i64 %82, %83
%97 = getelementptr inbounds i32, ptr %91, i64 %96
%98 = load i64, ptr %9, align 8, !tbaa !9
%99 = call i32 @memmove(ptr noundef nonnull %97, ptr noundef nonnull %91, i64 noundef %98) #5
%100 = load ptr, ptr %10, align 8, !tbaa !5
%101 = trunc i64 %96 to i32
%102 = call i32 @explicit_bzero(ptr noundef %100, i32 noundef %101) #5
store i64 %82, ptr %9, align 8, !tbaa !9
br label %103
103: ; preds = %87, %95
%104 = call i64 @ssh_digest_bytes(i32 noundef %52) #5
%105 = icmp eq i64 %104, 0
br i1 %105, label %106, label %108
106: ; preds = %103
%107 = load i32, ptr @SSH_ERR_INTERNAL_ERROR, align 4, !tbaa !11
br label %117
108: ; preds = %103
%109 = shl i32 %11, 2
%110 = call i32 @ssh_digest_memory(i32 noundef %52, ptr noundef %3, i64 noundef %4, ptr noundef nonnull %14, i32 noundef %109) #5
%111 = icmp eq i32 %110, 0
br i1 %111, label %112, label %117
112: ; preds = %108
%113 = load ptr, ptr %10, align 8, !tbaa !5
%114 = load i64, ptr %9, align 8, !tbaa !9
%115 = load ptr, ptr %0, align 8, !tbaa !13
%116 = call i32 @openssh_RSA_verify(i32 noundef %52, ptr noundef nonnull %14, i64 noundef %104, ptr noundef %113, i64 noundef %114, ptr noundef %115) #5
br label %117
117: ; preds = %108, %112, %106, %93, %85, %78, %73, %68, %64, %54, %48
%118 = phi i32 [ %49, %48 ], [ %55, %54 ], [ %65, %64 ], [ %69, %68 ], [ %74, %73 ], [ %79, %78 ], [ %86, %85 ], [ %94, %93 ], [ %107, %106 ], [ %110, %108 ], [ %116, %112 ]
%119 = load ptr, ptr %10, align 8, !tbaa !5
%120 = load i64, ptr %9, align 8, !tbaa !9
%121 = call i32 @freezero(ptr noundef %119, i64 noundef %120) #5
%122 = load ptr, ptr %8, align 8, !tbaa !5
%123 = call i32 @free(ptr noundef %122) #5
%124 = call i32 @sshbuf_free(ptr noundef nonnull %41) #5
%125 = shl i32 %11, 2
%126 = call i32 @explicit_bzero(ptr noundef nonnull %14, i32 noundef %125) #5
br label %127
127: ; preds = %117, %43, %38, %29
%128 = phi i32 [ %30, %29 ], [ %39, %38 ], [ %44, %43 ], [ %118, %117 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
call void @llvm.stackrestore.p0(ptr %13)
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
ret i32 %128
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i64 @sshkey_type_plain(i32 noundef) local_unnamed_addr #3
declare i32 @RSA_get0_key(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @BN_num_bits(ptr noundef) local_unnamed_addr #3
declare ptr @sshbuf_from(ptr noundef, i64 noundef) local_unnamed_addr #3
declare i64 @sshbuf_get_cstring(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @rsa_hash_id_from_ident(ptr noundef) local_unnamed_addr #3
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @rsa_hash_id_from_keyname(ptr noundef) local_unnamed_addr #3
declare i64 @sshbuf_get_string(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @sshbuf_len(ptr noundef) local_unnamed_addr #3
declare i64 @RSA_size(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #4
declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3
declare i32 @explicit_bzero(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i64 @ssh_digest_bytes(i32 noundef) local_unnamed_addr #3
declare i32 @ssh_digest_memory(i32 noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @openssh_RSA_verify(i32 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @freezero(ptr noundef, i64 noundef) local_unnamed_addr #3
declare i32 @free(ptr noundef) local_unnamed_addr #3
declare i32 @sshbuf_free(ptr 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
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { "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 nounwind willreturn allockind("realloc") allocsize(1) 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"sshkey", !6, i64 0, !12, i64 8}
!15 = !{!14, !12, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssh/extr_ssh-rsa.c_ssh_rsa_verify.c'
source_filename = "AnghaBench/freebsd/crypto/openssh/extr_ssh-rsa.c_ssh_rsa_verify.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SSH_ERR_INTERNAL_ERROR = common local_unnamed_addr global i32 0, align 4
@SSH_DIGEST_MAX_LENGTH = common local_unnamed_addr global i32 0, align 4
@KEY_RSA = common local_unnamed_addr global i64 0, align 8
@SSH_ERR_INVALID_ARGUMENT = common local_unnamed_addr global i32 0, align 4
@SSH_RSA_MINIMUM_MODULUS_SIZE = common local_unnamed_addr global i64 0, align 8
@SSH_ERR_KEY_LENGTH = common local_unnamed_addr global i32 0, align 4
@SSH_ERR_ALLOC_FAIL = common local_unnamed_addr global i32 0, align 4
@SSH_ERR_INVALID_FORMAT = common local_unnamed_addr global i32 0, align 4
@SSH_ERR_KEY_TYPE_MISMATCH = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"ssh-rsa-cert-v01@openssh.com\00", align 1
@SSH_ERR_SIGNATURE_INVALID = common local_unnamed_addr global i32 0, align 4
@SSH_ERR_UNEXPECTED_TRAILING_DATA = common local_unnamed_addr global i32 0, align 4
@SSH_ERR_KEY_BITS_MISMATCH = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ssh_rsa_verify(ptr noundef readonly %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5) local_unnamed_addr #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
store ptr null, ptr %8, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
store i64 0, ptr %9, align 8, !tbaa !10
%11 = load i32, ptr @SSH_DIGEST_MAX_LENGTH, align 4, !tbaa !12
%12 = zext i32 %11 to i64
%13 = tail call ptr @llvm.stacksave.p0()
%14 = alloca i32, i64 %12, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
store ptr null, ptr %10, align 8, !tbaa !6
%15 = icmp eq ptr %0, null
br i1 %15, label %29, label %16
16: ; preds = %6
%17 = load ptr, ptr %0, align 8, !tbaa !14
%18 = icmp eq ptr %17, null
br i1 %18, label %29, label %19
19: ; preds = %16
%20 = getelementptr inbounds i8, ptr %0, i64 8
%21 = load i32, ptr %20, align 8, !tbaa !16
%22 = tail call i64 @sshkey_type_plain(i32 noundef %21) #5
%23 = load i64, ptr @KEY_RSA, align 8, !tbaa !10
%24 = icmp ne i64 %22, %23
%25 = icmp eq ptr %1, null
%26 = or i1 %25, %24
%27 = icmp eq i64 %2, 0
%28 = or i1 %27, %26
br i1 %28, label %29, label %31
29: ; preds = %19, %16, %6
%30 = load i32, ptr @SSH_ERR_INVALID_ARGUMENT, align 4, !tbaa !12
br label %127
31: ; preds = %19
%32 = load ptr, ptr %0, align 8, !tbaa !14
%33 = call i32 @RSA_get0_key(ptr noundef %32, ptr noundef nonnull %7, ptr noundef null, ptr noundef null) #5
%34 = load ptr, ptr %7, align 8, !tbaa !6
%35 = call i64 @BN_num_bits(ptr noundef %34) #5
%36 = load i64, ptr @SSH_RSA_MINIMUM_MODULUS_SIZE, align 8, !tbaa !10
%37 = icmp slt i64 %35, %36
br i1 %37, label %38, label %40
38: ; preds = %31
%39 = load i32, ptr @SSH_ERR_KEY_LENGTH, align 4, !tbaa !12
br label %127
40: ; preds = %31
%41 = call ptr @sshbuf_from(ptr noundef nonnull %1, i64 noundef %2) #5
%42 = icmp eq ptr %41, null
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = load i32, ptr @SSH_ERR_ALLOC_FAIL, align 4, !tbaa !12
br label %127
45: ; preds = %40
%46 = call i64 @sshbuf_get_cstring(ptr noundef nonnull %41, ptr noundef nonnull %8, ptr noundef null) #5
%47 = icmp eq i64 %46, 0
br i1 %47, label %50, label %48
48: ; preds = %45
%49 = load i32, ptr @SSH_ERR_INVALID_FORMAT, align 4, !tbaa !12
br label %117
50: ; preds = %45
%51 = load ptr, ptr %8, align 8, !tbaa !6
%52 = call i32 @rsa_hash_id_from_ident(ptr noundef %51) #5
%53 = icmp eq i32 %52, -1
br i1 %53, label %54, label %56
54: ; preds = %50
%55 = load i32, ptr @SSH_ERR_KEY_TYPE_MISMATCH, align 4, !tbaa !12
br label %117
56: ; preds = %50
%57 = icmp eq ptr %5, null
br i1 %57, label %70, label %58
58: ; preds = %56
%59 = call i64 @strcmp(ptr noundef nonnull %5, ptr noundef nonnull @.str) #5
%60 = icmp eq i64 %59, 0
br i1 %60, label %70, label %61
61: ; preds = %58
%62 = call i32 @rsa_hash_id_from_keyname(ptr noundef nonnull %5) #5
%63 = icmp eq i32 %62, -1
br i1 %63, label %64, label %66
64: ; preds = %61
%65 = load i32, ptr @SSH_ERR_INVALID_ARGUMENT, align 4, !tbaa !12
br label %117
66: ; preds = %61
%67 = icmp eq i32 %52, %62
br i1 %67, label %70, label %68
68: ; preds = %66
%69 = load i32, ptr @SSH_ERR_SIGNATURE_INVALID, align 4, !tbaa !12
br label %117
70: ; preds = %66, %58, %56
%71 = call i64 @sshbuf_get_string(ptr noundef nonnull %41, ptr noundef nonnull %10, ptr noundef nonnull %9) #5
%72 = icmp eq i64 %71, 0
br i1 %72, label %75, label %73
73: ; preds = %70
%74 = load i32, ptr @SSH_ERR_INVALID_FORMAT, align 4, !tbaa !12
br label %117
75: ; preds = %70
%76 = call i64 @sshbuf_len(ptr noundef nonnull %41) #5
%77 = icmp eq i64 %76, 0
br i1 %77, label %80, label %78
78: ; preds = %75
%79 = load i32, ptr @SSH_ERR_UNEXPECTED_TRAILING_DATA, align 4, !tbaa !12
br label %117
80: ; preds = %75
%81 = load ptr, ptr %0, align 8, !tbaa !14
%82 = call i64 @RSA_size(ptr noundef %81) #5
%83 = load i64, ptr %9, align 8, !tbaa !10
%84 = icmp ugt i64 %83, %82
br i1 %84, label %85, label %87
85: ; preds = %80
%86 = load i32, ptr @SSH_ERR_KEY_BITS_MISMATCH, align 4, !tbaa !12
br label %117
87: ; preds = %80
%88 = icmp ult i64 %83, %82
br i1 %88, label %89, label %103
89: ; preds = %87
%90 = load ptr, ptr %10, align 8, !tbaa !6
%91 = call ptr @realloc(ptr noundef %90, i64 noundef %82)
store ptr %91, ptr %10, align 8, !tbaa !6
%92 = icmp eq ptr %91, null
br i1 %92, label %93, label %95
93: ; preds = %89
store ptr %90, ptr %10, align 8, !tbaa !6
%94 = load i32, ptr @SSH_ERR_ALLOC_FAIL, align 4, !tbaa !12
br label %117
95: ; preds = %89
%96 = sub i64 %82, %83
%97 = getelementptr inbounds i32, ptr %91, i64 %96
%98 = load i64, ptr %9, align 8, !tbaa !10
%99 = call i32 @memmove(ptr noundef nonnull %97, ptr noundef nonnull %91, i64 noundef %98) #5
%100 = load ptr, ptr %10, align 8, !tbaa !6
%101 = trunc i64 %96 to i32
%102 = call i32 @explicit_bzero(ptr noundef %100, i32 noundef %101) #5
store i64 %82, ptr %9, align 8, !tbaa !10
br label %103
103: ; preds = %87, %95
%104 = call i64 @ssh_digest_bytes(i32 noundef %52) #5
%105 = icmp eq i64 %104, 0
br i1 %105, label %106, label %108
106: ; preds = %103
%107 = load i32, ptr @SSH_ERR_INTERNAL_ERROR, align 4, !tbaa !12
br label %117
108: ; preds = %103
%109 = shl i32 %11, 2
%110 = call i32 @ssh_digest_memory(i32 noundef %52, ptr noundef %3, i64 noundef %4, ptr noundef nonnull %14, i32 noundef %109) #5
%111 = icmp eq i32 %110, 0
br i1 %111, label %112, label %117
112: ; preds = %108
%113 = load ptr, ptr %10, align 8, !tbaa !6
%114 = load i64, ptr %9, align 8, !tbaa !10
%115 = load ptr, ptr %0, align 8, !tbaa !14
%116 = call i32 @openssh_RSA_verify(i32 noundef %52, ptr noundef nonnull %14, i64 noundef %104, ptr noundef %113, i64 noundef %114, ptr noundef %115) #5
br label %117
117: ; preds = %108, %112, %106, %93, %85, %78, %73, %68, %64, %54, %48
%118 = phi i32 [ %49, %48 ], [ %55, %54 ], [ %65, %64 ], [ %69, %68 ], [ %74, %73 ], [ %79, %78 ], [ %86, %85 ], [ %94, %93 ], [ %107, %106 ], [ %110, %108 ], [ %116, %112 ]
%119 = load ptr, ptr %10, align 8, !tbaa !6
%120 = load i64, ptr %9, align 8, !tbaa !10
%121 = call i32 @freezero(ptr noundef %119, i64 noundef %120) #5
%122 = load ptr, ptr %8, align 8, !tbaa !6
%123 = call i32 @free(ptr noundef %122) #5
%124 = call i32 @sshbuf_free(ptr noundef nonnull %41) #5
%125 = shl i32 %11, 2
%126 = call i32 @explicit_bzero(ptr noundef nonnull %14, i32 noundef %125) #5
br label %127
127: ; preds = %117, %43, %38, %29
%128 = phi i32 [ %30, %29 ], [ %39, %38 ], [ %44, %43 ], [ %118, %117 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
call void @llvm.stackrestore.p0(ptr %13)
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
ret i32 %128
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i64 @sshkey_type_plain(i32 noundef) local_unnamed_addr #3
declare i32 @RSA_get0_key(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @BN_num_bits(ptr noundef) local_unnamed_addr #3
declare ptr @sshbuf_from(ptr noundef, i64 noundef) local_unnamed_addr #3
declare i64 @sshbuf_get_cstring(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @rsa_hash_id_from_ident(ptr noundef) local_unnamed_addr #3
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @rsa_hash_id_from_keyname(ptr noundef) local_unnamed_addr #3
declare i64 @sshbuf_get_string(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @sshbuf_len(ptr noundef) local_unnamed_addr #3
declare i64 @RSA_size(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #4
declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3
declare i32 @explicit_bzero(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i64 @ssh_digest_bytes(i32 noundef) local_unnamed_addr #3
declare i32 @ssh_digest_memory(i32 noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @openssh_RSA_verify(i32 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @freezero(ptr noundef, i64 noundef) local_unnamed_addr #3
declare i32 @free(ptr noundef) local_unnamed_addr #3
declare i32 @sshbuf_free(ptr 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
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { "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 nounwind willreturn allockind("realloc") allocsize(1) 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 = !{!"any pointer", !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 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"sshkey", !7, i64 0, !13, i64 8}
!16 = !{!15, !13, i64 8}
| freebsd_crypto_openssh_extr_ssh-rsa.c_ssh_rsa_verify |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/orinoco/extr_main.c_orinoco_send_assocrespie_wevent.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/orinoco/extr_main.c_orinoco_send_assocrespie_wevent.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"
%union.iwreq_data = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
%struct.orinoco_private = type { i32, %struct.hermes, ptr }
%struct.hermes = type { ptr }
@USER_BAP = dso_local local_unnamed_addr global i32 0, align 4
@HERMES_RID_CURRENT_ASSOC_RESP_INFO = dso_local local_unnamed_addr global i32 0, align 4
@IWEVASSOCRESPIE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @orinoco_send_assocrespie_wevent], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @orinoco_send_assocrespie_wevent(ptr noundef %0) #0 {
%2 = alloca %union.iwreq_data, align 4
%3 = alloca [88 x i32], align 16
%4 = getelementptr inbounds %struct.orinoco_private, ptr %0, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
call void @llvm.lifetime.start.p0(i64 352, ptr nonnull %3) #4
%6 = load i32, ptr %0, align 8, !tbaa !12
%7 = icmp eq i32 %6, 0
br i1 %7, label %34, label %8
8: ; preds = %1
%9 = getelementptr inbounds %struct.orinoco_private, ptr %0, i64 0, i32 1
%10 = load ptr, ptr %9, align 8, !tbaa !13
%11 = load ptr, ptr %10, align 8, !tbaa !14
%12 = load i32, ptr @USER_BAP, align 4, !tbaa !16
%13 = load i32, ptr @HERMES_RID_CURRENT_ASSOC_RESP_INFO, align 4, !tbaa !16
%14 = call i32 %11(ptr noundef nonnull %9, i32 noundef %12, i32 noundef %13, i32 noundef 352, ptr noundef null, ptr noundef nonnull %3) #4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %34
16: ; preds = %8
%17 = call ptr @orinoco_get_wpa_ie(ptr noundef nonnull %3, i32 noundef 352) #4
%18 = icmp eq ptr %17, null
br i1 %18, label %34, label %19
19: ; preds = %16
%20 = ptrtoint ptr %17 to i64
%21 = ptrtoint ptr %3 to i64
%22 = sub i64 %20, %21
%23 = lshr exact i64 %22, 2
%24 = trunc i64 %23 to i32
%25 = sub i32 352, %24
%26 = getelementptr inbounds i32, ptr %17, i64 1
%27 = load i32, ptr %26, align 4, !tbaa !16
%28 = add nsw i32 %27, 2
%29 = call i32 @llvm.smin.i32(i32 %28, i32 %25)
store i32 %29, ptr %2, align 4, !tbaa !17
%30 = icmp eq i32 %29, 0
br i1 %30, label %34, label %31
31: ; preds = %19
%32 = load i32, ptr @IWEVASSOCRESPIE, align 4, !tbaa !16
%33 = call i32 @wireless_send_event(ptr noundef %5, i32 noundef %32, ptr noundef nonnull %2, ptr noundef nonnull %17) #4
br label %34
34: ; preds = %16, %31, %19, %8, %1
call void @llvm.lifetime.end.p0(i64 352, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #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 ptr @orinoco_get_wpa_ie(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @wireless_send_event(ptr noundef, 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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !11, i64 16}
!6 = !{!"orinoco_private", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"hermes", !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!10, !11, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_3__", !11, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/orinoco/extr_main.c_orinoco_send_assocrespie_wevent.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/orinoco/extr_main.c_orinoco_send_assocrespie_wevent.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%union.iwreq_data = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
@USER_BAP = common local_unnamed_addr global i32 0, align 4
@HERMES_RID_CURRENT_ASSOC_RESP_INFO = common local_unnamed_addr global i32 0, align 4
@IWEVASSOCRESPIE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @orinoco_send_assocrespie_wevent], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @orinoco_send_assocrespie_wevent(ptr noundef %0) #0 {
%2 = alloca %union.iwreq_data, align 4
%3 = alloca [88 x i32], align 4
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
call void @llvm.lifetime.start.p0(i64 352, ptr nonnull %3) #4
%6 = load i32, ptr %0, align 8, !tbaa !13
%7 = icmp eq i32 %6, 0
br i1 %7, label %34, label %8
8: ; preds = %1
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = load ptr, ptr %9, align 8, !tbaa !14
%11 = load ptr, ptr %10, align 8, !tbaa !15
%12 = load i32, ptr @USER_BAP, align 4, !tbaa !17
%13 = load i32, ptr @HERMES_RID_CURRENT_ASSOC_RESP_INFO, align 4, !tbaa !17
%14 = call i32 %11(ptr noundef nonnull %9, i32 noundef %12, i32 noundef %13, i32 noundef 352, ptr noundef null, ptr noundef nonnull %3) #4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %34
16: ; preds = %8
%17 = call ptr @orinoco_get_wpa_ie(ptr noundef nonnull %3, i32 noundef 352) #4
%18 = icmp eq ptr %17, null
br i1 %18, label %34, label %19
19: ; preds = %16
%20 = ptrtoint ptr %17 to i64
%21 = ptrtoint ptr %3 to i64
%22 = sub i64 %20, %21
%23 = lshr exact i64 %22, 2
%24 = trunc i64 %23 to i32
%25 = sub i32 352, %24
%26 = getelementptr inbounds i8, ptr %17, i64 4
%27 = load i32, ptr %26, align 4, !tbaa !17
%28 = add nsw i32 %27, 2
%29 = call i32 @llvm.smin.i32(i32 %28, i32 %25)
store i32 %29, ptr %2, align 4, !tbaa !18
%30 = icmp eq i32 %29, 0
br i1 %30, label %34, label %31
31: ; preds = %19
%32 = load i32, ptr @IWEVASSOCRESPIE, align 4, !tbaa !17
%33 = call i32 @wireless_send_event(ptr noundef %5, i32 noundef %32, ptr noundef nonnull %2, ptr noundef nonnull %17) #4
br label %34
34: ; preds = %16, %31, %19, %8, %1
call void @llvm.lifetime.end.p0(i64 352, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #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 ptr @orinoco_get_wpa_ie(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @wireless_send_event(ptr noundef, 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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !12, i64 16}
!7 = !{!"orinoco_private", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"hermes", !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!11, !12, i64 0}
!15 = !{!16, !12, i64 0}
!16 = !{!"TYPE_3__", !12, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!9, !9, i64 0}
| fastsocket_kernel_drivers_net_wireless_orinoco_extr_main.c_orinoco_send_assocrespie_wevent |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_uvd_v6_0.c_uvd_v6_0_enc_ring_emit_ib.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_uvd_v6_0.c_uvd_v6_0_enc_ring_emit_ib.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.amdgpu_ib = type { i32, i32 }
@HEVC_ENC_CMD_IB_VM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @uvd_v6_0_enc_ring_emit_ib], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @uvd_v6_0_enc_ring_emit_ib(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, i32 %3) #0 {
%5 = tail call i32 @AMDGPU_JOB_GET_VMID(ptr noundef %1) #2
%6 = load i32, ptr @HEVC_ENC_CMD_IB_VM, align 4, !tbaa !5
%7 = tail call i32 @amdgpu_ring_write(ptr noundef %0, i32 noundef %6) #2
%8 = tail call i32 @amdgpu_ring_write(ptr noundef %0, i32 noundef %5) #2
%9 = getelementptr inbounds %struct.amdgpu_ib, ptr %2, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !9
%11 = tail call i32 @lower_32_bits(i32 noundef %10) #2
%12 = tail call i32 @amdgpu_ring_write(ptr noundef %0, i32 noundef %11) #2
%13 = load i32, ptr %9, align 4, !tbaa !9
%14 = tail call i32 @upper_32_bits(i32 noundef %13) #2
%15 = tail call i32 @amdgpu_ring_write(ptr noundef %0, i32 noundef %14) #2
%16 = load i32, ptr %2, align 4, !tbaa !11
%17 = tail call i32 @amdgpu_ring_write(ptr noundef %0, i32 noundef %16) #2
ret void
}
declare i32 @AMDGPU_JOB_GET_VMID(ptr noundef) local_unnamed_addr #1
declare i32 @amdgpu_ring_write(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lower_32_bits(i32 noundef) local_unnamed_addr #1
declare i32 @upper_32_bits(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, !6, i64 4}
!10 = !{!"amdgpu_ib", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_uvd_v6_0.c_uvd_v6_0_enc_ring_emit_ib.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_uvd_v6_0.c_uvd_v6_0_enc_ring_emit_ib.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HEVC_ENC_CMD_IB_VM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @uvd_v6_0_enc_ring_emit_ib], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @uvd_v6_0_enc_ring_emit_ib(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, i32 %3) #0 {
%5 = tail call i32 @AMDGPU_JOB_GET_VMID(ptr noundef %1) #2
%6 = load i32, ptr @HEVC_ENC_CMD_IB_VM, align 4, !tbaa !6
%7 = tail call i32 @amdgpu_ring_write(ptr noundef %0, i32 noundef %6) #2
%8 = tail call i32 @amdgpu_ring_write(ptr noundef %0, i32 noundef %5) #2
%9 = getelementptr inbounds i8, ptr %2, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !10
%11 = tail call i32 @lower_32_bits(i32 noundef %10) #2
%12 = tail call i32 @amdgpu_ring_write(ptr noundef %0, i32 noundef %11) #2
%13 = load i32, ptr %9, align 4, !tbaa !10
%14 = tail call i32 @upper_32_bits(i32 noundef %13) #2
%15 = tail call i32 @amdgpu_ring_write(ptr noundef %0, i32 noundef %14) #2
%16 = load i32, ptr %2, align 4, !tbaa !12
%17 = tail call i32 @amdgpu_ring_write(ptr noundef %0, i32 noundef %16) #2
ret void
}
declare i32 @AMDGPU_JOB_GET_VMID(ptr noundef) local_unnamed_addr #1
declare i32 @amdgpu_ring_write(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lower_32_bits(i32 noundef) local_unnamed_addr #1
declare i32 @upper_32_bits(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, !7, i64 4}
!11 = !{!"amdgpu_ib", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 0}
| linux_drivers_gpu_drm_amd_amdgpu_extr_uvd_v6_0.c_uvd_v6_0_enc_ring_emit_ib |
; ModuleID = 'AnghaBench/lwan/src/lib/extr_lwan-template.c_symtab_lookup_lexeme.c'
source_filename = "AnghaBench/lwan/src/lib/extr_lwan-template.c_symtab_lookup_lexeme.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 { i64, i32 }
@LEXEME_MAX_LEN = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [29 x i8] c"Lexeme exceeds %d characters\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @symtab_lookup_lexeme], section "llvm.metadata"
; Function Attrs: noinline nounwind uwtable
define internal ptr @symtab_lookup_lexeme(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = load i64, ptr @LEXEME_MAX_LEN, align 8, !tbaa !12
%5 = icmp sgt i64 %3, %4
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = tail call i32 @lwan_status_error(ptr noundef nonnull @.str, i64 noundef %4) #2
br label %13
8: ; preds = %2
%9 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 1
%10 = load i32, ptr %9, align 8, !tbaa !13
%11 = tail call i32 @strndupa(i32 noundef %10, i64 noundef %3) #2
%12 = tail call ptr @symtab_lookup(ptr noundef %0, i32 noundef %11) #2
br label %13
13: ; preds = %8, %6
%14 = phi ptr [ null, %6 ], [ %12, %8 ]
ret ptr %14
}
declare i32 @lwan_status_error(ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @symtab_lookup(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strndupa(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { noinline 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 = !{!"lexeme", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!6, !11, i64 8}
| ; ModuleID = 'AnghaBench/lwan/src/lib/extr_lwan-template.c_symtab_lookup_lexeme.c'
source_filename = "AnghaBench/lwan/src/lib/extr_lwan-template.c_symtab_lookup_lexeme.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LEXEME_MAX_LEN = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [29 x i8] c"Lexeme exceeds %d characters\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @symtab_lookup_lexeme], section "llvm.metadata"
; Function Attrs: noinline nounwind ssp uwtable(sync)
define internal ptr @symtab_lookup_lexeme(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = load i64, ptr @LEXEME_MAX_LEN, align 8, !tbaa !13
%5 = icmp sgt i64 %3, %4
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = tail call i32 @lwan_status_error(ptr noundef nonnull @.str, i64 noundef %4) #2
br label %13
8: ; preds = %2
%9 = getelementptr inbounds i8, ptr %1, i64 8
%10 = load i32, ptr %9, align 8, !tbaa !14
%11 = tail call i32 @strndupa(i32 noundef %10, i64 noundef %3) #2
%12 = tail call ptr @symtab_lookup(ptr noundef %0, i32 noundef %11) #2
br label %13
13: ; preds = %8, %6
%14 = phi ptr [ null, %6 ], [ %12, %8 ]
ret ptr %14
}
declare i32 @lwan_status_error(ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @symtab_lookup(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strndupa(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { noinline 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 = !{!"lexeme", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0, !12, i64 8}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"int", !10, i64 0}
!13 = !{!9, !9, i64 0}
!14 = !{!7, !12, i64 8}
| lwan_src_lib_extr_lwan-template.c_symtab_lookup_lexeme |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_deprecated.c_svn_client_log2.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_deprecated.c_svn_client_log2.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_7__ = type { i32 }
@svn_opt_revision_unspecified = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @svn_client_log2(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) local_unnamed_addr #0 {
%11 = alloca %struct.TYPE_7__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
%12 = load i32, ptr @svn_opt_revision_unspecified, align 4, !tbaa !5
store i32 %12, ptr %11, align 4, !tbaa !9
%13 = call ptr @svn_client_log3(ptr noundef %0, ptr noundef nonnull %11, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
ret ptr %13
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @svn_client_log3(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr 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
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 = !{!"TYPE_7__", !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_deprecated.c_svn_client_log2.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_deprecated.c_svn_client_log2.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 }
@svn_opt_revision_unspecified = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @svn_client_log2(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) local_unnamed_addr #0 {
%11 = alloca %struct.TYPE_7__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
%12 = load i32, ptr @svn_opt_revision_unspecified, align 4, !tbaa !6
store i32 %12, ptr %11, align 4, !tbaa !10
%13 = call ptr @svn_client_log3(ptr noundef %0, ptr noundef nonnull %11, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
ret ptr %13
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @svn_client_log3(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr 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
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 = !{!"TYPE_7__", !7, i64 0}
| freebsd_contrib_subversion_subversion_libsvn_client_extr_deprecated.c_svn_client_log2 |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/cxgb4/extr_device.c_set_ep_sin6_addrs.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/cxgb4/extr_device.c_set_ep_sin6_addrs.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.sockaddr_in6 = type { i32 }
%struct.TYPE_2__ = type { i32, i32, ptr }
%struct.iw_cm_id = type { i32, i32 }
@zero_sin6 = dso_local global %struct.sockaddr_in6 zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @set_ep_sin6_addrs], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal void @set_ep_sin6_addrs(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef writeonly %4) #0 {
%6 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 2
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
store ptr %8, ptr %3, align 8, !tbaa !12
store ptr %0, ptr %4, align 8, !tbaa !12
%9 = icmp eq ptr %7, null
%10 = getelementptr inbounds %struct.iw_cm_id, ptr %7, i64 0, i32 1
%11 = select i1 %9, ptr @zero_sin6, ptr %10
%12 = select i1 %9, ptr @zero_sin6, ptr %7
store ptr %11, ptr %1, align 8, !tbaa !12
store ptr %12, ptr %2, align 8, !tbaa !12
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, !11, i64 8}
!6 = !{!"c4iw_ep", !7, i64 0}
!7 = !{!"TYPE_2__", !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 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/cxgb4/extr_device.c_set_ep_sin6_addrs.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/cxgb4/extr_device.c_set_ep_sin6_addrs.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.sockaddr_in6 = type { i32 }
@zero_sin6 = common global %struct.sockaddr_in6 zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @set_ep_sin6_addrs], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal void @set_ep_sin6_addrs(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef writeonly %4) #0 {
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = getelementptr inbounds i8, ptr %0, i64 4
store ptr %8, ptr %3, align 8, !tbaa !13
store ptr %0, ptr %4, align 8, !tbaa !13
%9 = icmp eq ptr %7, null
%10 = getelementptr inbounds i8, ptr %7, i64 4
%11 = select i1 %9, ptr @zero_sin6, ptr %10
%12 = select i1 %9, ptr @zero_sin6, ptr %7
store ptr %11, ptr %1, align 8, !tbaa !13
store ptr %12, ptr %2, align 8, !tbaa !13
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, !12, i64 8}
!7 = !{!"c4iw_ep", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0, !9, i64 4, !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 = !{!12, !12, i64 0}
| linux_drivers_infiniband_hw_cxgb4_extr_device.c_set_ep_sin6_addrs |
; ModuleID = 'AnghaBench/lab/engine/code/ui/extr_ui_main.c_UI_DrawPreviewCinematic.c'
source_filename = "AnghaBench/lab/engine/code/ui/extr_ui_main.c_UI_DrawPreviewCinematic.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_5__ = type { i32, i64, i32* }
%struct.TYPE_4__ = type { i32, i32, i32, i32 }
@uiInfo = dso_local local_unnamed_addr global %struct.TYPE_5__ zeroinitializer, align 8
@.str = private unnamed_addr constant [7 x i8] c"%s.roq\00", align 1
@CIN_loop = dso_local local_unnamed_addr global i32 0, align 4
@CIN_silent = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x i8*] [i8* bitcast (void (%struct.TYPE_4__*, float, i32)* @UI_DrawPreviewCinematic to i8*)], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @UI_DrawPreviewCinematic(%struct.TYPE_4__* nocapture noundef readonly %0, float noundef %1, i32 noundef %2) #0 {
%4 = load i32, i32* getelementptr inbounds (%struct.TYPE_5__, %struct.TYPE_5__* @uiInfo, i64 0, i32 0), align 8, !tbaa !5
%5 = icmp sgt i32 %4, -2
br i1 %5, label %6, label %30
6: ; preds = %3
%7 = load i32*, i32** getelementptr inbounds (%struct.TYPE_5__, %struct.TYPE_5__* @uiInfo, i64 0, i32 2), align 8, !tbaa !12
%8 = load i64, i64* getelementptr inbounds (%struct.TYPE_5__, %struct.TYPE_5__* @uiInfo, i64 0, i32 1), align 8, !tbaa !13
%9 = getelementptr inbounds i32, i32* %7, i64 %8
%10 = load i32, i32* %9, align 4, !tbaa !14
%11 = tail call i32 @va(i8* noundef getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 noundef %10) #2
%12 = load i32, i32* @CIN_loop, align 4, !tbaa !14
%13 = load i32, i32* @CIN_silent, align 4, !tbaa !14
%14 = or i32 %13, %12
%15 = tail call i32 @trap_CIN_PlayCinematic(i32 noundef %11, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %14) #2
store i32 %15, i32* getelementptr inbounds (%struct.TYPE_5__, %struct.TYPE_5__* @uiInfo, i64 0, i32 0), align 8, !tbaa !5
%16 = icmp sgt i32 %15, -1
br i1 %16, label %17, label %29
17: ; preds = %6
%18 = tail call i32 @trap_CIN_RunCinematic(i32 noundef %15) #2
%19 = load i32, i32* getelementptr inbounds (%struct.TYPE_5__, %struct.TYPE_5__* @uiInfo, i64 0, i32 0), align 8, !tbaa !5
%20 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %0, i64 0, i32 3
%21 = load i32, i32* %20, align 4, !tbaa !15
%22 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %0, i64 0, i32 2
%23 = load i32, i32* %22, align 4, !tbaa !17
%24 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %0, i64 0, i32 1
%25 = load i32, i32* %24, align 4, !tbaa !18
%26 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %0, i64 0, i32 0
%27 = load i32, i32* %26, align 4, !tbaa !19
%28 = tail call i32 @UI_DrawCinematic(i32 noundef %19, i32 noundef %21, i32 noundef %23, i32 noundef %25, i32 noundef %27) #2
br label %30
29: ; preds = %6
store i32 -2, i32* getelementptr inbounds (%struct.TYPE_5__, %struct.TYPE_5__* @uiInfo, i64 0, i32 0), align 8, !tbaa !5
br label %30
30: ; preds = %17, %29, %3
ret void
}
declare i32 @trap_CIN_PlayCinematic(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @va(i8* noundef, i32 noundef) local_unnamed_addr #1
declare i32 @trap_CIN_RunCinematic(i32 noundef) local_unnamed_addr #1
declare i32 @UI_DrawCinematic(i32 noundef, i32 noundef, i32 noundef, 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, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !11, i64 16}
!13 = !{!6, !10, i64 8}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !7, i64 12}
!16 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!17 = !{!16, !7, i64 8}
!18 = !{!16, !7, i64 4}
!19 = !{!16, !7, i64 0}
| ; ModuleID = 'AnghaBench/lab/engine/code/ui/extr_ui_main.c_UI_DrawPreviewCinematic.c'
source_filename = "AnghaBench/lab/engine/code/ui/extr_ui_main.c_UI_DrawPreviewCinematic.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, i64, ptr }
@uiInfo = common local_unnamed_addr global %struct.TYPE_5__ zeroinitializer, align 8
@.str = private unnamed_addr constant [7 x i8] c"%s.roq\00", align 1
@CIN_loop = common local_unnamed_addr global i32 0, align 4
@CIN_silent = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @UI_DrawPreviewCinematic], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @UI_DrawPreviewCinematic(ptr nocapture noundef readonly %0, float %1, i32 %2) #0 {
%4 = load i32, ptr @uiInfo, align 8, !tbaa !6
%5 = icmp sgt i32 %4, -2
br i1 %5, label %6, label %29
6: ; preds = %3
%7 = load ptr, ptr getelementptr inbounds (i8, ptr @uiInfo, i64 16), align 8, !tbaa !13
%8 = load i64, ptr getelementptr inbounds (i8, ptr @uiInfo, i64 8), align 8, !tbaa !14
%9 = getelementptr inbounds i32, ptr %7, i64 %8
%10 = load i32, ptr %9, align 4, !tbaa !15
%11 = tail call i32 @va(ptr noundef nonnull @.str, i32 noundef %10) #2
%12 = load i32, ptr @CIN_loop, align 4, !tbaa !15
%13 = load i32, ptr @CIN_silent, align 4, !tbaa !15
%14 = or i32 %13, %12
%15 = tail call i32 @trap_CIN_PlayCinematic(i32 noundef %11, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %14) #2
store i32 %15, ptr @uiInfo, align 8, !tbaa !6
%16 = icmp sgt i32 %15, -1
br i1 %16, label %17, label %28
17: ; preds = %6
%18 = tail call i32 @trap_CIN_RunCinematic(i32 noundef %15) #2
%19 = load i32, ptr @uiInfo, align 8, !tbaa !6
%20 = getelementptr inbounds i8, ptr %0, i64 12
%21 = load i32, ptr %20, align 4, !tbaa !16
%22 = getelementptr inbounds i8, ptr %0, i64 8
%23 = load i32, ptr %22, align 4, !tbaa !18
%24 = getelementptr inbounds i8, ptr %0, i64 4
%25 = load i32, ptr %24, align 4, !tbaa !19
%26 = load i32, ptr %0, align 4, !tbaa !20
%27 = tail call i32 @UI_DrawCinematic(i32 noundef %19, i32 noundef %21, i32 noundef %23, i32 noundef %25, i32 noundef %26) #2
br label %29
28: ; preds = %6
store i32 -2, ptr @uiInfo, align 8, !tbaa !6
br label %29
29: ; preds = %17, %28, %3
ret void
}
declare i32 @trap_CIN_PlayCinematic(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @va(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @trap_CIN_RunCinematic(i32 noundef) local_unnamed_addr #1
declare i32 @UI_DrawCinematic(i32 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_5__", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !12, i64 16}
!14 = !{!7, !11, i64 8}
!15 = !{!8, !8, i64 0}
!16 = !{!17, !8, i64 12}
!17 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!18 = !{!17, !8, i64 8}
!19 = !{!17, !8, i64 4}
!20 = !{!17, !8, i64 0}
| lab_engine_code_ui_extr_ui_main.c_UI_DrawPreviewCinematic |
; ModuleID = 'AnghaBench/linux/drivers/usb/storage/extr_ene_ub6250.c_ms_lib_alloc_writebuf.c'
source_filename = "AnghaBench/linux/drivers/usb/storage/extr_ene_ub6250.c_ms_lib_alloc_writebuf.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, ptr, i32, i64 }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ms_lib_alloc_writebuf], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @ms_lib_alloc_writebuf(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = inttoptr i64 %2 to ptr
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 4
store i64 -1, ptr %4, align 8, !tbaa !10
%5 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 3
%6 = load i32, ptr %5, align 8, !tbaa !15
%7 = load i32, ptr %3, align 8, !tbaa !16
%8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !17
%9 = tail call ptr @kmalloc_array(i32 noundef %6, i32 noundef %7, i32 noundef %8) #2
%10 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 2
store ptr %9, ptr %10, align 8, !tbaa !18
%11 = load i32, ptr %5, align 8, !tbaa !15
%12 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !17
%13 = tail call ptr @kmalloc_array(i32 noundef %11, i32 noundef 4, i32 noundef %12) #2
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 1
store ptr %13, ptr %14, align 8, !tbaa !19
%15 = load ptr, ptr %10, align 8, !tbaa !18
%16 = icmp eq ptr %15, null
%17 = icmp eq ptr %13, null
%18 = select i1 %16, i1 true, i1 %17
br i1 %18, label %19, label %21
19: ; preds = %1
%20 = tail call i32 @ms_lib_free_writebuf(ptr noundef nonnull %0) #2
br label %23
21: ; preds = %1
%22 = tail call i32 @ms_lib_clear_writebuf(ptr noundef nonnull %0) #2
br label %23
23: ; preds = %21, %19
%24 = phi i32 [ -1, %19 ], [ 0, %21 ]
ret i32 %24
}
declare ptr @kmalloc_array(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ms_lib_free_writebuf(ptr noundef) local_unnamed_addr #1
declare i32 @ms_lib_clear_writebuf(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 = !{!"us_data", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 32}
!11 = !{!"ene_ub6250_info", !12, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0, !14, i64 8, !14, i64 16, !13, i64 24, !7, i64 32}
!13 = !{!"int", !8, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!11, !13, i64 24}
!16 = !{!11, !13, i64 0}
!17 = !{!13, !13, i64 0}
!18 = !{!11, !14, i64 16}
!19 = !{!11, !14, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/storage/extr_ene_ub6250.c_ms_lib_alloc_writebuf.c'
source_filename = "AnghaBench/linux/drivers/usb/storage/extr_ene_ub6250.c_ms_lib_alloc_writebuf.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
@llvm.used = appending global [1 x ptr] [ptr @ms_lib_alloc_writebuf], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @ms_lib_alloc_writebuf(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = inttoptr i64 %2 to ptr
%4 = getelementptr inbounds i8, ptr %3, i64 32
store i64 -1, ptr %4, align 8, !tbaa !11
%5 = getelementptr inbounds i8, ptr %3, i64 24
%6 = load i32, ptr %5, align 8, !tbaa !16
%7 = load i32, ptr %3, align 8, !tbaa !17
%8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !18
%9 = tail call ptr @kmalloc_array(i32 noundef %6, i32 noundef %7, i32 noundef %8) #2
%10 = getelementptr inbounds i8, ptr %3, i64 16
store ptr %9, ptr %10, align 8, !tbaa !19
%11 = load i32, ptr %5, align 8, !tbaa !16
%12 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !18
%13 = tail call ptr @kmalloc_array(i32 noundef %11, i32 noundef 4, i32 noundef %12) #2
%14 = getelementptr inbounds i8, ptr %3, i64 8
store ptr %13, ptr %14, align 8, !tbaa !20
%15 = load ptr, ptr %10, align 8, !tbaa !19
%16 = icmp eq ptr %15, null
%17 = icmp eq ptr %13, null
%18 = select i1 %16, i1 true, i1 %17
br i1 %18, label %19, label %21
19: ; preds = %1
%20 = tail call i32 @ms_lib_free_writebuf(ptr noundef nonnull %0) #2
br label %23
21: ; preds = %1
%22 = tail call i32 @ms_lib_clear_writebuf(ptr noundef nonnull %0) #2
br label %23
23: ; preds = %21, %19
%24 = phi i32 [ -1, %19 ], [ 0, %21 ]
ret i32 %24
}
declare ptr @kmalloc_array(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ms_lib_free_writebuf(ptr noundef) local_unnamed_addr #1
declare i32 @ms_lib_clear_writebuf(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 = !{!"us_data", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 32}
!12 = !{!"ene_ub6250_info", !13, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0, !15, i64 8, !15, i64 16, !14, i64 24, !8, i64 32}
!14 = !{!"int", !9, i64 0}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!12, !14, i64 24}
!17 = !{!12, !14, i64 0}
!18 = !{!14, !14, i64 0}
!19 = !{!12, !15, i64 16}
!20 = !{!12, !15, i64 8}
| linux_drivers_usb_storage_extr_ene_ub6250.c_ms_lib_alloc_writebuf |
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/mmal/util/extr_mmal_il.c_mmalil_video_ratecontrol_to_omx.c'
source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/mmal/util/extr_mmal_il.c_mmalil_video_ratecontrol_to_omx.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 { i64, i32 }
@mmal_omx_video_ratecontrol_table = dso_local local_unnamed_addr global ptr null, align 8
@MMAL_VIDEO_RATECONTROL_DUMMY = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define dso_local i32 @mmalil_video_ratecontrol_to_omx(i64 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @mmal_omx_video_ratecontrol_table, align 8, !tbaa !5
%3 = load i64, ptr @MMAL_VIDEO_RATECONTROL_DUMMY, align 8, !tbaa !9
br label %4
4: ; preds = %4, %1
%5 = phi i32 [ 0, %1 ], [ %12, %4 ]
%6 = zext i32 %5 to i64
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %6
%8 = load i64, ptr %7, align 8, !tbaa !11
%9 = icmp eq i64 %8, %3
%10 = icmp eq i64 %8, %0
%11 = or i1 %10, %9
%12 = add i32 %5, 1
br i1 %11, label %13, label %4, !llvm.loop !14
13: ; preds = %4
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %6, i32 1
%15 = load i32, ptr %14, align 8, !tbaa !16
ret i32 %15
}
attributes #0 = { nofree norecurse nosync nounwind 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, !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 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_2__", !10, i64 0, !13, i64 8}
!13 = !{!"int", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!12, !13, i64 8}
| ; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/mmal/util/extr_mmal_il.c_mmalil_video_ratecontrol_to_omx.c'
source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/mmal/util/extr_mmal_il.c_mmalil_video_ratecontrol_to_omx.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 { i64, i32 }
@mmal_omx_video_ratecontrol_table = common local_unnamed_addr global ptr null, align 8
@MMAL_VIDEO_RATECONTROL_DUMMY = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define i32 @mmalil_video_ratecontrol_to_omx(i64 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @mmal_omx_video_ratecontrol_table, align 8, !tbaa !6
%3 = load i64, ptr @MMAL_VIDEO_RATECONTROL_DUMMY, align 8, !tbaa !10
br label %4
4: ; preds = %4, %1
%5 = phi i32 [ 0, %1 ], [ %12, %4 ]
%6 = zext i32 %5 to i64
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %6
%8 = load i64, ptr %7, align 8, !tbaa !12
%9 = icmp eq i64 %8, %3
%10 = icmp eq i64 %8, %0
%11 = or i1 %10, %9
%12 = add i32 %5, 1
br i1 %11, label %13, label %4, !llvm.loop !15
13: ; preds = %4
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %6, i32 1
%15 = load i32, ptr %14, align 8, !tbaa !17
ret i32 %15
}
attributes #0 = { nofree norecurse nosync nounwind ssp 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, !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 = !{!"long", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_2__", !11, i64 0, !14, i64 8}
!14 = !{!"int", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!13, !14, i64 8}
| RetroArch_gfx_include_userland_interface_mmal_util_extr_mmal_il.c_mmalil_video_ratecontrol_to_omx |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/lguest/extr_boot.c_lguest_set_pmd.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/lguest/extr_boot.c_lguest_set_pmd.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"
@LHCALL_SET_PGD = dso_local local_unnamed_addr global i32 0, align 4
@PAGE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @lguest_set_pmd], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @lguest_set_pmd(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @native_set_pmd(ptr noundef %0, i32 noundef %1) #2
%4 = load i32, ptr @LHCALL_SET_PGD, align 4, !tbaa !5
%5 = tail call i32 @__pa(ptr noundef %0) #2
%6 = load i32, ptr @PAGE_MASK, align 4, !tbaa !5
%7 = and i32 %6, %5
%8 = tail call i32 @__pa(ptr noundef %0) #2
%9 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5
%10 = add nsw i32 %9, -1
%11 = and i32 %10, %8
%12 = ashr i32 %11, 2
%13 = tail call i32 @lazy_hcall2(i32 noundef %4, i32 noundef %7, i32 noundef %12) #2
ret void
}
declare i32 @native_set_pmd(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lazy_hcall2(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__pa(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"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/lguest/extr_boot.c_lguest_set_pmd.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/lguest/extr_boot.c_lguest_set_pmd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LHCALL_SET_PGD = common local_unnamed_addr global i32 0, align 4
@PAGE_MASK = common local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @lguest_set_pmd], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @lguest_set_pmd(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @native_set_pmd(ptr noundef %0, i32 noundef %1) #2
%4 = load i32, ptr @LHCALL_SET_PGD, align 4, !tbaa !6
%5 = tail call i32 @__pa(ptr noundef %0) #2
%6 = load i32, ptr @PAGE_MASK, align 4, !tbaa !6
%7 = and i32 %6, %5
%8 = tail call i32 @__pa(ptr noundef %0) #2
%9 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6
%10 = add nsw i32 %9, -1
%11 = and i32 %10, %8
%12 = ashr i32 %11, 2
%13 = tail call i32 @lazy_hcall2(i32 noundef %4, i32 noundef %7, i32 noundef %12) #2
ret void
}
declare i32 @native_set_pmd(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lazy_hcall2(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__pa(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"}
| fastsocket_kernel_arch_x86_lguest_extr_boot.c_lguest_set_pmd |
; ModuleID = 'AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_atari_ps2.c_PLATFORM_DisplayScreen.c'
source_filename = "AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_atari_ps2.c_PLATFORM_DisplayScreen.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 { i32, i32, i32, i32, ptr, i32, i32, i32 }
%struct.TYPE_12__ = type { ptr, i32, i32, i32, i32, i32 }
@Screen_WIDTH = dso_local local_unnamed_addr global i32 0, align 4
@Screen_HEIGHT = dso_local local_unnamed_addr global i32 0, align 4
@GS_PSM_T8 = dso_local local_unnamed_addr global i32 0, align 4
@Screen_atari = dso_local local_unnamed_addr global i64 0, align 8
@clut = dso_local local_unnamed_addr global i32 0, align 4
@GS_FILTER_LINEAR = dso_local local_unnamed_addr global i32 0, align 4
@gsGlobal = dso_local local_unnamed_addr global ptr null, align 8
@GS_CSR = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @PLATFORM_DisplayScreen() local_unnamed_addr #0 {
%1 = alloca %struct.TYPE_10__, align 8
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %1) #3
%2 = load i32, ptr @Screen_WIDTH, align 4, !tbaa !5
%3 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 0, i32 7
store i32 %2, ptr %3, align 8, !tbaa !9
%4 = load i32, ptr @Screen_HEIGHT, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 0, i32 6
store i32 %4, ptr %5, align 4, !tbaa !12
%6 = load i32, ptr @GS_PSM_T8, align 4, !tbaa !5
%7 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 0, i32 5
store i32 %6, ptr %7, align 8, !tbaa !13
%8 = load i64, ptr @Screen_atari, align 8, !tbaa !14
%9 = inttoptr i64 %8 to ptr
%10 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 0, i32 4
store ptr %9, ptr %10, align 8, !tbaa !16
%11 = load i32, ptr @clut, align 4, !tbaa !5
%12 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 0, i32 3
store i32 %11, ptr %12, align 4, !tbaa !17
store i32 2097152, ptr %1, align 8, !tbaa !18
%13 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 0, i32 1
store i32 2621440, ptr %13, align 4, !tbaa !19
%14 = load i32, ptr @GS_FILTER_LINEAR, align 4, !tbaa !5
%15 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 0, i32 2
store i32 %14, ptr %15, align 8, !tbaa !20
%16 = load ptr, ptr @gsGlobal, align 8, !tbaa !21
%17 = call i32 @gsKit_texture_upload(ptr noundef %16, ptr noundef nonnull %1) #3
%18 = load ptr, ptr @gsGlobal, align 8, !tbaa !21
%19 = call i32 @gsKit_prim_sprite_texture(ptr noundef %18, ptr noundef nonnull %1, i32 noundef 0, i32 noundef 0, i32 noundef 32, i32 noundef 0, i32 noundef 640, i32 noundef 480, i32 noundef 352, i32 noundef 240, i32 noundef 0, i32 noundef -2139062144) #3
%20 = load ptr, ptr @gsGlobal, align 8, !tbaa !21
%21 = load ptr, ptr %20, align 8, !tbaa !22
%22 = getelementptr inbounds %struct.TYPE_12__, ptr %20, i64 0, i32 1
%23 = load i32, ptr %22, align 8, !tbaa !24
%24 = and i32 %23, 1
%25 = zext nneg i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %21, i64 %25
%27 = load i32, ptr %26, align 4, !tbaa !5
%28 = sdiv i32 %27, 8192
%29 = getelementptr inbounds %struct.TYPE_12__, ptr %20, i64 0, i32 2
%30 = load i32, ptr %29, align 4, !tbaa !25
%31 = sdiv i32 %30, 64
%32 = getelementptr inbounds %struct.TYPE_12__, ptr %20, i64 0, i32 5
%33 = load i32, ptr %32, align 8, !tbaa !26
%34 = call i32 @GS_SET_DISPFB2(i32 noundef %28, i32 noundef %31, i32 noundef %33, i32 noundef 0, i32 noundef 0) #3
%35 = load ptr, ptr @gsGlobal, align 8, !tbaa !21
%36 = getelementptr inbounds %struct.TYPE_12__, ptr %35, i64 0, i32 1
%37 = load i32, ptr %36, align 8, !tbaa !24
%38 = xor i32 %37, 1
store i32 %38, ptr %36, align 8, !tbaa !24
%39 = getelementptr inbounds %struct.TYPE_12__, ptr %35, i64 0, i32 3
%40 = load i32, ptr %39, align 8, !tbaa !27
%41 = xor i32 %40, 1
store i32 %41, ptr %39, align 8, !tbaa !27
%42 = load i64, ptr @GS_CSR, align 8, !tbaa !14
%43 = inttoptr i64 %42 to ptr
%44 = load i32, ptr %43, align 4, !tbaa !28
%45 = getelementptr inbounds %struct.TYPE_12__, ptr %35, i64 0, i32 4
store i32 %44, ptr %45, align 4, !tbaa !30
%46 = call i32 @gsKit_setactive(ptr noundef %35) #3
call void @llvm.lifetime.end.p0(i64 40, 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 @gsKit_texture_upload(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @gsKit_prim_sprite_texture(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @GS_SET_DISPFB2(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @gsKit_setactive(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, !6, i64 32}
!10 = !{!"TYPE_10__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !11, i64 16, !6, i64 24, !6, i64 28, !6, i64 32}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 28}
!13 = !{!10, !6, i64 24}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!10, !11, i64 16}
!17 = !{!10, !6, i64 12}
!18 = !{!10, !6, i64 0}
!19 = !{!10, !6, i64 4}
!20 = !{!10, !6, i64 8}
!21 = !{!11, !11, i64 0}
!22 = !{!23, !11, i64 0}
!23 = !{!"TYPE_12__", !11, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24}
!24 = !{!23, !6, i64 8}
!25 = !{!23, !6, i64 12}
!26 = !{!23, !6, i64 24}
!27 = !{!23, !6, i64 16}
!28 = !{!29, !6, i64 0}
!29 = !{!"TYPE_11__", !6, i64 0}
!30 = !{!23, !6, i64 20}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_atari_ps2.c_PLATFORM_DisplayScreen.c'
source_filename = "AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_atari_ps2.c_PLATFORM_DisplayScreen.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_10__ = type { i32, i32, i32, i32, ptr, i32, i32, i32 }
@Screen_WIDTH = common local_unnamed_addr global i32 0, align 4
@Screen_HEIGHT = common local_unnamed_addr global i32 0, align 4
@GS_PSM_T8 = common local_unnamed_addr global i32 0, align 4
@Screen_atari = common local_unnamed_addr global i64 0, align 8
@clut = common local_unnamed_addr global i32 0, align 4
@GS_FILTER_LINEAR = common local_unnamed_addr global i32 0, align 4
@gsGlobal = common local_unnamed_addr global ptr null, align 8
@GS_CSR = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @PLATFORM_DisplayScreen() local_unnamed_addr #0 {
%1 = alloca %struct.TYPE_10__, align 8
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %1) #3
%2 = load i32, ptr @Screen_WIDTH, align 4, !tbaa !6
%3 = getelementptr inbounds i8, ptr %1, i64 32
store i32 %2, ptr %3, align 8, !tbaa !10
%4 = load i32, ptr @Screen_HEIGHT, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %1, i64 28
store i32 %4, ptr %5, align 4, !tbaa !13
%6 = load i32, ptr @GS_PSM_T8, align 4, !tbaa !6
%7 = getelementptr inbounds i8, ptr %1, i64 24
store i32 %6, ptr %7, align 8, !tbaa !14
%8 = load i64, ptr @Screen_atari, align 8, !tbaa !15
%9 = inttoptr i64 %8 to ptr
%10 = getelementptr inbounds i8, ptr %1, i64 16
store ptr %9, ptr %10, align 8, !tbaa !17
%11 = load i32, ptr @clut, align 4, !tbaa !6
%12 = getelementptr inbounds i8, ptr %1, i64 12
store i32 %11, ptr %12, align 4, !tbaa !18
store <2 x i32> <i32 2097152, i32 2621440>, ptr %1, align 8, !tbaa !6
%13 = load i32, ptr @GS_FILTER_LINEAR, align 4, !tbaa !6
%14 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %13, ptr %14, align 8, !tbaa !19
%15 = load ptr, ptr @gsGlobal, align 8, !tbaa !20
%16 = call i32 @gsKit_texture_upload(ptr noundef %15, ptr noundef nonnull %1) #3
%17 = load ptr, ptr @gsGlobal, align 8, !tbaa !20
%18 = call i32 @gsKit_prim_sprite_texture(ptr noundef %17, ptr noundef nonnull %1, i32 noundef 0, i32 noundef 0, i32 noundef 32, i32 noundef 0, i32 noundef 640, i32 noundef 480, i32 noundef 352, i32 noundef 240, i32 noundef 0, i32 noundef -2139062144) #3
%19 = load ptr, ptr @gsGlobal, align 8, !tbaa !20
%20 = load ptr, ptr %19, align 8, !tbaa !21
%21 = getelementptr inbounds i8, ptr %19, i64 8
%22 = load i32, ptr %21, align 8, !tbaa !23
%23 = and i32 %22, 1
%24 = zext nneg i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %20, i64 %24
%26 = load i32, ptr %25, align 4, !tbaa !6
%27 = sdiv i32 %26, 8192
%28 = getelementptr inbounds i8, ptr %19, i64 12
%29 = load i32, ptr %28, align 4, !tbaa !24
%30 = sdiv i32 %29, 64
%31 = getelementptr inbounds i8, ptr %19, i64 24
%32 = load i32, ptr %31, align 8, !tbaa !25
%33 = call i32 @GS_SET_DISPFB2(i32 noundef %27, i32 noundef %30, i32 noundef %32, i32 noundef 0, i32 noundef 0) #3
%34 = load ptr, ptr @gsGlobal, align 8, !tbaa !20
%35 = getelementptr inbounds i8, ptr %34, i64 8
%36 = load i32, ptr %35, align 8, !tbaa !23
%37 = xor i32 %36, 1
store i32 %37, ptr %35, align 8, !tbaa !23
%38 = getelementptr inbounds i8, ptr %34, i64 16
%39 = load i32, ptr %38, align 8, !tbaa !26
%40 = xor i32 %39, 1
store i32 %40, ptr %38, align 8, !tbaa !26
%41 = load i64, ptr @GS_CSR, align 8, !tbaa !15
%42 = inttoptr i64 %41 to ptr
%43 = load i32, ptr %42, align 4, !tbaa !27
%44 = getelementptr inbounds i8, ptr %34, i64 20
store i32 %43, ptr %44, align 4, !tbaa !29
%45 = call i32 @gsKit_setactive(ptr noundef %34) #3
call void @llvm.lifetime.end.p0(i64 40, 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 @gsKit_texture_upload(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @gsKit_prim_sprite_texture(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @GS_SET_DISPFB2(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @gsKit_setactive(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, !7, i64 32}
!11 = !{!"TYPE_10__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !12, i64 16, !7, i64 24, !7, i64 28, !7, i64 32}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 28}
!14 = !{!11, !7, i64 24}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = !{!11, !12, i64 16}
!18 = !{!11, !7, i64 12}
!19 = !{!11, !7, i64 8}
!20 = !{!12, !12, i64 0}
!21 = !{!22, !12, i64 0}
!22 = !{!"TYPE_12__", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24}
!23 = !{!22, !7, i64 8}
!24 = !{!22, !7, i64 12}
!25 = !{!22, !7, i64 24}
!26 = !{!22, !7, i64 16}
!27 = !{!28, !7, i64 0}
!28 = !{!"TYPE_11__", !7, i64 0}
!29 = !{!22, !7, i64 20}
| Provenance_Cores_Atari800_atari800-src_extr_atari_ps2.c_PLATFORM_DisplayScreen |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_dce_v11_0.c_dce_v11_0_hpd_get_gpio_reg.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_dce_v11_0.c_dce_v11_0_hpd_get_gpio_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"
@mmDC_GPIO_HPD_A = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dce_v11_0_hpd_get_gpio_reg], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @dce_v11_0_hpd_get_gpio_reg(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @mmDC_GPIO_HPD_A, align 4, !tbaa !5
ret i32 %2
}
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_dce_v11_0.c_dce_v11_0_hpd_get_gpio_reg.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_dce_v11_0.c_dce_v11_0_hpd_get_gpio_reg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@mmDC_GPIO_HPD_A = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dce_v11_0_hpd_get_gpio_reg], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @dce_v11_0_hpd_get_gpio_reg(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @mmDC_GPIO_HPD_A, align 4, !tbaa !6
ret i32 %2
}
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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_amd_amdgpu_extr_dce_v11_0.c_dce_v11_0_hpd_get_gpio_reg |
; ModuleID = 'AnghaBench/linux/drivers/of/extr_dynamic.c___of_changeset_entry_destroy.c'
source_filename = "AnghaBench/linux/drivers/of/extr_dynamic.c___of_changeset_entry_destroy.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.of_changeset_entry = type { i64, i32, ptr }
@OF_RECONFIG_ATTACH_NODE = dso_local local_unnamed_addr global i64 0, align 8
@OF_OVERLAY = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [142 x i8] c"ERROR: memory leak, expected refcount 1 instead of %d, of_node_get()/of_node_put() unbalanced - destroy cset entry: attach overlay node %pOF\0A\00", align 1
@OF_OVERLAY_FREE_CSET = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__of_changeset_entry_destroy], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @__of_changeset_entry_destroy(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @OF_RECONFIG_ATTACH_NODE, align 8, !tbaa !12
%4 = icmp eq i64 %2, %3
br i1 %4, label %5, label %23
5: ; preds = %1
%6 = getelementptr inbounds %struct.of_changeset_entry, ptr %0, i64 0, i32 2
%7 = load ptr, ptr %6, align 8, !tbaa !13
%8 = load i32, ptr @OF_OVERLAY, align 4, !tbaa !14
%9 = tail call i64 @of_node_check_flag(ptr noundef %7, i32 noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %23, label %11
11: ; preds = %5
%12 = load ptr, ptr %6, align 8, !tbaa !13
%13 = tail call i32 @kref_read(ptr noundef %12) #2
%14 = icmp sgt i32 %13, 1
%15 = load ptr, ptr %6, align 8, !tbaa !13
br i1 %14, label %16, label %20
16: ; preds = %11
%17 = tail call i32 @kref_read(ptr noundef %15) #2
%18 = load ptr, ptr %6, align 8, !tbaa !13
%19 = tail call i32 @pr_err(ptr noundef nonnull @.str, i32 noundef %17, ptr noundef %18) #2
br label %23
20: ; preds = %11
%21 = load i32, ptr @OF_OVERLAY_FREE_CSET, align 4, !tbaa !14
%22 = tail call i32 @of_node_set_flag(ptr noundef %15, i32 noundef %21) #2
br label %23
23: ; preds = %16, %20, %5, %1
%24 = getelementptr inbounds %struct.of_changeset_entry, ptr %0, i64 0, i32 2
%25 = load ptr, ptr %24, align 8, !tbaa !13
%26 = tail call i32 @of_node_put(ptr noundef %25) #2
%27 = getelementptr inbounds %struct.of_changeset_entry, ptr %0, i64 0, i32 1
%28 = tail call i32 @list_del(ptr noundef nonnull %27) #2
%29 = tail call i32 @kfree(ptr noundef nonnull %0) #2
ret void
}
declare i64 @of_node_check_flag(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kref_read(ptr noundef) local_unnamed_addr #1
declare i32 @pr_err(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @of_node_set_flag(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @of_node_put(ptr noundef) local_unnamed_addr #1
declare i32 @list_del(ptr 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, !7, i64 0}
!6 = !{!"of_changeset_entry", !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 = !{!7, !7, i64 0}
!13 = !{!6, !11, i64 16}
!14 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/of/extr_dynamic.c___of_changeset_entry_destroy.c'
source_filename = "AnghaBench/linux/drivers/of/extr_dynamic.c___of_changeset_entry_destroy.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OF_RECONFIG_ATTACH_NODE = common local_unnamed_addr global i64 0, align 8
@OF_OVERLAY = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [142 x i8] c"ERROR: memory leak, expected refcount 1 instead of %d, of_node_get()/of_node_put() unbalanced - destroy cset entry: attach overlay node %pOF\0A\00", align 1
@OF_OVERLAY_FREE_CSET = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__of_changeset_entry_destroy], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @__of_changeset_entry_destroy(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @OF_RECONFIG_ATTACH_NODE, align 8, !tbaa !13
%4 = icmp eq i64 %2, %3
br i1 %4, label %5, label %23
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 16
%7 = load ptr, ptr %6, align 8, !tbaa !14
%8 = load i32, ptr @OF_OVERLAY, align 4, !tbaa !15
%9 = tail call i64 @of_node_check_flag(ptr noundef %7, i32 noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %23, label %11
11: ; preds = %5
%12 = load ptr, ptr %6, align 8, !tbaa !14
%13 = tail call i32 @kref_read(ptr noundef %12) #2
%14 = icmp sgt i32 %13, 1
%15 = load ptr, ptr %6, align 8, !tbaa !14
br i1 %14, label %16, label %20
16: ; preds = %11
%17 = tail call i32 @kref_read(ptr noundef %15) #2
%18 = load ptr, ptr %6, align 8, !tbaa !14
%19 = tail call i32 @pr_err(ptr noundef nonnull @.str, i32 noundef %17, ptr noundef %18) #2
br label %23
20: ; preds = %11
%21 = load i32, ptr @OF_OVERLAY_FREE_CSET, align 4, !tbaa !15
%22 = tail call i32 @of_node_set_flag(ptr noundef %15, i32 noundef %21) #2
br label %23
23: ; preds = %16, %20, %5, %1
%24 = getelementptr inbounds i8, ptr %0, i64 16
%25 = load ptr, ptr %24, align 8, !tbaa !14
%26 = tail call i32 @of_node_put(ptr noundef %25) #2
%27 = getelementptr inbounds i8, ptr %0, i64 8
%28 = tail call i32 @list_del(ptr noundef nonnull %27) #2
%29 = tail call i32 @kfree(ptr noundef nonnull %0) #2
ret void
}
declare i64 @of_node_check_flag(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kref_read(ptr noundef) local_unnamed_addr #1
declare i32 @pr_err(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @of_node_set_flag(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @of_node_put(ptr noundef) local_unnamed_addr #1
declare i32 @list_del(ptr 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, !8, i64 0}
!7 = !{!"of_changeset_entry", !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 = !{!8, !8, i64 0}
!14 = !{!7, !12, i64 16}
!15 = !{!11, !11, i64 0}
| linux_drivers_of_extr_dynamic.c___of_changeset_entry_destroy |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/scheduler/extr_sched_entity.c_drm_sched_entity_kill_jobs.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/scheduler/extr_sched_entity.c_drm_sched_entity_kill_jobs.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_sched_entity = type { i32, i32 }
%struct.drm_sched_job = type { i32, ptr }
@ESRCH = dso_local local_unnamed_addr global i32 0, align 4
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"fence add callback failed (%d)\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @drm_sched_entity_kill_jobs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @drm_sched_entity_kill_jobs(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.drm_sched_entity, ptr %0, i64 0, i32 1
%3 = tail call i32 @spsc_queue_pop(ptr noundef nonnull %2) #2
%4 = tail call ptr @to_drm_sched_job(i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %33, label %6
6: ; preds = %1, %29
%7 = phi ptr [ %31, %29 ], [ %4, %1 ]
%8 = getelementptr inbounds %struct.drm_sched_job, ptr %7, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !5
%10 = tail call i32 @drm_sched_fence_scheduled(ptr noundef %9) #2
%11 = load i32, ptr @ESRCH, align 4, !tbaa !11
%12 = sub nsw i32 0, %11
%13 = tail call i32 @dma_fence_set_error(ptr noundef %9, i32 noundef %12) #2
%14 = load i32, ptr %0, align 4, !tbaa !12
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %6
%17 = tail call i32 @drm_sched_entity_kill_jobs_cb(ptr noundef null, ptr noundef nonnull %7) #2
br label %29, !llvm.loop !14
18: ; preds = %6
%19 = tail call i32 @dma_fence_add_callback(i32 noundef %14, ptr noundef nonnull %7, ptr noundef nonnull @drm_sched_entity_kill_jobs_cb) #2
%20 = load i32, ptr @ENOENT, align 4, !tbaa !11
%21 = sub nsw i32 0, %20
%22 = icmp eq i32 %19, %21
br i1 %22, label %23, label %25
23: ; preds = %18
%24 = tail call i32 @drm_sched_entity_kill_jobs_cb(ptr noundef null, ptr noundef nonnull %7) #2
br label %29
25: ; preds = %18
%26 = icmp eq i32 %19, 0
br i1 %26, label %29, label %27
27: ; preds = %25
%28 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str, i32 noundef %19) #2
br label %29
29: ; preds = %23, %27, %25, %16
%30 = tail call i32 @spsc_queue_pop(ptr noundef nonnull %2) #2
%31 = tail call ptr @to_drm_sched_job(i32 noundef %30) #2
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %6
33: ; preds = %29, %1
ret void
}
declare ptr @to_drm_sched_job(i32 noundef) local_unnamed_addr #1
declare i32 @spsc_queue_pop(ptr noundef) local_unnamed_addr #1
declare i32 @drm_sched_fence_scheduled(ptr noundef) local_unnamed_addr #1
declare i32 @dma_fence_set_error(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @drm_sched_entity_kill_jobs_cb(ptr noundef, ptr noundef) #1
declare i32 @dma_fence_add_callback(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @DRM_ERROR(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 = !{!"drm_sched_job", !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 = !{!"drm_sched_entity", !7, i64 0, !7, i64 4}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/scheduler/extr_sched_entity.c_drm_sched_entity_kill_jobs.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/scheduler/extr_sched_entity.c_drm_sched_entity_kill_jobs.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ESRCH = common local_unnamed_addr global i32 0, align 4
@ENOENT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"fence add callback failed (%d)\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @drm_sched_entity_kill_jobs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @drm_sched_entity_kill_jobs(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = tail call i32 @spsc_queue_pop(ptr noundef nonnull %2) #2
%4 = tail call ptr @to_drm_sched_job(i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %33, label %6
6: ; preds = %1, %29
%7 = phi ptr [ %31, %29 ], [ %4, %1 ]
%8 = getelementptr inbounds i8, ptr %7, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !6
%10 = tail call i32 @drm_sched_fence_scheduled(ptr noundef %9) #2
%11 = load i32, ptr @ESRCH, align 4, !tbaa !12
%12 = sub nsw i32 0, %11
%13 = tail call i32 @dma_fence_set_error(ptr noundef %9, i32 noundef %12) #2
%14 = load i32, ptr %0, align 4, !tbaa !13
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %6
%17 = tail call i32 @drm_sched_entity_kill_jobs_cb(ptr noundef null, ptr noundef nonnull %7) #2
br label %29, !llvm.loop !15
18: ; preds = %6
%19 = tail call i32 @dma_fence_add_callback(i32 noundef %14, ptr noundef nonnull %7, ptr noundef nonnull @drm_sched_entity_kill_jobs_cb) #2
%20 = load i32, ptr @ENOENT, align 4, !tbaa !12
%21 = sub nsw i32 0, %20
%22 = icmp eq i32 %19, %21
br i1 %22, label %23, label %25
23: ; preds = %18
%24 = tail call i32 @drm_sched_entity_kill_jobs_cb(ptr noundef null, ptr noundef nonnull %7) #2
br label %29
25: ; preds = %18
%26 = icmp eq i32 %19, 0
br i1 %26, label %29, label %27
27: ; preds = %25
%28 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str, i32 noundef %19) #2
br label %29
29: ; preds = %23, %27, %25, %16
%30 = tail call i32 @spsc_queue_pop(ptr noundef nonnull %2) #2
%31 = tail call ptr @to_drm_sched_job(i32 noundef %30) #2
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %6
33: ; preds = %29, %1
ret void
}
declare ptr @to_drm_sched_job(i32 noundef) local_unnamed_addr #1
declare i32 @spsc_queue_pop(ptr noundef) local_unnamed_addr #1
declare i32 @drm_sched_fence_scheduled(ptr noundef) local_unnamed_addr #1
declare i32 @dma_fence_set_error(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @drm_sched_entity_kill_jobs_cb(ptr noundef, ptr noundef) #1
declare i32 @dma_fence_add_callback(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @DRM_ERROR(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 = !{!"drm_sched_job", !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 = !{!"drm_sched_entity", !8, i64 0, !8, i64 4}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| linux_drivers_gpu_drm_scheduler_extr_sched_entity.c_drm_sched_entity_kill_jobs |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns/extr_hns_ae_adapt.c_hns_ae_update_led_status.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns/extr_hns_ae_adapt.c_hns_ae_update_led_status.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"
@HNAE_MEDIA_TYPE_FIBER = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @hns_ae_update_led_status], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @hns_ae_update_led_status(ptr noundef %0) #0 {
%2 = tail call i32 @assert(ptr noundef %0) #2
%3 = tail call ptr @hns_get_mac_cb(ptr noundef %0) #2
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = load i64, ptr @HNAE_MEDIA_TYPE_FIBER, align 8, !tbaa !10
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = tail call i32 @hns_set_led_opt(ptr noundef nonnull %3) #2
br label %9
9: ; preds = %1, %7
ret void
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare ptr @hns_get_mac_cb(ptr noundef) local_unnamed_addr #1
declare i32 @hns_set_led_opt(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 = !{!"hns_mac_cb", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns/extr_hns_ae_adapt.c_hns_ae_update_led_status.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns/extr_hns_ae_adapt.c_hns_ae_update_led_status.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HNAE_MEDIA_TYPE_FIBER = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @hns_ae_update_led_status], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @hns_ae_update_led_status(ptr noundef %0) #0 {
%2 = tail call i32 @assert(ptr noundef %0) #2
%3 = tail call ptr @hns_get_mac_cb(ptr noundef %0) #2
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = load i64, ptr @HNAE_MEDIA_TYPE_FIBER, align 8, !tbaa !11
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = tail call i32 @hns_set_led_opt(ptr noundef nonnull %3) #2
br label %9
9: ; preds = %1, %7
ret void
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare ptr @hns_get_mac_cb(ptr noundef) local_unnamed_addr #1
declare i32 @hns_set_led_opt(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 = !{!"hns_mac_cb", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_drivers_net_ethernet_hisilicon_hns_extr_hns_ae_adapt.c_hns_ae_update_led_status |
; ModuleID = 'AnghaBench/freebsd/contrib/libevent/extr_http.c_make_addrinfo.c'
source_filename = "AnghaBench/freebsd/contrib/libevent/extr_http.c_make_addrinfo.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.evutil_addrinfo = type { i32, i32, i32 }
@NI_MAXSERV = dso_local local_unnamed_addr global i32 0, align 4
@AF_UNSPEC = dso_local local_unnamed_addr global i32 0, align 4
@SOCK_STREAM = dso_local local_unnamed_addr global i32 0, align 4
@EVUTIL_AI_PASSIVE = dso_local local_unnamed_addr global i32 0, align 4
@EVUTIL_AI_ADDRCONFIG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EVUTIL_EAI_SYSTEM = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"getaddrinfo\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"getaddrinfo: %s\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @make_addrinfo], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @make_addrinfo(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca %struct.evutil_addrinfo, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
store ptr null, ptr %3, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #4
%5 = load i32, ptr @NI_MAXSERV, align 4, !tbaa !9
%6 = zext i32 %5 to i64
%7 = tail call ptr @llvm.stacksave.p0()
%8 = alloca i8, i64 %6, align 16
%9 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 12) #4
%10 = load i32, ptr @AF_UNSPEC, align 4, !tbaa !9
%11 = getelementptr inbounds %struct.evutil_addrinfo, ptr %4, i64 0, i32 2
store i32 %10, ptr %11, align 4, !tbaa !11
%12 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !9
%13 = getelementptr inbounds %struct.evutil_addrinfo, ptr %4, i64 0, i32 1
store i32 %12, ptr %13, align 4, !tbaa !13
%14 = load i32, ptr @EVUTIL_AI_PASSIVE, align 4, !tbaa !9
%15 = load i32, ptr @EVUTIL_AI_ADDRCONFIG, align 4, !tbaa !9
%16 = or i32 %15, %14
store i32 %16, ptr %4, align 4, !tbaa !14
%17 = call i32 @evutil_snprintf(ptr noundef nonnull %8, i32 noundef %5, ptr noundef nonnull @.str, i32 noundef %1) #4
%18 = call i32 @evutil_getaddrinfo(ptr noundef %0, ptr noundef nonnull %8, ptr noundef nonnull %4, ptr noundef nonnull %3) #4
%19 = icmp eq i32 %18, 0
br i1 %19, label %28, label %20
20: ; preds = %2
%21 = load i32, ptr @EVUTIL_EAI_SYSTEM, align 4, !tbaa !9
%22 = icmp eq i32 %18, %21
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = call i32 @event_warn(ptr noundef nonnull @.str.1) #4
br label %30
25: ; preds = %20
%26 = call i32 @evutil_gai_strerror(i32 noundef %18) #4
%27 = call i32 @event_warnx(ptr noundef nonnull @.str.2, i32 noundef %26) #4
br label %30
28: ; preds = %2
%29 = load ptr, ptr %3, align 8, !tbaa !5
br label %30
30: ; preds = %23, %25, %28
%31 = phi ptr [ %29, %28 ], [ null, %25 ], [ null, %23 ]
call void @llvm.stackrestore.p0(ptr %7)
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
ret ptr %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @evutil_snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @evutil_getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @event_warn(ptr noundef) local_unnamed_addr #3
declare i32 @event_warnx(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @evutil_gai_strerror(i32 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
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { "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 8}
!12 = !{!"evutil_addrinfo", !10, i64 0, !10, i64 4, !10, i64 8}
!13 = !{!12, !10, i64 4}
!14 = !{!12, !10, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libevent/extr_http.c_make_addrinfo.c'
source_filename = "AnghaBench/freebsd/contrib/libevent/extr_http.c_make_addrinfo.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.evutil_addrinfo = type { i32, i32, i32 }
@NI_MAXSERV = common local_unnamed_addr global i32 0, align 4
@AF_UNSPEC = common local_unnamed_addr global i32 0, align 4
@SOCK_STREAM = common local_unnamed_addr global i32 0, align 4
@EVUTIL_AI_PASSIVE = common local_unnamed_addr global i32 0, align 4
@EVUTIL_AI_ADDRCONFIG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EVUTIL_EAI_SYSTEM = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"getaddrinfo\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"getaddrinfo: %s\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @make_addrinfo], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @make_addrinfo(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca %struct.evutil_addrinfo, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
store ptr null, ptr %3, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #4
%5 = load i32, ptr @NI_MAXSERV, align 4, !tbaa !10
%6 = zext i32 %5 to i64
%7 = tail call ptr @llvm.stacksave.p0()
%8 = alloca i8, i64 %6, align 1
%9 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 12) #4
%10 = load i32, ptr @AF_UNSPEC, align 4, !tbaa !10
%11 = getelementptr inbounds i8, ptr %4, i64 8
store i32 %10, ptr %11, align 4, !tbaa !12
%12 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !10
%13 = getelementptr inbounds i8, ptr %4, i64 4
store i32 %12, ptr %13, align 4, !tbaa !14
%14 = load i32, ptr @EVUTIL_AI_PASSIVE, align 4, !tbaa !10
%15 = load i32, ptr @EVUTIL_AI_ADDRCONFIG, align 4, !tbaa !10
%16 = or i32 %15, %14
store i32 %16, ptr %4, align 4, !tbaa !15
%17 = call i32 @evutil_snprintf(ptr noundef nonnull %8, i32 noundef %5, ptr noundef nonnull @.str, i32 noundef %1) #4
%18 = call i32 @evutil_getaddrinfo(ptr noundef %0, ptr noundef nonnull %8, ptr noundef nonnull %4, ptr noundef nonnull %3) #4
%19 = icmp eq i32 %18, 0
br i1 %19, label %28, label %20
20: ; preds = %2
%21 = load i32, ptr @EVUTIL_EAI_SYSTEM, align 4, !tbaa !10
%22 = icmp eq i32 %18, %21
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = call i32 @event_warn(ptr noundef nonnull @.str.1) #4
br label %30
25: ; preds = %20
%26 = call i32 @evutil_gai_strerror(i32 noundef %18) #4
%27 = call i32 @event_warnx(ptr noundef nonnull @.str.2, i32 noundef %26) #4
br label %30
28: ; preds = %2
%29 = load ptr, ptr %3, align 8, !tbaa !6
br label %30
30: ; preds = %23, %25, %28
%31 = phi ptr [ %29, %28 ], [ null, %25 ], [ null, %23 ]
call void @llvm.stackrestore.p0(ptr %7)
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
ret ptr %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @evutil_snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @evutil_getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @event_warn(ptr noundef) local_unnamed_addr #3
declare i32 @event_warnx(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @evutil_gai_strerror(i32 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
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { "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 8}
!13 = !{!"evutil_addrinfo", !11, i64 0, !11, i64 4, !11, i64 8}
!14 = !{!13, !11, i64 4}
!15 = !{!13, !11, i64 0}
| freebsd_contrib_libevent_extr_http.c_make_addrinfo |
; ModuleID = 'AnghaBench/freebsd/sys/dev/sound/pci/extr_emu10kx.c_emu_vpos.c'
source_filename = "AnghaBench/freebsd/sys/dev/sound/pci/extr_emu10kx.c_emu_vpos.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.emu_voice = type { i32, i32, i64, i64 }
@EMU_CHAN_CCCA_CURRADDR = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @emu_vpos(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.emu_voice, ptr %1, i64 0, i32 3
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = icmp ne i64 %4, 0
%6 = zext i1 %5 to i32
%7 = getelementptr inbounds %struct.emu_voice, ptr %1, i64 0, i32 2
%8 = load i64, ptr %7, align 8, !tbaa !11
%9 = icmp ne i64 %8, 0
%10 = zext i1 %9 to i32
%11 = add nuw nsw i32 %10, %6
%12 = getelementptr inbounds %struct.emu_voice, ptr %1, i64 0, i32 1
%13 = load i32, ptr %12, align 4, !tbaa !12
%14 = load i32, ptr @EMU_CHAN_CCCA_CURRADDR, align 4, !tbaa !13
%15 = tail call i32 @emu_rdptr(ptr noundef %0, i32 noundef %13, i32 noundef %14) #2
%16 = load i32, ptr %1, align 8, !tbaa !14
%17 = ashr i32 %16, %11
%18 = sub nsw i32 %15, %17
%19 = shl i32 %18, %11
%20 = and i32 %19, -32
ret i32 %20
}
declare i32 @emu_rdptr(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, !10, i64 16}
!6 = !{!"emu_voice", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!6, !7, i64 4}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/sound/pci/extr_emu10kx.c_emu_vpos.c'
source_filename = "AnghaBench/freebsd/sys/dev/sound/pci/extr_emu10kx.c_emu_vpos.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EMU_CHAN_CCCA_CURRADDR = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, -31) i32 @emu_vpos(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = load <2 x i64>, ptr %3, align 8, !tbaa !6
%5 = icmp ne <2 x i64> %4, zeroinitializer
%6 = extractelement <2 x i1> %5, i64 0
%7 = zext i1 %6 to i32
%8 = extractelement <2 x i1> %5, i64 1
%9 = zext i1 %8 to i32
%10 = add nuw nsw i32 %7, %9
%11 = getelementptr inbounds i8, ptr %1, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !10
%13 = load i32, ptr @EMU_CHAN_CCCA_CURRADDR, align 4, !tbaa !13
%14 = tail call i32 @emu_rdptr(ptr noundef %0, i32 noundef %12, i32 noundef %13) #2
%15 = load i32, ptr %1, align 8, !tbaa !14
%16 = ashr i32 %15, %10
%17 = sub nsw i32 %14, %16
%18 = shl i32 %17, %10
%19 = and i32 %18, -32
ret i32 %19
}
declare i32 @emu_rdptr(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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 4}
!11 = !{!"emu_voice", !12, i64 0, !12, i64 4, !7, i64 8, !7, i64 16}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !12, i64 0}
| freebsd_sys_dev_sound_pci_extr_emu10kx.c_emu_vpos |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/extr_core.c_mlx5_fpga_event.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/extr_core.c_mlx5_fpga_event.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.mlx5_fpga_device = type { i32, i32, i32 }
@fpga_error_event = dso_local local_unnamed_addr global i32 0, align 4
@fpga_qp_error_event = dso_local local_unnamed_addr global i32 0, align 4
@NOTIFY_DONE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"Error %u: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"Unexpected error event %u: %s\0A\00", align 1
@NOTIFY_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mlx5_fpga_event], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mlx5_fpga_event(ptr noundef %0, i64 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = load ptr, ptr %2, align 8, !tbaa !5
switch i64 %1, label %29 [
i64 130, label %5
i64 129, label %9
]
5: ; preds = %3
%6 = load i32, ptr @fpga_error_event, align 4, !tbaa !11
%7 = tail call i32 @MLX5_GET(i32 noundef %6, ptr noundef %4, i32 noundef undef) #2
%8 = tail call ptr @mlx5_fpga_syndrome_to_string(i32 noundef %7) #2
br label %13
9: ; preds = %3
%10 = load i32, ptr @fpga_qp_error_event, align 4, !tbaa !11
%11 = tail call i32 @MLX5_GET(i32 noundef %10, ptr noundef %4, i32 noundef undef) #2
%12 = tail call ptr @mlx5_fpga_qp_syndrome_to_string(i32 noundef %11) #2
br label %13
13: ; preds = %9, %5
%14 = phi ptr [ %12, %9 ], [ %8, %5 ]
%15 = phi i32 [ %11, %9 ], [ %7, %5 ]
%16 = getelementptr inbounds %struct.mlx5_fpga_device, ptr %0, i64 0, i32 2
%17 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %16, i64 noundef undef) #2
%18 = load i32, ptr %0, align 4, !tbaa !13
%19 = icmp eq i32 %18, 128
br i1 %19, label %23, label %20
20: ; preds = %13
%21 = tail call i32 @mlx5_fpga_warn_ratelimited(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %15, ptr noundef %14) #2
%22 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %16, i64 noundef undef) #2
br label %29
23: ; preds = %13
%24 = tail call i32 @mlx5_fpga_warn(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %15, ptr noundef %14) #2
%25 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %16, i64 noundef undef) #2
%26 = getelementptr inbounds %struct.mlx5_fpga_device, ptr %0, i64 0, i32 1
%27 = load i32, ptr %26, align 4, !tbaa !15
%28 = tail call i32 @mlx5_trigger_health_work(i32 noundef %27) #2
br label %29
29: ; preds = %20, %23, %3
%30 = phi ptr [ @NOTIFY_DONE, %3 ], [ @NOTIFY_OK, %23 ], [ @NOTIFY_OK, %20 ]
%31 = load i32, ptr %30, align 4, !tbaa !11
ret i32 %31
}
declare i32 @MLX5_GET(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @mlx5_fpga_syndrome_to_string(i32 noundef) local_unnamed_addr #1
declare ptr @mlx5_fpga_qp_syndrome_to_string(i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @mlx5_fpga_warn(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mlx5_fpga_warn_ratelimited(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @mlx5_trigger_health_work(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 = !{!"mlx5_eqe", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"mlx5_fpga_device", !12, i64 0, !12, i64 4, !12, i64 8}
!15 = !{!14, !12, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/extr_core.c_mlx5_fpga_event.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/extr_core.c_mlx5_fpga_event.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@fpga_error_event = common local_unnamed_addr global i32 0, align 4
@fpga_qp_error_event = common local_unnamed_addr global i32 0, align 4
@NOTIFY_DONE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"Error %u: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"Unexpected error event %u: %s\0A\00", align 1
@NOTIFY_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mlx5_fpga_event], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mlx5_fpga_event(ptr noundef %0, i64 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = load ptr, ptr %2, align 8, !tbaa !6
switch i64 %1, label %29 [
i64 130, label %5
i64 129, label %9
]
5: ; preds = %3
%6 = load i32, ptr @fpga_error_event, align 4, !tbaa !12
%7 = tail call i32 @MLX5_GET(i32 noundef %6, ptr noundef %4, i32 noundef undef) #2
%8 = tail call ptr @mlx5_fpga_syndrome_to_string(i32 noundef %7) #2
br label %13
9: ; preds = %3
%10 = load i32, ptr @fpga_qp_error_event, align 4, !tbaa !12
%11 = tail call i32 @MLX5_GET(i32 noundef %10, ptr noundef %4, i32 noundef undef) #2
%12 = tail call ptr @mlx5_fpga_qp_syndrome_to_string(i32 noundef %11) #2
br label %13
13: ; preds = %9, %5
%14 = phi ptr [ %12, %9 ], [ %8, %5 ]
%15 = phi i32 [ %11, %9 ], [ %7, %5 ]
%16 = getelementptr inbounds i8, ptr %0, i64 8
%17 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %16, i64 noundef undef) #2
%18 = load i32, ptr %0, align 4, !tbaa !14
%19 = icmp eq i32 %18, 128
br i1 %19, label %23, label %20
20: ; preds = %13
%21 = tail call i32 @mlx5_fpga_warn_ratelimited(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %15, ptr noundef %14) #2
%22 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %16, i64 noundef undef) #2
br label %29
23: ; preds = %13
%24 = tail call i32 @mlx5_fpga_warn(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %15, ptr noundef %14) #2
%25 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %16, i64 noundef undef) #2
%26 = getelementptr inbounds i8, ptr %0, i64 4
%27 = load i32, ptr %26, align 4, !tbaa !16
%28 = tail call i32 @mlx5_trigger_health_work(i32 noundef %27) #2
br label %29
29: ; preds = %20, %23, %3
%30 = phi ptr [ @NOTIFY_DONE, %3 ], [ @NOTIFY_OK, %23 ], [ @NOTIFY_OK, %20 ]
%31 = load i32, ptr %30, align 4, !tbaa !12
ret i32 %31
}
declare i32 @MLX5_GET(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @mlx5_fpga_syndrome_to_string(i32 noundef) local_unnamed_addr #1
declare ptr @mlx5_fpga_qp_syndrome_to_string(i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @mlx5_fpga_warn(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mlx5_fpga_warn_ratelimited(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @mlx5_trigger_health_work(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 = !{!"mlx5_eqe", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !10, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"mlx5_fpga_device", !13, i64 0, !13, i64 4, !13, i64 8}
!16 = !{!15, !13, i64 4}
| linux_drivers_net_ethernet_mellanox_mlx5_core_fpga_extr_core.c_mlx5_fpga_event |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/renesas/extr_ravb_main.c_ravb_hwtstamp_get.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/renesas/extr_ravb_main.c_ravb_hwtstamp_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"
%struct.hwtstamp_config = type { i32, i32, i64 }
%struct.ravb_private = type { i32, i64 }
@HWTSTAMP_TX_ON = dso_local local_unnamed_addr global i32 0, align 4
@HWTSTAMP_TX_OFF = dso_local local_unnamed_addr global i32 0, align 4
@RAVB_RXTSTAMP_TYPE_V2_L2_EVENT = dso_local local_unnamed_addr global i32 0, align 4
@HWTSTAMP_FILTER_PTP_V2_L2_EVENT = dso_local local_unnamed_addr global i32 0, align 4
@RAVB_RXTSTAMP_TYPE_ALL = dso_local local_unnamed_addr global i32 0, align 4
@HWTSTAMP_FILTER_ALL = dso_local local_unnamed_addr global i32 0, align 4
@HWTSTAMP_FILTER_NONE = dso_local local_unnamed_addr global i32 0, align 4
@EFAULT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ravb_hwtstamp_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ravb_hwtstamp_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca %struct.hwtstamp_config, align 8
%4 = tail call ptr @netdev_priv(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
%5 = getelementptr inbounds %struct.hwtstamp_config, ptr %3, i64 0, i32 2
store i64 0, ptr %5, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.ravb_private, ptr %4, i64 0, i32 1
%7 = load i64, ptr %6, align 8, !tbaa !11
%8 = icmp eq i64 %7, 0
%9 = load i32, ptr @HWTSTAMP_TX_ON, align 4
%10 = load i32, ptr @HWTSTAMP_TX_OFF, align 4
%11 = select i1 %8, i32 %10, i32 %9
%12 = getelementptr inbounds %struct.hwtstamp_config, ptr %3, i64 0, i32 1
store i32 %11, ptr %12, align 4, !tbaa !13
%13 = load i32, ptr %4, align 8, !tbaa !14
%14 = load i32, ptr @RAVB_RXTSTAMP_TYPE_V2_L2_EVENT, align 4, !tbaa !15
%15 = and i32 %14, %13
%16 = icmp eq i32 %15, 0
br i1 %16, label %19, label %17
17: ; preds = %2
%18 = load i32, ptr @HWTSTAMP_FILTER_PTP_V2_L2_EVENT, align 4, !tbaa !15
store i32 %18, ptr %3, align 8, !tbaa !16
br label %27
19: ; preds = %2
%20 = load i32, ptr @RAVB_RXTSTAMP_TYPE_ALL, align 4, !tbaa !15
%21 = and i32 %20, %13
%22 = icmp eq i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %19
%24 = load i32, ptr @HWTSTAMP_FILTER_ALL, align 4, !tbaa !15
store i32 %24, ptr %3, align 8, !tbaa !16
br label %27
25: ; preds = %19
%26 = load i32, ptr @HWTSTAMP_FILTER_NONE, align 4, !tbaa !15
store i32 %26, ptr %3, align 8, !tbaa !16
br label %27
27: ; preds = %23, %25, %17
%28 = load i32, ptr %1, align 4, !tbaa !17
%29 = call i64 @copy_to_user(i32 noundef %28, ptr noundef nonnull %3, i32 noundef 16) #3
%30 = icmp eq i64 %29, 0
%31 = load i32, ptr @EFAULT, align 4
%32 = sub nsw i32 0, %31
%33 = select i1 %30, i32 0, i32 %32
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #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 ptr @netdev_priv(ptr noundef) local_unnamed_addr #2
declare i64 @copy_to_user(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, !10, i64 8}
!6 = !{!"hwtstamp_config", !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 = !{!"long", !8, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"ravb_private", !7, i64 0, !10, i64 8}
!13 = !{!6, !7, i64 4}
!14 = !{!12, !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!6, !7, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"ifreq", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/renesas/extr_ravb_main.c_ravb_hwtstamp_get.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/renesas/extr_ravb_main.c_ravb_hwtstamp_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.hwtstamp_config = type { i32, i32, i64 }
@HWTSTAMP_TX_ON = common local_unnamed_addr global i32 0, align 4
@HWTSTAMP_TX_OFF = common local_unnamed_addr global i32 0, align 4
@RAVB_RXTSTAMP_TYPE_V2_L2_EVENT = common local_unnamed_addr global i32 0, align 4
@HWTSTAMP_FILTER_PTP_V2_L2_EVENT = common local_unnamed_addr global i32 0, align 4
@RAVB_RXTSTAMP_TYPE_ALL = common local_unnamed_addr global i32 0, align 4
@HWTSTAMP_FILTER_ALL = common local_unnamed_addr global i32 0, align 4
@HWTSTAMP_FILTER_NONE = common local_unnamed_addr global i32 0, align 4
@EFAULT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ravb_hwtstamp_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @ravb_hwtstamp_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca %struct.hwtstamp_config, align 8
%4 = tail call ptr @netdev_priv(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
%5 = getelementptr inbounds i8, ptr %3, i64 8
store i64 0, ptr %5, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %4, i64 8
%7 = load i64, ptr %6, align 8, !tbaa !12
%8 = icmp eq i64 %7, 0
%9 = load i32, ptr @HWTSTAMP_TX_ON, align 4
%10 = load i32, ptr @HWTSTAMP_TX_OFF, align 4
%11 = select i1 %8, i32 %10, i32 %9
%12 = getelementptr inbounds i8, ptr %3, i64 4
store i32 %11, ptr %12, align 4, !tbaa !14
%13 = load i32, ptr %4, align 8, !tbaa !15
%14 = load i32, ptr @RAVB_RXTSTAMP_TYPE_V2_L2_EVENT, align 4, !tbaa !16
%15 = and i32 %14, %13
%16 = icmp eq i32 %15, 0
br i1 %16, label %19, label %17
17: ; preds = %2
%18 = load i32, ptr @HWTSTAMP_FILTER_PTP_V2_L2_EVENT, align 4, !tbaa !16
store i32 %18, ptr %3, align 8, !tbaa !17
br label %27
19: ; preds = %2
%20 = load i32, ptr @RAVB_RXTSTAMP_TYPE_ALL, align 4, !tbaa !16
%21 = and i32 %20, %13
%22 = icmp eq i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %19
%24 = load i32, ptr @HWTSTAMP_FILTER_ALL, align 4, !tbaa !16
store i32 %24, ptr %3, align 8, !tbaa !17
br label %27
25: ; preds = %19
%26 = load i32, ptr @HWTSTAMP_FILTER_NONE, align 4, !tbaa !16
store i32 %26, ptr %3, align 8, !tbaa !17
br label %27
27: ; preds = %23, %25, %17
%28 = load i32, ptr %1, align 4, !tbaa !18
%29 = call i64 @copy_to_user(i32 noundef %28, ptr noundef nonnull %3, i32 noundef 16) #3
%30 = icmp eq i64 %29, 0
%31 = load i32, ptr @EFAULT, align 4
%32 = sub nsw i32 0, %31
%33 = select i1 %30, i32 0, i32 %32
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #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 ptr @netdev_priv(ptr noundef) local_unnamed_addr #2
declare i64 @copy_to_user(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, !11, i64 8}
!7 = !{!"hwtstamp_config", !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 = !{!"long", !9, i64 0}
!12 = !{!13, !11, i64 8}
!13 = !{!"ravb_private", !8, i64 0, !11, i64 8}
!14 = !{!7, !8, i64 4}
!15 = !{!13, !8, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!7, !8, i64 0}
!18 = !{!19, !8, i64 0}
!19 = !{!"ifreq", !8, i64 0}
| linux_drivers_net_ethernet_renesas_extr_ravb_main.c_ravb_hwtstamp_get |
; ModuleID = 'AnghaBench/freebsd/sys/dev/altera/sdcard/extr_altera_sdcard.c_altera_sdcard_task_badcard.c'
source_filename = "AnghaBench/freebsd/sys/dev/altera/sdcard/extr_altera_sdcard.c_altera_sdcard_task_badcard.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.altera_sdcard_softc = type { i32, i32 }
@ALTERA_SDCARD_FLAG_DETACHREQ = dso_local local_unnamed_addr global i32 0, align 4
@ALTERA_SDCARD_STATE_DETACHED = dso_local local_unnamed_addr global i32 0, align 4
@ALTERA_SDCARD_ASR_CARDPRESENT = dso_local local_unnamed_addr global i32 0, align 4
@ALTERA_SDCARD_STATE_NOCARD = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @altera_sdcard_task_badcard], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @altera_sdcard_task_badcard(ptr noundef %0) #0 {
%2 = tail call i32 @ALTERA_SDCARD_LOCK_ASSERT(ptr noundef %0) #2
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = load i32, ptr @ALTERA_SDCARD_FLAG_DETACHREQ, align 4, !tbaa !10
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %1
%8 = tail call i32 @altera_sdcard_read_asr(ptr noundef nonnull %0) #2
%9 = load i32, ptr @ALTERA_SDCARD_ASR_CARDPRESENT, align 4, !tbaa !10
%10 = and i32 %9, %8
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %7, %1
%13 = phi ptr [ @ALTERA_SDCARD_STATE_DETACHED, %1 ], [ @ALTERA_SDCARD_STATE_NOCARD, %7 ]
%14 = load i32, ptr %13, align 4, !tbaa !10
%15 = getelementptr inbounds %struct.altera_sdcard_softc, ptr %0, i64 0, i32 1
store i32 %14, ptr %15, align 4, !tbaa !11
br label %16
16: ; preds = %12, %7
ret void
}
declare i32 @ALTERA_SDCARD_LOCK_ASSERT(ptr noundef) local_unnamed_addr #1
declare i32 @altera_sdcard_read_asr(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 = !{!"altera_sdcard_softc", !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/freebsd/sys/dev/altera/sdcard/extr_altera_sdcard.c_altera_sdcard_task_badcard.c'
source_filename = "AnghaBench/freebsd/sys/dev/altera/sdcard/extr_altera_sdcard.c_altera_sdcard_task_badcard.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ALTERA_SDCARD_FLAG_DETACHREQ = common local_unnamed_addr global i32 0, align 4
@ALTERA_SDCARD_STATE_DETACHED = common local_unnamed_addr global i32 0, align 4
@ALTERA_SDCARD_ASR_CARDPRESENT = common local_unnamed_addr global i32 0, align 4
@ALTERA_SDCARD_STATE_NOCARD = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @altera_sdcard_task_badcard], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @altera_sdcard_task_badcard(ptr noundef %0) #0 {
%2 = tail call i32 @ALTERA_SDCARD_LOCK_ASSERT(ptr noundef %0) #2
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = load i32, ptr @ALTERA_SDCARD_FLAG_DETACHREQ, align 4, !tbaa !11
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %1
%8 = tail call i32 @altera_sdcard_read_asr(ptr noundef nonnull %0) #2
%9 = load i32, ptr @ALTERA_SDCARD_ASR_CARDPRESENT, align 4, !tbaa !11
%10 = and i32 %9, %8
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %7, %1
%13 = phi ptr [ @ALTERA_SDCARD_STATE_DETACHED, %1 ], [ @ALTERA_SDCARD_STATE_NOCARD, %7 ]
%14 = load i32, ptr %13, align 4, !tbaa !11
%15 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %14, ptr %15, align 4, !tbaa !12
br label %16
16: ; preds = %12, %7
ret void
}
declare i32 @ALTERA_SDCARD_LOCK_ASSERT(ptr noundef) local_unnamed_addr #1
declare i32 @altera_sdcard_read_asr(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 = !{!"altera_sdcard_softc", !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}
| freebsd_sys_dev_altera_sdcard_extr_altera_sdcard.c_altera_sdcard_task_badcard |
; ModuleID = 'AnghaBench/systemd/src/network/extr_networkd-link.c_link_dhcp4_enabled.c'
source_filename = "AnghaBench/systemd/src/network/extr_networkd-link.c_link_dhcp4_enabled.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, i64, ptr }
%struct.TYPE_5__ = type { i32, i64 }
@IFF_LOOPBACK = dso_local local_unnamed_addr global i32 0, align 4
@ARPHRD_CAN = dso_local local_unnamed_addr global i64 0, align 8
@ADDRESS_FAMILY_IPV4 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @link_dhcp4_enabled], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @link_dhcp4_enabled(ptr noundef %0) #0 {
%2 = tail call i32 @assert(ptr noundef %0) #2
%3 = load i32, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr @IFF_LOOPBACK, align 4, !tbaa !12
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %24
7: ; preds = %1
%8 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
%9 = load ptr, ptr %8, align 8, !tbaa !13
%10 = icmp eq ptr %9, null
br i1 %10, label %24, label %11
11: ; preds = %7
%12 = getelementptr inbounds %struct.TYPE_5__, ptr %9, i64 0, i32 1
%13 = load i64, ptr %12, align 8, !tbaa !14
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %24
15: ; preds = %11
%16 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%17 = load i64, ptr %16, align 8, !tbaa !16
%18 = load i64, ptr @ARPHRD_CAN, align 8, !tbaa !17
%19 = icmp eq i64 %17, %18
br i1 %19, label %24, label %20
20: ; preds = %15
%21 = load i32, ptr %9, align 8, !tbaa !18
%22 = load i32, ptr @ADDRESS_FAMILY_IPV4, align 4, !tbaa !12
%23 = and i32 %22, %21
br label %24
24: ; preds = %15, %11, %7, %1, %20
%25 = phi i32 [ %23, %20 ], [ 0, %1 ], [ 0, %7 ], [ 0, %11 ], [ 0, %15 ]
ret i32 %25
}
declare i32 @assert(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, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !11, i64 16}
!14 = !{!15, !10, i64 8}
!15 = !{!"TYPE_5__", !7, i64 0, !10, i64 8}
!16 = !{!6, !10, i64 8}
!17 = !{!10, !10, i64 0}
!18 = !{!15, !7, i64 0}
| ; ModuleID = 'AnghaBench/systemd/src/network/extr_networkd-link.c_link_dhcp4_enabled.c'
source_filename = "AnghaBench/systemd/src/network/extr_networkd-link.c_link_dhcp4_enabled.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IFF_LOOPBACK = common local_unnamed_addr global i32 0, align 4
@ARPHRD_CAN = common local_unnamed_addr global i64 0, align 8
@ADDRESS_FAMILY_IPV4 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @link_dhcp4_enabled], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @link_dhcp4_enabled(ptr noundef %0) #0 {
%2 = tail call i32 @assert(ptr noundef %0) #2
%3 = load i32, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr @IFF_LOOPBACK, align 4, !tbaa !13
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %24
7: ; preds = %1
%8 = getelementptr inbounds i8, ptr %0, i64 16
%9 = load ptr, ptr %8, align 8, !tbaa !14
%10 = icmp eq ptr %9, null
br i1 %10, label %24, label %11
11: ; preds = %7
%12 = getelementptr inbounds i8, ptr %9, i64 8
%13 = load i64, ptr %12, align 8, !tbaa !15
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %24
15: ; preds = %11
%16 = getelementptr inbounds i8, ptr %0, i64 8
%17 = load i64, ptr %16, align 8, !tbaa !17
%18 = load i64, ptr @ARPHRD_CAN, align 8, !tbaa !18
%19 = icmp eq i64 %17, %18
br i1 %19, label %24, label %20
20: ; preds = %15
%21 = load i32, ptr %9, align 8, !tbaa !19
%22 = load i32, ptr @ADDRESS_FAMILY_IPV4, align 4, !tbaa !13
%23 = and i32 %22, %21
br label %24
24: ; preds = %15, %11, %7, %1, %20
%25 = phi i32 [ %23, %20 ], [ 0, %1 ], [ 0, %7 ], [ 0, %11 ], [ 0, %15 ]
ret i32 %25
}
declare i32 @assert(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, !11, i64 8, !12, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !12, i64 16}
!15 = !{!16, !11, i64 8}
!16 = !{!"TYPE_5__", !8, i64 0, !11, i64 8}
!17 = !{!7, !11, i64 8}
!18 = !{!11, !11, i64 0}
!19 = !{!16, !8, i64 0}
| systemd_src_network_extr_networkd-link.c_link_dhcp4_enabled |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_hw_v2.c_hns_roce_v2_free_eq.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_hw_v2.c_hns_roce_v2_free_eq.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.hns_roce_dev = type { i32, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
%struct.hns_roce_eq = type { i32, ptr }
%struct.TYPE_4__ = type { i32, i32 }
@PAGE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hns_roce_v2_free_eq], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @hns_roce_v2_free_eq(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.hns_roce_dev, ptr %0, i64 0, i32 1
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %2
%7 = tail call i32 @hns_roce_mhop_free_eq(ptr noundef nonnull %0, ptr noundef %1) #2
br label %22
8: ; preds = %2
%9 = load i32, ptr %1, align 8, !tbaa !12
%10 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !15
%11 = add nsw i32 %10, %9
%12 = shl nuw i32 1, %11
%13 = load i32, ptr %0, align 8, !tbaa !16
%14 = getelementptr inbounds %struct.hns_roce_eq, ptr %1, i64 0, i32 1
%15 = load ptr, ptr %14, align 8, !tbaa !17
%16 = getelementptr inbounds %struct.TYPE_4__, ptr %15, i64 0, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !18
%18 = load i32, ptr %15, align 4, !tbaa !20
%19 = tail call i32 @dma_free_coherent(i32 noundef %13, i32 noundef %12, i32 noundef %17, i32 noundef %18) #2
%20 = load ptr, ptr %14, align 8, !tbaa !17
%21 = tail call i32 @kfree(ptr noundef %20) #2
br label %22
22: ; preds = %8, %6
ret void
}
declare i32 @hns_roce_mhop_free_eq(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dma_free_coherent(i32 noundef, 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, !11, i64 8}
!6 = !{!"hns_roce_dev", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_3__", !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"hns_roce_eq", !7, i64 0, !14, i64 8}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!6, !7, i64 0}
!17 = !{!13, !14, i64 8}
!18 = !{!19, !7, i64 4}
!19 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
!20 = !{!19, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_hw_v2.c_hns_roce_v2_free_eq.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_hw_v2.c_hns_roce_v2_free_eq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PAGE_SHIFT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hns_roce_v2_free_eq], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @hns_roce_v2_free_eq(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %2
%7 = tail call i32 @hns_roce_mhop_free_eq(ptr noundef nonnull %0, ptr noundef %1) #2
br label %22
8: ; preds = %2
%9 = load i32, ptr %1, align 8, !tbaa !13
%10 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !16
%11 = add nsw i32 %10, %9
%12 = shl nuw i32 1, %11
%13 = load i32, ptr %0, align 8, !tbaa !17
%14 = getelementptr inbounds i8, ptr %1, i64 8
%15 = load ptr, ptr %14, align 8, !tbaa !18
%16 = getelementptr inbounds i8, ptr %15, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !19
%18 = load i32, ptr %15, align 4, !tbaa !21
%19 = tail call i32 @dma_free_coherent(i32 noundef %13, i32 noundef %12, i32 noundef %17, i32 noundef %18) #2
%20 = load ptr, ptr %14, align 8, !tbaa !18
%21 = tail call i32 @kfree(ptr noundef %20) #2
br label %22
22: ; preds = %8, %6
ret void
}
declare i32 @hns_roce_mhop_free_eq(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dma_free_coherent(i32 noundef, 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, !12, i64 8}
!7 = !{!"hns_roce_dev", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_3__", !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"hns_roce_eq", !8, i64 0, !15, i64 8}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!7, !8, i64 0}
!18 = !{!14, !15, i64 8}
!19 = !{!20, !8, i64 4}
!20 = !{!"TYPE_4__", !8, i64 0, !8, i64 4}
!21 = !{!20, !8, i64 0}
| linux_drivers_infiniband_hw_hns_extr_hns_roce_hw_v2.c_hns_roce_v2_free_eq |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_main.c_mlx5_ib_raw_fs_rule_add.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_main.c_mlx5_ib_raw_fs_rule_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"
%struct.mlx5_ib_flow_matcher = type { i64, i64, i32 }
%struct.mlx5_flow_destination = type { i32, i32, i32, i32 }
@MLX5_IB_FLOW_TYPE_NORMAL = dso_local local_unnamed_addr global i64 0, align 8
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@MLX5_IB_FLOW_LAST_PRIO = dso_local local_unnamed_addr global i64 0, align 8
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@MLX5_FLOW_DESTINATION_TYPE_TIR = dso_local local_unnamed_addr global i32 0, align 4
@MLX5_FLOW_CONTEXT_ACTION_FWD_DEST = dso_local local_unnamed_addr global i32 0, align 4
@MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE = dso_local local_unnamed_addr global i32 0, align 4
@MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE_NUM = dso_local local_unnamed_addr global i32 0, align 4
@MLX5_FLOW_DESTINATION_TYPE_PORT = dso_local local_unnamed_addr global i32 0, align 4
@MLX5_FLOW_CONTEXT_ACTION_ALLOW = dso_local local_unnamed_addr global i32 0, align 4
@MLX5_FLOW_CONTEXT_ACTION_COUNT = dso_local local_unnamed_addr global i32 0, align 4
@MLX5_FLOW_DESTINATION_TYPE_COUNTER = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @mlx5_ib_raw_fs_rule_add(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) local_unnamed_addr #0 {
%10 = load i64, ptr %1, align 8, !tbaa !5
%11 = load i64, ptr @MLX5_IB_FLOW_TYPE_NORMAL, align 8, !tbaa !11
%12 = icmp eq i64 %10, %11
br i1 %12, label %17, label %13
13: ; preds = %9
%14 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !12
%15 = sub nsw i32 0, %14
%16 = tail call ptr @ERR_PTR(i32 noundef %15) #2
br label %88
17: ; preds = %9
%18 = getelementptr inbounds %struct.mlx5_ib_flow_matcher, ptr %1, i64 0, i32 1
%19 = load i64, ptr %18, align 8, !tbaa !13
%20 = load i64, ptr @MLX5_IB_FLOW_LAST_PRIO, align 8, !tbaa !11
%21 = icmp sgt i64 %19, %20
br i1 %21, label %22, label %26
22: ; preds = %17
%23 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%24 = sub nsw i32 0, %23
%25 = tail call ptr @ERR_PTR(i32 noundef %24) #2
br label %88
26: ; preds = %17
%27 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12
%28 = tail call ptr @kcalloc(i32 noundef 2, i32 noundef 16, i32 noundef %27) #2
%29 = icmp eq ptr %28, null
br i1 %29, label %30, label %34
30: ; preds = %26
%31 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%32 = sub nsw i32 0, %31
%33 = tail call ptr @ERR_PTR(i32 noundef %32) #2
br label %88
34: ; preds = %26
%35 = tail call i32 @raw_fs_is_multicast(ptr noundef nonnull %1, ptr noundef %5) #2
%36 = load ptr, ptr %0, align 8, !tbaa !14
%37 = tail call i32 @mutex_lock(ptr noundef %36) #2
%38 = tail call ptr @_get_flow_table(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %35) #2
%39 = tail call i64 @IS_ERR(ptr noundef %38) #2
%40 = icmp eq i64 %39, 0
br i1 %40, label %43, label %41
41: ; preds = %34
%42 = tail call i32 @PTR_ERR(ptr noundef %38) #2
br label %82
43: ; preds = %34
%44 = load i32, ptr @MLX5_FLOW_DESTINATION_TYPE_TIR, align 4, !tbaa !12
%45 = icmp eq i32 %44, %8
br i1 %45, label %46, label %48
46: ; preds = %43
store i32 %8, ptr %28, align 4, !tbaa !17
%47 = getelementptr inbounds %struct.mlx5_flow_destination, ptr %28, i64 0, i32 1
store i32 %7, ptr %47, align 4, !tbaa !19
br label %56
48: ; preds = %43
%49 = load i32, ptr @MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE, align 4, !tbaa !12
%50 = icmp eq i32 %49, %8
br i1 %50, label %51, label %54
51: ; preds = %48
%52 = load i32, ptr @MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE_NUM, align 4, !tbaa !12
store i32 %52, ptr %28, align 4, !tbaa !17
%53 = getelementptr inbounds %struct.mlx5_flow_destination, ptr %28, i64 0, i32 2
store i32 %7, ptr %53, align 4, !tbaa !20
br label %56
54: ; preds = %48
%55 = load i32, ptr @MLX5_FLOW_DESTINATION_TYPE_PORT, align 4, !tbaa !12
store i32 %55, ptr %28, align 4, !tbaa !17
br label %56
56: ; preds = %51, %54, %46
%57 = phi ptr [ @MLX5_FLOW_CONTEXT_ACTION_FWD_DEST, %51 ], [ @MLX5_FLOW_CONTEXT_ACTION_ALLOW, %54 ], [ @MLX5_FLOW_CONTEXT_ACTION_FWD_DEST, %46 ]
%58 = load i32, ptr %57, align 4, !tbaa !12
%59 = load i32, ptr %3, align 4, !tbaa !21
%60 = or i32 %59, %58
store i32 %60, ptr %3, align 4, !tbaa !21
%61 = load i32, ptr @MLX5_FLOW_CONTEXT_ACTION_COUNT, align 4, !tbaa !12
%62 = and i32 %61, %60
%63 = icmp eq i32 %62, 0
br i1 %63, label %68, label %64
64: ; preds = %56
%65 = load i32, ptr @MLX5_FLOW_DESTINATION_TYPE_COUNTER, align 4, !tbaa !12
%66 = getelementptr inbounds %struct.mlx5_flow_destination, ptr %28, i64 1
store i32 %65, ptr %66, align 4, !tbaa !17
%67 = getelementptr inbounds %struct.mlx5_flow_destination, ptr %28, i64 1, i32 3
store i32 %4, ptr %67, align 4, !tbaa !23
br label %68
68: ; preds = %64, %56
%69 = phi i32 [ 2, %64 ], [ 1, %56 ]
%70 = tail call ptr @_create_raw_flow_rule(ptr noundef nonnull %0, ptr noundef %38, ptr noundef nonnull %28, ptr noundef nonnull %1, ptr noundef %2, ptr noundef nonnull %3, ptr noundef %5, i32 noundef %6, i32 noundef %69) #2
%71 = tail call i64 @IS_ERR(ptr noundef %70) #2
%72 = icmp eq i64 %71, 0
br i1 %72, label %76, label %73
73: ; preds = %68
%74 = tail call i32 @PTR_ERR(ptr noundef %70) #2
%75 = tail call i32 @put_flow_table(ptr noundef nonnull %0, ptr noundef %38, i32 noundef 0) #2
br label %82
76: ; preds = %68
%77 = load ptr, ptr %0, align 8, !tbaa !14
%78 = tail call i32 @mutex_unlock(ptr noundef %77) #2
%79 = getelementptr inbounds %struct.mlx5_ib_flow_matcher, ptr %1, i64 0, i32 2
%80 = tail call i32 @atomic_inc(ptr noundef nonnull %79) #2
store ptr %1, ptr %70, align 8, !tbaa !24
%81 = tail call i32 @kfree(ptr noundef nonnull %28) #2
br label %88
82: ; preds = %73, %41
%83 = phi i32 [ %42, %41 ], [ %74, %73 ]
%84 = load ptr, ptr %0, align 8, !tbaa !14
%85 = tail call i32 @mutex_unlock(ptr noundef %84) #2
%86 = tail call i32 @kfree(ptr noundef nonnull %28) #2
%87 = tail call ptr @ERR_PTR(i32 noundef %83) #2
br label %88
88: ; preds = %82, %76, %30, %22, %13
%89 = phi ptr [ %16, %13 ], [ %25, %22 ], [ %87, %82 ], [ %70, %76 ], [ %33, %30 ]
ret ptr %89
}
declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare ptr @kcalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @raw_fs_is_multicast(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare ptr @_get_flow_table(ptr noundef, 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 @_create_raw_flow_rule(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @put_flow_table(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 0}
!6 = !{!"mlx5_ib_flow_matcher", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!10, !10, i64 0}
!13 = !{!6, !7, i64 8}
!14 = !{!15, !16, i64 0}
!15 = !{!"mlx5_ib_dev", !16, i64 0}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!18, !10, i64 0}
!18 = !{!"mlx5_flow_destination", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!19 = !{!18, !10, i64 4}
!20 = !{!18, !10, i64 8}
!21 = !{!22, !10, i64 0}
!22 = !{!"mlx5_flow_act", !10, i64 0}
!23 = !{!18, !10, i64 12}
!24 = !{!25, !16, i64 0}
!25 = !{!"mlx5_ib_flow_handler", !16, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_main.c_mlx5_ib_raw_fs_rule_add.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_main.c_mlx5_ib_raw_fs_rule_add.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MLX5_IB_FLOW_TYPE_NORMAL = common local_unnamed_addr global i64 0, align 8
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@MLX5_IB_FLOW_LAST_PRIO = common local_unnamed_addr global i64 0, align 8
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@MLX5_FLOW_DESTINATION_TYPE_TIR = common local_unnamed_addr global i32 0, align 4
@MLX5_FLOW_CONTEXT_ACTION_FWD_DEST = common local_unnamed_addr global i32 0, align 4
@MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE = common local_unnamed_addr global i32 0, align 4
@MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE_NUM = common local_unnamed_addr global i32 0, align 4
@MLX5_FLOW_DESTINATION_TYPE_PORT = common local_unnamed_addr global i32 0, align 4
@MLX5_FLOW_CONTEXT_ACTION_ALLOW = common local_unnamed_addr global i32 0, align 4
@MLX5_FLOW_CONTEXT_ACTION_COUNT = common local_unnamed_addr global i32 0, align 4
@MLX5_FLOW_DESTINATION_TYPE_COUNTER = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @mlx5_ib_raw_fs_rule_add(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) local_unnamed_addr #0 {
%10 = load i64, ptr %1, align 8, !tbaa !6
%11 = load i64, ptr @MLX5_IB_FLOW_TYPE_NORMAL, align 8, !tbaa !12
%12 = icmp eq i64 %10, %11
br i1 %12, label %17, label %13
13: ; preds = %9
%14 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !13
%15 = sub nsw i32 0, %14
%16 = tail call ptr @ERR_PTR(i32 noundef %15) #2
br label %88
17: ; preds = %9
%18 = getelementptr inbounds i8, ptr %1, i64 8
%19 = load i64, ptr %18, align 8, !tbaa !14
%20 = load i64, ptr @MLX5_IB_FLOW_LAST_PRIO, align 8, !tbaa !12
%21 = icmp sgt i64 %19, %20
br i1 %21, label %22, label %26
22: ; preds = %17
%23 = load i32, ptr @ENOMEM, align 4, !tbaa !13
%24 = sub nsw i32 0, %23
%25 = tail call ptr @ERR_PTR(i32 noundef %24) #2
br label %88
26: ; preds = %17
%27 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13
%28 = tail call ptr @kcalloc(i32 noundef 2, i32 noundef 16, i32 noundef %27) #2
%29 = icmp eq ptr %28, null
br i1 %29, label %30, label %34
30: ; preds = %26
%31 = load i32, ptr @ENOMEM, align 4, !tbaa !13
%32 = sub nsw i32 0, %31
%33 = tail call ptr @ERR_PTR(i32 noundef %32) #2
br label %88
34: ; preds = %26
%35 = tail call i32 @raw_fs_is_multicast(ptr noundef nonnull %1, ptr noundef %5) #2
%36 = load ptr, ptr %0, align 8, !tbaa !15
%37 = tail call i32 @mutex_lock(ptr noundef %36) #2
%38 = tail call ptr @_get_flow_table(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %35) #2
%39 = tail call i64 @IS_ERR(ptr noundef %38) #2
%40 = icmp eq i64 %39, 0
br i1 %40, label %43, label %41
41: ; preds = %34
%42 = tail call i32 @PTR_ERR(ptr noundef %38) #2
br label %82
43: ; preds = %34
%44 = load i32, ptr @MLX5_FLOW_DESTINATION_TYPE_TIR, align 4, !tbaa !13
%45 = icmp eq i32 %44, %8
br i1 %45, label %46, label %48
46: ; preds = %43
store i32 %8, ptr %28, align 4, !tbaa !18
%47 = getelementptr inbounds i8, ptr %28, i64 4
store i32 %7, ptr %47, align 4, !tbaa !20
br label %56
48: ; preds = %43
%49 = load i32, ptr @MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE, align 4, !tbaa !13
%50 = icmp eq i32 %49, %8
br i1 %50, label %51, label %54
51: ; preds = %48
%52 = load i32, ptr @MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE_NUM, align 4, !tbaa !13
store i32 %52, ptr %28, align 4, !tbaa !18
%53 = getelementptr inbounds i8, ptr %28, i64 8
store i32 %7, ptr %53, align 4, !tbaa !21
br label %56
54: ; preds = %48
%55 = load i32, ptr @MLX5_FLOW_DESTINATION_TYPE_PORT, align 4, !tbaa !13
store i32 %55, ptr %28, align 4, !tbaa !18
br label %56
56: ; preds = %51, %54, %46
%57 = phi ptr [ @MLX5_FLOW_CONTEXT_ACTION_FWD_DEST, %51 ], [ @MLX5_FLOW_CONTEXT_ACTION_ALLOW, %54 ], [ @MLX5_FLOW_CONTEXT_ACTION_FWD_DEST, %46 ]
%58 = load i32, ptr %57, align 4, !tbaa !13
%59 = load i32, ptr %3, align 4, !tbaa !22
%60 = or i32 %59, %58
store i32 %60, ptr %3, align 4, !tbaa !22
%61 = load i32, ptr @MLX5_FLOW_CONTEXT_ACTION_COUNT, align 4, !tbaa !13
%62 = and i32 %61, %60
%63 = icmp eq i32 %62, 0
br i1 %63, label %68, label %64
64: ; preds = %56
%65 = load i32, ptr @MLX5_FLOW_DESTINATION_TYPE_COUNTER, align 4, !tbaa !13
%66 = getelementptr inbounds i8, ptr %28, i64 16
store i32 %65, ptr %66, align 4, !tbaa !18
%67 = getelementptr inbounds i8, ptr %28, i64 28
store i32 %4, ptr %67, align 4, !tbaa !24
br label %68
68: ; preds = %64, %56
%69 = phi i32 [ 2, %64 ], [ 1, %56 ]
%70 = tail call ptr @_create_raw_flow_rule(ptr noundef nonnull %0, ptr noundef %38, ptr noundef nonnull %28, ptr noundef nonnull %1, ptr noundef %2, ptr noundef nonnull %3, ptr noundef %5, i32 noundef %6, i32 noundef %69) #2
%71 = tail call i64 @IS_ERR(ptr noundef %70) #2
%72 = icmp eq i64 %71, 0
br i1 %72, label %76, label %73
73: ; preds = %68
%74 = tail call i32 @PTR_ERR(ptr noundef %70) #2
%75 = tail call i32 @put_flow_table(ptr noundef nonnull %0, ptr noundef %38, i32 noundef 0) #2
br label %82
76: ; preds = %68
%77 = load ptr, ptr %0, align 8, !tbaa !15
%78 = tail call i32 @mutex_unlock(ptr noundef %77) #2
%79 = getelementptr inbounds i8, ptr %1, i64 16
%80 = tail call i32 @atomic_inc(ptr noundef nonnull %79) #2
store ptr %1, ptr %70, align 8, !tbaa !25
%81 = tail call i32 @kfree(ptr noundef nonnull %28) #2
br label %88
82: ; preds = %73, %41
%83 = phi i32 [ %42, %41 ], [ %74, %73 ]
%84 = load ptr, ptr %0, align 8, !tbaa !15
%85 = tail call i32 @mutex_unlock(ptr noundef %84) #2
%86 = tail call i32 @kfree(ptr noundef nonnull %28) #2
%87 = tail call ptr @ERR_PTR(i32 noundef %83) #2
br label %88
88: ; preds = %82, %76, %30, %22, %13
%89 = phi ptr [ %16, %13 ], [ %25, %22 ], [ %87, %82 ], [ %70, %76 ], [ %33, %30 ]
ret ptr %89
}
declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare ptr @kcalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @raw_fs_is_multicast(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare ptr @_get_flow_table(ptr noundef, 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 @_create_raw_flow_rule(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @put_flow_table(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 0}
!7 = !{!"mlx5_ib_flow_matcher", !8, i64 0, !8, i64 8, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!7, !8, i64 8}
!15 = !{!16, !17, i64 0}
!16 = !{!"mlx5_ib_dev", !17, i64 0}
!17 = !{!"any pointer", !9, i64 0}
!18 = !{!19, !11, i64 0}
!19 = !{!"mlx5_flow_destination", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!20 = !{!19, !11, i64 4}
!21 = !{!19, !11, i64 8}
!22 = !{!23, !11, i64 0}
!23 = !{!"mlx5_flow_act", !11, i64 0}
!24 = !{!19, !11, i64 12}
!25 = !{!26, !17, i64 0}
!26 = !{!"mlx5_ib_flow_handler", !17, i64 0}
| linux_drivers_infiniband_hw_mlx5_extr_main.c_mlx5_ib_raw_fs_rule_add |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.