IR_x86
stringlengths
592
249k
IR_arm
stringlengths
558
250k
filename
stringlengths
17
191
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/kinesis/keymaps/carpalx/extr_keymap.c_action_get_macro.c' source_filename = "AnghaBench/qmk_firmware/keyboards/kinesis/keymaps/carpalx/extr_keymap.c_action_get_macro.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MACRO_NONE = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @action_get_macro(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { switch i32 %1, label %12 [ i32 129, label %4 i32 128, label %7 ] 4: ; preds = %3 %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = icmp eq i32 %5, 0 br i1 %6, label %12, label %10 7: ; preds = %3 %8 = load i32, ptr %0, align 4, !tbaa !5 %9 = icmp eq i32 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %7, %4 %11 = tail call i32 @persistent_default_layer_set(i64 noundef poison) #2 br label %12 12: ; preds = %10, %7, %4, %3 %13 = load ptr, ptr @MACRO_NONE, align 8, !tbaa !11 ret ptr %13 } declare i32 @persistent_default_layer_set(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, !8, i64 0} !6 = !{!"TYPE_5__", !7, 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, !12, i64 0} !12 = !{!"any pointer", !9, i64 0}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/kinesis/keymaps/carpalx/extr_keymap.c_action_get_macro.c' source_filename = "AnghaBench/qmk_firmware/keyboards/kinesis/keymaps/carpalx/extr_keymap.c_action_get_macro.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MACRO_NONE = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @action_get_macro(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { switch i32 %1, label %12 [ i32 129, label %4 i32 128, label %7 ] 4: ; preds = %3 %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = icmp eq i32 %5, 0 br i1 %6, label %12, label %10 7: ; preds = %3 %8 = load i32, ptr %0, align 4, !tbaa !6 %9 = icmp eq i32 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %7, %4 %11 = tail call i32 @persistent_default_layer_set(i64 noundef poison) #2 br label %12 12: ; preds = %10, %7, %4, %3 %13 = load ptr, ptr @MACRO_NONE, align 8, !tbaa !12 ret ptr %13 } declare i32 @persistent_default_layer_set(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, !9, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !10, i64 0}
qmk_firmware_keyboards_kinesis_keymaps_carpalx_extr_keymap.c_action_get_macro
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/benet/extr_be_cmds.c_be_cmd_get_active_mac.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/benet/extr_be_cmds.c_be_cmd_get_active_mac.c" target datalayout = "e-m:e-p270:32:32-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 @be_cmd_get_active_mac(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %1, ptr %4, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 store i32 1, ptr %5, align 4, !tbaa !5 %6 = tail call i64 @BEx_chip(ptr noundef %0) #3 %7 = icmp eq i64 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %3 %9 = load i32, ptr %0, align 4, !tbaa !9 %10 = tail call i32 @be_cmd_mac_addr_query(ptr noundef nonnull %0, ptr noundef %2, i32 noundef 0, i32 noundef %9, i32 noundef %1) #3 br label %13 11: ; preds = %3 %12 = call i32 @be_cmd_get_mac_from_list(ptr noundef %0, ptr noundef %2, ptr noundef nonnull %5, ptr noundef nonnull %4, i32 noundef 0) #3 br label %13 13: ; preds = %11, %8 %14 = phi i32 [ %10, %8 ], [ %12, %11 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %14 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @BEx_chip(ptr noundef) local_unnamed_addr #2 declare i32 @be_cmd_mac_addr_query(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @be_cmd_get_mac_from_list(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"be_adapter", !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/benet/extr_be_cmds.c_be_cmd_get_active_mac.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/benet/extr_be_cmds.c_be_cmd_get_active_mac.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 @be_cmd_get_active_mac(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %1, ptr %4, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 store i32 1, ptr %5, align 4, !tbaa !6 %6 = tail call i64 @BEx_chip(ptr noundef %0) #3 %7 = icmp eq i64 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %3 %9 = load i32, ptr %0, align 4, !tbaa !10 %10 = tail call i32 @be_cmd_mac_addr_query(ptr noundef nonnull %0, ptr noundef %2, i32 noundef 0, i32 noundef %9, i32 noundef %1) #3 br label %13 11: ; preds = %3 %12 = call i32 @be_cmd_get_mac_from_list(ptr noundef %0, ptr noundef %2, ptr noundef nonnull %5, ptr noundef nonnull %4, i32 noundef 0) #3 br label %13 13: ; preds = %11, %8 %14 = phi i32 [ %10, %8 ], [ %12, %11 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %14 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @BEx_chip(ptr noundef) local_unnamed_addr #2 declare i32 @be_cmd_mac_addr_query(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @be_cmd_get_mac_from_list(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"be_adapter", !7, i64 0}
fastsocket_kernel_drivers_net_benet_extr_be_cmds.c_be_cmd_get_active_mac
; ModuleID = 'AnghaBench/seafile/daemon/extr_repo-mgr.c_folder_perm_free.c' source_filename = "AnghaBench/seafile/daemon/extr_repo-mgr.c_folder_perm_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 { ptr, ptr } ; Function Attrs: nounwind uwtable define dso_local void @folder_perm_free(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %10, label %3 3: ; preds = %1 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = tail call i32 @g_free(ptr noundef %5) #2 %7 = load ptr, ptr %0, align 8, !tbaa !10 %8 = tail call i32 @g_free(ptr noundef %7) #2 %9 = tail call i32 @g_free(ptr noundef nonnull %0) #2 br label %10 10: ; preds = %1, %3 ret void } declare i32 @g_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"TYPE_4__", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/seafile/daemon/extr_repo-mgr.c_folder_perm_free.c' source_filename = "AnghaBench/seafile/daemon/extr_repo-mgr.c_folder_perm_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 @folder_perm_free(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %10, label %3 3: ; preds = %1 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = tail call i32 @g_free(ptr noundef %5) #2 %7 = load ptr, ptr %0, align 8, !tbaa !11 %8 = tail call i32 @g_free(ptr noundef %7) #2 %9 = tail call i32 @g_free(ptr noundef nonnull %0) #2 br label %10 10: ; preds = %1, %3 ret void } declare i32 @g_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
seafile_daemon_extr_repo-mgr.c_folder_perm_free
; ModuleID = 'AnghaBench/libgit2/src/xdiff/extr_xhistogram.c_cmp_recs.c' source_filename = "AnghaBench/libgit2/src/xdiff/extr_xhistogram.c_cmp_recs.c" target datalayout = "e-m:e-p270:32:32-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, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @cmp_recs], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @cmp_recs(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 { %4 = load i64, ptr %1, align 8, !tbaa !5 %5 = load i64, ptr %2, align 8, !tbaa !5 %6 = icmp eq i64 %4, %5 br i1 %6, label %7, label %20 7: ; preds = %3 %8 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 2 %9 = load i32, ptr %8, align 4, !tbaa !11 %10 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1 %11 = load i32, ptr %10, align 8, !tbaa !12 %12 = getelementptr inbounds %struct.TYPE_6__, ptr %2, i64 0, i32 2 %13 = load i32, ptr %12, align 4, !tbaa !11 %14 = getelementptr inbounds %struct.TYPE_6__, ptr %2, i64 0, i32 1 %15 = load i32, ptr %14, align 8, !tbaa !12 %16 = load i32, ptr %0, align 4, !tbaa !13 %17 = tail call i64 @xdl_recmatch(i32 noundef %9, i32 noundef %11, i32 noundef %13, i32 noundef %15, i32 noundef %16) #2 %18 = icmp ne i64 %17, 0 %19 = zext i1 %18 to i32 br label %20 20: ; preds = %7, %3 %21 = phi i32 [ 0, %3 ], [ %19, %7 ] ret i32 %21 } declare i64 @xdl_recmatch(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !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 = !{!6, !10, i64 12} !12 = !{!6, !10, i64 8} !13 = !{!14, !10, i64 0} !14 = !{!"TYPE_7__", !10, i64 0}
; ModuleID = 'AnghaBench/libgit2/src/xdiff/extr_xhistogram.c_cmp_recs.c' source_filename = "AnghaBench/libgit2/src/xdiff/extr_xhistogram.c_cmp_recs.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 @cmp_recs], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @cmp_recs(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 { %4 = load i64, ptr %1, align 8, !tbaa !6 %5 = load i64, ptr %2, align 8, !tbaa !6 %6 = icmp eq i64 %4, %5 br i1 %6, label %7, label %20 7: ; preds = %3 %8 = getelementptr inbounds i8, ptr %1, i64 12 %9 = load i32, ptr %8, align 4, !tbaa !12 %10 = getelementptr inbounds i8, ptr %1, i64 8 %11 = load i32, ptr %10, align 8, !tbaa !13 %12 = getelementptr inbounds i8, ptr %2, i64 12 %13 = load i32, ptr %12, align 4, !tbaa !12 %14 = getelementptr inbounds i8, ptr %2, i64 8 %15 = load i32, ptr %14, align 8, !tbaa !13 %16 = load i32, ptr %0, align 4, !tbaa !14 %17 = tail call i64 @xdl_recmatch(i32 noundef %9, i32 noundef %11, i32 noundef %13, i32 noundef %15, i32 noundef %16) #2 %18 = icmp ne i64 %17, 0 %19 = zext i1 %18 to i32 br label %20 20: ; preds = %7, %3 %21 = phi i32 [ 0, %3 ], [ %19, %7 ] ret i32 %21 } declare i64 @xdl_recmatch(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !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 = !{!7, !11, i64 12} !13 = !{!7, !11, i64 8} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_7__", !11, i64 0}
libgit2_src_xdiff_extr_xhistogram.c_cmp_recs
; ModuleID = 'AnghaBench/fastsocket/kernel/net/tipc/extr_node.c_tipc_available_nodes.c' source_filename = "AnghaBench/fastsocket/kernel/net/tipc/extr_node.c_tipc_available_nodes.c" target datalayout = "e-m:e-p270:32:32-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.tipc_node = type { i32, ptr } @tipc_net_lock = dso_local global i32 0, align 4 @tipc_nodes = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local i64 @tipc_available_nodes(i64 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @read_lock_bh(ptr noundef nonnull @tipc_net_lock) #2 %3 = load ptr, ptr @tipc_nodes, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %21, label %5 5: ; preds = %1, %16 %6 = phi ptr [ %19, %16 ], [ %3, %1 ] %7 = phi i64 [ %17, %16 ], [ 0, %1 ] %8 = load i32, ptr %6, align 8, !tbaa !9 %9 = tail call i32 @in_scope(i64 noundef %0, i32 noundef %8) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %16, label %11 11: ; preds = %5 %12 = tail call i64 @tipc_node_is_up(ptr noundef nonnull %6) #2 %13 = icmp ne i64 %12, 0 %14 = zext i1 %13 to i64 %15 = add nsw i64 %7, %14 br label %16 16: ; preds = %11, %5 %17 = phi i64 [ %7, %5 ], [ %15, %11 ] %18 = getelementptr inbounds %struct.tipc_node, ptr %6, i64 0, i32 1 %19 = load ptr, ptr %18, align 8, !tbaa !5 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %5, !llvm.loop !12 21: ; preds = %16, %1 %22 = phi i64 [ 0, %1 ], [ %17, %16 ] %23 = tail call i32 @read_unlock_bh(ptr noundef nonnull @tipc_net_lock) #2 ret i64 %22 } declare i32 @read_lock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @in_scope(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @tipc_node_is_up(ptr noundef) local_unnamed_addr #1 declare i32 @read_unlock_bh(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"tipc_node", !11, i64 0, !6, i64 8} !11 = !{!"int", !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/tipc/extr_node.c_tipc_available_nodes.c' source_filename = "AnghaBench/fastsocket/kernel/net/tipc/extr_node.c_tipc_available_nodes.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @tipc_net_lock = common global i32 0, align 4 @tipc_nodes = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @tipc_available_nodes(i64 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @read_lock_bh(ptr noundef nonnull @tipc_net_lock) #2 %3 = load ptr, ptr @tipc_nodes, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %21, label %5 5: ; preds = %1, %16 %6 = phi ptr [ %19, %16 ], [ %3, %1 ] %7 = phi i64 [ %17, %16 ], [ 0, %1 ] %8 = load i32, ptr %6, align 8, !tbaa !10 %9 = tail call i32 @in_scope(i64 noundef %0, i32 noundef %8) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %16, label %11 11: ; preds = %5 %12 = tail call i64 @tipc_node_is_up(ptr noundef nonnull %6) #2 %13 = icmp ne i64 %12, 0 %14 = zext i1 %13 to i64 %15 = add nsw i64 %7, %14 br label %16 16: ; preds = %11, %5 %17 = phi i64 [ %7, %5 ], [ %15, %11 ] %18 = getelementptr inbounds i8, ptr %6, i64 8 %19 = load ptr, ptr %18, align 8, !tbaa !6 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %5, !llvm.loop !13 21: ; preds = %16, %1 %22 = phi i64 [ 0, %1 ], [ %17, %16 ] %23 = tail call i32 @read_unlock_bh(ptr noundef nonnull @tipc_net_lock) #2 ret i64 %22 } declare i32 @read_lock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @in_scope(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @tipc_node_is_up(ptr noundef) local_unnamed_addr #1 declare i32 @read_unlock_bh(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"tipc_node", !12, i64 0, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_net_tipc_extr_node.c_tipc_available_nodes
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_pager.c_PAGER_GetButtonState.c' source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_pager.c_PAGER_GetButtonState.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32, i32 } @PGF_INVISIBLE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"[%p]\0A\00", align 1 @PGB_TOPORLEFT = dso_local local_unnamed_addr global i64 0, align 8 @PGB_BOTTOMORRIGHT = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @PAGER_GetButtonState], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @PAGER_GetButtonState(ptr nocapture noundef readonly %0, i64 noundef %1) #0 { %3 = load i32, ptr @PGF_INVISIBLE, align 4, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %5 = load i32, ptr %4, align 4, !tbaa !9 %6 = tail call i32 @TRACE(ptr noundef nonnull @.str, i32 noundef %5) #2 %7 = load i64, ptr @PGB_TOPORLEFT, align 8, !tbaa !11 %8 = icmp eq i64 %7, %1 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 br label %14 11: ; preds = %2 %12 = load i64, ptr @PGB_BOTTOMORRIGHT, align 8, !tbaa !11 %13 = icmp eq i64 %12, %1 br i1 %13, label %14, label %17 14: ; preds = %11, %9 %15 = phi ptr [ %10, %9 ], [ %0, %11 ] %16 = load i32, ptr %15, align 4, !tbaa !5 br label %17 17: ; preds = %14, %11 %18 = phi i32 [ %3, %11 ], [ %16, %14 ] ret i32 %18 } declare i32 @TRACE(ptr 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 8} !10 = !{!"TYPE_3__", !6, i64 0, !6, i64 4, !6, i64 8} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_pager.c_PAGER_GetButtonState.c' source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_pager.c_PAGER_GetButtonState.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PGF_INVISIBLE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"[%p]\0A\00", align 1 @PGB_TOPORLEFT = common local_unnamed_addr global i64 0, align 8 @PGB_BOTTOMORRIGHT = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @PAGER_GetButtonState], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @PAGER_GetButtonState(ptr nocapture noundef readonly %0, i64 noundef %1) #0 { %3 = load i32, ptr @PGF_INVISIBLE, align 4, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = tail call i32 @TRACE(ptr noundef nonnull @.str, i32 noundef %5) #2 %7 = load i64, ptr @PGB_TOPORLEFT, align 8, !tbaa !12 %8 = icmp eq i64 %7, %1 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = getelementptr inbounds i8, ptr %0, i64 4 br label %14 11: ; preds = %2 %12 = load i64, ptr @PGB_BOTTOMORRIGHT, align 8, !tbaa !12 %13 = icmp eq i64 %12, %1 br i1 %13, label %14, label %17 14: ; preds = %11, %9 %15 = phi ptr [ %10, %9 ], [ %0, %11 ] %16 = load i32, ptr %15, align 4, !tbaa !6 br label %17 17: ; preds = %14, %11 %18 = phi i32 [ %3, %11 ], [ %16, %14 ] ret i32 %18 } declare i32 @TRACE(ptr 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 8} !11 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0}
reactos_dll_win32_comctl32_extr_pager.c_PAGER_GetButtonState
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_svm.c_rsm_interception.c' source_filename = "AnghaBench/linux/arch/x86/kvm/extr_svm.c_rsm_interception.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @rsm_ins_bytes = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rsm_interception], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rsm_interception(ptr noundef %0) #0 { %2 = load i32, ptr @rsm_ins_bytes, align 4, !tbaa !5 %3 = tail call i32 @kvm_emulate_instruction_from_buffer(ptr noundef %0, i32 noundef %2, i32 noundef 2) #2 ret i32 %3 } declare i32 @kvm_emulate_instruction_from_buffer(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"}
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_svm.c_rsm_interception.c' source_filename = "AnghaBench/linux/arch/x86/kvm/extr_svm.c_rsm_interception.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @rsm_ins_bytes = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rsm_interception], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @rsm_interception(ptr noundef %0) #0 { %2 = load i32, ptr @rsm_ins_bytes, align 4, !tbaa !6 %3 = tail call i32 @kvm_emulate_instruction_from_buffer(ptr noundef %0, i32 noundef %2, i32 noundef 2) #2 ret i32 %3 } declare i32 @kvm_emulate_instruction_from_buffer(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"}
linux_arch_x86_kvm_extr_svm.c_rsm_interception
; ModuleID = 'AnghaBench/linux/drivers/clk/nxp/extr_clk-lpc18xx-cgu.c_lpc18xx_cgu_gate_enable.c' source_filename = "AnghaBench/linux/drivers/clk/nxp/extr_clk-lpc18xx-cgu.c_lpc18xx_cgu_gate_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 { ptr } @clk_gate_ops = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @lpc18xx_cgu_gate_enable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @lpc18xx_cgu_gate_enable(ptr noundef %0) #0 { %2 = load ptr, ptr @clk_gate_ops, align 8, !tbaa !5 %3 = tail call i32 %2(ptr noundef %0) #1 ret i32 %3 } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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_2__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/clk/nxp/extr_clk-lpc18xx-cgu.c_lpc18xx_cgu_gate_enable.c' source_filename = "AnghaBench/linux/drivers/clk/nxp/extr_clk-lpc18xx-cgu.c_lpc18xx_cgu_gate_enable.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 } @clk_gate_ops = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @llvm.used = appending global [1 x ptr] [ptr @lpc18xx_cgu_gate_enable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @lpc18xx_cgu_gate_enable(ptr noundef %0) #0 { %2 = load ptr, ptr @clk_gate_ops, align 8, !tbaa !6 %3 = tail call i32 %2(ptr noundef %0) #1 ret i32 %3 } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 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_2__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_clk_nxp_extr_clk-lpc18xx-cgu.c_lpc18xx_cgu_gate_enable
; ModuleID = 'AnghaBench/linux/drivers/phy/st/extr_phy-stm32-usbphyc.c_stm32_usbphyc_has_one_phy_active.c' source_filename = "AnghaBench/linux/drivers/phy/st/extr_phy-stm32-usbphyc.c_stm32_usbphyc_has_one_phy_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" %struct.stm32_usbphyc = type { i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @stm32_usbphyc_has_one_phy_active], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define internal noundef i32 @stm32_usbphyc_has_one_phy_active(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %17 4: ; preds = %1 %5 = getelementptr inbounds %struct.stm32_usbphyc, ptr %0, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = zext nneg i32 %2 to i64 br label %11 8: ; preds = %11 %9 = add nuw nsw i64 %12, 1 %10 = icmp eq i64 %9, %7 br i1 %10, label %17, label %11, !llvm.loop !12 11: ; preds = %4, %8 %12 = phi i64 [ 0, %4 ], [ %9, %8 ] %13 = getelementptr inbounds ptr, ptr %6, i64 %12 %14 = load ptr, ptr %13, align 8, !tbaa !14 %15 = load i64, ptr %14, align 8, !tbaa !15 %16 = icmp eq i64 %15, 0 br i1 %16, label %8, label %17 17: ; preds = %11, %8, %1 %18 = phi i32 [ 0, %1 ], [ 0, %8 ], [ 1, %11 ] ret i32 %18 } 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, !7, i64 0} !6 = !{!"stm32_usbphyc", !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 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!10, !10, i64 0} !15 = !{!16, !17, i64 0} !16 = !{!"TYPE_2__", !17, i64 0} !17 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/phy/st/extr_phy-stm32-usbphyc.c_stm32_usbphyc_has_one_phy_active.c' source_filename = "AnghaBench/linux/drivers/phy/st/extr_phy-stm32-usbphyc.c_stm32_usbphyc_has_one_phy_active.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 @stm32_usbphyc_has_one_phy_active], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, 2) i32 @stm32_usbphyc_has_one_phy_active(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %17 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = zext nneg i32 %2 to i64 br label %11 8: ; preds = %11 %9 = add nuw nsw i64 %12, 1 %10 = icmp eq i64 %9, %7 br i1 %10, label %17, label %11, !llvm.loop !13 11: ; preds = %4, %8 %12 = phi i64 [ 0, %4 ], [ %9, %8 ] %13 = getelementptr inbounds ptr, ptr %6, i64 %12 %14 = load ptr, ptr %13, align 8, !tbaa !15 %15 = load i64, ptr %14, align 8, !tbaa !16 %16 = icmp eq i64 %15, 0 br i1 %16, label %8, label %17 17: ; preds = %11, %8, %1 %18 = phi i32 [ 0, %1 ], [ 0, %8 ], [ 1, %11 ] ret i32 %18 } 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, !8, i64 0} !7 = !{!"stm32_usbphyc", !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 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!11, !11, i64 0} !16 = !{!17, !18, i64 0} !17 = !{!"TYPE_2__", !18, i64 0} !18 = !{!"long", !9, i64 0}
linux_drivers_phy_st_extr_phy-stm32-usbphyc.c_stm32_usbphyc_has_one_phy_active
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/mips/nxp/pnx8550/common/extr_time.c_hpt_read.c' source_filename = "AnghaBench/fastsocket/kernel/arch/mips/nxp/pnx8550/common/extr_time.c_hpt_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 @hpt_read], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @hpt_read(ptr nocapture readnone %0) #0 { %2 = tail call i32 (...) @read_c0_count2() #2 ret i32 %2 } declare i32 @read_c0_count2(...) 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/arch/mips/nxp/pnx8550/common/extr_time.c_hpt_read.c' source_filename = "AnghaBench/fastsocket/kernel/arch/mips/nxp/pnx8550/common/extr_time.c_hpt_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 @hpt_read], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @hpt_read(ptr nocapture readnone %0) #0 { %2 = tail call i32 @read_c0_count2() #2 ret i32 %2 } declare i32 @read_c0_count2(...) 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_arch_mips_nxp_pnx8550_common_extr_time.c_hpt_read
; ModuleID = 'AnghaBench/freebsd/contrib/jemalloc/src/extr_extent.c_extent_dalloc_default_impl.c' source_filename = "AnghaBench/freebsd/contrib/jemalloc/src/extr_extent.c_extent_dalloc_default_impl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @have_dss = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @extent_dalloc_default_impl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @extent_dalloc_default_impl(ptr noundef %0, i64 noundef %1) #0 { %3 = load i32, ptr @have_dss, align 4, !tbaa !5 %4 = icmp eq i32 %3, 0 br i1 %4, label %8, label %5 5: ; preds = %2 %6 = tail call i32 @extent_in_dss(ptr noundef %0) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %5, %2 %9 = tail call i32 @extent_dalloc_mmap(ptr noundef %0, i64 noundef %1) #2 br label %10 10: ; preds = %5, %8 %11 = phi i32 [ %9, %8 ], [ 1, %5 ] ret i32 %11 } declare i32 @extent_in_dss(ptr noundef) local_unnamed_addr #1 declare i32 @extent_dalloc_mmap(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 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/jemalloc/src/extr_extent.c_extent_dalloc_default_impl.c' source_filename = "AnghaBench/freebsd/contrib/jemalloc/src/extr_extent.c_extent_dalloc_default_impl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @have_dss = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @extent_dalloc_default_impl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @extent_dalloc_default_impl(ptr noundef %0, i64 noundef %1) #0 { %3 = load i32, ptr @have_dss, align 4, !tbaa !6 %4 = icmp eq i32 %3, 0 br i1 %4, label %8, label %5 5: ; preds = %2 %6 = tail call i32 @extent_in_dss(ptr noundef %0) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %5, %2 %9 = tail call i32 @extent_dalloc_mmap(ptr noundef %0, i64 noundef %1) #2 br label %10 10: ; preds = %5, %8 %11 = phi i32 [ %9, %8 ], [ 1, %5 ] ret i32 %11 } declare i32 @extent_in_dss(ptr noundef) local_unnamed_addr #1 declare i32 @extent_dalloc_mmap(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 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_jemalloc_src_extr_extent.c_extent_dalloc_default_impl
; ModuleID = 'AnghaBench/freebsd/contrib/compiler-rt/lib/builtins/extr_subvdi3.c___subvdi3.c' source_filename = "AnghaBench/freebsd/contrib/compiler-rt/lib/builtins/extr_subvdi3.c___subvdi3.c" target datalayout = "e-m:e-p270:32:32-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 i64 @__subvdi3(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = sub nsw i64 %0, %1 ret i64 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/compiler-rt/lib/builtins/extr_subvdi3.c___subvdi3.c' source_filename = "AnghaBench/freebsd/contrib/compiler-rt/lib/builtins/extr_subvdi3.c___subvdi3.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 i64 @__subvdi3(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = sub nsw i64 %0, %1 ret i64 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_compiler-rt_lib_builtins_extr_subvdi3.c___subvdi3
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/extr_samsung.c_s3c24xx_serial_release_port.c' source_filename = "AnghaBench/linux/drivers/tty/serial/extr_samsung.c_s3c24xx_serial_release_port.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MAP_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @s3c24xx_serial_release_port], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @s3c24xx_serial_release_port(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @MAP_SIZE, align 4, !tbaa !10 %4 = tail call i32 @release_mem_region(i32 noundef %2, i32 noundef %3) #2 ret void } declare i32 @release_mem_region(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 = !{!"uart_port", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/extr_samsung.c_s3c24xx_serial_release_port.c' source_filename = "AnghaBench/linux/drivers/tty/serial/extr_samsung.c_s3c24xx_serial_release_port.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAP_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @s3c24xx_serial_release_port], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @s3c24xx_serial_release_port(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @MAP_SIZE, align 4, !tbaa !11 %4 = tail call i32 @release_mem_region(i32 noundef %2, i32 noundef %3) #2 ret void } declare i32 @release_mem_region(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 = !{!"uart_port", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_tty_serial_extr_samsung.c_s3c24xx_serial_release_port
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_resize.c' source_filename = "AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_resize.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FDT_ERR_NOSPACE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @fdt_resize(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @FDT_SW_CHECK_HEADER(ptr noundef %0) #2 %5 = tail call i64 @fdt_off_dt_struct(ptr noundef %0) #2 %6 = tail call i64 @fdt_size_dt_strings(ptr noundef %0) #2 %7 = add i64 %6, %5 %8 = sext i32 %2 to i64 %9 = icmp ugt i64 %7, %8 br i1 %9, label %10, label %13 10: ; preds = %3 %11 = load i32, ptr @FDT_ERR_NOSPACE, align 4, !tbaa !5 %12 = sub nsw i32 0, %11 br label %31 13: ; preds = %3 %14 = tail call i32 @fdt_totalsize(ptr noundef %0) #2 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %0, i64 %15 %17 = sub i64 0, %6 %18 = getelementptr inbounds i8, ptr %16, i64 %17 %19 = getelementptr inbounds i8, ptr %1, i64 %8 %20 = getelementptr inbounds i8, ptr %19, i64 %17 %21 = icmp ugt ptr %1, %0 br i1 %21, label %25, label %22 22: ; preds = %13 %23 = tail call i32 @memmove(ptr noundef %1, ptr noundef %0, i64 noundef %5) #2 %24 = tail call i32 @memmove(ptr noundef %20, ptr noundef %18, i64 noundef %6) #2 br label %28 25: ; preds = %13 %26 = tail call i32 @memmove(ptr noundef nonnull %20, ptr noundef %18, i64 noundef %6) #2 %27 = tail call i32 @memmove(ptr noundef nonnull %1, ptr noundef %0, i64 noundef %5) #2 br label %28 28: ; preds = %25, %22 %29 = tail call i32 @fdt_set_off_dt_strings(ptr noundef %1, i32 noundef %2) #2 %30 = tail call i32 @fdt_set_totalsize(ptr noundef %1, i32 noundef %2) #2 br label %31 31: ; preds = %28, %10 %32 = phi i32 [ %12, %10 ], [ 0, %28 ] ret i32 %32 } declare i32 @FDT_SW_CHECK_HEADER(ptr noundef) local_unnamed_addr #1 declare i64 @fdt_off_dt_struct(ptr noundef) local_unnamed_addr #1 declare i64 @fdt_size_dt_strings(ptr noundef) local_unnamed_addr #1 declare i32 @fdt_totalsize(ptr noundef) local_unnamed_addr #1 declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @fdt_set_off_dt_strings(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fdt_set_totalsize(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_resize.c' source_filename = "AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_sw.c_fdt_resize.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FDT_ERR_NOSPACE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @fdt_resize(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @FDT_SW_CHECK_HEADER(ptr noundef %0) #2 %5 = tail call i64 @fdt_off_dt_struct(ptr noundef %0) #2 %6 = tail call i64 @fdt_size_dt_strings(ptr noundef %0) #2 %7 = add i64 %6, %5 %8 = sext i32 %2 to i64 %9 = icmp ugt i64 %7, %8 br i1 %9, label %10, label %13 10: ; preds = %3 %11 = load i32, ptr @FDT_ERR_NOSPACE, align 4, !tbaa !6 %12 = sub nsw i32 0, %11 br label %31 13: ; preds = %3 %14 = tail call i32 @fdt_totalsize(ptr noundef %0) #2 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %0, i64 %15 %17 = sub i64 0, %6 %18 = getelementptr inbounds i8, ptr %16, i64 %17 %19 = getelementptr inbounds i8, ptr %1, i64 %8 %20 = getelementptr inbounds i8, ptr %19, i64 %17 %21 = icmp ugt ptr %1, %0 br i1 %21, label %25, label %22 22: ; preds = %13 %23 = tail call i32 @memmove(ptr noundef %1, ptr noundef %0, i64 noundef %5) #2 %24 = tail call i32 @memmove(ptr noundef %20, ptr noundef %18, i64 noundef %6) #2 br label %28 25: ; preds = %13 %26 = tail call i32 @memmove(ptr noundef nonnull %20, ptr noundef %18, i64 noundef %6) #2 %27 = tail call i32 @memmove(ptr noundef nonnull %1, ptr noundef %0, i64 noundef %5) #2 br label %28 28: ; preds = %25, %22 %29 = tail call i32 @fdt_set_off_dt_strings(ptr noundef %1, i32 noundef %2) #2 %30 = tail call i32 @fdt_set_totalsize(ptr noundef %1, i32 noundef %2) #2 br label %31 31: ; preds = %28, %10 %32 = phi i32 [ %12, %10 ], [ 0, %28 ] ret i32 %32 } declare i32 @FDT_SW_CHECK_HEADER(ptr noundef) local_unnamed_addr #1 declare i64 @fdt_off_dt_struct(ptr noundef) local_unnamed_addr #1 declare i64 @fdt_size_dt_strings(ptr noundef) local_unnamed_addr #1 declare i32 @fdt_totalsize(ptr noundef) local_unnamed_addr #1 declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @fdt_set_off_dt_strings(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fdt_set_totalsize(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"}
RetroArch_gfx_include_userland_opensrc_helpers_libfdt_extr_fdt_sw.c_fdt_resize
; ModuleID = 'AnghaBench/fastsocket/kernel/net/mac80211/extr_aes_cmac.c_ieee80211_aes_cmac_key_free.c' source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_aes_cmac.c_ieee80211_aes_cmac_key_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" ; Function Attrs: nounwind uwtable define dso_local void @ieee80211_aes_cmac_key_free(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @crypto_free_cipher(ptr noundef %0) #2 ret void } declare i32 @crypto_free_cipher(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/fastsocket/kernel/net/mac80211/extr_aes_cmac.c_ieee80211_aes_cmac_key_free.c' source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_aes_cmac.c_ieee80211_aes_cmac_key_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 @ieee80211_aes_cmac_key_free(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @crypto_free_cipher(ptr noundef %0) #2 ret void } declare i32 @crypto_free_cipher(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)"}
fastsocket_kernel_net_mac80211_extr_aes_cmac.c_ieee80211_aes_cmac_key_free
; ModuleID = 'AnghaBench/FFmpeg/tests/api/extr_api-flac-test.c_run_test.c' source_filename = "AnghaBench/FFmpeg/tests/api/extr_api-flac-test.c_run_test.c" target datalayout = "e-m:e-p270:32:32-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_17__ = type { i32, ptr } %struct.TYPE_19__ = type { i32, i64, i64, i32, i32 } %struct.TYPE_18__ = type { i32, i64, i64, ptr, i32, ptr } @AV_LOG_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"Can't allocate input frame\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [41 x i8] c"Can't allocate a buffer for input frame\0A\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"Can't allocate output frame\0A\00", align 1 @NUMBER_OF_AUDIO_FRAMES = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [34 x i8] c"Can't allocate memory for raw_in\0A\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c"Can't allocate memory for raw_out\0A\00", align 1 @.str.5 = private unnamed_addr constant [41 x i8] c"Incorrect value of input frame linesize\0A\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"Error encoding audio frame\0A\00", align 1 @.str.7 = private unnamed_addr constant [29 x i8] c"Error decoding audio packet\0A\00", align 1 @AV_LOG_INFO = dso_local local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [92 x i8] c"Decoder consumed only part of a packet, it is allowed to do so -- need to update this test\0A\00", align 1 @AVERROR_UNKNOWN = dso_local local_unnamed_addr global i32 0, align 4 @.str.9 = private unnamed_addr constant [72 x i8] c"Error frames before and after decoding has different number of samples\0A\00", align 1 @.str.10 = private unnamed_addr constant [69 x i8] c"Error frames before and after decoding has different channel layout\0A\00", align 1 @.str.11 = private unnamed_addr constant [68 x i8] c"Error frames before and after decoding has different sample format\0A\00", align 1 @.str.12 = private unnamed_addr constant [42 x i8] c"Incorrect value of output frame linesize\0A\00", align 1 @.str.13 = private unnamed_addr constant [16 x i8] c"Output differs\0A\00", align 1 @.str.14 = private unnamed_addr constant [4 x i8] c"OK\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @run_test], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @run_test(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca %struct.TYPE_17__, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3 store i32 0, ptr %10, align 4, !tbaa !5 %11 = tail call ptr (...) @av_frame_alloc() #3 store ptr %11, ptr %6, align 8, !tbaa !9 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %18 13: ; preds = %4 %14 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !5 %15 = tail call i32 @av_log(ptr noundef null, i32 noundef %14, ptr noundef nonnull @.str) #3 %16 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %17 = tail call i32 @AVERROR(i32 noundef %16) #3 br label %202 18: ; preds = %4 %19 = load i32, ptr %2, align 8, !tbaa !11 store i32 %19, ptr %11, align 8, !tbaa !14 %20 = getelementptr inbounds %struct.TYPE_19__, ptr %2, i64 0, i32 1 %21 = getelementptr inbounds %struct.TYPE_18__, ptr %11, i64 0, i32 1 %22 = getelementptr inbounds %struct.TYPE_18__, ptr %11, i64 0, i32 2 %23 = load <2 x i64>, ptr %20, align 8, !tbaa !16 store <2 x i64> %23, ptr %21, align 8, !tbaa !16 %24 = tail call i64 @av_frame_get_buffer(ptr noundef nonnull %11, i32 noundef 32) #3 %25 = icmp eq i64 %24, 0 br i1 %25, label %31, label %26 26: ; preds = %18 %27 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !5 %28 = tail call i32 @av_log(ptr noundef null, i32 noundef %27, ptr noundef nonnull @.str.1) #3 %29 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %30 = tail call i32 @AVERROR(i32 noundef %29) #3 br label %202 31: ; preds = %18 %32 = tail call ptr (...) @av_frame_alloc() #3 store ptr %32, ptr %7, align 8, !tbaa !9 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %39 34: ; preds = %31 %35 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !5 %36 = tail call i32 @av_log(ptr noundef null, i32 noundef %35, ptr noundef nonnull @.str.2) #3 %37 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %38 = tail call i32 @AVERROR(i32 noundef %37) #3 br label %202 39: ; preds = %31 %40 = getelementptr inbounds %struct.TYPE_18__, ptr %11, i64 0, i32 3 %41 = load ptr, ptr %40, align 8, !tbaa !17 %42 = load i32, ptr %41, align 4, !tbaa !5 %43 = load i32, ptr @NUMBER_OF_AUDIO_FRAMES, align 4, !tbaa !5 %44 = mul nsw i32 %43, %42 %45 = tail call ptr @av_malloc(i32 noundef %44) #3 store ptr %45, ptr %8, align 8, !tbaa !9 %46 = icmp eq ptr %45, null br i1 %46, label %47, label %52 47: ; preds = %39 %48 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !5 %49 = tail call i32 @av_log(ptr noundef null, i32 noundef %48, ptr noundef nonnull @.str.3) #3 %50 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %51 = tail call i32 @AVERROR(i32 noundef %50) #3 br label %202 52: ; preds = %39 %53 = load ptr, ptr %40, align 8, !tbaa !17 %54 = load i32, ptr %53, align 4, !tbaa !5 %55 = load i32, ptr @NUMBER_OF_AUDIO_FRAMES, align 4, !tbaa !5 %56 = mul nsw i32 %55, %54 %57 = tail call ptr @av_malloc(i32 noundef %56) #3 store ptr %57, ptr %9, align 8, !tbaa !9 %58 = icmp eq ptr %57, null br i1 %58, label %69, label %59 59: ; preds = %52 %60 = load i32, ptr @NUMBER_OF_AUDIO_FRAMES, align 4, !tbaa !5 %61 = icmp sgt i32 %60, 0 br i1 %61, label %62, label %185 62: ; preds = %59 %63 = getelementptr inbounds %struct.TYPE_17__, ptr %5, i64 0, i32 1 %64 = getelementptr inbounds %struct.TYPE_19__, ptr %2, i64 0, i32 4 %65 = getelementptr inbounds %struct.TYPE_19__, ptr %2, i64 0, i32 3 %66 = getelementptr inbounds %struct.TYPE_18__, ptr %11, i64 0, i32 5 %67 = getelementptr inbounds %struct.TYPE_18__, ptr %11, i64 0, i32 4 %68 = getelementptr inbounds %struct.TYPE_18__, ptr %11, i64 0, i32 3 br label %74 69: ; preds = %52 %70 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !5 %71 = tail call i32 @av_log(ptr noundef null, i32 noundef %70, ptr noundef nonnull @.str.4) #3 %72 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %73 = tail call i32 @AVERROR(i32 noundef %72) #3 br label %202 74: ; preds = %62, %176 %75 = phi i32 [ undef, %62 ], [ %178, %176 ] %76 = phi i32 [ 0, %62 ], [ %180, %176 ] %77 = phi i32 [ 0, %62 ], [ %177, %176 ] %78 = phi i32 [ 0, %62 ], [ %103, %176 ] %79 = call i32 @av_init_packet(ptr noundef nonnull %5) #3 store ptr null, ptr %63, align 8, !tbaa !18 store i32 0, ptr %5, align 8, !tbaa !20 %80 = load ptr, ptr %66, align 8, !tbaa !21 %81 = load i64, ptr %80, align 8, !tbaa !16 %82 = inttoptr i64 %81 to ptr %83 = load i32, ptr %64, align 4, !tbaa !22 %84 = load i32, ptr %65, align 8, !tbaa !23 %85 = load i32, ptr %2, align 8, !tbaa !11 %86 = call i32 @generate_raw_frame(ptr noundef %82, i32 noundef %76, i32 noundef %83, i32 noundef %84, i32 noundef %85) #3 %87 = load i32, ptr %11, align 8, !tbaa !14 %88 = load i32, ptr %67, align 8, !tbaa !24 %89 = shl i32 %87, 2 %90 = mul i32 %89, %88 %91 = load ptr, ptr %68, align 8, !tbaa !17 %92 = load i32, ptr %91, align 4, !tbaa !5 %93 = icmp sgt i32 %90, %92 br i1 %93, label %94, label %97 94: ; preds = %74 %95 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !5 %96 = call i32 @av_log(ptr noundef null, i32 noundef %95, ptr noundef nonnull @.str.5) #3 br label %202 97: ; preds = %74 %98 = sext i32 %78 to i64 %99 = getelementptr inbounds i32, ptr %45, i64 %98 %100 = load ptr, ptr %66, align 8, !tbaa !21 %101 = load i64, ptr %100, align 8, !tbaa !16 %102 = call i32 @memcpy(ptr noundef nonnull %99, i64 noundef %101, i32 noundef %90) #3 %103 = add nsw i32 %90, %78 %104 = call i32 @avcodec_encode_audio2(ptr noundef nonnull %2, ptr noundef nonnull %5, ptr noundef nonnull %11, ptr noundef nonnull %10) #3 %105 = icmp slt i32 %104, 0 br i1 %105, label %106, label %109 106: ; preds = %97 %107 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !5 %108 = call i32 @av_log(ptr noundef null, i32 noundef %107, ptr noundef nonnull @.str.6) #3 br label %202 109: ; preds = %97 %110 = load i32, ptr %10, align 4, !tbaa !5 %111 = icmp eq i32 %110, 0 br i1 %111, label %176, label %112 112: ; preds = %109 %113 = load ptr, ptr %7, align 8, !tbaa !9 %114 = call i32 @avcodec_decode_audio4(ptr noundef %3, ptr noundef %113, ptr noundef nonnull %10, ptr noundef nonnull %5) #3 %115 = icmp slt i32 %114, 0 br i1 %115, label %116, label %119 116: ; preds = %112 %117 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !5 %118 = call i32 @av_log(ptr noundef null, i32 noundef %117, ptr noundef nonnull @.str.7) #3 br label %202 119: ; preds = %112 %120 = load i32, ptr %10, align 4, !tbaa !5 %121 = icmp eq i32 %120, 0 br i1 %121, label %176, label %122 122: ; preds = %119 %123 = load i32, ptr %5, align 8, !tbaa !20 %124 = icmp eq i32 %114, %123 br i1 %124, label %129, label %125 125: ; preds = %122 %126 = load i32, ptr @AV_LOG_INFO, align 4, !tbaa !5 %127 = call i32 @av_log(ptr noundef null, i32 noundef %126, ptr noundef nonnull @.str.8) #3 %128 = load i32, ptr @AVERROR_UNKNOWN, align 4, !tbaa !5 br label %202 129: ; preds = %122 %130 = load i32, ptr %11, align 8, !tbaa !14 %131 = load i32, ptr %113, align 8, !tbaa !14 %132 = icmp eq i32 %130, %131 br i1 %132, label %137, label %133 133: ; preds = %129 %134 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !5 %135 = call i32 @av_log(ptr noundef null, i32 noundef %134, ptr noundef nonnull @.str.9) #3 %136 = load i32, ptr @AVERROR_UNKNOWN, align 4, !tbaa !5 br label %202 137: ; preds = %129 %138 = load i64, ptr %22, align 8, !tbaa !25 %139 = getelementptr inbounds %struct.TYPE_18__, ptr %113, i64 0, i32 2 %140 = load i64, ptr %139, align 8, !tbaa !25 %141 = icmp eq i64 %138, %140 br i1 %141, label %146, label %142 142: ; preds = %137 %143 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !5 %144 = call i32 @av_log(ptr noundef null, i32 noundef %143, ptr noundef nonnull @.str.10) #3 %145 = load i32, ptr @AVERROR_UNKNOWN, align 4, !tbaa !5 br label %202 146: ; preds = %137 %147 = load i64, ptr %21, align 8, !tbaa !26 %148 = getelementptr inbounds %struct.TYPE_18__, ptr %113, i64 0, i32 1 %149 = load i64, ptr %148, align 8, !tbaa !26 %150 = icmp eq i64 %147, %149 br i1 %150, label %155, label %151 151: ; preds = %146 %152 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !5 %153 = call i32 @av_log(ptr noundef null, i32 noundef %152, ptr noundef nonnull @.str.11) #3 %154 = load i32, ptr @AVERROR_UNKNOWN, align 4, !tbaa !5 br label %202 155: ; preds = %146 %156 = getelementptr inbounds %struct.TYPE_18__, ptr %113, i64 0, i32 4 %157 = load i32, ptr %156, align 8, !tbaa !24 %158 = shl i32 %130, 2 %159 = mul i32 %158, %157 %160 = getelementptr inbounds %struct.TYPE_18__, ptr %113, i64 0, i32 3 %161 = load ptr, ptr %160, align 8, !tbaa !17 %162 = load i32, ptr %161, align 4, !tbaa !5 %163 = icmp sgt i32 %159, %162 br i1 %163, label %164, label %167 164: ; preds = %155 %165 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !5 %166 = call i32 @av_log(ptr noundef null, i32 noundef %165, ptr noundef nonnull @.str.12) #3 br label %202 167: ; preds = %155 %168 = load ptr, ptr %9, align 8, !tbaa !9 %169 = sext i32 %77 to i64 %170 = getelementptr inbounds i32, ptr %168, i64 %169 %171 = getelementptr inbounds %struct.TYPE_18__, ptr %113, i64 0, i32 5 %172 = load ptr, ptr %171, align 8, !tbaa !21 %173 = load i64, ptr %172, align 8, !tbaa !16 %174 = call i32 @memcpy(ptr noundef %170, i64 noundef %173, i32 noundef %159) #3 %175 = add nsw i32 %159, %77 br label %176 176: ; preds = %119, %167, %109 %177 = phi i32 [ %175, %167 ], [ %77, %119 ], [ %77, %109 ] %178 = phi i32 [ %159, %167 ], [ %75, %119 ], [ %75, %109 ] %179 = call i32 @av_packet_unref(ptr noundef nonnull %5) #3 %180 = add nuw nsw i32 %76, 1 %181 = load i32, ptr @NUMBER_OF_AUDIO_FRAMES, align 4, !tbaa !5 %182 = icmp slt i32 %180, %181 br i1 %182, label %74, label %183, !llvm.loop !27 183: ; preds = %176 %184 = load ptr, ptr %9, align 8, !tbaa !9 br label %185 185: ; preds = %183, %59 %186 = phi ptr [ %57, %59 ], [ %184, %183 ] %187 = phi i32 [ undef, %59 ], [ %178, %183 ] %188 = phi i32 [ %60, %59 ], [ %181, %183 ] %189 = mul nsw i32 %188, %187 %190 = call i64 @memcmp(ptr noundef nonnull %45, ptr noundef %186, i32 noundef %189) #3 %191 = icmp eq i64 %190, 0 br i1 %191, label %195, label %192 192: ; preds = %185 %193 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !5 %194 = call i32 @av_log(ptr noundef null, i32 noundef %193, ptr noundef nonnull @.str.13) #3 br label %202 195: ; preds = %185 %196 = load i32, ptr @AV_LOG_INFO, align 4, !tbaa !5 %197 = call i32 @av_log(ptr noundef null, i32 noundef %196, ptr noundef nonnull @.str.14) #3 %198 = call i32 @av_freep(ptr noundef nonnull %8) #3 %199 = call i32 @av_freep(ptr noundef nonnull %9) #3 %200 = call i32 @av_frame_free(ptr noundef nonnull %6) #3 %201 = call i32 @av_frame_free(ptr noundef nonnull %7) #3 br label %202 202: ; preds = %195, %192, %164, %151, %142, %133, %125, %116, %106, %94, %69, %47, %34, %26, %13 %203 = phi i32 [ %30, %26 ], [ 1, %94 ], [ %104, %106 ], [ %114, %116 ], [ %128, %125 ], [ %136, %133 ], [ %145, %142 ], [ %154, %151 ], [ 1, %164 ], [ 1, %192 ], [ 0, %195 ], [ %73, %69 ], [ %51, %47 ], [ %38, %34 ], [ %17, %13 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3 ret i32 %203 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @av_frame_alloc(...) local_unnamed_addr #2 declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @AVERROR(i32 noundef) local_unnamed_addr #2 declare i64 @av_frame_get_buffer(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @av_malloc(i32 noundef) local_unnamed_addr #2 declare i32 @av_init_packet(ptr noundef) local_unnamed_addr #2 declare i32 @generate_raw_frame(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @avcodec_encode_audio2(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @avcodec_decode_audio4(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @av_packet_unref(ptr noundef) local_unnamed_addr #2 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @av_freep(ptr noundef) local_unnamed_addr #2 declare i32 @av_frame_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 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_19__", !6, i64 0, !13, i64 8, !13, i64 16, !6, i64 24, !6, i64 28} !13 = !{!"long", !7, i64 0} !14 = !{!15, !6, i64 0} !15 = !{!"TYPE_18__", !6, i64 0, !13, i64 8, !13, i64 16, !10, i64 24, !6, i64 32, !10, i64 40} !16 = !{!13, !13, i64 0} !17 = !{!15, !10, i64 24} !18 = !{!19, !10, i64 8} !19 = !{!"TYPE_17__", !6, i64 0, !10, i64 8} !20 = !{!19, !6, i64 0} !21 = !{!15, !10, i64 40} !22 = !{!12, !6, i64 28} !23 = !{!12, !6, i64 24} !24 = !{!15, !6, i64 32} !25 = !{!15, !13, i64 16} !26 = !{!15, !13, i64 8} !27 = distinct !{!27, !28} !28 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/FFmpeg/tests/api/extr_api-flac-test.c_run_test.c' source_filename = "AnghaBench/FFmpeg/tests/api/extr_api-flac-test.c_run_test.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_17__ = type { i32, ptr } @AV_LOG_ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"Can't allocate input frame\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [41 x i8] c"Can't allocate a buffer for input frame\0A\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"Can't allocate output frame\0A\00", align 1 @NUMBER_OF_AUDIO_FRAMES = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [34 x i8] c"Can't allocate memory for raw_in\0A\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c"Can't allocate memory for raw_out\0A\00", align 1 @.str.5 = private unnamed_addr constant [41 x i8] c"Incorrect value of input frame linesize\0A\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"Error encoding audio frame\0A\00", align 1 @.str.7 = private unnamed_addr constant [29 x i8] c"Error decoding audio packet\0A\00", align 1 @AV_LOG_INFO = common local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [92 x i8] c"Decoder consumed only part of a packet, it is allowed to do so -- need to update this test\0A\00", align 1 @AVERROR_UNKNOWN = common local_unnamed_addr global i32 0, align 4 @.str.9 = private unnamed_addr constant [72 x i8] c"Error frames before and after decoding has different number of samples\0A\00", align 1 @.str.10 = private unnamed_addr constant [69 x i8] c"Error frames before and after decoding has different channel layout\0A\00", align 1 @.str.11 = private unnamed_addr constant [68 x i8] c"Error frames before and after decoding has different sample format\0A\00", align 1 @.str.12 = private unnamed_addr constant [42 x i8] c"Incorrect value of output frame linesize\0A\00", align 1 @.str.13 = private unnamed_addr constant [16 x i8] c"Output differs\0A\00", align 1 @.str.14 = private unnamed_addr constant [4 x i8] c"OK\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @run_test], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @run_test(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca %struct.TYPE_17__, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3 store i32 0, ptr %10, align 4, !tbaa !6 %11 = tail call ptr @av_frame_alloc() #3 store ptr %11, ptr %6, align 8, !tbaa !10 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %18 13: ; preds = %4 %14 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !6 %15 = tail call i32 @av_log(ptr noundef null, i32 noundef %14, ptr noundef nonnull @.str) #3 %16 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %17 = tail call i32 @AVERROR(i32 noundef %16) #3 br label %201 18: ; preds = %4 %19 = load i32, ptr %2, align 8, !tbaa !12 store i32 %19, ptr %11, align 8, !tbaa !15 %20 = getelementptr inbounds i8, ptr %2, i64 8 %21 = getelementptr inbounds i8, ptr %11, i64 8 %22 = getelementptr inbounds i8, ptr %11, i64 16 %23 = load <2 x i64>, ptr %20, align 8, !tbaa !17 store <2 x i64> %23, ptr %21, align 8, !tbaa !17 %24 = tail call i64 @av_frame_get_buffer(ptr noundef nonnull %11, i32 noundef 32) #3 %25 = icmp eq i64 %24, 0 br i1 %25, label %31, label %26 26: ; preds = %18 %27 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !6 %28 = tail call i32 @av_log(ptr noundef null, i32 noundef %27, ptr noundef nonnull @.str.1) #3 %29 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %30 = tail call i32 @AVERROR(i32 noundef %29) #3 br label %201 31: ; preds = %18 %32 = tail call ptr @av_frame_alloc() #3 store ptr %32, ptr %7, align 8, !tbaa !10 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %39 34: ; preds = %31 %35 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !6 %36 = tail call i32 @av_log(ptr noundef null, i32 noundef %35, ptr noundef nonnull @.str.2) #3 %37 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %38 = tail call i32 @AVERROR(i32 noundef %37) #3 br label %201 39: ; preds = %31 %40 = getelementptr inbounds i8, ptr %11, i64 24 %41 = load ptr, ptr %40, align 8, !tbaa !18 %42 = load i32, ptr %41, align 4, !tbaa !6 %43 = load i32, ptr @NUMBER_OF_AUDIO_FRAMES, align 4, !tbaa !6 %44 = mul nsw i32 %43, %42 %45 = tail call ptr @av_malloc(i32 noundef %44) #3 store ptr %45, ptr %8, align 8, !tbaa !10 %46 = icmp eq ptr %45, null br i1 %46, label %47, label %52 47: ; preds = %39 %48 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !6 %49 = tail call i32 @av_log(ptr noundef null, i32 noundef %48, ptr noundef nonnull @.str.3) #3 %50 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %51 = tail call i32 @AVERROR(i32 noundef %50) #3 br label %201 52: ; preds = %39 %53 = load ptr, ptr %40, align 8, !tbaa !18 %54 = load i32, ptr %53, align 4, !tbaa !6 %55 = load i32, ptr @NUMBER_OF_AUDIO_FRAMES, align 4, !tbaa !6 %56 = mul nsw i32 %55, %54 %57 = tail call ptr @av_malloc(i32 noundef %56) #3 store ptr %57, ptr %9, align 8, !tbaa !10 %58 = icmp eq ptr %57, null br i1 %58, label %68, label %59 59: ; preds = %52 %60 = load i32, ptr @NUMBER_OF_AUDIO_FRAMES, align 4, !tbaa !6 %61 = icmp sgt i32 %60, 0 br i1 %61, label %62, label %184 62: ; preds = %59 %63 = getelementptr inbounds i8, ptr %5, i64 8 %64 = getelementptr inbounds i8, ptr %2, i64 28 %65 = getelementptr inbounds i8, ptr %2, i64 24 %66 = getelementptr inbounds i8, ptr %11, i64 40 %67 = getelementptr inbounds i8, ptr %11, i64 32 br label %73 68: ; preds = %52 %69 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !6 %70 = tail call i32 @av_log(ptr noundef null, i32 noundef %69, ptr noundef nonnull @.str.4) #3 %71 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %72 = tail call i32 @AVERROR(i32 noundef %71) #3 br label %201 73: ; preds = %62, %175 %74 = phi i32 [ undef, %62 ], [ %177, %175 ] %75 = phi i32 [ 0, %62 ], [ %179, %175 ] %76 = phi i32 [ 0, %62 ], [ %176, %175 ] %77 = phi i32 [ 0, %62 ], [ %102, %175 ] %78 = call i32 @av_init_packet(ptr noundef nonnull %5) #3 store ptr null, ptr %63, align 8, !tbaa !19 store i32 0, ptr %5, align 8, !tbaa !21 %79 = load ptr, ptr %66, align 8, !tbaa !22 %80 = load i64, ptr %79, align 8, !tbaa !17 %81 = inttoptr i64 %80 to ptr %82 = load i32, ptr %64, align 4, !tbaa !23 %83 = load i32, ptr %65, align 8, !tbaa !24 %84 = load i32, ptr %2, align 8, !tbaa !12 %85 = call i32 @generate_raw_frame(ptr noundef %81, i32 noundef %75, i32 noundef %82, i32 noundef %83, i32 noundef %84) #3 %86 = load i32, ptr %11, align 8, !tbaa !15 %87 = load i32, ptr %67, align 8, !tbaa !25 %88 = shl i32 %86, 2 %89 = mul i32 %88, %87 %90 = load ptr, ptr %40, align 8, !tbaa !18 %91 = load i32, ptr %90, align 4, !tbaa !6 %92 = icmp sgt i32 %89, %91 br i1 %92, label %93, label %96 93: ; preds = %73 %94 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !6 %95 = call i32 @av_log(ptr noundef null, i32 noundef %94, ptr noundef nonnull @.str.5) #3 br label %201 96: ; preds = %73 %97 = sext i32 %77 to i64 %98 = getelementptr inbounds i32, ptr %45, i64 %97 %99 = load ptr, ptr %66, align 8, !tbaa !22 %100 = load i64, ptr %99, align 8, !tbaa !17 %101 = call i32 @memcpy(ptr noundef nonnull %98, i64 noundef %100, i32 noundef %89) #3 %102 = add nsw i32 %89, %77 %103 = call i32 @avcodec_encode_audio2(ptr noundef nonnull %2, ptr noundef nonnull %5, ptr noundef nonnull %11, ptr noundef nonnull %10) #3 %104 = icmp slt i32 %103, 0 br i1 %104, label %105, label %108 105: ; preds = %96 %106 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !6 %107 = call i32 @av_log(ptr noundef null, i32 noundef %106, ptr noundef nonnull @.str.6) #3 br label %201 108: ; preds = %96 %109 = load i32, ptr %10, align 4, !tbaa !6 %110 = icmp eq i32 %109, 0 br i1 %110, label %175, label %111 111: ; preds = %108 %112 = load ptr, ptr %7, align 8, !tbaa !10 %113 = call i32 @avcodec_decode_audio4(ptr noundef %3, ptr noundef %112, ptr noundef nonnull %10, ptr noundef nonnull %5) #3 %114 = icmp slt i32 %113, 0 br i1 %114, label %115, label %118 115: ; preds = %111 %116 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !6 %117 = call i32 @av_log(ptr noundef null, i32 noundef %116, ptr noundef nonnull @.str.7) #3 br label %201 118: ; preds = %111 %119 = load i32, ptr %10, align 4, !tbaa !6 %120 = icmp eq i32 %119, 0 br i1 %120, label %175, label %121 121: ; preds = %118 %122 = load i32, ptr %5, align 8, !tbaa !21 %123 = icmp eq i32 %113, %122 br i1 %123, label %128, label %124 124: ; preds = %121 %125 = load i32, ptr @AV_LOG_INFO, align 4, !tbaa !6 %126 = call i32 @av_log(ptr noundef null, i32 noundef %125, ptr noundef nonnull @.str.8) #3 %127 = load i32, ptr @AVERROR_UNKNOWN, align 4, !tbaa !6 br label %201 128: ; preds = %121 %129 = load i32, ptr %11, align 8, !tbaa !15 %130 = load i32, ptr %112, align 8, !tbaa !15 %131 = icmp eq i32 %129, %130 br i1 %131, label %136, label %132 132: ; preds = %128 %133 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !6 %134 = call i32 @av_log(ptr noundef null, i32 noundef %133, ptr noundef nonnull @.str.9) #3 %135 = load i32, ptr @AVERROR_UNKNOWN, align 4, !tbaa !6 br label %201 136: ; preds = %128 %137 = load i64, ptr %22, align 8, !tbaa !26 %138 = getelementptr inbounds i8, ptr %112, i64 16 %139 = load i64, ptr %138, align 8, !tbaa !26 %140 = icmp eq i64 %137, %139 br i1 %140, label %145, label %141 141: ; preds = %136 %142 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !6 %143 = call i32 @av_log(ptr noundef null, i32 noundef %142, ptr noundef nonnull @.str.10) #3 %144 = load i32, ptr @AVERROR_UNKNOWN, align 4, !tbaa !6 br label %201 145: ; preds = %136 %146 = load i64, ptr %21, align 8, !tbaa !27 %147 = getelementptr inbounds i8, ptr %112, i64 8 %148 = load i64, ptr %147, align 8, !tbaa !27 %149 = icmp eq i64 %146, %148 br i1 %149, label %154, label %150 150: ; preds = %145 %151 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !6 %152 = call i32 @av_log(ptr noundef null, i32 noundef %151, ptr noundef nonnull @.str.11) #3 %153 = load i32, ptr @AVERROR_UNKNOWN, align 4, !tbaa !6 br label %201 154: ; preds = %145 %155 = getelementptr inbounds i8, ptr %112, i64 32 %156 = load i32, ptr %155, align 8, !tbaa !25 %157 = shl i32 %129, 2 %158 = mul i32 %157, %156 %159 = getelementptr inbounds i8, ptr %112, i64 24 %160 = load ptr, ptr %159, align 8, !tbaa !18 %161 = load i32, ptr %160, align 4, !tbaa !6 %162 = icmp sgt i32 %158, %161 br i1 %162, label %163, label %166 163: ; preds = %154 %164 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !6 %165 = call i32 @av_log(ptr noundef null, i32 noundef %164, ptr noundef nonnull @.str.12) #3 br label %201 166: ; preds = %154 %167 = load ptr, ptr %9, align 8, !tbaa !10 %168 = sext i32 %76 to i64 %169 = getelementptr inbounds i32, ptr %167, i64 %168 %170 = getelementptr inbounds i8, ptr %112, i64 40 %171 = load ptr, ptr %170, align 8, !tbaa !22 %172 = load i64, ptr %171, align 8, !tbaa !17 %173 = call i32 @memcpy(ptr noundef %169, i64 noundef %172, i32 noundef %158) #3 %174 = add nsw i32 %158, %76 br label %175 175: ; preds = %118, %166, %108 %176 = phi i32 [ %174, %166 ], [ %76, %118 ], [ %76, %108 ] %177 = phi i32 [ %158, %166 ], [ %74, %118 ], [ %74, %108 ] %178 = call i32 @av_packet_unref(ptr noundef nonnull %5) #3 %179 = add nuw nsw i32 %75, 1 %180 = load i32, ptr @NUMBER_OF_AUDIO_FRAMES, align 4, !tbaa !6 %181 = icmp slt i32 %179, %180 br i1 %181, label %73, label %182, !llvm.loop !28 182: ; preds = %175 %183 = load ptr, ptr %9, align 8, !tbaa !10 br label %184 184: ; preds = %182, %59 %185 = phi ptr [ %57, %59 ], [ %183, %182 ] %186 = phi i32 [ undef, %59 ], [ %177, %182 ] %187 = phi i32 [ %60, %59 ], [ %180, %182 ] %188 = mul nsw i32 %187, %186 %189 = call i64 @memcmp(ptr noundef nonnull %45, ptr noundef %185, i32 noundef %188) #3 %190 = icmp eq i64 %189, 0 br i1 %190, label %194, label %191 191: ; preds = %184 %192 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !6 %193 = call i32 @av_log(ptr noundef null, i32 noundef %192, ptr noundef nonnull @.str.13) #3 br label %201 194: ; preds = %184 %195 = load i32, ptr @AV_LOG_INFO, align 4, !tbaa !6 %196 = call i32 @av_log(ptr noundef null, i32 noundef %195, ptr noundef nonnull @.str.14) #3 %197 = call i32 @av_freep(ptr noundef nonnull %8) #3 %198 = call i32 @av_freep(ptr noundef nonnull %9) #3 %199 = call i32 @av_frame_free(ptr noundef nonnull %6) #3 %200 = call i32 @av_frame_free(ptr noundef nonnull %7) #3 br label %201 201: ; preds = %194, %191, %163, %150, %141, %132, %124, %115, %105, %93, %68, %47, %34, %26, %13 %202 = phi i32 [ %30, %26 ], [ 1, %93 ], [ %103, %105 ], [ %113, %115 ], [ %127, %124 ], [ %135, %132 ], [ %144, %141 ], [ %153, %150 ], [ 1, %163 ], [ 1, %191 ], [ 0, %194 ], [ %72, %68 ], [ %51, %47 ], [ %38, %34 ], [ %17, %13 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3 ret i32 %202 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @av_frame_alloc(...) local_unnamed_addr #2 declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @AVERROR(i32 noundef) local_unnamed_addr #2 declare i64 @av_frame_get_buffer(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @av_malloc(i32 noundef) local_unnamed_addr #2 declare i32 @av_init_packet(ptr noundef) local_unnamed_addr #2 declare i32 @generate_raw_frame(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @avcodec_encode_audio2(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @avcodec_decode_audio4(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @av_packet_unref(ptr noundef) local_unnamed_addr #2 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @av_freep(ptr noundef) local_unnamed_addr #2 declare i32 @av_frame_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 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_19__", !7, i64 0, !14, i64 8, !14, i64 16, !7, i64 24, !7, i64 28} !14 = !{!"long", !8, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_18__", !7, i64 0, !14, i64 8, !14, i64 16, !11, i64 24, !7, i64 32, !11, i64 40} !17 = !{!14, !14, i64 0} !18 = !{!16, !11, i64 24} !19 = !{!20, !11, i64 8} !20 = !{!"TYPE_17__", !7, i64 0, !11, i64 8} !21 = !{!20, !7, i64 0} !22 = !{!16, !11, i64 40} !23 = !{!13, !7, i64 28} !24 = !{!13, !7, i64 24} !25 = !{!16, !7, i64 32} !26 = !{!16, !14, i64 16} !27 = !{!16, !14, i64 8} !28 = distinct !{!28, !29} !29 = !{!"llvm.loop.mustprogress"}
FFmpeg_tests_api_extr_api-flac-test.c_run_test
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ipath/extr_ipath_user_pages.c___ipath_get_user_pages.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ipath/extr_ipath_user_pages.c___ipath_get_user_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" @RLIMIT_MEMLOCK = dso_local local_unnamed_addr global i32 0, align 4 @PAGE_SHIFT = dso_local local_unnamed_addr global i64 0, align 8 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @VERBOSE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"pin %lx pages from vaddr %lx\0A\00", align 1 @current = dso_local local_unnamed_addr global ptr null, align 8 @PAGE_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @__ipath_get_user_pages], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @__ipath_get_user_pages(i64 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = load i32, ptr @RLIMIT_MEMLOCK, align 4, !tbaa !5 %6 = tail call i64 @rlimit(i32 noundef %5) #2 %7 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !9 %8 = lshr i64 %6, %7 %9 = icmp ult i64 %8, %1 br i1 %9, label %10, label %13 10: ; preds = %4 %11 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %12 = sub nsw i32 0, %11 br label %39 13: ; preds = %4 %14 = load i32, ptr @VERBOSE, align 4, !tbaa !5 %15 = tail call i32 @ipath_cdbg(i32 noundef %14, ptr noundef nonnull @.str, i64 noundef %1, i64 noundef %0) #2 %16 = icmp eq i64 %1, 0 br i1 %16, label %32, label %21 17: ; preds = %21 %18 = zext nneg i32 %30 to i64 %19 = add i64 %22, %18 %20 = icmp ult i64 %19, %1 br i1 %20, label %21, label %32, !llvm.loop !11 21: ; preds = %13, %17 %22 = phi i64 [ %19, %17 ], [ 0, %13 ] %23 = load ptr, ptr @current, align 8, !tbaa !13 %24 = load ptr, ptr %23, align 8, !tbaa !15 %25 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !9 %26 = mul i64 %25, %22 %27 = add i64 %26, %0 %28 = sub i64 %1, %22 %29 = getelementptr inbounds ptr, ptr %2, i64 %22 %30 = tail call i32 @get_user_pages(ptr noundef nonnull %23, ptr noundef %24, i64 noundef %27, i64 noundef %28, i32 noundef 1, i32 noundef 1, ptr noundef %29, ptr noundef %3) #2 %31 = icmp slt i32 %30, 0 br i1 %31, label %37, label %17 32: ; preds = %17, %13 %33 = load ptr, ptr @current, align 8, !tbaa !13 %34 = load ptr, ptr %33, align 8, !tbaa !15 %35 = load i64, ptr %34, align 8, !tbaa !17 %36 = add i64 %35, %1 store i64 %36, ptr %34, align 8, !tbaa !17 br label %39 37: ; preds = %21 %38 = tail call i32 @__ipath_release_user_pages(ptr noundef %2, i64 noundef %22, i32 noundef 0) #2 br label %39 39: ; preds = %37, %32, %10 %40 = phi i32 [ %12, %10 ], [ %30, %37 ], [ 0, %32 ] ret i32 %40 } declare i64 @rlimit(i32 noundef) local_unnamed_addr #1 declare i32 @ipath_cdbg(i32 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @get_user_pages(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @__ipath_release_user_pages(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !7, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"TYPE_4__", !14, i64 0} !17 = !{!18, !10, i64 0} !18 = !{!"TYPE_5__", !10, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ipath/extr_ipath_user_pages.c___ipath_get_user_pages.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ipath/extr_ipath_user_pages.c___ipath_get_user_pages.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RLIMIT_MEMLOCK = common local_unnamed_addr global i32 0, align 4 @PAGE_SHIFT = common local_unnamed_addr global i64 0, align 8 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @VERBOSE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"pin %lx pages from vaddr %lx\0A\00", align 1 @current = common local_unnamed_addr global ptr null, align 8 @PAGE_SIZE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @__ipath_get_user_pages], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @__ipath_get_user_pages(i64 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = load i32, ptr @RLIMIT_MEMLOCK, align 4, !tbaa !6 %6 = tail call i64 @rlimit(i32 noundef %5) #2 %7 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !10 %8 = lshr i64 %6, %7 %9 = icmp ult i64 %8, %1 br i1 %9, label %10, label %13 10: ; preds = %4 %11 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %12 = sub nsw i32 0, %11 br label %39 13: ; preds = %4 %14 = load i32, ptr @VERBOSE, align 4, !tbaa !6 %15 = tail call i32 @ipath_cdbg(i32 noundef %14, ptr noundef nonnull @.str, i64 noundef %1, i64 noundef %0) #2 %16 = icmp eq i64 %1, 0 br i1 %16, label %32, label %21 17: ; preds = %21 %18 = zext nneg i32 %30 to i64 %19 = add i64 %22, %18 %20 = icmp ult i64 %19, %1 br i1 %20, label %21, label %32, !llvm.loop !12 21: ; preds = %13, %17 %22 = phi i64 [ %19, %17 ], [ 0, %13 ] %23 = load ptr, ptr @current, align 8, !tbaa !14 %24 = load ptr, ptr %23, align 8, !tbaa !16 %25 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !10 %26 = mul i64 %25, %22 %27 = add i64 %26, %0 %28 = sub i64 %1, %22 %29 = getelementptr inbounds ptr, ptr %2, i64 %22 %30 = tail call i32 @get_user_pages(ptr noundef nonnull %23, ptr noundef %24, i64 noundef %27, i64 noundef %28, i32 noundef 1, i32 noundef 1, ptr noundef %29, ptr noundef %3) #2 %31 = icmp slt i32 %30, 0 br i1 %31, label %37, label %17 32: ; preds = %17, %13 %33 = load ptr, ptr @current, align 8, !tbaa !14 %34 = load ptr, ptr %33, align 8, !tbaa !16 %35 = load i64, ptr %34, align 8, !tbaa !18 %36 = add i64 %35, %1 store i64 %36, ptr %34, align 8, !tbaa !18 br label %39 37: ; preds = %21 %38 = tail call i32 @__ipath_release_user_pages(ptr noundef %2, i64 noundef %22, i32 noundef 0) #2 br label %39 39: ; preds = %37, %32, %10 %40 = phi i32 [ %12, %10 ], [ %30, %37 ], [ 0, %32 ] ret i32 %40 } declare i64 @rlimit(i32 noundef) local_unnamed_addr #1 declare i32 @ipath_cdbg(i32 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @get_user_pages(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @__ipath_release_user_pages(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = !{!17, !15, i64 0} !17 = !{!"TYPE_4__", !15, i64 0} !18 = !{!19, !11, i64 0} !19 = !{!"TYPE_5__", !11, i64 0}
fastsocket_kernel_drivers_infiniband_hw_ipath_extr_ipath_user_pages.c___ipath_get_user_pages
; ModuleID = 'AnghaBench/systemd/src/basic/extr_log.c_log_set_max_level_realm.c' source_filename = "AnghaBench/systemd/src/basic/extr_log.c_log_set_max_level_realm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @LOG_PRIMASK = dso_local local_unnamed_addr global i32 0, align 4 @log_max_level = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @log_set_max_level_realm(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @LOG_PRIMASK, align 4, !tbaa !5 %4 = and i32 %3, %1 %5 = icmp eq i32 %4, %1 %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = load ptr, ptr @log_max_level, align 8, !tbaa !9 %9 = tail call i64 @ELEMENTSOF(ptr noundef %8) #2 %10 = icmp ugt i64 %9, %0 %11 = zext i1 %10 to i32 %12 = tail call i32 @assert(i32 noundef %11) #2 %13 = load ptr, ptr @log_max_level, align 8, !tbaa !9 %14 = getelementptr inbounds i32, ptr %13, i64 %0 store i32 %1, ptr %14, align 4, !tbaa !5 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i64 @ELEMENTSOF(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/systemd/src/basic/extr_log.c_log_set_max_level_realm.c' source_filename = "AnghaBench/systemd/src/basic/extr_log.c_log_set_max_level_realm.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LOG_PRIMASK = common local_unnamed_addr global i32 0, align 4 @log_max_level = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @log_set_max_level_realm(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @LOG_PRIMASK, align 4, !tbaa !6 %4 = and i32 %3, %1 %5 = icmp eq i32 %4, %1 %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = load ptr, ptr @log_max_level, align 8, !tbaa !10 %9 = tail call i64 @ELEMENTSOF(ptr noundef %8) #2 %10 = icmp ugt i64 %9, %0 %11 = zext i1 %10 to i32 %12 = tail call i32 @assert(i32 noundef %11) #2 %13 = load ptr, ptr @log_max_level, align 8, !tbaa !10 %14 = getelementptr inbounds i32, ptr %13, i64 %0 store i32 %1, ptr %14, align 4, !tbaa !6 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i64 @ELEMENTSOF(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0}
systemd_src_basic_extr_log.c_log_set_max_level_realm
; ModuleID = 'AnghaBench/kphp-kdb/search/extr_search-x-data.c_get_item_f.c' source_filename = "AnghaBench/kphp-kdb/search/extr_search-x-data.c_get_item_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @items_short_ids = dso_local local_unnamed_addr global i64 0, align 8 @ITEMS_HASH_PRIME = dso_local local_unnamed_addr global i32 0, align 4 @Items = dso_local local_unnamed_addr global ptr null, align 8 @tot_items = dso_local local_unnamed_addr global i32 0, align 4 @MAX_ITEMS = dso_local local_unnamed_addr global i32 0, align 4 @tot_freed_deleted_items = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_item_f], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @get_item_f(i64 noundef %0, i32 noundef %1) #0 { %3 = icmp slt i64 %0, 1 br i1 %3, label %92, label %4 4: ; preds = %2 %5 = load i64, ptr @items_short_ids, align 8, !tbaa !5 %6 = icmp eq i64 %5, 0 br i1 %6, label %13, label %7 7: ; preds = %4 %8 = tail call i32 @SHORT_ID(i64 noundef %0) #2 %9 = load i32, ptr @ITEMS_HASH_PRIME, align 4 %10 = srem i32 %8, %9 %11 = add nsw i32 %9, -1 %12 = srem i32 %8, %11 br label %22 13: ; preds = %4 %14 = load i32, ptr @ITEMS_HASH_PRIME, align 4 %15 = sext i32 %14 to i64 %16 = srem i64 %0, %15 %17 = trunc i64 %16 to i32 %18 = add nsw i32 %14, -1 %19 = sext i32 %18 to i64 %20 = srem i64 %0, %19 %21 = trunc i64 %20 to i32 br label %22 22: ; preds = %13, %7 %23 = phi i32 [ %9, %7 ], [ %14, %13 ] %24 = phi i32 [ %10, %7 ], [ %17, %13 ] %25 = phi i32 [ %12, %7 ], [ %21, %13 ] %26 = add i32 %25, 1 switch i32 %1, label %90 [ i32 128, label %36 i32 129, label %27 ] 27: ; preds = %22 %28 = load ptr, ptr @Items, align 8, !tbaa !9 %29 = sext i32 %24 to i64 %30 = getelementptr inbounds ptr, ptr %28, i64 %29 %31 = load ptr, ptr %30, align 8, !tbaa !9 %32 = icmp eq ptr %31, null br i1 %32, label %71, label %33 33: ; preds = %27 %34 = tail call i32 @ITEM_DELETED(ptr noundef nonnull %31) #2 %35 = icmp eq i32 %34, 0 br i1 %35, label %59, label %71 36: ; preds = %22 %37 = load ptr, ptr @Items, align 8, !tbaa !9 %38 = sext i32 %24 to i64 %39 = getelementptr inbounds ptr, ptr %37, i64 %38 %40 = load ptr, ptr %39, align 8, !tbaa !9 %41 = icmp eq ptr %40, null br i1 %41, label %92, label %42 42: ; preds = %36, %47 %43 = phi ptr [ %54, %47 ], [ %40, %36 ] %44 = phi i32 [ %51, %47 ], [ %24, %36 ] %45 = load i64, ptr %43, align 8, !tbaa !11 %46 = icmp eq i64 %45, %0 br i1 %46, label %92, label %47 47: ; preds = %42 %48 = add nsw i32 %44, %26 %49 = icmp slt i32 %48, %23 %50 = select i1 %49, i32 0, i32 %23 %51 = sub nsw i32 %48, %50 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds ptr, ptr %37, i64 %52 %54 = load ptr, ptr %53, align 8, !tbaa !9 %55 = icmp eq ptr %54, null br i1 %55, label %92, label %42, !llvm.loop !14 56: ; preds = %59 %57 = tail call i32 @ITEM_DELETED(ptr noundef nonnull %69) #2 %58 = icmp eq i32 %57, 0 br i1 %58, label %59, label %71, !llvm.loop !16 59: ; preds = %33, %56 %60 = phi i32 [ %65, %56 ], [ %24, %33 ] %61 = add nsw i32 %60, %26 %62 = load i32, ptr @ITEMS_HASH_PRIME, align 4, !tbaa !17 %63 = icmp slt i32 %61, %62 %64 = select i1 %63, i32 0, i32 %62 %65 = sub nsw i32 %61, %64 %66 = load ptr, ptr @Items, align 8, !tbaa !9 %67 = sext i32 %65 to i64 %68 = getelementptr inbounds ptr, ptr %66, i64 %67 %69 = load ptr, ptr %68, align 8, !tbaa !9 %70 = icmp eq ptr %69, null br i1 %70, label %71, label %56, !llvm.loop !16 71: ; preds = %56, %59, %33, %27 %72 = phi i64 [ %29, %27 ], [ %29, %33 ], [ %67, %59 ], [ %67, %56 ] %73 = phi ptr [ null, %27 ], [ %31, %33 ], [ null, %59 ], [ %69, %56 ] %74 = phi i1 [ true, %27 ], [ false, %33 ], [ %70, %59 ], [ %70, %56 ] %75 = load i32, ptr @tot_items, align 4, !tbaa !17 %76 = load i32, ptr @MAX_ITEMS, align 4, !tbaa !17 %77 = icmp slt i32 %75, %76 br i1 %77, label %78, label %92 78: ; preds = %71 %79 = tail call ptr @zmalloc0(i32 noundef 8) #2 %80 = icmp eq ptr %79, null br i1 %80, label %92, label %81 81: ; preds = %78 br i1 %74, label %84, label %82 82: ; preds = %81 %83 = tail call i32 @zfree(ptr noundef nonnull %73, i32 noundef 8) #2 br label %84 84: ; preds = %81, %82 %85 = phi ptr [ @tot_freed_deleted_items, %82 ], [ @tot_items, %81 ] %86 = load i32, ptr %85, align 4, !tbaa !17 %87 = add nsw i32 %86, 1 store i32 %87, ptr %85, align 4, !tbaa !17 %88 = load ptr, ptr @Items, align 8, !tbaa !9 %89 = getelementptr inbounds ptr, ptr %88, i64 %72 store ptr %79, ptr %89, align 8, !tbaa !9 store i64 %0, ptr %79, align 8, !tbaa !11 br label %92 90: ; preds = %22 %91 = tail call i32 @assert(i32 noundef 0) #2 br label %92 92: ; preds = %42, %47, %36, %78, %71, %2, %90, %84 %93 = phi ptr [ null, %90 ], [ %79, %84 ], [ null, %2 ], [ null, %71 ], [ null, %78 ], [ null, %36 ], [ %43, %42 ], [ null, %47 ] ret ptr %93 } declare i32 @SHORT_ID(i64 noundef) local_unnamed_addr #1 declare i32 @ITEM_DELETED(ptr noundef) local_unnamed_addr #1 declare ptr @zmalloc0(i32 noundef) local_unnamed_addr #1 declare i32 @zfree(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !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, !13, i64 0} !12 = !{!"item", !13, i64 0} !13 = !{!"long long", !7, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = distinct !{!16, !15} !17 = !{!18, !18, i64 0} !18 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/kphp-kdb/search/extr_search-x-data.c_get_item_f.c' source_filename = "AnghaBench/kphp-kdb/search/extr_search-x-data.c_get_item_f.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @items_short_ids = common local_unnamed_addr global i64 0, align 8 @ITEMS_HASH_PRIME = common local_unnamed_addr global i32 0, align 4 @Items = common local_unnamed_addr global ptr null, align 8 @tot_items = common local_unnamed_addr global i32 0, align 4 @MAX_ITEMS = common local_unnamed_addr global i32 0, align 4 @tot_freed_deleted_items = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @get_item_f], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @get_item_f(i64 noundef %0, i32 noundef %1) #0 { %3 = icmp slt i64 %0, 1 br i1 %3, label %92, label %4 4: ; preds = %2 %5 = load i64, ptr @items_short_ids, align 8, !tbaa !6 %6 = icmp eq i64 %5, 0 br i1 %6, label %13, label %7 7: ; preds = %4 %8 = tail call i32 @SHORT_ID(i64 noundef %0) #2 %9 = load i32, ptr @ITEMS_HASH_PRIME, align 4 %10 = srem i32 %8, %9 %11 = add nsw i32 %9, -1 %12 = srem i32 %8, %11 br label %22 13: ; preds = %4 %14 = load i32, ptr @ITEMS_HASH_PRIME, align 4 %15 = sext i32 %14 to i64 %16 = srem i64 %0, %15 %17 = trunc nuw nsw i64 %16 to i32 %18 = add nsw i32 %14, -1 %19 = sext i32 %18 to i64 %20 = srem i64 %0, %19 %21 = trunc nsw i64 %20 to i32 br label %22 22: ; preds = %13, %7 %23 = phi i32 [ %9, %7 ], [ %14, %13 ] %24 = phi i32 [ %10, %7 ], [ %17, %13 ] %25 = phi i32 [ %12, %7 ], [ %21, %13 ] %26 = add i32 %25, 1 switch i32 %1, label %90 [ i32 128, label %36 i32 129, label %27 ] 27: ; preds = %22 %28 = load ptr, ptr @Items, align 8, !tbaa !10 %29 = sext i32 %24 to i64 %30 = getelementptr inbounds ptr, ptr %28, i64 %29 %31 = load ptr, ptr %30, align 8, !tbaa !10 %32 = icmp eq ptr %31, null br i1 %32, label %71, label %33 33: ; preds = %27 %34 = tail call i32 @ITEM_DELETED(ptr noundef nonnull %31) #2 %35 = icmp eq i32 %34, 0 br i1 %35, label %59, label %71 36: ; preds = %22 %37 = load ptr, ptr @Items, align 8, !tbaa !10 %38 = sext i32 %24 to i64 %39 = getelementptr inbounds ptr, ptr %37, i64 %38 %40 = load ptr, ptr %39, align 8, !tbaa !10 %41 = icmp eq ptr %40, null br i1 %41, label %92, label %42 42: ; preds = %36, %47 %43 = phi ptr [ %54, %47 ], [ %40, %36 ] %44 = phi i32 [ %51, %47 ], [ %24, %36 ] %45 = load i64, ptr %43, align 8, !tbaa !12 %46 = icmp eq i64 %45, %0 br i1 %46, label %92, label %47 47: ; preds = %42 %48 = add nsw i32 %44, %26 %49 = icmp slt i32 %48, %23 %50 = select i1 %49, i32 0, i32 %23 %51 = sub nsw i32 %48, %50 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds ptr, ptr %37, i64 %52 %54 = load ptr, ptr %53, align 8, !tbaa !10 %55 = icmp eq ptr %54, null br i1 %55, label %92, label %42, !llvm.loop !15 56: ; preds = %59 %57 = tail call i32 @ITEM_DELETED(ptr noundef nonnull %69) #2 %58 = icmp eq i32 %57, 0 br i1 %58, label %59, label %71, !llvm.loop !17 59: ; preds = %33, %56 %60 = phi i32 [ %65, %56 ], [ %24, %33 ] %61 = add nsw i32 %60, %26 %62 = load i32, ptr @ITEMS_HASH_PRIME, align 4, !tbaa !18 %63 = icmp slt i32 %61, %62 %64 = select i1 %63, i32 0, i32 %62 %65 = sub nsw i32 %61, %64 %66 = load ptr, ptr @Items, align 8, !tbaa !10 %67 = sext i32 %65 to i64 %68 = getelementptr inbounds ptr, ptr %66, i64 %67 %69 = load ptr, ptr %68, align 8, !tbaa !10 %70 = icmp eq ptr %69, null br i1 %70, label %71, label %56, !llvm.loop !17 71: ; preds = %56, %59, %33, %27 %72 = phi i64 [ %29, %27 ], [ %29, %33 ], [ %67, %59 ], [ %67, %56 ] %73 = phi ptr [ null, %27 ], [ %31, %33 ], [ null, %59 ], [ %69, %56 ] %74 = phi i1 [ true, %27 ], [ false, %33 ], [ %70, %59 ], [ %70, %56 ] %75 = load i32, ptr @tot_items, align 4, !tbaa !18 %76 = load i32, ptr @MAX_ITEMS, align 4, !tbaa !18 %77 = icmp slt i32 %75, %76 br i1 %77, label %78, label %92 78: ; preds = %71 %79 = tail call ptr @zmalloc0(i32 noundef 8) #2 %80 = icmp eq ptr %79, null br i1 %80, label %92, label %81 81: ; preds = %78 br i1 %74, label %84, label %82 82: ; preds = %81 %83 = tail call i32 @zfree(ptr noundef nonnull %73, i32 noundef 8) #2 br label %84 84: ; preds = %81, %82 %85 = phi ptr [ @tot_freed_deleted_items, %82 ], [ @tot_items, %81 ] %86 = load i32, ptr %85, align 4, !tbaa !18 %87 = add nsw i32 %86, 1 store i32 %87, ptr %85, align 4, !tbaa !18 %88 = load ptr, ptr @Items, align 8, !tbaa !10 %89 = getelementptr inbounds ptr, ptr %88, i64 %72 store ptr %79, ptr %89, align 8, !tbaa !10 store i64 %0, ptr %79, align 8, !tbaa !12 br label %92 90: ; preds = %22 %91 = tail call i32 @assert(i32 noundef 0) #2 br label %92 92: ; preds = %42, %47, %36, %78, %71, %2, %90, %84 %93 = phi ptr [ null, %90 ], [ %79, %84 ], [ null, %2 ], [ null, %71 ], [ null, %78 ], [ null, %36 ], [ %43, %42 ], [ null, %47 ] ret ptr %93 } declare i32 @SHORT_ID(i64 noundef) local_unnamed_addr #1 declare i32 @ITEM_DELETED(ptr noundef) local_unnamed_addr #1 declare ptr @zmalloc0(i32 noundef) local_unnamed_addr #1 declare i32 @zfree(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !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, !14, i64 0} !13 = !{!"item", !14, i64 0} !14 = !{!"long long", !8, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = distinct !{!17, !16} !18 = !{!19, !19, i64 0} !19 = !{!"int", !8, i64 0}
kphp-kdb_search_extr_search-x-data.c_get_item_f
; ModuleID = 'AnghaBench/fastsocket/kernel/block/extr_compat_ioctl.c_compat_blkdev_driver_ioctl.c' source_filename = "AnghaBench/fastsocket/kernel/block/extr_compat_ioctl.c_compat_blkdev_driver_ioctl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENOIOCTLCMD = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @compat_blkdev_driver_ioctl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @compat_blkdev_driver_ioctl(ptr noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %3) #0 { switch i32 %2, label %15 [ i32 141, label %5 i32 144, label %5 i32 145, label %5 i32 151, label %5 i32 142, label %5 i32 147, label %5 i32 143, label %5 i32 140, label %5 i32 150, label %5 i32 149, label %5 i32 148, label %5 i32 157, label %7 i32 177, label %7 i32 166, label %7 i32 160, label %7 i32 171, label %7 i32 170, label %7 i32 163, label %7 i32 168, label %7 i32 154, label %7 i32 209, label %9 i32 183, label %11 i32 219, label %13 i32 146, label %13 i32 152, label %13 i32 153, label %13 i32 816, label %13 i32 164, label %13 i32 165, label %13 i32 159, label %13 i32 175, label %13 i32 155, label %13 i32 158, label %13 i32 167, label %13 i32 169, label %13 i32 176, label %13 i32 178, label %13 i32 174, label %13 i32 173, label %13 i32 161, label %13 i32 156, label %13 i32 172, label %13 i32 162, label %13 i32 214, label %13 i32 201, label %13 i32 212, label %13 i32 211, label %13 i32 203, label %13 i32 204, label %13 i32 198, label %13 i32 199, label %13 i32 217, label %13 i32 196, label %13 i32 197, label %13 i32 215, label %13 i32 188, label %13 i32 202, label %13 i32 195, label %13 i32 200, label %13 i32 213, label %13 i32 218, label %13 i32 191, label %13 i32 194, label %13 i32 189, label %13 i32 206, label %13 i32 207, label %13 i32 205, label %13 i32 208, label %13 i32 210, label %13 i32 180, label %13 i32 179, label %13 i32 181, label %13 i32 133, label %18 i32 129, label %18 i32 134, label %18 i32 139, label %18 i32 131, label %18 i32 135, label %18 i32 130, label %18 i32 132, label %18 i32 128, label %18 i32 138, label %18 i32 136, label %18 i32 137, label %18 i32 216, label %18 i32 182, label %18 i32 193, label %18 i32 184, label %18 i32 185, label %18 i32 186, label %18 i32 190, label %18 i32 187, label %18 i32 192, label %18 ] 5: ; preds = %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4 %6 = tail call i32 @compat_hdio_ioctl(ptr noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %3) #2 br label %21 7: ; preds = %4, %4, %4, %4, %4, %4, %4, %4, %4 %8 = tail call i32 @compat_fd_ioctl(ptr noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %3) #2 br label %21 9: ; preds = %4 %10 = tail call i32 @compat_cdrom_read_audio(ptr noundef %0, i32 noundef %1, i32 noundef 209, i64 noundef %3) #2 br label %21 11: ; preds = %4 %12 = tail call i32 @compat_cdrom_generic_command(ptr noundef %0, i32 noundef %1, i32 noundef 183, i64 noundef %3) #2 br label %21 13: ; preds = %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4 %14 = tail call i64 @compat_ptr(i64 noundef %3) #2 br label %18 15: ; preds = %4 %16 = load i32, ptr @ENOIOCTLCMD, align 4, !tbaa !5 %17 = sub nsw i32 0, %16 br label %21 18: ; preds = %13, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4 %19 = phi i64 [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %14, %13 ] %20 = tail call i32 @__blkdev_driver_ioctl(ptr noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %19) #2 br label %21 21: ; preds = %18, %15, %11, %9, %7, %5 %22 = phi i32 [ %17, %15 ], [ %20, %18 ], [ %12, %11 ], [ %10, %9 ], [ %8, %7 ], [ %6, %5 ] ret i32 %22 } declare i32 @compat_hdio_ioctl(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @compat_fd_ioctl(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @compat_cdrom_read_audio(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @compat_cdrom_generic_command(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @compat_ptr(i64 noundef) local_unnamed_addr #1 declare i32 @__blkdev_driver_ioctl(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/block/extr_compat_ioctl.c_compat_blkdev_driver_ioctl.c' source_filename = "AnghaBench/fastsocket/kernel/block/extr_compat_ioctl.c_compat_blkdev_driver_ioctl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOIOCTLCMD = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @compat_blkdev_driver_ioctl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @compat_blkdev_driver_ioctl(ptr noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %3) #0 { switch i32 %2, label %15 [ i32 141, label %5 i32 144, label %5 i32 145, label %5 i32 151, label %5 i32 142, label %5 i32 147, label %5 i32 143, label %5 i32 140, label %5 i32 150, label %5 i32 149, label %5 i32 148, label %5 i32 157, label %7 i32 177, label %7 i32 166, label %7 i32 160, label %7 i32 171, label %7 i32 170, label %7 i32 163, label %7 i32 168, label %7 i32 154, label %7 i32 209, label %9 i32 183, label %11 i32 219, label %13 i32 146, label %13 i32 152, label %13 i32 153, label %13 i32 816, label %13 i32 164, label %13 i32 165, label %13 i32 159, label %13 i32 175, label %13 i32 155, label %13 i32 158, label %13 i32 167, label %13 i32 169, label %13 i32 176, label %13 i32 178, label %13 i32 174, label %13 i32 173, label %13 i32 161, label %13 i32 156, label %13 i32 172, label %13 i32 162, label %13 i32 214, label %13 i32 201, label %13 i32 212, label %13 i32 211, label %13 i32 203, label %13 i32 204, label %13 i32 198, label %13 i32 199, label %13 i32 217, label %13 i32 196, label %13 i32 197, label %13 i32 215, label %13 i32 188, label %13 i32 202, label %13 i32 195, label %13 i32 200, label %13 i32 213, label %13 i32 218, label %13 i32 191, label %13 i32 194, label %13 i32 189, label %13 i32 206, label %13 i32 207, label %13 i32 205, label %13 i32 208, label %13 i32 210, label %13 i32 180, label %13 i32 179, label %13 i32 181, label %13 i32 133, label %18 i32 129, label %18 i32 134, label %18 i32 139, label %18 i32 131, label %18 i32 135, label %18 i32 130, label %18 i32 132, label %18 i32 128, label %18 i32 138, label %18 i32 136, label %18 i32 137, label %18 i32 216, label %18 i32 182, label %18 i32 193, label %18 i32 184, label %18 i32 185, label %18 i32 186, label %18 i32 190, label %18 i32 187, label %18 i32 192, label %18 ] 5: ; preds = %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4 %6 = tail call i32 @compat_hdio_ioctl(ptr noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %3) #2 br label %21 7: ; preds = %4, %4, %4, %4, %4, %4, %4, %4, %4 %8 = tail call i32 @compat_fd_ioctl(ptr noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %3) #2 br label %21 9: ; preds = %4 %10 = tail call i32 @compat_cdrom_read_audio(ptr noundef %0, i32 noundef %1, i32 noundef 209, i64 noundef %3) #2 br label %21 11: ; preds = %4 %12 = tail call i32 @compat_cdrom_generic_command(ptr noundef %0, i32 noundef %1, i32 noundef 183, i64 noundef %3) #2 br label %21 13: ; preds = %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4 %14 = tail call i64 @compat_ptr(i64 noundef %3) #2 br label %18 15: ; preds = %4 %16 = load i32, ptr @ENOIOCTLCMD, align 4, !tbaa !6 %17 = sub nsw i32 0, %16 br label %21 18: ; preds = %13, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4, %4 %19 = phi i64 [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %3, %4 ], [ %14, %13 ] %20 = tail call i32 @__blkdev_driver_ioctl(ptr noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %19) #2 br label %21 21: ; preds = %18, %15, %11, %9, %7, %5 %22 = phi i32 [ %17, %15 ], [ %20, %18 ], [ %12, %11 ], [ %10, %9 ], [ %8, %7 ], [ %6, %5 ] ret i32 %22 } declare i32 @compat_hdio_ioctl(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @compat_fd_ioctl(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @compat_cdrom_read_audio(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @compat_cdrom_generic_command(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @compat_ptr(i64 noundef) local_unnamed_addr #1 declare i32 @__blkdev_driver_ioctl(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_block_extr_compat_ioctl.c_compat_blkdev_driver_ioctl
; ModuleID = 'AnghaBench/sumatrapdf/ext/openjpeg/src/lib/openjp2/extr_opj_clock.c_opj_clock.c' source_filename = "AnghaBench/sumatrapdf/ext/openjpeg/src/lib/openjp2/extr_opj_clock.c_opj_clock.c" target datalayout = "e-m:e-p270:32:32-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.rusage = type { %struct.TYPE_6__, %struct.TYPE_7__ } %struct.TYPE_6__ = type { i64, i64 } %struct.TYPE_7__ = type { i64, i64 } ; Function Attrs: nounwind uwtable define dso_local i32 @opj_clock() local_unnamed_addr #0 { %1 = alloca %struct.rusage, align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #4 %2 = call i32 @getrusage(i32 noundef 0, ptr noundef nonnull %1) #4 %3 = getelementptr inbounds %struct.rusage, ptr %1, i64 0, i32 1 %4 = getelementptr inbounds %struct.rusage, ptr %1, i64 0, i32 1, i32 1 %5 = load i64, ptr %4, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = add nsw i64 %7, %5 %9 = trunc i64 %8 to i32 %10 = sitofp i32 %9 to double %11 = load i64, ptr %3, align 8, !tbaa !13 %12 = load i64, ptr %1, align 8, !tbaa !14 %13 = add nsw i64 %12, %11 %14 = trunc i64 %13 to i32 %15 = sitofp i32 %14 to double %16 = call double @llvm.fmuladd.f64(double %15, double 0x3EB0C6F7A0B5ED8D, double %10) %17 = fptosi double %16 to i32 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #4 ret i32 %17 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @getrusage(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 24} !6 = !{!"rusage", !7, i64 0, !11, i64 16} !7 = !{!"TYPE_6__", !8, i64 0, !8, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_7__", !8, i64 0, !8, i64 8} !12 = !{!6, !8, i64 8} !13 = !{!6, !8, i64 16} !14 = !{!6, !8, i64 0}
; ModuleID = 'AnghaBench/sumatrapdf/ext/openjpeg/src/lib/openjp2/extr_opj_clock.c_opj_clock.c' source_filename = "AnghaBench/sumatrapdf/ext/openjpeg/src/lib/openjp2/extr_opj_clock.c_opj_clock.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.rusage = type { %struct.TYPE_6__, %struct.TYPE_7__ } %struct.TYPE_6__ = type { i64, i64 } %struct.TYPE_7__ = type { i64, i64 } ; Function Attrs: nounwind ssp uwtable(sync) define i32 @opj_clock() local_unnamed_addr #0 { %1 = alloca %struct.rusage, align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #4 %2 = call i32 @getrusage(i32 noundef 0, ptr noundef nonnull %1) #4 %3 = getelementptr inbounds i8, ptr %1, i64 16 %4 = getelementptr inbounds i8, ptr %1, i64 24 %5 = load i64, ptr %4, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %1, i64 8 %7 = load i64, ptr %6, align 8, !tbaa !13 %8 = add nsw i64 %7, %5 %9 = trunc i64 %8 to i32 %10 = sitofp i32 %9 to double %11 = load i64, ptr %3, align 8, !tbaa !14 %12 = load i64, ptr %1, align 8, !tbaa !15 %13 = add nsw i64 %12, %11 %14 = trunc i64 %13 to i32 %15 = sitofp i32 %14 to double %16 = call double @llvm.fmuladd.f64(double %15, double 0x3EB0C6F7A0B5ED8D, double %10) %17 = fptosi double %16 to i32 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #4 ret i32 %17 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @getrusage(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 24} !7 = !{!"rusage", !8, i64 0, !12, i64 16} !8 = !{!"TYPE_6__", !9, i64 0, !9, i64 8} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"TYPE_7__", !9, i64 0, !9, i64 8} !13 = !{!7, !9, i64 8} !14 = !{!7, !9, i64 16} !15 = !{!7, !9, i64 0}
sumatrapdf_ext_openjpeg_src_lib_openjp2_extr_opj_clock.c_opj_clock
; ModuleID = 'AnghaBench/esp-idf/components/bt/esp_ble_mesh/mesh_core/extr_health_cli.c_bt_mesh_health_cli_timeout_set.c' source_filename = "AnghaBench/esp-idf/components/bt/esp_ble_mesh/mesh_core/extr_health_cli.c_bt_mesh_health_cli_timeout_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" @health_msg_timeout = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable define dso_local void @bt_mesh_health_cli_timeout_set(i32 noundef %0) local_unnamed_addr #0 { store i32 %0, ptr @health_msg_timeout, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/esp-idf/components/bt/esp_ble_mesh/mesh_core/extr_health_cli.c_bt_mesh_health_cli_timeout_set.c' source_filename = "AnghaBench/esp-idf/components/bt/esp_ble_mesh/mesh_core/extr_health_cli.c_bt_mesh_health_cli_timeout_set.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @health_msg_timeout = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) define void @bt_mesh_health_cli_timeout_set(i32 noundef %0) local_unnamed_addr #0 { store i32 %0, ptr @health_msg_timeout, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
esp-idf_components_bt_esp_ble_mesh_mesh_core_extr_health_cli.c_bt_mesh_health_cli_timeout_set
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-write.c_lpr_inherit.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-write.c_lpr_inherit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @Parent = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lpr_inherit], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @lpr_inherit(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { br label %5 5: ; preds = %12, %4 %6 = phi ptr [ %1, %4 ], [ %15, %12 ] %7 = phi i32 [ %3, %4 ], [ %16, %12 ] %8 = tail call ptr @pdf_dict_gets(ptr noundef %0, ptr noundef %6, ptr noundef %2) #2 %9 = icmp eq ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %5 %11 = tail call ptr @pdf_resolve_indirect(ptr noundef %0, ptr noundef nonnull %8) #2 br label %20 12: ; preds = %5 %13 = load i32, ptr @Parent, align 4, !tbaa !5 %14 = tail call i32 @PDF_NAME(i32 noundef %13) #2 %15 = tail call ptr @pdf_dict_get(ptr noundef %0, ptr noundef %6, i32 noundef %14) #2 %16 = add nsw i32 %7, -1 %17 = icmp sgt i32 %7, 0 %18 = icmp ne ptr %15, null %19 = select i1 %17, i1 %18, i1 false br i1 %19, label %5, label %20, !llvm.loop !9 20: ; preds = %12, %10 %21 = phi ptr [ %11, %10 ], [ null, %12 ] ret ptr %21 } declare ptr @pdf_dict_gets(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @pdf_resolve_indirect(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @pdf_dict_get(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PDF_NAME(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/sumatrapdf/mupdf/source/pdf/extr_pdf-write.c_lpr_inherit.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-write.c_lpr_inherit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @Parent = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @lpr_inherit], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @lpr_inherit(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { br label %5 5: ; preds = %12, %4 %6 = phi ptr [ %1, %4 ], [ %15, %12 ] %7 = phi i32 [ %3, %4 ], [ %16, %12 ] %8 = tail call ptr @pdf_dict_gets(ptr noundef %0, ptr noundef %6, ptr noundef %2) #2 %9 = icmp eq ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %5 %11 = tail call ptr @pdf_resolve_indirect(ptr noundef %0, ptr noundef nonnull %8) #2 br label %20 12: ; preds = %5 %13 = load i32, ptr @Parent, align 4, !tbaa !6 %14 = tail call i32 @PDF_NAME(i32 noundef %13) #2 %15 = tail call ptr @pdf_dict_get(ptr noundef %0, ptr noundef %6, i32 noundef %14) #2 %16 = add nsw i32 %7, -1 %17 = icmp sgt i32 %7, 0 %18 = icmp ne ptr %15, null %19 = select i1 %17, i1 %18, i1 false br i1 %19, label %5, label %20, !llvm.loop !10 20: ; preds = %12, %10 %21 = phi ptr [ %11, %10 ], [ null, %12 ] ret ptr %21 } declare ptr @pdf_dict_gets(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @pdf_resolve_indirect(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @pdf_dict_get(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PDF_NAME(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"}
sumatrapdf_mupdf_source_pdf_extr_pdf-write.c_lpr_inherit
; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_z2_battery.c_z2_charge_switch_irq.c' source_filename = "AnghaBench/linux/drivers/power/supply/extr_z2_battery.c_z2_charge_switch_irq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @z2_charge_switch_irq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @z2_charge_switch_irq(i32 %0, ptr noundef %1) #0 { %3 = tail call i32 @schedule_work(ptr noundef %1) #2 %4 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !5 ret i32 %4 } declare i32 @schedule_work(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/power/supply/extr_z2_battery.c_z2_charge_switch_irq.c' source_filename = "AnghaBench/linux/drivers/power/supply/extr_z2_battery.c_z2_charge_switch_irq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @z2_charge_switch_irq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @z2_charge_switch_irq(i32 %0, ptr noundef %1) #0 { %3 = tail call i32 @schedule_work(ptr noundef %1) #2 %4 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !6 ret i32 %4 } declare i32 @schedule_work(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_power_supply_extr_z2_battery.c_z2_charge_switch_irq
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/platform/libpicofe/extr_input.c_in_combos_do.c' source_filename = "AnghaBench/Provenance/Cores/PicoDrive/platform/libpicofe/extr_input.c_in_combos_do.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IN_BINDTYPE_EMU = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @in_combos_do(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = icmp slt i32 %2, 0 br i1 %6, label %73, label %7 7: ; preds = %5 %8 = xor i32 %4, -1 %9 = add nuw i32 %2, 1 br label %10 10: ; preds = %7, %68 %11 = phi i32 [ %0, %7 ], [ %70, %68 ] %12 = phi i32 [ 0, %7 ], [ %71, %68 ] %13 = phi i32 [ 0, %7 ], [ %69, %68 ] %14 = shl nuw i32 1, %12 %15 = and i32 %11, %14 %16 = icmp eq i32 %15, 0 br i1 %16, label %68, label %17 17: ; preds = %10 %18 = load i32, ptr @IN_BINDTYPE_EMU, align 4, !tbaa !5 %19 = tail call i64 @IN_BIND_OFFS(i32 noundef %12, i32 noundef %18) #2 %20 = getelementptr inbounds i32, ptr %1, i64 %19 %21 = load i32, ptr %20, align 4, !tbaa !5 %22 = icmp eq i32 %21, 0 br i1 %22, label %68, label %23 23: ; preds = %17 %24 = and i32 %14, %3 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = or i32 %21, %13 br label %68 28: ; preds = %23 %29 = and i32 %21, %4 %30 = icmp eq i32 %29, 0 br i1 %30, label %60, label %31 31: ; preds = %28 %32 = add nuw nsw i32 %12, 1 %33 = icmp slt i32 %12, %2 br i1 %33, label %34, label %60 34: ; preds = %31, %57 %35 = phi i32 [ %58, %57 ], [ %32, %31 ] %36 = phi i32 [ %35, %57 ], [ %12, %31 ] %37 = shl i32 2, %36 %38 = and i32 %37, %11 %39 = icmp eq i32 %38, 0 br i1 %39, label %57, label %40 40: ; preds = %34 %41 = load i32, ptr @IN_BINDTYPE_EMU, align 4, !tbaa !5 %42 = tail call i64 @IN_BIND_OFFS(i32 noundef %35, i32 noundef %41) #2 %43 = getelementptr inbounds i32, ptr %1, i64 %42 %44 = load i32, ptr %43, align 4, !tbaa !5 %45 = and i32 %44, %29 %46 = icmp eq i32 %45, 0 br i1 %46, label %57, label %47 47: ; preds = %40 %48 = load i32, ptr @IN_BINDTYPE_EMU, align 4, !tbaa !5 %49 = tail call i64 @IN_BIND_OFFS(i32 noundef %35, i32 noundef %48) #2 %50 = getelementptr inbounds i32, ptr %1, i64 %49 %51 = load i32, ptr %50, align 4, !tbaa !5 %52 = and i32 %51, %29 %53 = or i32 %52, %13 %54 = or i32 %37, %14 %55 = xor i32 %54, -1 %56 = and i32 %11, %55 br label %60 57: ; preds = %34, %40 %58 = add i32 %35, 1 %59 = icmp eq i32 %35, %2 br i1 %59, label %60, label %34, !llvm.loop !9 60: ; preds = %57, %31, %47, %28 %61 = phi i32 [ %53, %47 ], [ %13, %28 ], [ %13, %31 ], [ %13, %57 ] %62 = phi i32 [ %56, %47 ], [ %11, %28 ], [ %11, %31 ], [ %11, %57 ] %63 = phi i32 [ %35, %47 ], [ %2, %28 ], [ %32, %31 ], [ %9, %57 ] %64 = icmp slt i32 %63, %2 %65 = and i32 %21, %8 %66 = select i1 %64, i32 0, i32 %65 %67 = or i32 %66, %61 br label %68 68: ; preds = %17, %10, %60, %26 %69 = phi i32 [ %67, %60 ], [ %27, %26 ], [ %13, %10 ], [ %13, %17 ] %70 = phi i32 [ %62, %60 ], [ %11, %26 ], [ %11, %10 ], [ %11, %17 ] %71 = add nuw i32 %12, 1 %72 = icmp eq i32 %12, %2 br i1 %72, label %73, label %10, !llvm.loop !11 73: ; preds = %68, %5 %74 = phi i32 [ 0, %5 ], [ %69, %68 ] ret i32 %74 } declare i64 @IN_BIND_OFFS(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 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = distinct !{!11, !10}
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/platform/libpicofe/extr_input.c_in_combos_do.c' source_filename = "AnghaBench/Provenance/Cores/PicoDrive/platform/libpicofe/extr_input.c_in_combos_do.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IN_BINDTYPE_EMU = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @in_combos_do(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = icmp slt i32 %2, 0 br i1 %6, label %73, label %7 7: ; preds = %5 %8 = xor i32 %4, -1 %9 = add nuw i32 %2, 1 br label %10 10: ; preds = %7, %68 %11 = phi i32 [ %0, %7 ], [ %70, %68 ] %12 = phi i32 [ 0, %7 ], [ %71, %68 ] %13 = phi i32 [ 0, %7 ], [ %69, %68 ] %14 = shl nuw i32 1, %12 %15 = and i32 %11, %14 %16 = icmp eq i32 %15, 0 br i1 %16, label %68, label %17 17: ; preds = %10 %18 = load i32, ptr @IN_BINDTYPE_EMU, align 4, !tbaa !6 %19 = tail call i64 @IN_BIND_OFFS(i32 noundef %12, i32 noundef %18) #2 %20 = getelementptr inbounds i32, ptr %1, i64 %19 %21 = load i32, ptr %20, align 4, !tbaa !6 %22 = icmp eq i32 %21, 0 br i1 %22, label %68, label %23 23: ; preds = %17 %24 = and i32 %14, %3 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = or i32 %21, %13 br label %68 28: ; preds = %23 %29 = and i32 %21, %4 %30 = icmp eq i32 %29, 0 br i1 %30, label %60, label %31 31: ; preds = %28 %32 = add nuw nsw i32 %12, 1 %33 = icmp slt i32 %12, %2 br i1 %33, label %34, label %60 34: ; preds = %31, %57 %35 = phi i32 [ %58, %57 ], [ %32, %31 ] %36 = phi i32 [ %35, %57 ], [ %12, %31 ] %37 = shl nuw i32 2, %36 %38 = and i32 %37, %11 %39 = icmp eq i32 %38, 0 br i1 %39, label %57, label %40 40: ; preds = %34 %41 = load i32, ptr @IN_BINDTYPE_EMU, align 4, !tbaa !6 %42 = tail call i64 @IN_BIND_OFFS(i32 noundef %35, i32 noundef %41) #2 %43 = getelementptr inbounds i32, ptr %1, i64 %42 %44 = load i32, ptr %43, align 4, !tbaa !6 %45 = and i32 %44, %29 %46 = icmp eq i32 %45, 0 br i1 %46, label %57, label %47 47: ; preds = %40 %48 = load i32, ptr @IN_BINDTYPE_EMU, align 4, !tbaa !6 %49 = tail call i64 @IN_BIND_OFFS(i32 noundef %35, i32 noundef %48) #2 %50 = getelementptr inbounds i32, ptr %1, i64 %49 %51 = load i32, ptr %50, align 4, !tbaa !6 %52 = and i32 %51, %29 %53 = or i32 %52, %13 %54 = or i32 %37, %14 %55 = xor i32 %54, -1 %56 = and i32 %11, %55 br label %60 57: ; preds = %34, %40 %58 = add i32 %35, 1 %59 = icmp eq i32 %35, %2 br i1 %59, label %60, label %34, !llvm.loop !10 60: ; preds = %57, %31, %47, %28 %61 = phi i32 [ %53, %47 ], [ %13, %28 ], [ %13, %31 ], [ %13, %57 ] %62 = phi i32 [ %56, %47 ], [ %11, %28 ], [ %11, %31 ], [ %11, %57 ] %63 = phi i32 [ %35, %47 ], [ %2, %28 ], [ %32, %31 ], [ %9, %57 ] %64 = icmp slt i32 %63, %2 %65 = and i32 %21, %8 %66 = select i1 %64, i32 0, i32 %65 %67 = or i32 %66, %61 br label %68 68: ; preds = %17, %10, %60, %26 %69 = phi i32 [ %67, %60 ], [ %27, %26 ], [ %13, %10 ], [ %13, %17 ] %70 = phi i32 [ %62, %60 ], [ %11, %26 ], [ %11, %10 ], [ %11, %17 ] %71 = add nuw i32 %12, 1 %72 = icmp eq i32 %12, %2 br i1 %72, label %73, label %10, !llvm.loop !12 73: ; preds = %68, %5 %74 = phi i32 [ 0, %5 ], [ %69, %68 ] ret i32 %74 } declare i64 @IN_BIND_OFFS(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 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = distinct !{!12, !11}
Provenance_Cores_PicoDrive_platform_libpicofe_extr_input.c_in_combos_do
; ModuleID = 'AnghaBench/freebsd/sys/dev/ti/extr_if_ti.c_ti_handle_events.c' source_filename = "AnghaBench/freebsd/sys/dev/ti/extr_if_ti.c_ti_handle_events.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ti_softc = type { i64, %struct.TYPE_7__, i32, ptr, i32, %struct.TYPE_6__, %struct.TYPE_5__ } %struct.TYPE_7__ = type { i32, i32 } %struct.TYPE_6__ = type { ptr } %struct.TYPE_5__ = type { i64 } %struct.ti_event_desc = type { i32 } @BUS_DMASYNC_POSTREAD = dso_local local_unnamed_addr global i32 0, align 4 @TI_EV_CODE_LINK_UP = dso_local local_unnamed_addr global i32 0, align 4 @LINK_STATE_UP = dso_local local_unnamed_addr global i32 0, align 4 @bootverbose = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"10/100 link up\0A\00", align 1 @TI_EV_CODE_GIG_LINK_UP = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"gigabit link up\0A\00", align 1 @TI_EV_CODE_LINK_DOWN = dso_local local_unnamed_addr global i32 0, align 4 @LINK_STATE_DOWN = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"link down\0A\00", align 1 @TI_EV_CODE_ERR_INVAL_CMD = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [17 x i8] c"invalid command\0A\00", align 1 @TI_EV_CODE_ERR_UNIMP_CMD = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [17 x i8] c"unknown command\0A\00", align 1 @TI_EV_CODE_ERR_BADCFG = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [17 x i8] c"bad config data\0A\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"unknown event: %d\0A\00", align 1 @TI_EVENT_RING_CNT = dso_local local_unnamed_addr global i32 0, align 4 @TI_GCR_EVENTCONS_IDX = dso_local local_unnamed_addr global i32 0, align 4 @BUS_DMASYNC_PREREAD = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ti_handle_events], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ti_handle_events(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.ti_softc, ptr %0, i64 0, i32 5 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %109, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.ti_softc, ptr %0, i64 0, i32 1 %7 = getelementptr inbounds %struct.ti_softc, ptr %0, i64 0, i32 1, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !15 %9 = load i32, ptr %6, align 8, !tbaa !16 %10 = load i32, ptr @BUS_DMASYNC_POSTREAD, align 4, !tbaa !17 %11 = tail call i32 @bus_dmamap_sync(i32 noundef %8, i32 noundef %9, i32 noundef %10) #2 %12 = getelementptr inbounds %struct.ti_softc, ptr %0, i64 0, i32 6 %13 = load i64, ptr %0, align 8, !tbaa !18 %14 = load i64, ptr %12, align 8, !tbaa !19 %15 = icmp eq i64 %13, %14 br i1 %15, label %104, label %16 16: ; preds = %5 %17 = getelementptr inbounds %struct.ti_softc, ptr %0, i64 0, i32 2 %18 = getelementptr inbounds %struct.ti_softc, ptr %0, i64 0, i32 4 %19 = getelementptr inbounds %struct.ti_softc, ptr %0, i64 0, i32 3 br label %20 20: ; preds = %16, %94 %21 = phi i64 [ %13, %16 ], [ %101, %94 ] %22 = load ptr, ptr %2, align 8, !tbaa !5 %23 = getelementptr inbounds %struct.ti_event_desc, ptr %22, i64 %21 %24 = tail call i32 @TI_EVENT_EVENT(ptr noundef %23) #2 switch i32 %24, label %90 [ i32 131, label %25 i32 133, label %67 i32 132, label %88 i32 128, label %94 i32 129, label %94 i32 130, label %94 ] 25: ; preds = %20 %26 = tail call i32 @TI_EVENT_CODE(ptr noundef %23) #2 store i32 %26, ptr %18, align 8, !tbaa !20 %27 = load i32, ptr @TI_EV_CODE_LINK_UP, align 4, !tbaa !17 %28 = icmp eq i32 %26, %27 br i1 %28, label %29, label %40 29: ; preds = %25 %30 = load ptr, ptr %19, align 8, !tbaa !21 %31 = load i32, ptr @LINK_STATE_UP, align 4, !tbaa !17 %32 = tail call i32 @if_link_state_change(ptr noundef %30, i32 noundef %31) #2 %33 = tail call i32 @IF_Mbps(i32 noundef 100) #2 %34 = load ptr, ptr %19, align 8, !tbaa !21 store i32 %33, ptr %34, align 4, !tbaa !22 %35 = load i32, ptr @bootverbose, align 4, !tbaa !17 %36 = icmp eq i32 %35, 0 br i1 %36, label %94, label %37 37: ; preds = %29 %38 = load i32, ptr %17, align 8, !tbaa !24 %39 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %38, ptr noundef nonnull @.str) #2 br label %94 40: ; preds = %25 %41 = load i32, ptr @TI_EV_CODE_GIG_LINK_UP, align 4, !tbaa !17 %42 = icmp eq i32 %26, %41 br i1 %42, label %43, label %54 43: ; preds = %40 %44 = load ptr, ptr %19, align 8, !tbaa !21 %45 = load i32, ptr @LINK_STATE_UP, align 4, !tbaa !17 %46 = tail call i32 @if_link_state_change(ptr noundef %44, i32 noundef %45) #2 %47 = tail call i32 @IF_Gbps(i64 noundef 1) #2 %48 = load ptr, ptr %19, align 8, !tbaa !21 store i32 %47, ptr %48, align 4, !tbaa !22 %49 = load i32, ptr @bootverbose, align 4, !tbaa !17 %50 = icmp eq i32 %49, 0 br i1 %50, label %94, label %51 51: ; preds = %43 %52 = load i32, ptr %17, align 8, !tbaa !24 %53 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %52, ptr noundef nonnull @.str.1) #2 br label %94 54: ; preds = %40 %55 = load i32, ptr @TI_EV_CODE_LINK_DOWN, align 4, !tbaa !17 %56 = icmp eq i32 %26, %55 br i1 %56, label %57, label %94 57: ; preds = %54 %58 = load ptr, ptr %19, align 8, !tbaa !21 %59 = load i32, ptr @LINK_STATE_DOWN, align 4, !tbaa !17 %60 = tail call i32 @if_link_state_change(ptr noundef %58, i32 noundef %59) #2 %61 = load ptr, ptr %19, align 8, !tbaa !21 store i32 0, ptr %61, align 4, !tbaa !22 %62 = load i32, ptr @bootverbose, align 4, !tbaa !17 %63 = icmp eq i32 %62, 0 br i1 %63, label %94, label %64 64: ; preds = %57 %65 = load i32, ptr %17, align 8, !tbaa !24 %66 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %65, ptr noundef nonnull @.str.2) #2 br label %94 67: ; preds = %20 %68 = tail call i32 @TI_EVENT_CODE(ptr noundef %23) #2 %69 = load i32, ptr @TI_EV_CODE_ERR_INVAL_CMD, align 4, !tbaa !17 %70 = icmp eq i32 %68, %69 br i1 %70, label %71, label %74 71: ; preds = %67 %72 = load i32, ptr %17, align 8, !tbaa !24 %73 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %72, ptr noundef nonnull @.str.3) #2 br label %94 74: ; preds = %67 %75 = tail call i32 @TI_EVENT_CODE(ptr noundef %23) #2 %76 = load i32, ptr @TI_EV_CODE_ERR_UNIMP_CMD, align 4, !tbaa !17 %77 = icmp eq i32 %75, %76 br i1 %77, label %78, label %81 78: ; preds = %74 %79 = load i32, ptr %17, align 8, !tbaa !24 %80 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %79, ptr noundef nonnull @.str.4) #2 br label %94 81: ; preds = %74 %82 = tail call i32 @TI_EVENT_CODE(ptr noundef %23) #2 %83 = load i32, ptr @TI_EV_CODE_ERR_BADCFG, align 4, !tbaa !17 %84 = icmp eq i32 %82, %83 br i1 %84, label %85, label %94 85: ; preds = %81 %86 = load i32, ptr %17, align 8, !tbaa !24 %87 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %86, ptr noundef nonnull @.str.5) #2 br label %94 88: ; preds = %20 %89 = tail call i32 @ti_init2(ptr noundef nonnull %0) #2 br label %94 90: ; preds = %20 %91 = load i32, ptr %17, align 8, !tbaa !24 %92 = tail call i32 @TI_EVENT_EVENT(ptr noundef %23) #2 %93 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %91, ptr noundef nonnull @.str.6, i32 noundef %92) #2 br label %94 94: ; preds = %20, %20, %20, %71, %81, %85, %78, %37, %29, %54, %64, %57, %43, %51, %90, %88 %95 = load i64, ptr %0, align 8, !tbaa !18 %96 = load i32, ptr @TI_EVENT_RING_CNT, align 4, !tbaa !17 %97 = tail call i32 @TI_INC(i64 noundef %95, i32 noundef %96) #2 %98 = load i32, ptr @TI_GCR_EVENTCONS_IDX, align 4, !tbaa !17 %99 = load i64, ptr %0, align 8, !tbaa !18 %100 = tail call i32 @CSR_WRITE_4(ptr noundef nonnull %0, i32 noundef %98, i64 noundef %99) #2 %101 = load i64, ptr %0, align 8, !tbaa !18 %102 = load i64, ptr %12, align 8, !tbaa !19 %103 = icmp eq i64 %101, %102 br i1 %103, label %104, label %20, !llvm.loop !25 104: ; preds = %94, %5 %105 = load i32, ptr %7, align 4, !tbaa !15 %106 = load i32, ptr %6, align 8, !tbaa !16 %107 = load i32, ptr @BUS_DMASYNC_PREREAD, align 4, !tbaa !17 %108 = tail call i32 @bus_dmamap_sync(i32 noundef %105, i32 noundef %106, i32 noundef %107) #2 br label %109 109: ; preds = %1, %104 ret void } declare i32 @bus_dmamap_sync(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TI_EVENT_EVENT(ptr noundef) local_unnamed_addr #1 declare i32 @TI_EVENT_CODE(ptr noundef) local_unnamed_addr #1 declare i32 @if_link_state_change(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @IF_Mbps(i32 noundef) local_unnamed_addr #1 declare i32 @device_printf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @IF_Gbps(i64 noundef) local_unnamed_addr #1 declare i32 @ti_init2(ptr noundef) local_unnamed_addr #1 declare i32 @TI_INC(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CSR_WRITE_4(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !12, i64 40} !6 = !{!"ti_softc", !7, i64 0, !10, i64 8, !11, i64 16, !12, i64 24, !11, i64 32, !13, i64 40, !14, i64 48} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_7__", !11, i64 0, !11, i64 4} !11 = !{!"int", !8, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"TYPE_6__", !12, i64 0} !14 = !{!"TYPE_5__", !7, i64 0} !15 = !{!6, !11, i64 12} !16 = !{!6, !11, i64 8} !17 = !{!11, !11, i64 0} !18 = !{!6, !7, i64 0} !19 = !{!6, !7, i64 48} !20 = !{!6, !11, i64 32} !21 = !{!6, !12, i64 24} !22 = !{!23, !11, i64 0} !23 = !{!"TYPE_8__", !11, i64 0} !24 = !{!6, !11, i64 16} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ti/extr_if_ti.c_ti_handle_events.c' source_filename = "AnghaBench/freebsd/sys/dev/ti/extr_if_ti.c_ti_handle_events.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ti_event_desc = type { i32 } @BUS_DMASYNC_POSTREAD = common local_unnamed_addr global i32 0, align 4 @TI_EV_CODE_LINK_UP = common local_unnamed_addr global i32 0, align 4 @LINK_STATE_UP = common local_unnamed_addr global i32 0, align 4 @bootverbose = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"10/100 link up\0A\00", align 1 @TI_EV_CODE_GIG_LINK_UP = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"gigabit link up\0A\00", align 1 @TI_EV_CODE_LINK_DOWN = common local_unnamed_addr global i32 0, align 4 @LINK_STATE_DOWN = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"link down\0A\00", align 1 @TI_EV_CODE_ERR_INVAL_CMD = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [17 x i8] c"invalid command\0A\00", align 1 @TI_EV_CODE_ERR_UNIMP_CMD = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [17 x i8] c"unknown command\0A\00", align 1 @TI_EV_CODE_ERR_BADCFG = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [17 x i8] c"bad config data\0A\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"unknown event: %d\0A\00", align 1 @TI_EVENT_RING_CNT = common local_unnamed_addr global i32 0, align 4 @TI_GCR_EVENTCONS_IDX = common local_unnamed_addr global i32 0, align 4 @BUS_DMASYNC_PREREAD = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ti_handle_events], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ti_handle_events(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 40 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %109, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = getelementptr inbounds i8, ptr %0, i64 12 %8 = load i32, ptr %7, align 4, !tbaa !16 %9 = load i32, ptr %6, align 8, !tbaa !17 %10 = load i32, ptr @BUS_DMASYNC_POSTREAD, align 4, !tbaa !18 %11 = tail call i32 @bus_dmamap_sync(i32 noundef %8, i32 noundef %9, i32 noundef %10) #2 %12 = getelementptr inbounds i8, ptr %0, i64 48 %13 = load i64, ptr %0, align 8, !tbaa !19 %14 = load i64, ptr %12, align 8, !tbaa !20 %15 = icmp eq i64 %13, %14 br i1 %15, label %104, label %16 16: ; preds = %5 %17 = getelementptr inbounds i8, ptr %0, i64 16 %18 = getelementptr inbounds i8, ptr %0, i64 32 %19 = getelementptr inbounds i8, ptr %0, i64 24 br label %20 20: ; preds = %16, %94 %21 = phi i64 [ %13, %16 ], [ %101, %94 ] %22 = load ptr, ptr %2, align 8, !tbaa !6 %23 = getelementptr inbounds %struct.ti_event_desc, ptr %22, i64 %21 %24 = tail call i32 @TI_EVENT_EVENT(ptr noundef %23) #2 switch i32 %24, label %90 [ i32 131, label %25 i32 133, label %67 i32 132, label %88 i32 128, label %94 i32 129, label %94 i32 130, label %94 ] 25: ; preds = %20 %26 = tail call i32 @TI_EVENT_CODE(ptr noundef %23) #2 store i32 %26, ptr %18, align 8, !tbaa !21 %27 = load i32, ptr @TI_EV_CODE_LINK_UP, align 4, !tbaa !18 %28 = icmp eq i32 %26, %27 br i1 %28, label %29, label %40 29: ; preds = %25 %30 = load ptr, ptr %19, align 8, !tbaa !22 %31 = load i32, ptr @LINK_STATE_UP, align 4, !tbaa !18 %32 = tail call i32 @if_link_state_change(ptr noundef %30, i32 noundef %31) #2 %33 = tail call i32 @IF_Mbps(i32 noundef 100) #2 %34 = load ptr, ptr %19, align 8, !tbaa !22 store i32 %33, ptr %34, align 4, !tbaa !23 %35 = load i32, ptr @bootverbose, align 4, !tbaa !18 %36 = icmp eq i32 %35, 0 br i1 %36, label %94, label %37 37: ; preds = %29 %38 = load i32, ptr %17, align 8, !tbaa !25 %39 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %38, ptr noundef nonnull @.str) #2 br label %94 40: ; preds = %25 %41 = load i32, ptr @TI_EV_CODE_GIG_LINK_UP, align 4, !tbaa !18 %42 = icmp eq i32 %26, %41 br i1 %42, label %43, label %54 43: ; preds = %40 %44 = load ptr, ptr %19, align 8, !tbaa !22 %45 = load i32, ptr @LINK_STATE_UP, align 4, !tbaa !18 %46 = tail call i32 @if_link_state_change(ptr noundef %44, i32 noundef %45) #2 %47 = tail call i32 @IF_Gbps(i64 noundef 1) #2 %48 = load ptr, ptr %19, align 8, !tbaa !22 store i32 %47, ptr %48, align 4, !tbaa !23 %49 = load i32, ptr @bootverbose, align 4, !tbaa !18 %50 = icmp eq i32 %49, 0 br i1 %50, label %94, label %51 51: ; preds = %43 %52 = load i32, ptr %17, align 8, !tbaa !25 %53 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %52, ptr noundef nonnull @.str.1) #2 br label %94 54: ; preds = %40 %55 = load i32, ptr @TI_EV_CODE_LINK_DOWN, align 4, !tbaa !18 %56 = icmp eq i32 %26, %55 br i1 %56, label %57, label %94 57: ; preds = %54 %58 = load ptr, ptr %19, align 8, !tbaa !22 %59 = load i32, ptr @LINK_STATE_DOWN, align 4, !tbaa !18 %60 = tail call i32 @if_link_state_change(ptr noundef %58, i32 noundef %59) #2 %61 = load ptr, ptr %19, align 8, !tbaa !22 store i32 0, ptr %61, align 4, !tbaa !23 %62 = load i32, ptr @bootverbose, align 4, !tbaa !18 %63 = icmp eq i32 %62, 0 br i1 %63, label %94, label %64 64: ; preds = %57 %65 = load i32, ptr %17, align 8, !tbaa !25 %66 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %65, ptr noundef nonnull @.str.2) #2 br label %94 67: ; preds = %20 %68 = tail call i32 @TI_EVENT_CODE(ptr noundef %23) #2 %69 = load i32, ptr @TI_EV_CODE_ERR_INVAL_CMD, align 4, !tbaa !18 %70 = icmp eq i32 %68, %69 br i1 %70, label %71, label %74 71: ; preds = %67 %72 = load i32, ptr %17, align 8, !tbaa !25 %73 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %72, ptr noundef nonnull @.str.3) #2 br label %94 74: ; preds = %67 %75 = tail call i32 @TI_EVENT_CODE(ptr noundef %23) #2 %76 = load i32, ptr @TI_EV_CODE_ERR_UNIMP_CMD, align 4, !tbaa !18 %77 = icmp eq i32 %75, %76 br i1 %77, label %78, label %81 78: ; preds = %74 %79 = load i32, ptr %17, align 8, !tbaa !25 %80 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %79, ptr noundef nonnull @.str.4) #2 br label %94 81: ; preds = %74 %82 = tail call i32 @TI_EVENT_CODE(ptr noundef %23) #2 %83 = load i32, ptr @TI_EV_CODE_ERR_BADCFG, align 4, !tbaa !18 %84 = icmp eq i32 %82, %83 br i1 %84, label %85, label %94 85: ; preds = %81 %86 = load i32, ptr %17, align 8, !tbaa !25 %87 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %86, ptr noundef nonnull @.str.5) #2 br label %94 88: ; preds = %20 %89 = tail call i32 @ti_init2(ptr noundef nonnull %0) #2 br label %94 90: ; preds = %20 %91 = load i32, ptr %17, align 8, !tbaa !25 %92 = tail call i32 @TI_EVENT_EVENT(ptr noundef %23) #2 %93 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %91, ptr noundef nonnull @.str.6, i32 noundef %92) #2 br label %94 94: ; preds = %20, %20, %20, %71, %81, %85, %78, %37, %29, %54, %64, %57, %43, %51, %90, %88 %95 = load i64, ptr %0, align 8, !tbaa !19 %96 = load i32, ptr @TI_EVENT_RING_CNT, align 4, !tbaa !18 %97 = tail call i32 @TI_INC(i64 noundef %95, i32 noundef %96) #2 %98 = load i32, ptr @TI_GCR_EVENTCONS_IDX, align 4, !tbaa !18 %99 = load i64, ptr %0, align 8, !tbaa !19 %100 = tail call i32 @CSR_WRITE_4(ptr noundef nonnull %0, i32 noundef %98, i64 noundef %99) #2 %101 = load i64, ptr %0, align 8, !tbaa !19 %102 = load i64, ptr %12, align 8, !tbaa !20 %103 = icmp eq i64 %101, %102 br i1 %103, label %104, label %20, !llvm.loop !26 104: ; preds = %94, %5 %105 = load i32, ptr %7, align 4, !tbaa !16 %106 = load i32, ptr %6, align 8, !tbaa !17 %107 = load i32, ptr @BUS_DMASYNC_PREREAD, align 4, !tbaa !18 %108 = tail call i32 @bus_dmamap_sync(i32 noundef %105, i32 noundef %106, i32 noundef %107) #2 br label %109 109: ; preds = %1, %104 ret void } declare i32 @bus_dmamap_sync(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TI_EVENT_EVENT(ptr noundef) local_unnamed_addr #1 declare i32 @TI_EVENT_CODE(ptr noundef) local_unnamed_addr #1 declare i32 @if_link_state_change(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @IF_Mbps(i32 noundef) local_unnamed_addr #1 declare i32 @device_printf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @IF_Gbps(i64 noundef) local_unnamed_addr #1 declare i32 @ti_init2(ptr noundef) local_unnamed_addr #1 declare i32 @TI_INC(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CSR_WRITE_4(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !13, i64 40} !7 = !{!"ti_softc", !8, i64 0, !11, i64 8, !12, i64 16, !13, i64 24, !12, i64 32, !14, i64 40, !15, i64 48} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_7__", !12, i64 0, !12, i64 4} !12 = !{!"int", !9, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!"TYPE_6__", !13, i64 0} !15 = !{!"TYPE_5__", !8, i64 0} !16 = !{!7, !12, i64 12} !17 = !{!7, !12, i64 8} !18 = !{!12, !12, i64 0} !19 = !{!7, !8, i64 0} !20 = !{!7, !8, i64 48} !21 = !{!7, !12, i64 32} !22 = !{!7, !13, i64 24} !23 = !{!24, !12, i64 0} !24 = !{!"TYPE_8__", !12, i64 0} !25 = !{!7, !12, i64 16} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"}
freebsd_sys_dev_ti_extr_if_ti.c_ti_handle_events
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_arb_program_shader.c_vs_args_equal.c' source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_arb_program_shader.c_vs_args_equal.c" target datalayout = "e-m:e-p270:32:32-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.arb_vs_compile_args = type { i64, i32, %struct.TYPE_6__, %struct.TYPE_5__, %struct.TYPE_4__ } %struct.TYPE_6__ = type { i64 } %struct.TYPE_5__ = type { i64 } %struct.TYPE_4__ = type { i32, i64, i64 } @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vs_args_equal], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @vs_args_equal(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) #0 { %5 = getelementptr inbounds %struct.arb_vs_compile_args, ptr %0, i64 0, i32 4 %6 = load i32, ptr %5, align 8, !tbaa !5 %7 = and i32 %6, %2 %8 = getelementptr inbounds %struct.arb_vs_compile_args, ptr %1, i64 0, i32 4 %9 = load i32, ptr %8, align 8, !tbaa !5 %10 = icmp eq i32 %7, %9 br i1 %10, label %13, label %11 11: ; preds = %4 %12 = load i32, ptr @FALSE, align 4, !tbaa !14 br label %63 13: ; preds = %4 %14 = getelementptr inbounds %struct.arb_vs_compile_args, ptr %0, i64 0, i32 4, i32 1 %15 = load i64, ptr %14, align 8, !tbaa !15 %16 = getelementptr inbounds %struct.arb_vs_compile_args, ptr %1, i64 0, i32 4, i32 1 %17 = load i64, ptr %16, align 8, !tbaa !15 %18 = icmp eq i64 %15, %17 br i1 %18, label %21, label %19 19: ; preds = %13 %20 = load i32, ptr @FALSE, align 4, !tbaa !14 br label %63 21: ; preds = %13 %22 = getelementptr inbounds %struct.arb_vs_compile_args, ptr %0, i64 0, i32 4, i32 2 %23 = load i64, ptr %22, align 8, !tbaa !16 %24 = getelementptr inbounds %struct.arb_vs_compile_args, ptr %1, i64 0, i32 4, i32 2 %25 = load i64, ptr %24, align 8, !tbaa !16 %26 = icmp eq i64 %23, %25 br i1 %26, label %29, label %27 27: ; preds = %21 %28 = load i32, ptr @FALSE, align 4, !tbaa !14 br label %63 29: ; preds = %21 %30 = getelementptr inbounds %struct.arb_vs_compile_args, ptr %0, i64 0, i32 3 %31 = load i64, ptr %30, align 8, !tbaa !17 %32 = getelementptr inbounds %struct.arb_vs_compile_args, ptr %1, i64 0, i32 3 %33 = load i64, ptr %32, align 8, !tbaa !17 %34 = icmp eq i64 %31, %33 br i1 %34, label %37, label %35 35: ; preds = %29 %36 = load i32, ptr @FALSE, align 4, !tbaa !14 br label %63 37: ; preds = %29 %38 = load i64, ptr %0, align 8, !tbaa !18 %39 = load i64, ptr %1, align 8, !tbaa !18 %40 = icmp eq i64 %38, %39 br i1 %40, label %43, label %41 41: ; preds = %37 %42 = load i32, ptr @FALSE, align 4, !tbaa !14 br label %63 43: ; preds = %37 %44 = getelementptr inbounds %struct.arb_vs_compile_args, ptr %0, i64 0, i32 2 %45 = load i64, ptr %44, align 8, !tbaa !19 %46 = getelementptr inbounds %struct.arb_vs_compile_args, ptr %1, i64 0, i32 2 %47 = load i64, ptr %46, align 8, !tbaa !19 %48 = icmp eq i64 %45, %47 br i1 %48, label %51, label %49 49: ; preds = %43 %50 = load i32, ptr @FALSE, align 4, !tbaa !14 br label %63 51: ; preds = %43 %52 = icmp eq i32 %3, 0 br i1 %52, label %55, label %53 53: ; preds = %51 %54 = load i32, ptr @TRUE, align 4, !tbaa !14 br label %63 55: ; preds = %51 %56 = getelementptr inbounds %struct.arb_vs_compile_args, ptr %0, i64 0, i32 1 %57 = load i32, ptr %56, align 8, !tbaa !20 %58 = getelementptr inbounds %struct.arb_vs_compile_args, ptr %1, i64 0, i32 1 %59 = load i32, ptr %58, align 8, !tbaa !20 %60 = tail call i32 @memcmp(i32 noundef %57, i32 noundef %59, i32 noundef 4) #2 %61 = icmp eq i32 %60, 0 %62 = zext i1 %61 to i32 br label %63 63: ; preds = %55, %53, %49, %41, %35, %27, %19, %11 %64 = phi i32 [ %12, %11 ], [ %20, %19 ], [ %28, %27 ], [ %36, %35 ], [ %42, %41 ], [ %50, %49 ], [ %54, %53 ], [ %62, %55 ] ret i32 %64 } declare i32 @memcmp(i32 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, !10, i64 32} !6 = !{!"arb_vs_compile_args", !7, i64 0, !10, i64 8, !11, i64 16, !12, i64 24, !13, i64 32} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"TYPE_6__", !7, i64 0} !12 = !{!"TYPE_5__", !7, i64 0} !13 = !{!"TYPE_4__", !10, i64 0, !7, i64 8, !7, i64 16} !14 = !{!10, !10, i64 0} !15 = !{!6, !7, i64 40} !16 = !{!6, !7, i64 48} !17 = !{!6, !7, i64 24} !18 = !{!6, !7, i64 0} !19 = !{!6, !7, i64 16} !20 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_arb_program_shader.c_vs_args_equal.c' source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_arb_program_shader.c_vs_args_equal.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FALSE = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vs_args_equal], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @vs_args_equal(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) #0 { %5 = getelementptr inbounds i8, ptr %0, i64 32 %6 = load i32, ptr %5, align 8, !tbaa !6 %7 = and i32 %6, %2 %8 = getelementptr inbounds i8, ptr %1, i64 32 %9 = load i32, ptr %8, align 8, !tbaa !6 %10 = icmp eq i32 %7, %9 br i1 %10, label %13, label %11 11: ; preds = %4 %12 = load i32, ptr @FALSE, align 4, !tbaa !15 br label %63 13: ; preds = %4 %14 = getelementptr inbounds i8, ptr %0, i64 40 %15 = load i64, ptr %14, align 8, !tbaa !16 %16 = getelementptr inbounds i8, ptr %1, i64 40 %17 = load i64, ptr %16, align 8, !tbaa !16 %18 = icmp eq i64 %15, %17 br i1 %18, label %21, label %19 19: ; preds = %13 %20 = load i32, ptr @FALSE, align 4, !tbaa !15 br label %63 21: ; preds = %13 %22 = getelementptr inbounds i8, ptr %0, i64 48 %23 = load i64, ptr %22, align 8, !tbaa !17 %24 = getelementptr inbounds i8, ptr %1, i64 48 %25 = load i64, ptr %24, align 8, !tbaa !17 %26 = icmp eq i64 %23, %25 br i1 %26, label %29, label %27 27: ; preds = %21 %28 = load i32, ptr @FALSE, align 4, !tbaa !15 br label %63 29: ; preds = %21 %30 = getelementptr inbounds i8, ptr %0, i64 24 %31 = load i64, ptr %30, align 8, !tbaa !18 %32 = getelementptr inbounds i8, ptr %1, i64 24 %33 = load i64, ptr %32, align 8, !tbaa !18 %34 = icmp eq i64 %31, %33 br i1 %34, label %37, label %35 35: ; preds = %29 %36 = load i32, ptr @FALSE, align 4, !tbaa !15 br label %63 37: ; preds = %29 %38 = load i64, ptr %0, align 8, !tbaa !19 %39 = load i64, ptr %1, align 8, !tbaa !19 %40 = icmp eq i64 %38, %39 br i1 %40, label %43, label %41 41: ; preds = %37 %42 = load i32, ptr @FALSE, align 4, !tbaa !15 br label %63 43: ; preds = %37 %44 = getelementptr inbounds i8, ptr %0, i64 16 %45 = load i64, ptr %44, align 8, !tbaa !20 %46 = getelementptr inbounds i8, ptr %1, i64 16 %47 = load i64, ptr %46, align 8, !tbaa !20 %48 = icmp eq i64 %45, %47 br i1 %48, label %51, label %49 49: ; preds = %43 %50 = load i32, ptr @FALSE, align 4, !tbaa !15 br label %63 51: ; preds = %43 %52 = icmp eq i32 %3, 0 br i1 %52, label %55, label %53 53: ; preds = %51 %54 = load i32, ptr @TRUE, align 4, !tbaa !15 br label %63 55: ; preds = %51 %56 = getelementptr inbounds i8, ptr %0, i64 8 %57 = load i32, ptr %56, align 8, !tbaa !21 %58 = getelementptr inbounds i8, ptr %1, i64 8 %59 = load i32, ptr %58, align 8, !tbaa !21 %60 = tail call i32 @memcmp(i32 noundef %57, i32 noundef %59, i32 noundef 4) #2 %61 = icmp eq i32 %60, 0 %62 = zext i1 %61 to i32 br label %63 63: ; preds = %55, %53, %49, %41, %35, %27, %19, %11 %64 = phi i32 [ %12, %11 ], [ %20, %19 ], [ %28, %27 ], [ %36, %35 ], [ %42, %41 ], [ %50, %49 ], [ %54, %53 ], [ %62, %55 ] ret i32 %64 } declare i32 @memcmp(i32 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, !11, i64 32} !7 = !{!"arb_vs_compile_args", !8, i64 0, !11, i64 8, !12, i64 16, !13, i64 24, !14, i64 32} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"TYPE_6__", !8, i64 0} !13 = !{!"TYPE_5__", !8, i64 0} !14 = !{!"TYPE_4__", !11, i64 0, !8, i64 8, !8, i64 16} !15 = !{!11, !11, i64 0} !16 = !{!7, !8, i64 40} !17 = !{!7, !8, i64 48} !18 = !{!7, !8, i64 24} !19 = !{!7, !8, i64 0} !20 = !{!7, !8, i64 16} !21 = !{!7, !11, i64 8}
reactos_dll_directx_wine_wined3d_extr_arb_program_shader.c_vs_args_equal
; ModuleID = 'AnghaBench/hashcat/deps/secp256k1/src/extr_secp256k1.c_secp256k1_default_illegal_callback_fn.c' source_filename = "AnghaBench/hashcat/deps/secp256k1/src/extr_secp256k1.c_secp256k1_default_illegal_callback_fn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"[libsecp256k1] illegal argument: %s\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @secp256k1_default_illegal_callback_fn], section "llvm.metadata" ; Function Attrs: noreturn nounwind uwtable define internal void @secp256k1_default_illegal_callback_fn(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr @stderr, align 4, !tbaa !5 %4 = tail call i32 @fprintf(i32 noundef %3, ptr noundef nonnull @.str, ptr noundef %0) #3 %5 = tail call i32 (...) @abort() #4 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @abort(...) local_unnamed_addr #2 attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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 #3 = { nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/hashcat/deps/secp256k1/src/extr_secp256k1.c_secp256k1_default_illegal_callback_fn.c' source_filename = "AnghaBench/hashcat/deps/secp256k1/src/extr_secp256k1.c_secp256k1_default_illegal_callback_fn.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @stderr = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"[libsecp256k1] illegal argument: %s\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @secp256k1_default_illegal_callback_fn], section "llvm.metadata" ; Function Attrs: noreturn nounwind ssp uwtable(sync) define internal void @secp256k1_default_illegal_callback_fn(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr @stderr, align 4, !tbaa !6 %4 = tail call i32 @fprintf(i32 noundef %3, ptr noundef nonnull @.str, ptr noundef %0) #3 %5 = tail call i32 @abort() #4 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @abort(...) local_unnamed_addr #2 attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { 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 #3 = { nounwind } attributes #4 = { 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"}
hashcat_deps_secp256k1_src_extr_secp256k1.c_secp256k1_default_illegal_callback_fn
; ModuleID = 'AnghaBench/linux/drivers/pci/controller/dwc/extr_pci-layerscape-ep.c_ls_pcie_ep_init.c' source_filename = "AnghaBench/linux/drivers/pci/controller/dwc/extr_pci-layerscape-ep.c_ls_pcie_ep_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" @BAR_0 = dso_local local_unnamed_addr global i32 0, align 4 @BAR_5 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ls_pcie_ep_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ls_pcie_ep_init(ptr noundef %0) #0 { %2 = tail call ptr @to_dw_pcie_from_ep(ptr noundef %0) #2 %3 = load i32, ptr @BAR_0, align 4, !tbaa !5 %4 = load i32, ptr @BAR_5, align 4, !tbaa !5 %5 = icmp ugt i32 %3, %4 br i1 %5, label %12, label %6 6: ; preds = %1, %6 %7 = phi i32 [ %9, %6 ], [ %3, %1 ] %8 = tail call i32 @dw_pcie_ep_reset_bar(ptr noundef %2, i32 noundef %7) #2 %9 = add i32 %7, 1 %10 = load i32, ptr @BAR_5, align 4, !tbaa !5 %11 = icmp ugt i32 %9, %10 br i1 %11, label %12, label %6, !llvm.loop !9 12: ; preds = %6, %1 ret void } declare ptr @to_dw_pcie_from_ep(ptr noundef) local_unnamed_addr #1 declare i32 @dw_pcie_ep_reset_bar(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/pci/controller/dwc/extr_pci-layerscape-ep.c_ls_pcie_ep_init.c' source_filename = "AnghaBench/linux/drivers/pci/controller/dwc/extr_pci-layerscape-ep.c_ls_pcie_ep_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BAR_0 = common local_unnamed_addr global i32 0, align 4 @BAR_5 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ls_pcie_ep_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ls_pcie_ep_init(ptr noundef %0) #0 { %2 = tail call ptr @to_dw_pcie_from_ep(ptr noundef %0) #2 %3 = load i32, ptr @BAR_0, align 4, !tbaa !6 %4 = load i32, ptr @BAR_5, align 4, !tbaa !6 %5 = icmp ugt i32 %3, %4 br i1 %5, label %12, label %6 6: ; preds = %1, %6 %7 = phi i32 [ %9, %6 ], [ %3, %1 ] %8 = tail call i32 @dw_pcie_ep_reset_bar(ptr noundef %2, i32 noundef %7) #2 %9 = add i32 %7, 1 %10 = load i32, ptr @BAR_5, align 4, !tbaa !6 %11 = icmp ugt i32 %9, %10 br i1 %11, label %12, label %6, !llvm.loop !10 12: ; preds = %6, %1 ret void } declare ptr @to_dw_pcie_from_ep(ptr noundef) local_unnamed_addr #1 declare i32 @dw_pcie_ep_reset_bar(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_pci_controller_dwc_extr_pci-layerscape-ep.c_ls_pcie_ep_init
; ModuleID = 'AnghaBench/linux/drivers/macintosh/extr_windfarm_pm121.c_pm121_correct.c' source_filename = "AnghaBench/linux/drivers/macintosh/extr_windfarm_pm121.c_pm121_correct.c" target datalayout = "e-m:e-p270:32:32-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.pm121_correction = type { i32, i64 } @corrections = dso_local local_unnamed_addr global ptr null, align 8 @pm121_mach_model = dso_local local_unnamed_addr global i32 0, align 4 @average_power = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pm121_correct], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @pm121_correct(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr @corrections, align 8, !tbaa !5 %5 = zext i32 %1 to i64 %6 = getelementptr inbounds ptr, ptr %4, i64 %5 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = load i32, ptr @pm121_mach_model, align 4, !tbaa !9 %9 = sext i32 %8 to i64 %10 = getelementptr %struct.pm121_correction, ptr %7, i64 %9 %11 = getelementptr %struct.pm121_correction, ptr %10, i64 -2 %12 = load i32, ptr @average_power, align 4, !tbaa !9 %13 = load i32, ptr %11, align 8, !tbaa !11 %14 = mul nsw i32 %13, %12 %15 = ashr i32 %14, 16 %16 = getelementptr %struct.pm121_correction, ptr %10, i64 -2, i32 1 %17 = load i64, ptr %16, align 8, !tbaa !14 %18 = trunc i64 %17 to i32 %19 = add i32 %15, %18 %20 = ashr i32 %19, 16 %21 = add nsw i32 %20, %2 %22 = tail call i32 @max3(i32 noundef %0, i32 noundef %21, i32 noundef 0) #2 ret i32 %22 } declare i32 @max3(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 = !{!"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 = !{!"pm121_correction", !10, i64 0, !13, i64 8} !13 = !{!"long", !7, i64 0} !14 = !{!12, !13, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/macintosh/extr_windfarm_pm121.c_pm121_correct.c' source_filename = "AnghaBench/linux/drivers/macintosh/extr_windfarm_pm121.c_pm121_correct.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.pm121_correction = type { i32, i64 } @corrections = common local_unnamed_addr global ptr null, align 8 @pm121_mach_model = common local_unnamed_addr global i32 0, align 4 @average_power = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pm121_correct], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @pm121_correct(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr @corrections, align 8, !tbaa !6 %5 = zext i32 %1 to i64 %6 = getelementptr inbounds ptr, ptr %4, i64 %5 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = load i32, ptr @pm121_mach_model, align 4, !tbaa !10 %9 = sext i32 %8 to i64 %10 = getelementptr %struct.pm121_correction, ptr %7, i64 %9 %11 = getelementptr i8, ptr %10, i64 -32 %12 = load i32, ptr @average_power, align 4, !tbaa !10 %13 = load i32, ptr %11, align 8, !tbaa !12 %14 = mul nsw i32 %13, %12 %15 = ashr i32 %14, 16 %16 = getelementptr i8, ptr %10, i64 -24 %17 = load i64, ptr %16, align 8, !tbaa !15 %18 = trunc i64 %17 to i32 %19 = add i32 %15, %18 %20 = ashr i32 %19, 16 %21 = add nsw i32 %20, %2 %22 = tail call i32 @max3(i32 noundef %0, i32 noundef %21, i32 noundef 0) #2 ret i32 %22 } declare i32 @max3(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 = !{!"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 = !{!"pm121_correction", !11, i64 0, !14, i64 8} !14 = !{!"long", !8, i64 0} !15 = !{!13, !14, i64 8}
linux_drivers_macintosh_extr_windfarm_pm121.c_pm121_correct
; ModuleID = 'AnghaBench/linux/scripts/extr_asn1_compiler.c_main.c' source_filename = "AnghaBench/linux/scripts/extr_asn1_compiler.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.stat = type { i64 } @.str = private unnamed_addr constant [15 x i8] c"KBUILD_VERBOSE\00", align 1 @verbose_opt = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"-v\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-d\00", align 1 @debug_opt = dso_local local_unnamed_addr global i32 0, align 4 @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [57 x i8] c"Format: %s [-v] [-d] <grammar-file> <c-file> <hdr-file>\0A\00", align 1 @filename = dso_local local_unnamed_addr global ptr null, align 8 @outputname = dso_local local_unnamed_addr global ptr null, align 8 @headername = dso_local local_unnamed_addr global ptr null, align 8 @O_RDONLY = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [16 x i8] c"%s: Short read\0A\00", align 1 @grammar_name = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [2 x i8] c"w\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.stat, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #9 %4 = tail call ptr @getenv(ptr noundef nonnull @.str) %5 = icmp eq ptr %4, null br i1 %5, label %8, label %6 6: ; preds = %2 %7 = tail call i32 @atoi(ptr nocapture noundef nonnull %4) store i32 %7, ptr @verbose_opt, align 4, !tbaa !5 br label %8 8: ; preds = %6, %2 %9 = icmp sgt i32 %0, 4 br i1 %9, label %10, label %29 10: ; preds = %8 %11 = getelementptr inbounds ptr, ptr %1, i64 1 %12 = getelementptr inbounds ptr, ptr %1, i64 2 br label %13 13: ; preds = %10, %22 %14 = phi i32 [ %0, %10 ], [ %27, %22 ] %15 = load ptr, ptr %11, align 8, !tbaa !9 %16 = tail call i64 @strcmp(ptr noundef %15, ptr noundef nonnull @.str.1) #9 %17 = icmp eq i64 %16, 0 br i1 %17, label %22, label %18 18: ; preds = %13 %19 = load ptr, ptr %11, align 8, !tbaa !9 %20 = tail call i64 @strcmp(ptr noundef %19, ptr noundef nonnull @.str.2) #9 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %31 22: ; preds = %18, %13 %23 = phi ptr [ @verbose_opt, %13 ], [ @debug_opt, %18 ] store i32 1, ptr %23, align 4, !tbaa !5 %24 = shl i32 %14, 3 %25 = add i32 %24, -16 %26 = tail call i32 @memmove(ptr noundef nonnull %11, ptr noundef nonnull %12, i32 noundef %25) #9 %27 = add nsw i32 %14, -1 %28 = icmp sgt i32 %14, 5 br i1 %28, label %13, label %36, !llvm.loop !11 29: ; preds = %8 %30 = icmp eq i32 %0, 4 br i1 %30, label %36, label %31 31: ; preds = %18, %29 %32 = load i32, ptr @stderr, align 4, !tbaa !5 %33 = load ptr, ptr %1, align 8, !tbaa !9 %34 = tail call i32 @fprintf(i32 noundef %32, ptr noundef nonnull @.str.3, ptr noundef %33) #9 %35 = tail call i32 @exit(i32 noundef 2) #10 unreachable 36: ; preds = %22, %29 %37 = getelementptr inbounds ptr, ptr %1, i64 1 %38 = load ptr, ptr %37, align 8, !tbaa !9 store ptr %38, ptr @filename, align 8, !tbaa !9 %39 = getelementptr inbounds ptr, ptr %1, i64 2 %40 = load ptr, ptr %39, align 8, !tbaa !9 store ptr %40, ptr @outputname, align 8, !tbaa !9 %41 = getelementptr inbounds ptr, ptr %1, i64 3 %42 = load ptr, ptr %41, align 8, !tbaa !9 store ptr %42, ptr @headername, align 8, !tbaa !9 %43 = load i32, ptr @O_RDONLY, align 4, !tbaa !5 %44 = tail call i32 @open(ptr noundef %38, i32 noundef %43) #9 %45 = icmp slt i32 %44, 0 br i1 %45, label %46, label %50 46: ; preds = %36 %47 = load ptr, ptr @filename, align 8, !tbaa !9 %48 = tail call i32 @perror(ptr noundef %47) #9 %49 = tail call i32 @exit(i32 noundef 1) #10 unreachable 50: ; preds = %36 %51 = call i64 @fstat(i32 noundef %44, ptr noundef nonnull %3) #9 %52 = icmp slt i64 %51, 0 br i1 %52, label %53, label %57 53: ; preds = %50 %54 = load ptr, ptr @filename, align 8, !tbaa !9 %55 = call i32 @perror(ptr noundef %54) #9 %56 = call i32 @exit(i32 noundef 1) #10 unreachable 57: ; preds = %50 %58 = load i64, ptr %3, align 8, !tbaa !13 %59 = add i64 %58, 1 %60 = call ptr @malloc(i64 noundef %59) %61 = icmp eq ptr %60, null br i1 %61, label %62, label %65 62: ; preds = %57 %63 = call i32 @perror(ptr noundef null) #9 %64 = call i32 @exit(i32 noundef 1) #10 unreachable 65: ; preds = %57 %66 = call i64 @read(i32 noundef %44, ptr noundef nonnull %60, i64 noundef %58) #9 %67 = call i64 @close(i32 noundef %44) #9 %68 = icmp slt i64 %67, 0 br i1 %68, label %69, label %73 69: ; preds = %65 %70 = load ptr, ptr @filename, align 8, !tbaa !9 %71 = call i32 @perror(ptr noundef %70) #9 %72 = call i32 @exit(i32 noundef 1) #10 unreachable 73: ; preds = %65 %74 = load i64, ptr %3, align 8, !tbaa !13 %75 = icmp eq i64 %66, %74 br i1 %75, label %81, label %76 76: ; preds = %73 %77 = load i32, ptr @stderr, align 4, !tbaa !5 %78 = load ptr, ptr @filename, align 8, !tbaa !9 %79 = call i32 @fprintf(i32 noundef %77, ptr noundef nonnull @.str.4, ptr noundef %78) #9 %80 = call i32 @exit(i32 noundef 1) #10 unreachable 81: ; preds = %73 %82 = load ptr, ptr %37, align 8, !tbaa !9 %83 = call ptr @strrchr(ptr noundef %82, i8 noundef signext 47) #9 %84 = icmp eq ptr %83, null br i1 %84, label %88, label %85 85: ; preds = %81 %86 = getelementptr inbounds i8, ptr %83, i64 1 %87 = call i32 @strdup(ptr noundef nonnull %86) #9 store i32 %87, ptr @grammar_name, align 4, !tbaa !5 br label %95 88: ; preds = %81 %89 = load ptr, ptr %37, align 8, !tbaa !9 %90 = call i32 @strdup(ptr noundef %89) #9 store i32 %90, ptr @grammar_name, align 4, !tbaa !5 %91 = icmp eq ptr %89, null br i1 %91, label %92, label %95 92: ; preds = %88 %93 = call i32 @perror(ptr noundef null) #9 %94 = call i32 @exit(i32 noundef 1) #10 unreachable 95: ; preds = %85, %88 %96 = phi i32 [ %87, %85 ], [ %90, %88 ] %97 = call ptr @strchr(i32 noundef %96, i8 noundef signext 46) #9 %98 = icmp eq ptr %97, null br i1 %98, label %100, label %99 99: ; preds = %95 store i8 0, ptr %97, align 1, !tbaa !16 br label %100 100: ; preds = %99, %95 %101 = getelementptr inbounds i8, ptr %60, i64 %66 store i8 0, ptr %101, align 1, !tbaa !16 %102 = call i32 @tokenise(ptr noundef nonnull %60, ptr noundef nonnull %101) #9 %103 = call i32 (...) @build_type_list() #9 %104 = call i32 (...) @parse() #9 %105 = call i32 (...) @dump_elements() #9 %106 = load ptr, ptr @outputname, align 8, !tbaa !9 %107 = call ptr @fopen(ptr noundef %106, ptr noundef nonnull @.str.5) %108 = icmp eq ptr %107, null br i1 %108, label %109, label %113 109: ; preds = %100 %110 = load ptr, ptr @outputname, align 8, !tbaa !9 %111 = call i32 @perror(ptr noundef %110) #9 %112 = call i32 @exit(i32 noundef 1) #10 unreachable 113: ; preds = %100 %114 = load ptr, ptr @headername, align 8, !tbaa !9 %115 = call ptr @fopen(ptr noundef %114, ptr noundef nonnull @.str.5) %116 = icmp eq ptr %115, null br i1 %116, label %117, label %121 117: ; preds = %113 %118 = load ptr, ptr @headername, align 8, !tbaa !9 %119 = call i32 @perror(ptr noundef %118) #9 %120 = call i32 @exit(i32 noundef 1) #10 unreachable 121: ; preds = %113 %122 = call i32 @render(ptr noundef nonnull %107, ptr noundef nonnull %115) #9 %123 = call i64 @fclose(ptr noundef nonnull %107) #9 %124 = icmp slt i64 %123, 0 br i1 %124, label %125, label %129 125: ; preds = %121 %126 = load ptr, ptr @outputname, align 8, !tbaa !9 %127 = call i32 @perror(ptr noundef %126) #9 %128 = call i32 @exit(i32 noundef 1) #10 unreachable 129: ; preds = %121 %130 = call i64 @fclose(ptr noundef nonnull %115) #9 %131 = icmp slt i64 %130, 0 br i1 %131, label %132, label %136 132: ; preds = %129 %133 = load ptr, ptr @headername, align 8, !tbaa !9 %134 = call i32 @perror(ptr noundef %133) #9 %135 = call i32 @exit(i32 noundef 1) #10 unreachable 136: ; preds = %129 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9 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 ; Function Attrs: nofree nounwind memory(read) declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #3 declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #4 declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #4 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #4 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #5 declare i32 @open(ptr noundef, i32 noundef) local_unnamed_addr #4 declare i32 @perror(ptr noundef) local_unnamed_addr #4 declare i64 @fstat(i32 noundef, ptr noundef) local_unnamed_addr #4 ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #6 ; Function Attrs: nofree declare noundef i64 @read(i32 noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #7 declare i64 @close(i32 noundef) local_unnamed_addr #4 declare ptr @strrchr(ptr noundef, i8 noundef signext) local_unnamed_addr #4 declare i32 @strdup(ptr noundef) local_unnamed_addr #4 declare ptr @strchr(i32 noundef, i8 noundef signext) local_unnamed_addr #4 declare i32 @tokenise(ptr noundef, ptr noundef) local_unnamed_addr #4 declare i32 @build_type_list(...) local_unnamed_addr #4 declare i32 @parse(...) local_unnamed_addr #4 declare i32 @dump_elements(...) local_unnamed_addr #4 ; Function Attrs: nofree nounwind declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #8 declare i32 @render(ptr noundef, ptr noundef) local_unnamed_addr #4 declare i64 @fclose(ptr noundef) local_unnamed_addr #4 ; 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 = { nofree nounwind memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { mustprogress nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { "no-trapping-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 = { 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 #6 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(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 #7 = { nofree "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #8 = { 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 #9 = { nounwind } attributes #10 = { 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 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!14, !15, i64 0} !14 = !{!"stat", !15, i64 0} !15 = !{!"long", !7, i64 0} !16 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/scripts/extr_asn1_compiler.c_main.c' source_filename = "AnghaBench/linux/scripts/extr_asn1_compiler.c_main.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.stat = type { i64 } @.str = private unnamed_addr constant [15 x i8] c"KBUILD_VERBOSE\00", align 1 @verbose_opt = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"-v\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-d\00", align 1 @debug_opt = common local_unnamed_addr global i32 0, align 4 @stderr = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [57 x i8] c"Format: %s [-v] [-d] <grammar-file> <c-file> <hdr-file>\0A\00", align 1 @filename = common local_unnamed_addr global ptr null, align 8 @outputname = common local_unnamed_addr global ptr null, align 8 @headername = common local_unnamed_addr global ptr null, align 8 @O_RDONLY = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [16 x i8] c"%s: Short read\0A\00", align 1 @grammar_name = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [2 x i8] c"w\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.stat, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #9 %4 = tail call ptr @getenv(ptr noundef nonnull @.str) %5 = icmp eq ptr %4, null br i1 %5, label %8, label %6 6: ; preds = %2 %7 = tail call i32 @atoi(ptr nocapture noundef nonnull %4) store i32 %7, ptr @verbose_opt, align 4, !tbaa !6 br label %8 8: ; preds = %6, %2 %9 = icmp sgt i32 %0, 4 br i1 %9, label %10, label %29 10: ; preds = %8 %11 = getelementptr inbounds i8, ptr %1, i64 8 %12 = getelementptr inbounds i8, ptr %1, i64 16 br label %13 13: ; preds = %10, %22 %14 = phi i32 [ %0, %10 ], [ %27, %22 ] %15 = load ptr, ptr %11, align 8, !tbaa !10 %16 = tail call i64 @strcmp(ptr noundef %15, ptr noundef nonnull @.str.1) #9 %17 = icmp eq i64 %16, 0 br i1 %17, label %22, label %18 18: ; preds = %13 %19 = load ptr, ptr %11, align 8, !tbaa !10 %20 = tail call i64 @strcmp(ptr noundef %19, ptr noundef nonnull @.str.2) #9 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %31 22: ; preds = %18, %13 %23 = phi ptr [ @verbose_opt, %13 ], [ @debug_opt, %18 ] store i32 1, ptr %23, align 4, !tbaa !6 %24 = shl i32 %14, 3 %25 = add i32 %24, -16 %26 = tail call i32 @memmove(ptr noundef nonnull %11, ptr noundef nonnull %12, i32 noundef %25) #9 %27 = add nsw i32 %14, -1 %28 = icmp sgt i32 %14, 5 br i1 %28, label %13, label %36, !llvm.loop !12 29: ; preds = %8 %30 = icmp eq i32 %0, 4 br i1 %30, label %36, label %31 31: ; preds = %18, %29 %32 = load i32, ptr @stderr, align 4, !tbaa !6 %33 = load ptr, ptr %1, align 8, !tbaa !10 %34 = tail call i32 @fprintf(i32 noundef %32, ptr noundef nonnull @.str.3, ptr noundef %33) #9 %35 = tail call i32 @exit(i32 noundef 2) #10 unreachable 36: ; preds = %22, %29 %37 = getelementptr inbounds i8, ptr %1, i64 8 %38 = load ptr, ptr %37, align 8, !tbaa !10 store ptr %38, ptr @filename, align 8, !tbaa !10 %39 = getelementptr inbounds i8, ptr %1, i64 16 %40 = load ptr, ptr %39, align 8, !tbaa !10 store ptr %40, ptr @outputname, align 8, !tbaa !10 %41 = getelementptr inbounds i8, ptr %1, i64 24 %42 = load ptr, ptr %41, align 8, !tbaa !10 store ptr %42, ptr @headername, align 8, !tbaa !10 %43 = load i32, ptr @O_RDONLY, align 4, !tbaa !6 %44 = tail call i32 @open(ptr noundef %38, i32 noundef %43) #9 %45 = icmp slt i32 %44, 0 br i1 %45, label %46, label %50 46: ; preds = %36 %47 = load ptr, ptr @filename, align 8, !tbaa !10 %48 = tail call i32 @perror(ptr noundef %47) #9 %49 = tail call i32 @exit(i32 noundef 1) #10 unreachable 50: ; preds = %36 %51 = call i64 @fstat(i32 noundef %44, ptr noundef nonnull %3) #9 %52 = icmp slt i64 %51, 0 br i1 %52, label %53, label %57 53: ; preds = %50 %54 = load ptr, ptr @filename, align 8, !tbaa !10 %55 = call i32 @perror(ptr noundef %54) #9 %56 = call i32 @exit(i32 noundef 1) #10 unreachable 57: ; preds = %50 %58 = load i64, ptr %3, align 8, !tbaa !14 %59 = add i64 %58, 1 %60 = call ptr @malloc(i64 noundef %59) %61 = icmp eq ptr %60, null br i1 %61, label %62, label %65 62: ; preds = %57 %63 = call i32 @perror(ptr noundef null) #9 %64 = call i32 @exit(i32 noundef 1) #10 unreachable 65: ; preds = %57 %66 = call i64 @read(i32 noundef %44, ptr noundef nonnull %60, i64 noundef %58) #9 %67 = call i64 @close(i32 noundef %44) #9 %68 = icmp slt i64 %67, 0 br i1 %68, label %69, label %73 69: ; preds = %65 %70 = load ptr, ptr @filename, align 8, !tbaa !10 %71 = call i32 @perror(ptr noundef %70) #9 %72 = call i32 @exit(i32 noundef 1) #10 unreachable 73: ; preds = %65 %74 = load i64, ptr %3, align 8, !tbaa !14 %75 = icmp eq i64 %66, %74 br i1 %75, label %81, label %76 76: ; preds = %73 %77 = load i32, ptr @stderr, align 4, !tbaa !6 %78 = load ptr, ptr @filename, align 8, !tbaa !10 %79 = call i32 @fprintf(i32 noundef %77, ptr noundef nonnull @.str.4, ptr noundef %78) #9 %80 = call i32 @exit(i32 noundef 1) #10 unreachable 81: ; preds = %73 %82 = load ptr, ptr %37, align 8, !tbaa !10 %83 = call ptr @strrchr(ptr noundef %82, i8 noundef signext 47) #9 %84 = icmp eq ptr %83, null br i1 %84, label %88, label %85 85: ; preds = %81 %86 = getelementptr inbounds i8, ptr %83, i64 1 %87 = call i32 @strdup(ptr noundef nonnull %86) #9 store i32 %87, ptr @grammar_name, align 4, !tbaa !6 br label %95 88: ; preds = %81 %89 = load ptr, ptr %37, align 8, !tbaa !10 %90 = call i32 @strdup(ptr noundef %89) #9 store i32 %90, ptr @grammar_name, align 4, !tbaa !6 %91 = icmp eq ptr %89, null br i1 %91, label %92, label %95 92: ; preds = %88 %93 = call i32 @perror(ptr noundef null) #9 %94 = call i32 @exit(i32 noundef 1) #10 unreachable 95: ; preds = %85, %88 %96 = phi i32 [ %87, %85 ], [ %90, %88 ] %97 = call ptr @strchr(i32 noundef %96, i8 noundef signext 46) #9 %98 = icmp eq ptr %97, null br i1 %98, label %100, label %99 99: ; preds = %95 store i8 0, ptr %97, align 1, !tbaa !17 br label %100 100: ; preds = %99, %95 %101 = getelementptr inbounds i8, ptr %60, i64 %66 store i8 0, ptr %101, align 1, !tbaa !17 %102 = call i32 @tokenise(ptr noundef nonnull %60, ptr noundef nonnull %101) #9 %103 = call i32 @build_type_list() #9 %104 = call i32 @parse() #9 %105 = call i32 @dump_elements() #9 %106 = load ptr, ptr @outputname, align 8, !tbaa !10 %107 = call ptr @fopen(ptr noundef %106, ptr noundef nonnull @.str.5) %108 = icmp eq ptr %107, null br i1 %108, label %109, label %113 109: ; preds = %100 %110 = load ptr, ptr @outputname, align 8, !tbaa !10 %111 = call i32 @perror(ptr noundef %110) #9 %112 = call i32 @exit(i32 noundef 1) #10 unreachable 113: ; preds = %100 %114 = load ptr, ptr @headername, align 8, !tbaa !10 %115 = call ptr @fopen(ptr noundef %114, ptr noundef nonnull @.str.5) %116 = icmp eq ptr %115, null br i1 %116, label %117, label %121 117: ; preds = %113 %118 = load ptr, ptr @headername, align 8, !tbaa !10 %119 = call i32 @perror(ptr noundef %118) #9 %120 = call i32 @exit(i32 noundef 1) #10 unreachable 121: ; preds = %113 %122 = call i32 @render(ptr noundef nonnull %107, ptr noundef nonnull %115) #9 %123 = call i64 @fclose(ptr noundef nonnull %107) #9 %124 = icmp slt i64 %123, 0 br i1 %124, label %125, label %129 125: ; preds = %121 %126 = load ptr, ptr @outputname, align 8, !tbaa !10 %127 = call i32 @perror(ptr noundef %126) #9 %128 = call i32 @exit(i32 noundef 1) #10 unreachable 129: ; preds = %121 %130 = call i64 @fclose(ptr noundef nonnull %115) #9 %131 = icmp slt i64 %130, 0 br i1 %131, label %132, label %136 132: ; preds = %129 %133 = load ptr, ptr @headername, align 8, !tbaa !10 %134 = call i32 @perror(ptr noundef %133) #9 %135 = call i32 @exit(i32 noundef 1) #10 unreachable 136: ; preds = %129 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9 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 ; Function Attrs: nofree nounwind memory(read) declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #3 declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #4 declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #4 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #4 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #5 declare i32 @open(ptr noundef, i32 noundef) local_unnamed_addr #4 declare i32 @perror(ptr noundef) local_unnamed_addr #4 declare i64 @fstat(i32 noundef, ptr noundef) local_unnamed_addr #4 ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #6 ; Function Attrs: nofree declare noundef i64 @read(i32 noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #7 declare i64 @close(i32 noundef) local_unnamed_addr #4 declare ptr @strrchr(ptr noundef, i8 noundef signext) local_unnamed_addr #4 declare i32 @strdup(ptr noundef) local_unnamed_addr #4 declare ptr @strchr(i32 noundef, i8 noundef signext) local_unnamed_addr #4 declare i32 @tokenise(ptr noundef, ptr noundef) local_unnamed_addr #4 declare i32 @build_type_list(...) local_unnamed_addr #4 declare i32 @parse(...) local_unnamed_addr #4 declare i32 @dump_elements(...) local_unnamed_addr #4 ; Function Attrs: nofree nounwind declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #8 declare i32 @render(ptr noundef, ptr noundef) local_unnamed_addr #4 declare i64 @fclose(ptr noundef) local_unnamed_addr #4 ; 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 = { nofree nounwind memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nofree nounwind willreturn memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = { 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 #6 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(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 #7 = { nofree "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #8 = { 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 #9 = { nounwind } attributes #10 = { 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 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!15, !16, i64 0} !15 = !{!"stat", !16, i64 0} !16 = !{!"long", !8, i64 0} !17 = !{!8, !8, i64 0}
linux_scripts_extr_asn1_compiler.c_main
; ModuleID = 'AnghaBench/hashcat/src/extr_status.c_status_get_guess_mask_length.c' source_filename = "AnghaBench/hashcat/src/extr_status.c_status_get_guess_mask_length.c" target datalayout = "e-m:e-p270:32:32-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 { ptr, ptr } ; Function Attrs: nounwind uwtable define dso_local i32 @status_get_guess_mask_length(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load ptr, ptr %0, align 8, !tbaa !10 %5 = icmp eq ptr %4, null br i1 %5, label %12, label %6 6: ; preds = %1 %7 = load ptr, ptr %4, align 8, !tbaa !11 %8 = icmp eq ptr %7, null br i1 %8, label %12, label %9 9: ; preds = %6 %10 = load i32, ptr %3, align 4, !tbaa !13 %11 = tail call i32 @mp_get_length(ptr noundef nonnull %7, i32 noundef %10) #2 br label %12 12: ; preds = %6, %1, %9 %13 = phi i32 [ %11, %9 ], [ -1, %1 ], [ -1, %6 ] ret i32 %13 } declare i32 @mp_get_length(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"TYPE_7__", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_5__", !7, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_6__", !15, i64 0} !15 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/hashcat/src/extr_status.c_status_get_guess_mask_length.c' source_filename = "AnghaBench/hashcat/src/extr_status.c_status_get_guess_mask_length.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 @status_get_guess_mask_length(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 = load ptr, ptr %0, align 8, !tbaa !11 %5 = icmp eq ptr %4, null br i1 %5, label %12, label %6 6: ; preds = %1 %7 = load ptr, ptr %4, align 8, !tbaa !12 %8 = icmp eq ptr %7, null br i1 %8, label %12, label %9 9: ; preds = %6 %10 = load i32, ptr %3, align 4, !tbaa !14 %11 = tail call i32 @mp_get_length(ptr noundef nonnull %7, i32 noundef %10) #2 br label %12 12: ; preds = %6, %1, %9 %13 = phi i32 [ %11, %9 ], [ -1, %1 ], [ -1, %6 ] ret i32 %13 } declare i32 @mp_get_length(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"TYPE_7__", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_5__", !8, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"TYPE_6__", !16, i64 0} !16 = !{!"int", !9, i64 0}
hashcat_src_extr_status.c_status_get_guess_mask_length
; ModuleID = 'AnghaBench/freebsd/sys/dev/extres/clk/extr_clk_div.c_clknode_div_register.c' source_filename = "AnghaBench/freebsd/sys/dev/extres/clk/extr_clk_div.c_clknode_div_register.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.clk_div_def = type { i32, i32, i32, i32, i32, i32, i32, i32 } %struct.clknode_div_sc = type { i32, i32, i32, i32, i32, i32, i32, i32, i32 } @clknode_div_class = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @clknode_div_register(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.clk_div_def, ptr %1, i64 0, i32 7 %4 = tail call ptr @clknode_create(ptr noundef %0, ptr noundef nonnull @clknode_div_class, ptr noundef nonnull %3) #2 %5 = icmp eq ptr %4, null br i1 %5, label %25, label %6 6: ; preds = %2 %7 = tail call ptr @clknode_get_softc(ptr noundef nonnull %4) #2 %8 = getelementptr inbounds %struct.clk_div_def, ptr %1, i64 0, i32 6 %9 = load i32, ptr %8, align 4, !tbaa !5 %10 = getelementptr inbounds %struct.clknode_div_sc, ptr %7, i64 0, i32 8 store i32 %9, ptr %10, align 4, !tbaa !10 %11 = load i32, ptr %1, align 4, !tbaa !12 store i32 %11, ptr %7, align 4, !tbaa !13 %12 = shl nsw i32 -1, %11 %13 = xor i32 %12, -1 %14 = getelementptr inbounds %struct.clknode_div_sc, ptr %7, i64 0, i32 1 store i32 %13, ptr %14, align 4, !tbaa !14 %15 = getelementptr inbounds %struct.clk_div_def, ptr %1, i64 0, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !15 %17 = getelementptr inbounds %struct.clknode_div_sc, ptr %7, i64 0, i32 2 store i32 %16, ptr %17, align 4, !tbaa !16 %18 = shl nsw i32 -1, %16 %19 = xor i32 %18, -1 %20 = getelementptr inbounds %struct.clknode_div_sc, ptr %7, i64 0, i32 3 store i32 %19, ptr %20, align 4, !tbaa !17 %21 = getelementptr inbounds %struct.clk_div_def, ptr %1, i64 0, i32 2 %22 = getelementptr inbounds %struct.clknode_div_sc, ptr %7, i64 0, i32 4 %23 = load <4 x i32>, ptr %21, align 4, !tbaa !18 store <4 x i32> %23, ptr %22, align 4, !tbaa !18 %24 = tail call i32 @clknode_register(ptr noundef %0, ptr noundef nonnull %4) #2 br label %25 25: ; preds = %2, %6 %26 = phi i32 [ 0, %6 ], [ 1, %2 ] ret i32 %26 } declare ptr @clknode_create(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @clknode_get_softc(ptr noundef) local_unnamed_addr #1 declare i32 @clknode_register(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 24} !6 = !{!"clk_div_def", !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 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 32} !11 = !{!"clknode_div_sc", !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} !12 = !{!6, !7, i64 0} !13 = !{!11, !7, i64 0} !14 = !{!11, !7, i64 4} !15 = !{!6, !7, i64 4} !16 = !{!11, !7, i64 8} !17 = !{!11, !7, i64 12} !18 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/extres/clk/extr_clk_div.c_clknode_div_register.c' source_filename = "AnghaBench/freebsd/sys/dev/extres/clk/extr_clk_div.c_clknode_div_register.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @clknode_div_class = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @clknode_div_register(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %1, i64 28 %4 = tail call ptr @clknode_create(ptr noundef %0, ptr noundef nonnull @clknode_div_class, ptr noundef nonnull %3) #2 %5 = icmp eq ptr %4, null br i1 %5, label %25, label %6 6: ; preds = %2 %7 = tail call ptr @clknode_get_softc(ptr noundef nonnull %4) #2 %8 = getelementptr inbounds i8, ptr %1, i64 24 %9 = load i32, ptr %8, align 4, !tbaa !6 %10 = getelementptr inbounds i8, ptr %7, i64 32 store i32 %9, ptr %10, align 4, !tbaa !11 %11 = load i32, ptr %1, align 4, !tbaa !13 store i32 %11, ptr %7, align 4, !tbaa !14 %12 = shl nsw i32 -1, %11 %13 = xor i32 %12, -1 %14 = getelementptr inbounds i8, ptr %7, i64 4 store i32 %13, ptr %14, align 4, !tbaa !15 %15 = getelementptr inbounds i8, ptr %1, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !16 %17 = getelementptr inbounds i8, ptr %7, i64 8 store i32 %16, ptr %17, align 4, !tbaa !17 %18 = shl nsw i32 -1, %16 %19 = xor i32 %18, -1 %20 = getelementptr inbounds i8, ptr %7, i64 12 store i32 %19, ptr %20, align 4, !tbaa !18 %21 = getelementptr inbounds i8, ptr %1, i64 8 %22 = getelementptr inbounds i8, ptr %7, i64 16 %23 = load <4 x i32>, ptr %21, align 4, !tbaa !19 store <4 x i32> %23, ptr %22, align 4, !tbaa !19 %24 = tail call i32 @clknode_register(ptr noundef %0, ptr noundef nonnull %4) #2 br label %25 25: ; preds = %2, %6 %26 = phi i32 [ 0, %6 ], [ 1, %2 ] ret i32 %26 } declare ptr @clknode_create(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @clknode_get_softc(ptr noundef) local_unnamed_addr #1 declare i32 @clknode_register(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 24} !7 = !{!"clk_div_def", !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 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 32} !12 = !{!"clknode_div_sc", !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} !13 = !{!7, !8, i64 0} !14 = !{!12, !8, i64 0} !15 = !{!12, !8, i64 4} !16 = !{!7, !8, i64 4} !17 = !{!12, !8, i64 8} !18 = !{!12, !8, i64 12} !19 = !{!8, !8, i64 0}
freebsd_sys_dev_extres_clk_extr_clk_div.c_clknode_div_register
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/pico/32x/extr_32x.c_p32x_start_blank.c' source_filename = "AnghaBench/Provenance/Cores/PicoDrive/pico/32x/extr_32x.c_p32x_start_blank.c" target datalayout = "e-m:e-p270:32:32-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_4__ } %struct.TYPE_4__ = type { ptr } %struct.TYPE_5__ = type { ptr, i32 } @Pico32xDrawMode = dso_local local_unnamed_addr global i64 0, align 8 @PDM32X_OFF = dso_local local_unnamed_addr global i64 0, align 8 @PicoSkipFrame = dso_local local_unnamed_addr global i32 0, align 4 @draw = dso_local local_unnamed_addr global i32 0, align 4 @Pico = dso_local local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8 @PicoOpt = dso_local local_unnamed_addr global i32 0, align 4 @POPT_ALT_RENDERER = dso_local local_unnamed_addr global i32 0, align 4 @Pico32x = dso_local local_unnamed_addr global %struct.TYPE_5__ zeroinitializer, align 8 @P32XV_Mx = dso_local local_unnamed_addr global i32 0, align 4 @PicoDrawMask = dso_local local_unnamed_addr global i32 0, align 4 @PDRAW_32X_ON = dso_local local_unnamed_addr global i32 0, align 4 @PDM32X_32X_ONLY = dso_local local_unnamed_addr global i64 0, align 8 @P32XV_VBLK = dso_local local_unnamed_addr global i32 0, align 4 @P32XV_PEN = dso_local local_unnamed_addr global i32 0, align 4 @P32XV_FS = dso_local local_unnamed_addr global i32 0, align 4 @P32XI_VINT = dso_local local_unnamed_addr global i32 0, align 4 @msh2 = dso_local global i32 0, align 4 @SH2_STATE_VPOLL = dso_local local_unnamed_addr global i32 0, align 4 @ssh2 = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @p32x_start_blank], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @p32x_start_blank() #0 { %1 = load i64, ptr @Pico32xDrawMode, align 8, !tbaa !5 %2 = load i64, ptr @PDM32X_OFF, align 8, !tbaa !5 %3 = icmp eq i64 %1, %2 %4 = load i32, ptr @PicoSkipFrame, align 4 %5 = icmp ne i32 %4, 0 %6 = select i1 %3, i1 true, i1 %5 br i1 %6, label %54, label %7 7: ; preds = %0 %8 = load i32, ptr @draw, align 4, !tbaa !9 %9 = tail call i32 @pprof_start(i32 noundef %8) #2 %10 = load ptr, ptr @Pico, align 8, !tbaa !11 %11 = getelementptr inbounds i32, ptr %10, i64 1 %12 = load i32, ptr %11, align 4, !tbaa !9 %13 = and i32 %12, 8 %14 = icmp eq i32 %13, 0 br i1 %14, label %22, label %15 15: ; preds = %7 %16 = load i32, ptr @PicoOpt, align 4, !tbaa !9 %17 = load i32, ptr @POPT_ALT_RENDERER, align 4, !tbaa !9 %18 = and i32 %17, %16 %19 = icmp eq i32 %18, 0 %20 = select i1 %19, i32 240, i32 224 %21 = select i1 %19, i32 0, i32 8 br label %22 22: ; preds = %15, %7 %23 = phi i32 [ 224, %7 ], [ %20, %15 ] %24 = phi i32 [ 8, %7 ], [ %21, %15 ] %25 = load ptr, ptr @Pico32x, align 8, !tbaa !15 %26 = load i32, ptr %25, align 4, !tbaa !9 %27 = load i32, ptr @P32XV_Mx, align 4, !tbaa !9 %28 = and i32 %27, %26 %29 = icmp eq i32 %28, 0 br i1 %29, label %45, label %30 30: ; preds = %22 %31 = getelementptr inbounds i32, ptr %10, i64 12 %32 = load i32, ptr %31, align 4, !tbaa !9 %33 = and i32 %32, 1 %34 = icmp eq i32 %33, 0 br i1 %34, label %45, label %35 35: ; preds = %30 %36 = load i32, ptr @PicoDrawMask, align 4, !tbaa !9 %37 = load i32, ptr @PDRAW_32X_ON, align 4, !tbaa !9 %38 = and i32 %37, %36 %39 = icmp eq i32 %38, 0 br i1 %39, label %45, label %40 40: ; preds = %35 %41 = getelementptr inbounds i32, ptr %10, i64 7 %42 = load i32, ptr %41, align 4, !tbaa !9 %43 = and i32 %42, 63 %44 = tail call i32 @PicoDraw32xLayer(i32 noundef %24, i32 noundef %23, i32 noundef %43) #2 br label %51 45: ; preds = %35, %30, %22 %46 = load i64, ptr @Pico32xDrawMode, align 8, !tbaa !5 %47 = load i64, ptr @PDM32X_32X_ONLY, align 8, !tbaa !5 %48 = icmp eq i64 %46, %47 br i1 %48, label %51, label %49 49: ; preds = %45 %50 = tail call i32 @PicoDraw32xLayerMdOnly(i32 noundef %24, i32 noundef %23) #2 br label %51 51: ; preds = %45, %49, %40 %52 = load i32, ptr @draw, align 4, !tbaa !9 %53 = tail call i32 @pprof_end(i32 noundef %52) #2 br label %54 54: ; preds = %51, %0 %55 = load i32, ptr @P32XV_VBLK, align 4, !tbaa !9 %56 = load i32, ptr @P32XV_PEN, align 4, !tbaa !9 %57 = or i32 %56, %55 %58 = load ptr, ptr @Pico32x, align 8, !tbaa !15 %59 = getelementptr inbounds i32, ptr %58, i64 5 %60 = load i32, ptr %59, align 4, !tbaa !9 %61 = or i32 %57, %60 store i32 %61, ptr %59, align 4, !tbaa !9 %62 = load i32, ptr getelementptr inbounds (%struct.TYPE_5__, ptr @Pico32x, i64 0, i32 1), align 8, !tbaa !17 %63 = xor i32 %62, %61 %64 = load i32, ptr @P32XV_FS, align 4, !tbaa !9 %65 = and i32 %63, %64 %66 = icmp eq i32 %65, 0 br i1 %66, label %73, label %67 67: ; preds = %54 %68 = xor i32 %64, -1 %69 = and i32 %61, %68 %70 = or i32 %69, %62 store i32 %70, ptr %59, align 4, !tbaa !9 %71 = xor i32 %62, 1 %72 = tail call i32 @Pico32xSwapDRAM(i32 noundef %71) #2 br label %73 73: ; preds = %67, %54 %74 = tail call i32 (...) @SekCyclesDone() #2 %75 = load i32, ptr @P32XI_VINT, align 4, !tbaa !9 %76 = tail call i32 @p32x_trigger_irq(ptr noundef null, i32 noundef %74, i32 noundef %75) #2 %77 = load i32, ptr @SH2_STATE_VPOLL, align 4, !tbaa !9 %78 = tail call i32 @p32x_sh2_poll_event(ptr noundef nonnull @msh2, i32 noundef %77, i32 noundef 0) #2 %79 = load i32, ptr @SH2_STATE_VPOLL, align 4, !tbaa !9 %80 = tail call i32 @p32x_sh2_poll_event(ptr noundef nonnull @ssh2, i32 noundef %79, i32 noundef 0) #2 ret void } declare i32 @pprof_start(i32 noundef) local_unnamed_addr #1 declare i32 @PicoDraw32xLayer(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PicoDraw32xLayerMdOnly(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pprof_end(i32 noundef) local_unnamed_addr #1 declare i32 @Pico32xSwapDRAM(i32 noundef) local_unnamed_addr #1 declare i32 @p32x_trigger_irq(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SekCyclesDone(...) local_unnamed_addr #1 declare i32 @p32x_sh2_poll_event(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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !14, i64 0} !12 = !{!"TYPE_6__", !13, i64 0} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"any pointer", !7, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"TYPE_5__", !14, i64 0, !10, i64 8} !17 = !{!16, !10, i64 8}
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/pico/32x/extr_32x.c_p32x_start_blank.c' source_filename = "AnghaBench/Provenance/Cores/PicoDrive/pico/32x/extr_32x.c_p32x_start_blank.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 { %struct.TYPE_4__ } %struct.TYPE_4__ = type { ptr } %struct.TYPE_5__ = type { ptr, i32 } @Pico32xDrawMode = common local_unnamed_addr global i64 0, align 8 @PDM32X_OFF = common local_unnamed_addr global i64 0, align 8 @PicoSkipFrame = common local_unnamed_addr global i32 0, align 4 @draw = common local_unnamed_addr global i32 0, align 4 @Pico = common local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8 @PicoOpt = common local_unnamed_addr global i32 0, align 4 @POPT_ALT_RENDERER = common local_unnamed_addr global i32 0, align 4 @Pico32x = common local_unnamed_addr global %struct.TYPE_5__ zeroinitializer, align 8 @P32XV_Mx = common local_unnamed_addr global i32 0, align 4 @PicoDrawMask = common local_unnamed_addr global i32 0, align 4 @PDRAW_32X_ON = common local_unnamed_addr global i32 0, align 4 @PDM32X_32X_ONLY = common local_unnamed_addr global i64 0, align 8 @P32XV_VBLK = common local_unnamed_addr global i32 0, align 4 @P32XV_PEN = common local_unnamed_addr global i32 0, align 4 @P32XV_FS = common local_unnamed_addr global i32 0, align 4 @P32XI_VINT = common local_unnamed_addr global i32 0, align 4 @msh2 = common global i32 0, align 4 @SH2_STATE_VPOLL = common local_unnamed_addr global i32 0, align 4 @ssh2 = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @p32x_start_blank], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @p32x_start_blank() #0 { %1 = load i64, ptr @Pico32xDrawMode, align 8, !tbaa !6 %2 = load i64, ptr @PDM32X_OFF, align 8, !tbaa !6 %3 = icmp eq i64 %1, %2 %4 = load i32, ptr @PicoSkipFrame, align 4 %5 = icmp ne i32 %4, 0 %6 = select i1 %3, i1 true, i1 %5 br i1 %6, label %54, label %7 7: ; preds = %0 %8 = load i32, ptr @draw, align 4, !tbaa !10 %9 = tail call i32 @pprof_start(i32 noundef %8) #2 %10 = load ptr, ptr @Pico, align 8, !tbaa !12 %11 = getelementptr inbounds i8, ptr %10, i64 4 %12 = load i32, ptr %11, align 4, !tbaa !10 %13 = and i32 %12, 8 %14 = icmp eq i32 %13, 0 br i1 %14, label %22, label %15 15: ; preds = %7 %16 = load i32, ptr @PicoOpt, align 4, !tbaa !10 %17 = load i32, ptr @POPT_ALT_RENDERER, align 4, !tbaa !10 %18 = and i32 %17, %16 %19 = icmp eq i32 %18, 0 %20 = select i1 %19, i32 240, i32 224 %21 = select i1 %19, i32 0, i32 8 br label %22 22: ; preds = %15, %7 %23 = phi i32 [ 224, %7 ], [ %20, %15 ] %24 = phi i32 [ 8, %7 ], [ %21, %15 ] %25 = load ptr, ptr @Pico32x, align 8, !tbaa !16 %26 = load i32, ptr %25, align 4, !tbaa !10 %27 = load i32, ptr @P32XV_Mx, align 4, !tbaa !10 %28 = and i32 %27, %26 %29 = icmp eq i32 %28, 0 br i1 %29, label %45, label %30 30: ; preds = %22 %31 = getelementptr inbounds i8, ptr %10, i64 48 %32 = load i32, ptr %31, align 4, !tbaa !10 %33 = and i32 %32, 1 %34 = icmp eq i32 %33, 0 br i1 %34, label %45, label %35 35: ; preds = %30 %36 = load i32, ptr @PicoDrawMask, align 4, !tbaa !10 %37 = load i32, ptr @PDRAW_32X_ON, align 4, !tbaa !10 %38 = and i32 %37, %36 %39 = icmp eq i32 %38, 0 br i1 %39, label %45, label %40 40: ; preds = %35 %41 = getelementptr inbounds i8, ptr %10, i64 28 %42 = load i32, ptr %41, align 4, !tbaa !10 %43 = and i32 %42, 63 %44 = tail call i32 @PicoDraw32xLayer(i32 noundef %24, i32 noundef %23, i32 noundef %43) #2 br label %51 45: ; preds = %35, %30, %22 %46 = load i64, ptr @Pico32xDrawMode, align 8, !tbaa !6 %47 = load i64, ptr @PDM32X_32X_ONLY, align 8, !tbaa !6 %48 = icmp eq i64 %46, %47 br i1 %48, label %51, label %49 49: ; preds = %45 %50 = tail call i32 @PicoDraw32xLayerMdOnly(i32 noundef %24, i32 noundef %23) #2 br label %51 51: ; preds = %45, %49, %40 %52 = load i32, ptr @draw, align 4, !tbaa !10 %53 = tail call i32 @pprof_end(i32 noundef %52) #2 br label %54 54: ; preds = %51, %0 %55 = load i32, ptr @P32XV_VBLK, align 4, !tbaa !10 %56 = load i32, ptr @P32XV_PEN, align 4, !tbaa !10 %57 = or i32 %56, %55 %58 = load ptr, ptr @Pico32x, align 8, !tbaa !16 %59 = getelementptr inbounds i8, ptr %58, i64 20 %60 = load i32, ptr %59, align 4, !tbaa !10 %61 = or i32 %57, %60 store i32 %61, ptr %59, align 4, !tbaa !10 %62 = load i32, ptr getelementptr inbounds (i8, ptr @Pico32x, i64 8), align 8, !tbaa !18 %63 = xor i32 %62, %61 %64 = load i32, ptr @P32XV_FS, align 4, !tbaa !10 %65 = and i32 %63, %64 %66 = icmp eq i32 %65, 0 br i1 %66, label %73, label %67 67: ; preds = %54 %68 = xor i32 %64, -1 %69 = and i32 %61, %68 %70 = or i32 %69, %62 store i32 %70, ptr %59, align 4, !tbaa !10 %71 = xor i32 %62, 1 %72 = tail call i32 @Pico32xSwapDRAM(i32 noundef %71) #2 br label %73 73: ; preds = %67, %54 %74 = tail call i32 @SekCyclesDone() #2 %75 = load i32, ptr @P32XI_VINT, align 4, !tbaa !10 %76 = tail call i32 @p32x_trigger_irq(ptr noundef null, i32 noundef %74, i32 noundef %75) #2 %77 = load i32, ptr @SH2_STATE_VPOLL, align 4, !tbaa !10 %78 = tail call i32 @p32x_sh2_poll_event(ptr noundef nonnull @msh2, i32 noundef %77, i32 noundef 0) #2 %79 = load i32, ptr @SH2_STATE_VPOLL, align 4, !tbaa !10 %80 = tail call i32 @p32x_sh2_poll_event(ptr noundef nonnull @ssh2, i32 noundef %79, i32 noundef 0) #2 ret void } declare i32 @pprof_start(i32 noundef) local_unnamed_addr #1 declare i32 @PicoDraw32xLayer(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PicoDraw32xLayerMdOnly(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pprof_end(i32 noundef) local_unnamed_addr #1 declare i32 @Pico32xSwapDRAM(i32 noundef) local_unnamed_addr #1 declare i32 @p32x_trigger_irq(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SekCyclesDone(...) local_unnamed_addr #1 declare i32 @p32x_sh2_poll_event(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !15, i64 0} !13 = !{!"TYPE_6__", !14, i64 0} !14 = !{!"TYPE_4__", !15, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = !{!17, !15, i64 0} !17 = !{!"TYPE_5__", !15, i64 0, !11, i64 8} !18 = !{!17, !11, i64 8}
Provenance_Cores_PicoDrive_pico_32x_extr_32x.c_p32x_start_blank
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_asm.c_asm_phi_shuffle.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_asm.c_asm_phi_shuffle.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_13__ = type { i32, i32, i32, ptr, ptr } %struct.TYPE_12__ = type { i64, i32, i32 } @RSET_EMPTY = dso_local local_unnamed_addr global i32 0, align 4 @RID_NONE = dso_local local_unnamed_addr global i64 0, align 8 @RSET_GPR = dso_local local_unnamed_addr global i32 0, align 4 @LJ_SOFTFP = dso_local local_unnamed_addr global i32 0, align 4 @RSET_FPR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @asm_phi_shuffle], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @asm_phi_shuffle(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 3 %3 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1 %4 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 4 %5 = load i32, ptr @RSET_EMPTY, align 4, !tbaa !5 %6 = load i32, ptr %0, align 8, !tbaa !9 %7 = icmp eq i32 %6, 0 br i1 %7, label %56, label %8 8: ; preds = %73, %1 %9 = phi i32 [ %5, %1 ], [ %74, %73 ] %10 = phi i32 [ %6, %1 ], [ %75, %73 ] br label %11 11: ; preds = %54, %8 %12 = tail call i64 @rset_pickbot(i32 noundef %10) #2 %13 = load ptr, ptr %2, align 8, !tbaa !12 %14 = getelementptr inbounds i32, ptr %13, i64 %12 %15 = load i32, ptr %14, align 4, !tbaa !5 %16 = tail call ptr @IR(i32 noundef %15) #2 %17 = load i64, ptr %16, align 8, !tbaa !13 %18 = icmp eq i64 %12, %17 br i1 %18, label %54, label %19 19: ; preds = %11 %20 = load i32, ptr %3, align 4, !tbaa !16 %21 = tail call i32 @rset_test(i32 noundef %20, i64 noundef %12) #2 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %47 23: ; preds = %19 %24 = load ptr, ptr %4, align 8, !tbaa !17 %25 = getelementptr inbounds i32, ptr %24, i64 %12 %26 = load i32, ptr %25, align 4, !tbaa !5 %27 = tail call i32 @regcost_ref(i32 noundef %26) #2 %28 = tail call i32 @ra_iskref(i32 noundef %27) #2 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %44 30: ; preds = %23 %31 = tail call ptr @IR(i32 noundef %27) #2 %32 = getelementptr inbounds %struct.TYPE_12__, ptr %31, i64 0, i32 1 %33 = load i32, ptr %32, align 8, !tbaa !18 %34 = tail call i64 @irt_ismarked(i32 noundef %33) #2 %35 = icmp eq i64 %34, 0 br i1 %35, label %44, label %36 36: ; preds = %30 %37 = tail call i32 @rset_set(i32 noundef %9, i64 noundef %12) #2 %38 = tail call i64 @ra_hasreg(i64 noundef %17) #2 %39 = icmp eq i64 %38, 0 br i1 %39, label %42, label %40 40: ; preds = %36 %41 = tail call i32 @rset_set(i32 noundef %9, i64 noundef %17) #2 br label %42 42: ; preds = %40, %36 %43 = load i64, ptr @RID_NONE, align 8, !tbaa !19 br label %47 44: ; preds = %30, %23 %45 = tail call i32 @ra_restore(ptr noundef nonnull %0, i32 noundef %27) #2 %46 = tail call i32 @checkmclim(ptr noundef nonnull %0) #2 br label %47 47: ; preds = %42, %44, %19 %48 = phi i64 [ %17, %19 ], [ %17, %44 ], [ %43, %42 ] %49 = tail call i64 @ra_hasreg(i64 noundef %48) #2 %50 = icmp eq i64 %49, 0 br i1 %50, label %54, label %51 51: ; preds = %47 %52 = tail call i32 @ra_rename(ptr noundef nonnull %0, i64 noundef %48, i64 noundef %12) #2 %53 = tail call i32 @checkmclim(ptr noundef nonnull %0) #2 br label %54 54: ; preds = %47, %51, %11 %55 = tail call i32 @rset_clear(i32 noundef %10, i64 noundef %12) #2 br label %11 56: ; preds = %1, %73 %57 = phi i32 [ %74, %73 ], [ %5, %1 ] %58 = icmp eq i32 %57, 0 br i1 %58, label %77, label %59 59: ; preds = %56 %60 = load i32, ptr %3, align 4, !tbaa !16 %61 = and i32 %60, %57 %62 = icmp eq i32 %61, 0 br i1 %62, label %63, label %73 63: ; preds = %59 %64 = load i32, ptr @RSET_GPR, align 4, !tbaa !5 %65 = tail call i32 @asm_phi_break(ptr noundef nonnull %0, i32 noundef %57, i32 noundef %57, i32 noundef %64) #2 %66 = load i32, ptr @LJ_SOFTFP, align 4, !tbaa !5 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %71 68: ; preds = %63 %69 = load i32, ptr @RSET_FPR, align 4, !tbaa !5 %70 = tail call i32 @asm_phi_break(ptr noundef nonnull %0, i32 noundef %57, i32 noundef %57, i32 noundef %69) #2 br label %71 71: ; preds = %68, %63 %72 = tail call i32 @checkmclim(ptr noundef nonnull %0) #2 br label %73 73: ; preds = %59, %71 %74 = load i32, ptr @RSET_EMPTY, align 4, !tbaa !5 %75 = load i32, ptr %0, align 8, !tbaa !9 %76 = icmp eq i32 %75, 0 br i1 %76, label %56, label %8 77: ; preds = %56 %78 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 2 %79 = load i32, ptr %78, align 8, !tbaa !20 %80 = load i32, ptr %3, align 4, !tbaa !16 %81 = load i32, ptr %0, align 8, !tbaa !9 %82 = or i32 %81, %80 %83 = xor i32 %82, -1 %84 = and i32 %79, %83 %85 = load i32, ptr @RSET_FPR, align 4, !tbaa !5 %86 = and i32 %84, %85 %87 = icmp eq i32 %86, 0 br i1 %87, label %97, label %88 88: ; preds = %77, %88 %89 = tail call i64 @rset_pickbot(i32 noundef %86) #2 %90 = load ptr, ptr %4, align 8, !tbaa !17 %91 = getelementptr inbounds i32, ptr %90, i64 %89 %92 = load i32, ptr %91, align 4, !tbaa !5 %93 = tail call i32 @regcost_ref(i32 noundef %92) #2 %94 = tail call i32 @ra_restore(ptr noundef nonnull %0, i32 noundef %93) #2 %95 = tail call i32 @rset_clear(i32 noundef %86, i64 noundef %89) #2 %96 = tail call i32 @checkmclim(ptr noundef nonnull %0) #2 br label %88 97: ; preds = %77 %98 = icmp eq i32 %84, 0 br i1 %98, label %108, label %99 99: ; preds = %97, %99 %100 = tail call i64 @rset_pickbot(i32 noundef %84) #2 %101 = load ptr, ptr %4, align 8, !tbaa !17 %102 = getelementptr inbounds i32, ptr %101, i64 %100 %103 = load i32, ptr %102, align 4, !tbaa !5 %104 = tail call i32 @regcost_ref(i32 noundef %103) #2 %105 = tail call i32 @ra_restore(ptr noundef nonnull %0, i32 noundef %104) #2 %106 = tail call i32 @rset_clear(i32 noundef %84, i64 noundef %100) #2 %107 = tail call i32 @checkmclim(ptr noundef nonnull %0) #2 br label %99 108: ; preds = %97 %109 = icmp eq i32 %81, 0 br i1 %109, label %130, label %110 110: ; preds = %108, %128 %111 = tail call i64 @rset_picktop(i32 noundef %81) #2 %112 = load ptr, ptr %2, align 8, !tbaa !12 %113 = getelementptr inbounds i32, ptr %112, i64 %111 %114 = load i32, ptr %113, align 4, !tbaa !5 %115 = tail call ptr @IR(i32 noundef %114) #2 %116 = getelementptr inbounds %struct.TYPE_12__, ptr %115, i64 0, i32 2 %117 = load i32, ptr %116, align 4, !tbaa !21 %118 = tail call i64 @ra_hasspill(i32 noundef %117) #2 %119 = icmp eq i64 %118, 0 br i1 %119, label %128, label %120 120: ; preds = %110 %121 = getelementptr inbounds %struct.TYPE_12__, ptr %115, i64 0, i32 1 %122 = load i32, ptr %121, align 8, !tbaa !18 %123 = tail call i32 @irt_clearmark(i32 noundef %122) #2 %124 = tail call i32 @RID2RSET(i64 noundef %111) #2 %125 = tail call i32 @ra_alloc1(ptr noundef nonnull %0, i32 noundef %114, i32 noundef %124) #2 %126 = tail call i32 @ra_save(ptr noundef nonnull %0, ptr noundef nonnull %115, i64 noundef %111) #2 %127 = tail call i32 @checkmclim(ptr noundef nonnull %0) #2 br label %128 128: ; preds = %120, %110 %129 = tail call i32 @rset_clear(i32 noundef %81, i64 noundef %111) #2 br label %110 130: ; preds = %108 ret void } declare i64 @rset_pickbot(i32 noundef) local_unnamed_addr #1 declare ptr @IR(i32 noundef) local_unnamed_addr #1 declare i32 @rset_test(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @regcost_ref(i32 noundef) local_unnamed_addr #1 declare i32 @ra_iskref(i32 noundef) local_unnamed_addr #1 declare i64 @irt_ismarked(i32 noundef) local_unnamed_addr #1 declare i32 @rset_set(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @ra_hasreg(i64 noundef) local_unnamed_addr #1 declare i32 @ra_restore(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @checkmclim(ptr noundef) local_unnamed_addr #1 declare i32 @ra_rename(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @rset_clear(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @asm_phi_break(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @rset_picktop(i32 noundef) local_unnamed_addr #1 declare i64 @ra_hasspill(i32 noundef) local_unnamed_addr #1 declare i32 @irt_clearmark(i32 noundef) local_unnamed_addr #1 declare i32 @ra_alloc1(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RID2RSET(i64 noundef) local_unnamed_addr #1 declare i32 @ra_save(ptr noundef, 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 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_13__", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 16, !11, i64 24} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 16} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_12__", !15, i64 0, !6, i64 8, !6, i64 12} !15 = !{!"long", !7, i64 0} !16 = !{!10, !6, i64 4} !17 = !{!10, !11, i64 24} !18 = !{!14, !6, i64 8} !19 = !{!15, !15, i64 0} !20 = !{!10, !6, i64 8} !21 = !{!14, !6, i64 12}
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_asm.c_asm_phi_shuffle.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_asm.c_asm_phi_shuffle.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RSET_EMPTY = common local_unnamed_addr global i32 0, align 4 @RID_NONE = common local_unnamed_addr global i64 0, align 8 @RSET_GPR = common local_unnamed_addr global i32 0, align 4 @LJ_SOFTFP = common local_unnamed_addr global i32 0, align 4 @RSET_FPR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @asm_phi_shuffle], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @asm_phi_shuffle(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = getelementptr inbounds i8, ptr %0, i64 24 %5 = load i32, ptr @RSET_EMPTY, align 4, !tbaa !6 %6 = load i32, ptr %0, align 8, !tbaa !10 %7 = icmp eq i32 %6, 0 br i1 %7, label %56, label %8 8: ; preds = %73, %1 %9 = phi i32 [ %5, %1 ], [ %74, %73 ] %10 = phi i32 [ %6, %1 ], [ %75, %73 ] br label %11 11: ; preds = %54, %8 %12 = tail call i64 @rset_pickbot(i32 noundef %10) #2 %13 = load ptr, ptr %2, align 8, !tbaa !13 %14 = getelementptr inbounds i32, ptr %13, i64 %12 %15 = load i32, ptr %14, align 4, !tbaa !6 %16 = tail call ptr @IR(i32 noundef %15) #2 %17 = load i64, ptr %16, align 8, !tbaa !14 %18 = icmp eq i64 %12, %17 br i1 %18, label %54, label %19 19: ; preds = %11 %20 = load i32, ptr %3, align 4, !tbaa !17 %21 = tail call i32 @rset_test(i32 noundef %20, i64 noundef %12) #2 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %47 23: ; preds = %19 %24 = load ptr, ptr %4, align 8, !tbaa !18 %25 = getelementptr inbounds i32, ptr %24, i64 %12 %26 = load i32, ptr %25, align 4, !tbaa !6 %27 = tail call i32 @regcost_ref(i32 noundef %26) #2 %28 = tail call i32 @ra_iskref(i32 noundef %27) #2 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %44 30: ; preds = %23 %31 = tail call ptr @IR(i32 noundef %27) #2 %32 = getelementptr inbounds i8, ptr %31, i64 8 %33 = load i32, ptr %32, align 8, !tbaa !19 %34 = tail call i64 @irt_ismarked(i32 noundef %33) #2 %35 = icmp eq i64 %34, 0 br i1 %35, label %44, label %36 36: ; preds = %30 %37 = tail call i32 @rset_set(i32 noundef %9, i64 noundef %12) #2 %38 = tail call i64 @ra_hasreg(i64 noundef %17) #2 %39 = icmp eq i64 %38, 0 br i1 %39, label %42, label %40 40: ; preds = %36 %41 = tail call i32 @rset_set(i32 noundef %9, i64 noundef %17) #2 br label %42 42: ; preds = %40, %36 %43 = load i64, ptr @RID_NONE, align 8, !tbaa !20 br label %47 44: ; preds = %30, %23 %45 = tail call i32 @ra_restore(ptr noundef nonnull %0, i32 noundef %27) #2 %46 = tail call i32 @checkmclim(ptr noundef nonnull %0) #2 br label %47 47: ; preds = %42, %44, %19 %48 = phi i64 [ %17, %19 ], [ %17, %44 ], [ %43, %42 ] %49 = tail call i64 @ra_hasreg(i64 noundef %48) #2 %50 = icmp eq i64 %49, 0 br i1 %50, label %54, label %51 51: ; preds = %47 %52 = tail call i32 @ra_rename(ptr noundef nonnull %0, i64 noundef %48, i64 noundef %12) #2 %53 = tail call i32 @checkmclim(ptr noundef nonnull %0) #2 br label %54 54: ; preds = %47, %51, %11 %55 = tail call i32 @rset_clear(i32 noundef %10, i64 noundef %12) #2 br label %11 56: ; preds = %1, %73 %57 = phi i32 [ %74, %73 ], [ %5, %1 ] %58 = icmp eq i32 %57, 0 br i1 %58, label %77, label %59 59: ; preds = %56 %60 = load i32, ptr %3, align 4, !tbaa !17 %61 = and i32 %60, %57 %62 = icmp eq i32 %61, 0 br i1 %62, label %63, label %73 63: ; preds = %59 %64 = load i32, ptr @RSET_GPR, align 4, !tbaa !6 %65 = tail call i32 @asm_phi_break(ptr noundef nonnull %0, i32 noundef %57, i32 noundef %57, i32 noundef %64) #2 %66 = load i32, ptr @LJ_SOFTFP, align 4, !tbaa !6 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %71 68: ; preds = %63 %69 = load i32, ptr @RSET_FPR, align 4, !tbaa !6 %70 = tail call i32 @asm_phi_break(ptr noundef nonnull %0, i32 noundef %57, i32 noundef %57, i32 noundef %69) #2 br label %71 71: ; preds = %68, %63 %72 = tail call i32 @checkmclim(ptr noundef nonnull %0) #2 br label %73 73: ; preds = %59, %71 %74 = load i32, ptr @RSET_EMPTY, align 4, !tbaa !6 %75 = load i32, ptr %0, align 8, !tbaa !10 %76 = icmp eq i32 %75, 0 br i1 %76, label %56, label %8 77: ; preds = %56 %78 = getelementptr inbounds i8, ptr %0, i64 8 %79 = load i32, ptr %78, align 8, !tbaa !21 %80 = load i32, ptr %3, align 4, !tbaa !17 %81 = xor i32 %80, -1 %82 = and i32 %79, %81 %83 = load i32, ptr @RSET_FPR, align 4, !tbaa !6 %84 = and i32 %82, %83 %85 = icmp eq i32 %84, 0 br i1 %85, label %95, label %86 86: ; preds = %77, %86 %87 = tail call i64 @rset_pickbot(i32 noundef %84) #2 %88 = load ptr, ptr %4, align 8, !tbaa !18 %89 = getelementptr inbounds i32, ptr %88, i64 %87 %90 = load i32, ptr %89, align 4, !tbaa !6 %91 = tail call i32 @regcost_ref(i32 noundef %90) #2 %92 = tail call i32 @ra_restore(ptr noundef nonnull %0, i32 noundef %91) #2 %93 = tail call i32 @rset_clear(i32 noundef %84, i64 noundef %87) #2 %94 = tail call i32 @checkmclim(ptr noundef nonnull %0) #2 br label %86 95: ; preds = %77 %96 = icmp eq i32 %82, 0 br i1 %96, label %106, label %97 97: ; preds = %95, %97 %98 = tail call i64 @rset_pickbot(i32 noundef %82) #2 %99 = load ptr, ptr %4, align 8, !tbaa !18 %100 = getelementptr inbounds i32, ptr %99, i64 %98 %101 = load i32, ptr %100, align 4, !tbaa !6 %102 = tail call i32 @regcost_ref(i32 noundef %101) #2 %103 = tail call i32 @ra_restore(ptr noundef nonnull %0, i32 noundef %102) #2 %104 = tail call i32 @rset_clear(i32 noundef %82, i64 noundef %98) #2 %105 = tail call i32 @checkmclim(ptr noundef nonnull %0) #2 br label %97 106: ; preds = %95 ret void } declare i64 @rset_pickbot(i32 noundef) local_unnamed_addr #1 declare ptr @IR(i32 noundef) local_unnamed_addr #1 declare i32 @rset_test(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @regcost_ref(i32 noundef) local_unnamed_addr #1 declare i32 @ra_iskref(i32 noundef) local_unnamed_addr #1 declare i64 @irt_ismarked(i32 noundef) local_unnamed_addr #1 declare i32 @rset_set(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @ra_hasreg(i64 noundef) local_unnamed_addr #1 declare i32 @ra_restore(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @checkmclim(ptr noundef) local_unnamed_addr #1 declare i32 @ra_rename(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @rset_clear(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @asm_phi_break(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_13__", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16, !12, i64 24} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 16} !14 = !{!15, !16, i64 0} !15 = !{!"TYPE_12__", !16, i64 0, !7, i64 8, !7, i64 12} !16 = !{!"long", !8, i64 0} !17 = !{!11, !7, i64 4} !18 = !{!11, !12, i64 24} !19 = !{!15, !7, i64 8} !20 = !{!16, !16, i64 0} !21 = !{!11, !7, i64 8}
xLua_build_luajit-2.1.0b2_src_extr_lj_asm.c_asm_phi_shuffle
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/extr_hclgevf_main.c_hclgevf_init_roce_base_info.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/extr_hclgevf_main.c_hclgevf_init_roce_base_info.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.hclgevf_dev = type { i64, i64, %struct.TYPE_6__, i32, %struct.hnae3_handle, %struct.hnae3_handle } %struct.TYPE_6__ = type { i32 } %struct.hnae3_handle = type { i32, i32, i32, %struct.TYPE_5__, %struct.TYPE_4__ } %struct.TYPE_5__ = type { i64, i32, i32, i32 } %struct.TYPE_4__ = type { i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hclgevf_init_roce_base_info], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal i32 @hclgevf_init_roce_base_info(ptr nocapture noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.hclgevf_dev, ptr %0, i64 0, i32 5, i32 3 store i64 %2, ptr %3, align 8, !tbaa !15 %4 = getelementptr inbounds %struct.hclgevf_dev, ptr %0, i64 0, i32 1 %5 = load i64, ptr %4, align 8, !tbaa !16 %6 = icmp slt i64 %5, %2 %7 = icmp eq i64 %5, 0 %8 = or i1 %6, %7 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr @EINVAL, align 4, !tbaa !17 %11 = sub nsw i32 0, %10 br label %28 12: ; preds = %1 %13 = getelementptr inbounds %struct.hclgevf_dev, ptr %0, i64 0, i32 4 %14 = getelementptr inbounds %struct.hclgevf_dev, ptr %0, i64 0, i32 5 %15 = getelementptr inbounds %struct.hclgevf_dev, ptr %0, i64 0, i32 3 %16 = load i32, ptr %15, align 4, !tbaa !18 %17 = getelementptr inbounds %struct.hclgevf_dev, ptr %0, i64 0, i32 5, i32 3, i32 3 store i32 %16, ptr %17, align 8, !tbaa !19 %18 = getelementptr inbounds %struct.hclgevf_dev, ptr %0, i64 0, i32 4, i32 4 %19 = load i32, ptr %18, align 8, !tbaa !20 %20 = getelementptr inbounds %struct.hclgevf_dev, ptr %0, i64 0, i32 5, i32 3, i32 2 store i32 %19, ptr %20, align 4, !tbaa !21 %21 = getelementptr inbounds %struct.hclgevf_dev, ptr %0, i64 0, i32 2 %22 = load i32, ptr %21, align 8, !tbaa !22 %23 = getelementptr inbounds %struct.hclgevf_dev, ptr %0, i64 0, i32 5, i32 3, i32 1 store i32 %22, ptr %23, align 8, !tbaa !23 %24 = getelementptr inbounds %struct.hclgevf_dev, ptr %0, i64 0, i32 4, i32 2 %25 = load i32, ptr %24, align 8, !tbaa !24 %26 = getelementptr inbounds %struct.hclgevf_dev, ptr %0, i64 0, i32 5, i32 2 store i32 %25, ptr %26, align 8, !tbaa !24 %27 = load <2 x i32>, ptr %13, align 8, !tbaa !17 store <2 x i32> %27, ptr %14, align 8, !tbaa !17 br label %28 28: ; preds = %12, %9 %29 = phi i32 [ %11, %9 ], [ 0, %12 ] ret i32 %29 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"hclgevf_dev", !7, i64 0, !7, i64 8, !10, i64 16, !11, i64 20, !12, i64 24, !12, i64 72} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_6__", !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!"hnae3_handle", !11, i64 0, !11, i64 4, !11, i64 8, !13, i64 16, !14, i64 40} !13 = !{!"TYPE_5__", !7, i64 0, !11, i64 8, !11, i64 12, !11, i64 16} !14 = !{!"TYPE_4__", !11, i64 0} !15 = !{!12, !7, i64 16} !16 = !{!6, !7, i64 8} !17 = !{!11, !11, i64 0} !18 = !{!6, !11, i64 20} !19 = !{!12, !11, i64 32} !20 = !{!12, !11, i64 40} !21 = !{!12, !11, i64 28} !22 = !{!6, !11, i64 16} !23 = !{!12, !11, i64 24} !24 = !{!12, !11, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/extr_hclgevf_main.c_hclgevf_init_roce_base_info.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/extr_hclgevf_main.c_hclgevf_init_roce_base_info.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hclgevf_init_roce_base_info], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @hclgevf_init_roce_base_info(ptr nocapture noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 88 store i64 %2, ptr %3, align 8, !tbaa !16 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i64, ptr %4, align 8, !tbaa !17 %6 = icmp slt i64 %5, %2 %7 = icmp eq i64 %5, 0 %8 = or i1 %6, %7 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr @EINVAL, align 4, !tbaa !18 %11 = sub nsw i32 0, %10 br label %28 12: ; preds = %1 %13 = getelementptr inbounds i8, ptr %0, i64 24 %14 = getelementptr inbounds i8, ptr %0, i64 72 %15 = getelementptr inbounds i8, ptr %0, i64 20 %16 = load i32, ptr %15, align 4, !tbaa !19 %17 = getelementptr inbounds i8, ptr %0, i64 104 store i32 %16, ptr %17, align 8, !tbaa !20 %18 = getelementptr inbounds i8, ptr %0, i64 64 %19 = load i32, ptr %18, align 8, !tbaa !21 %20 = getelementptr inbounds i8, ptr %0, i64 100 store i32 %19, ptr %20, align 4, !tbaa !22 %21 = getelementptr inbounds i8, ptr %0, i64 16 %22 = load i32, ptr %21, align 8, !tbaa !23 %23 = getelementptr inbounds i8, ptr %0, i64 96 store i32 %22, ptr %23, align 8, !tbaa !24 %24 = getelementptr inbounds i8, ptr %0, i64 32 %25 = load i32, ptr %24, align 8, !tbaa !25 %26 = getelementptr inbounds i8, ptr %0, i64 80 store i32 %25, ptr %26, align 8, !tbaa !25 %27 = load <2 x i32>, ptr %13, align 8, !tbaa !18 store <2 x i32> %27, ptr %14, align 8, !tbaa !18 br label %28 28: ; preds = %12, %9 %29 = phi i32 [ %11, %9 ], [ 0, %12 ] ret i32 %29 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"hclgevf_dev", !8, i64 0, !8, i64 8, !11, i64 16, !12, i64 20, !13, i64 24, !13, i64 72} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!"hnae3_handle", !12, i64 0, !12, i64 4, !12, i64 8, !14, i64 16, !15, i64 40} !14 = !{!"TYPE_5__", !8, i64 0, !12, i64 8, !12, i64 12, !12, i64 16} !15 = !{!"TYPE_4__", !12, i64 0} !16 = !{!13, !8, i64 16} !17 = !{!7, !8, i64 8} !18 = !{!12, !12, i64 0} !19 = !{!7, !12, i64 20} !20 = !{!13, !12, i64 32} !21 = !{!13, !12, i64 40} !22 = !{!13, !12, i64 28} !23 = !{!7, !12, i64 16} !24 = !{!13, !12, i64 24} !25 = !{!13, !12, i64 8}
linux_drivers_net_ethernet_hisilicon_hns3_hns3vf_extr_hclgevf_main.c_hclgevf_init_roce_base_info
; ModuleID = 'AnghaBench/freebsd/sys/arm/mv/extr_mv_pci.c_mv_pci_devmap.c' source_filename = "AnghaBench/freebsd/sys/arm/mv/extr_mv_pci.c_mv_pci_devmap.c" target datalayout = "e-m:e-p270:32:32-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.mv_pci_range = type { ptr, i32 } %struct.devmap_entry = type { ptr, i32, ptr } ; Function Attrs: nounwind uwtable define dso_local i32 @mv_pci_devmap(i32 noundef %0, ptr nocapture noundef writeonly %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = alloca %struct.mv_pci_range, align 8 %6 = alloca %struct.mv_pci_range, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #3 %7 = call i32 @mv_pci_ranges_decode(i32 noundef %0, ptr noundef nonnull %5, ptr noundef nonnull %6) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %25 9: ; preds = %4 %10 = icmp eq ptr %2, null %11 = load ptr, ptr %5, align 8 %12 = select i1 %10, ptr %11, ptr %2 %13 = getelementptr inbounds %struct.devmap_entry, ptr %1, i64 0, i32 2 store ptr %12, ptr %13, align 8, !tbaa !5 store ptr %11, ptr %1, align 8, !tbaa !11 %14 = getelementptr inbounds %struct.mv_pci_range, ptr %5, i64 0, i32 1 %15 = load i32, ptr %14, align 8, !tbaa !12 %16 = getelementptr inbounds %struct.devmap_entry, ptr %1, i64 0, i32 1 store i32 %15, ptr %16, align 8, !tbaa !14 %17 = getelementptr inbounds %struct.devmap_entry, ptr %1, i64 1 %18 = icmp eq ptr %3, null %19 = load ptr, ptr %6, align 8 %20 = select i1 %18, ptr %19, ptr %3 %21 = getelementptr inbounds %struct.devmap_entry, ptr %1, i64 1, i32 2 store ptr %20, ptr %21, align 8, !tbaa !5 store ptr %19, ptr %17, align 8, !tbaa !11 %22 = getelementptr inbounds %struct.mv_pci_range, ptr %6, i64 0, i32 1 %23 = load i32, ptr %22, align 8, !tbaa !12 %24 = getelementptr inbounds %struct.devmap_entry, ptr %1, i64 1, i32 1 store i32 %23, ptr %24, align 8, !tbaa !14 br label %25 25: ; preds = %4, %9 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3 ret i32 %7 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @mv_pci_ranges_decode(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, !7, i64 16} !6 = !{!"devmap_entry", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!13, !10, i64 8} !13 = !{!"mv_pci_range", !7, i64 0, !10, i64 8} !14 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/freebsd/sys/arm/mv/extr_mv_pci.c_mv_pci_devmap.c' source_filename = "AnghaBench/freebsd/sys/arm/mv/extr_mv_pci.c_mv_pci_devmap.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.mv_pci_range = type { ptr, i32 } ; Function Attrs: nounwind ssp uwtable(sync) define i32 @mv_pci_devmap(i32 noundef %0, ptr nocapture noundef writeonly %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = alloca %struct.mv_pci_range, align 8 %6 = alloca %struct.mv_pci_range, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #3 %7 = call i32 @mv_pci_ranges_decode(i32 noundef %0, ptr noundef nonnull %5, ptr noundef nonnull %6) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %25 9: ; preds = %4 %10 = icmp eq ptr %2, null %11 = load ptr, ptr %5, align 8 %12 = select i1 %10, ptr %11, ptr %2 %13 = getelementptr inbounds i8, ptr %1, i64 16 store ptr %12, ptr %13, align 8, !tbaa !6 store ptr %11, ptr %1, align 8, !tbaa !12 %14 = getelementptr inbounds i8, ptr %5, i64 8 %15 = load i32, ptr %14, align 8, !tbaa !13 %16 = getelementptr inbounds i8, ptr %1, i64 8 store i32 %15, ptr %16, align 8, !tbaa !15 %17 = getelementptr inbounds i8, ptr %1, i64 24 %18 = icmp eq ptr %3, null %19 = load ptr, ptr %6, align 8 %20 = select i1 %18, ptr %19, ptr %3 %21 = getelementptr inbounds i8, ptr %1, i64 40 store ptr %20, ptr %21, align 8, !tbaa !6 store ptr %19, ptr %17, align 8, !tbaa !12 %22 = getelementptr inbounds i8, ptr %6, i64 8 %23 = load i32, ptr %22, align 8, !tbaa !13 %24 = getelementptr inbounds i8, ptr %1, i64 32 store i32 %23, ptr %24, align 8, !tbaa !15 br label %25 25: ; preds = %4, %9 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3 ret i32 %7 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @mv_pci_ranges_decode(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, !8, i64 16} !7 = !{!"devmap_entry", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!14, !11, i64 8} !14 = !{!"mv_pci_range", !8, i64 0, !11, i64 8} !15 = !{!7, !11, i64 8}
freebsd_sys_arm_mv_extr_mv_pci.c_mv_pci_devmap
; ModuleID = 'AnghaBench/freebsd/sys/dev/isci/extr_isci_timer.c_scif_cb_timer_stop.c' source_filename = "AnghaBench/freebsd/sys/dev/isci/extr_isci_timer.c_scif_cb_timer_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.ISCI_TIMER = type { i32, i32 } @.str = private unnamed_addr constant [6 x i8] c"TIMER\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"stop %p\0A\00", align 1 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @scif_cb_timer_stop(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @isci_log_message(i32 noundef 3, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef %1) #2 %4 = load i32, ptr @FALSE, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.ISCI_TIMER, ptr %1, i64 0, i32 1 store i32 %4, ptr %5, align 4, !tbaa !9 %6 = tail call i32 @callout_stop(ptr noundef %1) #2 ret void } declare i32 @isci_log_message(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @callout_stop(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !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 = !{!"ISCI_TIMER", !6, i64 0, !6, i64 4}
; ModuleID = 'AnghaBench/freebsd/sys/dev/isci/extr_isci_timer.c_scif_cb_timer_stop.c' source_filename = "AnghaBench/freebsd/sys/dev/isci/extr_isci_timer.c_scif_cb_timer_stop.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 [6 x i8] c"TIMER\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"stop %p\0A\00", align 1 @FALSE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @scif_cb_timer_stop(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @isci_log_message(i32 noundef 3, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef %1) #2 %4 = load i32, ptr @FALSE, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %4, ptr %5, align 4, !tbaa !10 %6 = tail call i32 @callout_stop(ptr noundef %1) #2 ret void } declare i32 @isci_log_message(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @callout_stop(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !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 = !{!"ISCI_TIMER", !7, i64 0, !7, i64 4}
freebsd_sys_dev_isci_extr_isci_timer.c_scif_cb_timer_stop
; ModuleID = 'AnghaBench/git/extr_log-tree.c_do_diff_combined.c' source_filename = "AnghaBench/git/extr_log-tree.c_do_diff_combined.c" target datalayout = "e-m:e-p270:32:32-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.rev_info = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @do_diff_combined], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @do_diff_combined(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.rev_info, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = tail call i32 @diff_tree_combined_merge(ptr noundef %1, i32 noundef %4, ptr noundef %0) #2 %6 = load i32, ptr %0, align 4, !tbaa !10 %7 = icmp eq i32 %6, 0 %8 = zext i1 %7 to i32 ret i32 %8 } declare i32 @diff_tree_combined_merge(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"rev_info", !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/git/extr_log-tree.c_do_diff_combined.c' source_filename = "AnghaBench/git/extr_log-tree.c_do_diff_combined.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 @do_diff_combined], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @do_diff_combined(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = tail call i32 @diff_tree_combined_merge(ptr noundef %1, i32 noundef %4, ptr noundef %0) #2 %6 = load i32, ptr %0, align 4, !tbaa !11 %7 = icmp eq i32 %6, 0 %8 = zext i1 %7 to i32 ret i32 %8 } declare i32 @diff_tree_combined_merge(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"rev_info", !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}
git_extr_log-tree.c_do_diff_combined
; ModuleID = 'AnghaBench/linux/drivers/gpio/extr_gpio-menz127.c_men_z127_probe.c' source_filename = "AnghaBench/linux/drivers/gpio/extr_gpio-menz127.c_men_z127_probe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.men_z127_gpio = type { ptr, ptr, %struct.TYPE_9__ } %struct.TYPE_9__ = type { i32 } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"failed to request device memory\00", align 1 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @MEN_Z127_PSR = dso_local local_unnamed_addr global i32 0, align 4 @MEN_Z127_CTRL = dso_local local_unnamed_addr global i32 0, align 4 @MEN_Z127_GPIODR = dso_local local_unnamed_addr global i32 0, align 4 @men_z127_set_config = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [46 x i8] c"failed to register MEN 16Z127 GPIO controller\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"MEN 16Z127 GPIO driver registered\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @men_z127_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @men_z127_probe(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %4 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 24, i32 noundef %3) #2 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %8 = sub nsw i32 0, %7 br label %59 9: ; preds = %2 %10 = tail call i32 @dev_name(ptr noundef %0) #2 %11 = tail call ptr @mcb_request_mem(ptr noundef %0, i32 noundef %10) #2 store ptr %11, ptr %4, align 8, !tbaa !9 %12 = tail call i64 @IS_ERR(ptr noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %18, label %14 14: ; preds = %9 %15 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str) #2 %16 = load ptr, ptr %4, align 8, !tbaa !9 %17 = tail call i32 @PTR_ERR(ptr noundef %16) #2 br label %59 18: ; preds = %9 %19 = load ptr, ptr %4, align 8, !tbaa !9 %20 = load i32, ptr %19, align 4, !tbaa !13 %21 = tail call i32 @resource_size(ptr noundef nonnull %19) #2 %22 = tail call ptr @ioremap(i32 noundef %20, i32 noundef %21) #2 %23 = getelementptr inbounds %struct.men_z127_gpio, ptr %4, i64 0, i32 1 store ptr %22, ptr %23, align 8, !tbaa !15 %24 = icmp eq ptr %22, null br i1 %24, label %25, label %28 25: ; preds = %18 %26 = load i32, ptr @ENXIO, align 4, !tbaa !5 %27 = sub nsw i32 0, %26 br label %55 28: ; preds = %18 %29 = tail call i32 @mcb_set_drvdata(ptr noundef %0, ptr noundef nonnull %4) #2 %30 = getelementptr inbounds %struct.men_z127_gpio, ptr %4, i64 0, i32 2 %31 = load ptr, ptr %23, align 8, !tbaa !15 %32 = load i32, ptr @MEN_Z127_PSR, align 4, !tbaa !5 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 %35 = load i32, ptr @MEN_Z127_CTRL, align 4, !tbaa !5 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %31, i64 %36 %38 = load i32, ptr @MEN_Z127_GPIODR, align 4, !tbaa !5 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %31, i64 %39 %41 = tail call i32 @bgpio_init(ptr noundef nonnull %30, ptr noundef %0, i32 noundef 4, ptr noundef %34, ptr noundef %37, ptr noundef null, ptr noundef %40, ptr noundef null, i32 noundef 0) #2 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %51 43: ; preds = %28 %44 = load i32, ptr @men_z127_set_config, align 4, !tbaa !5 store i32 %44, ptr %30, align 8, !tbaa !16 %45 = tail call i32 @gpiochip_add_data(ptr noundef nonnull %30, ptr noundef nonnull %4) #2 %46 = icmp eq i32 %45, 0 br i1 %46, label %49, label %47 47: ; preds = %43 %48 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str.1) #2 br label %51 49: ; preds = %43 %50 = tail call i32 @dev_info(ptr noundef %0, ptr noundef nonnull @.str.2) #2 br label %59 51: ; preds = %28, %47 %52 = phi i32 [ %41, %28 ], [ %45, %47 ] %53 = load ptr, ptr %23, align 8, !tbaa !15 %54 = tail call i32 @iounmap(ptr noundef %53) #2 br label %55 55: ; preds = %51, %25 %56 = phi i32 [ %27, %25 ], [ %52, %51 ] %57 = load ptr, ptr %4, align 8, !tbaa !9 %58 = tail call i32 @mcb_release_mem(ptr noundef %57) #2 br label %59 59: ; preds = %55, %49, %14, %6 %60 = phi i32 [ %17, %14 ], [ %56, %55 ], [ 0, %49 ], [ %8, %6 ] ret i32 %60 } declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @mcb_request_mem(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_name(ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare ptr @ioremap(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @resource_size(ptr noundef) local_unnamed_addr #1 declare i32 @mcb_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bgpio_init(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gpiochip_add_data(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_info(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @iounmap(ptr noundef) local_unnamed_addr #1 declare i32 @mcb_release_mem(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 = !{!"men_z127_gpio", !11, i64 0, !11, i64 8, !12, i64 16} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"TYPE_9__", !6, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_8__", !6, i64 0} !15 = !{!10, !11, i64 8} !16 = !{!10, !6, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/gpio/extr_gpio-menz127.c_men_z127_probe.c' source_filename = "AnghaBench/linux/drivers/gpio/extr_gpio-menz127.c_men_z127_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"failed to request device memory\00", align 1 @ENXIO = common local_unnamed_addr global i32 0, align 4 @MEN_Z127_PSR = common local_unnamed_addr global i32 0, align 4 @MEN_Z127_CTRL = common local_unnamed_addr global i32 0, align 4 @MEN_Z127_GPIODR = common local_unnamed_addr global i32 0, align 4 @men_z127_set_config = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [46 x i8] c"failed to register MEN 16Z127 GPIO controller\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"MEN 16Z127 GPIO driver registered\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @men_z127_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @men_z127_probe(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %4 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 24, i32 noundef %3) #2 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %8 = sub nsw i32 0, %7 br label %59 9: ; preds = %2 %10 = tail call i32 @dev_name(ptr noundef %0) #2 %11 = tail call ptr @mcb_request_mem(ptr noundef %0, i32 noundef %10) #2 store ptr %11, ptr %4, align 8, !tbaa !10 %12 = tail call i64 @IS_ERR(ptr noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %18, label %14 14: ; preds = %9 %15 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str) #2 %16 = load ptr, ptr %4, align 8, !tbaa !10 %17 = tail call i32 @PTR_ERR(ptr noundef %16) #2 br label %59 18: ; preds = %9 %19 = load ptr, ptr %4, align 8, !tbaa !10 %20 = load i32, ptr %19, align 4, !tbaa !14 %21 = tail call i32 @resource_size(ptr noundef nonnull %19) #2 %22 = tail call ptr @ioremap(i32 noundef %20, i32 noundef %21) #2 %23 = getelementptr inbounds i8, ptr %4, i64 8 store ptr %22, ptr %23, align 8, !tbaa !16 %24 = icmp eq ptr %22, null br i1 %24, label %25, label %28 25: ; preds = %18 %26 = load i32, ptr @ENXIO, align 4, !tbaa !6 %27 = sub nsw i32 0, %26 br label %55 28: ; preds = %18 %29 = tail call i32 @mcb_set_drvdata(ptr noundef %0, ptr noundef nonnull %4) #2 %30 = getelementptr inbounds i8, ptr %4, i64 16 %31 = load ptr, ptr %23, align 8, !tbaa !16 %32 = load i32, ptr @MEN_Z127_PSR, align 4, !tbaa !6 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 %35 = load i32, ptr @MEN_Z127_CTRL, align 4, !tbaa !6 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %31, i64 %36 %38 = load i32, ptr @MEN_Z127_GPIODR, align 4, !tbaa !6 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %31, i64 %39 %41 = tail call i32 @bgpio_init(ptr noundef nonnull %30, ptr noundef %0, i32 noundef 4, ptr noundef %34, ptr noundef %37, ptr noundef null, ptr noundef %40, ptr noundef null, i32 noundef 0) #2 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %51 43: ; preds = %28 %44 = load i32, ptr @men_z127_set_config, align 4, !tbaa !6 store i32 %44, ptr %30, align 8, !tbaa !17 %45 = tail call i32 @gpiochip_add_data(ptr noundef nonnull %30, ptr noundef nonnull %4) #2 %46 = icmp eq i32 %45, 0 br i1 %46, label %49, label %47 47: ; preds = %43 %48 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str.1) #2 br label %51 49: ; preds = %43 %50 = tail call i32 @dev_info(ptr noundef %0, ptr noundef nonnull @.str.2) #2 br label %59 51: ; preds = %28, %47 %52 = phi i32 [ %41, %28 ], [ %45, %47 ] %53 = load ptr, ptr %23, align 8, !tbaa !16 %54 = tail call i32 @iounmap(ptr noundef %53) #2 br label %55 55: ; preds = %51, %25 %56 = phi i32 [ %27, %25 ], [ %52, %51 ] %57 = load ptr, ptr %4, align 8, !tbaa !10 %58 = tail call i32 @mcb_release_mem(ptr noundef %57) #2 br label %59 59: ; preds = %55, %49, %14, %6 %60 = phi i32 [ %17, %14 ], [ %56, %55 ], [ 0, %49 ], [ %8, %6 ] ret i32 %60 } declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @mcb_request_mem(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_name(ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare ptr @ioremap(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @resource_size(ptr noundef) local_unnamed_addr #1 declare i32 @mcb_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bgpio_init(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gpiochip_add_data(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_info(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @iounmap(ptr noundef) local_unnamed_addr #1 declare i32 @mcb_release_mem(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 = !{!"men_z127_gpio", !12, i64 0, !12, i64 8, !13, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"TYPE_9__", !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_8__", !7, i64 0} !16 = !{!11, !12, i64 8} !17 = !{!11, !7, i64 16}
linux_drivers_gpio_extr_gpio-menz127.c_men_z127_probe
; ModuleID = 'AnghaBench/postgres/src/backend/executor/extr_nodeAgg.c_find_compatible_peragg.c' source_filename = "AnghaBench/postgres/src/backend/executor/extr_nodeAgg.c_find_compatible_peragg.c" target datalayout = "e-m:e-p270:32:32-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, i64, i64, i64, i32, i32, i32, i32, i32 } %struct.TYPE_7__ = type { i32, i64, ptr } @NIL = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @find_compatible_peragg], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @find_compatible_peragg(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr nocapture noundef %3) #0 { %5 = load ptr, ptr @NIL, align 8, !tbaa !5 store ptr %5, ptr %3, align 8, !tbaa !5 %6 = tail call i64 @contain_volatile_functions(ptr noundef %0) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %115 8: ; preds = %4 %9 = load ptr, ptr %1, align 8, !tbaa !9 %10 = icmp slt i32 %2, 0 br i1 %10, label %115, label %11 11: ; preds = %8 %12 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %13 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2 %14 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 3 %15 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 4 %16 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 12 %17 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 11 %18 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 10 %19 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 9 %20 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 5 %21 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 6 %22 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 7 %23 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 8 %24 = add nuw i32 %2, 1 %25 = zext i32 %24 to i64 br label %26 26: ; preds = %11, %112 %27 = phi i64 [ 0, %11 ], [ %113, %112 ] %28 = getelementptr inbounds %struct.TYPE_7__, ptr %9, i64 %27 %29 = getelementptr inbounds %struct.TYPE_7__, ptr %9, i64 %27, i32 2 %30 = load ptr, ptr %29, align 8, !tbaa !11 %31 = load i64, ptr %0, align 8, !tbaa !15 %32 = load i64, ptr %30, align 8, !tbaa !15 %33 = icmp eq i64 %31, %32 br i1 %33, label %34, label %112 34: ; preds = %26 %35 = load i64, ptr %12, align 8, !tbaa !17 %36 = getelementptr inbounds %struct.TYPE_6__, ptr %30, i64 0, i32 1 %37 = load i64, ptr %36, align 8, !tbaa !17 %38 = icmp eq i64 %35, %37 br i1 %38, label %39, label %112 39: ; preds = %34 %40 = load i64, ptr %13, align 8, !tbaa !18 %41 = getelementptr inbounds %struct.TYPE_6__, ptr %30, i64 0, i32 2 %42 = load i64, ptr %41, align 8, !tbaa !18 %43 = icmp eq i64 %40, %42 br i1 %43, label %44, label %112 44: ; preds = %39 %45 = load i64, ptr %14, align 8, !tbaa !19 %46 = getelementptr inbounds %struct.TYPE_6__, ptr %30, i64 0, i32 3 %47 = load i64, ptr %46, align 8, !tbaa !19 %48 = icmp eq i64 %45, %47 br i1 %48, label %49, label %112 49: ; preds = %44 %50 = load i64, ptr %15, align 8, !tbaa !20 %51 = getelementptr inbounds %struct.TYPE_6__, ptr %30, i64 0, i32 4 %52 = load i64, ptr %51, align 8, !tbaa !20 %53 = icmp eq i64 %50, %52 br i1 %53, label %54, label %112 54: ; preds = %49 %55 = load i32, ptr %16, align 8, !tbaa !21 %56 = getelementptr inbounds %struct.TYPE_6__, ptr %30, i64 0, i32 12 %57 = load i32, ptr %56, align 8, !tbaa !21 %58 = tail call i64 @equal(i32 noundef %55, i32 noundef %57) #2 %59 = icmp eq i64 %58, 0 br i1 %59, label %112, label %60 60: ; preds = %54 %61 = load i32, ptr %17, align 4, !tbaa !22 %62 = getelementptr inbounds %struct.TYPE_6__, ptr %30, i64 0, i32 11 %63 = load i32, ptr %62, align 4, !tbaa !22 %64 = tail call i64 @equal(i32 noundef %61, i32 noundef %63) #2 %65 = icmp eq i64 %64, 0 br i1 %65, label %112, label %66 66: ; preds = %60 %67 = load i32, ptr %18, align 8, !tbaa !23 %68 = getelementptr inbounds %struct.TYPE_6__, ptr %30, i64 0, i32 10 %69 = load i32, ptr %68, align 8, !tbaa !23 %70 = tail call i64 @equal(i32 noundef %67, i32 noundef %69) #2 %71 = icmp eq i64 %70, 0 br i1 %71, label %112, label %72 72: ; preds = %66 %73 = load i32, ptr %19, align 4, !tbaa !24 %74 = getelementptr inbounds %struct.TYPE_6__, ptr %30, i64 0, i32 9 %75 = load i32, ptr %74, align 4, !tbaa !24 %76 = tail call i64 @equal(i32 noundef %73, i32 noundef %75) #2 %77 = icmp eq i64 %76, 0 br i1 %77, label %112, label %78 78: ; preds = %72 %79 = load i64, ptr %20, align 8, !tbaa !25 %80 = getelementptr inbounds %struct.TYPE_6__, ptr %30, i64 0, i32 5 %81 = load i64, ptr %80, align 8, !tbaa !25 %82 = icmp eq i64 %79, %81 br i1 %82, label %83, label %99 83: ; preds = %78 %84 = load i64, ptr %21, align 8, !tbaa !26 %85 = getelementptr inbounds %struct.TYPE_6__, ptr %30, i64 0, i32 6 %86 = load i64, ptr %85, align 8, !tbaa !26 %87 = icmp eq i64 %84, %86 br i1 %87, label %88, label %99 88: ; preds = %83 %89 = load i64, ptr %22, align 8, !tbaa !27 %90 = getelementptr inbounds %struct.TYPE_6__, ptr %30, i64 0, i32 7 %91 = load i64, ptr %90, align 8, !tbaa !27 %92 = icmp eq i64 %89, %91 br i1 %92, label %93, label %99 93: ; preds = %88 %94 = load i32, ptr %23, align 8, !tbaa !28 %95 = getelementptr inbounds %struct.TYPE_6__, ptr %30, i64 0, i32 8 %96 = load i32, ptr %95, align 8, !tbaa !28 %97 = tail call i64 @equal(i32 noundef %94, i32 noundef %96) #2 %98 = icmp eq i64 %97, 0 br i1 %98, label %99, label %107 99: ; preds = %93, %88, %83, %78 %100 = getelementptr inbounds %struct.TYPE_7__, ptr %9, i64 %27, i32 1 %101 = load i64, ptr %100, align 8, !tbaa !29 %102 = icmp eq i64 %101, 0 br i1 %102, label %112, label %103 103: ; preds = %99 %104 = load ptr, ptr %3, align 8, !tbaa !5 %105 = load i32, ptr %28, align 8, !tbaa !30 %106 = tail call ptr @lappend_int(ptr noundef %104, i32 noundef %105) #2 store ptr %106, ptr %3, align 8, !tbaa !5 br label %112 107: ; preds = %93 %108 = trunc i64 %27 to i32 %109 = load ptr, ptr %3, align 8, !tbaa !5 %110 = tail call i32 @list_free(ptr noundef %109) #2 %111 = load ptr, ptr @NIL, align 8, !tbaa !5 store ptr %111, ptr %3, align 8, !tbaa !5 br label %115 112: ; preds = %72, %66, %60, %54, %49, %44, %39, %34, %26, %103, %99 %113 = add nuw nsw i64 %27, 1 %114 = icmp eq i64 %113, %25 br i1 %114, label %115, label %26, !llvm.loop !31 115: ; preds = %112, %8, %107, %4 %116 = phi i32 [ %108, %107 ], [ -1, %4 ], [ -1, %8 ], [ -1, %112 ] ret i32 %116 } declare i64 @contain_volatile_functions(ptr noundef) local_unnamed_addr #1 declare i64 @equal(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @list_free(ptr noundef) local_unnamed_addr #1 declare ptr @lappend_int(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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_8__", !6, i64 0} !11 = !{!12, !6, i64 16} !12 = !{!"TYPE_7__", !13, i64 0, !14, i64 8, !6, i64 16} !13 = !{!"int", !7, i64 0} !14 = !{!"long", !7, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"TYPE_6__", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !13, i64 64, !13, i64 68, !13, i64 72, !13, i64 76, !13, i64 80} !17 = !{!16, !14, i64 8} !18 = !{!16, !14, i64 16} !19 = !{!16, !14, i64 24} !20 = !{!16, !14, i64 32} !21 = !{!16, !13, i64 80} !22 = !{!16, !13, i64 76} !23 = !{!16, !13, i64 72} !24 = !{!16, !13, i64 68} !25 = !{!16, !14, i64 40} !26 = !{!16, !14, i64 48} !27 = !{!16, !14, i64 56} !28 = !{!16, !13, i64 64} !29 = !{!12, !14, i64 8} !30 = !{!12, !13, i64 0} !31 = distinct !{!31, !32} !32 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/postgres/src/backend/executor/extr_nodeAgg.c_find_compatible_peragg.c' source_filename = "AnghaBench/postgres/src/backend/executor/extr_nodeAgg.c_find_compatible_peragg.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_7__ = type { i32, i64, ptr } @NIL = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @find_compatible_peragg], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @find_compatible_peragg(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr nocapture noundef %3) #0 { %5 = load ptr, ptr @NIL, align 8, !tbaa !6 store ptr %5, ptr %3, align 8, !tbaa !6 %6 = tail call i64 @contain_volatile_functions(ptr noundef %0) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %115 8: ; preds = %4 %9 = load ptr, ptr %1, align 8, !tbaa !10 %10 = icmp slt i32 %2, 0 br i1 %10, label %115, label %11 11: ; preds = %8 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = getelementptr inbounds i8, ptr %0, i64 16 %14 = getelementptr inbounds i8, ptr %0, i64 24 %15 = getelementptr inbounds i8, ptr %0, i64 32 %16 = getelementptr inbounds i8, ptr %0, i64 80 %17 = getelementptr inbounds i8, ptr %0, i64 76 %18 = getelementptr inbounds i8, ptr %0, i64 72 %19 = getelementptr inbounds i8, ptr %0, i64 68 %20 = getelementptr inbounds i8, ptr %0, i64 40 %21 = getelementptr inbounds i8, ptr %0, i64 48 %22 = getelementptr inbounds i8, ptr %0, i64 56 %23 = getelementptr inbounds i8, ptr %0, i64 64 %24 = add nuw i32 %2, 1 %25 = zext i32 %24 to i64 br label %26 26: ; preds = %11, %112 %27 = phi i64 [ 0, %11 ], [ %113, %112 ] %28 = getelementptr inbounds %struct.TYPE_7__, ptr %9, i64 %27 %29 = getelementptr inbounds i8, ptr %28, i64 16 %30 = load ptr, ptr %29, align 8, !tbaa !12 %31 = load i64, ptr %0, align 8, !tbaa !16 %32 = load i64, ptr %30, align 8, !tbaa !16 %33 = icmp eq i64 %31, %32 br i1 %33, label %34, label %112 34: ; preds = %26 %35 = load i64, ptr %12, align 8, !tbaa !18 %36 = getelementptr inbounds i8, ptr %30, i64 8 %37 = load i64, ptr %36, align 8, !tbaa !18 %38 = icmp eq i64 %35, %37 br i1 %38, label %39, label %112 39: ; preds = %34 %40 = load i64, ptr %13, align 8, !tbaa !19 %41 = getelementptr inbounds i8, ptr %30, i64 16 %42 = load i64, ptr %41, align 8, !tbaa !19 %43 = icmp eq i64 %40, %42 br i1 %43, label %44, label %112 44: ; preds = %39 %45 = load i64, ptr %14, align 8, !tbaa !20 %46 = getelementptr inbounds i8, ptr %30, i64 24 %47 = load i64, ptr %46, align 8, !tbaa !20 %48 = icmp eq i64 %45, %47 br i1 %48, label %49, label %112 49: ; preds = %44 %50 = load i64, ptr %15, align 8, !tbaa !21 %51 = getelementptr inbounds i8, ptr %30, i64 32 %52 = load i64, ptr %51, align 8, !tbaa !21 %53 = icmp eq i64 %50, %52 br i1 %53, label %54, label %112 54: ; preds = %49 %55 = load i32, ptr %16, align 8, !tbaa !22 %56 = getelementptr inbounds i8, ptr %30, i64 80 %57 = load i32, ptr %56, align 8, !tbaa !22 %58 = tail call i64 @equal(i32 noundef %55, i32 noundef %57) #2 %59 = icmp eq i64 %58, 0 br i1 %59, label %112, label %60 60: ; preds = %54 %61 = load i32, ptr %17, align 4, !tbaa !23 %62 = getelementptr inbounds i8, ptr %30, i64 76 %63 = load i32, ptr %62, align 4, !tbaa !23 %64 = tail call i64 @equal(i32 noundef %61, i32 noundef %63) #2 %65 = icmp eq i64 %64, 0 br i1 %65, label %112, label %66 66: ; preds = %60 %67 = load i32, ptr %18, align 8, !tbaa !24 %68 = getelementptr inbounds i8, ptr %30, i64 72 %69 = load i32, ptr %68, align 8, !tbaa !24 %70 = tail call i64 @equal(i32 noundef %67, i32 noundef %69) #2 %71 = icmp eq i64 %70, 0 br i1 %71, label %112, label %72 72: ; preds = %66 %73 = load i32, ptr %19, align 4, !tbaa !25 %74 = getelementptr inbounds i8, ptr %30, i64 68 %75 = load i32, ptr %74, align 4, !tbaa !25 %76 = tail call i64 @equal(i32 noundef %73, i32 noundef %75) #2 %77 = icmp eq i64 %76, 0 br i1 %77, label %112, label %78 78: ; preds = %72 %79 = load i64, ptr %20, align 8, !tbaa !26 %80 = getelementptr inbounds i8, ptr %30, i64 40 %81 = load i64, ptr %80, align 8, !tbaa !26 %82 = icmp eq i64 %79, %81 br i1 %82, label %83, label %99 83: ; preds = %78 %84 = load i64, ptr %21, align 8, !tbaa !27 %85 = getelementptr inbounds i8, ptr %30, i64 48 %86 = load i64, ptr %85, align 8, !tbaa !27 %87 = icmp eq i64 %84, %86 br i1 %87, label %88, label %99 88: ; preds = %83 %89 = load i64, ptr %22, align 8, !tbaa !28 %90 = getelementptr inbounds i8, ptr %30, i64 56 %91 = load i64, ptr %90, align 8, !tbaa !28 %92 = icmp eq i64 %89, %91 br i1 %92, label %93, label %99 93: ; preds = %88 %94 = load i32, ptr %23, align 8, !tbaa !29 %95 = getelementptr inbounds i8, ptr %30, i64 64 %96 = load i32, ptr %95, align 8, !tbaa !29 %97 = tail call i64 @equal(i32 noundef %94, i32 noundef %96) #2 %98 = icmp eq i64 %97, 0 br i1 %98, label %99, label %107 99: ; preds = %93, %88, %83, %78 %100 = getelementptr inbounds i8, ptr %28, i64 8 %101 = load i64, ptr %100, align 8, !tbaa !30 %102 = icmp eq i64 %101, 0 br i1 %102, label %112, label %103 103: ; preds = %99 %104 = load ptr, ptr %3, align 8, !tbaa !6 %105 = load i32, ptr %28, align 8, !tbaa !31 %106 = tail call ptr @lappend_int(ptr noundef %104, i32 noundef %105) #2 store ptr %106, ptr %3, align 8, !tbaa !6 br label %112 107: ; preds = %93 %108 = trunc nuw nsw i64 %27 to i32 %109 = load ptr, ptr %3, align 8, !tbaa !6 %110 = tail call i32 @list_free(ptr noundef %109) #2 %111 = load ptr, ptr @NIL, align 8, !tbaa !6 store ptr %111, ptr %3, align 8, !tbaa !6 br label %115 112: ; preds = %72, %66, %60, %54, %49, %44, %39, %34, %26, %103, %99 %113 = add nuw nsw i64 %27, 1 %114 = icmp eq i64 %113, %25 br i1 %114, label %115, label %26, !llvm.loop !32 115: ; preds = %112, %8, %107, %4 %116 = phi i32 [ %108, %107 ], [ -1, %4 ], [ -1, %8 ], [ -1, %112 ] ret i32 %116 } declare i64 @contain_volatile_functions(ptr noundef) local_unnamed_addr #1 declare i64 @equal(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @list_free(ptr noundef) local_unnamed_addr #1 declare ptr @lappend_int(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 = !{!"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 = !{!13, !7, i64 16} !13 = !{!"TYPE_7__", !14, i64 0, !15, i64 8, !7, i64 16} !14 = !{!"int", !8, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!17, !15, i64 0} !17 = !{!"TYPE_6__", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !15, i64 56, !14, i64 64, !14, i64 68, !14, i64 72, !14, i64 76, !14, i64 80} !18 = !{!17, !15, i64 8} !19 = !{!17, !15, i64 16} !20 = !{!17, !15, i64 24} !21 = !{!17, !15, i64 32} !22 = !{!17, !14, i64 80} !23 = !{!17, !14, i64 76} !24 = !{!17, !14, i64 72} !25 = !{!17, !14, i64 68} !26 = !{!17, !15, i64 40} !27 = !{!17, !15, i64 48} !28 = !{!17, !15, i64 56} !29 = !{!17, !14, i64 64} !30 = !{!13, !15, i64 8} !31 = !{!13, !14, i64 0} !32 = distinct !{!32, !33} !33 = !{!"llvm.loop.mustprogress"}
postgres_src_backend_executor_extr_nodeAgg.c_find_compatible_peragg
; ModuleID = 'AnghaBench/h2o/t/00unit/lib/core/extr_........libcoreproxy.c_on_websocket_upgrade.c' source_filename = "AnghaBench/h2o/t/00unit/lib/core/extr_........libcoreproxy.c_on_websocket_upgrade.c" target datalayout = "e-m:e-p270:32:32-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.rp_generator_t = type { ptr, ptr } %struct.rp_ws_upgrade_info_t = type { i32, i32, ptr } @on_websocket_upgrade_complete = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @on_websocket_upgrade], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @on_websocket_upgrade(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.rp_generator_t, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %0, align 8, !tbaa !10 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = tail call ptr %6(ptr noundef nonnull %5) #2 %8 = tail call ptr @h2o_mem_alloc(i32 noundef 16) #2 %9 = getelementptr inbounds %struct.rp_ws_upgrade_info_t, ptr %8, i64 0, i32 2 store ptr %7, ptr %9, align 8, !tbaa !13 %10 = getelementptr inbounds %struct.rp_ws_upgrade_info_t, ptr %8, i64 0, i32 1 store i32 %1, ptr %10, align 4, !tbaa !16 %11 = load ptr, ptr %4, align 8, !tbaa !17 %12 = load i32, ptr %11, align 4, !tbaa !19 store i32 %12, ptr %8, align 8, !tbaa !21 %13 = load i32, ptr @on_websocket_upgrade_complete, align 4, !tbaa !22 %14 = tail call i32 @h2o_http1_upgrade(ptr noundef nonnull %4, ptr noundef null, i32 noundef 0, i32 noundef %13, ptr noundef nonnull %8) #2 ret void } declare ptr @h2o_mem_alloc(i32 noundef) local_unnamed_addr #1 declare i32 @h2o_http1_upgrade(ptr noundef, ptr noundef, i32 noundef, 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, !7, i64 8} !6 = !{!"rp_generator_t", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_7__", !7, i64 0} !13 = !{!14, !7, i64 8} !14 = !{!"rp_ws_upgrade_info_t", !15, i64 0, !15, i64 4, !7, i64 8} !15 = !{!"int", !8, i64 0} !16 = !{!14, !15, i64 4} !17 = !{!18, !7, i64 0} !18 = !{!"TYPE_6__", !7, i64 0} !19 = !{!20, !15, i64 0} !20 = !{!"TYPE_5__", !15, i64 0} !21 = !{!14, !15, i64 0} !22 = !{!15, !15, i64 0}
; ModuleID = 'AnghaBench/h2o/t/00unit/lib/core/extr_........libcoreproxy.c_on_websocket_upgrade.c' source_filename = "AnghaBench/h2o/t/00unit/lib/core/extr_........libcoreproxy.c_on_websocket_upgrade.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @on_websocket_upgrade_complete = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @on_websocket_upgrade], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @on_websocket_upgrade(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %0, align 8, !tbaa !11 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = tail call ptr %6(ptr noundef nonnull %5) #2 %8 = tail call ptr @h2o_mem_alloc(i32 noundef 16) #2 %9 = getelementptr inbounds i8, ptr %8, i64 8 store ptr %7, ptr %9, align 8, !tbaa !14 %10 = getelementptr inbounds i8, ptr %8, i64 4 store i32 %1, ptr %10, align 4, !tbaa !17 %11 = load ptr, ptr %4, align 8, !tbaa !18 %12 = load i32, ptr %11, align 4, !tbaa !20 store i32 %12, ptr %8, align 8, !tbaa !22 %13 = load i32, ptr @on_websocket_upgrade_complete, align 4, !tbaa !23 %14 = tail call i32 @h2o_http1_upgrade(ptr noundef nonnull %4, ptr noundef null, i32 noundef 0, i32 noundef %13, ptr noundef nonnull %8) #2 ret void } declare ptr @h2o_mem_alloc(i32 noundef) local_unnamed_addr #1 declare i32 @h2o_http1_upgrade(ptr noundef, ptr noundef, i32 noundef, 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, !8, i64 8} !7 = !{!"rp_generator_t", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_7__", !8, i64 0} !14 = !{!15, !8, i64 8} !15 = !{!"rp_ws_upgrade_info_t", !16, i64 0, !16, i64 4, !8, i64 8} !16 = !{!"int", !9, i64 0} !17 = !{!15, !16, i64 4} !18 = !{!19, !8, i64 0} !19 = !{!"TYPE_6__", !8, i64 0} !20 = !{!21, !16, i64 0} !21 = !{!"TYPE_5__", !16, i64 0} !22 = !{!15, !16, i64 0} !23 = !{!16, !16, i64 0}
h2o_t_00unit_lib_core_extr_........libcoreproxy.c_on_websocket_upgrade
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/arm/extr_arm.c_arm_gen_return_addr_mask.c' source_filename = "AnghaBench/freebsd/contrib/gcc/config/arm/extr_arm.c_arm_gen_return_addr_mask.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @Pmode = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @arm_gen_return_addr_mask() local_unnamed_addr #0 { %1 = load i32, ptr @Pmode, align 4, !tbaa !5 %2 = tail call i32 @gen_reg_rtx(i32 noundef %1) #2 %3 = tail call i32 @gen_return_addr_mask(i32 noundef %2) #2 %4 = tail call i32 @emit_insn(i32 noundef %3) #2 ret i32 %2 } declare i32 @gen_reg_rtx(i32 noundef) local_unnamed_addr #1 declare i32 @emit_insn(i32 noundef) local_unnamed_addr #1 declare i32 @gen_return_addr_mask(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/arm/extr_arm.c_arm_gen_return_addr_mask.c' source_filename = "AnghaBench/freebsd/contrib/gcc/config/arm/extr_arm.c_arm_gen_return_addr_mask.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @Pmode = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @arm_gen_return_addr_mask() local_unnamed_addr #0 { %1 = load i32, ptr @Pmode, align 4, !tbaa !6 %2 = tail call i32 @gen_reg_rtx(i32 noundef %1) #2 %3 = tail call i32 @gen_return_addr_mask(i32 noundef %2) #2 %4 = tail call i32 @emit_insn(i32 noundef %3) #2 ret i32 %2 } declare i32 @gen_reg_rtx(i32 noundef) local_unnamed_addr #1 declare i32 @emit_insn(i32 noundef) local_unnamed_addr #1 declare i32 @gen_return_addr_mask(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_gcc_config_arm_extr_arm.c_arm_gen_return_addr_mask
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/mlx4/extr_cq.c_mlx4_alloc_resize_buf.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/mlx4/extr_cq.c_mlx4_alloc_resize_buf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32 } @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mlx4_alloc_resize_buf], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mlx4_alloc_resize_buf(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %1, align 8, !tbaa !5 %5 = icmp eq ptr %4, null br i1 %5, label %9, label %6 6: ; preds = %3 %7 = load i32, ptr @EBUSY, align 4, !tbaa !10 %8 = sub nsw i32 0, %7 br label %26 9: ; preds = %3 %10 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !10 %11 = tail call ptr @kmalloc(i32 noundef 8, i32 noundef %10) #2 store ptr %11, ptr %1, align 8, !tbaa !5 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %9 %14 = load i32, ptr @ENOMEM, align 4, !tbaa !10 %15 = sub nsw i32 0, %14 br label %26 16: ; preds = %9 %17 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i64 0, i32 1 %18 = tail call i32 @mlx4_ib_alloc_cq_buf(ptr noundef %0, ptr noundef nonnull %17, i32 noundef %2) #2 %19 = icmp eq i32 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %16 %21 = load ptr, ptr %1, align 8, !tbaa !5 %22 = tail call i32 @kfree(ptr noundef %21) #2 store ptr null, ptr %1, align 8, !tbaa !5 br label %26 23: ; preds = %16 %24 = add nsw i32 %2, -1 %25 = load ptr, ptr %1, align 8, !tbaa !5 store i32 %24, ptr %25, align 4, !tbaa !12 br label %26 26: ; preds = %23, %20, %13, %6 %27 = phi i32 [ %8, %6 ], [ %18, %20 ], [ 0, %23 ], [ %15, %13 ] ret i32 %27 } declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mlx4_ib_alloc_cq_buf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"mlx4_ib_cq", !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_3__", !11, i64 0, !11, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/mlx4/extr_cq.c_mlx4_alloc_resize_buf.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/mlx4/extr_cq.c_mlx4_alloc_resize_buf.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EBUSY = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mlx4_alloc_resize_buf], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mlx4_alloc_resize_buf(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %1, align 8, !tbaa !6 %5 = icmp eq ptr %4, null br i1 %5, label %9, label %6 6: ; preds = %3 %7 = load i32, ptr @EBUSY, align 4, !tbaa !11 %8 = sub nsw i32 0, %7 br label %26 9: ; preds = %3 %10 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11 %11 = tail call ptr @kmalloc(i32 noundef 8, i32 noundef %10) #2 store ptr %11, ptr %1, align 8, !tbaa !6 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %9 %14 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %15 = sub nsw i32 0, %14 br label %26 16: ; preds = %9 %17 = getelementptr inbounds i8, ptr %11, i64 4 %18 = tail call i32 @mlx4_ib_alloc_cq_buf(ptr noundef %0, ptr noundef nonnull %17, i32 noundef %2) #2 %19 = icmp eq i32 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %16 %21 = load ptr, ptr %1, align 8, !tbaa !6 %22 = tail call i32 @kfree(ptr noundef %21) #2 store ptr null, ptr %1, align 8, !tbaa !6 br label %26 23: ; preds = %16 %24 = add nsw i32 %2, -1 %25 = load ptr, ptr %1, align 8, !tbaa !6 store i32 %24, ptr %25, align 4, !tbaa !13 br label %26 26: ; preds = %23, %20, %13, %6 %27 = phi i32 [ %8, %6 ], [ %18, %20 ], [ 0, %23 ], [ %15, %13 ] ret i32 %27 } declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mlx4_ib_alloc_cq_buf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"mlx4_ib_cq", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_3__", !12, i64 0, !12, i64 4}
linux_drivers_infiniband_hw_mlx4_extr_cq.c_mlx4_alloc_resize_buf
; ModuleID = 'AnghaBench/linux/sound/firewire/extr_amdtp-stream.c_amdtp_stream_pcm_prepare.c' source_filename = "AnghaBench/linux/sound/firewire/extr_amdtp-stream.c_amdtp_stream_pcm_prepare.c" target datalayout = "e-m:e-p270:32:32-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.amdtp_stream = type { i64, i64, i32 } ; Function Attrs: nounwind uwtable define dso_local void @amdtp_stream_pcm_prepare(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.amdtp_stream, ptr %0, i64 0, i32 2 %3 = tail call i32 @tasklet_kill(ptr noundef nonnull %2) #3 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false) ret void } declare i32 @tasklet_kill(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)"}
; ModuleID = 'AnghaBench/linux/sound/firewire/extr_amdtp-stream.c_amdtp_stream_pcm_prepare.c' source_filename = "AnghaBench/linux/sound/firewire/extr_amdtp-stream.c_amdtp_stream_pcm_prepare.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 @amdtp_stream_pcm_prepare(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = tail call i32 @tasklet_kill(ptr noundef nonnull %2) #3 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false) ret void } declare i32 @tasklet_kill(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)"}
linux_sound_firewire_extr_amdtp-stream.c_amdtp_stream_pcm_prepare
; ModuleID = 'AnghaBench/mpv/options/extr_m_option.c_parse_node.c' source_filename = "AnghaBench/mpv/options/extr_m_option.c_parse_node.c" target datalayout = "e-m:e-p270:32:32-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 [35 x i8] c"option type doesn't accept strings\00", align 1 @M_OPT_INVALID = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @parse_node], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @parse_node(ptr noundef %0, ptr nocapture readnone %1, i32 %2, i32 %3, ptr nocapture readnone %4) #0 { %6 = tail call i32 @mp_err(ptr noundef %0, ptr noundef nonnull @.str) #2 %7 = load i32, ptr @M_OPT_INVALID, align 4, !tbaa !5 ret i32 %7 } declare i32 @mp_err(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/mpv/options/extr_m_option.c_parse_node.c' source_filename = "AnghaBench/mpv/options/extr_m_option.c_parse_node.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 [35 x i8] c"option type doesn't accept strings\00", align 1 @M_OPT_INVALID = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @parse_node], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @parse_node(ptr noundef %0, ptr nocapture readnone %1, i64 %2, i64 %3, ptr nocapture readnone %4) #0 { %6 = tail call i32 @mp_err(ptr noundef %0, ptr noundef nonnull @.str) #2 %7 = load i32, ptr @M_OPT_INVALID, align 4, !tbaa !6 ret i32 %7 } declare i32 @mp_err(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
mpv_options_extr_m_option.c_parse_node
; ModuleID = 'AnghaBench/systemd/src/libsystemd/sd-netlink/extr_netlink-types.c_type_system_get_root.c' source_filename = "AnghaBench/systemd/src/libsystemd/sd-netlink/extr_netlink-types.c_type_system_get_root.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @genl_type_system_root = dso_local constant i32 0, align 4 @rtnl_type_system_root = dso_local constant i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @type_system_get_root(i32 noundef %0) local_unnamed_addr #0 { %2 = icmp eq i32 %0, 128 %3 = select i1 %2, ptr @genl_type_system_root, ptr @rtnl_type_system_root ret ptr %3 } 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/systemd/src/libsystemd/sd-netlink/extr_netlink-types.c_type_system_get_root.c' source_filename = "AnghaBench/systemd/src/libsystemd/sd-netlink/extr_netlink-types.c_type_system_get_root.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @genl_type_system_root = common global i32 0, align 4 @rtnl_type_system_root = common global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef nonnull ptr @type_system_get_root(i32 noundef %0) local_unnamed_addr #0 { %2 = icmp eq i32 %0, 128 %3 = select i1 %2, ptr @genl_type_system_root, ptr @rtnl_type_system_root ret ptr %3 } 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)"}
systemd_src_libsystemd_sd-netlink_extr_netlink-types.c_type_system_get_root
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/lib/compress/extr_zstd_compress.c_ZSTD_invalidateRepCodes.c' source_filename = "AnghaBench/freebsd/sys/contrib/zstd/lib/compress/extr_zstd_compress.c_ZSTD_invalidateRepCodes.c" target datalayout = "e-m:e-p270:32:32-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 { %struct.TYPE_7__, ptr } %struct.TYPE_7__ = type { i32 } @ZSTD_REP_NUM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ZSTD_invalidateRepCodes(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @ZSTD_REP_NUM, align 4, !tbaa !5 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %10 4: ; preds = %1 %5 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !9 %7 = load ptr, ptr %6, align 8, !tbaa !14 %8 = zext nneg i32 %2 to i64 %9 = shl nuw nsw i64 %8, 3 tail call void @llvm.memset.p0.i64(ptr align 8 %7, i8 0, i64 %9, i1 false), !tbaa !16 br label %10 10: ; preds = %4, %1 %11 = load i32, ptr %0, align 8, !tbaa !18 %12 = tail call i32 @ZSTD_window_hasExtDict(i32 noundef %11) #3 %13 = icmp eq i32 %12, 0 %14 = zext i1 %13 to i32 %15 = tail call i32 @assert(i32 noundef %14) #3 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @ZSTD_window_hasExtDict(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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !13, i64 8} !10 = !{!"TYPE_9__", !11, i64 0} !11 = !{!"TYPE_8__", !12, i64 0, !13, i64 8} !12 = !{!"TYPE_7__", !6, i64 0} !13 = !{!"any pointer", !7, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_6__", !13, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"long", !7, i64 0} !18 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/lib/compress/extr_zstd_compress.c_ZSTD_invalidateRepCodes.c' source_filename = "AnghaBench/freebsd/sys/contrib/zstd/lib/compress/extr_zstd_compress.c_ZSTD_invalidateRepCodes.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ZSTD_REP_NUM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ZSTD_invalidateRepCodes(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @ZSTD_REP_NUM, align 4, !tbaa !6 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %10 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !10 %7 = load ptr, ptr %6, align 8, !tbaa !15 %8 = zext nneg i32 %2 to i64 %9 = shl nuw nsw i64 %8, 3 tail call void @llvm.memset.p0.i64(ptr align 8 %7, i8 0, i64 %9, i1 false), !tbaa !17 br label %10 10: ; preds = %4, %1 %11 = load i32, ptr %0, align 8, !tbaa !19 %12 = tail call i32 @ZSTD_window_hasExtDict(i32 noundef %11) #3 %13 = icmp eq i32 %12, 0 %14 = zext i1 %13 to i32 %15 = tail call i32 @assert(i32 noundef %14) #3 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @ZSTD_window_hasExtDict(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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !14, i64 8} !11 = !{!"TYPE_9__", !12, i64 0} !12 = !{!"TYPE_8__", !13, i64 0, !14, i64 8} !13 = !{!"TYPE_7__", !7, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"TYPE_6__", !14, i64 0} !17 = !{!18, !18, i64 0} !18 = !{!"long", !8, i64 0} !19 = !{!11, !7, i64 0}
freebsd_sys_contrib_zstd_lib_compress_extr_zstd_compress.c_ZSTD_invalidateRepCodes
; ModuleID = 'AnghaBench/openssl/apps/extr_pkey.c_pkey_main.c' source_filename = "AnghaBench/openssl/apps/extr_pkey.c_pkey_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" @FORMAT_PEM = dso_local local_unnamed_addr global i32 0, align 4 @pkey_options = dso_local local_unnamed_addr global i32 0, align 4 @bio_err = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [28 x i8] c"%s: Use -help for summary.\0A\00", align 1 @OPT_FMT_ANY = dso_local local_unnamed_addr global i32 0, align 4 @OPT_FMT_PEMDER = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"Error getting passwords\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"Public Key\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"key\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"Key is valid\0A\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"Key is invalid\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Detailed error: %s\0A\00", align 1 @FORMAT_ASN1 = dso_local local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [30 x i8] c"Bad format specified for key\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @pkey_main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store ptr null, ptr %4, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store ptr null, ptr %5, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %8 = load i32, ptr @FORMAT_PEM, align 4, !tbaa !9 store i32 %8, ptr %6, align 4, !tbaa !9 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 store i32 %8, ptr %7, align 4, !tbaa !9 %9 = load i32, ptr @pkey_options, align 4, !tbaa !9 %10 = tail call ptr @opt_init(i32 noundef %0, ptr noundef %1, i32 noundef %9) #3 br label %11 11: ; preds = %26, %2 %12 = phi ptr [ null, %2 ], [ %27, %26 ] %13 = phi ptr [ null, %2 ], [ %28, %26 ] %14 = phi ptr [ null, %2 ], [ %29, %26 ] %15 = phi ptr [ null, %2 ], [ %30, %26 ] %16 = phi ptr [ null, %2 ], [ %31, %26 ] %17 = phi i32 [ 0, %2 ], [ %32, %26 ] %18 = phi i32 [ 0, %2 ], [ %33, %26 ] %19 = phi i32 [ 0, %2 ], [ %34, %26 ] %20 = phi i32 [ 0, %2 ], [ %35, %26 ] %21 = phi i32 [ 0, %2 ], [ %36, %26 ] %22 = phi i32 [ 0, %2 ], [ %37, %26 ] %23 = phi i32 [ 0, %2 ], [ %38, %26 ] %24 = phi i32 [ 0, %2 ], [ %39, %26 ] %25 = call i32 (...) @opt_next() #3 switch i32 %25, label %26 [ i32 144, label %79 i32 139, label %75 i32 143, label %40 i32 142, label %43 i32 140, label %46 i32 136, label %51 i32 135, label %56 i32 134, label %58 i32 145, label %60 i32 141, label %63 i32 137, label %65 i32 133, label %67 i32 132, label %68 i32 129, label %69 i32 130, label %70 i32 138, label %71 i32 128, label %72 i32 146, label %73 i32 131, label %74 ] 26: ; preds = %11, %75, %51, %46, %74, %73, %72, %71, %70, %69, %68, %67, %65, %63, %60, %58, %56 %27 = phi ptr [ %12, %75 ], [ %12, %74 ], [ %12, %73 ], [ %12, %72 ], [ %12, %71 ], [ %12, %70 ], [ %12, %69 ], [ %12, %68 ], [ %12, %67 ], [ %12, %65 ], [ %64, %63 ], [ %12, %60 ], [ %12, %58 ], [ %12, %56 ], [ %12, %51 ], [ %12, %46 ], [ %12, %11 ] %28 = phi ptr [ %13, %75 ], [ %13, %74 ], [ %13, %73 ], [ %13, %72 ], [ %13, %71 ], [ %13, %70 ], [ %13, %69 ], [ %13, %68 ], [ %13, %67 ], [ %66, %65 ], [ %13, %63 ], [ %13, %60 ], [ %13, %58 ], [ %13, %56 ], [ %13, %51 ], [ %13, %46 ], [ %13, %11 ] %29 = phi ptr [ %14, %75 ], [ %14, %74 ], [ %14, %73 ], [ %14, %72 ], [ %14, %71 ], [ %14, %70 ], [ %14, %69 ], [ %14, %68 ], [ %14, %67 ], [ %14, %65 ], [ %14, %63 ], [ %14, %60 ], [ %14, %58 ], [ %57, %56 ], [ %14, %51 ], [ %14, %46 ], [ %14, %11 ] %30 = phi ptr [ %15, %75 ], [ %15, %74 ], [ %15, %73 ], [ %15, %72 ], [ %15, %71 ], [ %15, %70 ], [ %15, %69 ], [ %15, %68 ], [ %15, %67 ], [ %15, %65 ], [ %15, %63 ], [ %15, %60 ], [ %59, %58 ], [ %15, %56 ], [ %15, %51 ], [ %15, %46 ], [ %15, %11 ] %31 = phi ptr [ %16, %75 ], [ %16, %74 ], [ %16, %73 ], [ %16, %72 ], [ %16, %71 ], [ %16, %70 ], [ %16, %69 ], [ %16, %68 ], [ %16, %67 ], [ %16, %65 ], [ %16, %63 ], [ %62, %60 ], [ %16, %58 ], [ %16, %56 ], [ %16, %51 ], [ %16, %46 ], [ %16, %11 ] %32 = phi i32 [ %17, %75 ], [ %17, %74 ], [ %17, %73 ], [ %17, %72 ], [ %17, %71 ], [ %17, %70 ], [ %17, %69 ], [ %17, %68 ], [ 1, %67 ], [ %17, %65 ], [ %17, %63 ], [ %17, %60 ], [ %17, %58 ], [ %17, %56 ], [ %17, %51 ], [ %17, %46 ], [ %17, %11 ] %33 = phi i32 [ %18, %75 ], [ %18, %74 ], [ %18, %73 ], [ %18, %72 ], [ %18, %71 ], [ %18, %70 ], [ %18, %69 ], [ 1, %68 ], [ 1, %67 ], [ %18, %65 ], [ %18, %63 ], [ %18, %60 ], [ %18, %58 ], [ %18, %56 ], [ %18, %51 ], [ %18, %46 ], [ %18, %11 ] %34 = phi i32 [ %19, %75 ], [ %19, %74 ], [ %19, %73 ], [ %19, %72 ], [ %19, %71 ], [ %19, %70 ], [ 1, %69 ], [ %19, %68 ], [ 1, %67 ], [ %19, %65 ], [ %19, %63 ], [ %19, %60 ], [ %19, %58 ], [ %19, %56 ], [ %19, %51 ], [ %19, %46 ], [ %19, %11 ] %35 = phi i32 [ %20, %75 ], [ %20, %74 ], [ %20, %73 ], [ %20, %72 ], [ %20, %71 ], [ 1, %70 ], [ 1, %69 ], [ %20, %68 ], [ %20, %67 ], [ %20, %65 ], [ %20, %63 ], [ %20, %60 ], [ %20, %58 ], [ %20, %56 ], [ %20, %51 ], [ %20, %46 ], [ %20, %11 ] %36 = phi i32 [ %21, %75 ], [ %21, %74 ], [ %21, %73 ], [ %21, %72 ], [ 1, %71 ], [ %21, %70 ], [ %21, %69 ], [ %21, %68 ], [ %21, %67 ], [ %21, %65 ], [ %21, %63 ], [ %21, %60 ], [ %21, %58 ], [ %21, %56 ], [ %21, %51 ], [ %21, %46 ], [ %21, %11 ] %37 = phi i32 [ %22, %75 ], [ %22, %74 ], [ %22, %73 ], [ 1, %72 ], [ %22, %71 ], [ %22, %70 ], [ %22, %69 ], [ %22, %68 ], [ %22, %67 ], [ %22, %65 ], [ %22, %63 ], [ %22, %60 ], [ %22, %58 ], [ %22, %56 ], [ %22, %51 ], [ %22, %46 ], [ %22, %11 ] %38 = phi i32 [ %23, %75 ], [ %23, %74 ], [ 1, %73 ], [ %23, %72 ], [ %23, %71 ], [ %23, %70 ], [ %23, %69 ], [ %23, %68 ], [ %23, %67 ], [ %23, %65 ], [ %23, %63 ], [ %23, %60 ], [ %23, %58 ], [ %23, %56 ], [ %23, %51 ], [ %23, %46 ], [ %23, %11 ] %39 = phi i32 [ %24, %75 ], [ 1, %74 ], [ %24, %73 ], [ %24, %72 ], [ %24, %71 ], [ %24, %70 ], [ %24, %69 ], [ %24, %68 ], [ %24, %67 ], [ %24, %65 ], [ %24, %63 ], [ %24, %60 ], [ %24, %58 ], [ %24, %56 ], [ %24, %51 ], [ %24, %46 ], [ %24, %11 ] br label %11, !llvm.loop !11 40: ; preds = %11, %75, %51, %46, %79 %41 = load ptr, ptr @bio_err, align 8, !tbaa !5 %42 = call i32 (ptr, ptr, ...) @BIO_printf(ptr noundef %41, ptr noundef nonnull @.str, ptr noundef %10) #3 br label %188 43: ; preds = %11 %44 = load i32, ptr @pkey_options, align 4, !tbaa !9 %45 = call i32 @opt_help(i32 noundef %44) #3 br label %193 46: ; preds = %11 %47 = call ptr (...) @opt_arg() #3 %48 = load i32, ptr @OPT_FMT_ANY, align 4, !tbaa !9 %49 = call i32 @opt_format(ptr noundef %47, i32 noundef %48, ptr noundef nonnull %6) #3 %50 = icmp eq i32 %49, 0 br i1 %50, label %40, label %26 51: ; preds = %11 %52 = call ptr (...) @opt_arg() #3 %53 = load i32, ptr @OPT_FMT_PEMDER, align 4, !tbaa !9 %54 = call i32 @opt_format(ptr noundef %52, i32 noundef %53, ptr noundef nonnull %7) #3 %55 = icmp eq i32 %54, 0 br i1 %55, label %40, label %26 56: ; preds = %11 %57 = call ptr (...) @opt_arg() #3 br label %26 58: ; preds = %11 %59 = call ptr (...) @opt_arg() #3 br label %26 60: ; preds = %11 %61 = call ptr (...) @opt_arg() #3 %62 = call ptr @setup_engine(ptr noundef %61, i32 noundef 0) #3 br label %26 63: ; preds = %11 %64 = call ptr (...) @opt_arg() #3 br label %26 65: ; preds = %11 %66 = call ptr (...) @opt_arg() #3 br label %26 67: ; preds = %11 br label %26 68: ; preds = %11 br label %26 69: ; preds = %11 br label %26 70: ; preds = %11 br label %26 71: ; preds = %11 br label %26 72: ; preds = %11 br label %26 73: ; preds = %11 br label %26 74: ; preds = %11 br label %26 75: ; preds = %11 %76 = call i32 (...) @opt_unknown() #3 %77 = call i32 @opt_cipher(i32 noundef %76, ptr noundef nonnull %3) #3 %78 = icmp eq i32 %77, 0 br i1 %78, label %40, label %26 79: ; preds = %11 %80 = call i32 (...) @opt_num_rest() #3 %81 = icmp eq i32 %80, 0 br i1 %81, label %82, label %40 82: ; preds = %79 %83 = icmp eq i32 %21, 0 %84 = icmp eq i32 %18, 0 %85 = select i1 %83, i1 %84, i1 false %86 = icmp ne i32 %20, 0 %87 = icmp eq i32 %19, 0 %88 = select i1 %86, i1 %87, i1 false %89 = select i1 %88, i1 true, i1 %85 %90 = zext i1 %89 to i32 %91 = call i32 @app_passwd(ptr noundef %14, ptr noundef %15, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %92 = icmp eq i32 %91, 0 br i1 %92, label %93, label %96 93: ; preds = %82 %94 = load ptr, ptr @bio_err, align 8, !tbaa !5 %95 = call i32 (ptr, ptr, ...) @BIO_printf(ptr noundef %94, ptr noundef nonnull @.str.1) #3 br label %188 96: ; preds = %82 %97 = load i32, ptr %7, align 4, !tbaa !9 %98 = call ptr @bio_open_owner(ptr noundef %13, i32 noundef %97, i32 noundef %90) #3 %99 = icmp eq ptr %98, null br i1 %99, label %188, label %100 100: ; preds = %96 %101 = icmp eq i32 %17, 0 %102 = load i32, ptr %6, align 4, !tbaa !9 %103 = load ptr, ptr %4, align 8, !tbaa !5 br i1 %101, label %106, label %104 104: ; preds = %100 %105 = call ptr @load_pubkey(ptr noundef %12, i32 noundef %102, i32 noundef 1, ptr noundef %103, ptr noundef %16, ptr noundef nonnull @.str.2) #3 br label %108 106: ; preds = %100 %107 = call ptr @load_key(ptr noundef %12, i32 noundef %102, i32 noundef 1, ptr noundef %103, ptr noundef %16, ptr noundef nonnull @.str.3) #3 br label %108 108: ; preds = %106, %104 %109 = phi ptr [ %105, %104 ], [ %107, %106 ] %110 = icmp eq ptr %109, null br i1 %110, label %188, label %111 111: ; preds = %108 %112 = icmp ne i32 %23, 0 %113 = icmp ne i32 %24, 0 %114 = select i1 %112, i1 true, i1 %113 br i1 %114, label %115, label %144 115: ; preds = %111 %116 = call ptr @EVP_PKEY_CTX_new(ptr noundef nonnull %109, ptr noundef %16) #3 %117 = icmp eq ptr %116, null br i1 %117, label %141, label %118 118: ; preds = %115 br i1 %112, label %119, label %121 119: ; preds = %118 %120 = call i32 @EVP_PKEY_check(ptr noundef nonnull %116) #3 br label %123 121: ; preds = %118 %122 = call i32 @EVP_PKEY_public_check(ptr noundef nonnull %116) #3 br label %123 123: ; preds = %121, %119 %124 = phi i32 [ %120, %119 ], [ %122, %121 ] %125 = icmp eq i32 %124, 1 br i1 %125, label %126, label %128 126: ; preds = %123 %127 = call i32 (ptr, ptr, ...) @BIO_printf(ptr noundef nonnull %98, ptr noundef nonnull @.str.4) #3 br label %139 128: ; preds = %123 %129 = call i32 (ptr, ptr, ...) @BIO_printf(ptr noundef nonnull %98, ptr noundef nonnull @.str.5) #3 %130 = call i64 (...) @ERR_peek_error() #3 %131 = icmp eq i64 %130, 0 br i1 %131, label %139, label %132 132: ; preds = %128, %132 %133 = phi i64 [ %137, %132 ], [ %130, %128 ] %134 = call i32 @ERR_reason_error_string(i64 noundef %133) #3 %135 = call i32 (ptr, ptr, ...) @BIO_printf(ptr noundef %98, ptr noundef nonnull @.str.6, i32 noundef %134) #3 %136 = call i32 (...) @ERR_get_error() #3 %137 = call i64 (...) @ERR_peek_error() #3 %138 = icmp eq i64 %137, 0 br i1 %138, label %139, label %132, !llvm.loop !13 139: ; preds = %132, %128, %126 %140 = call i32 @EVP_PKEY_CTX_free(ptr noundef nonnull %116) #3 br label %144 141: ; preds = %115 %142 = load ptr, ptr @bio_err, align 8, !tbaa !5 %143 = call i32 @ERR_print_errors(ptr noundef %142) #3 br label %188 144: ; preds = %139, %111 br i1 %83, label %145, label %178 145: ; preds = %144 %146 = load i32, ptr %7, align 4, !tbaa !9 %147 = load i32, ptr @FORMAT_PEM, align 4, !tbaa !9 %148 = icmp eq i32 %146, %147 br i1 %148, label %149, label %164 149: ; preds = %145 br i1 %84, label %153, label %150 150: ; preds = %149 %151 = call i32 @PEM_write_bio_PUBKEY(ptr noundef %98, ptr noundef nonnull %109) #3 %152 = icmp eq i32 %151, 0 br i1 %152, label %188, label %178 153: ; preds = %149 %154 = call i32 @assert(i32 noundef %90) #3 %155 = icmp eq i32 %22, 0 %156 = load ptr, ptr %3, align 8, !tbaa !5 %157 = load ptr, ptr %5, align 8, !tbaa !5 br i1 %155, label %161, label %158 158: ; preds = %153 %159 = call i32 @PEM_write_bio_PrivateKey_traditional(ptr noundef %98, ptr noundef nonnull %109, ptr noundef %156, ptr noundef null, i32 noundef 0, ptr noundef null, ptr noundef %157) #3 %160 = icmp eq i32 %159, 0 br i1 %160, label %188, label %178 161: ; preds = %153 %162 = call i32 @PEM_write_bio_PrivateKey(ptr noundef %98, ptr noundef nonnull %109, ptr noundef %156, ptr noundef null, i32 noundef 0, ptr noundef null, ptr noundef %157) #3 %163 = icmp eq i32 %162, 0 br i1 %163, label %188, label %178 164: ; preds = %145 %165 = load i32, ptr @FORMAT_ASN1, align 4, !tbaa !9 %166 = icmp eq i32 %146, %165 br i1 %166, label %167, label %175 167: ; preds = %164 br i1 %84, label %171, label %168 168: ; preds = %167 %169 = call i32 @i2d_PUBKEY_bio(ptr noundef %98, ptr noundef nonnull %109) #3 %170 = icmp eq i32 %169, 0 br i1 %170, label %188, label %178 171: ; preds = %167 %172 = call i32 @assert(i32 noundef %90) #3 %173 = call i32 @i2d_PrivateKey_bio(ptr noundef %98, ptr noundef nonnull %109) #3 %174 = icmp eq i32 %173, 0 br i1 %174, label %188, label %178 175: ; preds = %164 %176 = load ptr, ptr @bio_err, align 8, !tbaa !5 %177 = call i32 (ptr, ptr, ...) @BIO_printf(ptr noundef %176, ptr noundef nonnull @.str.7) #3 br label %188 178: ; preds = %158, %161, %150, %168, %171, %144 %179 = icmp eq i32 %20, 0 br i1 %179, label %193, label %180 180: ; preds = %178 br i1 %87, label %184, label %181 181: ; preds = %180 %182 = call i64 @EVP_PKEY_print_public(ptr noundef %98, ptr noundef nonnull %109, i32 noundef 0, ptr noundef null) #3 %183 = icmp slt i64 %182, 1 br i1 %183, label %188, label %193 184: ; preds = %180 %185 = call i32 @assert(i32 noundef %90) #3 %186 = call i64 @EVP_PKEY_print_private(ptr noundef %98, ptr noundef nonnull %109, i32 noundef 0, ptr noundef null) #3 %187 = icmp slt i64 %186, 1 br i1 %187, label %188, label %193 188: ; preds = %40, %96, %108, %141, %181, %184, %150, %158, %161, %168, %171, %175, %93 %189 = phi ptr [ null, %93 ], [ %109, %175 ], [ %109, %171 ], [ %109, %168 ], [ %109, %161 ], [ %109, %158 ], [ %109, %150 ], [ %109, %184 ], [ %109, %181 ], [ %109, %141 ], [ null, %108 ], [ null, %96 ], [ null, %40 ] %190 = phi ptr [ null, %93 ], [ %98, %175 ], [ %98, %171 ], [ %98, %168 ], [ %98, %161 ], [ %98, %158 ], [ %98, %150 ], [ %98, %184 ], [ %98, %181 ], [ %98, %141 ], [ %98, %108 ], [ null, %96 ], [ null, %40 ] %191 = load ptr, ptr @bio_err, align 8, !tbaa !5 %192 = call i32 @ERR_print_errors(ptr noundef %191) #3 br label %193 193: ; preds = %178, %184, %181, %188, %43 %194 = phi i32 [ 1, %188 ], [ 0, %43 ], [ 0, %181 ], [ 0, %184 ], [ 0, %178 ] %195 = phi ptr [ %190, %188 ], [ null, %43 ], [ %98, %181 ], [ %98, %184 ], [ %98, %178 ] %196 = phi ptr [ %189, %188 ], [ null, %43 ], [ %109, %181 ], [ %109, %184 ], [ %109, %178 ] %197 = call i32 @EVP_PKEY_free(ptr noundef %196) #3 %198 = call i32 @release_engine(ptr noundef %16) #3 %199 = call i32 @BIO_free_all(ptr noundef %195) #3 %200 = call i32 @BIO_free(ptr noundef null) #3 %201 = load ptr, ptr %4, align 8, !tbaa !5 %202 = call i32 @OPENSSL_free(ptr noundef %201) #3 %203 = load ptr, ptr %5, align 8, !tbaa !5 %204 = call i32 @OPENSSL_free(ptr noundef %203) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %194 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @opt_init(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @opt_next(...) local_unnamed_addr #2 declare i32 @BIO_printf(ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @opt_help(i32 noundef) local_unnamed_addr #2 declare i32 @opt_format(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @opt_arg(...) local_unnamed_addr #2 declare ptr @setup_engine(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @opt_cipher(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @opt_unknown(...) local_unnamed_addr #2 declare i32 @opt_num_rest(...) local_unnamed_addr #2 declare i32 @app_passwd(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @bio_open_owner(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @load_pubkey(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @load_key(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @EVP_PKEY_CTX_new(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ERR_print_errors(ptr noundef) local_unnamed_addr #2 declare i32 @EVP_PKEY_check(ptr noundef) local_unnamed_addr #2 declare i32 @EVP_PKEY_public_check(ptr noundef) local_unnamed_addr #2 declare i64 @ERR_peek_error(...) local_unnamed_addr #2 declare i32 @ERR_reason_error_string(i64 noundef) local_unnamed_addr #2 declare i32 @ERR_get_error(...) 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 @EVP_PKEY_CTX_free(ptr noundef) local_unnamed_addr #2 declare i32 @PEM_write_bio_PUBKEY(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i32 @PEM_write_bio_PrivateKey_traditional(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PEM_write_bio_PrivateKey(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @i2d_PUBKEY_bio(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @i2d_PrivateKey_bio(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @EVP_PKEY_print_public(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @EVP_PKEY_print_private(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @EVP_PKEY_free(ptr noundef) local_unnamed_addr #2 declare i32 @release_engine(ptr noundef) local_unnamed_addr #2 declare i32 @BIO_free_all(ptr noundef) local_unnamed_addr #2 declare i32 @BIO_free(ptr noundef) local_unnamed_addr #2 declare i32 @OPENSSL_free(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = distinct !{!13, !12}
; ModuleID = 'AnghaBench/openssl/apps/extr_pkey.c_pkey_main.c' source_filename = "AnghaBench/openssl/apps/extr_pkey.c_pkey_main.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FORMAT_PEM = common local_unnamed_addr global i32 0, align 4 @pkey_options = common local_unnamed_addr global i32 0, align 4 @bio_err = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [28 x i8] c"%s: Use -help for summary.\0A\00", align 1 @OPT_FMT_ANY = common local_unnamed_addr global i32 0, align 4 @OPT_FMT_PEMDER = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"Error getting passwords\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"Public Key\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"key\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"Key is valid\0A\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"Key is invalid\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Detailed error: %s\0A\00", align 1 @FORMAT_ASN1 = common local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [30 x i8] c"Bad format specified for key\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @pkey_main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store ptr null, ptr %4, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store ptr null, ptr %5, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %8 = load i32, ptr @FORMAT_PEM, align 4, !tbaa !10 store i32 %8, ptr %6, align 4, !tbaa !10 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 store i32 %8, ptr %7, align 4, !tbaa !10 %9 = load i32, ptr @pkey_options, align 4, !tbaa !10 %10 = tail call ptr @opt_init(i32 noundef %0, ptr noundef %1, i32 noundef %9) #3 br label %11 11: ; preds = %26, %2 %12 = phi ptr [ null, %2 ], [ %27, %26 ] %13 = phi ptr [ null, %2 ], [ %28, %26 ] %14 = phi ptr [ null, %2 ], [ %29, %26 ] %15 = phi ptr [ null, %2 ], [ %30, %26 ] %16 = phi ptr [ null, %2 ], [ %31, %26 ] %17 = phi i32 [ 0, %2 ], [ %32, %26 ] %18 = phi i32 [ 0, %2 ], [ %33, %26 ] %19 = phi i32 [ 0, %2 ], [ %34, %26 ] %20 = phi i32 [ 0, %2 ], [ %35, %26 ] %21 = phi i32 [ 0, %2 ], [ %36, %26 ] %22 = phi i32 [ 0, %2 ], [ %37, %26 ] %23 = phi i32 [ 0, %2 ], [ %38, %26 ] %24 = phi i32 [ 0, %2 ], [ %39, %26 ] %25 = call i32 @opt_next() #3 switch i32 %25, label %26 [ i32 144, label %79 i32 139, label %75 i32 143, label %40 i32 142, label %43 i32 140, label %46 i32 136, label %51 i32 135, label %56 i32 134, label %58 i32 145, label %60 i32 141, label %63 i32 137, label %65 i32 133, label %67 i32 132, label %68 i32 129, label %69 i32 130, label %70 i32 138, label %71 i32 128, label %72 i32 146, label %73 i32 131, label %74 ] 26: ; preds = %11, %75, %51, %46, %74, %73, %72, %71, %70, %69, %68, %67, %65, %63, %60, %58, %56 %27 = phi ptr [ %12, %75 ], [ %12, %74 ], [ %12, %73 ], [ %12, %72 ], [ %12, %71 ], [ %12, %70 ], [ %12, %69 ], [ %12, %68 ], [ %12, %67 ], [ %12, %65 ], [ %64, %63 ], [ %12, %60 ], [ %12, %58 ], [ %12, %56 ], [ %12, %51 ], [ %12, %46 ], [ %12, %11 ] %28 = phi ptr [ %13, %75 ], [ %13, %74 ], [ %13, %73 ], [ %13, %72 ], [ %13, %71 ], [ %13, %70 ], [ %13, %69 ], [ %13, %68 ], [ %13, %67 ], [ %66, %65 ], [ %13, %63 ], [ %13, %60 ], [ %13, %58 ], [ %13, %56 ], [ %13, %51 ], [ %13, %46 ], [ %13, %11 ] %29 = phi ptr [ %14, %75 ], [ %14, %74 ], [ %14, %73 ], [ %14, %72 ], [ %14, %71 ], [ %14, %70 ], [ %14, %69 ], [ %14, %68 ], [ %14, %67 ], [ %14, %65 ], [ %14, %63 ], [ %14, %60 ], [ %14, %58 ], [ %57, %56 ], [ %14, %51 ], [ %14, %46 ], [ %14, %11 ] %30 = phi ptr [ %15, %75 ], [ %15, %74 ], [ %15, %73 ], [ %15, %72 ], [ %15, %71 ], [ %15, %70 ], [ %15, %69 ], [ %15, %68 ], [ %15, %67 ], [ %15, %65 ], [ %15, %63 ], [ %15, %60 ], [ %59, %58 ], [ %15, %56 ], [ %15, %51 ], [ %15, %46 ], [ %15, %11 ] %31 = phi ptr [ %16, %75 ], [ %16, %74 ], [ %16, %73 ], [ %16, %72 ], [ %16, %71 ], [ %16, %70 ], [ %16, %69 ], [ %16, %68 ], [ %16, %67 ], [ %16, %65 ], [ %16, %63 ], [ %62, %60 ], [ %16, %58 ], [ %16, %56 ], [ %16, %51 ], [ %16, %46 ], [ %16, %11 ] %32 = phi i32 [ %17, %75 ], [ %17, %74 ], [ %17, %73 ], [ %17, %72 ], [ %17, %71 ], [ %17, %70 ], [ %17, %69 ], [ %17, %68 ], [ 1, %67 ], [ %17, %65 ], [ %17, %63 ], [ %17, %60 ], [ %17, %58 ], [ %17, %56 ], [ %17, %51 ], [ %17, %46 ], [ %17, %11 ] %33 = phi i32 [ %18, %75 ], [ %18, %74 ], [ %18, %73 ], [ %18, %72 ], [ %18, %71 ], [ %18, %70 ], [ %18, %69 ], [ 1, %68 ], [ 1, %67 ], [ %18, %65 ], [ %18, %63 ], [ %18, %60 ], [ %18, %58 ], [ %18, %56 ], [ %18, %51 ], [ %18, %46 ], [ %18, %11 ] %34 = phi i32 [ %19, %75 ], [ %19, %74 ], [ %19, %73 ], [ %19, %72 ], [ %19, %71 ], [ %19, %70 ], [ 1, %69 ], [ %19, %68 ], [ 1, %67 ], [ %19, %65 ], [ %19, %63 ], [ %19, %60 ], [ %19, %58 ], [ %19, %56 ], [ %19, %51 ], [ %19, %46 ], [ %19, %11 ] %35 = phi i32 [ %20, %75 ], [ %20, %74 ], [ %20, %73 ], [ %20, %72 ], [ %20, %71 ], [ 1, %70 ], [ 1, %69 ], [ %20, %68 ], [ %20, %67 ], [ %20, %65 ], [ %20, %63 ], [ %20, %60 ], [ %20, %58 ], [ %20, %56 ], [ %20, %51 ], [ %20, %46 ], [ %20, %11 ] %36 = phi i32 [ %21, %75 ], [ %21, %74 ], [ %21, %73 ], [ %21, %72 ], [ 1, %71 ], [ %21, %70 ], [ %21, %69 ], [ %21, %68 ], [ %21, %67 ], [ %21, %65 ], [ %21, %63 ], [ %21, %60 ], [ %21, %58 ], [ %21, %56 ], [ %21, %51 ], [ %21, %46 ], [ %21, %11 ] %37 = phi i32 [ %22, %75 ], [ %22, %74 ], [ %22, %73 ], [ 1, %72 ], [ %22, %71 ], [ %22, %70 ], [ %22, %69 ], [ %22, %68 ], [ %22, %67 ], [ %22, %65 ], [ %22, %63 ], [ %22, %60 ], [ %22, %58 ], [ %22, %56 ], [ %22, %51 ], [ %22, %46 ], [ %22, %11 ] %38 = phi i32 [ %23, %75 ], [ %23, %74 ], [ 1, %73 ], [ %23, %72 ], [ %23, %71 ], [ %23, %70 ], [ %23, %69 ], [ %23, %68 ], [ %23, %67 ], [ %23, %65 ], [ %23, %63 ], [ %23, %60 ], [ %23, %58 ], [ %23, %56 ], [ %23, %51 ], [ %23, %46 ], [ %23, %11 ] %39 = phi i32 [ %24, %75 ], [ 1, %74 ], [ %24, %73 ], [ %24, %72 ], [ %24, %71 ], [ %24, %70 ], [ %24, %69 ], [ %24, %68 ], [ %24, %67 ], [ %24, %65 ], [ %24, %63 ], [ %24, %60 ], [ %24, %58 ], [ %24, %56 ], [ %24, %51 ], [ %24, %46 ], [ %24, %11 ] br label %11, !llvm.loop !12 40: ; preds = %11, %75, %51, %46, %79 %41 = load ptr, ptr @bio_err, align 8, !tbaa !6 %42 = call i32 (ptr, ptr, ...) @BIO_printf(ptr noundef %41, ptr noundef nonnull @.str, ptr noundef %10) #3 br label %188 43: ; preds = %11 %44 = load i32, ptr @pkey_options, align 4, !tbaa !10 %45 = call i32 @opt_help(i32 noundef %44) #3 br label %193 46: ; preds = %11 %47 = call ptr @opt_arg() #3 %48 = load i32, ptr @OPT_FMT_ANY, align 4, !tbaa !10 %49 = call i32 @opt_format(ptr noundef %47, i32 noundef %48, ptr noundef nonnull %6) #3 %50 = icmp eq i32 %49, 0 br i1 %50, label %40, label %26 51: ; preds = %11 %52 = call ptr @opt_arg() #3 %53 = load i32, ptr @OPT_FMT_PEMDER, align 4, !tbaa !10 %54 = call i32 @opt_format(ptr noundef %52, i32 noundef %53, ptr noundef nonnull %7) #3 %55 = icmp eq i32 %54, 0 br i1 %55, label %40, label %26 56: ; preds = %11 %57 = call ptr @opt_arg() #3 br label %26 58: ; preds = %11 %59 = call ptr @opt_arg() #3 br label %26 60: ; preds = %11 %61 = call ptr @opt_arg() #3 %62 = call ptr @setup_engine(ptr noundef %61, i32 noundef 0) #3 br label %26 63: ; preds = %11 %64 = call ptr @opt_arg() #3 br label %26 65: ; preds = %11 %66 = call ptr @opt_arg() #3 br label %26 67: ; preds = %11 br label %26 68: ; preds = %11 br label %26 69: ; preds = %11 br label %26 70: ; preds = %11 br label %26 71: ; preds = %11 br label %26 72: ; preds = %11 br label %26 73: ; preds = %11 br label %26 74: ; preds = %11 br label %26 75: ; preds = %11 %76 = call i32 @opt_unknown() #3 %77 = call i32 @opt_cipher(i32 noundef %76, ptr noundef nonnull %3) #3 %78 = icmp eq i32 %77, 0 br i1 %78, label %40, label %26 79: ; preds = %11 %80 = call i32 @opt_num_rest() #3 %81 = icmp eq i32 %80, 0 br i1 %81, label %82, label %40 82: ; preds = %79 %83 = icmp eq i32 %21, 0 %84 = icmp eq i32 %18, 0 %85 = select i1 %83, i1 %84, i1 false %86 = icmp ne i32 %20, 0 %87 = icmp eq i32 %19, 0 %88 = select i1 %86, i1 %87, i1 false %89 = select i1 %88, i1 true, i1 %85 %90 = zext i1 %89 to i32 %91 = call i32 @app_passwd(ptr noundef %14, ptr noundef %15, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %92 = icmp eq i32 %91, 0 br i1 %92, label %93, label %96 93: ; preds = %82 %94 = load ptr, ptr @bio_err, align 8, !tbaa !6 %95 = call i32 (ptr, ptr, ...) @BIO_printf(ptr noundef %94, ptr noundef nonnull @.str.1) #3 br label %188 96: ; preds = %82 %97 = load i32, ptr %7, align 4, !tbaa !10 %98 = call ptr @bio_open_owner(ptr noundef %13, i32 noundef %97, i32 noundef %90) #3 %99 = icmp eq ptr %98, null br i1 %99, label %188, label %100 100: ; preds = %96 %101 = icmp eq i32 %17, 0 %102 = load i32, ptr %6, align 4, !tbaa !10 %103 = load ptr, ptr %4, align 8, !tbaa !6 br i1 %101, label %106, label %104 104: ; preds = %100 %105 = call ptr @load_pubkey(ptr noundef %12, i32 noundef %102, i32 noundef 1, ptr noundef %103, ptr noundef %16, ptr noundef nonnull @.str.2) #3 br label %108 106: ; preds = %100 %107 = call ptr @load_key(ptr noundef %12, i32 noundef %102, i32 noundef 1, ptr noundef %103, ptr noundef %16, ptr noundef nonnull @.str.3) #3 br label %108 108: ; preds = %106, %104 %109 = phi ptr [ %105, %104 ], [ %107, %106 ] %110 = icmp eq ptr %109, null br i1 %110, label %188, label %111 111: ; preds = %108 %112 = icmp ne i32 %23, 0 %113 = icmp ne i32 %24, 0 %114 = select i1 %112, i1 true, i1 %113 br i1 %114, label %115, label %144 115: ; preds = %111 %116 = call ptr @EVP_PKEY_CTX_new(ptr noundef nonnull %109, ptr noundef %16) #3 %117 = icmp eq ptr %116, null br i1 %117, label %141, label %118 118: ; preds = %115 br i1 %112, label %119, label %121 119: ; preds = %118 %120 = call i32 @EVP_PKEY_check(ptr noundef nonnull %116) #3 br label %123 121: ; preds = %118 %122 = call i32 @EVP_PKEY_public_check(ptr noundef nonnull %116) #3 br label %123 123: ; preds = %121, %119 %124 = phi i32 [ %120, %119 ], [ %122, %121 ] %125 = icmp eq i32 %124, 1 br i1 %125, label %126, label %128 126: ; preds = %123 %127 = call i32 (ptr, ptr, ...) @BIO_printf(ptr noundef nonnull %98, ptr noundef nonnull @.str.4) #3 br label %139 128: ; preds = %123 %129 = call i32 (ptr, ptr, ...) @BIO_printf(ptr noundef nonnull %98, ptr noundef nonnull @.str.5) #3 %130 = call i64 @ERR_peek_error() #3 %131 = icmp eq i64 %130, 0 br i1 %131, label %139, label %132 132: ; preds = %128, %132 %133 = phi i64 [ %137, %132 ], [ %130, %128 ] %134 = call i32 @ERR_reason_error_string(i64 noundef %133) #3 %135 = call i32 (ptr, ptr, ...) @BIO_printf(ptr noundef %98, ptr noundef nonnull @.str.6, i32 noundef %134) #3 %136 = call i32 @ERR_get_error() #3 %137 = call i64 @ERR_peek_error() #3 %138 = icmp eq i64 %137, 0 br i1 %138, label %139, label %132, !llvm.loop !14 139: ; preds = %132, %128, %126 %140 = call i32 @EVP_PKEY_CTX_free(ptr noundef nonnull %116) #3 br label %144 141: ; preds = %115 %142 = load ptr, ptr @bio_err, align 8, !tbaa !6 %143 = call i32 @ERR_print_errors(ptr noundef %142) #3 br label %188 144: ; preds = %139, %111 br i1 %83, label %145, label %178 145: ; preds = %144 %146 = load i32, ptr %7, align 4, !tbaa !10 %147 = load i32, ptr @FORMAT_PEM, align 4, !tbaa !10 %148 = icmp eq i32 %146, %147 br i1 %148, label %149, label %164 149: ; preds = %145 br i1 %84, label %153, label %150 150: ; preds = %149 %151 = call i32 @PEM_write_bio_PUBKEY(ptr noundef %98, ptr noundef nonnull %109) #3 %152 = icmp eq i32 %151, 0 br i1 %152, label %188, label %178 153: ; preds = %149 %154 = call i32 @assert(i32 noundef %90) #3 %155 = icmp eq i32 %22, 0 %156 = load ptr, ptr %3, align 8, !tbaa !6 %157 = load ptr, ptr %5, align 8, !tbaa !6 br i1 %155, label %161, label %158 158: ; preds = %153 %159 = call i32 @PEM_write_bio_PrivateKey_traditional(ptr noundef %98, ptr noundef nonnull %109, ptr noundef %156, ptr noundef null, i32 noundef 0, ptr noundef null, ptr noundef %157) #3 %160 = icmp eq i32 %159, 0 br i1 %160, label %188, label %178 161: ; preds = %153 %162 = call i32 @PEM_write_bio_PrivateKey(ptr noundef %98, ptr noundef nonnull %109, ptr noundef %156, ptr noundef null, i32 noundef 0, ptr noundef null, ptr noundef %157) #3 %163 = icmp eq i32 %162, 0 br i1 %163, label %188, label %178 164: ; preds = %145 %165 = load i32, ptr @FORMAT_ASN1, align 4, !tbaa !10 %166 = icmp eq i32 %146, %165 br i1 %166, label %167, label %175 167: ; preds = %164 br i1 %84, label %171, label %168 168: ; preds = %167 %169 = call i32 @i2d_PUBKEY_bio(ptr noundef %98, ptr noundef nonnull %109) #3 %170 = icmp eq i32 %169, 0 br i1 %170, label %188, label %178 171: ; preds = %167 %172 = call i32 @assert(i32 noundef %90) #3 %173 = call i32 @i2d_PrivateKey_bio(ptr noundef %98, ptr noundef nonnull %109) #3 %174 = icmp eq i32 %173, 0 br i1 %174, label %188, label %178 175: ; preds = %164 %176 = load ptr, ptr @bio_err, align 8, !tbaa !6 %177 = call i32 (ptr, ptr, ...) @BIO_printf(ptr noundef %176, ptr noundef nonnull @.str.7) #3 br label %188 178: ; preds = %158, %161, %150, %168, %171, %144 %179 = icmp eq i32 %20, 0 br i1 %179, label %193, label %180 180: ; preds = %178 br i1 %87, label %184, label %181 181: ; preds = %180 %182 = call i64 @EVP_PKEY_print_public(ptr noundef %98, ptr noundef nonnull %109, i32 noundef 0, ptr noundef null) #3 %183 = icmp slt i64 %182, 1 br i1 %183, label %188, label %193 184: ; preds = %180 %185 = call i32 @assert(i32 noundef %90) #3 %186 = call i64 @EVP_PKEY_print_private(ptr noundef %98, ptr noundef nonnull %109, i32 noundef 0, ptr noundef null) #3 %187 = icmp slt i64 %186, 1 br i1 %187, label %188, label %193 188: ; preds = %40, %96, %108, %141, %181, %184, %150, %158, %161, %168, %171, %175, %93 %189 = phi ptr [ null, %93 ], [ %109, %175 ], [ %109, %171 ], [ %109, %168 ], [ %109, %161 ], [ %109, %158 ], [ %109, %150 ], [ %109, %184 ], [ %109, %181 ], [ %109, %141 ], [ null, %108 ], [ null, %96 ], [ null, %40 ] %190 = phi ptr [ null, %93 ], [ %98, %175 ], [ %98, %171 ], [ %98, %168 ], [ %98, %161 ], [ %98, %158 ], [ %98, %150 ], [ %98, %184 ], [ %98, %181 ], [ %98, %141 ], [ %98, %108 ], [ null, %96 ], [ null, %40 ] %191 = load ptr, ptr @bio_err, align 8, !tbaa !6 %192 = call i32 @ERR_print_errors(ptr noundef %191) #3 br label %193 193: ; preds = %178, %184, %181, %188, %43 %194 = phi i32 [ 1, %188 ], [ 0, %43 ], [ 0, %181 ], [ 0, %184 ], [ 0, %178 ] %195 = phi ptr [ %190, %188 ], [ null, %43 ], [ %98, %181 ], [ %98, %184 ], [ %98, %178 ] %196 = phi ptr [ %189, %188 ], [ null, %43 ], [ %109, %181 ], [ %109, %184 ], [ %109, %178 ] %197 = call i32 @EVP_PKEY_free(ptr noundef %196) #3 %198 = call i32 @release_engine(ptr noundef %16) #3 %199 = call i32 @BIO_free_all(ptr noundef %195) #3 %200 = call i32 @BIO_free(ptr noundef null) #3 %201 = load ptr, ptr %4, align 8, !tbaa !6 %202 = call i32 @OPENSSL_free(ptr noundef %201) #3 %203 = load ptr, ptr %5, align 8, !tbaa !6 %204 = call i32 @OPENSSL_free(ptr noundef %203) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %194 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @opt_init(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @opt_next(...) local_unnamed_addr #2 declare i32 @BIO_printf(ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @opt_help(i32 noundef) local_unnamed_addr #2 declare i32 @opt_format(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @opt_arg(...) local_unnamed_addr #2 declare ptr @setup_engine(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @opt_cipher(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @opt_unknown(...) local_unnamed_addr #2 declare i32 @opt_num_rest(...) local_unnamed_addr #2 declare i32 @app_passwd(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @bio_open_owner(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @load_pubkey(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @load_key(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @EVP_PKEY_CTX_new(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ERR_print_errors(ptr noundef) local_unnamed_addr #2 declare i32 @EVP_PKEY_check(ptr noundef) local_unnamed_addr #2 declare i32 @EVP_PKEY_public_check(ptr noundef) local_unnamed_addr #2 declare i64 @ERR_peek_error(...) local_unnamed_addr #2 declare i32 @ERR_reason_error_string(i64 noundef) local_unnamed_addr #2 declare i32 @ERR_get_error(...) 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 @EVP_PKEY_CTX_free(ptr noundef) local_unnamed_addr #2 declare i32 @PEM_write_bio_PUBKEY(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i32 @PEM_write_bio_PrivateKey_traditional(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PEM_write_bio_PrivateKey(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @i2d_PUBKEY_bio(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @i2d_PrivateKey_bio(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @EVP_PKEY_print_public(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @EVP_PKEY_print_private(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @EVP_PKEY_free(ptr noundef) local_unnamed_addr #2 declare i32 @release_engine(ptr noundef) local_unnamed_addr #2 declare i32 @BIO_free_all(ptr noundef) local_unnamed_addr #2 declare i32 @BIO_free(ptr noundef) local_unnamed_addr #2 declare i32 @OPENSSL_free(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = distinct !{!14, !13}
openssl_apps_extr_pkey.c_pkey_main
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_rsu.c_rsu_write_4.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_rsu.c_rsu_write_4.c" target datalayout = "e-m:e-p270:32:32-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 @rsu_write_4], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @rsu_write_4(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = tail call i32 @htole32(i32 noundef %2) #2 store i32 %5, ptr %4, align 4, !tbaa !5 %6 = call i32 @rsu_write_region_1(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %4, i32 noundef 4) #2 ret void } declare i32 @htole32(i32 noundef) local_unnamed_addr #1 declare i32 @rsu_write_region_1(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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_rsu.c_rsu_write_4.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_rsu.c_rsu_write_4.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 @rsu_write_4], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @rsu_write_4(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = tail call i32 @htole32(i32 noundef %2) #2 store i32 %5, ptr %4, align 4, !tbaa !6 %6 = call i32 @rsu_write_region_1(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %4, i32 noundef 4) #2 ret void } declare i32 @htole32(i32 noundef) local_unnamed_addr #1 declare i32 @rsu_write_region_1(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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_usb_wlan_extr_if_rsu.c_rsu_write_4
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/micrel/extr_ks8851.c_ks8851_eeprom_release.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/micrel/extr_ks8851.c_ks8851_eeprom_release.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @KS_EEPCR = dso_local local_unnamed_addr global i32 0, align 4 @EEPCR_EESA = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ks8851_eeprom_release], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ks8851_eeprom_release(ptr noundef %0) #0 { %2 = load i32, ptr @KS_EEPCR, align 4, !tbaa !5 %3 = tail call i32 @ks8851_rdreg16(ptr noundef %0, i32 noundef %2) #2 %4 = load i32, ptr @KS_EEPCR, align 4, !tbaa !5 %5 = load i32, ptr @EEPCR_EESA, align 4, !tbaa !5 %6 = xor i32 %5, -1 %7 = and i32 %3, %6 %8 = tail call i32 @ks8851_wrreg16(ptr noundef %0, i32 noundef %4, i32 noundef %7) #2 %9 = tail call i32 @mutex_unlock(ptr noundef %0) #2 ret void } declare i32 @ks8851_rdreg16(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ks8851_wrreg16(ptr noundef, i32 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, !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/micrel/extr_ks8851.c_ks8851_eeprom_release.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/micrel/extr_ks8851.c_ks8851_eeprom_release.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @KS_EEPCR = common local_unnamed_addr global i32 0, align 4 @EEPCR_EESA = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ks8851_eeprom_release], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ks8851_eeprom_release(ptr noundef %0) #0 { %2 = load i32, ptr @KS_EEPCR, align 4, !tbaa !6 %3 = tail call i32 @ks8851_rdreg16(ptr noundef %0, i32 noundef %2) #2 %4 = load i32, ptr @KS_EEPCR, align 4, !tbaa !6 %5 = load i32, ptr @EEPCR_EESA, align 4, !tbaa !6 %6 = xor i32 %5, -1 %7 = and i32 %3, %6 %8 = tail call i32 @ks8851_wrreg16(ptr noundef %0, i32 noundef %4, i32 noundef %7) #2 %9 = tail call i32 @mutex_unlock(ptr noundef %0) #2 ret void } declare i32 @ks8851_rdreg16(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ks8851_wrreg16(ptr noundef, i32 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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_micrel_extr_ks8851.c_ks8851_eeprom_release
; ModuleID = 'AnghaBench/glfw/src/extr_window.c__glfwInputWindowMonitor.c' source_filename = "AnghaBench/glfw/src/extr_window.c__glfwInputWindowMonitor.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define dso_local void @_glfwInputWindowMonitor(ptr nocapture noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 { store ptr %1, ptr %0, align 8, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-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_3__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/glfw/src/extr_window.c__glfwInputWindowMonitor.c' source_filename = "AnghaBench/glfw/src/extr_window.c__glfwInputWindowMonitor.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define void @_glfwInputWindowMonitor(ptr nocapture noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 { store ptr %1, ptr %0, align 8, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+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_3__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
glfw_src_extr_window.c__glfwInputWindowMonitor
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-mep.c_mep_elf_section_letter.c' source_filename = "AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-mep.c_mep_elf_section_letter.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SHF_MEP_VLIW = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [51 x i8] c"Bad .section directive: want a,v,w,x,M,S in string\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @mep_elf_section_letter(i32 noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = icmp eq i32 %0, 118 br i1 %3, label %4, label %6 4: ; preds = %2 %5 = load i32, ptr @SHF_MEP_VLIW, align 4, !tbaa !5 br label %8 6: ; preds = %2 %7 = tail call ptr @_(ptr noundef nonnull @.str) #2 store ptr %7, ptr %1, align 8, !tbaa !9 br label %8 8: ; preds = %6, %4 %9 = phi i32 [ %5, %4 ], [ 0, %6 ] ret i32 %9 } declare ptr @_(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-mep.c_mep_elf_section_letter.c' source_filename = "AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-mep.c_mep_elf_section_letter.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SHF_MEP_VLIW = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [51 x i8] c"Bad .section directive: want a,v,w,x,M,S in string\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @mep_elf_section_letter(i32 noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = icmp eq i32 %0, 118 br i1 %3, label %4, label %6 4: ; preds = %2 %5 = load i32, ptr @SHF_MEP_VLIW, align 4, !tbaa !6 br label %8 6: ; preds = %2 %7 = tail call ptr @_(ptr noundef nonnull @.str) #2 store ptr %7, ptr %1, align 8, !tbaa !10 br label %8 8: ; preds = %6, %4 %9 = phi i32 [ %5, %4 ], [ 0, %6 ] ret i32 %9 } declare ptr @_(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0}
freebsd_contrib_binutils_gas_config_extr_tc-mep.c_mep_elf_section_letter
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/realtek/extr_r8169_main.c_rtl8168g_1_hw_phy_config.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/realtek/extr_r8169_main.c_rtl8168g_1_hw_phy_config.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @rtl8168g_1_hw_phy_config], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @rtl8168g_1_hw_phy_config(ptr noundef %0) #0 { %2 = tail call i32 @rtl_apply_firmware(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call i32 @phy_read_paged(i32 noundef %3, i32 noundef 2630, i32 noundef 16) #2 %5 = tail call i32 @BIT(i32 noundef 8) #2 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 %8 = load i32, ptr %0, align 4, !tbaa !5 %9 = tail call i32 @BIT(i32 noundef 15) #2 br i1 %7, label %12, label %10 10: ; preds = %1 %11 = tail call i32 @phy_modify_paged(i32 noundef %8, i32 noundef 3020, i32 noundef 18, i32 noundef %9, i32 noundef 0) #2 br label %14 12: ; preds = %1 %13 = tail call i32 @phy_modify_paged(i32 noundef %8, i32 noundef 3020, i32 noundef 18, i32 noundef 0, i32 noundef %9) #2 br label %14 14: ; preds = %12, %10 %15 = load i32, ptr %0, align 4, !tbaa !5 %16 = tail call i32 @phy_read_paged(i32 noundef %15, i32 noundef 2630, i32 noundef 19) #2 %17 = tail call i32 @BIT(i32 noundef 8) #2 %18 = and i32 %17, %16 %19 = icmp eq i32 %18, 0 %20 = load i32, ptr %0, align 4, !tbaa !5 %21 = tail call i32 @BIT(i32 noundef 1) #2 br i1 %19, label %24, label %22 22: ; preds = %14 %23 = tail call i32 @phy_modify_paged(i32 noundef %20, i32 noundef 3137, i32 noundef 21, i32 noundef 0, i32 noundef %21) #2 br label %26 24: ; preds = %14 %25 = tail call i32 @phy_modify_paged(i32 noundef %20, i32 noundef 3137, i32 noundef 21, i32 noundef %21, i32 noundef 0) #2 br label %26 26: ; preds = %24, %22 %27 = load i32, ptr %0, align 4, !tbaa !5 %28 = tail call i32 @BIT(i32 noundef 3) #2 %29 = tail call i32 @BIT(i32 noundef 2) #2 %30 = or i32 %29, %28 %31 = tail call i32 @phy_modify_paged(i32 noundef %27, i32 noundef 2628, i32 noundef 17, i32 noundef 0, i32 noundef %30) #2 %32 = tail call i32 @rtl8168g_phy_adjust_10m_aldps(ptr noundef nonnull %0) #2 %33 = load i32, ptr %0, align 4, !tbaa !5 %34 = tail call i32 @BIT(i32 noundef 2) #2 %35 = tail call i32 @phy_modify_paged(i32 noundef %33, i32 noundef 2635, i32 noundef 17, i32 noundef 0, i32 noundef %34) #2 %36 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 31, i32 noundef 2627) #2 %37 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 19, i32 noundef 32786) #2 %38 = tail call i32 @rtl_w0w1_phy(ptr noundef nonnull %0, i32 noundef 20, i32 noundef 32768, i32 noundef 0) #2 %39 = load i32, ptr %0, align 4, !tbaa !5 %40 = tail call i32 @BIT(i32 noundef 13) #2 %41 = tail call i32 @BIT(i32 noundef 14) #2 %42 = tail call i32 @phy_modify_paged(i32 noundef %39, i32 noundef 3138, i32 noundef 17, i32 noundef %40, i32 noundef %41) #2 %43 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 31, i32 noundef 3021) #2 %44 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 20, i32 noundef 20581) #2 %45 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 20, i32 noundef 53349) #2 %46 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 31, i32 noundef 3016) #2 %47 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 17, i32 noundef 22101) #2 %48 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 31, i32 noundef 3021) #2 %49 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 20, i32 noundef 4197) #2 %50 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 20, i32 noundef 36965) #2 %51 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 20, i32 noundef 4197) #2 %52 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 31, i32 noundef 0) #2 %53 = tail call i32 @rtl8168g_disable_aldps(ptr noundef nonnull %0) #2 %54 = tail call i32 @rtl8168g_config_eee_phy(ptr noundef nonnull %0) #2 %55 = tail call i32 @rtl_enable_eee(ptr noundef nonnull %0) #2 ret void } declare i32 @rtl_apply_firmware(ptr noundef) local_unnamed_addr #1 declare i32 @phy_read_paged(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BIT(i32 noundef) local_unnamed_addr #1 declare i32 @phy_modify_paged(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rtl8168g_phy_adjust_10m_aldps(ptr noundef) local_unnamed_addr #1 declare i32 @rtl_writephy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rtl_w0w1_phy(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rtl8168g_disable_aldps(ptr noundef) local_unnamed_addr #1 declare i32 @rtl8168g_config_eee_phy(ptr noundef) local_unnamed_addr #1 declare i32 @rtl_enable_eee(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 = !{!"rtl8169_private", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/realtek/extr_r8169_main.c_rtl8168g_1_hw_phy_config.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/realtek/extr_r8169_main.c_rtl8168g_1_hw_phy_config.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 @rtl8168g_1_hw_phy_config], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @rtl8168g_1_hw_phy_config(ptr noundef %0) #0 { %2 = tail call i32 @rtl_apply_firmware(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call i32 @phy_read_paged(i32 noundef %3, i32 noundef 2630, i32 noundef 16) #2 %5 = tail call i32 @BIT(i32 noundef 8) #2 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 %8 = load i32, ptr %0, align 4, !tbaa !6 %9 = tail call i32 @BIT(i32 noundef 15) #2 br i1 %7, label %12, label %10 10: ; preds = %1 %11 = tail call i32 @phy_modify_paged(i32 noundef %8, i32 noundef 3020, i32 noundef 18, i32 noundef %9, i32 noundef 0) #2 br label %14 12: ; preds = %1 %13 = tail call i32 @phy_modify_paged(i32 noundef %8, i32 noundef 3020, i32 noundef 18, i32 noundef 0, i32 noundef %9) #2 br label %14 14: ; preds = %12, %10 %15 = load i32, ptr %0, align 4, !tbaa !6 %16 = tail call i32 @phy_read_paged(i32 noundef %15, i32 noundef 2630, i32 noundef 19) #2 %17 = tail call i32 @BIT(i32 noundef 8) #2 %18 = and i32 %17, %16 %19 = icmp eq i32 %18, 0 %20 = load i32, ptr %0, align 4, !tbaa !6 %21 = tail call i32 @BIT(i32 noundef 1) #2 br i1 %19, label %24, label %22 22: ; preds = %14 %23 = tail call i32 @phy_modify_paged(i32 noundef %20, i32 noundef 3137, i32 noundef 21, i32 noundef 0, i32 noundef %21) #2 br label %26 24: ; preds = %14 %25 = tail call i32 @phy_modify_paged(i32 noundef %20, i32 noundef 3137, i32 noundef 21, i32 noundef %21, i32 noundef 0) #2 br label %26 26: ; preds = %24, %22 %27 = load i32, ptr %0, align 4, !tbaa !6 %28 = tail call i32 @BIT(i32 noundef 3) #2 %29 = tail call i32 @BIT(i32 noundef 2) #2 %30 = or i32 %29, %28 %31 = tail call i32 @phy_modify_paged(i32 noundef %27, i32 noundef 2628, i32 noundef 17, i32 noundef 0, i32 noundef %30) #2 %32 = tail call i32 @rtl8168g_phy_adjust_10m_aldps(ptr noundef nonnull %0) #2 %33 = load i32, ptr %0, align 4, !tbaa !6 %34 = tail call i32 @BIT(i32 noundef 2) #2 %35 = tail call i32 @phy_modify_paged(i32 noundef %33, i32 noundef 2635, i32 noundef 17, i32 noundef 0, i32 noundef %34) #2 %36 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 31, i32 noundef 2627) #2 %37 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 19, i32 noundef 32786) #2 %38 = tail call i32 @rtl_w0w1_phy(ptr noundef nonnull %0, i32 noundef 20, i32 noundef 32768, i32 noundef 0) #2 %39 = load i32, ptr %0, align 4, !tbaa !6 %40 = tail call i32 @BIT(i32 noundef 13) #2 %41 = tail call i32 @BIT(i32 noundef 14) #2 %42 = tail call i32 @phy_modify_paged(i32 noundef %39, i32 noundef 3138, i32 noundef 17, i32 noundef %40, i32 noundef %41) #2 %43 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 31, i32 noundef 3021) #2 %44 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 20, i32 noundef 20581) #2 %45 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 20, i32 noundef 53349) #2 %46 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 31, i32 noundef 3016) #2 %47 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 17, i32 noundef 22101) #2 %48 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 31, i32 noundef 3021) #2 %49 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 20, i32 noundef 4197) #2 %50 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 20, i32 noundef 36965) #2 %51 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 20, i32 noundef 4197) #2 %52 = tail call i32 @rtl_writephy(ptr noundef nonnull %0, i32 noundef 31, i32 noundef 0) #2 %53 = tail call i32 @rtl8168g_disable_aldps(ptr noundef nonnull %0) #2 %54 = tail call i32 @rtl8168g_config_eee_phy(ptr noundef nonnull %0) #2 %55 = tail call i32 @rtl_enable_eee(ptr noundef nonnull %0) #2 ret void } declare i32 @rtl_apply_firmware(ptr noundef) local_unnamed_addr #1 declare i32 @phy_read_paged(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BIT(i32 noundef) local_unnamed_addr #1 declare i32 @phy_modify_paged(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rtl8168g_phy_adjust_10m_aldps(ptr noundef) local_unnamed_addr #1 declare i32 @rtl_writephy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rtl_w0w1_phy(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rtl8168g_disable_aldps(ptr noundef) local_unnamed_addr #1 declare i32 @rtl8168g_config_eee_phy(ptr noundef) local_unnamed_addr #1 declare i32 @rtl_enable_eee(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 = !{!"rtl8169_private", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_realtek_extr_r8169_main.c_rtl8168g_1_hw_phy_config
; ModuleID = 'AnghaBench/freebsd/sys/dev/altera/atse/extr_if_atse.c_atse_miibus_readreg.c' source_filename = "AnghaBench/freebsd/sys/dev/altera/atse/extr_if_atse.c_atse_miibus_readreg.c" target datalayout = "e-m:e-p270:32:32-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 @atse_miibus_readreg(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @device_get_softc(i32 noundef %0) #2 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = icmp eq i32 %5, %1 br i1 %6, label %7, label %9 7: ; preds = %3 %8 = tail call i32 @PHY_READ_2(ptr noundef nonnull %4, i32 noundef %2) #2 br label %9 9: ; preds = %3, %7 %10 = phi i32 [ %8, %7 ], [ 0, %3 ] ret i32 %10 } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @PHY_READ_2(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 = !{!"atse_softc", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/altera/atse/extr_if_atse.c_atse_miibus_readreg.c' source_filename = "AnghaBench/freebsd/sys/dev/altera/atse/extr_if_atse.c_atse_miibus_readreg.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 @atse_miibus_readreg(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @device_get_softc(i32 noundef %0) #2 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = icmp eq i32 %5, %1 br i1 %6, label %7, label %9 7: ; preds = %3 %8 = tail call i32 @PHY_READ_2(ptr noundef nonnull %4, i32 noundef %2) #2 br label %9 9: ; preds = %3, %7 %10 = phi i32 [ %8, %7 ], [ 0, %3 ] ret i32 %10 } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @PHY_READ_2(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 = !{!"atse_softc", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_altera_atse_extr_if_atse.c_atse_miibus_readreg
; ModuleID = 'AnghaBench/linux/drivers/spi/extr_spi-coldfire-qspi.c_mcfqspi_transfer_one.c' source_filename = "AnghaBench/linux/drivers/spi/extr_spi-coldfire-qspi.c_mcfqspi_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, i32, i32, i32, i32 } @MCFQSPI_QMR_MSTR = dso_local local_unnamed_addr global i32 0, align 4 @SPI_CPHA = dso_local local_unnamed_addr global i32 0, align 4 @MCFQSPI_QMR_CPHA = dso_local local_unnamed_addr global i32 0, align 4 @SPI_CPOL = dso_local local_unnamed_addr global i32 0, align 4 @MCFQSPI_QMR_CPOL = dso_local local_unnamed_addr global i32 0, align 4 @MCFQSPI_QIR_SPIFE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mcfqspi_transfer_one], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @mcfqspi_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 @MCFQSPI_QMR_MSTR, align 4, !tbaa !5 %6 = load i32, ptr %2, align 4, !tbaa !9 %7 = shl i32 %6, 10 %8 = or i32 %7, %5 %9 = load i32, ptr %1, align 4, !tbaa !11 %10 = load i32, ptr @SPI_CPHA, align 4, !tbaa !5 %11 = and i32 %10, %9 %12 = icmp eq i32 %11, 0 %13 = load i32, ptr @MCFQSPI_QMR_CPHA, align 4 %14 = select i1 %12, i32 0, i32 %13 %15 = or i32 %8, %14 %16 = load i32, ptr @SPI_CPOL, align 4, !tbaa !5 %17 = and i32 %16, %9 %18 = icmp eq i32 %17, 0 %19 = load i32, ptr @MCFQSPI_QMR_CPOL, align 4 %20 = select i1 %18, i32 0, i32 %19 %21 = or i32 %15, %20 %22 = getelementptr inbounds %struct.spi_transfer, ptr %2, i64 0, i32 4 %23 = load i32, ptr %22, align 4, !tbaa !13 %24 = tail call i32 @mcfqspi_qmr_baud(i32 noundef %23) #2 %25 = or i32 %21, %24 %26 = tail call i32 @mcfqspi_wr_qmr(ptr noundef %4, i32 noundef %25) #2 %27 = load i32, ptr @MCFQSPI_QIR_SPIFE, align 4, !tbaa !5 %28 = tail call i32 @mcfqspi_wr_qir(ptr noundef %4, i32 noundef %27) #2 %29 = load i32, ptr %2, align 4, !tbaa !9 %30 = icmp eq i32 %29, 8 %31 = getelementptr inbounds %struct.spi_transfer, ptr %2, i64 0, i32 1 %32 = load i32, ptr %31, align 4, !tbaa !14 br i1 %30, label %33, label %39 33: ; preds = %3 %34 = getelementptr inbounds %struct.spi_transfer, ptr %2, i64 0, i32 3 %35 = load i32, ptr %34, align 4, !tbaa !15 %36 = getelementptr inbounds %struct.spi_transfer, ptr %2, i64 0, i32 2 %37 = load i32, ptr %36, align 4, !tbaa !16 %38 = tail call i32 @mcfqspi_transfer_msg8(ptr noundef %4, i32 noundef %32, i32 noundef %35, i32 noundef %37) #2 br label %46 39: ; preds = %3 %40 = sdiv i32 %32, 2 %41 = getelementptr inbounds %struct.spi_transfer, ptr %2, i64 0, i32 3 %42 = load i32, ptr %41, align 4, !tbaa !15 %43 = getelementptr inbounds %struct.spi_transfer, ptr %2, i64 0, i32 2 %44 = load i32, ptr %43, align 4, !tbaa !16 %45 = tail call i32 @mcfqspi_transfer_msg16(ptr noundef %4, i32 noundef %40, i32 noundef %42, i32 noundef %44) #2 br label %46 46: ; preds = %39, %33 %47 = tail call i32 @mcfqspi_wr_qir(ptr noundef %4, i32 noundef 0) #2 ret i32 0 } declare ptr @spi_master_get_devdata(ptr noundef) local_unnamed_addr #1 declare i32 @mcfqspi_qmr_baud(i32 noundef) local_unnamed_addr #1 declare i32 @mcfqspi_wr_qmr(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mcfqspi_wr_qir(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mcfqspi_transfer_msg8(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mcfqspi_transfer_msg16(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"spi_transfer", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16} !11 = !{!12, !6, i64 0} !12 = !{!"spi_device", !6, i64 0} !13 = !{!10, !6, i64 16} !14 = !{!10, !6, i64 4} !15 = !{!10, !6, i64 12} !16 = !{!10, !6, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/spi/extr_spi-coldfire-qspi.c_mcfqspi_transfer_one.c' source_filename = "AnghaBench/linux/drivers/spi/extr_spi-coldfire-qspi.c_mcfqspi_transfer_one.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MCFQSPI_QMR_MSTR = common local_unnamed_addr global i32 0, align 4 @SPI_CPHA = common local_unnamed_addr global i32 0, align 4 @MCFQSPI_QMR_CPHA = common local_unnamed_addr global i32 0, align 4 @SPI_CPOL = common local_unnamed_addr global i32 0, align 4 @MCFQSPI_QMR_CPOL = common local_unnamed_addr global i32 0, align 4 @MCFQSPI_QIR_SPIFE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mcfqspi_transfer_one], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @mcfqspi_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 @MCFQSPI_QMR_MSTR, align 4, !tbaa !6 %6 = load i32, ptr %2, align 4, !tbaa !10 %7 = shl i32 %6, 10 %8 = or i32 %7, %5 %9 = load i32, ptr %1, align 4, !tbaa !12 %10 = load i32, ptr @SPI_CPHA, align 4, !tbaa !6 %11 = and i32 %10, %9 %12 = icmp eq i32 %11, 0 %13 = load i32, ptr @MCFQSPI_QMR_CPHA, align 4 %14 = select i1 %12, i32 0, i32 %13 %15 = or i32 %8, %14 %16 = load i32, ptr @SPI_CPOL, align 4, !tbaa !6 %17 = and i32 %16, %9 %18 = icmp eq i32 %17, 0 %19 = load i32, ptr @MCFQSPI_QMR_CPOL, align 4 %20 = select i1 %18, i32 0, i32 %19 %21 = or i32 %15, %20 %22 = getelementptr inbounds i8, ptr %2, i64 16 %23 = load i32, ptr %22, align 4, !tbaa !14 %24 = tail call i32 @mcfqspi_qmr_baud(i32 noundef %23) #2 %25 = or i32 %21, %24 %26 = tail call i32 @mcfqspi_wr_qmr(ptr noundef %4, i32 noundef %25) #2 %27 = load i32, ptr @MCFQSPI_QIR_SPIFE, align 4, !tbaa !6 %28 = tail call i32 @mcfqspi_wr_qir(ptr noundef %4, i32 noundef %27) #2 %29 = load i32, ptr %2, align 4, !tbaa !10 %30 = icmp eq i32 %29, 8 %31 = getelementptr inbounds i8, ptr %2, i64 4 %32 = load i32, ptr %31, align 4, !tbaa !15 br i1 %30, label %33, label %39 33: ; preds = %3 %34 = getelementptr inbounds i8, ptr %2, i64 12 %35 = load i32, ptr %34, align 4, !tbaa !16 %36 = getelementptr inbounds i8, ptr %2, i64 8 %37 = load i32, ptr %36, align 4, !tbaa !17 %38 = tail call i32 @mcfqspi_transfer_msg8(ptr noundef %4, i32 noundef %32, i32 noundef %35, i32 noundef %37) #2 br label %46 39: ; preds = %3 %40 = sdiv i32 %32, 2 %41 = getelementptr inbounds i8, ptr %2, i64 12 %42 = load i32, ptr %41, align 4, !tbaa !16 %43 = getelementptr inbounds i8, ptr %2, i64 8 %44 = load i32, ptr %43, align 4, !tbaa !17 %45 = tail call i32 @mcfqspi_transfer_msg16(ptr noundef %4, i32 noundef %40, i32 noundef %42, i32 noundef %44) #2 br label %46 46: ; preds = %39, %33 %47 = tail call i32 @mcfqspi_wr_qir(ptr noundef %4, i32 noundef 0) #2 ret i32 0 } declare ptr @spi_master_get_devdata(ptr noundef) local_unnamed_addr #1 declare i32 @mcfqspi_qmr_baud(i32 noundef) local_unnamed_addr #1 declare i32 @mcfqspi_wr_qmr(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mcfqspi_wr_qir(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mcfqspi_transfer_msg8(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mcfqspi_transfer_msg16(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"spi_transfer", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16} !12 = !{!13, !7, i64 0} !13 = !{!"spi_device", !7, i64 0} !14 = !{!11, !7, i64 16} !15 = !{!11, !7, i64 4} !16 = !{!11, !7, i64 12} !17 = !{!11, !7, i64 8}
linux_drivers_spi_extr_spi-coldfire-qspi.c_mcfqspi_transfer_one
; ModuleID = 'AnghaBench/linux/drivers/staging/iio/frequency/extr_ad9832.c_ad9832_remove.c' source_filename = "AnghaBench/linux/drivers/staging/iio/frequency/extr_ad9832.c_ad9832_remove.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ad9832_state = type { i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @ad9832_remove], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @ad9832_remove(ptr noundef %0) #0 { %2 = tail call ptr @spi_get_drvdata(ptr noundef %0) #2 %3 = tail call ptr @iio_priv(ptr noundef %2) #2 %4 = tail call i32 @iio_device_unregister(ptr noundef %2) #2 %5 = getelementptr inbounds %struct.ad9832_state, ptr %3, i64 0, i32 2 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = tail call i32 @clk_disable_unprepare(i32 noundef %6) #2 %8 = getelementptr inbounds %struct.ad9832_state, ptr %3, i64 0, i32 1 %9 = load i32, ptr %8, align 4, !tbaa !10 %10 = tail call i32 @regulator_disable(i32 noundef %9) #2 %11 = load i32, ptr %3, align 4, !tbaa !11 %12 = tail call i32 @regulator_disable(i32 noundef %11) #2 ret i32 0 } declare ptr @spi_get_drvdata(ptr noundef) local_unnamed_addr #1 declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare i32 @iio_device_unregister(ptr noundef) local_unnamed_addr #1 declare i32 @clk_disable_unprepare(i32 noundef) local_unnamed_addr #1 declare i32 @regulator_disable(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"ad9832_state", !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/linux/drivers/staging/iio/frequency/extr_ad9832.c_ad9832_remove.c' source_filename = "AnghaBench/linux/drivers/staging/iio/frequency/extr_ad9832.c_ad9832_remove.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @ad9832_remove], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @ad9832_remove(ptr noundef %0) #0 { %2 = tail call ptr @spi_get_drvdata(ptr noundef %0) #2 %3 = tail call ptr @iio_priv(ptr noundef %2) #2 %4 = tail call i32 @iio_device_unregister(ptr noundef %2) #2 %5 = getelementptr inbounds i8, ptr %3, i64 8 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = tail call i32 @clk_disable_unprepare(i32 noundef %6) #2 %8 = getelementptr inbounds i8, ptr %3, i64 4 %9 = load i32, ptr %8, align 4, !tbaa !11 %10 = tail call i32 @regulator_disable(i32 noundef %9) #2 %11 = load i32, ptr %3, align 4, !tbaa !12 %12 = tail call i32 @regulator_disable(i32 noundef %11) #2 ret i32 0 } declare ptr @spi_get_drvdata(ptr noundef) local_unnamed_addr #1 declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare i32 @iio_device_unregister(ptr noundef) local_unnamed_addr #1 declare i32 @clk_disable_unprepare(i32 noundef) local_unnamed_addr #1 declare i32 @regulator_disable(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"ad9832_state", !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}
linux_drivers_staging_iio_frequency_extr_ad9832.c_ad9832_remove
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_page_alloc.c_free_pages_exact.c' source_filename = "AnghaBench/fastsocket/kernel/mm/extr_page_alloc.c_free_pages_exact.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PAGE_SIZE = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @free_pages_exact(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = ptrtoint ptr %0 to i64 %4 = tail call i64 @PAGE_ALIGN(i64 noundef %1) #2 %5 = add i64 %4, %3 %6 = icmp ugt i64 %5, %3 br i1 %6, label %7, label %13 7: ; preds = %2, %7 %8 = phi i64 [ %11, %7 ], [ %3, %2 ] %9 = tail call i32 @free_page(i64 noundef %8) #2 %10 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !5 %11 = add i64 %10, %8 %12 = icmp ult i64 %11, %5 br i1 %12, label %7, label %13, !llvm.loop !9 13: ; preds = %7, %2 ret void } declare i64 @PAGE_ALIGN(i64 noundef) local_unnamed_addr #1 declare i32 @free_page(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/fastsocket/kernel/mm/extr_page_alloc.c_free_pages_exact.c' source_filename = "AnghaBench/fastsocket/kernel/mm/extr_page_alloc.c_free_pages_exact.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PAGE_SIZE = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @free_pages_exact(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = ptrtoint ptr %0 to i64 %4 = tail call i64 @PAGE_ALIGN(i64 noundef %1) #2 %5 = add i64 %4, %3 %6 = icmp ugt i64 %5, %3 br i1 %6, label %7, label %13 7: ; preds = %2, %7 %8 = phi i64 [ %11, %7 ], [ %3, %2 ] %9 = tail call i32 @free_page(i64 noundef %8) #2 %10 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !6 %11 = add i64 %10, %8 %12 = icmp ult i64 %11, %5 br i1 %12, label %7, label %13, !llvm.loop !10 13: ; preds = %7, %2 ret void } declare i64 @PAGE_ALIGN(i64 noundef) local_unnamed_addr #1 declare i32 @free_page(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"}
fastsocket_kernel_mm_extr_page_alloc.c_free_pages_exact
; ModuleID = 'AnghaBench/linux/drivers/crypto/extr_qcom-rng.c_qcom_rng_probe.c' source_filename = "AnghaBench/linux/drivers/crypto/extr_qcom-rng.c_qcom_rng_probe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.qcom_rng = type { i64, i32, i32, i32 } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"core\00", align 1 @qcom_rng_dev = dso_local local_unnamed_addr global ptr null, align 8 @qcom_rng_alg = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"Register crypto rng failed: %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @qcom_rng_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @qcom_rng_probe(ptr noundef %0) #0 { %2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %3 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 24, i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %7 = sub nsw i32 0, %6 br label %36 8: ; preds = %1 %9 = tail call i32 @platform_set_drvdata(ptr noundef %0, ptr noundef nonnull %3) #2 %10 = getelementptr inbounds %struct.qcom_rng, ptr %3, i64 0, i32 3 %11 = tail call i32 @mutex_init(ptr noundef nonnull %10) #2 %12 = tail call i32 @devm_platform_ioremap_resource(ptr noundef %0, i32 noundef 0) #2 %13 = getelementptr inbounds %struct.qcom_rng, ptr %3, i64 0, i32 2 store i32 %12, ptr %13, align 4, !tbaa !9 %14 = tail call i64 @IS_ERR(i32 noundef %12) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %8 %17 = load i32, ptr %13, align 4, !tbaa !9 %18 = tail call i32 @PTR_ERR(i32 noundef %17) #2 br label %36 19: ; preds = %8 %20 = tail call i32 @has_acpi_companion(ptr noundef %0) #2 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %30 22: ; preds = %19 %23 = tail call i32 @devm_clk_get(ptr noundef %0, ptr noundef nonnull @.str) #2 %24 = getelementptr inbounds %struct.qcom_rng, ptr %3, i64 0, i32 1 store i32 %23, ptr %24, align 8, !tbaa !12 %25 = tail call i64 @IS_ERR(i32 noundef %23) #2 %26 = icmp eq i64 %25, 0 br i1 %26, label %30, label %27 27: ; preds = %22 %28 = load i32, ptr %24, align 8, !tbaa !12 %29 = tail call i32 @PTR_ERR(i32 noundef %28) #2 br label %36 30: ; preds = %22, %19 %31 = tail call i64 @device_get_match_data(ptr noundef %0) #2 store i64 %31, ptr %3, align 8, !tbaa !13 store ptr %3, ptr @qcom_rng_dev, align 8, !tbaa !14 %32 = tail call i32 @crypto_register_rng(ptr noundef nonnull @qcom_rng_alg) #2 %33 = icmp eq i32 %32, 0 br i1 %33, label %36, label %34 34: ; preds = %30 %35 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %32) #2 store ptr null, ptr @qcom_rng_dev, align 8, !tbaa !14 br label %36 36: ; preds = %30, %34, %27, %16, %5 %37 = phi i32 [ %18, %16 ], [ %29, %27 ], [ %7, %5 ], [ %32, %34 ], [ 0, %30 ] ret i32 %37 } declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @platform_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @devm_platform_ioremap_resource(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @has_acpi_companion(ptr noundef) local_unnamed_addr #1 declare i32 @devm_clk_get(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @device_get_match_data(ptr noundef) local_unnamed_addr #1 declare i32 @crypto_register_rng(ptr noundef) local_unnamed_addr #1 declare i32 @dev_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 = !{!10, !6, i64 12} !10 = !{!"qcom_rng", !11, i64 0, !6, i64 8, !6, i64 12, !6, i64 16} !11 = !{!"long", !7, i64 0} !12 = !{!10, !6, i64 8} !13 = !{!10, !11, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/crypto/extr_qcom-rng.c_qcom_rng_probe.c' source_filename = "AnghaBench/linux/drivers/crypto/extr_qcom-rng.c_qcom_rng_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"core\00", align 1 @qcom_rng_dev = common local_unnamed_addr global ptr null, align 8 @qcom_rng_alg = common global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"Register crypto rng failed: %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @qcom_rng_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @qcom_rng_probe(ptr noundef %0) #0 { %2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %3 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 24, i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %7 = sub nsw i32 0, %6 br label %36 8: ; preds = %1 %9 = tail call i32 @platform_set_drvdata(ptr noundef %0, ptr noundef nonnull %3) #2 %10 = getelementptr inbounds i8, ptr %3, i64 16 %11 = tail call i32 @mutex_init(ptr noundef nonnull %10) #2 %12 = tail call i32 @devm_platform_ioremap_resource(ptr noundef %0, i32 noundef 0) #2 %13 = getelementptr inbounds i8, ptr %3, i64 12 store i32 %12, ptr %13, align 4, !tbaa !10 %14 = tail call i64 @IS_ERR(i32 noundef %12) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %8 %17 = load i32, ptr %13, align 4, !tbaa !10 %18 = tail call i32 @PTR_ERR(i32 noundef %17) #2 br label %36 19: ; preds = %8 %20 = tail call i32 @has_acpi_companion(ptr noundef %0) #2 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %30 22: ; preds = %19 %23 = tail call i32 @devm_clk_get(ptr noundef %0, ptr noundef nonnull @.str) #2 %24 = getelementptr inbounds i8, ptr %3, i64 8 store i32 %23, ptr %24, align 8, !tbaa !13 %25 = tail call i64 @IS_ERR(i32 noundef %23) #2 %26 = icmp eq i64 %25, 0 br i1 %26, label %30, label %27 27: ; preds = %22 %28 = load i32, ptr %24, align 8, !tbaa !13 %29 = tail call i32 @PTR_ERR(i32 noundef %28) #2 br label %36 30: ; preds = %22, %19 %31 = tail call i64 @device_get_match_data(ptr noundef %0) #2 store i64 %31, ptr %3, align 8, !tbaa !14 store ptr %3, ptr @qcom_rng_dev, align 8, !tbaa !15 %32 = tail call i32 @crypto_register_rng(ptr noundef nonnull @qcom_rng_alg) #2 %33 = icmp eq i32 %32, 0 br i1 %33, label %36, label %34 34: ; preds = %30 %35 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %32) #2 store ptr null, ptr @qcom_rng_dev, align 8, !tbaa !15 br label %36 36: ; preds = %30, %34, %27, %16, %5 %37 = phi i32 [ %18, %16 ], [ %29, %27 ], [ %7, %5 ], [ %32, %34 ], [ 0, %30 ] ret i32 %37 } declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @platform_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @devm_platform_ioremap_resource(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @has_acpi_companion(ptr noundef) local_unnamed_addr #1 declare i32 @devm_clk_get(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @device_get_match_data(ptr noundef) local_unnamed_addr #1 declare i32 @crypto_register_rng(ptr noundef) local_unnamed_addr #1 declare i32 @dev_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 = !{!11, !7, i64 12} !11 = !{!"qcom_rng", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16} !12 = !{!"long", !8, i64 0} !13 = !{!11, !7, i64 8} !14 = !{!11, !12, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"any pointer", !8, i64 0}
linux_drivers_crypto_extr_qcom-rng.c_qcom_rng_probe
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/cx88/extr_cx88-alsa.c_snd_cx88_card_trigger.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/cx88/extr_cx88-alsa.c_snd_cx88_card_trigger.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_cx88_card_trigger], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @snd_cx88_card_trigger(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2 %4 = tail call i32 @spin_lock(ptr noundef %3) #2 switch i32 %1, label %9 [ i32 129, label %5 i32 128, label %7 ] 5: ; preds = %2 %6 = tail call i32 @_cx88_start_audio_dma(ptr noundef %3) #2 br label %12 7: ; preds = %2 %8 = tail call i32 @_cx88_stop_audio_dma(ptr noundef %3) #2 br label %12 9: ; preds = %2 %10 = load i32, ptr @EINVAL, align 4, !tbaa !5 %11 = sub nsw i32 0, %10 br label %12 12: ; preds = %9, %7, %5 %13 = phi i32 [ %11, %9 ], [ %8, %7 ], [ %6, %5 ] %14 = tail call i32 @spin_unlock(ptr noundef %3) #2 ret i32 %13 } declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @_cx88_start_audio_dma(ptr noundef) local_unnamed_addr #1 declare i32 @_cx88_stop_audio_dma(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/cx88/extr_cx88-alsa.c_snd_cx88_card_trigger.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/cx88/extr_cx88-alsa.c_snd_cx88_card_trigger.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @snd_cx88_card_trigger], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @snd_cx88_card_trigger(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2 %4 = tail call i32 @spin_lock(ptr noundef %3) #2 switch i32 %1, label %9 [ i32 129, label %5 i32 128, label %7 ] 5: ; preds = %2 %6 = tail call i32 @_cx88_start_audio_dma(ptr noundef %3) #2 br label %12 7: ; preds = %2 %8 = tail call i32 @_cx88_stop_audio_dma(ptr noundef %3) #2 br label %12 9: ; preds = %2 %10 = load i32, ptr @EINVAL, align 4, !tbaa !6 %11 = sub nsw i32 0, %10 br label %12 12: ; preds = %9, %7, %5 %13 = phi i32 [ %11, %9 ], [ %8, %7 ], [ %6, %5 ] %14 = tail call i32 @spin_unlock(ptr noundef %3) #2 ret i32 %13 } declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @_cx88_start_audio_dma(ptr noundef) local_unnamed_addr #1 declare i32 @_cx88_stop_audio_dma(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_media_video_cx88_extr_cx88-alsa.c_snd_cx88_card_trigger
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ti/wlcore/extr_hw_ops.h_wlcore_smart_config_start.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ti/wlcore/extr_hw_ops.h_wlcore_smart_config_start.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @wlcore_smart_config_start], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @wlcore_smart_config_start(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load i32, ptr @EINVAL, align 4, !tbaa !12 %8 = sub nsw i32 0, %7 br label %11 9: ; preds = %2 %10 = tail call i32 %4(ptr noundef nonnull %0, i32 noundef %1) #1 br label %11 11: ; preds = %9, %6 %12 = phi i32 [ %10, %9 ], [ %8, %6 ] ret i32 %12 } 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 = !{!"wl1271", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ti/wlcore/extr_hw_ops.h_wlcore_smart_config_start.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ti/wlcore/extr_hw_ops.h_wlcore_smart_config_start.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @wlcore_smart_config_start], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @wlcore_smart_config_start(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load i32, ptr @EINVAL, align 4, !tbaa !13 %8 = sub nsw i32 0, %7 br label %11 9: ; preds = %2 %10 = tail call i32 %4(ptr noundef nonnull %0, i32 noundef %1) #1 br label %11 11: ; preds = %9, %6 %12 = phi i32 [ %10, %9 ], [ %8, %6 ] ret i32 %12 } 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 = !{!"wl1271", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_2__", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0}
linux_drivers_net_wireless_ti_wlcore_extr_hw_ops.h_wlcore_smart_config_start
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_phy_ht.c_b43_phy_ht_tx_power_ctl.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_phy_ht.c_b43_phy_ht_tx_power_ctl.c" target datalayout = "e-m:e-p270:32:32-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.b43_wldev = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { ptr } %struct.b43_phy_ht = type { ptr, i32 } @B43_PHY_HT_TXPCTL_CMD_C1_COEFF = dso_local local_unnamed_addr global i32 0, align 4 @B43_PHY_HT_TXPCTL_CMD_C1_HWPCTLEN = dso_local local_unnamed_addr global i32 0, align 4 @B43_PHY_HT_TXPCTL_CMD_C1_PCTLEN = dso_local local_unnamed_addr global i32 0, align 4 @IEEE80211_BAND_5GHZ = dso_local local_unnamed_addr global i64 0, align 8 @B43_PHY_HT_TXPCTL_CMD_C1_INIT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @b43_phy_ht_tx_power_ctl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @b43_phy_ht_tx_power_ctl(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.b43_wldev, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr @B43_PHY_HT_TXPCTL_CMD_C1_COEFF, align 4, !tbaa !12 %6 = load i32, ptr @B43_PHY_HT_TXPCTL_CMD_C1_HWPCTLEN, align 4, !tbaa !12 %7 = or i32 %6, %5 %8 = load i32, ptr @B43_PHY_HT_TXPCTL_CMD_C1_PCTLEN, align 4, !tbaa !12 %9 = or i32 %7, %8 %10 = icmp eq i32 %1, 0 br i1 %10, label %11, label %27 11: ; preds = %2 %12 = tail call i32 @b43_phy_read(ptr noundef nonnull %0, i32 noundef 133) #2 %13 = and i32 %12, %9 %14 = icmp eq i32 %13, 0 br i1 %14, label %24, label %15 15: ; preds = %11 %16 = tail call i32 @b43_phy_read(ptr noundef nonnull %0, i32 noundef 130) #2 %17 = load ptr, ptr %4, align 8, !tbaa !13 store i32 %16, ptr %17, align 4, !tbaa !12 %18 = tail call i32 @b43_phy_read(ptr noundef nonnull %0, i32 noundef 129) #2 %19 = load ptr, ptr %4, align 8, !tbaa !13 %20 = getelementptr inbounds i32, ptr %19, i64 1 store i32 %18, ptr %20, align 4, !tbaa !12 %21 = tail call i32 @b43_phy_read(ptr noundef nonnull %0, i32 noundef 128) #2 %22 = load ptr, ptr %4, align 8, !tbaa !13 %23 = getelementptr inbounds i32, ptr %22, i64 2 store i32 %21, ptr %23, align 4, !tbaa !12 br label %24 24: ; preds = %15, %11 %25 = xor i32 %9, -1 %26 = tail call i32 @b43_phy_mask(ptr noundef nonnull %0, i32 noundef 133, i32 noundef %25) #2 br label %64 27: ; preds = %2 %28 = tail call i32 @b43_phy_set(ptr noundef nonnull %0, i32 noundef 133, i32 noundef %9) #2 %29 = load i32, ptr %0, align 8, !tbaa !15 %30 = tail call i64 @b43_current_band(i32 noundef %29) #2 %31 = load i64, ptr @IEEE80211_BAND_5GHZ, align 8, !tbaa !16 %32 = icmp eq i64 %30, %31 br i1 %32, label %33, label %37 33: ; preds = %27 %34 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef 133, i32 noundef 50) #2 %35 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef 132, i32 noundef 50) #2 %36 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef 131, i32 noundef 50) #2 br label %37 37: ; preds = %33, %27 %38 = load ptr, ptr %4, align 8, !tbaa !13 %39 = load i32, ptr %38, align 4, !tbaa !12 %40 = load i32, ptr @B43_PHY_HT_TXPCTL_CMD_C1_INIT, align 4, !tbaa !12 %41 = icmp sgt i32 %39, %40 br i1 %41, label %46, label %42 42: ; preds = %37 %43 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef 133, i32 noundef %39) #2 %44 = load ptr, ptr %4, align 8, !tbaa !13 %45 = load i32, ptr @B43_PHY_HT_TXPCTL_CMD_C1_INIT, align 4, !tbaa !12 br label %46 46: ; preds = %37, %42 %47 = phi i32 [ %40, %37 ], [ %45, %42 ] %48 = phi ptr [ %38, %37 ], [ %44, %42 ] %49 = getelementptr inbounds i32, ptr %48, i64 1 %50 = load i32, ptr %49, align 4, !tbaa !12 %51 = icmp sgt i32 %50, %47 br i1 %51, label %56, label %52 52: ; preds = %46 %53 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef 132, i32 noundef %50) #2 %54 = load ptr, ptr %4, align 8, !tbaa !13 %55 = load i32, ptr @B43_PHY_HT_TXPCTL_CMD_C1_INIT, align 4, !tbaa !12 br label %56 56: ; preds = %52, %46 %57 = phi i32 [ %55, %52 ], [ %47, %46 ] %58 = phi ptr [ %54, %52 ], [ %48, %46 ] %59 = getelementptr inbounds i32, ptr %58, i64 2 %60 = load i32, ptr %59, align 4, !tbaa !12 %61 = icmp sgt i32 %60, %57 br i1 %61, label %64, label %62 62: ; preds = %56 %63 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef 131, i32 noundef %60) #2 br label %64 64: ; preds = %56, %62, %24 %65 = getelementptr inbounds %struct.b43_phy_ht, ptr %4, i64 0, i32 1 store i32 %1, ptr %65, align 8, !tbaa !18 ret void } declare i32 @b43_phy_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @b43_phy_mask(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @b43_phy_set(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @b43_current_band(i32 noundef) local_unnamed_addr #1 declare i32 @b43_phy_write(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, !11, i64 8} !6 = !{!"b43_wldev", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_2__", !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"b43_phy_ht", !11, i64 0, !7, i64 8} !15 = !{!6, !7, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"long", !8, i64 0} !18 = !{!14, !7, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_phy_ht.c_b43_phy_ht_tx_power_ctl.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_phy_ht.c_b43_phy_ht_tx_power_ctl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @B43_PHY_HT_TXPCTL_CMD_C1_COEFF = common local_unnamed_addr global i32 0, align 4 @B43_PHY_HT_TXPCTL_CMD_C1_HWPCTLEN = common local_unnamed_addr global i32 0, align 4 @B43_PHY_HT_TXPCTL_CMD_C1_PCTLEN = common local_unnamed_addr global i32 0, align 4 @IEEE80211_BAND_5GHZ = common local_unnamed_addr global i64 0, align 8 @B43_PHY_HT_TXPCTL_CMD_C1_INIT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @b43_phy_ht_tx_power_ctl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @b43_phy_ht_tx_power_ctl(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr @B43_PHY_HT_TXPCTL_CMD_C1_COEFF, align 4, !tbaa !13 %6 = load i32, ptr @B43_PHY_HT_TXPCTL_CMD_C1_HWPCTLEN, align 4, !tbaa !13 %7 = or i32 %6, %5 %8 = load i32, ptr @B43_PHY_HT_TXPCTL_CMD_C1_PCTLEN, align 4, !tbaa !13 %9 = or i32 %7, %8 %10 = icmp eq i32 %1, 0 br i1 %10, label %11, label %27 11: ; preds = %2 %12 = tail call i32 @b43_phy_read(ptr noundef nonnull %0, i32 noundef 133) #2 %13 = and i32 %12, %9 %14 = icmp eq i32 %13, 0 br i1 %14, label %24, label %15 15: ; preds = %11 %16 = tail call i32 @b43_phy_read(ptr noundef nonnull %0, i32 noundef 130) #2 %17 = load ptr, ptr %4, align 8, !tbaa !14 store i32 %16, ptr %17, align 4, !tbaa !13 %18 = tail call i32 @b43_phy_read(ptr noundef nonnull %0, i32 noundef 129) #2 %19 = load ptr, ptr %4, align 8, !tbaa !14 %20 = getelementptr inbounds i8, ptr %19, i64 4 store i32 %18, ptr %20, align 4, !tbaa !13 %21 = tail call i32 @b43_phy_read(ptr noundef nonnull %0, i32 noundef 128) #2 %22 = load ptr, ptr %4, align 8, !tbaa !14 %23 = getelementptr inbounds i8, ptr %22, i64 8 store i32 %21, ptr %23, align 4, !tbaa !13 br label %24 24: ; preds = %15, %11 %25 = xor i32 %9, -1 %26 = tail call i32 @b43_phy_mask(ptr noundef nonnull %0, i32 noundef 133, i32 noundef %25) #2 br label %64 27: ; preds = %2 %28 = tail call i32 @b43_phy_set(ptr noundef nonnull %0, i32 noundef 133, i32 noundef %9) #2 %29 = load i32, ptr %0, align 8, !tbaa !16 %30 = tail call i64 @b43_current_band(i32 noundef %29) #2 %31 = load i64, ptr @IEEE80211_BAND_5GHZ, align 8, !tbaa !17 %32 = icmp eq i64 %30, %31 br i1 %32, label %33, label %37 33: ; preds = %27 %34 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef 133, i32 noundef 50) #2 %35 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef 132, i32 noundef 50) #2 %36 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef 131, i32 noundef 50) #2 br label %37 37: ; preds = %33, %27 %38 = load ptr, ptr %4, align 8, !tbaa !14 %39 = load i32, ptr %38, align 4, !tbaa !13 %40 = load i32, ptr @B43_PHY_HT_TXPCTL_CMD_C1_INIT, align 4, !tbaa !13 %41 = icmp sgt i32 %39, %40 br i1 %41, label %46, label %42 42: ; preds = %37 %43 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef 133, i32 noundef %39) #2 %44 = load ptr, ptr %4, align 8, !tbaa !14 %45 = load i32, ptr @B43_PHY_HT_TXPCTL_CMD_C1_INIT, align 4, !tbaa !13 br label %46 46: ; preds = %37, %42 %47 = phi i32 [ %40, %37 ], [ %45, %42 ] %48 = phi ptr [ %38, %37 ], [ %44, %42 ] %49 = getelementptr inbounds i8, ptr %48, i64 4 %50 = load i32, ptr %49, align 4, !tbaa !13 %51 = icmp sgt i32 %50, %47 br i1 %51, label %56, label %52 52: ; preds = %46 %53 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef 132, i32 noundef %50) #2 %54 = load ptr, ptr %4, align 8, !tbaa !14 %55 = load i32, ptr @B43_PHY_HT_TXPCTL_CMD_C1_INIT, align 4, !tbaa !13 br label %56 56: ; preds = %52, %46 %57 = phi i32 [ %55, %52 ], [ %47, %46 ] %58 = phi ptr [ %54, %52 ], [ %48, %46 ] %59 = getelementptr inbounds i8, ptr %58, i64 8 %60 = load i32, ptr %59, align 4, !tbaa !13 %61 = icmp sgt i32 %60, %57 br i1 %61, label %64, label %62 62: ; preds = %56 %63 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef 131, i32 noundef %60) #2 br label %64 64: ; preds = %56, %62, %24 %65 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %1, ptr %65, align 8, !tbaa !19 ret void } declare i32 @b43_phy_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @b43_phy_mask(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @b43_phy_set(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @b43_current_band(i32 noundef) local_unnamed_addr #1 declare i32 @b43_phy_write(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, !12, i64 8} !7 = !{!"b43_wldev", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!15, !12, i64 0} !15 = !{!"b43_phy_ht", !12, i64 0, !8, i64 8} !16 = !{!7, !8, i64 0} !17 = !{!18, !18, i64 0} !18 = !{!"long", !9, i64 0} !19 = !{!15, !8, i64 8}
fastsocket_kernel_drivers_net_wireless_b43_extr_phy_ht.c_b43_phy_ht_tx_power_ctl
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_shader.c_shader_reg_maps_add_tgsm.c' source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_shader.c_shader_reg_maps_add_tgsm.c" target datalayout = "e-m:e-p270:32:32-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.wined3d_shader_reg_maps = type { ptr, i32, i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i64 } %struct.wined3d_shader_tgsm = type { i32, i32 } @MAX_TGSM_REGISTERS = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"Invalid TGSM register index %u.\0A\00", align 1 @S_OK = dso_local local_unnamed_addr global i32 0, align 4 @WINED3D_SHADER_TYPE_COMPUTE = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [56 x i8] c"TGSM declarations are allowed only in compute shaders.\0A\00", align 1 @E_OUTOFMEMORY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @shader_reg_maps_add_tgsm], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @shader_reg_maps_add_tgsm(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load i32, ptr @MAX_TGSM_REGISTERS, align 4, !tbaa !5 %6 = icmp ugt i32 %5, %1 br i1 %6, label %9, label %7 7: ; preds = %4 %8 = tail call i32 @ERR(ptr noundef nonnull @.str, i32 noundef %1) #2 br label %29 9: ; preds = %4 %10 = getelementptr inbounds %struct.wined3d_shader_reg_maps, ptr %0, i64 0, i32 3 %11 = load i64, ptr %10, align 8, !tbaa !9 %12 = load i64, ptr @WINED3D_SHADER_TYPE_COMPUTE, align 8, !tbaa !14 %13 = icmp eq i64 %11, %12 br i1 %13, label %16, label %14 14: ; preds = %9 %15 = tail call i32 @FIXME(ptr noundef nonnull @.str.1) #2 br label %29 16: ; preds = %9 %17 = getelementptr inbounds %struct.wined3d_shader_reg_maps, ptr %0, i64 0, i32 2 %18 = add nuw i32 %1, 1 %19 = tail call i32 @wined3d_array_reserve(ptr noundef nonnull %0, ptr noundef nonnull %17, i32 noundef %18, i32 noundef 8) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %29, label %21 21: ; preds = %16 %22 = getelementptr inbounds %struct.wined3d_shader_reg_maps, ptr %0, i64 0, i32 1 %23 = load i32, ptr %22, align 8, !tbaa !15 %24 = tail call i32 @max(i32 noundef %18, i32 noundef %23) #2 store i32 %24, ptr %22, align 8, !tbaa !15 %25 = load ptr, ptr %0, align 8, !tbaa !16 %26 = zext i32 %1 to i64 %27 = getelementptr inbounds %struct.wined3d_shader_tgsm, ptr %25, i64 %26 store i32 %2, ptr %27, align 4, !tbaa !17 %28 = getelementptr inbounds %struct.wined3d_shader_tgsm, ptr %25, i64 %26, i32 1 store i32 %3, ptr %28, align 4, !tbaa !19 br label %29 29: ; preds = %16, %21, %14, %7 %30 = phi ptr [ @S_OK, %7 ], [ @S_OK, %14 ], [ @S_OK, %21 ], [ @E_OUTOFMEMORY, %16 ] %31 = load i32, ptr %30, align 4, !tbaa !5 ret i32 %31 } declare i32 @ERR(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @FIXME(ptr noundef) local_unnamed_addr #1 declare i32 @wined3d_array_reserve(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @max(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, !13, i64 16} !10 = !{!"wined3d_shader_reg_maps", !11, i64 0, !6, i64 8, !6, i64 12, !12, i64 16} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"long", !7, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!10, !6, i64 8} !16 = !{!10, !11, i64 0} !17 = !{!18, !6, i64 0} !18 = !{!"wined3d_shader_tgsm", !6, i64 0, !6, i64 4} !19 = !{!18, !6, i64 4}
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_shader.c_shader_reg_maps_add_tgsm.c' source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_shader.c_shader_reg_maps_add_tgsm.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.wined3d_shader_tgsm = type { i32, i32 } @MAX_TGSM_REGISTERS = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"Invalid TGSM register index %u.\0A\00", align 1 @S_OK = common local_unnamed_addr global i32 0, align 4 @WINED3D_SHADER_TYPE_COMPUTE = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [56 x i8] c"TGSM declarations are allowed only in compute shaders.\0A\00", align 1 @E_OUTOFMEMORY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @shader_reg_maps_add_tgsm], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @shader_reg_maps_add_tgsm(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load i32, ptr @MAX_TGSM_REGISTERS, align 4, !tbaa !6 %6 = icmp ugt i32 %5, %1 br i1 %6, label %9, label %7 7: ; preds = %4 %8 = tail call i32 @ERR(ptr noundef nonnull @.str, i32 noundef %1) #2 br label %29 9: ; preds = %4 %10 = getelementptr inbounds i8, ptr %0, i64 16 %11 = load i64, ptr %10, align 8, !tbaa !10 %12 = load i64, ptr @WINED3D_SHADER_TYPE_COMPUTE, align 8, !tbaa !15 %13 = icmp eq i64 %11, %12 br i1 %13, label %16, label %14 14: ; preds = %9 %15 = tail call i32 @FIXME(ptr noundef nonnull @.str.1) #2 br label %29 16: ; preds = %9 %17 = getelementptr inbounds i8, ptr %0, i64 12 %18 = add nuw i32 %1, 1 %19 = tail call i32 @wined3d_array_reserve(ptr noundef nonnull %0, ptr noundef nonnull %17, i32 noundef %18, i32 noundef 8) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %29, label %21 21: ; preds = %16 %22 = getelementptr inbounds i8, ptr %0, i64 8 %23 = load i32, ptr %22, align 8, !tbaa !16 %24 = tail call i32 @max(i32 noundef %18, i32 noundef %23) #2 store i32 %24, ptr %22, align 8, !tbaa !16 %25 = load ptr, ptr %0, align 8, !tbaa !17 %26 = zext i32 %1 to i64 %27 = getelementptr inbounds %struct.wined3d_shader_tgsm, ptr %25, i64 %26 store i32 %2, ptr %27, align 4, !tbaa !18 %28 = getelementptr inbounds i8, ptr %27, i64 4 store i32 %3, ptr %28, align 4, !tbaa !20 br label %29 29: ; preds = %16, %21, %14, %7 %30 = phi ptr [ @S_OK, %7 ], [ @S_OK, %14 ], [ @S_OK, %21 ], [ @E_OUTOFMEMORY, %16 ] %31 = load i32, ptr %30, align 4, !tbaa !6 ret i32 %31 } declare i32 @ERR(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @FIXME(ptr noundef) local_unnamed_addr #1 declare i32 @wined3d_array_reserve(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @max(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, !14, i64 16} !11 = !{!"wined3d_shader_reg_maps", !12, i64 0, !7, i64 8, !7, i64 12, !13, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"TYPE_2__", !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!11, !7, i64 8} !17 = !{!11, !12, i64 0} !18 = !{!19, !7, i64 0} !19 = !{!"wined3d_shader_tgsm", !7, i64 0, !7, i64 4} !20 = !{!19, !7, i64 4}
reactos_dll_directx_wine_wined3d_extr_shader.c_shader_reg_maps_add_tgsm
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_rv770.c_rv770_init.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_rv770.c_rv770_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.radeon_device = type { i32, i32, i32, %struct.TYPE_5__, ptr, i32, i32, i32, i32, %struct.TYPE_4__, i32, i32 } %struct.TYPE_5__ = type { ptr } %struct.TYPE_4__ = type { i32 } %struct.TYPE_6__ = type { ptr } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"Expecting atombios for R600 GPU\0A\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"Card not posted and no BIOS - ignoring\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"GPU not posted. posting now...\0A\00", align 1 @RADEON_IS_AGP = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [26 x i8] c"Failed to load firmware!\0A\00", align 1 @RADEON_RING_TYPE_GFX_INDEX = dso_local local_unnamed_addr global i64 0, align 8 @R600_RING_TYPE_DMA_INDEX = dso_local local_unnamed_addr global i64 0, align 8 @.str.4 = private unnamed_addr constant [28 x i8] c"disabling GPU acceleration\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @rv770_init(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @radeon_get_bios(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %10 4: ; preds = %1 %5 = tail call i64 @ASIC_IS_AVIVO(ptr noundef %0) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %4 %8 = load i32, ptr @EINVAL, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 br label %114 10: ; preds = %4, %1 %11 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 11 %12 = load i32, ptr %11, align 8, !tbaa !9 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %20 14: ; preds = %10 %15 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 2 %16 = load i32, ptr %15, align 8, !tbaa !14 %17 = tail call i32 @dev_err(i32 noundef %16, ptr noundef nonnull @.str) #2 %18 = load i32, ptr @EINVAL, align 4, !tbaa !5 %19 = sub nsw i32 0, %18 br label %114 20: ; preds = %10 %21 = tail call i32 @radeon_atombios_init(ptr noundef nonnull %0) #2 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %114 23: ; preds = %20 %24 = tail call i32 @radeon_card_posted(ptr noundef nonnull %0) #2 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %41 26: ; preds = %23 %27 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 10 %28 = load i32, ptr %27, align 4, !tbaa !15 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %36 30: ; preds = %26 %31 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 2 %32 = load i32, ptr %31, align 8, !tbaa !14 %33 = tail call i32 @dev_err(i32 noundef %32, ptr noundef nonnull @.str.1) #2 %34 = load i32, ptr @EINVAL, align 4, !tbaa !5 %35 = sub nsw i32 0, %34 br label %114 36: ; preds = %26 %37 = tail call i32 @DRM_INFO(ptr noundef nonnull @.str.2) #2 %38 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 9 %39 = load i32, ptr %38, align 8, !tbaa !16 %40 = tail call i32 @atom_asic_init(i32 noundef %39) #2 br label %41 41: ; preds = %36, %23 %42 = tail call i32 @rv770_init_golden_registers(ptr noundef nonnull %0) #2 %43 = tail call i32 @r600_scratch_init(ptr noundef nonnull %0) #2 %44 = tail call i32 @radeon_surface_init(ptr noundef nonnull %0) #2 %45 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 8 %46 = load i32, ptr %45, align 4, !tbaa !17 %47 = tail call i32 @radeon_get_clock_info(i32 noundef %46) #2 %48 = tail call i32 @radeon_fence_driver_init(ptr noundef nonnull %0) #2 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %114 50: ; preds = %41 %51 = load i32, ptr %0, align 8, !tbaa !18 %52 = load i32, ptr @RADEON_IS_AGP, align 4, !tbaa !5 %53 = and i32 %52, %51 %54 = icmp eq i32 %53, 0 br i1 %54, label %60, label %55 55: ; preds = %50 %56 = tail call i32 @radeon_agp_init(ptr noundef nonnull %0) #2 %57 = icmp eq i32 %56, 0 br i1 %57, label %60, label %58 58: ; preds = %55 %59 = tail call i32 @radeon_agp_disable(ptr noundef nonnull %0) #2 br label %60 60: ; preds = %55, %58, %50 %61 = tail call i32 @rv770_mc_init(ptr noundef nonnull %0) #2 %62 = icmp eq i32 %61, 0 br i1 %62, label %63, label %114 63: ; preds = %60 %64 = tail call i32 @radeon_bo_init(ptr noundef nonnull %0) #2 %65 = icmp eq i32 %64, 0 br i1 %65, label %66, label %114 66: ; preds = %63 %67 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 7 %68 = load i32, ptr %67, align 8, !tbaa !19 %69 = icmp eq i32 %68, 0 br i1 %69, label %78, label %70 70: ; preds = %66 %71 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 6 %72 = load i32, ptr %71, align 4, !tbaa !20 %73 = icmp eq i32 %72, 0 br i1 %73, label %78, label %74 74: ; preds = %70 %75 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 5 %76 = load i32, ptr %75, align 8, !tbaa !21 %77 = icmp eq i32 %76, 0 br i1 %77, label %78, label %83 78: ; preds = %74, %70, %66 %79 = tail call i32 @r600_init_microcode(ptr noundef nonnull %0) #2 %80 = icmp eq i32 %79, 0 br i1 %80, label %83, label %81 81: ; preds = %78 %82 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.3) #2 br label %114 83: ; preds = %78, %74 %84 = tail call i32 @radeon_pm_init(ptr noundef nonnull %0) #2 %85 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 4 %86 = load ptr, ptr %85, align 8, !tbaa !22 %87 = load i64, ptr @RADEON_RING_TYPE_GFX_INDEX, align 8, !tbaa !23 %88 = getelementptr inbounds %struct.TYPE_6__, ptr %86, i64 %87 store ptr null, ptr %88, align 8, !tbaa !25 %89 = tail call i32 @r600_ring_init(ptr noundef nonnull %0, ptr noundef nonnull %88, i32 noundef 1048576) #2 %90 = load ptr, ptr %85, align 8, !tbaa !22 %91 = load i64, ptr @R600_RING_TYPE_DMA_INDEX, align 8, !tbaa !23 %92 = getelementptr inbounds %struct.TYPE_6__, ptr %90, i64 %91 store ptr null, ptr %92, align 8, !tbaa !25 %93 = tail call i32 @r600_ring_init(ptr noundef nonnull %0, ptr noundef nonnull %92, i32 noundef 65536) #2 %94 = tail call i32 @rv770_uvd_init(ptr noundef nonnull %0) #2 %95 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 3 store ptr null, ptr %95, align 8, !tbaa !27 %96 = tail call i32 @r600_ih_ring_init(ptr noundef nonnull %0, i32 noundef 65536) #2 %97 = tail call i32 @r600_pcie_gart_init(ptr noundef nonnull %0) #2 %98 = icmp eq i32 %97, 0 br i1 %98, label %99, label %114 99: ; preds = %83 %100 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 1 store i32 1, ptr %100, align 4, !tbaa !28 %101 = tail call i32 @rv770_startup(ptr noundef nonnull %0) #2 %102 = icmp eq i32 %101, 0 br i1 %102, label %114, label %103 103: ; preds = %99 %104 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 2 %105 = load i32, ptr %104, align 8, !tbaa !14 %106 = tail call i32 @dev_err(i32 noundef %105, ptr noundef nonnull @.str.4) #2 %107 = tail call i32 @r700_cp_fini(ptr noundef nonnull %0) #2 %108 = tail call i32 @r600_dma_fini(ptr noundef nonnull %0) #2 %109 = tail call i32 @r600_irq_fini(ptr noundef nonnull %0) #2 %110 = tail call i32 @radeon_wb_fini(ptr noundef nonnull %0) #2 %111 = tail call i32 @radeon_ib_pool_fini(ptr noundef nonnull %0) #2 %112 = tail call i32 @radeon_irq_kms_fini(ptr noundef nonnull %0) #2 %113 = tail call i32 @rv770_pcie_gart_fini(ptr noundef nonnull %0) #2 store i32 0, ptr %100, align 4, !tbaa !28 br label %114 114: ; preds = %99, %103, %83, %63, %60, %41, %20, %81, %30, %14, %7 %115 = phi i32 [ %79, %81 ], [ %35, %30 ], [ %19, %14 ], [ %9, %7 ], [ %21, %20 ], [ %48, %41 ], [ %61, %60 ], [ %64, %63 ], [ %97, %83 ], [ 0, %103 ], [ 0, %99 ] ret i32 %115 } declare i32 @radeon_get_bios(ptr noundef) local_unnamed_addr #1 declare i64 @ASIC_IS_AVIVO(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @radeon_atombios_init(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_card_posted(ptr noundef) local_unnamed_addr #1 declare i32 @DRM_INFO(ptr noundef) local_unnamed_addr #1 declare i32 @atom_asic_init(i32 noundef) local_unnamed_addr #1 declare i32 @rv770_init_golden_registers(ptr noundef) local_unnamed_addr #1 declare i32 @r600_scratch_init(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_surface_init(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_get_clock_info(i32 noundef) local_unnamed_addr #1 declare i32 @radeon_fence_driver_init(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_agp_init(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_agp_disable(ptr noundef) local_unnamed_addr #1 declare i32 @rv770_mc_init(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_bo_init(ptr noundef) local_unnamed_addr #1 declare i32 @r600_init_microcode(ptr noundef) local_unnamed_addr #1 declare i32 @DRM_ERROR(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_pm_init(ptr noundef) local_unnamed_addr #1 declare i32 @r600_ring_init(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rv770_uvd_init(ptr noundef) local_unnamed_addr #1 declare i32 @r600_ih_ring_init(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @r600_pcie_gart_init(ptr noundef) local_unnamed_addr #1 declare i32 @rv770_startup(ptr noundef) local_unnamed_addr #1 declare i32 @r700_cp_fini(ptr noundef) local_unnamed_addr #1 declare i32 @r600_dma_fini(ptr noundef) local_unnamed_addr #1 declare i32 @r600_irq_fini(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_wb_fini(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_ib_pool_fini(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_irq_kms_fini(ptr noundef) local_unnamed_addr #1 declare i32 @rv770_pcie_gart_fini(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 56} !10 = !{!"radeon_device", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 16, !12, i64 24, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !13, i64 48, !6, i64 52, !6, i64 56} !11 = !{!"TYPE_5__", !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!"TYPE_4__", !6, i64 0} !14 = !{!10, !6, i64 8} !15 = !{!10, !6, i64 52} !16 = !{!10, !6, i64 48} !17 = !{!10, !6, i64 44} !18 = !{!10, !6, i64 0} !19 = !{!10, !6, i64 40} !20 = !{!10, !6, i64 36} !21 = !{!10, !6, i64 32} !22 = !{!10, !12, i64 24} !23 = !{!24, !24, i64 0} !24 = !{!"long", !7, i64 0} !25 = !{!26, !12, i64 0} !26 = !{!"TYPE_6__", !12, i64 0} !27 = !{!10, !12, i64 16} !28 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_rv770.c_rv770_init.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_rv770.c_rv770_init.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 { ptr } @EINVAL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"Expecting atombios for R600 GPU\0A\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"Card not posted and no BIOS - ignoring\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"GPU not posted. posting now...\0A\00", align 1 @RADEON_IS_AGP = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [26 x i8] c"Failed to load firmware!\0A\00", align 1 @RADEON_RING_TYPE_GFX_INDEX = common local_unnamed_addr global i64 0, align 8 @R600_RING_TYPE_DMA_INDEX = common local_unnamed_addr global i64 0, align 8 @.str.4 = private unnamed_addr constant [28 x i8] c"disabling GPU acceleration\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @rv770_init(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @radeon_get_bios(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %10 4: ; preds = %1 %5 = tail call i64 @ASIC_IS_AVIVO(ptr noundef %0) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %4 %8 = load i32, ptr @EINVAL, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 br label %114 10: ; preds = %4, %1 %11 = getelementptr inbounds i8, ptr %0, i64 56 %12 = load i32, ptr %11, align 8, !tbaa !10 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %20 14: ; preds = %10 %15 = getelementptr inbounds i8, ptr %0, i64 8 %16 = load i32, ptr %15, align 8, !tbaa !15 %17 = tail call i32 @dev_err(i32 noundef %16, ptr noundef nonnull @.str) #2 %18 = load i32, ptr @EINVAL, align 4, !tbaa !6 %19 = sub nsw i32 0, %18 br label %114 20: ; preds = %10 %21 = tail call i32 @radeon_atombios_init(ptr noundef nonnull %0) #2 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %114 23: ; preds = %20 %24 = tail call i32 @radeon_card_posted(ptr noundef nonnull %0) #2 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %41 26: ; preds = %23 %27 = getelementptr inbounds i8, ptr %0, i64 52 %28 = load i32, ptr %27, align 4, !tbaa !16 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %36 30: ; preds = %26 %31 = getelementptr inbounds i8, ptr %0, i64 8 %32 = load i32, ptr %31, align 8, !tbaa !15 %33 = tail call i32 @dev_err(i32 noundef %32, ptr noundef nonnull @.str.1) #2 %34 = load i32, ptr @EINVAL, align 4, !tbaa !6 %35 = sub nsw i32 0, %34 br label %114 36: ; preds = %26 %37 = tail call i32 @DRM_INFO(ptr noundef nonnull @.str.2) #2 %38 = getelementptr inbounds i8, ptr %0, i64 48 %39 = load i32, ptr %38, align 8, !tbaa !17 %40 = tail call i32 @atom_asic_init(i32 noundef %39) #2 br label %41 41: ; preds = %36, %23 %42 = tail call i32 @rv770_init_golden_registers(ptr noundef nonnull %0) #2 %43 = tail call i32 @r600_scratch_init(ptr noundef nonnull %0) #2 %44 = tail call i32 @radeon_surface_init(ptr noundef nonnull %0) #2 %45 = getelementptr inbounds i8, ptr %0, i64 44 %46 = load i32, ptr %45, align 4, !tbaa !18 %47 = tail call i32 @radeon_get_clock_info(i32 noundef %46) #2 %48 = tail call i32 @radeon_fence_driver_init(ptr noundef nonnull %0) #2 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %114 50: ; preds = %41 %51 = load i32, ptr %0, align 8, !tbaa !19 %52 = load i32, ptr @RADEON_IS_AGP, align 4, !tbaa !6 %53 = and i32 %52, %51 %54 = icmp eq i32 %53, 0 br i1 %54, label %60, label %55 55: ; preds = %50 %56 = tail call i32 @radeon_agp_init(ptr noundef nonnull %0) #2 %57 = icmp eq i32 %56, 0 br i1 %57, label %60, label %58 58: ; preds = %55 %59 = tail call i32 @radeon_agp_disable(ptr noundef nonnull %0) #2 br label %60 60: ; preds = %55, %58, %50 %61 = tail call i32 @rv770_mc_init(ptr noundef nonnull %0) #2 %62 = icmp eq i32 %61, 0 br i1 %62, label %63, label %114 63: ; preds = %60 %64 = tail call i32 @radeon_bo_init(ptr noundef nonnull %0) #2 %65 = icmp eq i32 %64, 0 br i1 %65, label %66, label %114 66: ; preds = %63 %67 = getelementptr inbounds i8, ptr %0, i64 40 %68 = load i32, ptr %67, align 8, !tbaa !20 %69 = icmp eq i32 %68, 0 br i1 %69, label %78, label %70 70: ; preds = %66 %71 = getelementptr inbounds i8, ptr %0, i64 36 %72 = load i32, ptr %71, align 4, !tbaa !21 %73 = icmp eq i32 %72, 0 br i1 %73, label %78, label %74 74: ; preds = %70 %75 = getelementptr inbounds i8, ptr %0, i64 32 %76 = load i32, ptr %75, align 8, !tbaa !22 %77 = icmp eq i32 %76, 0 br i1 %77, label %78, label %83 78: ; preds = %74, %70, %66 %79 = tail call i32 @r600_init_microcode(ptr noundef nonnull %0) #2 %80 = icmp eq i32 %79, 0 br i1 %80, label %83, label %81 81: ; preds = %78 %82 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.3) #2 br label %114 83: ; preds = %78, %74 %84 = tail call i32 @radeon_pm_init(ptr noundef nonnull %0) #2 %85 = getelementptr inbounds i8, ptr %0, i64 24 %86 = load ptr, ptr %85, align 8, !tbaa !23 %87 = load i64, ptr @RADEON_RING_TYPE_GFX_INDEX, align 8, !tbaa !24 %88 = getelementptr inbounds %struct.TYPE_6__, ptr %86, i64 %87 store ptr null, ptr %88, align 8, !tbaa !26 %89 = tail call i32 @r600_ring_init(ptr noundef nonnull %0, ptr noundef nonnull %88, i32 noundef 1048576) #2 %90 = load ptr, ptr %85, align 8, !tbaa !23 %91 = load i64, ptr @R600_RING_TYPE_DMA_INDEX, align 8, !tbaa !24 %92 = getelementptr inbounds %struct.TYPE_6__, ptr %90, i64 %91 store ptr null, ptr %92, align 8, !tbaa !26 %93 = tail call i32 @r600_ring_init(ptr noundef nonnull %0, ptr noundef nonnull %92, i32 noundef 65536) #2 %94 = tail call i32 @rv770_uvd_init(ptr noundef nonnull %0) #2 %95 = getelementptr inbounds i8, ptr %0, i64 16 store ptr null, ptr %95, align 8, !tbaa !28 %96 = tail call i32 @r600_ih_ring_init(ptr noundef nonnull %0, i32 noundef 65536) #2 %97 = tail call i32 @r600_pcie_gart_init(ptr noundef nonnull %0) #2 %98 = icmp eq i32 %97, 0 br i1 %98, label %99, label %114 99: ; preds = %83 %100 = getelementptr inbounds i8, ptr %0, i64 4 store i32 1, ptr %100, align 4, !tbaa !29 %101 = tail call i32 @rv770_startup(ptr noundef nonnull %0) #2 %102 = icmp eq i32 %101, 0 br i1 %102, label %114, label %103 103: ; preds = %99 %104 = getelementptr inbounds i8, ptr %0, i64 8 %105 = load i32, ptr %104, align 8, !tbaa !15 %106 = tail call i32 @dev_err(i32 noundef %105, ptr noundef nonnull @.str.4) #2 %107 = tail call i32 @r700_cp_fini(ptr noundef nonnull %0) #2 %108 = tail call i32 @r600_dma_fini(ptr noundef nonnull %0) #2 %109 = tail call i32 @r600_irq_fini(ptr noundef nonnull %0) #2 %110 = tail call i32 @radeon_wb_fini(ptr noundef nonnull %0) #2 %111 = tail call i32 @radeon_ib_pool_fini(ptr noundef nonnull %0) #2 %112 = tail call i32 @radeon_irq_kms_fini(ptr noundef nonnull %0) #2 %113 = tail call i32 @rv770_pcie_gart_fini(ptr noundef nonnull %0) #2 store i32 0, ptr %100, align 4, !tbaa !29 br label %114 114: ; preds = %99, %103, %83, %63, %60, %41, %20, %81, %30, %14, %7 %115 = phi i32 [ %79, %81 ], [ %35, %30 ], [ %19, %14 ], [ %9, %7 ], [ %21, %20 ], [ %48, %41 ], [ %61, %60 ], [ %64, %63 ], [ %97, %83 ], [ 0, %103 ], [ 0, %99 ] ret i32 %115 } declare i32 @radeon_get_bios(ptr noundef) local_unnamed_addr #1 declare i64 @ASIC_IS_AVIVO(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @radeon_atombios_init(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_card_posted(ptr noundef) local_unnamed_addr #1 declare i32 @DRM_INFO(ptr noundef) local_unnamed_addr #1 declare i32 @atom_asic_init(i32 noundef) local_unnamed_addr #1 declare i32 @rv770_init_golden_registers(ptr noundef) local_unnamed_addr #1 declare i32 @r600_scratch_init(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_surface_init(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_get_clock_info(i32 noundef) local_unnamed_addr #1 declare i32 @radeon_fence_driver_init(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_agp_init(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_agp_disable(ptr noundef) local_unnamed_addr #1 declare i32 @rv770_mc_init(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_bo_init(ptr noundef) local_unnamed_addr #1 declare i32 @r600_init_microcode(ptr noundef) local_unnamed_addr #1 declare i32 @DRM_ERROR(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_pm_init(ptr noundef) local_unnamed_addr #1 declare i32 @r600_ring_init(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rv770_uvd_init(ptr noundef) local_unnamed_addr #1 declare i32 @r600_ih_ring_init(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @r600_pcie_gart_init(ptr noundef) local_unnamed_addr #1 declare i32 @rv770_startup(ptr noundef) local_unnamed_addr #1 declare i32 @r700_cp_fini(ptr noundef) local_unnamed_addr #1 declare i32 @r600_dma_fini(ptr noundef) local_unnamed_addr #1 declare i32 @r600_irq_fini(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_wb_fini(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_ib_pool_fini(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_irq_kms_fini(ptr noundef) local_unnamed_addr #1 declare i32 @rv770_pcie_gart_fini(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 56} !11 = !{!"radeon_device", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16, !13, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !14, i64 48, !7, i64 52, !7, i64 56} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!"TYPE_4__", !7, i64 0} !15 = !{!11, !7, i64 8} !16 = !{!11, !7, i64 52} !17 = !{!11, !7, i64 48} !18 = !{!11, !7, i64 44} !19 = !{!11, !7, i64 0} !20 = !{!11, !7, i64 40} !21 = !{!11, !7, i64 36} !22 = !{!11, !7, i64 32} !23 = !{!11, !13, i64 24} !24 = !{!25, !25, i64 0} !25 = !{!"long", !8, i64 0} !26 = !{!27, !13, i64 0} !27 = !{!"TYPE_6__", !13, i64 0} !28 = !{!11, !13, i64 16} !29 = !{!11, !7, i64 4}
linux_drivers_gpu_drm_radeon_extr_rv770.c_rv770_init
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_move_8_ai_pcix.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_move_8_ai_pcix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FLAG_N = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_Z = dso_local local_unnamed_addr global i32 0, align 4 @VFLAG_CLEAR = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_V = dso_local local_unnamed_addr global i32 0, align 4 @CFLAG_CLEAR = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_C = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @m68k_op_move_8_ai_pcix() local_unnamed_addr #0 { %1 = tail call i32 (...) @OPER_PCIX_8() #2 %2 = tail call i32 (...) @EA_AX_AI_8() #2 %3 = tail call i32 @m68ki_write_8(i32 noundef %2, i32 noundef %1) #2 %4 = tail call i32 @NFLAG_8(i32 noundef %1) #2 store i32 %4, ptr @FLAG_N, align 4, !tbaa !5 store i32 %1, ptr @FLAG_Z, align 4, !tbaa !5 %5 = load i32, ptr @VFLAG_CLEAR, align 4, !tbaa !5 store i32 %5, ptr @FLAG_V, align 4, !tbaa !5 %6 = load i32, ptr @CFLAG_CLEAR, align 4, !tbaa !5 store i32 %6, ptr @FLAG_C, align 4, !tbaa !5 ret void } declare i32 @OPER_PCIX_8(...) local_unnamed_addr #1 declare i32 @EA_AX_AI_8(...) local_unnamed_addr #1 declare i32 @m68ki_write_8(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @NFLAG_8(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/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_move_8_ai_pcix.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_move_8_ai_pcix.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FLAG_N = common local_unnamed_addr global i32 0, align 4 @FLAG_Z = common local_unnamed_addr global i32 0, align 4 @VFLAG_CLEAR = common local_unnamed_addr global i32 0, align 4 @FLAG_V = common local_unnamed_addr global i32 0, align 4 @CFLAG_CLEAR = common local_unnamed_addr global i32 0, align 4 @FLAG_C = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @m68k_op_move_8_ai_pcix() local_unnamed_addr #0 { %1 = tail call i32 @OPER_PCIX_8() #2 %2 = tail call i32 @EA_AX_AI_8() #2 %3 = tail call i32 @m68ki_write_8(i32 noundef %2, i32 noundef %1) #2 %4 = tail call i32 @NFLAG_8(i32 noundef %1) #2 store i32 %4, ptr @FLAG_N, align 4, !tbaa !6 store i32 %1, ptr @FLAG_Z, align 4, !tbaa !6 %5 = load i32, ptr @VFLAG_CLEAR, align 4, !tbaa !6 store i32 %5, ptr @FLAG_V, align 4, !tbaa !6 %6 = load i32, ptr @CFLAG_CLEAR, align 4, !tbaa !6 store i32 %6, ptr @FLAG_C, align 4, !tbaa !6 ret void } declare i32 @OPER_PCIX_8(...) local_unnamed_addr #1 declare i32 @EA_AX_AI_8(...) local_unnamed_addr #1 declare i32 @m68ki_write_8(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @NFLAG_8(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"}
Provenance_Cores_Yabause_yabause_src_musashi_extr_m68kopdm.c_m68k_op_move_8_ai_pcix
; ModuleID = 'AnghaBench/linux/lib/extr_objagg.c_objagg_obj_ref_dec.c' source_filename = "AnghaBench/linux/lib/extr_objagg.c_objagg_obj_ref_dec.c" target datalayout = "e-m:e-p270:32:32-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 @objagg_obj_ref_dec], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define internal i32 @objagg_obj_ref_dec(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = add i32 %2, -1 store i32 %3, ptr %0, align 4, !tbaa !5 ret i32 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"objagg_obj", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/lib/extr_objagg.c_objagg_obj_ref_dec.c' source_filename = "AnghaBench/linux/lib/extr_objagg.c_objagg_obj_ref_dec.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 @objagg_obj_ref_dec], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define internal i32 @objagg_obj_ref_dec(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = add i32 %2, -1 store i32 %3, ptr %0, align 4, !tbaa !6 ret i32 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"objagg_obj", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_lib_extr_objagg.c_objagg_obj_ref_dec
; ModuleID = 'AnghaBench/zfs/module/os/linux/zfs/extr_zfs_vfsops.c_zfs_umount.c' source_filename = "AnghaBench/zfs/module/os/linux/zfs/extr_zfs_vfsops.c_zfs_umount.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { ptr, ptr } @B_TRUE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @zfs_umount(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = icmp eq ptr %4, null br i1 %5, label %8, label %6 6: ; preds = %1 %7 = tail call i32 @arc_remove_prune_callback(ptr noundef nonnull %4) #2 br label %8 8: ; preds = %6, %1 %9 = load i32, ptr @B_TRUE, align 4, !tbaa !12 %10 = tail call i64 @zfsvfs_teardown(ptr noundef nonnull %2, i32 noundef %9) #2 %11 = icmp eq i64 %10, 0 %12 = zext i1 %11 to i32 %13 = tail call i32 @VERIFY(i32 noundef %12) #2 %14 = load ptr, ptr %2, align 8, !tbaa !14 %15 = tail call i32 @zpl_bdi_destroy(ptr noundef nonnull %0) #2 %16 = icmp eq ptr %14, null br i1 %16, label %23, label %17 17: ; preds = %8 %18 = tail call i32 @mutex_enter(ptr noundef nonnull %14) #2 %19 = tail call i32 @dmu_objset_set_user(ptr noundef nonnull %14, ptr noundef null) #2 %20 = tail call i32 @mutex_exit(ptr noundef nonnull %14) #2 %21 = load i32, ptr @B_TRUE, align 4, !tbaa !12 %22 = tail call i32 @dmu_objset_disown(ptr noundef nonnull %14, i32 noundef %21, ptr noundef nonnull %2) #2 br label %23 23: ; preds = %17, %8 %24 = tail call i32 @zfsvfs_free(ptr noundef nonnull %2) #2 ret i32 0 } declare i32 @arc_remove_prune_callback(ptr noundef) local_unnamed_addr #1 declare i32 @VERIFY(i32 noundef) local_unnamed_addr #1 declare i64 @zfsvfs_teardown(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zpl_bdi_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_enter(ptr noundef) local_unnamed_addr #1 declare i32 @dmu_objset_set_user(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_exit(ptr noundef) local_unnamed_addr #1 declare i32 @dmu_objset_disown(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zfsvfs_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"super_block", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"TYPE_8__", !7, i64 0, !7, i64 8} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!11, !7, i64 0}
; ModuleID = 'AnghaBench/zfs/module/os/linux/zfs/extr_zfs_vfsops.c_zfs_umount.c' source_filename = "AnghaBench/zfs/module/os/linux/zfs/extr_zfs_vfsops.c_zfs_umount.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @B_TRUE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @zfs_umount(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %2, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = icmp eq ptr %4, null br i1 %5, label %8, label %6 6: ; preds = %1 %7 = tail call i32 @arc_remove_prune_callback(ptr noundef nonnull %4) #2 br label %8 8: ; preds = %6, %1 %9 = load i32, ptr @B_TRUE, align 4, !tbaa !13 %10 = tail call i64 @zfsvfs_teardown(ptr noundef nonnull %2, i32 noundef %9) #2 %11 = icmp eq i64 %10, 0 %12 = zext i1 %11 to i32 %13 = tail call i32 @VERIFY(i32 noundef %12) #2 %14 = load ptr, ptr %2, align 8, !tbaa !15 %15 = tail call i32 @zpl_bdi_destroy(ptr noundef nonnull %0) #2 %16 = icmp eq ptr %14, null br i1 %16, label %23, label %17 17: ; preds = %8 %18 = tail call i32 @mutex_enter(ptr noundef nonnull %14) #2 %19 = tail call i32 @dmu_objset_set_user(ptr noundef nonnull %14, ptr noundef null) #2 %20 = tail call i32 @mutex_exit(ptr noundef nonnull %14) #2 %21 = load i32, ptr @B_TRUE, align 4, !tbaa !13 %22 = tail call i32 @dmu_objset_disown(ptr noundef nonnull %14, i32 noundef %21, ptr noundef nonnull %2) #2 br label %23 23: ; preds = %17, %8 %24 = tail call i32 @zfsvfs_free(ptr noundef nonnull %2) #2 ret i32 0 } declare i32 @arc_remove_prune_callback(ptr noundef) local_unnamed_addr #1 declare i32 @VERIFY(i32 noundef) local_unnamed_addr #1 declare i64 @zfsvfs_teardown(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zpl_bdi_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_enter(ptr noundef) local_unnamed_addr #1 declare i32 @dmu_objset_set_user(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_exit(ptr noundef) local_unnamed_addr #1 declare i32 @dmu_objset_disown(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zfsvfs_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"super_block", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 8} !12 = !{!"TYPE_8__", !8, i64 0, !8, i64 8} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!12, !8, i64 0}
zfs_module_os_linux_zfs_extr_zfs_vfsops.c_zfs_umount
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_gdth.c_gdth_put_cmndinfo.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_gdth.c_gdth_put_cmndinfo.c" target datalayout = "e-m:e-p270:32:32-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 @gdth_put_cmndinfo], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @gdth_put_cmndinfo(ptr noundef writeonly %0) #0 { %2 = icmp eq ptr %0, null %3 = zext i1 %2 to i32 %4 = tail call i32 @BUG_ON(i32 noundef %3) #2 store i64 0, ptr %0, align 8, !tbaa !5 ret void } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"gdth_cmndinfo", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_gdth.c_gdth_put_cmndinfo.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_gdth.c_gdth_put_cmndinfo.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 @gdth_put_cmndinfo], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @gdth_put_cmndinfo(ptr noundef writeonly %0) #0 { %2 = icmp eq ptr %0, null %3 = zext i1 %2 to i32 %4 = tail call i32 @BUG_ON(i32 noundef %3) #2 store i64 0, ptr %0, align 8, !tbaa !6 ret void } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"gdth_cmndinfo", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_scsi_extr_gdth.c_gdth_put_cmndinfo
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_pcic.c_outsw.c' source_filename = "AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_pcic.c_outsw.c" target datalayout = "e-m:e-p270:32:32-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 @outsw(i64 noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #0 { %4 = icmp eq i64 %2, 0 br i1 %4, label %13, label %5 5: ; preds = %3, %5 %6 = phi i64 [ %8, %5 ], [ %2, %3 ] %7 = phi ptr [ %11, %5 ], [ %1, %3 ] %8 = add i64 %6, -2 %9 = load i16, ptr %7, align 2, !tbaa !5 %10 = tail call i32 @outw(i16 noundef signext %9, i64 noundef %0) #2 %11 = getelementptr inbounds i8, ptr %7, i64 2 %12 = icmp eq i64 %8, 0 br i1 %12, label %13, label %5, !llvm.loop !9 13: ; preds = %5, %3 ret void } declare i32 @outw(i16 noundef signext, 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 = !{!"short", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_pcic.c_outsw.c' source_filename = "AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_pcic.c_outsw.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 @outsw(i64 noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #0 { %4 = icmp eq i64 %2, 0 br i1 %4, label %13, label %5 5: ; preds = %3, %5 %6 = phi i64 [ %8, %5 ], [ %2, %3 ] %7 = phi ptr [ %11, %5 ], [ %1, %3 ] %8 = add i64 %6, -2 %9 = load i16, ptr %7, align 2, !tbaa !6 %10 = tail call i32 @outw(i16 noundef signext %9, i64 noundef %0) #2 %11 = getelementptr inbounds i8, ptr %7, i64 2 %12 = icmp eq i64 %8, 0 br i1 %12, label %13, label %5, !llvm.loop !10 13: ; preds = %5, %3 ret void } declare i32 @outw(i16 noundef signext, 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 = !{!"short", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_arch_sparc_kernel_extr_pcic.c_outsw
; ModuleID = 'AnghaBench/sqlcipher/ext/fts3/extr_fts3_porter.c_sqlite3Fts3PorterTokenizerModule.c' source_filename = "AnghaBench/sqlcipher/ext/fts3/extr_fts3_porter.c_sqlite3Fts3PorterTokenizerModule.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @porterTokenizerModule = dso_local global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define dso_local void @sqlite3Fts3PorterTokenizerModule(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 { store ptr @porterTokenizerModule, ptr %0, align 8, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/sqlcipher/ext/fts3/extr_fts3_porter.c_sqlite3Fts3PorterTokenizerModule.c' source_filename = "AnghaBench/sqlcipher/ext/fts3/extr_fts3_porter.c_sqlite3Fts3PorterTokenizerModule.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @porterTokenizerModule = common global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define void @sqlite3Fts3PorterTokenizerModule(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 { store ptr @porterTokenizerModule, ptr %0, align 8, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+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"}
sqlcipher_ext_fts3_extr_fts3_porter.c_sqlite3Fts3PorterTokenizerModule
; ModuleID = 'AnghaBench/linux/drivers/crypto/caam/extr_caamrng.c_caam_init_rng.c' source_filename = "AnghaBench/linux/drivers/crypto/caam/extr_caamrng.c_caam_init_rng.c" target datalayout = "e-m:e-p270:32:32-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.caam_rng_ctx = type { i64, i64, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @caam_init_rng], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @caam_init_rng(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.caam_rng_ctx, ptr %0, i64 0, i32 2 store ptr %1, ptr %3, align 8, !tbaa !5 %4 = tail call i32 @rng_create_sh_desc(ptr noundef %0) #3 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %11 6: ; preds = %2 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false) %7 = tail call i32 @caam_init_buf(ptr noundef nonnull %0, i32 noundef 0) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %6 %10 = tail call i32 @caam_init_buf(ptr noundef nonnull %0, i32 noundef 1) #3 br label %11 11: ; preds = %6, %2, %9 %12 = phi i32 [ %10, %9 ], [ %4, %2 ], [ %7, %6 ] ret i32 %12 } declare i32 @rng_create_sh_desc(ptr noundef) local_unnamed_addr #1 declare i32 @caam_init_buf(ptr 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, !10, i64 16} !6 = !{!"caam_rng_ctx", !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}
; ModuleID = 'AnghaBench/linux/drivers/crypto/caam/extr_caamrng.c_caam_init_rng.c' source_filename = "AnghaBench/linux/drivers/crypto/caam/extr_caamrng.c_caam_init_rng.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 @caam_init_rng], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @caam_init_rng(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %1, ptr %3, align 8, !tbaa !6 %4 = tail call i32 @rng_create_sh_desc(ptr noundef %0) #3 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %11 6: ; preds = %2 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false) %7 = tail call i32 @caam_init_buf(ptr noundef nonnull %0, i32 noundef 0) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %6 %10 = tail call i32 @caam_init_buf(ptr noundef nonnull %0, i32 noundef 1) #3 br label %11 11: ; preds = %6, %2, %9 %12 = phi i32 [ %10, %9 ], [ %4, %2 ], [ %7, %6 ] ret i32 %12 } declare i32 @rng_create_sh_desc(ptr noundef) local_unnamed_addr #1 declare i32 @caam_init_buf(ptr 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, !11, i64 16} !7 = !{!"caam_rng_ctx", !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}
linux_drivers_crypto_caam_extr_caamrng.c_caam_init_rng
; ModuleID = 'AnghaBench/freebsd/sys/compat/linux/extr_linux_stats.c_linux_fstatfs.c' source_filename = "AnghaBench/freebsd/sys/compat/linux/extr_linux_stats.c_linux_fstatfs.c" target datalayout = "e-m:e-p270:32:32-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.l_statfs = type { i32 } %struct.linux_fstatfs_args = type { i32, i32 } @M_STATFS = dso_local local_unnamed_addr global i32 0, align 4 @M_WAITOK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @linux_fstatfs(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = alloca %struct.l_statfs, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = load i32, ptr @M_STATFS, align 4, !tbaa !5 %5 = load i32, ptr @M_WAITOK, align 4, !tbaa !5 %6 = tail call ptr @malloc(i32 noundef 4, i32 noundef %4, i32 noundef %5) #3 %7 = getelementptr inbounds %struct.linux_fstatfs_args, ptr %1, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !9 %9 = tail call i32 @kern_fstatfs(ptr noundef %0, i32 noundef %8, ptr noundef %6) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load i32, ptr @M_STATFS, align 4, !tbaa !5 %13 = tail call i32 @free(ptr noundef %6, i32 noundef %12) #3 br label %22 14: ; preds = %2 %15 = call i32 @bsd_to_linux_statfs(ptr noundef %6, ptr noundef nonnull %3) #3 %16 = load i32, ptr @M_STATFS, align 4, !tbaa !5 %17 = call i32 @free(ptr noundef %6, i32 noundef %16) #3 %18 = icmp eq i32 %15, 0 br i1 %18, label %19, label %22 19: ; preds = %14 %20 = load i32, ptr %1, align 4, !tbaa !11 %21 = call i32 @copyout(ptr noundef nonnull %3, i32 noundef %20, i32 noundef 4) #3 br label %22 22: ; preds = %11, %14, %19 %23 = phi i32 [ %21, %19 ], [ %15, %14 ], [ %9, %11 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %23 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kern_fstatfs(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @bsd_to_linux_statfs(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @copyout(ptr 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 4} !10 = !{!"linux_fstatfs_args", !6, i64 0, !6, i64 4} !11 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/compat/linux/extr_linux_stats.c_linux_fstatfs.c' source_filename = "AnghaBench/freebsd/sys/compat/linux/extr_linux_stats.c_linux_fstatfs.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.l_statfs = type { i32 } @M_STATFS = common local_unnamed_addr global i32 0, align 4 @M_WAITOK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @linux_fstatfs(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = alloca %struct.l_statfs, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = load i32, ptr @M_STATFS, align 4, !tbaa !6 %5 = load i32, ptr @M_WAITOK, align 4, !tbaa !6 %6 = tail call ptr @malloc(i32 noundef 4, i32 noundef %4, i32 noundef %5) #3 %7 = getelementptr inbounds i8, ptr %1, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = tail call i32 @kern_fstatfs(ptr noundef %0, i32 noundef %8, ptr noundef %6) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load i32, ptr @M_STATFS, align 4, !tbaa !6 %13 = tail call i32 @free(ptr noundef %6, i32 noundef %12) #3 br label %22 14: ; preds = %2 %15 = call i32 @bsd_to_linux_statfs(ptr noundef %6, ptr noundef nonnull %3) #3 %16 = load i32, ptr @M_STATFS, align 4, !tbaa !6 %17 = call i32 @free(ptr noundef %6, i32 noundef %16) #3 %18 = icmp eq i32 %15, 0 br i1 %18, label %19, label %22 19: ; preds = %14 %20 = load i32, ptr %1, align 4, !tbaa !12 %21 = call i32 @copyout(ptr noundef nonnull %3, i32 noundef %20, i32 noundef 4) #3 br label %22 22: ; preds = %11, %14, %19 %23 = phi i32 [ %21, %19 ], [ %15, %14 ], [ %9, %11 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %23 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kern_fstatfs(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @bsd_to_linux_statfs(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @copyout(ptr 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 4} !11 = !{!"linux_fstatfs_args", !7, i64 0, !7, i64 4} !12 = !{!11, !7, i64 0}
freebsd_sys_compat_linux_extr_linux_stats.c_linux_fstatfs
; ModuleID = 'AnghaBench/sqlcipher/ext/fts2/extr_fts2_hash.c_hashFunction.c' source_filename = "AnghaBench/sqlcipher/ext/fts2/extr_fts2_hash.c_hashFunction.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FTS2_HASH_STRING = dso_local local_unnamed_addr global i32 0, align 4 @FTS2_HASH_BINARY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hashFunction], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef nonnull ptr @hashFunction(i32 noundef %0) #0 { %2 = load i32, ptr @FTS2_HASH_STRING, align 4, !tbaa !5 %3 = icmp eq i32 %2, %0 br i1 %3, label %9, label %4 4: ; preds = %1 %5 = load i32, ptr @FTS2_HASH_BINARY, align 4, !tbaa !5 %6 = icmp eq i32 %5, %0 %7 = zext i1 %6 to i32 %8 = tail call i32 @assert(i32 noundef %7) #2 br label %9 9: ; preds = %1, %4 %10 = phi ptr [ @binHash, %4 ], [ @strHash, %1 ] ret ptr %10 } declare i32 @strHash(ptr noundef, i32 noundef) #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @binHash(ptr noundef, i32 noundef) #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/sqlcipher/ext/fts2/extr_fts2_hash.c_hashFunction.c' source_filename = "AnghaBench/sqlcipher/ext/fts2/extr_fts2_hash.c_hashFunction.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FTS2_HASH_STRING = common local_unnamed_addr global i32 0, align 4 @FTS2_HASH_BINARY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hashFunction], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef nonnull ptr @hashFunction(i32 noundef %0) #0 { %2 = load i32, ptr @FTS2_HASH_STRING, align 4, !tbaa !6 %3 = icmp eq i32 %2, %0 br i1 %3, label %9, label %4 4: ; preds = %1 %5 = load i32, ptr @FTS2_HASH_BINARY, align 4, !tbaa !6 %6 = icmp eq i32 %5, %0 %7 = zext i1 %6 to i32 %8 = tail call i32 @assert(i32 noundef %7) #2 br label %9 9: ; preds = %1, %4 %10 = phi ptr [ @binHash, %4 ], [ @strHash, %1 ] ret ptr %10 } declare i32 @strHash(ptr noundef, i32 noundef) #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @binHash(ptr noundef, i32 noundef) #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"}
sqlcipher_ext_fts2_extr_fts2_hash.c_hashFunction
; ModuleID = 'AnghaBench/twemproxy/src/extr_nc_conf.c_conf_pool_deinit.c' source_filename = "AnghaBench/twemproxy/src/extr_nc_conf.c_conf_pool_deinit.c" target datalayout = "e-m:e-p270:32:32-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.conf_pool = type { i32, %struct.TYPE_4__, %struct.TYPE_3__, %struct.TYPE_4__ } %struct.TYPE_3__ = type { %struct.TYPE_4__, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i64 } @LOG_VVERB = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"deinit conf pool %p\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @conf_pool_deinit], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @conf_pool_deinit(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.conf_pool, ptr %0, i64 0, i32 3 %3 = tail call i32 @string_deinit(ptr noundef nonnull %2) #2 %4 = getelementptr inbounds %struct.conf_pool, ptr %0, i64 0, i32 2 %5 = getelementptr inbounds %struct.conf_pool, ptr %0, i64 0, i32 2, i32 1 %6 = tail call i32 @string_deinit(ptr noundef nonnull %5) #2 %7 = tail call i32 @string_deinit(ptr noundef nonnull %4) #2 %8 = getelementptr inbounds %struct.conf_pool, ptr %0, i64 0, i32 1 %9 = load i64, ptr %8, align 8, !tbaa !5 %10 = icmp sgt i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %1 %12 = tail call i32 @string_deinit(ptr noundef nonnull %8) #2 br label %13 13: ; preds = %11, %1 %14 = tail call i64 @array_n(ptr noundef nonnull %0) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %21, label %16 16: ; preds = %13, %16 %17 = tail call i32 @array_pop(ptr noundef %0) #2 %18 = tail call i32 @conf_server_deinit(i32 noundef %17) #2 %19 = tail call i64 @array_n(ptr noundef %0) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %16, !llvm.loop !13 21: ; preds = %16, %13 %22 = tail call i32 @array_deinit(ptr noundef %0) #2 %23 = load i32, ptr @LOG_VVERB, align 4, !tbaa !15 %24 = tail call i32 @log_debug(i32 noundef %23, ptr noundef nonnull @.str, ptr noundef %0) #2 ret void } declare i32 @string_deinit(ptr noundef) local_unnamed_addr #1 declare i64 @array_n(ptr noundef) local_unnamed_addr #1 declare i32 @conf_server_deinit(i32 noundef) local_unnamed_addr #1 declare i32 @array_pop(ptr noundef) local_unnamed_addr #1 declare i32 @array_deinit(ptr noundef) local_unnamed_addr #1 declare i32 @log_debug(i32 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, !11, i64 8} !6 = !{!"conf_pool", !7, i64 0, !10, i64 8, !12, i64 16, !10, i64 32} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_4__", !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!"TYPE_3__", !10, i64 0, !10, i64 8} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/twemproxy/src/extr_nc_conf.c_conf_pool_deinit.c' source_filename = "AnghaBench/twemproxy/src/extr_nc_conf.c_conf_pool_deinit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LOG_VVERB = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"deinit conf pool %p\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @conf_pool_deinit], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @conf_pool_deinit(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 32 %3 = tail call i32 @string_deinit(ptr noundef nonnull %2) #2 %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = getelementptr inbounds i8, ptr %0, i64 24 %6 = tail call i32 @string_deinit(ptr noundef nonnull %5) #2 %7 = tail call i32 @string_deinit(ptr noundef nonnull %4) #2 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load i64, ptr %8, align 8, !tbaa !6 %10 = icmp sgt i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %1 %12 = tail call i32 @string_deinit(ptr noundef nonnull %8) #2 br label %13 13: ; preds = %11, %1 %14 = tail call i64 @array_n(ptr noundef nonnull %0) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %21, label %16 16: ; preds = %13, %16 %17 = tail call i32 @array_pop(ptr noundef %0) #2 %18 = tail call i32 @conf_server_deinit(i32 noundef %17) #2 %19 = tail call i64 @array_n(ptr noundef %0) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %16, !llvm.loop !14 21: ; preds = %16, %13 %22 = tail call i32 @array_deinit(ptr noundef %0) #2 %23 = load i32, ptr @LOG_VVERB, align 4, !tbaa !16 %24 = tail call i32 @log_debug(i32 noundef %23, ptr noundef nonnull @.str, ptr noundef %0) #2 ret void } declare i32 @string_deinit(ptr noundef) local_unnamed_addr #1 declare i64 @array_n(ptr noundef) local_unnamed_addr #1 declare i32 @conf_server_deinit(i32 noundef) local_unnamed_addr #1 declare i32 @array_pop(ptr noundef) local_unnamed_addr #1 declare i32 @array_deinit(ptr noundef) local_unnamed_addr #1 declare i32 @log_debug(i32 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, !12, i64 8} !7 = !{!"conf_pool", !8, i64 0, !11, i64 8, !13, i64 16, !11, i64 32} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!"TYPE_3__", !11, i64 0, !11, i64 8} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!8, !8, i64 0}
twemproxy_src_extr_nc_conf.c_conf_pool_deinit
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/jfs/extr_jfs_dtree.c_dtInitRoot.c' source_filename = "AnghaBench/fastsocket/kernel/fs/jfs/extr_jfs_dtree.c_dtInitRoot.c" target datalayout = "e-m:e-p270:32:32-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.jfs_inode_info = type { i32, %struct.TYPE_4__, i32 } %struct.TYPE_4__ = type { %struct.TYPE_3__, ptr } %struct.TYPE_3__ = type { i32, i32, i32, i32, i64 } %struct.dt_lock = type { i64, ptr } %struct.lv = type { i32, i64 } %struct.dtslot = type { i32 } @COMMIT_PWMAP = dso_local local_unnamed_addr global i32 0, align 4 @COMMIT_Stale = dso_local local_unnamed_addr global i32 0, align 4 @IDATASIZE = dso_local local_unnamed_addr global i32 0, align 4 @tlckDTREE = dso_local local_unnamed_addr global i32 0, align 4 @tlckENTRY = dso_local local_unnamed_addr global i32 0, align 4 @tlckBTROOT = dso_local local_unnamed_addr global i32 0, align 4 @DTROOTMAXSLOT = dso_local local_unnamed_addr global i32 0, align 4 @DXD_INDEX = dso_local local_unnamed_addr global i32 0, align 4 @BT_ROOT = dso_local local_unnamed_addr global i32 0, align 4 @BT_LEAF = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @dtInitRoot(i32 noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @JFS_IP(ptr noundef %1) #2 %5 = tail call i64 @DO_INDEX(ptr noundef %1) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %19, label %7 7: ; preds = %3 %8 = tail call i32 @jfs_dirtable_inline(ptr noundef %1) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %17 10: ; preds = %7 %11 = tail call ptr @tid_to_tblock(i32 noundef %0) #2 %12 = load i64, ptr %11, align 8, !tbaa !5 store i64 0, ptr %11, align 8, !tbaa !5 %13 = load i32, ptr @COMMIT_PWMAP, align 4, !tbaa !10 %14 = tail call i32 @xtTruncate(i32 noundef %0, ptr noundef %1, i32 noundef 0, i32 noundef %13) #2 %15 = load i32, ptr @COMMIT_Stale, align 4, !tbaa !10 %16 = tail call i32 @set_cflag(i32 noundef %15, ptr noundef %1) #2 store i64 %12, ptr %11, align 8, !tbaa !5 br label %18 17: ; preds = %7 store i32 1, ptr %1, align 4, !tbaa !12 br label %18 18: ; preds = %17, %10 store i32 2, ptr %4, align 8, !tbaa !14 br label %21 19: ; preds = %3 %20 = load i32, ptr @IDATASIZE, align 4, !tbaa !10 store i32 %20, ptr %1, align 4, !tbaa !12 br label %21 21: ; preds = %19, %18 %22 = getelementptr inbounds %struct.jfs_inode_info, ptr %4, i64 0, i32 2 %23 = load i32, ptr @tlckDTREE, align 4, !tbaa !10 %24 = load i32, ptr @tlckENTRY, align 4, !tbaa !10 %25 = or i32 %24, %23 %26 = load i32, ptr @tlckBTROOT, align 4, !tbaa !10 %27 = or i32 %25, %26 %28 = tail call ptr @txLock(i32 noundef %0, ptr noundef %1, ptr noundef nonnull %22, i32 noundef %27) #2 %29 = load i64, ptr %28, align 8, !tbaa !19 %30 = icmp eq i64 %29, 0 %31 = zext i1 %30 to i32 %32 = tail call i32 @ASSERT(i32 noundef %31) #2 %33 = getelementptr inbounds %struct.dt_lock, ptr %28, i64 0, i32 1 %34 = load ptr, ptr %33, align 8, !tbaa !21 %35 = getelementptr inbounds %struct.lv, ptr %34, i64 0, i32 1 store i64 0, ptr %35, align 8, !tbaa !22 %36 = load i32, ptr @DTROOTMAXSLOT, align 4, !tbaa !10 store i32 %36, ptr %34, align 8, !tbaa !24 %37 = load i64, ptr %28, align 8, !tbaa !19 %38 = add nsw i64 %37, 1 store i64 %38, ptr %28, align 8, !tbaa !19 %39 = getelementptr inbounds %struct.jfs_inode_info, ptr %4, i64 0, i32 1 %40 = load i32, ptr @DXD_INDEX, align 4, !tbaa !10 %41 = load i32, ptr @BT_ROOT, align 4, !tbaa !10 %42 = or i32 %41, %40 %43 = load i32, ptr @BT_LEAF, align 4, !tbaa !10 %44 = or i32 %42, %43 store i32 %44, ptr %39, align 8, !tbaa !25 %45 = getelementptr inbounds %struct.jfs_inode_info, ptr %4, i64 0, i32 1, i32 0, i32 4 store i64 0, ptr %45, align 8, !tbaa !26 %46 = getelementptr inbounds %struct.jfs_inode_info, ptr %4, i64 0, i32 1, i32 1 %47 = load ptr, ptr %46, align 8, !tbaa !27 %48 = getelementptr inbounds %struct.dtslot, ptr %47, i64 1 %49 = icmp sgt i32 %36, 2 br i1 %49, label %50, label %81 50: ; preds = %21 %51 = add nsw i32 %36, -2 %52 = zext i32 %51 to i64 %53 = icmp ult i32 %51, 8 br i1 %53, label %72, label %54 54: ; preds = %50 %55 = and i64 %52, 4294967288 %56 = shl nuw nsw i64 %55, 2 %57 = getelementptr i8, ptr %48, i64 %56 %58 = trunc i64 %55 to i32 %59 = or disjoint i32 %58, 2 br label %60 60: ; preds = %60, %54 %61 = phi i64 [ 0, %54 ], [ %67, %60 ] %62 = phi <4 x i32> [ <i32 2, i32 3, i32 4, i32 5>, %54 ], [ %68, %60 ] %63 = shl i64 %61, 2 %64 = getelementptr i8, ptr %48, i64 %63 %65 = add <4 x i32> %62, <i32 4, i32 4, i32 4, i32 4> %66 = getelementptr i32, ptr %64, i64 4 store <4 x i32> %62, ptr %64, align 4, !tbaa !28 store <4 x i32> %65, ptr %66, align 4, !tbaa !28 %67 = add nuw i64 %61, 8 %68 = add <4 x i32> %62, <i32 8, i32 8, i32 8, i32 8> %69 = icmp eq i64 %67, %55 br i1 %69, label %70, label %60, !llvm.loop !30 70: ; preds = %60 %71 = icmp eq i64 %55, %52 br i1 %71, label %81, label %72 72: ; preds = %50, %70 %73 = phi ptr [ %48, %50 ], [ %57, %70 ] %74 = phi i32 [ 2, %50 ], [ %59, %70 ] br label %75 75: ; preds = %72, %75 %76 = phi ptr [ %79, %75 ], [ %73, %72 ] %77 = phi i32 [ %78, %75 ], [ %74, %72 ] store i32 %77, ptr %76, align 4, !tbaa !28 %78 = add nuw nsw i32 %77, 1 %79 = getelementptr inbounds %struct.dtslot, ptr %76, i64 1 %80 = icmp eq i32 %78, %36 br i1 %80, label %81, label %75, !llvm.loop !34 81: ; preds = %75, %70, %21 %82 = phi ptr [ %48, %21 ], [ %57, %70 ], [ %79, %75 ] store i32 -1, ptr %82, align 4, !tbaa !28 %83 = getelementptr inbounds %struct.jfs_inode_info, ptr %4, i64 0, i32 1, i32 0, i32 1 store i32 1, ptr %83, align 4, !tbaa !35 %84 = getelementptr inbounds %struct.jfs_inode_info, ptr %4, i64 0, i32 1, i32 0, i32 2 store i32 8, ptr %84, align 8, !tbaa !36 %85 = tail call i32 @cpu_to_le32(i32 noundef %2) #2 %86 = getelementptr inbounds %struct.jfs_inode_info, ptr %4, i64 0, i32 1, i32 0, i32 3 store i32 %85, ptr %86, align 4, !tbaa !37 ret void } declare ptr @JFS_IP(ptr noundef) local_unnamed_addr #1 declare i64 @DO_INDEX(ptr noundef) local_unnamed_addr #1 declare i32 @jfs_dirtable_inline(ptr noundef) local_unnamed_addr #1 declare ptr @tid_to_tblock(i32 noundef) local_unnamed_addr #1 declare i32 @xtTruncate(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_cflag(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @txLock(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @cpu_to_le32(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 = !{!"tblock", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"inode", !11, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"jfs_inode_info", !11, i64 0, !16, i64 8, !11, i64 40} !16 = !{!"TYPE_4__", !17, i64 0, !18, i64 24} !17 = !{!"TYPE_3__", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !7, i64 16} !18 = !{!"any pointer", !8, i64 0} !19 = !{!20, !7, i64 0} !20 = !{!"dt_lock", !7, i64 0, !18, i64 8} !21 = !{!20, !18, i64 8} !22 = !{!23, !7, i64 8} !23 = !{!"lv", !11, i64 0, !7, i64 8} !24 = !{!23, !11, i64 0} !25 = !{!16, !11, i64 0} !26 = !{!16, !7, i64 16} !27 = !{!16, !18, i64 24} !28 = !{!29, !11, i64 0} !29 = !{!"dtslot", !11, i64 0} !30 = distinct !{!30, !31, !32, !33} !31 = !{!"llvm.loop.mustprogress"} !32 = !{!"llvm.loop.isvectorized", i32 1} !33 = !{!"llvm.loop.unroll.runtime.disable"} !34 = distinct !{!34, !31, !33, !32} !35 = !{!16, !11, i64 4} !36 = !{!16, !11, i64 8} !37 = !{!16, !11, i64 12}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/jfs/extr_jfs_dtree.c_dtInitRoot.c' source_filename = "AnghaBench/fastsocket/kernel/fs/jfs/extr_jfs_dtree.c_dtInitRoot.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @COMMIT_PWMAP = common local_unnamed_addr global i32 0, align 4 @COMMIT_Stale = common local_unnamed_addr global i32 0, align 4 @IDATASIZE = common local_unnamed_addr global i32 0, align 4 @tlckDTREE = common local_unnamed_addr global i32 0, align 4 @tlckENTRY = common local_unnamed_addr global i32 0, align 4 @tlckBTROOT = common local_unnamed_addr global i32 0, align 4 @DTROOTMAXSLOT = common local_unnamed_addr global i32 0, align 4 @DXD_INDEX = common local_unnamed_addr global i32 0, align 4 @BT_ROOT = common local_unnamed_addr global i32 0, align 4 @BT_LEAF = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @dtInitRoot(i32 noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @JFS_IP(ptr noundef %1) #2 %5 = tail call i64 @DO_INDEX(ptr noundef %1) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %19, label %7 7: ; preds = %3 %8 = tail call i32 @jfs_dirtable_inline(ptr noundef %1) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %17 10: ; preds = %7 %11 = tail call ptr @tid_to_tblock(i32 noundef %0) #2 %12 = load i64, ptr %11, align 8, !tbaa !6 store i64 0, ptr %11, align 8, !tbaa !6 %13 = load i32, ptr @COMMIT_PWMAP, align 4, !tbaa !11 %14 = tail call i32 @xtTruncate(i32 noundef %0, ptr noundef %1, i32 noundef 0, i32 noundef %13) #2 %15 = load i32, ptr @COMMIT_Stale, align 4, !tbaa !11 %16 = tail call i32 @set_cflag(i32 noundef %15, ptr noundef %1) #2 store i64 %12, ptr %11, align 8, !tbaa !6 br label %18 17: ; preds = %7 store i32 1, ptr %1, align 4, !tbaa !13 br label %18 18: ; preds = %17, %10 store i32 2, ptr %4, align 8, !tbaa !15 br label %21 19: ; preds = %3 %20 = load i32, ptr @IDATASIZE, align 4, !tbaa !11 store i32 %20, ptr %1, align 4, !tbaa !13 br label %21 21: ; preds = %19, %18 %22 = getelementptr inbounds i8, ptr %4, i64 40 %23 = load i32, ptr @tlckDTREE, align 4, !tbaa !11 %24 = load i32, ptr @tlckENTRY, align 4, !tbaa !11 %25 = or i32 %24, %23 %26 = load i32, ptr @tlckBTROOT, align 4, !tbaa !11 %27 = or i32 %25, %26 %28 = tail call ptr @txLock(i32 noundef %0, ptr noundef %1, ptr noundef nonnull %22, i32 noundef %27) #2 %29 = load i64, ptr %28, align 8, !tbaa !20 %30 = icmp eq i64 %29, 0 %31 = zext i1 %30 to i32 %32 = tail call i32 @ASSERT(i32 noundef %31) #2 %33 = getelementptr inbounds i8, ptr %28, i64 8 %34 = load ptr, ptr %33, align 8, !tbaa !22 %35 = getelementptr inbounds i8, ptr %34, i64 8 store i64 0, ptr %35, align 8, !tbaa !23 %36 = load i32, ptr @DTROOTMAXSLOT, align 4, !tbaa !11 store i32 %36, ptr %34, align 8, !tbaa !25 %37 = load i64, ptr %28, align 8, !tbaa !20 %38 = add nsw i64 %37, 1 store i64 %38, ptr %28, align 8, !tbaa !20 %39 = getelementptr inbounds i8, ptr %4, i64 8 %40 = load i32, ptr @DXD_INDEX, align 4, !tbaa !11 %41 = load i32, ptr @BT_ROOT, align 4, !tbaa !11 %42 = or i32 %41, %40 %43 = load i32, ptr @BT_LEAF, align 4, !tbaa !11 %44 = or i32 %42, %43 store i32 %44, ptr %39, align 8, !tbaa !26 %45 = getelementptr inbounds i8, ptr %4, i64 24 store i64 0, ptr %45, align 8, !tbaa !27 %46 = getelementptr inbounds i8, ptr %4, i64 32 %47 = load ptr, ptr %46, align 8, !tbaa !28 %48 = getelementptr inbounds i8, ptr %47, i64 4 %49 = icmp sgt i32 %36, 2 br i1 %49, label %50, label %85 50: ; preds = %21 %51 = add nsw i32 %36, -2 %52 = zext i32 %51 to i64 %53 = icmp ult i32 %51, 16 br i1 %53, label %76, label %54 54: ; preds = %50 %55 = and i64 %52, 4294967280 %56 = shl nuw nsw i64 %55, 2 %57 = getelementptr i8, ptr %48, i64 %56 %58 = trunc nuw i64 %55 to i32 %59 = or disjoint i32 %58, 2 br label %60 60: ; preds = %60, %54 %61 = phi i64 [ 0, %54 ], [ %71, %60 ] %62 = phi <4 x i32> [ <i32 2, i32 3, i32 4, i32 5>, %54 ], [ %72, %60 ] %63 = add <4 x i32> %62, <i32 4, i32 4, i32 4, i32 4> %64 = add <4 x i32> %62, <i32 8, i32 8, i32 8, i32 8> %65 = add <4 x i32> %62, <i32 12, i32 12, i32 12, i32 12> %66 = shl i64 %61, 2 %67 = getelementptr i8, ptr %48, i64 %66 %68 = getelementptr i8, ptr %67, i64 16 %69 = getelementptr i8, ptr %67, i64 32 %70 = getelementptr i8, ptr %67, i64 48 store <4 x i32> %62, ptr %67, align 4, !tbaa !29 store <4 x i32> %63, ptr %68, align 4, !tbaa !29 store <4 x i32> %64, ptr %69, align 4, !tbaa !29 store <4 x i32> %65, ptr %70, align 4, !tbaa !29 %71 = add nuw i64 %61, 16 %72 = add <4 x i32> %62, <i32 16, i32 16, i32 16, i32 16> %73 = icmp eq i64 %71, %55 br i1 %73, label %74, label %60, !llvm.loop !31 74: ; preds = %60 %75 = icmp eq i64 %55, %52 br i1 %75, label %85, label %76 76: ; preds = %74, %50 %77 = phi ptr [ %48, %50 ], [ %57, %74 ] %78 = phi i32 [ 2, %50 ], [ %59, %74 ] br label %79 79: ; preds = %76, %79 %80 = phi ptr [ %83, %79 ], [ %77, %76 ] %81 = phi i32 [ %82, %79 ], [ %78, %76 ] store i32 %81, ptr %80, align 4, !tbaa !29 %82 = add nuw nsw i32 %81, 1 %83 = getelementptr inbounds i8, ptr %80, i64 4 %84 = icmp eq i32 %82, %36 br i1 %84, label %85, label %79, !llvm.loop !35 85: ; preds = %79, %74, %21 %86 = phi ptr [ %48, %21 ], [ %57, %74 ], [ %83, %79 ] store i32 -1, ptr %86, align 4, !tbaa !29 %87 = getelementptr inbounds i8, ptr %4, i64 12 store <2 x i32> <i32 1, i32 8>, ptr %87, align 4, !tbaa !11 %88 = tail call i32 @cpu_to_le32(i32 noundef %2) #2 %89 = getelementptr inbounds i8, ptr %4, i64 20 store i32 %88, ptr %89, align 4, !tbaa !36 ret void } declare ptr @JFS_IP(ptr noundef) local_unnamed_addr #1 declare i64 @DO_INDEX(ptr noundef) local_unnamed_addr #1 declare i32 @jfs_dirtable_inline(ptr noundef) local_unnamed_addr #1 declare ptr @tid_to_tblock(i32 noundef) local_unnamed_addr #1 declare i32 @xtTruncate(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_cflag(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @txLock(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @cpu_to_le32(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 = !{!"tblock", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"inode", !12, i64 0} !15 = !{!16, !12, i64 0} !16 = !{!"jfs_inode_info", !12, i64 0, !17, i64 8, !12, i64 40} !17 = !{!"TYPE_4__", !18, i64 0, !19, i64 24} !18 = !{!"TYPE_3__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !8, i64 16} !19 = !{!"any pointer", !9, i64 0} !20 = !{!21, !8, i64 0} !21 = !{!"dt_lock", !8, i64 0, !19, i64 8} !22 = !{!21, !19, i64 8} !23 = !{!24, !8, i64 8} !24 = !{!"lv", !12, i64 0, !8, i64 8} !25 = !{!24, !12, i64 0} !26 = !{!17, !12, i64 0} !27 = !{!17, !8, i64 16} !28 = !{!17, !19, i64 24} !29 = !{!30, !12, i64 0} !30 = !{!"dtslot", !12, i64 0} !31 = distinct !{!31, !32, !33, !34} !32 = !{!"llvm.loop.mustprogress"} !33 = !{!"llvm.loop.isvectorized", i32 1} !34 = !{!"llvm.loop.unroll.runtime.disable"} !35 = distinct !{!35, !32, !34, !33} !36 = !{!17, !12, i64 12}
fastsocket_kernel_fs_jfs_extr_jfs_dtree.c_dtInitRoot
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_avm_pci.c_WriteISACfifo.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_avm_pci.c_WriteISACfifo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i64 } @AVM_ISAC_FIFO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @WriteISACfifo], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @WriteISACfifo(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @AVM_ISAC_FIFO, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %6 = load i64, ptr %5, align 8, !tbaa !9 %7 = add nsw i64 %6, 4 %8 = tail call i32 @outb(i32 noundef %4, i64 noundef %7) #2 %9 = load i32, ptr %0, align 8, !tbaa !14 %10 = tail call i32 @outsb(i32 noundef %9, ptr noundef %1, i32 noundef %2) #2 ret void } declare i32 @outb(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @outsb(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !13, i64 8} !10 = !{!"IsdnCardState", !11, i64 0} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"TYPE_3__", !6, i64 0, !13, i64 8} !13 = !{!"long", !7, i64 0} !14 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_avm_pci.c_WriteISACfifo.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_avm_pci.c_WriteISACfifo.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AVM_ISAC_FIFO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @WriteISACfifo], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @WriteISACfifo(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @AVM_ISAC_FIFO, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load i64, ptr %5, align 8, !tbaa !10 %7 = add nsw i64 %6, 4 %8 = tail call i32 @outb(i32 noundef %4, i64 noundef %7) #2 %9 = load i32, ptr %0, align 8, !tbaa !15 %10 = tail call i32 @outsb(i32 noundef %9, ptr noundef %1, i32 noundef %2) #2 ret void } declare i32 @outb(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @outsb(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !14, i64 8} !11 = !{!"IsdnCardState", !12, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"TYPE_3__", !7, i64 0, !14, i64 8} !14 = !{!"long", !8, i64 0} !15 = !{!11, !7, i64 0}
fastsocket_kernel_drivers_isdn_hisax_extr_avm_pci.c_WriteISACfifo
; ModuleID = 'AnghaBench/linux/fs/nls/extr_mac-greek.c_uni2char.c' source_filename = "AnghaBench/linux/fs/nls/extr_mac-greek.c_uni2char.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENAMETOOLONG = dso_local local_unnamed_addr global i32 0, align 4 @page_uni2charset = dso_local local_unnamed_addr global ptr null, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @uni2char], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal i32 @uni2char(i32 noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 { %4 = icmp slt i32 %2, 1 br i1 %4, label %5, label %8 5: ; preds = %3 %6 = load i32, ptr @ENAMETOOLONG, align 4, !tbaa !5 %7 = sub nsw i32 0, %6 br label %26 8: ; preds = %3 %9 = lshr i32 %0, 8 %10 = load ptr, ptr @page_uni2charset, align 8, !tbaa !9 %11 = and i32 %9, 255 %12 = zext nneg i32 %11 to i64 %13 = getelementptr inbounds ptr, ptr %10, i64 %12 %14 = load ptr, ptr %13, align 8, !tbaa !9 %15 = icmp eq ptr %14, null br i1 %15, label %23, label %16 16: ; preds = %8 %17 = and i32 %0, 255 %18 = zext nneg i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %14, i64 %18 %20 = load i8, ptr %19, align 1, !tbaa !11 %21 = icmp eq i8 %20, 0 br i1 %21, label %23, label %22 22: ; preds = %16 store i8 %20, ptr %1, align 1, !tbaa !11 br label %26 23: ; preds = %16, %8 %24 = load i32, ptr @EINVAL, align 4, !tbaa !5 %25 = sub nsw i32 0, %24 br label %26 26: ; preds = %22, %23, %5 %27 = phi i32 [ %7, %5 ], [ 1, %22 ], [ %25, %23 ] ret i32 %27 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/fs/nls/extr_mac-greek.c_uni2char.c' source_filename = "AnghaBench/linux/fs/nls/extr_mac-greek.c_uni2char.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENAMETOOLONG = common local_unnamed_addr global i32 0, align 4 @page_uni2charset = common local_unnamed_addr global ptr null, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @uni2char], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @uni2char(i32 noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 { %4 = icmp slt i32 %2, 1 br i1 %4, label %5, label %8 5: ; preds = %3 %6 = load i32, ptr @ENAMETOOLONG, align 4, !tbaa !6 %7 = sub nsw i32 0, %6 br label %26 8: ; preds = %3 %9 = lshr i32 %0, 8 %10 = load ptr, ptr @page_uni2charset, align 8, !tbaa !10 %11 = and i32 %9, 255 %12 = zext nneg i32 %11 to i64 %13 = getelementptr inbounds ptr, ptr %10, i64 %12 %14 = load ptr, ptr %13, align 8, !tbaa !10 %15 = icmp eq ptr %14, null br i1 %15, label %23, label %16 16: ; preds = %8 %17 = and i32 %0, 255 %18 = zext nneg i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %14, i64 %18 %20 = load i8, ptr %19, align 1, !tbaa !12 %21 = icmp eq i8 %20, 0 br i1 %21, label %23, label %22 22: ; preds = %16 store i8 %20, ptr %1, align 1, !tbaa !12 br label %26 23: ; preds = %16, %8 %24 = load i32, ptr @EINVAL, align 4, !tbaa !6 %25 = sub nsw i32 0, %24 br label %26 26: ; preds = %22, %23, %5 %27 = phi i32 [ %7, %5 ], [ 1, %22 ], [ %25, %23 ] ret i32 %27 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!8, !8, i64 0}
linux_fs_nls_extr_mac-greek.c_uni2char
; ModuleID = 'AnghaBench/freebsd/sys/security/mac/extr_mac_cred.c_mac_cred_externalize_label.c' source_filename = "AnghaBench/freebsd/sys/security/mac/extr_mac_cred.c_mac_cred_externalize_label.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @cred = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @mac_cred_externalize_label(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @cred, align 4, !tbaa !5 %6 = tail call i32 @MAC_POLICY_EXTERNALIZE(i32 noundef %5, ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #2 ret i32 undef } declare i32 @MAC_POLICY_EXTERNALIZE(i32 noundef, ptr noundef, ptr noundef, 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 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/security/mac/extr_mac_cred.c_mac_cred_externalize_label.c' source_filename = "AnghaBench/freebsd/sys/security/mac/extr_mac_cred.c_mac_cred_externalize_label.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @cred = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @mac_cred_externalize_label(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @cred, align 4, !tbaa !6 %6 = tail call i32 @MAC_POLICY_EXTERNALIZE(i32 noundef %5, ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #2 ret i32 undef } declare i32 @MAC_POLICY_EXTERNALIZE(i32 noundef, ptr noundef, ptr noundef, 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 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_security_mac_extr_mac_cred.c_mac_cred_externalize_label
; ModuleID = 'AnghaBench/freebsd/stand/ficl/extr_words.c_colonParen.c' source_filename = "AnghaBench/freebsd/stand/ficl/extr_words.c_colonParen.c" target datalayout = "e-m:e-p270:32:32-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 @colonParen], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @colonParen(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr %2, align 4, !tbaa !10 %4 = tail call i32 @vmPushIP(ptr noundef nonnull %0, i32 noundef %3) #2 ret void } declare i32 @vmPushIP(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_6__", !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_5__", !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/stand/ficl/extr_words.c_colonParen.c' source_filename = "AnghaBench/freebsd/stand/ficl/extr_words.c_colonParen.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 @colonParen], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @colonParen(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr %2, align 4, !tbaa !11 %4 = tail call i32 @vmPushIP(ptr noundef nonnull %0, i32 noundef %3) #2 ret void } declare i32 @vmPushIP(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_6__", !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_5__", !13, i64 0} !13 = !{!"int", !9, i64 0}
freebsd_stand_ficl_extr_words.c_colonParen
; ModuleID = 'AnghaBench/linux/drivers/ntb/extr_ntb_transport.c_ntb_transport_create_queue.c' source_filename = "AnghaBench/linux/drivers/ntb/extr_ntb_transport.c_ntb_transport_create_queue.c" target datalayout = "e-m:e-p270:32:32-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.ntb_dev = type { i32, ptr, ptr } %struct.ntb_transport_ctx = type { i32, ptr } %struct.ntb_transport_qp = type { i32, i32, ptr, ptr, i32, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr } %struct.ntb_queue_handlers = type { i32, i32, i32 } %struct.ntb_queue_entry = type { i32, ptr } @DMA_MEMCPY = dso_local local_unnamed_addr global i32 0, align 4 @use_dma = dso_local local_unnamed_addr global i64 0, align 8 @ntb_dma_filter_fn = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"Unable to allocate TX DMA channel\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"Unable to allocate RX DMA channel\0A\00", align 1 @DMA_FROM_DEVICE = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [24 x i8] c"Using %s memcpy for TX\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"DMA\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"CPU\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"Using %s memcpy for RX\0A\00", align 1 @NTB_QP_DEF_NUM_ENTRIES = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [29 x i8] c"NTB Transport QP %d created\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local ptr @ntb_transport_create_queue(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 { %4 = load i32, ptr %1, align 4, !tbaa !5 %5 = tail call ptr @dev_ntb(i32 noundef %4) #4 %6 = getelementptr inbounds %struct.ntb_dev, ptr %5, i64 0, i32 2 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = getelementptr inbounds %struct.ntb_dev, ptr %5, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !13 %10 = tail call i32 @dev_to_node(ptr noundef %5) #4 %11 = load i32, ptr %9, align 8, !tbaa !14 %12 = icmp eq i32 %11, 0 br i1 %12, label %172, label %13 13: ; preds = %3 %14 = tail call i32 @llvm.cttz.i32(i32 %11, i1 true), !range !16 %15 = getelementptr inbounds %struct.ntb_transport_ctx, ptr %9, i64 0, i32 1 %16 = load ptr, ptr %15, align 8, !tbaa !17 %17 = zext nneg i32 %14 to i64 %18 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17 %19 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17, i32 10 %20 = load i32, ptr %19, align 8, !tbaa !18 %21 = tail call i32 @BIT_ULL(i32 noundef %20) #4 %22 = xor i32 %21, -1 %23 = load i32, ptr %9, align 8, !tbaa !14 %24 = and i32 %23, %22 store i32 %24, ptr %9, align 8, !tbaa !14 %25 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17, i32 16 store ptr %0, ptr %25, align 8, !tbaa !21 %26 = getelementptr inbounds %struct.ntb_queue_handlers, ptr %2, i64 0, i32 2 %27 = load i32, ptr %26, align 4, !tbaa !22 %28 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17, i32 15 store i32 %27, ptr %28, align 4, !tbaa !24 %29 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17, i32 13 %30 = load <2 x i32>, ptr %2, align 4, !tbaa !25 store <2 x i32> %30, ptr %29, align 4, !tbaa !25 %31 = tail call i32 @dma_cap_zero(i32 noundef undef) #4 %32 = load i32, ptr @DMA_MEMCPY, align 4, !tbaa !25 %33 = tail call i32 @dma_cap_set(i32 noundef %32, i32 noundef undef) #4 %34 = load i64, ptr @use_dma, align 8, !tbaa !26 %35 = icmp eq i64 %34, 0 br i1 %35, label %52, label %36 36: ; preds = %13 %37 = load i32, ptr @ntb_dma_filter_fn, align 4, !tbaa !25 %38 = sext i32 %10 to i64 %39 = inttoptr i64 %38 to ptr %40 = tail call ptr @dma_request_channel(i32 noundef undef, i32 noundef %37, ptr noundef %39) #4 %41 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17, i32 3 store ptr %40, ptr %41, align 8, !tbaa !27 %42 = icmp eq ptr %40, null br i1 %42, label %43, label %45 43: ; preds = %36 %44 = tail call i32 (ptr, ptr, ...) @dev_info(ptr noundef %7, ptr noundef nonnull @.str) #4 br label %45 45: ; preds = %43, %36 %46 = load i32, ptr @ntb_dma_filter_fn, align 4, !tbaa !25 %47 = tail call ptr @dma_request_channel(i32 noundef undef, i32 noundef %46, ptr noundef %39) #4 %48 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17, i32 2 store ptr %47, ptr %48, align 8, !tbaa !28 %49 = icmp eq ptr %47, null br i1 %49, label %50, label %54 50: ; preds = %45 %51 = tail call i32 (ptr, ptr, ...) @dev_info(ptr noundef %7, ptr noundef nonnull @.str.1) #4 br label %54 52: ; preds = %13 %53 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17, i32 2 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %53, i8 0, i64 16, i1 false) br label %54 54: ; preds = %45, %50, %52 %55 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17, i32 5 store i64 0, ptr %55, align 8, !tbaa !29 %56 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17, i32 3 %57 = load ptr, ptr %56, align 8, !tbaa !27 %58 = icmp eq ptr %57, null br i1 %58, label %78, label %59 59: ; preds = %54 %60 = load ptr, ptr %57, align 8, !tbaa !30 %61 = load i32, ptr %60, align 4, !tbaa !32 %62 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17, i32 12 %63 = load i32, ptr %62, align 8, !tbaa !34 %64 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17, i32 4 %65 = load i32, ptr %64, align 8, !tbaa !35 %66 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !25 %67 = tail call i64 @dma_map_resource(i32 noundef %61, i32 noundef %63, i32 noundef %65, i32 noundef %66, i32 noundef 0) #4 store i64 %67, ptr %55, align 8, !tbaa !29 %68 = load ptr, ptr %56, align 8, !tbaa !27 %69 = load ptr, ptr %68, align 8, !tbaa !30 %70 = load i32, ptr %69, align 4, !tbaa !32 %71 = tail call i64 @dma_mapping_error(i32 noundef %70, i64 noundef %67) #4 %72 = icmp eq i64 %71, 0 br i1 %72, label %73, label %77 73: ; preds = %59 %74 = load ptr, ptr %56, align 8, !tbaa !27 %75 = icmp eq ptr %74, null %76 = select i1 %75, ptr @.str.4, ptr @.str.3 br label %78 77: ; preds = %59 store i64 0, ptr %55, align 8, !tbaa !29 br label %137 78: ; preds = %73, %54 %79 = phi ptr [ %76, %73 ], [ @.str.4, %54 ] %80 = tail call i32 @dev_dbg(ptr noundef %7, ptr noundef nonnull @.str.2, ptr noundef nonnull %79) #4 %81 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17, i32 2 %82 = load ptr, ptr %81, align 8, !tbaa !28 %83 = icmp eq ptr %82, null %84 = select i1 %83, ptr @.str.4, ptr @.str.3 %85 = tail call i32 @dev_dbg(ptr noundef %7, ptr noundef nonnull @.str.5, ptr noundef nonnull %84) #4 %86 = load i32, ptr @NTB_QP_DEF_NUM_ENTRIES, align 4, !tbaa !25 %87 = icmp sgt i32 %86, 0 br i1 %87, label %88, label %102 88: ; preds = %78 %89 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17, i32 7 %90 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17, i32 6 br label %91 91: ; preds = %88, %96 %92 = phi i32 [ 0, %88 ], [ %99, %96 ] %93 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !25 %94 = tail call ptr @kzalloc_node(i32 noundef 16, i32 noundef %93, i32 noundef %10) #4 %95 = icmp eq ptr %94, null br i1 %95, label %137, label %96 96: ; preds = %91 %97 = getelementptr inbounds %struct.ntb_queue_entry, ptr %94, i64 0, i32 1 store ptr %18, ptr %97, align 8, !tbaa !36 %98 = tail call i32 @ntb_list_add(ptr noundef nonnull %89, ptr noundef nonnull %94, ptr noundef nonnull %90) #4 %99 = add nuw nsw i32 %92, 1 %100 = load i32, ptr @NTB_QP_DEF_NUM_ENTRIES, align 4, !tbaa !25 %101 = icmp slt i32 %99, %100 br i1 %101, label %91, label %102, !llvm.loop !38 102: ; preds = %96, %78 %103 = phi i32 [ %86, %78 ], [ %100, %96 ] store i32 %103, ptr %18, align 8, !tbaa !40 %104 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17, i32 1 %105 = load i32, ptr %104, align 4, !tbaa !41 %106 = icmp sgt i32 %105, 0 br i1 %106, label %107, label %124 107: ; preds = %102 %108 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17, i32 9 %109 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17, i32 8 br label %110 110: ; preds = %107, %118 %111 = phi i32 [ 0, %107 ], [ %121, %118 ] %112 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !25 %113 = tail call ptr @kzalloc_node(i32 noundef 16, i32 noundef %112, i32 noundef %10) #4 %114 = icmp eq ptr %113, null br i1 %114, label %115, label %118 115: ; preds = %110 %116 = tail call ptr @ntb_list_rm(ptr noundef nonnull %108, ptr noundef nonnull %109) #4 %117 = icmp eq ptr %116, null br i1 %117, label %137, label %132 118: ; preds = %110 %119 = getelementptr inbounds %struct.ntb_queue_entry, ptr %113, i64 0, i32 1 store ptr %18, ptr %119, align 8, !tbaa !36 %120 = tail call i32 @ntb_list_add(ptr noundef nonnull %108, ptr noundef nonnull %113, ptr noundef nonnull %109) #4 %121 = add nuw nsw i32 %111, 1 %122 = load i32, ptr %104, align 4, !tbaa !41 %123 = icmp slt i32 %121, %122 br i1 %123, label %110, label %124, !llvm.loop !42 124: ; preds = %118, %102 %125 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17, i32 11 %126 = load i32, ptr %125, align 4, !tbaa !43 %127 = tail call i32 @ntb_db_clear(i32 noundef %126, i32 noundef %21) #4 %128 = load i32, ptr %125, align 4, !tbaa !43 %129 = tail call i32 @ntb_db_clear_mask(i32 noundef %128, i32 noundef %21) #4 %130 = load i32, ptr %19, align 8, !tbaa !18 %131 = tail call i32 (ptr, ptr, ...) @dev_info(ptr noundef %7, ptr noundef nonnull @.str.6, i32 noundef %130) #4 br label %172 132: ; preds = %115, %132 %133 = phi ptr [ %135, %132 ], [ %116, %115 ] %134 = tail call i32 @kfree(ptr noundef nonnull %133) #4 %135 = tail call ptr @ntb_list_rm(ptr noundef nonnull %108, ptr noundef nonnull %109) #4 %136 = icmp eq ptr %135, null br i1 %136, label %137, label %132, !llvm.loop !44 137: ; preds = %91, %132, %115, %77 store i32 0, ptr %18, align 8, !tbaa !40 %138 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17, i32 7 %139 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17, i32 6 %140 = tail call ptr @ntb_list_rm(ptr noundef nonnull %138, ptr noundef nonnull %139) #4 %141 = icmp eq ptr %140, null br i1 %141, label %147, label %142 142: ; preds = %137, %142 %143 = phi ptr [ %145, %142 ], [ %140, %137 ] %144 = tail call i32 @kfree(ptr noundef nonnull %143) #4 %145 = tail call ptr @ntb_list_rm(ptr noundef nonnull %138, ptr noundef nonnull %139) #4 %146 = icmp eq ptr %145, null br i1 %146, label %147, label %142, !llvm.loop !45 147: ; preds = %142, %137 %148 = load i64, ptr %55, align 8, !tbaa !29 %149 = icmp eq i64 %148, 0 br i1 %149, label %158, label %150 150: ; preds = %147 %151 = load ptr, ptr %56, align 8, !tbaa !27 %152 = load ptr, ptr %151, align 8, !tbaa !30 %153 = load i32, ptr %152, align 4, !tbaa !32 %154 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17, i32 4 %155 = load i32, ptr %154, align 8, !tbaa !35 %156 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !25 %157 = tail call i32 @dma_unmap_resource(i32 noundef %153, i64 noundef %148, i32 noundef %155, i32 noundef %156, i32 noundef 0) #4 br label %158 158: ; preds = %150, %147 %159 = load ptr, ptr %56, align 8, !tbaa !27 %160 = icmp eq ptr %159, null br i1 %160, label %163, label %161 161: ; preds = %158 %162 = tail call i32 @dma_release_channel(ptr noundef nonnull %159) #4 br label %163 163: ; preds = %161, %158 %164 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17, i32 2 %165 = load ptr, ptr %164, align 8, !tbaa !28 %166 = icmp eq ptr %165, null br i1 %166, label %169, label %167 167: ; preds = %163 %168 = tail call i32 @dma_release_channel(ptr noundef nonnull %165) #4 br label %169 169: ; preds = %167, %163 %170 = load i32, ptr %9, align 8, !tbaa !14 %171 = or i32 %170, %21 store i32 %171, ptr %9, align 8, !tbaa !14 br label %172 172: ; preds = %169, %3, %124 %173 = phi ptr [ %18, %124 ], [ null, %3 ], [ null, %169 ] ret ptr %173 } declare ptr @dev_ntb(i32 noundef) local_unnamed_addr #1 declare i32 @dev_to_node(ptr noundef) local_unnamed_addr #1 declare i32 @BIT_ULL(i32 noundef) local_unnamed_addr #1 declare i32 @dma_cap_zero(i32 noundef) local_unnamed_addr #1 declare i32 @dma_cap_set(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @dma_request_channel(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_info(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i64 @dma_map_resource(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @dma_mapping_error(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @kzalloc_node(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ntb_list_add(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ntb_db_clear(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ntb_db_clear_mask(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ntb_list_rm(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @dma_unmap_resource(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dma_release_channel(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.cttz.i32(i32, i1 immarg) #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } 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, !7, i64 0} !6 = !{!"device", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 16} !11 = !{!"ntb_dev", !7, i64 0, !12, i64 8, !12, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 8} !14 = !{!15, !7, i64 0} !15 = !{!"ntb_transport_ctx", !7, i64 0, !12, i64 8} !16 = !{i32 0, i32 33} !17 = !{!15, !12, i64 8} !18 = !{!19, !7, i64 56} !19 = !{!"ntb_transport_qp", !7, i64 0, !7, i64 4, !12, i64 8, !12, i64 16, !7, i64 24, !20, i64 32, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !12, i64 80} !20 = !{!"long", !8, i64 0} !21 = !{!19, !12, i64 80} !22 = !{!23, !7, i64 8} !23 = !{!"ntb_queue_handlers", !7, i64 0, !7, i64 4, !7, i64 8} !24 = !{!19, !7, i64 76} !25 = !{!7, !7, i64 0} !26 = !{!20, !20, i64 0} !27 = !{!19, !12, i64 16} !28 = !{!19, !12, i64 8} !29 = !{!19, !20, i64 32} !30 = !{!31, !12, i64 0} !31 = !{!"TYPE_4__", !12, i64 0} !32 = !{!33, !7, i64 0} !33 = !{!"TYPE_3__", !7, i64 0} !34 = !{!19, !7, i64 64} !35 = !{!19, !7, i64 24} !36 = !{!37, !12, i64 8} !37 = !{!"ntb_queue_entry", !7, i64 0, !12, i64 8} !38 = distinct !{!38, !39} !39 = !{!"llvm.loop.mustprogress"} !40 = !{!19, !7, i64 0} !41 = !{!19, !7, i64 4} !42 = distinct !{!42, !39} !43 = !{!19, !7, i64 60} !44 = distinct !{!44, !39} !45 = distinct !{!45, !39}
; ModuleID = 'AnghaBench/linux/drivers/ntb/extr_ntb_transport.c_ntb_transport_create_queue.c' source_filename = "AnghaBench/linux/drivers/ntb/extr_ntb_transport.c_ntb_transport_create_queue.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ntb_transport_qp = type { i32, i32, ptr, ptr, i32, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr } @DMA_MEMCPY = common local_unnamed_addr global i32 0, align 4 @use_dma = common local_unnamed_addr global i64 0, align 8 @ntb_dma_filter_fn = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"Unable to allocate TX DMA channel\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"Unable to allocate RX DMA channel\0A\00", align 1 @DMA_FROM_DEVICE = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [24 x i8] c"Using %s memcpy for TX\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"DMA\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"CPU\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"Using %s memcpy for RX\0A\00", align 1 @NTB_QP_DEF_NUM_ENTRIES = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [29 x i8] c"NTB Transport QP %d created\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @ntb_transport_create_queue(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 { %4 = load i32, ptr %1, align 4, !tbaa !6 %5 = tail call ptr @dev_ntb(i32 noundef %4) #4 %6 = getelementptr inbounds i8, ptr %5, i64 16 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = getelementptr inbounds i8, ptr %5, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !14 %10 = tail call i32 @dev_to_node(ptr noundef %5) #4 %11 = load i32, ptr %9, align 8, !tbaa !15 %12 = icmp eq i32 %11, 0 br i1 %12, label %172, label %13 13: ; preds = %3 %14 = tail call range(i32 0, 33) i32 @llvm.cttz.i32(i32 %11, i1 true) %15 = getelementptr inbounds i8, ptr %9, i64 8 %16 = load ptr, ptr %15, align 8, !tbaa !17 %17 = zext nneg i32 %14 to i64 %18 = getelementptr inbounds %struct.ntb_transport_qp, ptr %16, i64 %17 %19 = getelementptr inbounds i8, ptr %18, i64 56 %20 = load i32, ptr %19, align 8, !tbaa !18 %21 = tail call i32 @BIT_ULL(i32 noundef %20) #4 %22 = xor i32 %21, -1 %23 = load i32, ptr %9, align 8, !tbaa !15 %24 = and i32 %23, %22 store i32 %24, ptr %9, align 8, !tbaa !15 %25 = getelementptr inbounds i8, ptr %18, i64 80 store ptr %0, ptr %25, align 8, !tbaa !21 %26 = getelementptr inbounds i8, ptr %2, i64 8 %27 = load i32, ptr %26, align 4, !tbaa !22 %28 = getelementptr inbounds i8, ptr %18, i64 76 store i32 %27, ptr %28, align 4, !tbaa !24 %29 = getelementptr inbounds i8, ptr %18, i64 68 %30 = load <2 x i32>, ptr %2, align 4, !tbaa !25 store <2 x i32> %30, ptr %29, align 4, !tbaa !25 %31 = tail call i32 @dma_cap_zero(i32 noundef undef) #4 %32 = load i32, ptr @DMA_MEMCPY, align 4, !tbaa !25 %33 = tail call i32 @dma_cap_set(i32 noundef %32, i32 noundef undef) #4 %34 = load i64, ptr @use_dma, align 8, !tbaa !26 %35 = icmp eq i64 %34, 0 br i1 %35, label %52, label %36 36: ; preds = %13 %37 = load i32, ptr @ntb_dma_filter_fn, align 4, !tbaa !25 %38 = sext i32 %10 to i64 %39 = inttoptr i64 %38 to ptr %40 = tail call ptr @dma_request_channel(i32 noundef undef, i32 noundef %37, ptr noundef %39) #4 %41 = getelementptr inbounds i8, ptr %18, i64 16 store ptr %40, ptr %41, align 8, !tbaa !27 %42 = icmp eq ptr %40, null br i1 %42, label %43, label %45 43: ; preds = %36 %44 = tail call i32 (ptr, ptr, ...) @dev_info(ptr noundef %7, ptr noundef nonnull @.str) #4 br label %45 45: ; preds = %43, %36 %46 = load i32, ptr @ntb_dma_filter_fn, align 4, !tbaa !25 %47 = tail call ptr @dma_request_channel(i32 noundef undef, i32 noundef %46, ptr noundef %39) #4 %48 = getelementptr inbounds i8, ptr %18, i64 8 store ptr %47, ptr %48, align 8, !tbaa !28 %49 = icmp eq ptr %47, null br i1 %49, label %50, label %54 50: ; preds = %45 %51 = tail call i32 (ptr, ptr, ...) @dev_info(ptr noundef %7, ptr noundef nonnull @.str.1) #4 br label %54 52: ; preds = %13 %53 = getelementptr inbounds i8, ptr %18, i64 8 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %53, i8 0, i64 16, i1 false) br label %54 54: ; preds = %45, %50, %52 %55 = getelementptr inbounds i8, ptr %18, i64 32 store i64 0, ptr %55, align 8, !tbaa !29 %56 = getelementptr inbounds i8, ptr %18, i64 16 %57 = load ptr, ptr %56, align 8, !tbaa !27 %58 = icmp eq ptr %57, null br i1 %58, label %78, label %59 59: ; preds = %54 %60 = load ptr, ptr %57, align 8, !tbaa !30 %61 = load i32, ptr %60, align 4, !tbaa !32 %62 = getelementptr inbounds i8, ptr %18, i64 64 %63 = load i32, ptr %62, align 8, !tbaa !34 %64 = getelementptr inbounds i8, ptr %18, i64 24 %65 = load i32, ptr %64, align 8, !tbaa !35 %66 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !25 %67 = tail call i64 @dma_map_resource(i32 noundef %61, i32 noundef %63, i32 noundef %65, i32 noundef %66, i32 noundef 0) #4 store i64 %67, ptr %55, align 8, !tbaa !29 %68 = load ptr, ptr %56, align 8, !tbaa !27 %69 = load ptr, ptr %68, align 8, !tbaa !30 %70 = load i32, ptr %69, align 4, !tbaa !32 %71 = tail call i64 @dma_mapping_error(i32 noundef %70, i64 noundef %67) #4 %72 = icmp eq i64 %71, 0 br i1 %72, label %73, label %77 73: ; preds = %59 %74 = load ptr, ptr %56, align 8, !tbaa !27 %75 = icmp eq ptr %74, null %76 = select i1 %75, ptr @.str.4, ptr @.str.3 br label %78 77: ; preds = %59 store i64 0, ptr %55, align 8, !tbaa !29 br label %137 78: ; preds = %73, %54 %79 = phi ptr [ %76, %73 ], [ @.str.4, %54 ] %80 = tail call i32 @dev_dbg(ptr noundef %7, ptr noundef nonnull @.str.2, ptr noundef nonnull %79) #4 %81 = getelementptr inbounds i8, ptr %18, i64 8 %82 = load ptr, ptr %81, align 8, !tbaa !28 %83 = icmp eq ptr %82, null %84 = select i1 %83, ptr @.str.4, ptr @.str.3 %85 = tail call i32 @dev_dbg(ptr noundef %7, ptr noundef nonnull @.str.5, ptr noundef nonnull %84) #4 %86 = load i32, ptr @NTB_QP_DEF_NUM_ENTRIES, align 4, !tbaa !25 %87 = icmp sgt i32 %86, 0 br i1 %87, label %88, label %102 88: ; preds = %78 %89 = getelementptr inbounds i8, ptr %18, i64 44 %90 = getelementptr inbounds i8, ptr %18, i64 40 br label %91 91: ; preds = %88, %96 %92 = phi i32 [ 0, %88 ], [ %99, %96 ] %93 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !25 %94 = tail call ptr @kzalloc_node(i32 noundef 16, i32 noundef %93, i32 noundef %10) #4 %95 = icmp eq ptr %94, null br i1 %95, label %137, label %96 96: ; preds = %91 %97 = getelementptr inbounds i8, ptr %94, i64 8 store ptr %18, ptr %97, align 8, !tbaa !36 %98 = tail call i32 @ntb_list_add(ptr noundef nonnull %89, ptr noundef nonnull %94, ptr noundef nonnull %90) #4 %99 = add nuw nsw i32 %92, 1 %100 = load i32, ptr @NTB_QP_DEF_NUM_ENTRIES, align 4, !tbaa !25 %101 = icmp slt i32 %99, %100 br i1 %101, label %91, label %102, !llvm.loop !38 102: ; preds = %96, %78 %103 = phi i32 [ %86, %78 ], [ %100, %96 ] store i32 %103, ptr %18, align 8, !tbaa !40 %104 = getelementptr inbounds i8, ptr %18, i64 4 %105 = load i32, ptr %104, align 4, !tbaa !41 %106 = icmp sgt i32 %105, 0 br i1 %106, label %107, label %124 107: ; preds = %102 %108 = getelementptr inbounds i8, ptr %18, i64 52 %109 = getelementptr inbounds i8, ptr %18, i64 48 br label %110 110: ; preds = %107, %118 %111 = phi i32 [ 0, %107 ], [ %121, %118 ] %112 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !25 %113 = tail call ptr @kzalloc_node(i32 noundef 16, i32 noundef %112, i32 noundef %10) #4 %114 = icmp eq ptr %113, null br i1 %114, label %115, label %118 115: ; preds = %110 %116 = tail call ptr @ntb_list_rm(ptr noundef nonnull %108, ptr noundef nonnull %109) #4 %117 = icmp eq ptr %116, null br i1 %117, label %137, label %132 118: ; preds = %110 %119 = getelementptr inbounds i8, ptr %113, i64 8 store ptr %18, ptr %119, align 8, !tbaa !36 %120 = tail call i32 @ntb_list_add(ptr noundef nonnull %108, ptr noundef nonnull %113, ptr noundef nonnull %109) #4 %121 = add nuw nsw i32 %111, 1 %122 = load i32, ptr %104, align 4, !tbaa !41 %123 = icmp slt i32 %121, %122 br i1 %123, label %110, label %124, !llvm.loop !42 124: ; preds = %118, %102 %125 = getelementptr inbounds i8, ptr %18, i64 60 %126 = load i32, ptr %125, align 4, !tbaa !43 %127 = tail call i32 @ntb_db_clear(i32 noundef %126, i32 noundef %21) #4 %128 = load i32, ptr %125, align 4, !tbaa !43 %129 = tail call i32 @ntb_db_clear_mask(i32 noundef %128, i32 noundef %21) #4 %130 = load i32, ptr %19, align 8, !tbaa !18 %131 = tail call i32 (ptr, ptr, ...) @dev_info(ptr noundef %7, ptr noundef nonnull @.str.6, i32 noundef %130) #4 br label %172 132: ; preds = %115, %132 %133 = phi ptr [ %135, %132 ], [ %116, %115 ] %134 = tail call i32 @kfree(ptr noundef nonnull %133) #4 %135 = tail call ptr @ntb_list_rm(ptr noundef nonnull %108, ptr noundef nonnull %109) #4 %136 = icmp eq ptr %135, null br i1 %136, label %137, label %132, !llvm.loop !44 137: ; preds = %91, %132, %115, %77 store i32 0, ptr %18, align 8, !tbaa !40 %138 = getelementptr inbounds i8, ptr %18, i64 44 %139 = getelementptr inbounds i8, ptr %18, i64 40 %140 = tail call ptr @ntb_list_rm(ptr noundef nonnull %138, ptr noundef nonnull %139) #4 %141 = icmp eq ptr %140, null br i1 %141, label %147, label %142 142: ; preds = %137, %142 %143 = phi ptr [ %145, %142 ], [ %140, %137 ] %144 = tail call i32 @kfree(ptr noundef nonnull %143) #4 %145 = tail call ptr @ntb_list_rm(ptr noundef nonnull %138, ptr noundef nonnull %139) #4 %146 = icmp eq ptr %145, null br i1 %146, label %147, label %142, !llvm.loop !45 147: ; preds = %142, %137 %148 = load i64, ptr %55, align 8, !tbaa !29 %149 = icmp eq i64 %148, 0 br i1 %149, label %158, label %150 150: ; preds = %147 %151 = load ptr, ptr %56, align 8, !tbaa !27 %152 = load ptr, ptr %151, align 8, !tbaa !30 %153 = load i32, ptr %152, align 4, !tbaa !32 %154 = getelementptr inbounds i8, ptr %18, i64 24 %155 = load i32, ptr %154, align 8, !tbaa !35 %156 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !25 %157 = tail call i32 @dma_unmap_resource(i32 noundef %153, i64 noundef %148, i32 noundef %155, i32 noundef %156, i32 noundef 0) #4 br label %158 158: ; preds = %150, %147 %159 = load ptr, ptr %56, align 8, !tbaa !27 %160 = icmp eq ptr %159, null br i1 %160, label %163, label %161 161: ; preds = %158 %162 = tail call i32 @dma_release_channel(ptr noundef nonnull %159) #4 br label %163 163: ; preds = %161, %158 %164 = getelementptr inbounds i8, ptr %18, i64 8 %165 = load ptr, ptr %164, align 8, !tbaa !28 %166 = icmp eq ptr %165, null br i1 %166, label %169, label %167 167: ; preds = %163 %168 = tail call i32 @dma_release_channel(ptr noundef nonnull %165) #4 br label %169 169: ; preds = %167, %163 %170 = load i32, ptr %9, align 8, !tbaa !15 %171 = or i32 %170, %21 store i32 %171, ptr %9, align 8, !tbaa !15 br label %172 172: ; preds = %169, %3, %124 %173 = phi ptr [ %18, %124 ], [ null, %3 ], [ null, %169 ] ret ptr %173 } declare ptr @dev_ntb(i32 noundef) local_unnamed_addr #1 declare i32 @dev_to_node(ptr noundef) local_unnamed_addr #1 declare i32 @BIT_ULL(i32 noundef) local_unnamed_addr #1 declare i32 @dma_cap_zero(i32 noundef) local_unnamed_addr #1 declare i32 @dma_cap_set(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @dma_request_channel(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_info(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i64 @dma_map_resource(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @dma_mapping_error(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @kzalloc_node(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ntb_list_add(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ntb_db_clear(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ntb_db_clear_mask(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ntb_list_rm(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @dma_unmap_resource(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dma_release_channel(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.cttz.i32(i32, i1 immarg) #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } 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, !8, i64 0} !7 = !{!"device", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 16} !12 = !{!"ntb_dev", !8, i64 0, !13, i64 8, !13, i64 16} !13 = !{!"any pointer", !9, i64 0} !14 = !{!12, !13, i64 8} !15 = !{!16, !8, i64 0} !16 = !{!"ntb_transport_ctx", !8, i64 0, !13, i64 8} !17 = !{!16, !13, i64 8} !18 = !{!19, !8, i64 56} !19 = !{!"ntb_transport_qp", !8, i64 0, !8, i64 4, !13, i64 8, !13, i64 16, !8, i64 24, !20, i64 32, !8, i64 40, !8, i64 44, !8, i64 48, !8, i64 52, !8, i64 56, !8, i64 60, !8, i64 64, !8, i64 68, !8, i64 72, !8, i64 76, !13, i64 80} !20 = !{!"long", !9, i64 0} !21 = !{!19, !13, i64 80} !22 = !{!23, !8, i64 8} !23 = !{!"ntb_queue_handlers", !8, i64 0, !8, i64 4, !8, i64 8} !24 = !{!19, !8, i64 76} !25 = !{!8, !8, i64 0} !26 = !{!20, !20, i64 0} !27 = !{!19, !13, i64 16} !28 = !{!19, !13, i64 8} !29 = !{!19, !20, i64 32} !30 = !{!31, !13, i64 0} !31 = !{!"TYPE_4__", !13, i64 0} !32 = !{!33, !8, i64 0} !33 = !{!"TYPE_3__", !8, i64 0} !34 = !{!19, !8, i64 64} !35 = !{!19, !8, i64 24} !36 = !{!37, !13, i64 8} !37 = !{!"ntb_queue_entry", !8, i64 0, !13, i64 8} !38 = distinct !{!38, !39} !39 = !{!"llvm.loop.mustprogress"} !40 = !{!19, !8, i64 0} !41 = !{!19, !8, i64 4} !42 = distinct !{!42, !39} !43 = !{!19, !8, i64 60} !44 = distinct !{!44, !39} !45 = distinct !{!45, !39}
linux_drivers_ntb_extr_ntb_transport.c_ntb_transport_create_queue
; ModuleID = 'AnghaBench/qmk_firmware/users/ericgebhart/extr_ericgebhart.c_tap_dance_df_bepo_layers_switch.c' source_filename = "AnghaBench/qmk_firmware/users/ericgebhart/extr_ericgebhart.c_tap_dance_df_bepo_layers_switch.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DVORAK_ON_BEPO = dso_local local_unnamed_addr global i32 0, align 4 @BEPO = dso_local local_unnamed_addr global i32 0, align 4 @LAYERS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @tap_dance_df_bepo_layers_switch(ptr noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 switch i32 %3, label %13 [ i32 1, label %4 i32 2, label %7 i32 3, label %10 ] 4: ; preds = %2 %5 = load i32, ptr @DVORAK_ON_BEPO, align 4, !tbaa !10 %6 = tail call i32 @switch_default_layer(i32 noundef %5) #2 br label %13 7: ; preds = %2 %8 = load i32, ptr @BEPO, align 4, !tbaa !10 %9 = tail call i32 @switch_default_layer(i32 noundef %8) #2 br label %13 10: ; preds = %2 %11 = load i32, ptr @LAYERS, align 4, !tbaa !10 %12 = tail call i32 @layer_invert(i32 noundef %11) #2 br label %13 13: ; preds = %2, %10, %7, %4 %14 = tail call i32 @reset_tap_dance(ptr noundef nonnull %0) #2 ret void } declare i32 @switch_default_layer(i32 noundef) local_unnamed_addr #1 declare i32 @layer_invert(i32 noundef) local_unnamed_addr #1 declare i32 @reset_tap_dance(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_4__", !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/qmk_firmware/users/ericgebhart/extr_ericgebhart.c_tap_dance_df_bepo_layers_switch.c' source_filename = "AnghaBench/qmk_firmware/users/ericgebhart/extr_ericgebhart.c_tap_dance_df_bepo_layers_switch.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DVORAK_ON_BEPO = common local_unnamed_addr global i32 0, align 4 @BEPO = common local_unnamed_addr global i32 0, align 4 @LAYERS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @tap_dance_df_bepo_layers_switch(ptr noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 switch i32 %3, label %13 [ i32 1, label %4 i32 2, label %7 i32 3, label %10 ] 4: ; preds = %2 %5 = load i32, ptr @DVORAK_ON_BEPO, align 4, !tbaa !11 %6 = tail call i32 @switch_default_layer(i32 noundef %5) #2 br label %13 7: ; preds = %2 %8 = load i32, ptr @BEPO, align 4, !tbaa !11 %9 = tail call i32 @switch_default_layer(i32 noundef %8) #2 br label %13 10: ; preds = %2 %11 = load i32, ptr @LAYERS, align 4, !tbaa !11 %12 = tail call i32 @layer_invert(i32 noundef %11) #2 br label %13 13: ; preds = %2, %10, %7, %4 %14 = tail call i32 @reset_tap_dance(ptr noundef nonnull %0) #2 ret void } declare i32 @switch_default_layer(i32 noundef) local_unnamed_addr #1 declare i32 @layer_invert(i32 noundef) local_unnamed_addr #1 declare i32 @reset_tap_dance(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_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
qmk_firmware_users_ericgebhart_extr_ericgebhart.c_tap_dance_df_bepo_layers_switch
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ngatm/netnatm/msg/extr_uni_ie.c_uni_print_ie_internal.c' source_filename = "AnghaBench/freebsd/sys/contrib/ngatm/netnatm/msg/extr_uni_ie.c_uni_print_ie_internal.c" target datalayout = "e-m:e-p270:32:32-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 @uni_print_ie_internal(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr %1, align 4, !tbaa !5 %5 = tail call ptr @GET_IEDECL(i32 noundef %0, i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %10, label %7 7: ; preds = %3 %8 = load ptr, ptr %5, align 8, !tbaa !8 %9 = tail call i32 %8(ptr noundef nonnull %1, ptr noundef %2) #2 br label %10 10: ; preds = %7, %3 ret void } declare ptr @GET_IEDECL(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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !10, i64 0} !9 = !{!"iedecl", !10, i64 0} !10 = !{!"any pointer", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ngatm/netnatm/msg/extr_uni_ie.c_uni_print_ie_internal.c' source_filename = "AnghaBench/freebsd/sys/contrib/ngatm/netnatm/msg/extr_uni_ie.c_uni_print_ie_internal.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 @uni_print_ie_internal(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr %1, align 4, !tbaa !6 %5 = tail call ptr @GET_IEDECL(i32 noundef %0, i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %10, label %7 7: ; preds = %3 %8 = load ptr, ptr %5, align 8, !tbaa !9 %9 = tail call i32 %8(ptr noundef nonnull %1, ptr noundef %2) #2 br label %10 10: ; preds = %7, %3 ret void } declare ptr @GET_IEDECL(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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"iedecl", !11, i64 0} !11 = !{!"any pointer", !7, i64 0}
freebsd_sys_contrib_ngatm_netnatm_msg_extr_uni_ie.c_uni_print_ie_internal
; ModuleID = 'AnghaBench/Atlas/plugins/proxy/extr_proxy-plugin.c_idle_rw.c' source_filename = "AnghaBench/Atlas/plugins/proxy/extr_proxy-plugin.c_idle_rw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { i64, i64 } @BACKEND_TYPE_RW = dso_local local_unnamed_addr global i64 0, align 8 @BACKEND_STATE_UP = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @idle_rw(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !10 %4 = tail call i32 @network_backends_count(ptr noundef %3) #2 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %25 6: ; preds = %1, %22 %7 = phi i32 [ %23, %22 ], [ 0, %1 ] %8 = tail call ptr @network_backends_get(ptr noundef %3, i32 noundef %7) #2 %9 = icmp eq ptr %8, null br i1 %9, label %22, label %10 10: ; preds = %6 %11 = tail call ptr @chassis_event_thread_pool(ptr noundef nonnull %8) #2 %12 = icmp eq ptr %11, null br i1 %12, label %22, label %13 13: ; preds = %10 %14 = load i64, ptr %8, align 8, !tbaa !12 %15 = load i64, ptr @BACKEND_TYPE_RW, align 8, !tbaa !15 %16 = icmp eq i64 %14, %15 br i1 %16, label %17, label %22 17: ; preds = %13 %18 = getelementptr inbounds %struct.TYPE_9__, ptr %8, i64 0, i32 1 %19 = load i64, ptr %18, align 8, !tbaa !16 %20 = load i64, ptr @BACKEND_STATE_UP, align 8, !tbaa !15 %21 = icmp eq i64 %19, %20 br i1 %21, label %25, label %22 22: ; preds = %13, %17, %6, %10 %23 = add nuw nsw i32 %7, 1 %24 = icmp eq i32 %23, %4 br i1 %24, label %25, label %6, !llvm.loop !17 25: ; preds = %22, %17, %1 %26 = phi i32 [ -1, %1 ], [ %7, %17 ], [ -1, %22 ] ret i32 %26 } declare i32 @network_backends_count(ptr noundef) local_unnamed_addr #1 declare ptr @network_backends_get(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @chassis_event_thread_pool(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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_7__", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_9__", !14, i64 0, !14, i64 8} !14 = !{!"long", !8, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!13, !14, i64 8} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/Atlas/plugins/proxy/extr_proxy-plugin.c_idle_rw.c' source_filename = "AnghaBench/Atlas/plugins/proxy/extr_proxy-plugin.c_idle_rw.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BACKEND_TYPE_RW = common local_unnamed_addr global i64 0, align 8 @BACKEND_STATE_UP = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @idle_rw(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !11 %4 = tail call i32 @network_backends_count(ptr noundef %3) #2 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %25 6: ; preds = %1, %22 %7 = phi i32 [ %23, %22 ], [ 0, %1 ] %8 = tail call ptr @network_backends_get(ptr noundef %3, i32 noundef %7) #2 %9 = icmp eq ptr %8, null br i1 %9, label %22, label %10 10: ; preds = %6 %11 = tail call ptr @chassis_event_thread_pool(ptr noundef nonnull %8) #2 %12 = icmp eq ptr %11, null br i1 %12, label %22, label %13 13: ; preds = %10 %14 = load i64, ptr %8, align 8, !tbaa !13 %15 = load i64, ptr @BACKEND_TYPE_RW, align 8, !tbaa !16 %16 = icmp eq i64 %14, %15 br i1 %16, label %17, label %22 17: ; preds = %13 %18 = getelementptr inbounds i8, ptr %8, i64 8 %19 = load i64, ptr %18, align 8, !tbaa !17 %20 = load i64, ptr @BACKEND_STATE_UP, align 8, !tbaa !16 %21 = icmp eq i64 %19, %20 br i1 %21, label %25, label %22 22: ; preds = %13, %17, %6, %10 %23 = add nuw nsw i32 %7, 1 %24 = icmp eq i32 %23, %4 br i1 %24, label %25, label %6, !llvm.loop !18 25: ; preds = %22, %17, %1 %26 = phi i32 [ -1, %1 ], [ %7, %17 ], [ -1, %22 ] ret i32 %26 } declare i32 @network_backends_count(ptr noundef) local_unnamed_addr #1 declare ptr @network_backends_get(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @chassis_event_thread_pool(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 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_7__", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_9__", !15, i64 0, !15, i64 8} !15 = !{!"long", !9, i64 0} !16 = !{!15, !15, i64 0} !17 = !{!14, !15, i64 8} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
Atlas_plugins_proxy_extr_proxy-plugin.c_idle_rw
; ModuleID = 'AnghaBench/qmk_firmware/quantum/extr_led_matrix.c_map_row_column_to_led.c' source_filename = "AnghaBench/qmk_firmware/quantum/extr_led_matrix.c_map_row_column_to_led.c" target datalayout = "e-m:e-p270:32:32-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 { %struct.TYPE_4__ } %struct.TYPE_4__ = type { i64, i64 } @LED_DRIVER_LED_COUNT = dso_local local_unnamed_addr global i64 0, align 8 @g_leds = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local void @map_row_column_to_led(i64 noundef %0, i64 noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef %3) local_unnamed_addr #0 { store i64 0, ptr %3, align 8, !tbaa !5 %5 = load i64, ptr @LED_DRIVER_LED_COUNT, align 8, !tbaa !5 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %4 %8 = load ptr, ptr @g_leds, align 8, !tbaa !9 br label %10 9: ; preds = %26, %4 ret void 10: ; preds = %7, %26 %11 = phi i64 [ %5, %7 ], [ %27, %26 ] %12 = phi i64 [ 0, %7 ], [ %28, %26 ] %13 = phi i64 [ 0, %7 ], [ %29, %26 ] %14 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i64 %13 %15 = load i64, ptr %14, align 8, !tbaa.struct !11 %16 = icmp eq i64 %15, %0 br i1 %16, label %17, label %26 17: ; preds = %10 %18 = getelementptr inbounds i8, ptr %14, i64 8 %19 = load i64, ptr %18, align 8, !tbaa.struct !12 %20 = icmp eq i64 %19, %1 br i1 %20, label %21, label %26 21: ; preds = %17 %22 = getelementptr inbounds i64, ptr %2, i64 %12 store i64 %13, ptr %22, align 8, !tbaa !5 %23 = load i64, ptr %3, align 8, !tbaa !5 %24 = add i64 %23, 1 store i64 %24, ptr %3, align 8, !tbaa !5 %25 = load i64, ptr @LED_DRIVER_LED_COUNT, align 8, !tbaa !5 br label %26 26: ; preds = %10, %17, %21 %27 = phi i64 [ %11, %10 ], [ %11, %17 ], [ %25, %21 ] %28 = phi i64 [ %12, %10 ], [ %12, %17 ], [ %24, %21 ] %29 = add nuw i64 %13, 1 %30 = icmp ult i64 %29, %27 br i1 %30, label %10, label %9, !llvm.loop !13 } 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 = !{i64 0, i64 8, !5, i64 8, i64 8, !5} !12 = !{i64 0, i64 8, !5} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/qmk_firmware/quantum/extr_led_matrix.c_map_row_column_to_led.c' source_filename = "AnghaBench/qmk_firmware/quantum/extr_led_matrix.c_map_row_column_to_led.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_5__ = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { i64, i64 } @LED_DRIVER_LED_COUNT = common local_unnamed_addr global i64 0, align 8 @g_leds = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define void @map_row_column_to_led(i64 noundef %0, i64 noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef %3) local_unnamed_addr #0 { store i64 0, ptr %3, align 8, !tbaa !6 %5 = load i64, ptr @LED_DRIVER_LED_COUNT, align 8, !tbaa !6 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %4 %8 = load ptr, ptr @g_leds, align 8, !tbaa !10 br label %10 9: ; preds = %26, %4 ret void 10: ; preds = %7, %26 %11 = phi i64 [ %5, %7 ], [ %27, %26 ] %12 = phi i64 [ 0, %7 ], [ %28, %26 ] %13 = phi i64 [ 0, %7 ], [ %29, %26 ] %14 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i64 %13 %15 = load i64, ptr %14, align 8, !tbaa !6 %16 = icmp eq i64 %15, %0 br i1 %16, label %17, label %26 17: ; preds = %10 %18 = getelementptr inbounds i8, ptr %14, i64 8 %19 = load i64, ptr %18, align 8, !tbaa !6 %20 = icmp eq i64 %19, %1 br i1 %20, label %21, label %26 21: ; preds = %17 %22 = getelementptr inbounds i64, ptr %2, i64 %12 store i64 %13, ptr %22, align 8, !tbaa !6 %23 = load i64, ptr %3, align 8, !tbaa !6 %24 = add i64 %23, 1 store i64 %24, ptr %3, align 8, !tbaa !6 %25 = load i64, ptr @LED_DRIVER_LED_COUNT, align 8, !tbaa !6 br label %26 26: ; preds = %10, %17, %21 %27 = phi i64 [ %11, %10 ], [ %11, %17 ], [ %25, %21 ] %28 = phi i64 [ %12, %10 ], [ %12, %17 ], [ %24, %21 ] %29 = add nuw i64 %13, 1 %30 = icmp ult i64 %29, %27 br i1 %30, label %10, label %9, !llvm.loop !12 } 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 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
qmk_firmware_quantum_extr_led_matrix.c_map_row_column_to_led
; ModuleID = 'AnghaBench/Quake-III-Arena/code/qcommon/extr_huffman.c_get_ppnode.c' source_filename = "AnghaBench/Quake-III-Arena/code/qcommon/extr_huffman.c_get_ppnode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { ptr, i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @get_ppnode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal ptr @get_ppnode(ptr nocapture noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = icmp eq ptr %2, null br i1 %3, label %4, label %12 4: ; preds = %1 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %8 = load i32, ptr %7, align 8, !tbaa !12 %9 = add nsw i32 %8, 1 store i32 %9, ptr %7, align 8, !tbaa !12 %10 = sext i32 %8 to i64 %11 = getelementptr inbounds ptr, ptr %6, i64 %10 br label %14 12: ; preds = %1 %13 = load ptr, ptr %2, align 8, !tbaa !13 store ptr %13, ptr %0, align 8, !tbaa !5 br label %14 14: ; preds = %12, %4 %15 = phi ptr [ %2, %12 ], [ %11, %4 ] ret ptr %15 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 16} !12 = !{!6, !10, i64 8} !13 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/Quake-III-Arena/code/qcommon/extr_huffman.c_get_ppnode.c' source_filename = "AnghaBench/Quake-III-Arena/code/qcommon/extr_huffman.c_get_ppnode.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 @get_ppnode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal ptr @get_ppnode(ptr nocapture noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = icmp eq ptr %2, null br i1 %3, label %4, label %12 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i32, ptr %7, align 8, !tbaa !13 %9 = add nsw i32 %8, 1 store i32 %9, ptr %7, align 8, !tbaa !13 %10 = sext i32 %8 to i64 %11 = getelementptr inbounds ptr, ptr %6, i64 %10 br label %14 12: ; preds = %1 %13 = load ptr, ptr %2, align 8, !tbaa !14 store ptr %13, ptr %0, align 8, !tbaa !6 br label %14 14: ; preds = %12, %4 %15 = phi ptr [ %2, %12 ], [ %11, %4 ] ret ptr %15 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 16} !13 = !{!7, !11, i64 8} !14 = !{!8, !8, i64 0}
Quake-III-Arena_code_qcommon_extr_huffman.c_get_ppnode
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ps3/extr_ps3-vuart.c_ps3_vuart_disable_interrupt_tx.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/ps3/extr_ps3-vuart.c_ps3_vuart_disable_interrupt_tx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @INTERRUPT_MASK_TX = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ps3_vuart_disable_interrupt_tx(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @to_port_priv(ptr noundef %0) #2 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = load i32, ptr @INTERRUPT_MASK_TX, align 4, !tbaa !10 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %11, label %7 7: ; preds = %1 %8 = xor i32 %4, -1 %9 = and i32 %3, %8 %10 = tail call i32 @ps3_vuart_set_interrupt_mask(ptr noundef %0, i32 noundef %9) #2 br label %11 11: ; preds = %1, %7 %12 = phi i32 [ %10, %7 ], [ 0, %1 ] ret i32 %12 } declare ptr @to_port_priv(ptr noundef) local_unnamed_addr #1 declare i32 @ps3_vuart_set_interrupt_mask(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 = !{!"ps3_vuart_port_priv", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ps3/extr_ps3-vuart.c_ps3_vuart_disable_interrupt_tx.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/ps3/extr_ps3-vuart.c_ps3_vuart_disable_interrupt_tx.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INTERRUPT_MASK_TX = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ps3_vuart_disable_interrupt_tx(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @to_port_priv(ptr noundef %0) #2 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = load i32, ptr @INTERRUPT_MASK_TX, align 4, !tbaa !11 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %11, label %7 7: ; preds = %1 %8 = xor i32 %4, -1 %9 = and i32 %3, %8 %10 = tail call i32 @ps3_vuart_set_interrupt_mask(ptr noundef %0, i32 noundef %9) #2 br label %11 11: ; preds = %1, %7 %12 = phi i32 [ %10, %7 ], [ 0, %1 ] ret i32 %12 } declare ptr @to_port_priv(ptr noundef) local_unnamed_addr #1 declare i32 @ps3_vuart_set_interrupt_mask(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 = !{!"ps3_vuart_port_priv", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_ps3_extr_ps3-vuart.c_ps3_vuart_disable_interrupt_tx
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_infrun.c_handle_command.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_infrun.c_handle_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" @.str = private unnamed_addr constant [17 x i8] c"signal to handle\00", align 1 @TARGET_SIGNAL_LAST = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"all\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"stop\00", align 1 @signal_stop = dso_local local_unnamed_addr global i32 0, align 4 @signal_print = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [7 x i8] c"ignore\00", align 1 @signal_program = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [6 x i8] c"print\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"pass\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"nostop\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"noignore\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"noprint\00", align 1 @.str.9 = private unnamed_addr constant [7 x i8] c"nopass\00", align 1 @.str.10 = private unnamed_addr constant [43 x i8] c"Unrecognized or ambiguous flag word: \22%s\22.\00", align 1 @.str.11 = private unnamed_addr constant [65 x i8] c"%s is used by the debugger.\0AAre you sure you want to change it? \00", align 1 @.str.12 = private unnamed_addr constant [27 x i8] c"Not confirmed, unchanged.\0A\00", align 1 @gdb_stdout = dso_local local_unnamed_addr global i32 0, align 4 @inferior_ptid = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @handle_command], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @handle_command(ptr noundef %0, i32 noundef %1) #0 { %3 = icmp eq ptr %0, null br i1 %3, label %4, label %6 4: ; preds = %2 %5 = tail call i32 @error_no_arg(ptr noundef nonnull @.str) #4 br label %6 6: ; preds = %4, %2 %7 = load i64, ptr @TARGET_SIGNAL_LAST, align 8, !tbaa !5 %8 = trunc i64 %7 to i32 %9 = tail call i64 @alloca(i32 noundef %8) #4 %10 = inttoptr i64 %9 to ptr %11 = tail call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef %8) #4 %12 = tail call ptr @buildargv(ptr noundef %0) #4 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %6 %15 = tail call i32 @nomem(i32 noundef 0) #4 br label %16 16: ; preds = %14, %6 %17 = tail call ptr @make_cleanup_freeargv(ptr noundef %12) #4 %18 = load ptr, ptr %12, align 8, !tbaa !9 %19 = icmp eq ptr %18, null br i1 %19, label %168, label %20 20: ; preds = %16 %21 = add nsw i32 %8, -1 br label %22 22: ; preds = %20, %164 %23 = phi ptr [ %18, %20 ], [ %166, %164 ] %24 = phi ptr [ %12, %20 ], [ %165, %164 ] %25 = tail call i32 @strlen(ptr noundef nonnull %23) #4 br label %26 26: ; preds = %26, %22 %27 = phi i64 [ %33, %26 ], [ 0, %22 ] %28 = load ptr, ptr %24, align 8, !tbaa !9 %29 = getelementptr inbounds i8, ptr %28, i64 %27 %30 = load i8, ptr %29, align 1, !tbaa !11 %31 = tail call i64 @isdigit(i8 noundef signext %30) #4 %32 = icmp eq i64 %31, 0 %33 = add nuw i64 %27, 1 br i1 %32, label %34, label %26, !llvm.loop !12 34: ; preds = %26 %35 = icmp sgt i32 %25, 0 br i1 %35, label %36, label %106 36: ; preds = %34 %37 = load ptr, ptr %24, align 8, !tbaa !9 %38 = tail call i32 @strncmp(ptr noundef %37, ptr noundef nonnull @.str.1, i32 noundef %25) #4 %39 = icmp eq i32 %38, 0 br i1 %39, label %133, label %40 40: ; preds = %36 %41 = load ptr, ptr %24, align 8, !tbaa !9 %42 = tail call i32 @strncmp(ptr noundef %41, ptr noundef nonnull @.str.2, i32 noundef %25) #4 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %49 44: ; preds = %40 %45 = load i32, ptr @signal_stop, align 4, !tbaa !14 %46 = tail call i32 @SET_SIGS(i32 noundef %8, ptr noundef %10, i32 noundef %45) #4 %47 = load i32, ptr @signal_print, align 4, !tbaa !14 %48 = tail call i32 @SET_SIGS(i32 noundef %8, ptr noundef %10, i32 noundef %47) #4 br label %164 49: ; preds = %40 %50 = load ptr, ptr %24, align 8, !tbaa !9 %51 = tail call i32 @strncmp(ptr noundef %50, ptr noundef nonnull @.str.3, i32 noundef %25) #4 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %49 %54 = load i32, ptr @signal_program, align 4, !tbaa !14 %55 = tail call i32 @UNSET_SIGS(i32 noundef %8, ptr noundef %10, i32 noundef %54) #4 br label %164 56: ; preds = %49 %57 = icmp eq i32 %25, 1 br i1 %57, label %106, label %58 58: ; preds = %56 %59 = load ptr, ptr %24, align 8, !tbaa !9 %60 = tail call i32 @strncmp(ptr noundef %59, ptr noundef nonnull @.str.4, i32 noundef %25) #4 %61 = icmp eq i32 %60, 0 br i1 %61, label %62, label %65 62: ; preds = %58 %63 = load i32, ptr @signal_print, align 4, !tbaa !14 %64 = tail call i32 @SET_SIGS(i32 noundef %8, ptr noundef %10, i32 noundef %63) #4 br label %164 65: ; preds = %58 %66 = load ptr, ptr %24, align 8, !tbaa !9 %67 = tail call i32 @strncmp(ptr noundef %66, ptr noundef nonnull @.str.5, i32 noundef %25) #4 %68 = icmp eq i32 %67, 0 br i1 %68, label %69, label %72 69: ; preds = %65 %70 = load i32, ptr @signal_program, align 4, !tbaa !14 %71 = tail call i32 @SET_SIGS(i32 noundef %8, ptr noundef %10, i32 noundef %70) #4 br label %164 72: ; preds = %65 %73 = icmp ugt i32 %25, 2 br i1 %73, label %74, label %106 74: ; preds = %72 %75 = load ptr, ptr %24, align 8, !tbaa !9 %76 = tail call i32 @strncmp(ptr noundef %75, ptr noundef nonnull @.str.6, i32 noundef %25) #4 %77 = icmp eq i32 %76, 0 br i1 %77, label %78, label %81 78: ; preds = %74 %79 = load i32, ptr @signal_stop, align 4, !tbaa !14 %80 = tail call i32 @UNSET_SIGS(i32 noundef %8, ptr noundef %10, i32 noundef %79) #4 br label %164 81: ; preds = %74 %82 = load ptr, ptr %24, align 8, !tbaa !9 %83 = tail call i32 @strncmp(ptr noundef %82, ptr noundef nonnull @.str.7, i32 noundef %25) #4 %84 = icmp eq i32 %83, 0 br i1 %84, label %85, label %88 85: ; preds = %81 %86 = load i32, ptr @signal_program, align 4, !tbaa !14 %87 = tail call i32 @SET_SIGS(i32 noundef %8, ptr noundef %10, i32 noundef %86) #4 br label %164 88: ; preds = %81 %89 = icmp eq i32 %25, 3 br i1 %89, label %106, label %90 90: ; preds = %88 %91 = load ptr, ptr %24, align 8, !tbaa !9 %92 = tail call i32 @strncmp(ptr noundef %91, ptr noundef nonnull @.str.8, i32 noundef %25) #4 %93 = icmp eq i32 %92, 0 br i1 %93, label %94, label %99 94: ; preds = %90 %95 = load i32, ptr @signal_print, align 4, !tbaa !14 %96 = tail call i32 @UNSET_SIGS(i32 noundef %8, ptr noundef %10, i32 noundef %95) #4 %97 = load i32, ptr @signal_stop, align 4, !tbaa !14 %98 = tail call i32 @UNSET_SIGS(i32 noundef %8, ptr noundef %10, i32 noundef %97) #4 br label %164 99: ; preds = %90 %100 = load ptr, ptr %24, align 8, !tbaa !9 %101 = tail call i32 @strncmp(ptr noundef %100, ptr noundef nonnull @.str.9, i32 noundef %25) #4 %102 = icmp eq i32 %101, 0 br i1 %102, label %103, label %106 103: ; preds = %99 %104 = load i32, ptr @signal_program, align 4, !tbaa !14 %105 = tail call i32 @UNSET_SIGS(i32 noundef %8, ptr noundef %10, i32 noundef %104) #4 br label %164 106: ; preds = %34, %56, %72, %88, %99 %107 = and i64 %27, 4294967295 %108 = icmp eq i64 %107, 0 %109 = load ptr, ptr %24, align 8, !tbaa !9 br i1 %108, label %127, label %110 110: ; preds = %106 %111 = tail call i32 @atoi(ptr nocapture noundef %109) %112 = tail call i64 @target_signal_from_command(i32 noundef %111) #4 %113 = trunc i64 %112 to i32 %114 = load ptr, ptr %24, align 8, !tbaa !9 %115 = getelementptr inbounds i8, ptr %114, i64 %27 %116 = load i8, ptr %115, align 1, !tbaa !11 %117 = icmp eq i8 %116, 45 br i1 %117, label %118, label %123 118: ; preds = %110 %119 = getelementptr inbounds i8, ptr %115, i64 1 %120 = tail call i32 @atoi(ptr nocapture noundef nonnull %119) %121 = tail call i64 @target_signal_from_command(i32 noundef %120) #4 %122 = trunc i64 %121 to i32 br label %123 123: ; preds = %118, %110 %124 = phi i32 [ %122, %118 ], [ %113, %110 ] %125 = tail call i32 @llvm.smax.i32(i32 %124, i32 %113) %126 = tail call i32 @llvm.smin.i32(i32 %124, i32 %113) br label %133 127: ; preds = %106 %128 = tail call i32 @target_signal_from_name(ptr noundef %109) #4 %129 = icmp eq i32 %128, 128 br i1 %129, label %130, label %133 130: ; preds = %127 %131 = load ptr, ptr %24, align 8, !tbaa !9 %132 = tail call i32 @error(ptr noundef nonnull @.str.10, ptr noundef %131) #4 br label %164 133: ; preds = %36, %123, %127 %134 = phi i32 [ %125, %123 ], [ %128, %127 ], [ %21, %36 ] %135 = phi i1 [ true, %123 ], [ true, %127 ], [ false, %36 ] %136 = phi i32 [ %126, %123 ], [ %128, %127 ], [ 0, %36 ] %137 = icmp sgt i32 %136, -1 %138 = icmp sle i32 %136, %134 %139 = select i1 %137, i1 %138, i1 false br i1 %139, label %140, label %164 140: ; preds = %133 %141 = zext nneg i32 %136 to i64 br label %142 142: ; preds = %140, %161 %143 = phi i64 [ %141, %140 ], [ %162, %161 ] %144 = trunc i64 %143 to i32 switch i32 %144, label %159 [ i32 129, label %145 i32 130, label %145 i32 132, label %161 i32 131, label %161 i32 128, label %161 ] 145: ; preds = %142, %142 br i1 %135, label %146, label %161 146: ; preds = %145 %147 = getelementptr inbounds i8, ptr %10, i64 %143 %148 = load i8, ptr %147, align 1, !tbaa !11 %149 = icmp eq i8 %148, 0 br i1 %149, label %150, label %161 150: ; preds = %146 %151 = tail call i32 @target_signal_to_name(i32 noundef %144) #4 %152 = tail call i32 @query(ptr noundef nonnull @.str.11, i32 noundef %151) #4 %153 = icmp eq i32 %152, 0 br i1 %153, label %155, label %154 154: ; preds = %150 store i8 1, ptr %147, align 1, !tbaa !11 br label %161 155: ; preds = %150 %156 = tail call i32 @printf_unfiltered(ptr noundef nonnull @.str.12) #4 %157 = load i32, ptr @gdb_stdout, align 4, !tbaa !14 %158 = tail call i32 @gdb_flush(i32 noundef %157) #4 br label %161 159: ; preds = %142 %160 = getelementptr inbounds i8, ptr %10, i64 %143 store i8 1, ptr %160, align 1, !tbaa !11 br label %161 161: ; preds = %159, %154, %155, %146, %145, %142, %142, %142 %162 = add nuw nsw i64 %143, 1 %163 = icmp sgt i32 %134, %144 br i1 %163, label %142, label %164, !llvm.loop !16 164: ; preds = %161, %44, %53, %62, %69, %78, %85, %94, %103, %130, %133 %165 = getelementptr inbounds ptr, ptr %24, i64 1 %166 = load ptr, ptr %165, align 8, !tbaa !9 %167 = icmp eq ptr %166, null br i1 %167, label %168, label %22, !llvm.loop !17 168: ; preds = %164, %16 %169 = load i32, ptr @inferior_ptid, align 4, !tbaa !14 %170 = tail call i32 @target_notice_signals(i32 noundef %169) #4 %171 = icmp eq i32 %1, 0 br i1 %171, label %188, label %172 172: ; preds = %168 %173 = tail call i32 (...) @sig_print_header() #4 %174 = icmp sgt i32 %8, 0 br i1 %174, label %175, label %188 175: ; preds = %172 %176 = and i64 %7, 4294967295 br label %177 177: ; preds = %175, %185 %178 = phi i64 [ 0, %175 ], [ %186, %185 ] %179 = getelementptr inbounds i8, ptr %10, i64 %178 %180 = load i8, ptr %179, align 1, !tbaa !11 %181 = icmp eq i8 %180, 0 br i1 %181, label %185, label %182 182: ; preds = %177 %183 = trunc i64 %178 to i32 %184 = tail call i32 @sig_print_info(i32 noundef %183) #4 br label %185 185: ; preds = %177, %182 %186 = add nuw nsw i64 %178, 1 %187 = icmp eq i64 %186, %176 br i1 %187, label %188, label %177, !llvm.loop !18 188: ; preds = %185, %172, %168 %189 = tail call i32 @do_cleanups(ptr noundef %17) #4 ret void } declare i32 @error_no_arg(ptr noundef) local_unnamed_addr #1 declare i64 @alloca(i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @buildargv(ptr noundef) local_unnamed_addr #1 declare i32 @nomem(i32 noundef) local_unnamed_addr #1 declare ptr @make_cleanup_freeargv(ptr noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i64 @isdigit(i8 noundef signext) local_unnamed_addr #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SET_SIGS(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @UNSET_SIGS(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @target_signal_from_command(i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #2 declare i32 @target_signal_from_name(ptr noundef) local_unnamed_addr #1 declare i32 @error(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @query(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @target_signal_to_name(i32 noundef) local_unnamed_addr #1 declare i32 @printf_unfiltered(ptr noundef) local_unnamed_addr #1 declare i32 @gdb_flush(i32 noundef) local_unnamed_addr #1 declare i32 @target_notice_signals(i32 noundef) local_unnamed_addr #1 declare i32 @sig_print_header(...) local_unnamed_addr #1 declare i32 @sig_print_info(i32 noundef) local_unnamed_addr #1 declare i32 @do_cleanups(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.i32(i32, i32) #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-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(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!7, !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!15, !15, i64 0} !15 = !{!"int", !7, i64 0} !16 = distinct !{!16, !13} !17 = distinct !{!17, !13} !18 = distinct !{!18, !13}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_infrun.c_handle_command.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_infrun.c_handle_command.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 [17 x i8] c"signal to handle\00", align 1 @TARGET_SIGNAL_LAST = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"all\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"stop\00", align 1 @signal_stop = common local_unnamed_addr global i32 0, align 4 @signal_print = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [7 x i8] c"ignore\00", align 1 @signal_program = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [6 x i8] c"print\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"pass\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"nostop\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"noignore\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"noprint\00", align 1 @.str.9 = private unnamed_addr constant [7 x i8] c"nopass\00", align 1 @.str.10 = private unnamed_addr constant [43 x i8] c"Unrecognized or ambiguous flag word: \22%s\22.\00", align 1 @.str.11 = private unnamed_addr constant [65 x i8] c"%s is used by the debugger.\0AAre you sure you want to change it? \00", align 1 @.str.12 = private unnamed_addr constant [27 x i8] c"Not confirmed, unchanged.\0A\00", align 1 @gdb_stdout = common local_unnamed_addr global i32 0, align 4 @inferior_ptid = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @handle_command], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @handle_command(ptr noundef %0, i32 noundef %1) #0 { %3 = icmp eq ptr %0, null br i1 %3, label %4, label %6 4: ; preds = %2 %5 = tail call i32 @error_no_arg(ptr noundef nonnull @.str) #4 br label %6 6: ; preds = %4, %2 %7 = load i64, ptr @TARGET_SIGNAL_LAST, align 8, !tbaa !6 %8 = trunc i64 %7 to i32 %9 = tail call i64 @alloca(i32 noundef %8) #4 %10 = inttoptr i64 %9 to ptr %11 = tail call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef %8) #4 %12 = tail call ptr @buildargv(ptr noundef %0) #4 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %6 %15 = tail call i32 @nomem(i32 noundef 0) #4 br label %16 16: ; preds = %14, %6 %17 = tail call ptr @make_cleanup_freeargv(ptr noundef %12) #4 %18 = load ptr, ptr %12, align 8, !tbaa !10 %19 = icmp eq ptr %18, null br i1 %19, label %167, label %20 20: ; preds = %16 %21 = add nsw i32 %8, -1 br label %22 22: ; preds = %20, %163 %23 = phi ptr [ %18, %20 ], [ %165, %163 ] %24 = phi ptr [ %12, %20 ], [ %164, %163 ] %25 = tail call i32 @strlen(ptr noundef nonnull %23) #4 br label %26 26: ; preds = %26, %22 %27 = phi i64 [ %33, %26 ], [ 0, %22 ] %28 = load ptr, ptr %24, align 8, !tbaa !10 %29 = getelementptr inbounds i8, ptr %28, i64 %27 %30 = load i8, ptr %29, align 1, !tbaa !12 %31 = tail call i64 @isdigit(i8 noundef signext %30) #4 %32 = icmp eq i64 %31, 0 %33 = add nuw nsw i64 %27, 1 br i1 %32, label %34, label %26, !llvm.loop !13 34: ; preds = %26 %35 = icmp sgt i32 %25, 0 br i1 %35, label %36, label %106 36: ; preds = %34 %37 = load ptr, ptr %24, align 8, !tbaa !10 %38 = tail call i32 @strncmp(ptr noundef %37, ptr noundef nonnull @.str.1, i32 noundef %25) #4 %39 = icmp eq i32 %38, 0 br i1 %39, label %132, label %40 40: ; preds = %36 %41 = load ptr, ptr %24, align 8, !tbaa !10 %42 = tail call i32 @strncmp(ptr noundef %41, ptr noundef nonnull @.str.2, i32 noundef %25) #4 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %49 44: ; preds = %40 %45 = load i32, ptr @signal_stop, align 4, !tbaa !15 %46 = tail call i32 @SET_SIGS(i32 noundef %8, ptr noundef %10, i32 noundef %45) #4 %47 = load i32, ptr @signal_print, align 4, !tbaa !15 %48 = tail call i32 @SET_SIGS(i32 noundef %8, ptr noundef %10, i32 noundef %47) #4 br label %163 49: ; preds = %40 %50 = load ptr, ptr %24, align 8, !tbaa !10 %51 = tail call i32 @strncmp(ptr noundef %50, ptr noundef nonnull @.str.3, i32 noundef %25) #4 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %49 %54 = load i32, ptr @signal_program, align 4, !tbaa !15 %55 = tail call i32 @UNSET_SIGS(i32 noundef %8, ptr noundef %10, i32 noundef %54) #4 br label %163 56: ; preds = %49 %57 = icmp eq i32 %25, 1 br i1 %57, label %106, label %58 58: ; preds = %56 %59 = load ptr, ptr %24, align 8, !tbaa !10 %60 = tail call i32 @strncmp(ptr noundef %59, ptr noundef nonnull @.str.4, i32 noundef %25) #4 %61 = icmp eq i32 %60, 0 br i1 %61, label %62, label %65 62: ; preds = %58 %63 = load i32, ptr @signal_print, align 4, !tbaa !15 %64 = tail call i32 @SET_SIGS(i32 noundef %8, ptr noundef %10, i32 noundef %63) #4 br label %163 65: ; preds = %58 %66 = load ptr, ptr %24, align 8, !tbaa !10 %67 = tail call i32 @strncmp(ptr noundef %66, ptr noundef nonnull @.str.5, i32 noundef %25) #4 %68 = icmp eq i32 %67, 0 br i1 %68, label %69, label %72 69: ; preds = %65 %70 = load i32, ptr @signal_program, align 4, !tbaa !15 %71 = tail call i32 @SET_SIGS(i32 noundef %8, ptr noundef %10, i32 noundef %70) #4 br label %163 72: ; preds = %65 %73 = icmp ugt i32 %25, 2 br i1 %73, label %74, label %106 74: ; preds = %72 %75 = load ptr, ptr %24, align 8, !tbaa !10 %76 = tail call i32 @strncmp(ptr noundef %75, ptr noundef nonnull @.str.6, i32 noundef %25) #4 %77 = icmp eq i32 %76, 0 br i1 %77, label %78, label %81 78: ; preds = %74 %79 = load i32, ptr @signal_stop, align 4, !tbaa !15 %80 = tail call i32 @UNSET_SIGS(i32 noundef %8, ptr noundef %10, i32 noundef %79) #4 br label %163 81: ; preds = %74 %82 = load ptr, ptr %24, align 8, !tbaa !10 %83 = tail call i32 @strncmp(ptr noundef %82, ptr noundef nonnull @.str.7, i32 noundef %25) #4 %84 = icmp eq i32 %83, 0 br i1 %84, label %85, label %88 85: ; preds = %81 %86 = load i32, ptr @signal_program, align 4, !tbaa !15 %87 = tail call i32 @SET_SIGS(i32 noundef %8, ptr noundef %10, i32 noundef %86) #4 br label %163 88: ; preds = %81 %89 = icmp eq i32 %25, 3 br i1 %89, label %106, label %90 90: ; preds = %88 %91 = load ptr, ptr %24, align 8, !tbaa !10 %92 = tail call i32 @strncmp(ptr noundef %91, ptr noundef nonnull @.str.8, i32 noundef %25) #4 %93 = icmp eq i32 %92, 0 br i1 %93, label %94, label %99 94: ; preds = %90 %95 = load i32, ptr @signal_print, align 4, !tbaa !15 %96 = tail call i32 @UNSET_SIGS(i32 noundef %8, ptr noundef %10, i32 noundef %95) #4 %97 = load i32, ptr @signal_stop, align 4, !tbaa !15 %98 = tail call i32 @UNSET_SIGS(i32 noundef %8, ptr noundef %10, i32 noundef %97) #4 br label %163 99: ; preds = %90 %100 = load ptr, ptr %24, align 8, !tbaa !10 %101 = tail call i32 @strncmp(ptr noundef %100, ptr noundef nonnull @.str.9, i32 noundef %25) #4 %102 = icmp eq i32 %101, 0 br i1 %102, label %103, label %106 103: ; preds = %99 %104 = load i32, ptr @signal_program, align 4, !tbaa !15 %105 = tail call i32 @UNSET_SIGS(i32 noundef %8, ptr noundef %10, i32 noundef %104) #4 br label %163 106: ; preds = %34, %56, %72, %88, %99 %107 = icmp eq i64 %27, 0 %108 = load ptr, ptr %24, align 8, !tbaa !10 br i1 %107, label %126, label %109 109: ; preds = %106 %110 = tail call i32 @atoi(ptr nocapture noundef %108) %111 = tail call i64 @target_signal_from_command(i32 noundef %110) #4 %112 = trunc i64 %111 to i32 %113 = load ptr, ptr %24, align 8, !tbaa !10 %114 = getelementptr inbounds i8, ptr %113, i64 %27 %115 = load i8, ptr %114, align 1, !tbaa !12 %116 = icmp eq i8 %115, 45 br i1 %116, label %117, label %122 117: ; preds = %109 %118 = getelementptr inbounds i8, ptr %114, i64 1 %119 = tail call i32 @atoi(ptr nocapture noundef nonnull %118) %120 = tail call i64 @target_signal_from_command(i32 noundef %119) #4 %121 = trunc i64 %120 to i32 br label %122 122: ; preds = %117, %109 %123 = phi i32 [ %121, %117 ], [ %112, %109 ] %124 = tail call i32 @llvm.smax.i32(i32 %123, i32 %112) %125 = tail call i32 @llvm.smin.i32(i32 %123, i32 %112) br label %132 126: ; preds = %106 %127 = tail call i32 @target_signal_from_name(ptr noundef %108) #4 %128 = icmp eq i32 %127, 128 br i1 %128, label %129, label %132 129: ; preds = %126 %130 = load ptr, ptr %24, align 8, !tbaa !10 %131 = tail call i32 @error(ptr noundef nonnull @.str.10, ptr noundef %130) #4 br label %163 132: ; preds = %36, %122, %126 %133 = phi i32 [ %124, %122 ], [ %127, %126 ], [ %21, %36 ] %134 = phi i1 [ true, %122 ], [ true, %126 ], [ false, %36 ] %135 = phi i32 [ %125, %122 ], [ %127, %126 ], [ 0, %36 ] %136 = icmp sgt i32 %135, -1 %137 = icmp sle i32 %135, %133 %138 = select i1 %136, i1 %137, i1 false br i1 %138, label %139, label %163 139: ; preds = %132 %140 = zext nneg i32 %135 to i64 br label %141 141: ; preds = %139, %160 %142 = phi i64 [ %140, %139 ], [ %161, %160 ] %143 = trunc nuw i64 %142 to i32 switch i32 %143, label %158 [ i32 129, label %144 i32 130, label %144 i32 132, label %160 i32 131, label %160 i32 128, label %160 ] 144: ; preds = %141, %141 br i1 %134, label %145, label %160 145: ; preds = %144 %146 = getelementptr inbounds i8, ptr %10, i64 %142 %147 = load i8, ptr %146, align 1, !tbaa !12 %148 = icmp eq i8 %147, 0 br i1 %148, label %149, label %160 149: ; preds = %145 %150 = tail call i32 @target_signal_to_name(i32 noundef %143) #4 %151 = tail call i32 @query(ptr noundef nonnull @.str.11, i32 noundef %150) #4 %152 = icmp eq i32 %151, 0 br i1 %152, label %154, label %153 153: ; preds = %149 store i8 1, ptr %146, align 1, !tbaa !12 br label %160 154: ; preds = %149 %155 = tail call i32 @printf_unfiltered(ptr noundef nonnull @.str.12) #4 %156 = load i32, ptr @gdb_stdout, align 4, !tbaa !15 %157 = tail call i32 @gdb_flush(i32 noundef %156) #4 br label %160 158: ; preds = %141 %159 = getelementptr inbounds i8, ptr %10, i64 %142 store i8 1, ptr %159, align 1, !tbaa !12 br label %160 160: ; preds = %158, %153, %154, %145, %144, %141, %141, %141 %161 = add nuw nsw i64 %142, 1 %162 = icmp sgt i32 %133, %143 br i1 %162, label %141, label %163, !llvm.loop !17 163: ; preds = %160, %44, %53, %62, %69, %78, %85, %94, %103, %129, %132 %164 = getelementptr inbounds i8, ptr %24, i64 8 %165 = load ptr, ptr %164, align 8, !tbaa !10 %166 = icmp eq ptr %165, null br i1 %166, label %167, label %22, !llvm.loop !18 167: ; preds = %163, %16 %168 = load i32, ptr @inferior_ptid, align 4, !tbaa !15 %169 = tail call i32 @target_notice_signals(i32 noundef %168) #4 %170 = icmp eq i32 %1, 0 br i1 %170, label %187, label %171 171: ; preds = %167 %172 = tail call i32 @sig_print_header() #4 %173 = icmp sgt i32 %8, 0 br i1 %173, label %174, label %187 174: ; preds = %171 %175 = and i64 %7, 2147483647 br label %176 176: ; preds = %174, %184 %177 = phi i64 [ 0, %174 ], [ %185, %184 ] %178 = getelementptr inbounds i8, ptr %10, i64 %177 %179 = load i8, ptr %178, align 1, !tbaa !12 %180 = icmp eq i8 %179, 0 br i1 %180, label %184, label %181 181: ; preds = %176 %182 = trunc nuw nsw i64 %177 to i32 %183 = tail call i32 @sig_print_info(i32 noundef %182) #4 br label %184 184: ; preds = %176, %181 %185 = add nuw nsw i64 %177, 1 %186 = icmp eq i64 %185, %175 br i1 %186, label %187, label %176, !llvm.loop !19 187: ; preds = %184, %171, %167 %188 = tail call i32 @do_cleanups(ptr noundef %17) #4 ret void } declare i32 @error_no_arg(ptr noundef) local_unnamed_addr #1 declare i64 @alloca(i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @buildargv(ptr noundef) local_unnamed_addr #1 declare i32 @nomem(i32 noundef) local_unnamed_addr #1 declare ptr @make_cleanup_freeargv(ptr noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i64 @isdigit(i8 noundef signext) local_unnamed_addr #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SET_SIGS(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @UNSET_SIGS(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @target_signal_from_command(i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #2 declare i32 @target_signal_from_name(ptr noundef) local_unnamed_addr #1 declare i32 @error(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @query(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @target_signal_to_name(i32 noundef) local_unnamed_addr #1 declare i32 @printf_unfiltered(ptr noundef) local_unnamed_addr #1 declare i32 @gdb_flush(i32 noundef) local_unnamed_addr #1 declare i32 @target_notice_signals(i32 noundef) local_unnamed_addr #1 declare i32 @sig_print_header(...) local_unnamed_addr #1 declare i32 @sig_print_info(i32 noundef) local_unnamed_addr #1 declare i32 @do_cleanups(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.i32(i32, i32) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!8, !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!16, !16, i64 0} !16 = !{!"int", !8, i64 0} !17 = distinct !{!17, !14} !18 = distinct !{!18, !14} !19 = distinct !{!19, !14}
freebsd_contrib_gdb_gdb_extr_infrun.c_handle_command
; ModuleID = 'AnghaBench/freebsd/sys/powerpc/ps3/extr_mmu_ps3.c_mps3_pte_unset.c' source_filename = "AnghaBench/freebsd/sys/powerpc/ps3/extr_mmu_ps3.c_mps3_pte_unset.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @mps3_table_lock = dso_local global i32 0, align 4 @moea64_pte_overflow = dso_local local_unnamed_addr global i32 0, align 4 @mps3_vas_id = dso_local local_unnamed_addr global i32 0, align 4 @moea64_pte_valid = dso_local local_unnamed_addr global i32 0, align 4 @LPTE_REF = dso_local local_unnamed_addr global i32 0, align 4 @LPTE_CHG = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mps3_pte_unset], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mps3_pte_unset(i32 %0, ptr noundef %1) #0 { %3 = tail call i32 @mtx_lock(ptr noundef nonnull @mps3_table_lock) #2 %4 = tail call i32 @mps3_pte_synch_locked(ptr noundef %1) #2 %5 = icmp slt i32 %4, 0 br i1 %5, label %6, label %11 6: ; preds = %2 %7 = load i32, ptr @moea64_pte_overflow, align 4, !tbaa !5 %8 = add nsw i32 %7, -1 store i32 %8, ptr @moea64_pte_overflow, align 4, !tbaa !5 %9 = tail call i32 @STAT_MOEA64(i32 noundef %7) #2 %10 = tail call i32 @mtx_unlock(ptr noundef nonnull @mps3_table_lock) #2 br label %23 11: ; preds = %2 %12 = load i32, ptr @mps3_vas_id, align 4, !tbaa !5 %13 = load i32, ptr %1, align 4, !tbaa !9 %14 = tail call i32 @lv1_write_htab_entry(i32 noundef %12, i32 noundef %13, i32 noundef 0, i32 noundef 0) #2 %15 = tail call i32 @mtx_unlock(ptr noundef nonnull @mps3_table_lock) #2 %16 = load i32, ptr @moea64_pte_valid, align 4, !tbaa !5 %17 = add nsw i32 %16, -1 store i32 %17, ptr @moea64_pte_valid, align 4, !tbaa !5 %18 = tail call i32 @STAT_MOEA64(i32 noundef %16) #2 %19 = load i32, ptr @LPTE_REF, align 4, !tbaa !5 %20 = load i32, ptr @LPTE_CHG, align 4, !tbaa !5 %21 = or i32 %20, %19 %22 = and i32 %21, %4 br label %23 23: ; preds = %11, %6 %24 = phi i32 [ -1, %6 ], [ %22, %11 ] ret i32 %24 } declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1 declare i32 @mps3_pte_synch_locked(ptr noundef) local_unnamed_addr #1 declare i32 @STAT_MOEA64(i32 noundef) local_unnamed_addr #1 declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @lv1_write_htab_entry(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"} !9 = !{!10, !6, i64 0} !10 = !{!"pvo_entry", !11, i64 0} !11 = !{!"TYPE_2__", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/powerpc/ps3/extr_mmu_ps3.c_mps3_pte_unset.c' source_filename = "AnghaBench/freebsd/sys/powerpc/ps3/extr_mmu_ps3.c_mps3_pte_unset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @mps3_table_lock = common global i32 0, align 4 @moea64_pte_overflow = common local_unnamed_addr global i32 0, align 4 @mps3_vas_id = common local_unnamed_addr global i32 0, align 4 @moea64_pte_valid = common local_unnamed_addr global i32 0, align 4 @LPTE_REF = common local_unnamed_addr global i32 0, align 4 @LPTE_CHG = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mps3_pte_unset], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, -2147483648) i32 @mps3_pte_unset(i32 %0, ptr noundef %1) #0 { %3 = tail call i32 @mtx_lock(ptr noundef nonnull @mps3_table_lock) #2 %4 = tail call i32 @mps3_pte_synch_locked(ptr noundef %1) #2 %5 = icmp slt i32 %4, 0 br i1 %5, label %6, label %11 6: ; preds = %2 %7 = load i32, ptr @moea64_pte_overflow, align 4, !tbaa !6 %8 = add nsw i32 %7, -1 store i32 %8, ptr @moea64_pte_overflow, align 4, !tbaa !6 %9 = tail call i32 @STAT_MOEA64(i32 noundef %7) #2 %10 = tail call i32 @mtx_unlock(ptr noundef nonnull @mps3_table_lock) #2 br label %23 11: ; preds = %2 %12 = load i32, ptr @mps3_vas_id, align 4, !tbaa !6 %13 = load i32, ptr %1, align 4, !tbaa !10 %14 = tail call i32 @lv1_write_htab_entry(i32 noundef %12, i32 noundef %13, i32 noundef 0, i32 noundef 0) #2 %15 = tail call i32 @mtx_unlock(ptr noundef nonnull @mps3_table_lock) #2 %16 = load i32, ptr @moea64_pte_valid, align 4, !tbaa !6 %17 = add nsw i32 %16, -1 store i32 %17, ptr @moea64_pte_valid, align 4, !tbaa !6 %18 = tail call i32 @STAT_MOEA64(i32 noundef %16) #2 %19 = load i32, ptr @LPTE_REF, align 4, !tbaa !6 %20 = load i32, ptr @LPTE_CHG, align 4, !tbaa !6 %21 = or i32 %20, %19 %22 = and i32 %21, %4 br label %23 23: ; preds = %11, %6 %24 = phi i32 [ -1, %6 ], [ %22, %11 ] ret i32 %24 } declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1 declare i32 @mps3_pte_synch_locked(ptr noundef) local_unnamed_addr #1 declare i32 @STAT_MOEA64(i32 noundef) local_unnamed_addr #1 declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @lv1_write_htab_entry(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"} !10 = !{!11, !7, i64 0} !11 = !{!"pvo_entry", !12, i64 0} !12 = !{!"TYPE_2__", !7, i64 0}
freebsd_sys_powerpc_ps3_extr_mmu_ps3.c_mps3_pte_unset
; ModuleID = 'AnghaBench/xLua/build/lua-5.1.5/src/extr_lcode.c_luaK_exp2nextreg.c' source_filename = "AnghaBench/xLua/build/lua-5.1.5/src/extr_lcode.c_luaK_exp2nextreg.c" target datalayout = "e-m:e-p270:32:32-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 @luaK_exp2nextreg(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @luaK_dischargevars(ptr noundef %0, ptr noundef %1) #2 %4 = tail call i32 @freeexp(ptr noundef %0, ptr noundef %1) #2 %5 = tail call i32 @luaK_reserveregs(ptr noundef %0, i32 noundef 1) #2 %6 = load i64, ptr %0, align 8, !tbaa !5 %7 = add nsw i64 %6, -1 %8 = tail call i32 @exp2reg(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %7) #2 ret void } declare i32 @luaK_dischargevars(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @freeexp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @luaK_reserveregs(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @exp2reg(ptr noundef, 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, !7, i64 0} !6 = !{!"TYPE_7__", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/xLua/build/lua-5.1.5/src/extr_lcode.c_luaK_exp2nextreg.c' source_filename = "AnghaBench/xLua/build/lua-5.1.5/src/extr_lcode.c_luaK_exp2nextreg.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 @luaK_exp2nextreg(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @luaK_dischargevars(ptr noundef %0, ptr noundef %1) #2 %4 = tail call i32 @freeexp(ptr noundef %0, ptr noundef %1) #2 %5 = tail call i32 @luaK_reserveregs(ptr noundef %0, i32 noundef 1) #2 %6 = load i64, ptr %0, align 8, !tbaa !6 %7 = add nsw i64 %6, -1 %8 = tail call i32 @exp2reg(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %7) #2 ret void } declare i32 @luaK_dischargevars(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @freeexp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @luaK_reserveregs(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @exp2reg(ptr noundef, 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, !8, i64 0} !7 = !{!"TYPE_7__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
xLua_build_lua-5.1.5_src_extr_lcode.c_luaK_exp2nextreg
; ModuleID = 'AnghaBench/sqlcipher/ext/misc/extr_vfslog.c_vlogUnlock.c' source_filename = "AnghaBench/sqlcipher/ext/misc/extr_vfslog.c_vlogUnlock.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { ptr, i32 } @.str = private unnamed_addr constant [7 x i8] c"UNLOCK\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @vlogUnlock], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vlogUnlock(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = tail call i32 (...) @vlog_time() #2 %4 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %5 = load i32, ptr %4, align 8, !tbaa !5 %6 = tail call i32 @vlogLogPrint(i32 noundef %5, i32 noundef %3, i32 noundef 0, ptr noundef nonnull @.str, i32 noundef %1, i32 noundef -1, i32 noundef 0, i32 noundef 0) #2 %7 = load ptr, ptr %0, align 8, !tbaa !11 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = load ptr, ptr %8, align 8, !tbaa !14 %10 = tail call i32 %9(ptr noundef nonnull %7, i32 noundef %1) #2 ret i32 %10 } declare i32 @vlog_time(...) local_unnamed_addr #1 declare i32 @vlogLogPrint(i32 noundef, i32 noundef, i32 noundef, 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, !10, i64 8} !6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_6__", !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_4__", !7, i64 0}
; ModuleID = 'AnghaBench/sqlcipher/ext/misc/extr_vfslog.c_vlogUnlock.c' source_filename = "AnghaBench/sqlcipher/ext/misc/extr_vfslog.c_vlogUnlock.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [7 x i8] c"UNLOCK\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @vlogUnlock], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @vlogUnlock(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = tail call i32 @vlog_time() #2 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i32, ptr %4, align 8, !tbaa !6 %6 = tail call i32 @vlogLogPrint(i32 noundef %5, i32 noundef %3, i32 noundef 0, ptr noundef nonnull @.str, i32 noundef %1, i32 noundef -1, i32 noundef 0, i32 noundef 0) #2 %7 = load ptr, ptr %0, align 8, !tbaa !12 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = load ptr, ptr %8, align 8, !tbaa !15 %10 = tail call i32 %9(ptr noundef nonnull %7, i32 noundef %1) #2 ret i32 %10 } declare i32 @vlog_time(...) local_unnamed_addr #1 declare i32 @vlogLogPrint(i32 noundef, i32 noundef, i32 noundef, 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, !11, i64 8} !7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_6__", !8, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_4__", !8, i64 0}
sqlcipher_ext_misc_extr_vfslog.c_vlogUnlock
; ModuleID = 'AnghaBench/freebsd/sys/i386/i386/extr_vm_machdep.c_sf_buf_invalidate.c' source_filename = "AnghaBench/freebsd/sys/i386/i386/extr_vm_machdep.c_sf_buf_invalidate.c" target datalayout = "e-m:e-p270:32:32-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.sf_buf = type { i64, i32 } @PAGE_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @sf_buf_invalidate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sf_buf_invalidate(ptr nocapture noundef readonly %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = getelementptr inbounds %struct.sf_buf, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 8, !tbaa !5 store i32 %4, ptr %2, align 4, !tbaa !11 %5 = load i64, ptr %0, align 8, !tbaa !12 %6 = call i32 @pmap_qenter(i64 noundef %5, ptr noundef nonnull %2, i32 noundef 1) #3 %7 = load i64, ptr %0, align 8, !tbaa !12 %8 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !13 %9 = add nsw i64 %8, %7 %10 = call i32 @pmap_invalidate_cache_range(i64 noundef %7, i64 noundef %9) #3 call void @llvm.lifetime.end.p0(i64 4, 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 i32 @pmap_qenter(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pmap_invalidate_cache_range(i64 noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"sf_buf", !7, i64 0, !10, i64 8} !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 = !{!6, !7, i64 0} !13 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/i386/i386/extr_vm_machdep.c_sf_buf_invalidate.c' source_filename = "AnghaBench/freebsd/sys/i386/i386/extr_vm_machdep.c_sf_buf_invalidate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PAGE_SIZE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @sf_buf_invalidate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sf_buf_invalidate(ptr nocapture noundef readonly %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i32, ptr %3, align 8, !tbaa !6 store i32 %4, ptr %2, align 4, !tbaa !12 %5 = load i64, ptr %0, align 8, !tbaa !13 %6 = call i32 @pmap_qenter(i64 noundef %5, ptr noundef nonnull %2, i32 noundef 1) #3 %7 = load i64, ptr %0, align 8, !tbaa !13 %8 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !14 %9 = add nsw i64 %8, %7 %10 = call i32 @pmap_invalidate_cache_range(i64 noundef %7, i64 noundef %9) #3 call void @llvm.lifetime.end.p0(i64 4, 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 i32 @pmap_qenter(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pmap_invalidate_cache_range(i64 noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"sf_buf", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!8, !8, i64 0}
freebsd_sys_i386_i386_extr_vm_machdep.c_sf_buf_invalidate
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/binutils/extr_dlltool.c_scan_open_obj_file.c' source_filename = "AnghaBench/freebsd/contrib/binutils/binutils/extr_dlltool.c_scan_open_obj_file.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @export_all_symbols = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [16 x i8] c"Done reading %s\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @scan_open_obj_file], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @scan_open_obj_file(ptr noundef %0) #0 { %2 = load i64, ptr @export_all_symbols, align 8, !tbaa !5 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @scan_all_symbols(ptr noundef %0) #2 br label %8 6: ; preds = %1 %7 = tail call i32 @scan_drectve_symbols(ptr noundef %0) #2 br label %8 8: ; preds = %6, %4 %9 = tail call i32 @_(ptr noundef nonnull @.str) #2 %10 = tail call i32 @bfd_get_filename(ptr noundef %0) #2 %11 = tail call i32 @inform(i32 noundef %9, i32 noundef %10) #2 ret void } declare i32 @scan_all_symbols(ptr noundef) local_unnamed_addr #1 declare i32 @scan_drectve_symbols(ptr noundef) local_unnamed_addr #1 declare i32 @inform(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @_(ptr noundef) local_unnamed_addr #1 declare i32 @bfd_get_filename(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/binutils/extr_dlltool.c_scan_open_obj_file.c' source_filename = "AnghaBench/freebsd/contrib/binutils/binutils/extr_dlltool.c_scan_open_obj_file.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @export_all_symbols = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [16 x i8] c"Done reading %s\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @scan_open_obj_file], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @scan_open_obj_file(ptr noundef %0) #0 { %2 = load i64, ptr @export_all_symbols, align 8, !tbaa !6 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @scan_all_symbols(ptr noundef %0) #2 br label %8 6: ; preds = %1 %7 = tail call i32 @scan_drectve_symbols(ptr noundef %0) #2 br label %8 8: ; preds = %6, %4 %9 = tail call i32 @_(ptr noundef nonnull @.str) #2 %10 = tail call i32 @bfd_get_filename(ptr noundef %0) #2 %11 = tail call i32 @inform(i32 noundef %9, i32 noundef %10) #2 ret void } declare i32 @scan_all_symbols(ptr noundef) local_unnamed_addr #1 declare i32 @scan_drectve_symbols(ptr noundef) local_unnamed_addr #1 declare i32 @inform(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @_(ptr noundef) local_unnamed_addr #1 declare i32 @bfd_get_filename(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_binutils_binutils_extr_dlltool.c_scan_open_obj_file
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_urtw.c_urtw_getradiocaps.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_urtw.c_urtw_getradiocaps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IEEE80211_MODE_BYTES = dso_local local_unnamed_addr global i32 0, align 4 @IEEE80211_MODE_11B = dso_local local_unnamed_addr global i32 0, align 4 @IEEE80211_MODE_11G = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @urtw_getradiocaps], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @urtw_getradiocaps(ptr nocapture readnone %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = load i32, ptr @IEEE80211_MODE_BYTES, align 4, !tbaa !5 %6 = zext i32 %5 to i64 %7 = alloca i32, i64 %6, align 16 %8 = shl i32 %5, 2 %9 = call i32 @memset(ptr noundef nonnull %7, i32 noundef 0, i32 noundef %8) #2 %10 = load i32, ptr @IEEE80211_MODE_11B, align 4, !tbaa !5 %11 = call i32 @setbit(ptr noundef nonnull %7, i32 noundef %10) #2 %12 = load i32, ptr @IEEE80211_MODE_11G, align 4, !tbaa !5 %13 = call i32 @setbit(ptr noundef nonnull %7, i32 noundef %12) #2 %14 = call i32 @ieee80211_add_channels_default_2ghz(ptr noundef %3, i32 noundef %1, ptr noundef %2, ptr noundef nonnull %7, i32 noundef 0) #2 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @setbit(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ieee80211_add_channels_default_2ghz(ptr noundef, i32 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_urtw.c_urtw_getradiocaps.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_urtw.c_urtw_getradiocaps.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IEEE80211_MODE_BYTES = common local_unnamed_addr global i32 0, align 4 @IEEE80211_MODE_11B = common local_unnamed_addr global i32 0, align 4 @IEEE80211_MODE_11G = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @urtw_getradiocaps], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @urtw_getradiocaps(ptr nocapture readnone %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = load i32, ptr @IEEE80211_MODE_BYTES, align 4, !tbaa !6 %6 = zext i32 %5 to i64 %7 = alloca i32, i64 %6, align 4 %8 = shl i32 %5, 2 %9 = call i32 @memset(ptr noundef nonnull %7, i32 noundef 0, i32 noundef %8) #2 %10 = load i32, ptr @IEEE80211_MODE_11B, align 4, !tbaa !6 %11 = call i32 @setbit(ptr noundef nonnull %7, i32 noundef %10) #2 %12 = load i32, ptr @IEEE80211_MODE_11G, align 4, !tbaa !6 %13 = call i32 @setbit(ptr noundef nonnull %7, i32 noundef %12) #2 %14 = call i32 @ieee80211_add_channels_default_2ghz(ptr noundef %3, i32 noundef %1, ptr noundef %2, ptr noundef nonnull %7, i32 noundef 0) #2 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @setbit(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ieee80211_add_channels_default_2ghz(ptr noundef, i32 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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_usb_wlan_extr_if_urtw.c_urtw_getradiocaps
; ModuleID = 'AnghaBench/freebsd/sys/dev/flash/extr_n25q.c_n25q_strategy.c' source_filename = "AnghaBench/freebsd/sys/dev/flash/extr_n25q.c_n25q_strategy.c" target datalayout = "e-m:e-p270:32:32-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 @n25q_strategy], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @n25q_strategy(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr %2, align 8, !tbaa !10 %4 = inttoptr i64 %3 to ptr %5 = tail call i32 @N25Q_LOCK(ptr noundef %4) #2 %6 = tail call i32 @bioq_disksort(ptr noundef %4, ptr noundef nonnull %0) #2 %7 = tail call i32 @wakeup(ptr noundef %4) #2 %8 = tail call i32 @N25Q_UNLOCK(ptr noundef %4) #2 ret void } declare i32 @N25Q_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @bioq_disksort(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wakeup(ptr noundef) local_unnamed_addr #1 declare i32 @N25Q_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 = !{!"bio", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/flash/extr_n25q.c_n25q_strategy.c' source_filename = "AnghaBench/freebsd/sys/dev/flash/extr_n25q.c_n25q_strategy.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 @n25q_strategy], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @n25q_strategy(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr %2, align 8, !tbaa !11 %4 = inttoptr i64 %3 to ptr %5 = tail call i32 @N25Q_LOCK(ptr noundef %4) #2 %6 = tail call i32 @bioq_disksort(ptr noundef %4, ptr noundef nonnull %0) #2 %7 = tail call i32 @wakeup(ptr noundef %4) #2 %8 = tail call i32 @N25Q_UNLOCK(ptr noundef %4) #2 ret void } declare i32 @N25Q_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @bioq_disksort(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wakeup(ptr noundef) local_unnamed_addr #1 declare i32 @N25Q_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 = !{!"bio", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"long", !9, i64 0}
freebsd_sys_dev_flash_extr_n25q.c_n25q_strategy
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/oki-semi/pch_gbe/extr_pch_gbe_ethtool.c_pch_gbe_get_wol.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/oki-semi/pch_gbe/extr_pch_gbe_ethtool.c_pch_gbe_get_wol.c" target datalayout = "e-m:e-p270:32:32-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.ethtool_wolinfo = type { i32, i32 } @WAKE_UCAST = dso_local local_unnamed_addr global i32 0, align 4 @WAKE_MCAST = dso_local local_unnamed_addr global i32 0, align 4 @WAKE_BCAST = dso_local local_unnamed_addr global i32 0, align 4 @WAKE_MAGIC = dso_local local_unnamed_addr global i32 0, align 4 @PCH_GBE_WLC_IND = dso_local local_unnamed_addr global i32 0, align 4 @PCH_GBE_WLC_MLT = dso_local local_unnamed_addr global i32 0, align 4 @PCH_GBE_WLC_BR = dso_local local_unnamed_addr global i32 0, align 4 @PCH_GBE_WLC_MP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pch_gbe_get_wol], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @pch_gbe_get_wol(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 %4 = load i32, ptr @WAKE_UCAST, align 4, !tbaa !5 %5 = load i32, ptr @WAKE_MCAST, align 4, !tbaa !5 %6 = or i32 %5, %4 %7 = load i32, ptr @WAKE_BCAST, align 4, !tbaa !5 %8 = or i32 %6, %7 %9 = load i32, ptr @WAKE_MAGIC, align 4, !tbaa !5 %10 = or i32 %8, %9 store i32 %10, ptr %1, align 4, !tbaa !9 %11 = getelementptr inbounds %struct.ethtool_wolinfo, ptr %1, i64 0, i32 1 store i32 0, ptr %11, align 4, !tbaa !11 %12 = load i32, ptr %3, align 4, !tbaa !12 %13 = load i32, ptr @PCH_GBE_WLC_IND, align 4, !tbaa !5 %14 = and i32 %13, %12 %15 = icmp eq i32 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %2 %17 = load i32, ptr @WAKE_UCAST, align 4, !tbaa !5 store i32 %17, ptr %11, align 4, !tbaa !11 br label %18 18: ; preds = %16, %2 %19 = phi i32 [ %17, %16 ], [ 0, %2 ] %20 = load i32, ptr @PCH_GBE_WLC_MLT, align 4, !tbaa !5 %21 = and i32 %20, %12 %22 = icmp eq i32 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %18 %24 = load i32, ptr @WAKE_MCAST, align 4, !tbaa !5 %25 = or i32 %19, %24 store i32 %25, ptr %11, align 4, !tbaa !11 br label %26 26: ; preds = %23, %18 %27 = phi i32 [ %25, %23 ], [ %19, %18 ] %28 = load i32, ptr @PCH_GBE_WLC_BR, align 4, !tbaa !5 %29 = and i32 %28, %12 %30 = icmp eq i32 %29, 0 br i1 %30, label %34, label %31 31: ; preds = %26 %32 = load i32, ptr @WAKE_BCAST, align 4, !tbaa !5 %33 = or i32 %27, %32 store i32 %33, ptr %11, align 4, !tbaa !11 br label %34 34: ; preds = %31, %26 %35 = phi i32 [ %33, %31 ], [ %27, %26 ] %36 = load i32, ptr @PCH_GBE_WLC_MP, align 4, !tbaa !5 %37 = and i32 %36, %12 %38 = icmp eq i32 %37, 0 br i1 %38, label %42, label %39 39: ; preds = %34 %40 = load i32, ptr @WAKE_MAGIC, align 4, !tbaa !5 %41 = or i32 %35, %40 store i32 %41, ptr %11, align 4, !tbaa !11 br label %42 42: ; preds = %39, %34 ret void } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"ethtool_wolinfo", !6, i64 0, !6, i64 4} !11 = !{!10, !6, i64 4} !12 = !{!13, !6, i64 0} !13 = !{!"pch_gbe_adapter", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/oki-semi/pch_gbe/extr_pch_gbe_ethtool.c_pch_gbe_get_wol.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/oki-semi/pch_gbe/extr_pch_gbe_ethtool.c_pch_gbe_get_wol.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WAKE_UCAST = common local_unnamed_addr global i32 0, align 4 @WAKE_MCAST = common local_unnamed_addr global i32 0, align 4 @WAKE_BCAST = common local_unnamed_addr global i32 0, align 4 @WAKE_MAGIC = common local_unnamed_addr global i32 0, align 4 @PCH_GBE_WLC_IND = common local_unnamed_addr global i32 0, align 4 @PCH_GBE_WLC_MLT = common local_unnamed_addr global i32 0, align 4 @PCH_GBE_WLC_BR = common local_unnamed_addr global i32 0, align 4 @PCH_GBE_WLC_MP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pch_gbe_get_wol], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @pch_gbe_get_wol(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 %4 = load i32, ptr @WAKE_UCAST, align 4, !tbaa !6 %5 = load i32, ptr @WAKE_MCAST, align 4, !tbaa !6 %6 = or i32 %5, %4 %7 = load i32, ptr @WAKE_BCAST, align 4, !tbaa !6 %8 = or i32 %6, %7 %9 = load i32, ptr @WAKE_MAGIC, align 4, !tbaa !6 %10 = or i32 %8, %9 store i32 %10, ptr %1, align 4, !tbaa !10 %11 = getelementptr inbounds i8, ptr %1, i64 4 store i32 0, ptr %11, align 4, !tbaa !12 %12 = load i32, ptr %3, align 4, !tbaa !13 %13 = load i32, ptr @PCH_GBE_WLC_IND, align 4, !tbaa !6 %14 = and i32 %13, %12 %15 = icmp eq i32 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %2 %17 = load i32, ptr @WAKE_UCAST, align 4, !tbaa !6 store i32 %17, ptr %11, align 4, !tbaa !12 br label %18 18: ; preds = %16, %2 %19 = phi i32 [ %17, %16 ], [ 0, %2 ] %20 = load i32, ptr @PCH_GBE_WLC_MLT, align 4, !tbaa !6 %21 = and i32 %20, %12 %22 = icmp eq i32 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %18 %24 = load i32, ptr @WAKE_MCAST, align 4, !tbaa !6 %25 = or i32 %19, %24 store i32 %25, ptr %11, align 4, !tbaa !12 br label %26 26: ; preds = %23, %18 %27 = phi i32 [ %25, %23 ], [ %19, %18 ] %28 = load i32, ptr @PCH_GBE_WLC_BR, align 4, !tbaa !6 %29 = and i32 %28, %12 %30 = icmp eq i32 %29, 0 br i1 %30, label %34, label %31 31: ; preds = %26 %32 = load i32, ptr @WAKE_BCAST, align 4, !tbaa !6 %33 = or i32 %27, %32 store i32 %33, ptr %11, align 4, !tbaa !12 br label %34 34: ; preds = %31, %26 %35 = phi i32 [ %33, %31 ], [ %27, %26 ] %36 = load i32, ptr @PCH_GBE_WLC_MP, align 4, !tbaa !6 %37 = and i32 %36, %12 %38 = icmp eq i32 %37, 0 br i1 %38, label %42, label %39 39: ; preds = %34 %40 = load i32, ptr @WAKE_MAGIC, align 4, !tbaa !6 %41 = or i32 %35, %40 store i32 %41, ptr %11, align 4, !tbaa !12 br label %42 42: ; preds = %39, %34 ret void } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"ethtool_wolinfo", !7, i64 0, !7, i64 4} !12 = !{!11, !7, i64 4} !13 = !{!14, !7, i64 0} !14 = !{!"pch_gbe_adapter", !7, i64 0}
linux_drivers_net_ethernet_oki-semi_pch_gbe_extr_pch_gbe_ethtool.c_pch_gbe_get_wol
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_kern_credential.c_kauth_getrgid.c' source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kern_credential.c_kauth_getrgid.c" target datalayout = "e-m:e-p270:32:32-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 @kauth_getrgid() local_unnamed_addr #0 { %1 = tail call i32 (...) @kauth_cred_get() #2 %2 = tail call i32 @kauth_cred_getrgid(i32 noundef %1) #2 ret i32 %2 } declare i32 @kauth_cred_getrgid(i32 noundef) local_unnamed_addr #1 declare i32 @kauth_cred_get(...) 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/darwin-xnu/bsd/kern/extr_kern_credential.c_kauth_getrgid.c' source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kern_credential.c_kauth_getrgid.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 @kauth_getrgid() local_unnamed_addr #0 { %1 = tail call i32 @kauth_cred_get() #2 %2 = tail call i32 @kauth_cred_getrgid(i32 noundef %1) #2 ret i32 %2 } declare i32 @kauth_cred_getrgid(i32 noundef) local_unnamed_addr #1 declare i32 @kauth_cred_get(...) 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)"}
darwin-xnu_bsd_kern_extr_kern_credential.c_kauth_getrgid
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/storage/extr_umass.c_umass_attach.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/storage/extr_umass.c_umass_attach.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.umass_softc = type { i32, i32, %struct.TYPE_6__, %struct.TYPE_5__, i64, ptr, ptr, i32, i32, i32, i32, i32, i32, i32 } %struct.TYPE_6__ = type { i32 } %struct.TYPE_5__ = type { i32 } %struct.usb_attach_arg = type { %struct.TYPE_4__, i32, i32 } %struct.TYPE_4__ = type { i32 } @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @MTX_DEF = dso_local local_unnamed_addr global i32 0, align 4 @MTX_RECURSE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"failed to get interface number\0A\00", align 1 @ALT_IFACE_1 = dso_local local_unnamed_addr global i32 0, align 4 @UDMASS_USB = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [37 x i8] c"could not switch to Alt Interface 1\0A\00", align 1 @umass_bbb_config = dso_local local_unnamed_addr global i32 0, align 4 @UMASS_T_BBB_MAX = dso_local local_unnamed_addr global i32 0, align 4 @UMASS_T_BBB_COMMAND = dso_local local_unnamed_addr global i32 0, align 4 @umass_cbi_config = dso_local local_unnamed_addr global i32 0, align 4 @UMASS_T_CBI_MAX = dso_local local_unnamed_addr global i32 0, align 4 @UMASS_T_CBI_COMMAND = dso_local local_unnamed_addr global i32 0, align 4 @USB_ERR_INVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [40 x i8] c"could not setup required transfers, %s\0A\00", align 1 @umass_scsi_transform = dso_local global i32 0, align 4 @umass_ufi_transform = dso_local local_unnamed_addr global i32 0, align 4 @umass_atapi_transform = dso_local global i32 0, align 4 @umass_rbc_transform = dso_local local_unnamed_addr global i32 0, align 4 @umass_no_transform = dso_local global i32 0, align 4 @SHUTTLE_INIT = dso_local local_unnamed_addr global i32 0, align 4 @UMASS_PROTO_WIRE = dso_local local_unnamed_addr global i32 0, align 4 @NO_GETMAXLUN = dso_local local_unnamed_addr global i32 0, align 4 @REQUEST_SENSE = dso_local local_unnamed_addr global i32 0, align 4 @TEST_UNIT_READY = dso_local local_unnamed_addr global i32 0, align 4 @UDMASS_GEN = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [17 x i8] c"Attach finished\0A\00", align 1 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @UMASS_PROTO_COMMAND = dso_local local_unnamed_addr global i32 0, align 4 @UMASS_T_MAX = dso_local local_unnamed_addr global i64 0, align 8 @umass_throttle = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @umass_attach], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @umass_attach(i32 noundef %0) #0 { %2 = tail call ptr @device_get_softc(i32 noundef %0) #2 %3 = tail call ptr @device_get_ivars(i32 noundef %0) #2 %4 = tail call i64 @umass_probe_proto(i32 noundef %0, ptr noundef %3) #2 %5 = trunc i64 %4 to i32 %6 = lshr i64 %4, 32 %7 = trunc i64 %6 to i32 %8 = getelementptr inbounds %struct.umass_softc, ptr %2, i64 0, i32 13 store i32 %0, ptr %8, align 8, !tbaa !5 %9 = getelementptr inbounds %struct.usb_attach_arg, ptr %3, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !14 %11 = getelementptr inbounds %struct.umass_softc, ptr %2, i64 0, i32 12 store i32 %10, ptr %11, align 4, !tbaa !17 store i32 %5, ptr %2, align 8, !tbaa !18 %12 = getelementptr inbounds %struct.umass_softc, ptr %2, i64 0, i32 1 store i32 %7, ptr %12, align 4, !tbaa !19 %13 = tail call i32 @device_get_unit(i32 noundef %0) #2 %14 = getelementptr inbounds %struct.umass_softc, ptr %2, i64 0, i32 11 store i32 %13, ptr %14, align 8, !tbaa !20 %15 = getelementptr inbounds %struct.umass_softc, ptr %2, i64 0, i32 10 %16 = load i32, ptr %15, align 4, !tbaa !21 %17 = tail call ptr @device_get_nameunit(i32 noundef %0) #2 %18 = tail call i32 @snprintf(i32 noundef %16, i32 noundef 4, ptr noundef nonnull @.str, ptr noundef %17) #2 %19 = tail call i32 @device_set_usb_desc(i32 noundef %0) #2 %20 = getelementptr inbounds %struct.umass_softc, ptr %2, i64 0, i32 8 %21 = tail call ptr @device_get_nameunit(i32 noundef %0) #2 %22 = load i32, ptr @MTX_DEF, align 4, !tbaa !22 %23 = load i32, ptr @MTX_RECURSE, align 4, !tbaa !22 %24 = or i32 %23, %22 %25 = tail call i32 @mtx_init(ptr noundef nonnull %20, ptr noundef %21, ptr noundef null, i32 noundef %24) #2 %26 = getelementptr inbounds %struct.usb_attach_arg, ptr %3, i64 0, i32 2 %27 = load i32, ptr %26, align 4, !tbaa !23 %28 = tail call ptr @usbd_get_interface_descriptor(i32 noundef %27) #2 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %32 30: ; preds = %1 %31 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.1) #2 br label %121 32: ; preds = %1 %33 = load i32, ptr %28, align 4, !tbaa !24 %34 = getelementptr inbounds %struct.umass_softc, ptr %2, i64 0, i32 9 store i32 %33, ptr %34, align 8, !tbaa !26 %35 = load i32, ptr %12, align 4, !tbaa !19 %36 = load i32, ptr @ALT_IFACE_1, align 4, !tbaa !22 %37 = and i32 %36, %35 %38 = icmp eq i32 %37, 0 br i1 %38, label %47, label %39 39: ; preds = %32 %40 = load i32, ptr %9, align 4, !tbaa !14 %41 = load i32, ptr %3, align 4, !tbaa !27 %42 = tail call i32 @usbd_set_alt_interface_index(i32 noundef %40, i32 noundef %41, i32 noundef 1) #2 %43 = icmp eq i32 %42, 0 br i1 %43, label %47, label %44 44: ; preds = %39 %45 = load i32, ptr @UDMASS_USB, align 4, !tbaa !22 %46 = tail call i32 @DPRINTF(ptr noundef nonnull %2, i32 noundef %45, ptr noundef nonnull @.str.2) #2 br label %121 47: ; preds = %39, %32 %48 = load i32, ptr %2, align 8, !tbaa !18 %49 = and i32 %48, 133 %50 = icmp eq i32 %49, 0 br i1 %50, label %60, label %51 51: ; preds = %47 %52 = load i32, ptr %9, align 4, !tbaa !14 %53 = getelementptr inbounds %struct.umass_softc, ptr %2, i64 0, i32 6 %54 = load ptr, ptr %53, align 8, !tbaa !28 %55 = load i32, ptr @umass_bbb_config, align 4, !tbaa !22 %56 = load i32, ptr @UMASS_T_BBB_MAX, align 4, !tbaa !22 %57 = tail call i32 @usbd_transfer_setup(i32 noundef %52, ptr noundef nonnull %3, ptr noundef %54, i32 noundef %55, i32 noundef %56, ptr noundef nonnull %2, ptr noundef nonnull %20) #2 %58 = load i32, ptr @UMASS_T_BBB_COMMAND, align 4, !tbaa !22 %59 = getelementptr inbounds %struct.umass_softc, ptr %2, i64 0, i32 7 store i32 %58, ptr %59, align 8, !tbaa !29 br label %74 60: ; preds = %47 %61 = and i32 %48, 2 %62 = icmp eq i32 %61, 0 br i1 %62, label %72, label %63 63: ; preds = %60 %64 = load i32, ptr %9, align 4, !tbaa !14 %65 = getelementptr inbounds %struct.umass_softc, ptr %2, i64 0, i32 6 %66 = load ptr, ptr %65, align 8, !tbaa !28 %67 = load i32, ptr @umass_cbi_config, align 4, !tbaa !22 %68 = load i32, ptr @UMASS_T_CBI_MAX, align 4, !tbaa !22 %69 = tail call i32 @usbd_transfer_setup(i32 noundef %64, ptr noundef nonnull %3, ptr noundef %66, i32 noundef %67, i32 noundef %68, ptr noundef nonnull %2, ptr noundef nonnull %20) #2 %70 = load i32, ptr @UMASS_T_CBI_COMMAND, align 4, !tbaa !22 %71 = getelementptr inbounds %struct.umass_softc, ptr %2, i64 0, i32 7 store i32 %70, ptr %71, align 8, !tbaa !29 br label %74 72: ; preds = %60 %73 = load i32, ptr @USB_ERR_INVAL, align 4, !tbaa !22 br label %74 74: ; preds = %63, %72, %51 %75 = phi i32 [ %57, %51 ], [ %69, %63 ], [ %73, %72 ] %76 = icmp eq i32 %75, 0 br i1 %76, label %80, label %77 77: ; preds = %74 %78 = tail call i32 @usbd_errstr(i32 noundef %75) #2 %79 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.3, i32 noundef %78) #2 br label %121 80: ; preds = %74 %81 = load i32, ptr %2, align 8, !tbaa !18 %82 = and i32 %81, 129 %83 = icmp eq i32 %82, 0 %84 = and i32 %81, 6 %85 = icmp eq i32 %84, 0 %86 = select i1 %85, ptr @umass_no_transform, ptr @umass_atapi_transform %87 = select i1 %83, ptr %86, ptr @umass_scsi_transform %88 = getelementptr inbounds %struct.umass_softc, ptr %2, i64 0, i32 5 store ptr %87, ptr %88, align 8, !tbaa !30 %89 = load i32, ptr %12, align 4, !tbaa !19 %90 = load i32, ptr @SHUTTLE_INIT, align 4, !tbaa !22 %91 = and i32 %90, %89 %92 = icmp eq i32 %91, 0 br i1 %92, label %96, label %93 93: ; preds = %80 %94 = tail call i32 @umass_init_shuttle(ptr noundef nonnull %2) #2 %95 = load i32, ptr %2, align 8, !tbaa !18 br label %96 96: ; preds = %93, %80 %97 = phi i32 [ %95, %93 ], [ %81, %80 ] %98 = load i32, ptr @UMASS_PROTO_WIRE, align 4, !tbaa !22 %99 = and i32 %98, %97 %100 = icmp eq i32 %99, 133 br i1 %100, label %101, label %108 101: ; preds = %96 %102 = load i32, ptr %12, align 4, !tbaa !19 %103 = load i32, ptr @NO_GETMAXLUN, align 4, !tbaa !22 %104 = and i32 %103, %102 %105 = icmp eq i32 %104, 0 br i1 %105, label %106, label %108 106: ; preds = %101 %107 = tail call i64 @umass_bbb_get_max_lun(ptr noundef nonnull %2) #2 br label %108 108: ; preds = %96, %101, %106 %109 = phi i64 [ %107, %106 ], [ 0, %101 ], [ 0, %96 ] %110 = getelementptr inbounds %struct.umass_softc, ptr %2, i64 0, i32 4 store i64 %109, ptr %110, align 8, !tbaa !31 %111 = load i32, ptr @REQUEST_SENSE, align 4, !tbaa !22 %112 = getelementptr inbounds %struct.umass_softc, ptr %2, i64 0, i32 3 store i32 %111, ptr %112, align 4, !tbaa !32 %113 = load i32, ptr @TEST_UNIT_READY, align 4, !tbaa !22 %114 = getelementptr inbounds %struct.umass_softc, ptr %2, i64 0, i32 2 store i32 %113, ptr %114, align 8, !tbaa !33 %115 = tail call i32 @umass_cam_attach_sim(ptr noundef nonnull %2) #2 %116 = icmp eq i32 %115, 0 br i1 %116, label %117, label %121 117: ; preds = %108 %118 = tail call i32 @umass_cam_attach(ptr noundef nonnull %2) #2 %119 = load i32, ptr @UDMASS_GEN, align 4, !tbaa !22 %120 = tail call i32 @DPRINTF(ptr noundef nonnull %2, i32 noundef %119, ptr noundef nonnull @.str.4) #2 br label %124 121: ; preds = %108, %77, %44, %30 %122 = tail call i32 @umass_detach(i32 noundef %0) #2 %123 = load i32, ptr @ENXIO, align 4, !tbaa !22 br label %124 124: ; preds = %121, %117 %125 = phi i32 [ %123, %121 ], [ 0, %117 ] ret i32 %125 } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare ptr @device_get_ivars(i32 noundef) local_unnamed_addr #1 declare i64 @umass_probe_proto(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @device_get_unit(i32 noundef) local_unnamed_addr #1 declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @device_get_nameunit(i32 noundef) local_unnamed_addr #1 declare i32 @device_set_usb_desc(i32 noundef) local_unnamed_addr #1 declare i32 @mtx_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @usbd_get_interface_descriptor(i32 noundef) local_unnamed_addr #1 declare i32 @device_printf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @usbd_set_alt_interface_index(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DPRINTF(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usbd_transfer_setup(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usbd_errstr(i32 noundef) local_unnamed_addr #1 declare i32 @umass_init_shuttle(ptr noundef) local_unnamed_addr #1 declare i64 @umass_bbb_get_max_lun(ptr noundef) local_unnamed_addr #1 declare i32 @umass_cam_attach_sim(ptr noundef) local_unnamed_addr #1 declare i32 @umass_cam_attach(ptr noundef) local_unnamed_addr #1 declare i32 @umass_detach(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 64} !6 = !{!"umass_softc", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 12, !12, i64 16, !13, i64 24, !13, i64 32, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_6__", !7, i64 0} !11 = !{!"TYPE_5__", !7, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !7, i64 4} !15 = !{!"usb_attach_arg", !16, i64 0, !7, i64 4, !7, i64 8} !16 = !{!"TYPE_4__", !7, i64 0} !17 = !{!6, !7, i64 60} !18 = !{!6, !7, i64 0} !19 = !{!6, !7, i64 4} !20 = !{!6, !7, i64 56} !21 = !{!6, !7, i64 52} !22 = !{!7, !7, i64 0} !23 = !{!15, !7, i64 8} !24 = !{!25, !7, i64 0} !25 = !{!"usb_interface_descriptor", !7, i64 0} !26 = !{!6, !7, i64 48} !27 = !{!15, !7, i64 0} !28 = !{!6, !13, i64 32} !29 = !{!6, !7, i64 40} !30 = !{!6, !13, i64 24} !31 = !{!6, !12, i64 16} !32 = !{!6, !7, i64 12} !33 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/storage/extr_umass.c_umass_attach.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/storage/extr_umass.c_umass_attach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @MTX_DEF = common local_unnamed_addr global i32 0, align 4 @MTX_RECURSE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"failed to get interface number\0A\00", align 1 @ALT_IFACE_1 = common local_unnamed_addr global i32 0, align 4 @UDMASS_USB = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [37 x i8] c"could not switch to Alt Interface 1\0A\00", align 1 @umass_bbb_config = common local_unnamed_addr global i32 0, align 4 @UMASS_T_BBB_MAX = common local_unnamed_addr global i32 0, align 4 @UMASS_T_BBB_COMMAND = common local_unnamed_addr global i32 0, align 4 @umass_cbi_config = common local_unnamed_addr global i32 0, align 4 @UMASS_T_CBI_MAX = common local_unnamed_addr global i32 0, align 4 @UMASS_T_CBI_COMMAND = common local_unnamed_addr global i32 0, align 4 @USB_ERR_INVAL = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [40 x i8] c"could not setup required transfers, %s\0A\00", align 1 @umass_scsi_transform = common global i32 0, align 4 @umass_ufi_transform = common local_unnamed_addr global i32 0, align 4 @umass_atapi_transform = common global i32 0, align 4 @umass_rbc_transform = common local_unnamed_addr global i32 0, align 4 @umass_no_transform = common global i32 0, align 4 @SHUTTLE_INIT = common local_unnamed_addr global i32 0, align 4 @UMASS_PROTO_WIRE = common local_unnamed_addr global i32 0, align 4 @NO_GETMAXLUN = common local_unnamed_addr global i32 0, align 4 @REQUEST_SENSE = common local_unnamed_addr global i32 0, align 4 @TEST_UNIT_READY = common local_unnamed_addr global i32 0, align 4 @UDMASS_GEN = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [17 x i8] c"Attach finished\0A\00", align 1 @ENXIO = common local_unnamed_addr global i32 0, align 4 @UMASS_PROTO_COMMAND = common local_unnamed_addr global i32 0, align 4 @UMASS_T_MAX = common local_unnamed_addr global i64 0, align 8 @umass_throttle = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @umass_attach], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @umass_attach(i32 noundef %0) #0 { %2 = tail call ptr @device_get_softc(i32 noundef %0) #2 %3 = tail call ptr @device_get_ivars(i32 noundef %0) #2 %4 = tail call i64 @umass_probe_proto(i32 noundef %0, ptr noundef %3) #2 %5 = trunc i64 %4 to i32 %6 = lshr i64 %4, 32 %7 = trunc nuw i64 %6 to i32 %8 = getelementptr inbounds i8, ptr %2, i64 64 store i32 %0, ptr %8, align 8, !tbaa !6 %9 = getelementptr inbounds i8, ptr %3, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !15 %11 = getelementptr inbounds i8, ptr %2, i64 60 store i32 %10, ptr %11, align 4, !tbaa !18 store i32 %5, ptr %2, align 8, !tbaa !19 %12 = getelementptr inbounds i8, ptr %2, i64 4 store i32 %7, ptr %12, align 4, !tbaa !20 %13 = tail call i32 @device_get_unit(i32 noundef %0) #2 %14 = getelementptr inbounds i8, ptr %2, i64 56 store i32 %13, ptr %14, align 8, !tbaa !21 %15 = getelementptr inbounds i8, ptr %2, i64 52 %16 = load i32, ptr %15, align 4, !tbaa !22 %17 = tail call ptr @device_get_nameunit(i32 noundef %0) #2 %18 = tail call i32 @snprintf(i32 noundef %16, i32 noundef 4, ptr noundef nonnull @.str, ptr noundef %17) #2 %19 = tail call i32 @device_set_usb_desc(i32 noundef %0) #2 %20 = getelementptr inbounds i8, ptr %2, i64 44 %21 = tail call ptr @device_get_nameunit(i32 noundef %0) #2 %22 = load i32, ptr @MTX_DEF, align 4, !tbaa !23 %23 = load i32, ptr @MTX_RECURSE, align 4, !tbaa !23 %24 = or i32 %23, %22 %25 = tail call i32 @mtx_init(ptr noundef nonnull %20, ptr noundef %21, ptr noundef null, i32 noundef %24) #2 %26 = getelementptr inbounds i8, ptr %3, i64 8 %27 = load i32, ptr %26, align 4, !tbaa !24 %28 = tail call ptr @usbd_get_interface_descriptor(i32 noundef %27) #2 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %32 30: ; preds = %1 %31 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.1) #2 br label %121 32: ; preds = %1 %33 = load i32, ptr %28, align 4, !tbaa !25 %34 = getelementptr inbounds i8, ptr %2, i64 48 store i32 %33, ptr %34, align 8, !tbaa !27 %35 = load i32, ptr %12, align 4, !tbaa !20 %36 = load i32, ptr @ALT_IFACE_1, align 4, !tbaa !23 %37 = and i32 %36, %35 %38 = icmp eq i32 %37, 0 br i1 %38, label %47, label %39 39: ; preds = %32 %40 = load i32, ptr %9, align 4, !tbaa !15 %41 = load i32, ptr %3, align 4, !tbaa !28 %42 = tail call i32 @usbd_set_alt_interface_index(i32 noundef %40, i32 noundef %41, i32 noundef 1) #2 %43 = icmp eq i32 %42, 0 br i1 %43, label %47, label %44 44: ; preds = %39 %45 = load i32, ptr @UDMASS_USB, align 4, !tbaa !23 %46 = tail call i32 @DPRINTF(ptr noundef nonnull %2, i32 noundef %45, ptr noundef nonnull @.str.2) #2 br label %121 47: ; preds = %39, %32 %48 = load i32, ptr %2, align 8, !tbaa !19 %49 = and i32 %48, 133 %50 = icmp eq i32 %49, 0 br i1 %50, label %60, label %51 51: ; preds = %47 %52 = load i32, ptr %9, align 4, !tbaa !15 %53 = getelementptr inbounds i8, ptr %2, i64 32 %54 = load ptr, ptr %53, align 8, !tbaa !29 %55 = load i32, ptr @umass_bbb_config, align 4, !tbaa !23 %56 = load i32, ptr @UMASS_T_BBB_MAX, align 4, !tbaa !23 %57 = tail call i32 @usbd_transfer_setup(i32 noundef %52, ptr noundef nonnull %3, ptr noundef %54, i32 noundef %55, i32 noundef %56, ptr noundef nonnull %2, ptr noundef nonnull %20) #2 %58 = load i32, ptr @UMASS_T_BBB_COMMAND, align 4, !tbaa !23 %59 = getelementptr inbounds i8, ptr %2, i64 40 store i32 %58, ptr %59, align 8, !tbaa !30 br label %74 60: ; preds = %47 %61 = and i32 %48, 2 %62 = icmp eq i32 %61, 0 br i1 %62, label %72, label %63 63: ; preds = %60 %64 = load i32, ptr %9, align 4, !tbaa !15 %65 = getelementptr inbounds i8, ptr %2, i64 32 %66 = load ptr, ptr %65, align 8, !tbaa !29 %67 = load i32, ptr @umass_cbi_config, align 4, !tbaa !23 %68 = load i32, ptr @UMASS_T_CBI_MAX, align 4, !tbaa !23 %69 = tail call i32 @usbd_transfer_setup(i32 noundef %64, ptr noundef nonnull %3, ptr noundef %66, i32 noundef %67, i32 noundef %68, ptr noundef nonnull %2, ptr noundef nonnull %20) #2 %70 = load i32, ptr @UMASS_T_CBI_COMMAND, align 4, !tbaa !23 %71 = getelementptr inbounds i8, ptr %2, i64 40 store i32 %70, ptr %71, align 8, !tbaa !30 br label %74 72: ; preds = %60 %73 = load i32, ptr @USB_ERR_INVAL, align 4, !tbaa !23 br label %74 74: ; preds = %63, %72, %51 %75 = phi i32 [ %57, %51 ], [ %69, %63 ], [ %73, %72 ] %76 = icmp eq i32 %75, 0 br i1 %76, label %80, label %77 77: ; preds = %74 %78 = tail call i32 @usbd_errstr(i32 noundef %75) #2 %79 = tail call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.3, i32 noundef %78) #2 br label %121 80: ; preds = %74 %81 = load i32, ptr %2, align 8, !tbaa !19 %82 = and i32 %81, 129 %83 = icmp eq i32 %82, 0 %84 = and i32 %81, 6 %85 = icmp eq i32 %84, 0 %86 = select i1 %85, ptr @umass_no_transform, ptr @umass_atapi_transform %87 = select i1 %83, ptr %86, ptr @umass_scsi_transform %88 = getelementptr inbounds i8, ptr %2, i64 24 store ptr %87, ptr %88, align 8, !tbaa !31 %89 = load i32, ptr %12, align 4, !tbaa !20 %90 = load i32, ptr @SHUTTLE_INIT, align 4, !tbaa !23 %91 = and i32 %90, %89 %92 = icmp eq i32 %91, 0 br i1 %92, label %96, label %93 93: ; preds = %80 %94 = tail call i32 @umass_init_shuttle(ptr noundef nonnull %2) #2 %95 = load i32, ptr %2, align 8, !tbaa !19 br label %96 96: ; preds = %93, %80 %97 = phi i32 [ %95, %93 ], [ %81, %80 ] %98 = load i32, ptr @UMASS_PROTO_WIRE, align 4, !tbaa !23 %99 = and i32 %98, %97 %100 = icmp eq i32 %99, 133 br i1 %100, label %101, label %108 101: ; preds = %96 %102 = load i32, ptr %12, align 4, !tbaa !20 %103 = load i32, ptr @NO_GETMAXLUN, align 4, !tbaa !23 %104 = and i32 %103, %102 %105 = icmp eq i32 %104, 0 br i1 %105, label %106, label %108 106: ; preds = %101 %107 = tail call i64 @umass_bbb_get_max_lun(ptr noundef nonnull %2) #2 br label %108 108: ; preds = %96, %101, %106 %109 = phi i64 [ %107, %106 ], [ 0, %101 ], [ 0, %96 ] %110 = getelementptr inbounds i8, ptr %2, i64 16 store i64 %109, ptr %110, align 8, !tbaa !32 %111 = load i32, ptr @REQUEST_SENSE, align 4, !tbaa !23 %112 = getelementptr inbounds i8, ptr %2, i64 12 store i32 %111, ptr %112, align 4, !tbaa !33 %113 = load i32, ptr @TEST_UNIT_READY, align 4, !tbaa !23 %114 = getelementptr inbounds i8, ptr %2, i64 8 store i32 %113, ptr %114, align 8, !tbaa !34 %115 = tail call i32 @umass_cam_attach_sim(ptr noundef nonnull %2) #2 %116 = icmp eq i32 %115, 0 br i1 %116, label %117, label %121 117: ; preds = %108 %118 = tail call i32 @umass_cam_attach(ptr noundef nonnull %2) #2 %119 = load i32, ptr @UDMASS_GEN, align 4, !tbaa !23 %120 = tail call i32 @DPRINTF(ptr noundef nonnull %2, i32 noundef %119, ptr noundef nonnull @.str.4) #2 br label %124 121: ; preds = %108, %77, %44, %30 %122 = tail call i32 @umass_detach(i32 noundef %0) #2 %123 = load i32, ptr @ENXIO, align 4, !tbaa !23 br label %124 124: ; preds = %121, %117 %125 = phi i32 [ %123, %121 ], [ 0, %117 ] ret i32 %125 } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare ptr @device_get_ivars(i32 noundef) local_unnamed_addr #1 declare i64 @umass_probe_proto(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @device_get_unit(i32 noundef) local_unnamed_addr #1 declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @device_get_nameunit(i32 noundef) local_unnamed_addr #1 declare i32 @device_set_usb_desc(i32 noundef) local_unnamed_addr #1 declare i32 @mtx_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @usbd_get_interface_descriptor(i32 noundef) local_unnamed_addr #1 declare i32 @device_printf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @usbd_set_alt_interface_index(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DPRINTF(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usbd_transfer_setup(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usbd_errstr(i32 noundef) local_unnamed_addr #1 declare i32 @umass_init_shuttle(ptr noundef) local_unnamed_addr #1 declare i64 @umass_bbb_get_max_lun(ptr noundef) local_unnamed_addr #1 declare i32 @umass_cam_attach_sim(ptr noundef) local_unnamed_addr #1 declare i32 @umass_cam_attach(ptr noundef) local_unnamed_addr #1 declare i32 @umass_detach(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 64} !7 = !{!"umass_softc", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 12, !13, i64 16, !14, i64 24, !14, i64 32, !8, i64 40, !8, i64 44, !8, i64 48, !8, i64 52, !8, i64 56, !8, i64 60, !8, i64 64} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_6__", !8, i64 0} !12 = !{!"TYPE_5__", !8, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!"any pointer", !9, i64 0} !15 = !{!16, !8, i64 4} !16 = !{!"usb_attach_arg", !17, i64 0, !8, i64 4, !8, i64 8} !17 = !{!"TYPE_4__", !8, i64 0} !18 = !{!7, !8, i64 60} !19 = !{!7, !8, i64 0} !20 = !{!7, !8, i64 4} !21 = !{!7, !8, i64 56} !22 = !{!7, !8, i64 52} !23 = !{!8, !8, i64 0} !24 = !{!16, !8, i64 8} !25 = !{!26, !8, i64 0} !26 = !{!"usb_interface_descriptor", !8, i64 0} !27 = !{!7, !8, i64 48} !28 = !{!16, !8, i64 0} !29 = !{!7, !14, i64 32} !30 = !{!7, !8, i64 40} !31 = !{!7, !14, i64 24} !32 = !{!7, !13, i64 16} !33 = !{!7, !8, i64 12} !34 = !{!7, !8, i64 8}
freebsd_sys_dev_usb_storage_extr_umass.c_umass_attach
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/afs/extr_rxrpc.c_afs_flat_call_destructor.c' source_filename = "AnghaBench/fastsocket/kernel/fs/afs/extr_rxrpc.c_afs_flat_call_destructor.c" target datalayout = "e-m:e-p270:32:32-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.afs_call = type { ptr, ptr } @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: nounwind uwtable define dso_local void @afs_flat_call_destructor(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @_enter(ptr noundef nonnull @.str) #2 %3 = getelementptr inbounds %struct.afs_call, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = tail call i32 @kfree(ptr noundef %4) #2 store ptr null, ptr %3, align 8, !tbaa !5 %6 = load ptr, ptr %0, align 8, !tbaa !10 %7 = tail call i32 @kfree(ptr noundef %6) #2 store ptr null, ptr %0, align 8, !tbaa !10 ret void } declare i32 @_enter(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"afs_call", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/afs/extr_rxrpc.c_afs_flat_call_destructor.c' source_filename = "AnghaBench/fastsocket/kernel/fs/afs/extr_rxrpc.c_afs_flat_call_destructor.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 [1 x i8] zeroinitializer, align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @afs_flat_call_destructor(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @_enter(ptr noundef nonnull @.str) #2 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = tail call i32 @kfree(ptr noundef %4) #2 store ptr null, ptr %3, align 8, !tbaa !6 %6 = load ptr, ptr %0, align 8, !tbaa !11 %7 = tail call i32 @kfree(ptr noundef %6) #2 store ptr null, ptr %0, align 8, !tbaa !11 ret void } declare i32 @_enter(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"afs_call", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
fastsocket_kernel_fs_afs_extr_rxrpc.c_afs_flat_call_destructor
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_r4_Slot_inst_set.c' source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_r4_Slot_inst_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_r4_Slot_inst_set], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define internal void @Field_r4_Slot_inst_set(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = shl i32 %1, 30 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = and i32 %4, -49153 %6 = ashr exact i32 %3, 16 %7 = or i32 %5, %6 store i32 %7, 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_r4_Slot_inst_set.c' source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_r4_Slot_inst_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_r4_Slot_inst_set], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define internal void @Field_r4_Slot_inst_set(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = shl i32 %1, 30 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = and i32 %4, -49153 %6 = ashr exact i32 %3, 16 %7 = or i32 %5, %6 store i32 %7, 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_r4_Slot_inst_set
; ModuleID = 'AnghaBench/freebsd/lib/geom/label/extr_geom_label.c_label_label.c' source_filename = "AnghaBench/freebsd/lib/geom/label/extr_geom_label.c_label_label.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.g_label_metadata = type { i64, ptr, i32, ptr } @.str = private unnamed_addr constant [6 x i8] c"nargs\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"Invalid number of arguments.\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"arg1\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"Can't store metadata on %s: %s.\00", align 1 @G_LABEL_MAGIC = dso_local local_unnamed_addr global ptr null, align 8 @G_LABEL_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [5 x i8] c"arg0\00", align 1 @.str.5 = private unnamed_addr constant [31 x i8] c"Can't get mediasize of %s: %s.\00", align 1 @errno = dso_local local_unnamed_addr global i32 0, align 4 @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [33 x i8] c"Can't store metadata on %s: %s.\0A\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"Not done.\00", align 1 @verbose = dso_local local_unnamed_addr global i64 0, align 8 @.str.8 = private unnamed_addr constant [30 x i8] c"Metadata value stored on %s.\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @label_label], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @label_label(ptr noundef %0) #0 { %2 = alloca %struct.g_label_metadata, align 8 %3 = alloca [512 x i32], align 16 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %3) #3 %4 = call i32 @bzero(ptr noundef nonnull %3, i32 noundef 2048) #3 %5 = call i32 @gctl_get_int(ptr noundef %0, ptr noundef nonnull @.str) #3 %6 = icmp eq i32 %5, 2 br i1 %6, label %9, label %7 7: ; preds = %1 %8 = call i32 (ptr, ptr, ...) @gctl_error(ptr noundef %0, ptr noundef nonnull @.str.1) #3 br label %44 9: ; preds = %1 %10 = call ptr @gctl_get_ascii(ptr noundef %0, ptr noundef nonnull @.str.2) #3 %11 = call i32 @g_metadata_clear(ptr noundef %10, ptr noundef null) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %9 %14 = call ptr @strerror(i32 noundef %11) #3 %15 = call i32 (ptr, ptr, ...) @gctl_error(ptr noundef %0, ptr noundef nonnull @.str.3, ptr noundef %10, ptr noundef %14) #3 br label %44 16: ; preds = %9 %17 = load ptr, ptr @G_LABEL_MAGIC, align 8, !tbaa !5 %18 = call i32 @strlcpy(ptr noundef undef, ptr noundef %17, i32 noundef 8) #3 %19 = load i32, ptr @G_LABEL_VERSION, align 4, !tbaa !9 %20 = getelementptr inbounds %struct.g_label_metadata, ptr %2, i64 0, i32 2 store i32 %19, ptr %20, align 8, !tbaa !11 %21 = call ptr @gctl_get_ascii(ptr noundef %0, ptr noundef nonnull @.str.4) #3 %22 = call i32 @bzero(ptr noundef undef, i32 noundef 8) #3 %23 = call i32 @strlcpy(ptr noundef undef, ptr noundef %21, i32 noundef 8) #3 %24 = call i64 @g_get_mediasize(ptr noundef %10) #3 store i64 %24, ptr %2, align 8, !tbaa !14 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %30 26: ; preds = %16 %27 = load i32, ptr @errno, align 4, !tbaa !9 %28 = call ptr @strerror(i32 noundef %27) #3 %29 = call i32 (ptr, ptr, ...) @gctl_error(ptr noundef %0, ptr noundef nonnull @.str.5, ptr noundef %10, ptr noundef %28) #3 br label %44 30: ; preds = %16 %31 = call i32 @label_metadata_encode(ptr noundef nonnull %2, ptr noundef nonnull %3) #3 %32 = call i32 @g_metadata_store(ptr noundef %10, ptr noundef nonnull %3, i32 noundef 2048) #3 %33 = icmp eq i32 %32, 0 br i1 %33, label %39, label %34 34: ; preds = %30 %35 = load i32, ptr @stderr, align 4, !tbaa !9 %36 = call ptr @strerror(i32 noundef %32) #3 %37 = call i32 @fprintf(i32 noundef %35, ptr noundef nonnull @.str.6, ptr noundef %10, ptr noundef %36) #3 %38 = call i32 (ptr, ptr, ...) @gctl_error(ptr noundef %0, ptr noundef nonnull @.str.7) #3 br label %39 39: ; preds = %34, %30 %40 = load i64, ptr @verbose, align 8, !tbaa !15 %41 = icmp eq i64 %40, 0 br i1 %41, label %44, label %42 42: ; preds = %39 %43 = call i32 @printf(ptr noundef nonnull @.str.8, ptr noundef %10) #3 br label %44 44: ; preds = %39, %42, %26, %13, %7 call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 32, 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 i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @gctl_get_int(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @gctl_error(ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare ptr @gctl_get_ascii(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @g_metadata_clear(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @strerror(i32 noundef) local_unnamed_addr #2 declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @g_get_mediasize(ptr noundef) local_unnamed_addr #2 declare i32 @label_metadata_encode(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @g_metadata_store(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @printf(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 = !{!"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 16} !12 = !{!"g_label_metadata", !13, i64 0, !6, i64 8, !10, i64 16, !6, i64 24} !13 = !{!"long", !7, i64 0} !14 = !{!12, !13, i64 0} !15 = !{!13, !13, i64 0}
; ModuleID = 'AnghaBench/freebsd/lib/geom/label/extr_geom_label.c_label_label.c' source_filename = "AnghaBench/freebsd/lib/geom/label/extr_geom_label.c_label_label.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.g_label_metadata = type { i64, ptr, i32, ptr } @.str = private unnamed_addr constant [6 x i8] c"nargs\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"Invalid number of arguments.\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"arg1\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"Can't store metadata on %s: %s.\00", align 1 @G_LABEL_MAGIC = common local_unnamed_addr global ptr null, align 8 @G_LABEL_VERSION = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [5 x i8] c"arg0\00", align 1 @.str.5 = private unnamed_addr constant [31 x i8] c"Can't get mediasize of %s: %s.\00", align 1 @errno = common local_unnamed_addr global i32 0, align 4 @stderr = common local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [33 x i8] c"Can't store metadata on %s: %s.\0A\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"Not done.\00", align 1 @verbose = common local_unnamed_addr global i64 0, align 8 @.str.8 = private unnamed_addr constant [30 x i8] c"Metadata value stored on %s.\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @label_label], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @label_label(ptr noundef %0) #0 { %2 = alloca %struct.g_label_metadata, align 8 %3 = alloca [512 x i32], align 4 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %3) #3 %4 = call i32 @bzero(ptr noundef nonnull %3, i32 noundef 2048) #3 %5 = call i32 @gctl_get_int(ptr noundef %0, ptr noundef nonnull @.str) #3 %6 = icmp eq i32 %5, 2 br i1 %6, label %9, label %7 7: ; preds = %1 %8 = call i32 (ptr, ptr, ...) @gctl_error(ptr noundef %0, ptr noundef nonnull @.str.1) #3 br label %44 9: ; preds = %1 %10 = call ptr @gctl_get_ascii(ptr noundef %0, ptr noundef nonnull @.str.2) #3 %11 = call i32 @g_metadata_clear(ptr noundef %10, ptr noundef null) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %9 %14 = call ptr @strerror(i32 noundef %11) #3 %15 = call i32 (ptr, ptr, ...) @gctl_error(ptr noundef %0, ptr noundef nonnull @.str.3, ptr noundef %10, ptr noundef %14) #3 br label %44 16: ; preds = %9 %17 = load ptr, ptr @G_LABEL_MAGIC, align 8, !tbaa !6 %18 = call i32 @strlcpy(ptr noundef undef, ptr noundef %17, i32 noundef 8) #3 %19 = load i32, ptr @G_LABEL_VERSION, align 4, !tbaa !10 %20 = getelementptr inbounds i8, ptr %2, i64 16 store i32 %19, ptr %20, align 8, !tbaa !12 %21 = call ptr @gctl_get_ascii(ptr noundef %0, ptr noundef nonnull @.str.4) #3 %22 = call i32 @bzero(ptr noundef undef, i32 noundef 8) #3 %23 = call i32 @strlcpy(ptr noundef undef, ptr noundef %21, i32 noundef 8) #3 %24 = call i64 @g_get_mediasize(ptr noundef %10) #3 store i64 %24, ptr %2, align 8, !tbaa !15 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %30 26: ; preds = %16 %27 = load i32, ptr @errno, align 4, !tbaa !10 %28 = call ptr @strerror(i32 noundef %27) #3 %29 = call i32 (ptr, ptr, ...) @gctl_error(ptr noundef %0, ptr noundef nonnull @.str.5, ptr noundef %10, ptr noundef %28) #3 br label %44 30: ; preds = %16 %31 = call i32 @label_metadata_encode(ptr noundef nonnull %2, ptr noundef nonnull %3) #3 %32 = call i32 @g_metadata_store(ptr noundef %10, ptr noundef nonnull %3, i32 noundef 2048) #3 %33 = icmp eq i32 %32, 0 br i1 %33, label %39, label %34 34: ; preds = %30 %35 = load i32, ptr @stderr, align 4, !tbaa !10 %36 = call ptr @strerror(i32 noundef %32) #3 %37 = call i32 @fprintf(i32 noundef %35, ptr noundef nonnull @.str.6, ptr noundef %10, ptr noundef %36) #3 %38 = call i32 (ptr, ptr, ...) @gctl_error(ptr noundef %0, ptr noundef nonnull @.str.7) #3 br label %39 39: ; preds = %34, %30 %40 = load i64, ptr @verbose, align 8, !tbaa !16 %41 = icmp eq i64 %40, 0 br i1 %41, label %44, label %42 42: ; preds = %39 %43 = call i32 @printf(ptr noundef nonnull @.str.8, ptr noundef %10) #3 br label %44 44: ; preds = %39, %42, %26, %13, %7 call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 32, 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 i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @gctl_get_int(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @gctl_error(ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare ptr @gctl_get_ascii(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @g_metadata_clear(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @strerror(i32 noundef) local_unnamed_addr #2 declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @g_get_mediasize(ptr noundef) local_unnamed_addr #2 declare i32 @label_metadata_encode(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @g_metadata_store(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @printf(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 = !{!"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 16} !13 = !{!"g_label_metadata", !14, i64 0, !7, i64 8, !11, i64 16, !7, i64 24} !14 = !{!"long", !8, i64 0} !15 = !{!13, !14, i64 0} !16 = !{!14, !14, i64 0}
freebsd_lib_geom_label_extr_geom_label.c_label_label