IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/8250/extr_8250_lpc18xx.c_lpc18xx_serial_remove.c' source_filename = "AnghaBench/linux/drivers/tty/serial/8250/extr_8250_lpc18xx.c_lpc18xx_serial_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.lpc18xx_uart_data = type { i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @lpc18xx_serial_remove], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @lpc18xx_serial_remove(ptr noundef %0) #0 { %2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.lpc18xx_uart_data, ptr %2, i64 0, i32 2 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = tail call i32 @serial8250_unregister_port(i32 noundef %4) #2 %6 = getelementptr inbounds %struct.lpc18xx_uart_data, ptr %2, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !10 %8 = tail call i32 @clk_disable_unprepare(i32 noundef %7) #2 %9 = load i32, ptr %2, align 4, !tbaa !11 %10 = tail call i32 @clk_disable_unprepare(i32 noundef %9) #2 ret i32 0 } declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @serial8250_unregister_port(i32 noundef) local_unnamed_addr #1 declare i32 @clk_disable_unprepare(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 = !{!"lpc18xx_uart_data", !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/tty/serial/8250/extr_8250_lpc18xx.c_lpc18xx_serial_remove.c' source_filename = "AnghaBench/linux/drivers/tty/serial/8250/extr_8250_lpc18xx.c_lpc18xx_serial_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 @lpc18xx_serial_remove], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @lpc18xx_serial_remove(ptr noundef %0) #0 { %2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %2, i64 8 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = tail call i32 @serial8250_unregister_port(i32 noundef %4) #2 %6 = getelementptr inbounds i8, ptr %2, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = tail call i32 @clk_disable_unprepare(i32 noundef %7) #2 %9 = load i32, ptr %2, align 4, !tbaa !12 %10 = tail call i32 @clk_disable_unprepare(i32 noundef %9) #2 ret i32 0 } declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @serial8250_unregister_port(i32 noundef) local_unnamed_addr #1 declare i32 @clk_disable_unprepare(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 = !{!"lpc18xx_uart_data", !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_tty_serial_8250_extr_8250_lpc18xx.c_lpc18xx_serial_remove
; ModuleID = 'AnghaBench/postgres/src/backend/access/transam/extr_xlog.c_CheckPromoteSignal.c' source_filename = "AnghaBench/postgres/src/backend/access/transam/extr_xlog.c_CheckPromoteSignal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.stat = type { i32 } @PROMOTE_SIGNAL_FILE = dso_local local_unnamed_addr global i32 0, align 4 @FALLBACK_PROMOTE_SIGNAL_FILE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @CheckPromoteSignal() local_unnamed_addr #0 { %1 = alloca %struct.stat, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 %2 = load i32, ptr @PROMOTE_SIGNAL_FILE, align 4, !tbaa !5 %3 = call i64 @stat(i32 noundef %2, ptr noundef nonnull %1) #3 %4 = icmp eq i64 %3, 0 br i1 %4, label %10, label %5 5: ; preds = %0 %6 = load i32, ptr @FALLBACK_PROMOTE_SIGNAL_FILE, align 4, !tbaa !5 %7 = call i64 @stat(i32 noundef %6, ptr noundef nonnull %1) #3 %8 = icmp eq i64 %7, 0 %9 = zext i1 %8 to i32 br label %10 10: ; preds = %5, %0 %11 = phi i32 [ 1, %0 ], [ %9, %5 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret i32 %11 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @stat(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/postgres/src/backend/access/transam/extr_xlog.c_CheckPromoteSignal.c' source_filename = "AnghaBench/postgres/src/backend/access/transam/extr_xlog.c_CheckPromoteSignal.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.stat = type { i32 } @PROMOTE_SIGNAL_FILE = common local_unnamed_addr global i32 0, align 4 @FALLBACK_PROMOTE_SIGNAL_FILE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @CheckPromoteSignal() local_unnamed_addr #0 { %1 = alloca %struct.stat, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 %2 = load i32, ptr @PROMOTE_SIGNAL_FILE, align 4, !tbaa !6 %3 = call i64 @stat(i32 noundef %2, ptr noundef nonnull %1) #3 %4 = icmp eq i64 %3, 0 br i1 %4, label %10, label %5 5: ; preds = %0 %6 = load i32, ptr @FALLBACK_PROMOTE_SIGNAL_FILE, align 4, !tbaa !6 %7 = call i64 @stat(i32 noundef %6, ptr noundef nonnull %1) #3 %8 = icmp eq i64 %7, 0 %9 = zext i1 %8 to i32 br label %10 10: ; preds = %5, %0 %11 = phi i32 [ 1, %0 ], [ %9, %5 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret i32 %11 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @stat(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
postgres_src_backend_access_transam_extr_xlog.c_CheckPromoteSignal
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/extr_ipoib_vlan.c_mlx5i_pkey_add_qpn.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/extr_ipoib_vlan.c_mlx5i_pkey_add_qpn.c" target datalayout = "e-m:e-p270:32:32-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.qpn_to_netdev = type { i32, i32, ptr } %struct.mlx5i_pkey_qpn_ht = type { i32, ptr } @MLX5I_MAX_LOG_PKEY_SUP = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @mlx5i_pkey_add_qpn(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr @MLX5I_MAX_LOG_PKEY_SUP, align 4, !tbaa !10 %6 = tail call i64 @hash_32(i32 noundef %1, i32 noundef %5) #2 %7 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !10 %8 = tail call ptr @kzalloc(i32 noundef 16, i32 noundef %7) #2 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i32, ptr @ENOMEM, align 4, !tbaa !10 %12 = sub nsw i32 0, %11 br label %22 13: ; preds = %2 %14 = getelementptr inbounds %struct.qpn_to_netdev, ptr %8, i64 0, i32 2 store ptr %0, ptr %14, align 8, !tbaa !12 %15 = getelementptr inbounds %struct.qpn_to_netdev, ptr %8, i64 0, i32 1 store i32 %1, ptr %15, align 4, !tbaa !14 %16 = tail call i32 @spin_lock_bh(ptr noundef %4) #2 %17 = getelementptr inbounds %struct.mlx5i_pkey_qpn_ht, ptr %4, i64 0, i32 1 %18 = load ptr, ptr %17, align 8, !tbaa !15 %19 = getelementptr inbounds i32, ptr %18, i64 %6 %20 = tail call i32 @hlist_add_head(ptr noundef nonnull %8, ptr noundef %19) #2 %21 = tail call i32 @spin_unlock_bh(ptr noundef %4) #2 br label %22 22: ; preds = %13, %10 %23 = phi i32 [ 0, %13 ], [ %12, %10 ] ret i32 %23 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i64 @hash_32(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @hlist_add_head(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_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, !7, i64 0} !6 = !{!"mlx5i_priv", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !7, i64 8} !13 = !{!"qpn_to_netdev", !11, i64 0, !11, i64 4, !7, i64 8} !14 = !{!13, !11, i64 4} !15 = !{!16, !7, i64 8} !16 = !{!"mlx5i_pkey_qpn_ht", !11, i64 0, !7, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/extr_ipoib_vlan.c_mlx5i_pkey_add_qpn.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/extr_ipoib_vlan.c_mlx5i_pkey_add_qpn.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MLX5I_MAX_LOG_PKEY_SUP = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @mlx5i_pkey_add_qpn(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr @MLX5I_MAX_LOG_PKEY_SUP, align 4, !tbaa !11 %6 = tail call i64 @hash_32(i32 noundef %1, i32 noundef %5) #2 %7 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11 %8 = tail call ptr @kzalloc(i32 noundef 16, i32 noundef %7) #2 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %12 = sub nsw i32 0, %11 br label %22 13: ; preds = %2 %14 = getelementptr inbounds i8, ptr %8, i64 8 store ptr %0, ptr %14, align 8, !tbaa !13 %15 = getelementptr inbounds i8, ptr %8, i64 4 store i32 %1, ptr %15, align 4, !tbaa !15 %16 = tail call i32 @spin_lock_bh(ptr noundef %4) #2 %17 = getelementptr inbounds i8, ptr %4, i64 8 %18 = load ptr, ptr %17, align 8, !tbaa !16 %19 = getelementptr inbounds i32, ptr %18, i64 %6 %20 = tail call i32 @hlist_add_head(ptr noundef nonnull %8, ptr noundef %19) #2 %21 = tail call i32 @spin_unlock_bh(ptr noundef %4) #2 br label %22 22: ; preds = %13, %10 %23 = phi i32 [ 0, %13 ], [ %12, %10 ] ret i32 %23 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i64 @hash_32(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @hlist_add_head(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_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, !8, i64 0} !7 = !{!"mlx5i_priv", !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, !8, i64 8} !14 = !{!"qpn_to_netdev", !12, i64 0, !12, i64 4, !8, i64 8} !15 = !{!14, !12, i64 4} !16 = !{!17, !8, i64 8} !17 = !{!"mlx5i_pkey_qpn_ht", !12, i64 0, !8, i64 8}
linux_drivers_net_ethernet_mellanox_mlx5_core_ipoib_extr_ipoib_vlan.c_mlx5i_pkey_add_qpn
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/net/extr_lcs.c_lcs_new_device.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/net/extr_lcs.c_lcs_new_device.c" target datalayout = "e-m:e-p270:32:32-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.ccwgroup_device = type { ptr, i32 } %struct.lcs_card = type { i32, i32, i32, %struct.TYPE_4__, %struct.TYPE_3__, ptr, i32, i32 } %struct.TYPE_4__ = type { i32 } %struct.TYPE_3__ = type { i32 } %struct.net_device = type { i32, i32, ptr, i32, ptr, i32 } @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @setup = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"newdev\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"lcsnewdv\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"dtctfail\00", align 1 @.str.3 = private unnamed_addr constant [70 x i8] c"Detecting a network adapter for LCS devices failed with rc=%d (0x%x)\0A\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"samedev\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"errinit\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c" Initialization failed\0A\00", align 1 @DEV_STATE_RECOVER = dso_local local_unnamed_addr global i32 0, align 4 @IFF_UP = dso_local local_unnamed_addr global i32 0, align 4 @DEV_STATE_UP = dso_local local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [31 x i8] c"LCS device %s %s IPv6 support\0A\00", align 1 @LCS_IPASS_IPV6_SUPPORT = dso_local local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [5 x i8] c"with\00", align 1 @.str.9 = private unnamed_addr constant [8 x i8] c"without\00", align 1 @.str.10 = private unnamed_addr constant [36 x i8] c"LCS device %s %s Multicast support\0A\00", align 1 @LCS_IPASS_MULTICAST_SUPPORT = dso_local local_unnamed_addr global i32 0, align 4 @LCS_MAC_LENGTH = dso_local local_unnamed_addr global i32 0, align 4 @eth_type_trans = dso_local local_unnamed_addr global i32 0, align 4 @fddi_type_trans = dso_local local_unnamed_addr global i32 0, align 4 @lcs_mc_netdev_ops = dso_local local_unnamed_addr global i32 0, align 4 @lcs_netdev_ops = dso_local local_unnamed_addr global i32 0, align 4 @tr_type_trans = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lcs_new_device], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @lcs_new_device(ptr noundef %0) #0 { %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = getelementptr inbounds %struct.ccwgroup_device, ptr %0, i64 0, i32 1 %4 = tail call ptr @dev_get_drvdata(ptr noundef nonnull %3) #3 store ptr %4, ptr %2, align 8, !tbaa !5 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load i32, ptr @ENODEV, align 4, !tbaa !9 %8 = sub nsw i32 0, %7 br label %119 9: ; preds = %1 %10 = load i32, ptr @setup, align 4, !tbaa !9 %11 = tail call i32 @LCS_DBF_TEXT(i32 noundef 2, i32 noundef %10, ptr noundef nonnull @.str) #3 %12 = load i32, ptr @setup, align 4, !tbaa !9 %13 = call i32 @LCS_DBF_HEX(i32 noundef 3, i32 noundef %12, ptr noundef nonnull %2, i32 noundef 8) #3 %14 = load ptr, ptr %0, align 8, !tbaa !11 %15 = load i32, ptr %14, align 4, !tbaa !9 %16 = load ptr, ptr %2, align 8, !tbaa !5 %17 = getelementptr inbounds %struct.lcs_card, ptr %16, i64 0, i32 4 store i32 %15, ptr %17, align 8, !tbaa !13 %18 = getelementptr inbounds i32, ptr %14, i64 1 %19 = load i32, ptr %18, align 4, !tbaa !9 %20 = getelementptr inbounds %struct.lcs_card, ptr %16, i64 0, i32 3 store i32 %19, ptr %20, align 4, !tbaa !17 %21 = load i32, ptr %16, align 8, !tbaa !18 %22 = call i32 @ccw_device_set_online(i32 noundef %15) #3 %23 = load ptr, ptr %2, align 8, !tbaa !5 %24 = getelementptr inbounds %struct.lcs_card, ptr %23, i64 0, i32 3 %25 = load i32, ptr %24, align 4, !tbaa !17 %26 = call i32 @ccw_device_set_online(i32 noundef %25) #3 %27 = load i32, ptr @setup, align 4, !tbaa !9 %28 = call i32 @LCS_DBF_TEXT(i32 noundef 3, i32 noundef %27, ptr noundef nonnull @.str.1) #3 %29 = load ptr, ptr %2, align 8, !tbaa !5 %30 = call i32 @lcs_setup_card(ptr noundef %29) #3 %31 = load ptr, ptr %2, align 8, !tbaa !5 %32 = call i32 @lcs_detect(ptr noundef %31) #3 %33 = icmp eq i32 %32, 0 br i1 %33, label %44, label %34 34: ; preds = %9 %35 = load i32, ptr @setup, align 4, !tbaa !9 %36 = call i32 @LCS_DBF_TEXT(i32 noundef 2, i32 noundef %35, ptr noundef nonnull @.str.2) #3 %37 = load ptr, ptr %2, align 8, !tbaa !5 %38 = getelementptr inbounds %struct.lcs_card, ptr %37, i64 0, i32 5 %39 = load ptr, ptr %38, align 8, !tbaa !19 %40 = getelementptr inbounds %struct.net_device, ptr %39, i64 0, i32 5 %41 = call i32 @dev_err(ptr noundef nonnull %40, ptr noundef nonnull @.str.3, i32 noundef %32, i32 noundef %32) #3 %42 = load ptr, ptr %2, align 8, !tbaa !5 %43 = call i32 @lcs_stopcard(ptr noundef %42) #3 br label %108 44: ; preds = %9 %45 = load ptr, ptr %2, align 8, !tbaa !5 %46 = getelementptr inbounds %struct.lcs_card, ptr %45, i64 0, i32 5 %47 = load ptr, ptr %46, align 8, !tbaa !19 %48 = icmp eq ptr %47, null %49 = load i32, ptr @setup, align 4, !tbaa !9 br i1 %48, label %59, label %50 50: ; preds = %44 %51 = call i32 @LCS_DBF_TEXT(i32 noundef 2, i32 noundef %49, ptr noundef nonnull @.str.4) #3 %52 = load i32, ptr @setup, align 4, !tbaa !9 %53 = call i32 @LCS_DBF_HEX(i32 noundef 3, i32 noundef %52, ptr noundef nonnull %2, i32 noundef 8) #3 %54 = load ptr, ptr %2, align 8, !tbaa !5 %55 = call i32 @lcs_set_allowed_threads(ptr noundef %54, i32 noundef -1) #3 %56 = load i32, ptr @DEV_STATE_RECOVER, align 4, !tbaa !9 %57 = icmp eq i32 %21, %56 %58 = load ptr, ptr %2, align 8, !tbaa !5 br i1 %57, label %62, label %80 59: ; preds = %44 %60 = call i32 @LCS_DBF_TEXT(i32 noundef 3, i32 noundef %49, ptr noundef nonnull @.str.5) #3 %61 = call i32 @pr_err(ptr noundef nonnull @.str.6) #3 br label %108 62: ; preds = %50 %63 = getelementptr inbounds %struct.lcs_card, ptr %58, i64 0, i32 5 %64 = load ptr, ptr %63, align 8, !tbaa !19 %65 = call i32 @lcs_set_multicast_list(ptr noundef %64) #3 %66 = load i32, ptr @IFF_UP, align 4, !tbaa !9 %67 = load ptr, ptr %2, align 8, !tbaa !5 %68 = getelementptr inbounds %struct.lcs_card, ptr %67, i64 0, i32 5 %69 = load ptr, ptr %68, align 8, !tbaa !19 %70 = getelementptr inbounds %struct.net_device, ptr %69, i64 0, i32 1 %71 = load i32, ptr %70, align 4, !tbaa !20 %72 = or i32 %71, %66 store i32 %72, ptr %70, align 4, !tbaa !20 %73 = call i32 @netif_carrier_on(ptr noundef %69) #3 %74 = load ptr, ptr %2, align 8, !tbaa !5 %75 = getelementptr inbounds %struct.lcs_card, ptr %74, i64 0, i32 5 %76 = load ptr, ptr %75, align 8, !tbaa !19 %77 = call i32 @netif_wake_queue(ptr noundef %76) #3 %78 = load i32, ptr @DEV_STATE_UP, align 4, !tbaa !9 %79 = load ptr, ptr %2, align 8, !tbaa !5 store i32 %78, ptr %79, align 8, !tbaa !18 br label %82 80: ; preds = %50 %81 = call i32 @lcs_stopcard(ptr noundef %58) #3 br label %82 82: ; preds = %80, %62 %83 = call i64 @lcs_register_netdev(ptr noundef nonnull %0) #3 %84 = icmp eq i64 %83, 0 br i1 %84, label %85, label %108 85: ; preds = %82 %86 = load ptr, ptr %2, align 8, !tbaa !5 %87 = getelementptr inbounds %struct.lcs_card, ptr %86, i64 0, i32 5 %88 = load ptr, ptr %87, align 8, !tbaa !19 %89 = load i32, ptr %88, align 8, !tbaa !22 %90 = getelementptr inbounds %struct.lcs_card, ptr %86, i64 0, i32 2 %91 = load i32, ptr %90, align 8, !tbaa !23 %92 = load i32, ptr @LCS_IPASS_IPV6_SUPPORT, align 4, !tbaa !9 %93 = and i32 %92, %91 %94 = icmp eq i32 %93, 0 %95 = select i1 %94, ptr @.str.9, ptr @.str.8 %96 = call i32 @pr_info(ptr noundef nonnull @.str.7, i32 noundef %89, ptr noundef nonnull %95) #3 %97 = load ptr, ptr %2, align 8, !tbaa !5 %98 = getelementptr inbounds %struct.lcs_card, ptr %97, i64 0, i32 5 %99 = load ptr, ptr %98, align 8, !tbaa !19 %100 = load i32, ptr %99, align 8, !tbaa !22 %101 = getelementptr inbounds %struct.lcs_card, ptr %97, i64 0, i32 2 %102 = load i32, ptr %101, align 8, !tbaa !23 %103 = load i32, ptr @LCS_IPASS_MULTICAST_SUPPORT, align 4, !tbaa !9 %104 = and i32 %103, %102 %105 = icmp eq i32 %104, 0 %106 = select i1 %105, ptr @.str.9, ptr @.str.8 %107 = call i32 @pr_info(ptr noundef nonnull @.str.10, i32 noundef %100, ptr noundef nonnull %106) #3 br label %119 108: ; preds = %82, %59, %34 %109 = load ptr, ptr %2, align 8, !tbaa !5 %110 = getelementptr inbounds %struct.lcs_card, ptr %109, i64 0, i32 4 %111 = load i32, ptr %110, align 8, !tbaa !13 %112 = call i32 @ccw_device_set_offline(i32 noundef %111) #3 %113 = load ptr, ptr %2, align 8, !tbaa !5 %114 = getelementptr inbounds %struct.lcs_card, ptr %113, i64 0, i32 3 %115 = load i32, ptr %114, align 4, !tbaa !17 %116 = call i32 @ccw_device_set_offline(i32 noundef %115) #3 %117 = load i32, ptr @ENODEV, align 4, !tbaa !9 %118 = sub nsw i32 0, %117 br label %119 119: ; preds = %108, %85, %6 %120 = phi i32 [ %118, %108 ], [ 0, %85 ], [ %8, %6 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %120 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2 declare i32 @LCS_DBF_TEXT(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @LCS_DBF_HEX(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ccw_device_set_online(i32 noundef) local_unnamed_addr #2 declare i32 @lcs_setup_card(ptr noundef) local_unnamed_addr #2 declare i32 @lcs_detect(ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lcs_stopcard(ptr noundef) local_unnamed_addr #2 declare i32 @pr_err(ptr noundef) local_unnamed_addr #2 declare i32 @lcs_set_allowed_threads(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lcs_set_multicast_list(ptr noundef) local_unnamed_addr #2 declare i32 @netif_carrier_on(ptr noundef) local_unnamed_addr #2 declare i32 @netif_wake_queue(ptr noundef) local_unnamed_addr #2 declare i64 @lcs_register_netdev(ptr noundef) local_unnamed_addr #2 declare i32 @pr_info(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ccw_device_set_offline(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"ccwgroup_device", !6, i64 0, !10, i64 8} !13 = !{!14, !10, i64 16} !14 = !{!"lcs_card", !10, i64 0, !10, i64 4, !10, i64 8, !15, i64 12, !16, i64 16, !6, i64 24, !10, i64 32, !10, i64 36} !15 = !{!"TYPE_4__", !10, i64 0} !16 = !{!"TYPE_3__", !10, i64 0} !17 = !{!14, !10, i64 12} !18 = !{!14, !10, i64 0} !19 = !{!14, !6, i64 24} !20 = !{!21, !10, i64 4} !21 = !{!"net_device", !10, i64 0, !10, i64 4, !6, i64 8, !10, i64 16, !6, i64 24, !10, i64 32} !22 = !{!21, !10, i64 0} !23 = !{!14, !10, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/net/extr_lcs.c_lcs_new_device.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/net/extr_lcs.c_lcs_new_device.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENODEV = common local_unnamed_addr global i32 0, align 4 @setup = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"newdev\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"lcsnewdv\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"dtctfail\00", align 1 @.str.3 = private unnamed_addr constant [70 x i8] c"Detecting a network adapter for LCS devices failed with rc=%d (0x%x)\0A\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"samedev\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"errinit\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c" Initialization failed\0A\00", align 1 @DEV_STATE_RECOVER = common local_unnamed_addr global i32 0, align 4 @IFF_UP = common local_unnamed_addr global i32 0, align 4 @DEV_STATE_UP = common local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [31 x i8] c"LCS device %s %s IPv6 support\0A\00", align 1 @LCS_IPASS_IPV6_SUPPORT = common local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [5 x i8] c"with\00", align 1 @.str.9 = private unnamed_addr constant [8 x i8] c"without\00", align 1 @.str.10 = private unnamed_addr constant [36 x i8] c"LCS device %s %s Multicast support\0A\00", align 1 @LCS_IPASS_MULTICAST_SUPPORT = common local_unnamed_addr global i32 0, align 4 @LCS_MAC_LENGTH = common local_unnamed_addr global i32 0, align 4 @eth_type_trans = common local_unnamed_addr global i32 0, align 4 @fddi_type_trans = common local_unnamed_addr global i32 0, align 4 @lcs_mc_netdev_ops = common local_unnamed_addr global i32 0, align 4 @lcs_netdev_ops = common local_unnamed_addr global i32 0, align 4 @tr_type_trans = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @lcs_new_device], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @lcs_new_device(ptr noundef %0) #0 { %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = tail call ptr @dev_get_drvdata(ptr noundef nonnull %3) #3 store ptr %4, ptr %2, align 8, !tbaa !6 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load i32, ptr @ENODEV, align 4, !tbaa !10 %8 = sub nsw i32 0, %7 br label %119 9: ; preds = %1 %10 = load i32, ptr @setup, align 4, !tbaa !10 %11 = tail call i32 @LCS_DBF_TEXT(i32 noundef 2, i32 noundef %10, ptr noundef nonnull @.str) #3 %12 = load i32, ptr @setup, align 4, !tbaa !10 %13 = call i32 @LCS_DBF_HEX(i32 noundef 3, i32 noundef %12, ptr noundef nonnull %2, i32 noundef 8) #3 %14 = load ptr, ptr %0, align 8, !tbaa !12 %15 = load i32, ptr %14, align 4, !tbaa !10 %16 = load ptr, ptr %2, align 8, !tbaa !6 %17 = getelementptr inbounds i8, ptr %16, i64 16 store i32 %15, ptr %17, align 8, !tbaa !14 %18 = getelementptr inbounds i8, ptr %14, i64 4 %19 = load i32, ptr %18, align 4, !tbaa !10 %20 = getelementptr inbounds i8, ptr %16, i64 12 store i32 %19, ptr %20, align 4, !tbaa !18 %21 = load i32, ptr %16, align 8, !tbaa !19 %22 = call i32 @ccw_device_set_online(i32 noundef %15) #3 %23 = load ptr, ptr %2, align 8, !tbaa !6 %24 = getelementptr inbounds i8, ptr %23, i64 12 %25 = load i32, ptr %24, align 4, !tbaa !18 %26 = call i32 @ccw_device_set_online(i32 noundef %25) #3 %27 = load i32, ptr @setup, align 4, !tbaa !10 %28 = call i32 @LCS_DBF_TEXT(i32 noundef 3, i32 noundef %27, ptr noundef nonnull @.str.1) #3 %29 = load ptr, ptr %2, align 8, !tbaa !6 %30 = call i32 @lcs_setup_card(ptr noundef %29) #3 %31 = load ptr, ptr %2, align 8, !tbaa !6 %32 = call i32 @lcs_detect(ptr noundef %31) #3 %33 = icmp eq i32 %32, 0 br i1 %33, label %44, label %34 34: ; preds = %9 %35 = load i32, ptr @setup, align 4, !tbaa !10 %36 = call i32 @LCS_DBF_TEXT(i32 noundef 2, i32 noundef %35, ptr noundef nonnull @.str.2) #3 %37 = load ptr, ptr %2, align 8, !tbaa !6 %38 = getelementptr inbounds i8, ptr %37, i64 24 %39 = load ptr, ptr %38, align 8, !tbaa !20 %40 = getelementptr inbounds i8, ptr %39, i64 32 %41 = call i32 @dev_err(ptr noundef nonnull %40, ptr noundef nonnull @.str.3, i32 noundef %32, i32 noundef %32) #3 %42 = load ptr, ptr %2, align 8, !tbaa !6 %43 = call i32 @lcs_stopcard(ptr noundef %42) #3 br label %108 44: ; preds = %9 %45 = load ptr, ptr %2, align 8, !tbaa !6 %46 = getelementptr inbounds i8, ptr %45, i64 24 %47 = load ptr, ptr %46, align 8, !tbaa !20 %48 = icmp eq ptr %47, null %49 = load i32, ptr @setup, align 4, !tbaa !10 br i1 %48, label %59, label %50 50: ; preds = %44 %51 = call i32 @LCS_DBF_TEXT(i32 noundef 2, i32 noundef %49, ptr noundef nonnull @.str.4) #3 %52 = load i32, ptr @setup, align 4, !tbaa !10 %53 = call i32 @LCS_DBF_HEX(i32 noundef 3, i32 noundef %52, ptr noundef nonnull %2, i32 noundef 8) #3 %54 = load ptr, ptr %2, align 8, !tbaa !6 %55 = call i32 @lcs_set_allowed_threads(ptr noundef %54, i32 noundef -1) #3 %56 = load i32, ptr @DEV_STATE_RECOVER, align 4, !tbaa !10 %57 = icmp eq i32 %21, %56 %58 = load ptr, ptr %2, align 8, !tbaa !6 br i1 %57, label %62, label %80 59: ; preds = %44 %60 = call i32 @LCS_DBF_TEXT(i32 noundef 3, i32 noundef %49, ptr noundef nonnull @.str.5) #3 %61 = call i32 @pr_err(ptr noundef nonnull @.str.6) #3 br label %108 62: ; preds = %50 %63 = getelementptr inbounds i8, ptr %58, i64 24 %64 = load ptr, ptr %63, align 8, !tbaa !20 %65 = call i32 @lcs_set_multicast_list(ptr noundef %64) #3 %66 = load i32, ptr @IFF_UP, align 4, !tbaa !10 %67 = load ptr, ptr %2, align 8, !tbaa !6 %68 = getelementptr inbounds i8, ptr %67, i64 24 %69 = load ptr, ptr %68, align 8, !tbaa !20 %70 = getelementptr inbounds i8, ptr %69, i64 4 %71 = load i32, ptr %70, align 4, !tbaa !21 %72 = or i32 %71, %66 store i32 %72, ptr %70, align 4, !tbaa !21 %73 = call i32 @netif_carrier_on(ptr noundef %69) #3 %74 = load ptr, ptr %2, align 8, !tbaa !6 %75 = getelementptr inbounds i8, ptr %74, i64 24 %76 = load ptr, ptr %75, align 8, !tbaa !20 %77 = call i32 @netif_wake_queue(ptr noundef %76) #3 %78 = load i32, ptr @DEV_STATE_UP, align 4, !tbaa !10 %79 = load ptr, ptr %2, align 8, !tbaa !6 store i32 %78, ptr %79, align 8, !tbaa !19 br label %82 80: ; preds = %50 %81 = call i32 @lcs_stopcard(ptr noundef %58) #3 br label %82 82: ; preds = %80, %62 %83 = call i64 @lcs_register_netdev(ptr noundef nonnull %0) #3 %84 = icmp eq i64 %83, 0 br i1 %84, label %85, label %108 85: ; preds = %82 %86 = load ptr, ptr %2, align 8, !tbaa !6 %87 = getelementptr inbounds i8, ptr %86, i64 24 %88 = load ptr, ptr %87, align 8, !tbaa !20 %89 = load i32, ptr %88, align 8, !tbaa !23 %90 = getelementptr inbounds i8, ptr %86, i64 8 %91 = load i32, ptr %90, align 8, !tbaa !24 %92 = load i32, ptr @LCS_IPASS_IPV6_SUPPORT, align 4, !tbaa !10 %93 = and i32 %92, %91 %94 = icmp eq i32 %93, 0 %95 = select i1 %94, ptr @.str.9, ptr @.str.8 %96 = call i32 @pr_info(ptr noundef nonnull @.str.7, i32 noundef %89, ptr noundef nonnull %95) #3 %97 = load ptr, ptr %2, align 8, !tbaa !6 %98 = getelementptr inbounds i8, ptr %97, i64 24 %99 = load ptr, ptr %98, align 8, !tbaa !20 %100 = load i32, ptr %99, align 8, !tbaa !23 %101 = getelementptr inbounds i8, ptr %97, i64 8 %102 = load i32, ptr %101, align 8, !tbaa !24 %103 = load i32, ptr @LCS_IPASS_MULTICAST_SUPPORT, align 4, !tbaa !10 %104 = and i32 %103, %102 %105 = icmp eq i32 %104, 0 %106 = select i1 %105, ptr @.str.9, ptr @.str.8 %107 = call i32 @pr_info(ptr noundef nonnull @.str.10, i32 noundef %100, ptr noundef nonnull %106) #3 br label %119 108: ; preds = %82, %59, %34 %109 = load ptr, ptr %2, align 8, !tbaa !6 %110 = getelementptr inbounds i8, ptr %109, i64 16 %111 = load i32, ptr %110, align 8, !tbaa !14 %112 = call i32 @ccw_device_set_offline(i32 noundef %111) #3 %113 = load ptr, ptr %2, align 8, !tbaa !6 %114 = getelementptr inbounds i8, ptr %113, i64 12 %115 = load i32, ptr %114, align 4, !tbaa !18 %116 = call i32 @ccw_device_set_offline(i32 noundef %115) #3 %117 = load i32, ptr @ENODEV, align 4, !tbaa !10 %118 = sub nsw i32 0, %117 br label %119 119: ; preds = %108, %85, %6 %120 = phi i32 [ %118, %108 ], [ 0, %85 ], [ %8, %6 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %120 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2 declare i32 @LCS_DBF_TEXT(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @LCS_DBF_HEX(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ccw_device_set_online(i32 noundef) local_unnamed_addr #2 declare i32 @lcs_setup_card(ptr noundef) local_unnamed_addr #2 declare i32 @lcs_detect(ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lcs_stopcard(ptr noundef) local_unnamed_addr #2 declare i32 @pr_err(ptr noundef) local_unnamed_addr #2 declare i32 @lcs_set_allowed_threads(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lcs_set_multicast_list(ptr noundef) local_unnamed_addr #2 declare i32 @netif_carrier_on(ptr noundef) local_unnamed_addr #2 declare i32 @netif_wake_queue(ptr noundef) local_unnamed_addr #2 declare i64 @lcs_register_netdev(ptr noundef) local_unnamed_addr #2 declare i32 @pr_info(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ccw_device_set_offline(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"ccwgroup_device", !7, i64 0, !11, i64 8} !14 = !{!15, !11, i64 16} !15 = !{!"lcs_card", !11, i64 0, !11, i64 4, !11, i64 8, !16, i64 12, !17, i64 16, !7, i64 24, !11, i64 32, !11, i64 36} !16 = !{!"TYPE_4__", !11, i64 0} !17 = !{!"TYPE_3__", !11, i64 0} !18 = !{!15, !11, i64 12} !19 = !{!15, !11, i64 0} !20 = !{!15, !7, i64 24} !21 = !{!22, !11, i64 4} !22 = !{!"net_device", !11, i64 0, !11, i64 4, !7, i64 8, !11, i64 16, !7, i64 24, !11, i64 32} !23 = !{!22, !11, i64 0} !24 = !{!15, !11, i64 8}
fastsocket_kernel_drivers_s390_net_extr_lcs.c_lcs_new_device
; ModuleID = 'AnghaBench/freebsd/sys/dev/amr/extr_amr_pci.c_amr_pci_resume.c' source_filename = "AnghaBench/freebsd/sys/dev/amr/extr_amr_pci.c_amr_pci_resume.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AMR_STATE_SUSPEND = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @amr_pci_resume], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @amr_pci_resume(i32 noundef %0) #0 { %2 = tail call ptr @device_get_softc(i32 noundef %0) #2 %3 = tail call i32 @debug_called(i32 noundef 1) #2 %4 = load i32, ptr @AMR_STATE_SUSPEND, align 4, !tbaa !5 %5 = xor i32 %4, -1 %6 = load i32, ptr %2, align 4, !tbaa !9 %7 = and i32 %6, %5 store i32 %7, ptr %2, align 4, !tbaa !9 ret i32 0 } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @debug_called(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 = !{!"amr_softc", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/amr/extr_amr_pci.c_amr_pci_resume.c' source_filename = "AnghaBench/freebsd/sys/dev/amr/extr_amr_pci.c_amr_pci_resume.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AMR_STATE_SUSPEND = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @amr_pci_resume], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @amr_pci_resume(i32 noundef %0) #0 { %2 = tail call ptr @device_get_softc(i32 noundef %0) #2 %3 = tail call i32 @debug_called(i32 noundef 1) #2 %4 = load i32, ptr @AMR_STATE_SUSPEND, align 4, !tbaa !6 %5 = xor i32 %4, -1 %6 = load i32, ptr %2, align 4, !tbaa !10 %7 = and i32 %6, %5 store i32 %7, ptr %2, align 4, !tbaa !10 ret i32 0 } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @debug_called(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 = !{!"amr_softc", !7, i64 0}
freebsd_sys_dev_amr_extr_amr_pci.c_amr_pci_resume
; ModuleID = 'AnghaBench/postgres/src/backend/executor/extr_tstoreReceiver.c_SetTuplestoreDestReceiverParams.c' source_filename = "AnghaBench/postgres/src/backend/executor/extr_tstoreReceiver.c_SetTuplestoreDestReceiverParams.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32, ptr, %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } @DestTuplestore = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @SetTuplestoreDestReceiverParams(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3 %6 = load i64, ptr %5, align 8, !tbaa !5 %7 = load i64, ptr @DestTuplestore, align 8, !tbaa !13 %8 = icmp eq i64 %6, %7 %9 = zext i1 %8 to i32 %10 = tail call i32 @Assert(i32 noundef %9) #2 %11 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2 store ptr %1, ptr %11, align 8, !tbaa !14 %12 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 store i32 %2, ptr %12, align 4, !tbaa !15 store i32 %3, ptr %0, align 8, !tbaa !16 ret void } 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, !12, i64 16} !6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"TYPE_3__", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!6, !10, i64 8} !15 = !{!6, !7, i64 4} !16 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/postgres/src/backend/executor/extr_tstoreReceiver.c_SetTuplestoreDestReceiverParams.c' source_filename = "AnghaBench/postgres/src/backend/executor/extr_tstoreReceiver.c_SetTuplestoreDestReceiverParams.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DestTuplestore = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @SetTuplestoreDestReceiverParams(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = load i64, ptr %5, align 8, !tbaa !6 %7 = load i64, ptr @DestTuplestore, align 8, !tbaa !14 %8 = icmp eq i64 %6, %7 %9 = zext i1 %8 to i32 %10 = tail call i32 @Assert(i32 noundef %9) #2 %11 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %1, ptr %11, align 8, !tbaa !15 %12 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %2, ptr %12, align 4, !tbaa !16 store i32 %3, ptr %0, align 8, !tbaa !17 ret void } 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, !13, i64 16} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!7, !11, i64 8} !16 = !{!7, !8, i64 4} !17 = !{!7, !8, i64 0}
postgres_src_backend_executor_extr_tstoreReceiver.c_SetTuplestoreDestReceiverParams
; ModuleID = 'AnghaBench/linux/fs/dlm/extr_rcom.c_send_rcom.c' source_filename = "AnghaBench/linux/fs/dlm/extr_rcom.c_send_rcom.c" target datalayout = "e-m:e-p270:32:32-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 @send_rcom], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @send_rcom(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @dlm_rcom_out(ptr noundef %2) #2 %5 = tail call i32 @dlm_lowcomms_commit_buffer(ptr noundef %1) #2 ret void } declare i32 @dlm_rcom_out(ptr noundef) local_unnamed_addr #1 declare i32 @dlm_lowcomms_commit_buffer(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/fs/dlm/extr_rcom.c_send_rcom.c' source_filename = "AnghaBench/linux/fs/dlm/extr_rcom.c_send_rcom.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @send_rcom], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @send_rcom(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @dlm_rcom_out(ptr noundef %2) #2 %5 = tail call i32 @dlm_lowcomms_commit_buffer(ptr noundef %1) #2 ret void } declare i32 @dlm_rcom_out(ptr noundef) local_unnamed_addr #1 declare i32 @dlm_lowcomms_commit_buffer(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_fs_dlm_extr_rcom.c_send_rcom
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/validator/extr_val_neg.c_val_neg_addreferral.c' source_filename = "AnghaBench/freebsd/contrib/unbound/validator/extr_val_neg.c_val_neg_addreferral.c" target datalayout = "e-m:e-p270:32:32-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.reply_info = type { i64, i64, ptr } %struct.val_neg_zone = type { %struct.TYPE_5__, ptr } %struct.TYPE_5__ = type { i64 } %struct.TYPE_4__ = type { ptr, i32 } @VERB_ALGO = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"negcache insert referral \00", align 1 @LDNS_RR_TYPE_NS = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [35 x i8] c"out of memory adding negative zone\00", align 1 @LDNS_RR_TYPE_NSEC = dso_local local_unnamed_addr global i64 0, align 8 @LDNS_RR_TYPE_NSEC3 = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @val_neg_addreferral(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca i64, align 8 %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = call ptr @reply_nsec_signer(ptr noundef %1, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %7 = icmp eq ptr %6, null br i1 %7, label %90, label %8 8: ; preds = %3 %9 = call i32 @dname_subdomain_c(ptr noundef nonnull %6, ptr noundef %2) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %90, label %11 11: ; preds = %8 %12 = load i32, ptr @VERB_ALGO, align 4, !tbaa !5 %13 = load i32, ptr @LDNS_RR_TYPE_NS, align 4, !tbaa !5 %14 = load i32, ptr %5, align 4, !tbaa !5 %15 = call i32 @log_nametypeclass(i32 noundef %12, ptr noundef nonnull @.str, ptr noundef nonnull %6, i32 noundef %13, i32 noundef %14) #3 %16 = call i64 @calc_data_need(ptr noundef %1) #3 %17 = load i64, ptr %4, align 8, !tbaa !9 %18 = call i64 @calc_zone_need(ptr noundef nonnull %6, i64 noundef %17) #3 %19 = add i64 %18, %16 %20 = call i32 @lock_basic_lock(ptr noundef %0) #3 %21 = call i32 @neg_make_space(ptr noundef %0, i64 noundef %19) #3 %22 = load i64, ptr %4, align 8, !tbaa !9 %23 = load i32, ptr %5, align 4, !tbaa !5 %24 = call ptr @neg_find_zone(ptr noundef %0, ptr noundef nonnull %6, i64 noundef %22, i32 noundef %23) #3 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %34 26: ; preds = %11 %27 = load i64, ptr %4, align 8, !tbaa !9 %28 = load i32, ptr %5, align 4, !tbaa !5 %29 = call ptr @neg_create_zone(ptr noundef %0, ptr noundef nonnull %6, i64 noundef %27, i32 noundef %28) #3 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %34 31: ; preds = %26 %32 = call i32 @lock_basic_unlock(ptr noundef %0) #3 %33 = call i32 @log_err(ptr noundef nonnull @.str.1) #3 br label %90 34: ; preds = %26, %11 %35 = phi ptr [ %24, %11 ], [ %29, %26 ] %36 = call i32 @val_neg_zone_take_inuse(ptr noundef nonnull %35) #3 %37 = load i64, ptr %1, align 8, !tbaa !11 %38 = getelementptr inbounds %struct.reply_info, ptr %1, i64 0, i32 1 %39 = load i64, ptr %38, align 8, !tbaa !14 %40 = add i64 %39, %37 %41 = icmp ult i64 %37, %40 br i1 %41, label %42, label %83 42: ; preds = %34 %43 = getelementptr inbounds %struct.reply_info, ptr %1, i64 0, i32 2 %44 = getelementptr inbounds %struct.val_neg_zone, ptr %35, i64 0, i32 1 br label %45 45: ; preds = %42, %77 %46 = phi i64 [ %37, %42 ], [ %78, %77 ] %47 = load ptr, ptr %43, align 8, !tbaa !15 %48 = getelementptr inbounds ptr, ptr %47, i64 %46 %49 = load ptr, ptr %48, align 8, !tbaa !16 %50 = getelementptr inbounds %struct.TYPE_4__, ptr %49, i64 0, i32 1 %51 = load i32, ptr %50, align 8, !tbaa !17 %52 = call i64 @ntohs(i32 noundef %51) #3 %53 = load i64, ptr @LDNS_RR_TYPE_NSEC, align 8, !tbaa !9 %54 = icmp eq i64 %52, %53 br i1 %54, label %64, label %55 55: ; preds = %45 %56 = load ptr, ptr %43, align 8, !tbaa !15 %57 = getelementptr inbounds ptr, ptr %56, i64 %46 %58 = load ptr, ptr %57, align 8, !tbaa !16 %59 = getelementptr inbounds %struct.TYPE_4__, ptr %58, i64 0, i32 1 %60 = load i32, ptr %59, align 8, !tbaa !17 %61 = call i64 @ntohs(i32 noundef %60) #3 %62 = load i64, ptr @LDNS_RR_TYPE_NSEC3, align 8, !tbaa !9 %63 = icmp eq i64 %61, %62 br i1 %63, label %64, label %77 64: ; preds = %55, %45 %65 = load ptr, ptr %43, align 8, !tbaa !15 %66 = getelementptr inbounds ptr, ptr %65, i64 %46 %67 = load ptr, ptr %66, align 8, !tbaa !16 %68 = load ptr, ptr %67, align 8, !tbaa !20 %69 = load ptr, ptr %44, align 8, !tbaa !21 %70 = call i32 @dname_subdomain_c(ptr noundef %68, ptr noundef %69) #3 %71 = icmp eq i32 %70, 0 br i1 %71, label %77, label %72 72: ; preds = %64 %73 = load ptr, ptr %43, align 8, !tbaa !15 %74 = getelementptr inbounds ptr, ptr %73, i64 %46 %75 = load ptr, ptr %74, align 8, !tbaa !16 %76 = call i32 @neg_insert_data(ptr noundef %0, ptr noundef nonnull %35, ptr noundef %75) #3 br label %77 77: ; preds = %64, %55, %72 %78 = add nuw i64 %46, 1 %79 = load i64, ptr %1, align 8, !tbaa !11 %80 = load i64, ptr %38, align 8, !tbaa !14 %81 = add i64 %80, %79 %82 = icmp ult i64 %78, %81 br i1 %82, label %45, label %83, !llvm.loop !24 83: ; preds = %77, %34 %84 = load i64, ptr %35, align 8, !tbaa !26 %85 = icmp eq i64 %84, 0 br i1 %85, label %86, label %88 86: ; preds = %83 %87 = call i32 @neg_delete_zone(ptr noundef %0, ptr noundef nonnull %35) #3 br label %88 88: ; preds = %86, %83 %89 = call i32 @lock_basic_unlock(ptr noundef %0) #3 br label %90 90: ; preds = %8, %3, %88, %31 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @reply_nsec_signer(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dname_subdomain_c(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @log_nametypeclass(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @calc_data_need(ptr noundef) local_unnamed_addr #2 declare i64 @calc_zone_need(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @lock_basic_lock(ptr noundef) local_unnamed_addr #2 declare i32 @neg_make_space(ptr noundef, i64 noundef) local_unnamed_addr #2 declare ptr @neg_find_zone(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @neg_create_zone(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lock_basic_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @log_err(ptr noundef) local_unnamed_addr #2 declare i32 @val_neg_zone_take_inuse(ptr noundef) local_unnamed_addr #2 declare i64 @ntohs(i32 noundef) local_unnamed_addr #2 declare i32 @neg_insert_data(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @neg_delete_zone(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"reply_info", !10, i64 0, !10, i64 8, !13, i64 16} !13 = !{!"any pointer", !7, i64 0} !14 = !{!12, !10, i64 8} !15 = !{!12, !13, i64 16} !16 = !{!13, !13, i64 0} !17 = !{!18, !6, i64 8} !18 = !{!"TYPE_6__", !19, i64 0} !19 = !{!"TYPE_4__", !13, i64 0, !6, i64 8} !20 = !{!18, !13, i64 0} !21 = !{!22, !13, i64 8} !22 = !{!"val_neg_zone", !23, i64 0, !13, i64 8} !23 = !{!"TYPE_5__", !10, i64 0} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"} !26 = !{!22, !10, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/validator/extr_val_neg.c_val_neg_addreferral.c' source_filename = "AnghaBench/freebsd/contrib/unbound/validator/extr_val_neg.c_val_neg_addreferral.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VERB_ALGO = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"negcache insert referral \00", align 1 @LDNS_RR_TYPE_NS = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [35 x i8] c"out of memory adding negative zone\00", align 1 @LDNS_RR_TYPE_NSEC = common local_unnamed_addr global i64 0, align 8 @LDNS_RR_TYPE_NSEC3 = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @val_neg_addreferral(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca i64, align 8 %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = call ptr @reply_nsec_signer(ptr noundef %1, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %7 = icmp eq ptr %6, null br i1 %7, label %90, label %8 8: ; preds = %3 %9 = call i32 @dname_subdomain_c(ptr noundef nonnull %6, ptr noundef %2) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %90, label %11 11: ; preds = %8 %12 = load i32, ptr @VERB_ALGO, align 4, !tbaa !6 %13 = load i32, ptr @LDNS_RR_TYPE_NS, align 4, !tbaa !6 %14 = load i32, ptr %5, align 4, !tbaa !6 %15 = call i32 @log_nametypeclass(i32 noundef %12, ptr noundef nonnull @.str, ptr noundef nonnull %6, i32 noundef %13, i32 noundef %14) #3 %16 = call i64 @calc_data_need(ptr noundef %1) #3 %17 = load i64, ptr %4, align 8, !tbaa !10 %18 = call i64 @calc_zone_need(ptr noundef nonnull %6, i64 noundef %17) #3 %19 = add i64 %18, %16 %20 = call i32 @lock_basic_lock(ptr noundef %0) #3 %21 = call i32 @neg_make_space(ptr noundef %0, i64 noundef %19) #3 %22 = load i64, ptr %4, align 8, !tbaa !10 %23 = load i32, ptr %5, align 4, !tbaa !6 %24 = call ptr @neg_find_zone(ptr noundef %0, ptr noundef nonnull %6, i64 noundef %22, i32 noundef %23) #3 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %34 26: ; preds = %11 %27 = load i64, ptr %4, align 8, !tbaa !10 %28 = load i32, ptr %5, align 4, !tbaa !6 %29 = call ptr @neg_create_zone(ptr noundef %0, ptr noundef nonnull %6, i64 noundef %27, i32 noundef %28) #3 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %34 31: ; preds = %26 %32 = call i32 @lock_basic_unlock(ptr noundef %0) #3 %33 = call i32 @log_err(ptr noundef nonnull @.str.1) #3 br label %90 34: ; preds = %26, %11 %35 = phi ptr [ %24, %11 ], [ %29, %26 ] %36 = call i32 @val_neg_zone_take_inuse(ptr noundef nonnull %35) #3 %37 = load i64, ptr %1, align 8, !tbaa !12 %38 = getelementptr inbounds i8, ptr %1, i64 8 %39 = load i64, ptr %38, align 8, !tbaa !15 %40 = add i64 %39, %37 %41 = icmp ult i64 %37, %40 br i1 %41, label %42, label %83 42: ; preds = %34 %43 = getelementptr inbounds i8, ptr %1, i64 16 %44 = getelementptr inbounds i8, ptr %35, i64 8 br label %45 45: ; preds = %42, %77 %46 = phi i64 [ %37, %42 ], [ %78, %77 ] %47 = load ptr, ptr %43, align 8, !tbaa !16 %48 = getelementptr inbounds ptr, ptr %47, i64 %46 %49 = load ptr, ptr %48, align 8, !tbaa !17 %50 = getelementptr inbounds i8, ptr %49, i64 8 %51 = load i32, ptr %50, align 8, !tbaa !18 %52 = call i64 @ntohs(i32 noundef %51) #3 %53 = load i64, ptr @LDNS_RR_TYPE_NSEC, align 8, !tbaa !10 %54 = icmp eq i64 %52, %53 br i1 %54, label %64, label %55 55: ; preds = %45 %56 = load ptr, ptr %43, align 8, !tbaa !16 %57 = getelementptr inbounds ptr, ptr %56, i64 %46 %58 = load ptr, ptr %57, align 8, !tbaa !17 %59 = getelementptr inbounds i8, ptr %58, i64 8 %60 = load i32, ptr %59, align 8, !tbaa !18 %61 = call i64 @ntohs(i32 noundef %60) #3 %62 = load i64, ptr @LDNS_RR_TYPE_NSEC3, align 8, !tbaa !10 %63 = icmp eq i64 %61, %62 br i1 %63, label %64, label %77 64: ; preds = %55, %45 %65 = load ptr, ptr %43, align 8, !tbaa !16 %66 = getelementptr inbounds ptr, ptr %65, i64 %46 %67 = load ptr, ptr %66, align 8, !tbaa !17 %68 = load ptr, ptr %67, align 8, !tbaa !21 %69 = load ptr, ptr %44, align 8, !tbaa !22 %70 = call i32 @dname_subdomain_c(ptr noundef %68, ptr noundef %69) #3 %71 = icmp eq i32 %70, 0 br i1 %71, label %77, label %72 72: ; preds = %64 %73 = load ptr, ptr %43, align 8, !tbaa !16 %74 = getelementptr inbounds ptr, ptr %73, i64 %46 %75 = load ptr, ptr %74, align 8, !tbaa !17 %76 = call i32 @neg_insert_data(ptr noundef %0, ptr noundef nonnull %35, ptr noundef %75) #3 br label %77 77: ; preds = %64, %55, %72 %78 = add nuw i64 %46, 1 %79 = load i64, ptr %1, align 8, !tbaa !12 %80 = load i64, ptr %38, align 8, !tbaa !15 %81 = add i64 %80, %79 %82 = icmp ult i64 %78, %81 br i1 %82, label %45, label %83, !llvm.loop !25 83: ; preds = %77, %34 %84 = load i64, ptr %35, align 8, !tbaa !27 %85 = icmp eq i64 %84, 0 br i1 %85, label %86, label %88 86: ; preds = %83 %87 = call i32 @neg_delete_zone(ptr noundef %0, ptr noundef nonnull %35) #3 br label %88 88: ; preds = %86, %83 %89 = call i32 @lock_basic_unlock(ptr noundef %0) #3 br label %90 90: ; preds = %8, %3, %88, %31 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @reply_nsec_signer(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dname_subdomain_c(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @log_nametypeclass(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @calc_data_need(ptr noundef) local_unnamed_addr #2 declare i64 @calc_zone_need(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @lock_basic_lock(ptr noundef) local_unnamed_addr #2 declare i32 @neg_make_space(ptr noundef, i64 noundef) local_unnamed_addr #2 declare ptr @neg_find_zone(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @neg_create_zone(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lock_basic_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @log_err(ptr noundef) local_unnamed_addr #2 declare i32 @val_neg_zone_take_inuse(ptr noundef) local_unnamed_addr #2 declare i64 @ntohs(i32 noundef) local_unnamed_addr #2 declare i32 @neg_insert_data(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @neg_delete_zone(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"reply_info", !11, i64 0, !11, i64 8, !14, i64 16} !14 = !{!"any pointer", !8, i64 0} !15 = !{!13, !11, i64 8} !16 = !{!13, !14, i64 16} !17 = !{!14, !14, i64 0} !18 = !{!19, !7, i64 8} !19 = !{!"TYPE_6__", !20, i64 0} !20 = !{!"TYPE_4__", !14, i64 0, !7, i64 8} !21 = !{!19, !14, i64 0} !22 = !{!23, !14, i64 8} !23 = !{!"val_neg_zone", !24, i64 0, !14, i64 8} !24 = !{!"TYPE_5__", !11, i64 0} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"} !27 = !{!23, !11, i64 0}
freebsd_contrib_unbound_validator_extr_val_neg.c_val_neg_addreferral
; ModuleID = 'AnghaBench/openssl/ssl/statem/extr_statem_lib.c_is_tls13_capable.c' source_filename = "AnghaBench/openssl/ssl/statem/extr_statem_lib.c_is_tls13_capable.c" target datalayout = "e-m:e-p270:32:32-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 { ptr, ptr, ptr } %struct.TYPE_8__ = type { ptr, ptr } %struct.TYPE_7__ = type { i32 } @SSL_PKEY_NUM = dso_local local_unnamed_addr global i32 0, align 4 @SSL_PKEY_ECC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @is_tls13_capable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @is_tls13_capable(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %44 5: ; preds = %1 %6 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %44 9: ; preds = %5 %10 = load ptr, ptr %0, align 8, !tbaa !11 %11 = getelementptr inbounds %struct.TYPE_8__, ptr %10, i64 0, i32 1 %12 = load ptr, ptr %11, align 8, !tbaa !12 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %44 14: ; preds = %9 %15 = load i32, ptr @SSL_PKEY_NUM, align 4, !tbaa !14 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %44 17: ; preds = %14, %40 %18 = phi i32 [ %41, %40 ], [ 0, %14 ] %19 = and i32 %18, 2147483644 %20 = icmp eq i32 %19, 128 br i1 %20, label %40, label %21 21: ; preds = %17 %22 = tail call i32 @ssl_has_cert(ptr noundef nonnull %0, i32 noundef %18) #2 %23 = icmp eq i32 %22, 0 br i1 %23, label %40, label %24 24: ; preds = %21 %25 = load i32, ptr @SSL_PKEY_ECC, align 4, !tbaa !14 %26 = icmp eq i32 %18, %25 br i1 %26, label %27, label %44 27: ; preds = %24 %28 = load ptr, ptr %0, align 8, !tbaa !11 %29 = load ptr, ptr %28, align 8, !tbaa !16 %30 = zext nneg i32 %18 to i64 %31 = getelementptr inbounds %struct.TYPE_7__, ptr %29, i64 %30 %32 = load i32, ptr %31, align 4, !tbaa !17 %33 = tail call ptr @EVP_PKEY_get0_EC_KEY(i32 noundef %32) #2 %34 = icmp eq ptr %33, null br i1 %34, label %40, label %35 35: ; preds = %27 %36 = tail call i32 @EC_KEY_get0_group(ptr noundef nonnull %33) #2 %37 = tail call i32 @EC_GROUP_get_curve_name(i32 noundef %36) #2 %38 = tail call i64 @tls_check_sigalg_curve(ptr noundef nonnull %0, i32 noundef %37) #2 %39 = icmp eq i64 %38, 0 br i1 %39, label %40, label %44 40: ; preds = %17, %35, %27, %21 %41 = add nuw nsw i32 %18, 1 %42 = load i32, ptr @SSL_PKEY_NUM, align 4, !tbaa !14 %43 = icmp slt i32 %41, %42 br i1 %43, label %17, label %44, !llvm.loop !19 44: ; preds = %24, %35, %40, %14, %5, %9, %1 %45 = phi i32 [ 1, %1 ], [ 1, %9 ], [ 1, %5 ], [ 0, %14 ], [ 1, %24 ], [ 1, %35 ], [ 0, %40 ] ret i32 %45 } declare i32 @ssl_has_cert(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @EVP_PKEY_get0_EC_KEY(i32 noundef) local_unnamed_addr #1 declare i32 @EC_GROUP_get_curve_name(i32 noundef) local_unnamed_addr #1 declare i32 @EC_KEY_get0_group(ptr noundef) local_unnamed_addr #1 declare i64 @tls_check_sigalg_curve(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 16} !6 = !{!"TYPE_9__", !7, i64 0, !7, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!6, !7, i64 0} !12 = !{!13, !7, i64 8} !13 = !{!"TYPE_8__", !7, i64 0, !7, i64 8} !14 = !{!15, !15, i64 0} !15 = !{!"int", !8, i64 0} !16 = !{!13, !7, i64 0} !17 = !{!18, !15, i64 0} !18 = !{!"TYPE_7__", !15, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/openssl/ssl/statem/extr_statem_lib.c_is_tls13_capable.c' source_filename = "AnghaBench/openssl/ssl/statem/extr_statem_lib.c_is_tls13_capable.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 } @SSL_PKEY_NUM = common local_unnamed_addr global i32 0, align 4 @SSL_PKEY_ECC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @is_tls13_capable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @is_tls13_capable(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %44 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %44 9: ; preds = %5 %10 = load ptr, ptr %0, align 8, !tbaa !12 %11 = getelementptr inbounds i8, ptr %10, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !13 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %44 14: ; preds = %9 %15 = load i32, ptr @SSL_PKEY_NUM, align 4, !tbaa !15 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %44 17: ; preds = %14, %40 %18 = phi i32 [ %41, %40 ], [ 0, %14 ] %19 = and i32 %18, 2147483644 %20 = icmp eq i32 %19, 128 br i1 %20, label %40, label %21 21: ; preds = %17 %22 = tail call i32 @ssl_has_cert(ptr noundef nonnull %0, i32 noundef %18) #2 %23 = icmp eq i32 %22, 0 br i1 %23, label %40, label %24 24: ; preds = %21 %25 = load i32, ptr @SSL_PKEY_ECC, align 4, !tbaa !15 %26 = icmp eq i32 %18, %25 br i1 %26, label %27, label %44 27: ; preds = %24 %28 = load ptr, ptr %0, align 8, !tbaa !12 %29 = load ptr, ptr %28, align 8, !tbaa !17 %30 = zext nneg i32 %18 to i64 %31 = getelementptr inbounds %struct.TYPE_7__, ptr %29, i64 %30 %32 = load i32, ptr %31, align 4, !tbaa !18 %33 = tail call ptr @EVP_PKEY_get0_EC_KEY(i32 noundef %32) #2 %34 = icmp eq ptr %33, null br i1 %34, label %40, label %35 35: ; preds = %27 %36 = tail call i32 @EC_KEY_get0_group(ptr noundef nonnull %33) #2 %37 = tail call i32 @EC_GROUP_get_curve_name(i32 noundef %36) #2 %38 = tail call i64 @tls_check_sigalg_curve(ptr noundef nonnull %0, i32 noundef %37) #2 %39 = icmp eq i64 %38, 0 br i1 %39, label %40, label %44 40: ; preds = %17, %35, %27, %21 %41 = add nuw nsw i32 %18, 1 %42 = load i32, ptr @SSL_PKEY_NUM, align 4, !tbaa !15 %43 = icmp slt i32 %41, %42 br i1 %43, label %17, label %44, !llvm.loop !20 44: ; preds = %24, %35, %40, %14, %5, %9, %1 %45 = phi i32 [ 1, %1 ], [ 1, %9 ], [ 1, %5 ], [ 0, %14 ], [ 1, %24 ], [ 1, %35 ], [ 0, %40 ] ret i32 %45 } declare i32 @ssl_has_cert(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @EVP_PKEY_get0_EC_KEY(i32 noundef) local_unnamed_addr #1 declare i32 @EC_GROUP_get_curve_name(i32 noundef) local_unnamed_addr #1 declare i32 @EC_KEY_get0_group(ptr noundef) local_unnamed_addr #1 declare i64 @tls_check_sigalg_curve(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 16} !7 = !{!"TYPE_9__", !8, i64 0, !8, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!7, !8, i64 0} !13 = !{!14, !8, i64 8} !14 = !{!"TYPE_8__", !8, i64 0, !8, i64 8} !15 = !{!16, !16, i64 0} !16 = !{!"int", !9, i64 0} !17 = !{!14, !8, i64 0} !18 = !{!19, !16, i64 0} !19 = !{!"TYPE_7__", !16, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
openssl_ssl_statem_extr_statem_lib.c_is_tls13_capable
; ModuleID = 'AnghaBench/freebsd/sys/dev/efidev/extr_efirt.c_efi_init.c' source_filename = "AnghaBench/freebsd/sys/dev/efidev/extr_efirt.c_efi_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.efi_systbl = type { i64, i64, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i64 } %struct.efi_map_header = type { i32, i32 } @.str = private unnamed_addr constant [16 x i8] c"efi.rt.disabled\00", align 1 @efi_lock = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"efi\00", align 1 @MTX_DEF = dso_local local_unnamed_addr global i32 0, align 4 @efi_systbl_phys = dso_local local_unnamed_addr global i64 0, align 8 @bootverbose = dso_local local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [26 x i8] c"EFI systbl not available\0A\00", align 1 @efi_systbl = dso_local local_unnamed_addr global ptr null, align 8 @EFI_SYSTBL_SIG = dso_local local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [30 x i8] c"EFI systbl signature invalid\0A\00", align 1 @efi_cfgtbl = dso_local local_unnamed_addr global ptr null, align 8 @.str.4 = private unnamed_addr constant [33 x i8] c"EFI config table is not present\0A\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"elf kernel\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"elf64 kernel\00", align 1 @MODINFO_METADATA = dso_local local_unnamed_addr global i32 0, align 4 @MODINFOMD_EFI_MAP = dso_local local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [24 x i8] c"EFI map is not present\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [31 x i8] c"EFI cannot create runtime map\0A\00", align 1 @efi_runtime = dso_local local_unnamed_addr global ptr null, align 8 @.str.9 = private unnamed_addr constant [43 x i8] c"EFI runtime services table is not present\0A\00", align 1 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @.str.10 = private unnamed_addr constant [51 x i8] c"EFI runtime services table has an invalid pointer\0A\00", align 1 @shutdown_final = dso_local local_unnamed_addr global i32 0, align 4 @efi_shutdown_final = dso_local local_unnamed_addr global i32 0, align 4 @SHUTDOWN_PRI_LAST = dso_local local_unnamed_addr global i64 0, align 8 @efi_shutdown_tag = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @efi_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @efi_init() #0 { %1 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 store i32 0, ptr %1, align 4, !tbaa !5 %2 = call i32 @TUNABLE_INT_FETCH(ptr noundef nonnull @.str, ptr noundef nonnull %1) #3 %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = icmp eq i32 %3, 1 br i1 %4, label %113, label %5 5: ; preds = %0 %6 = load i32, ptr @MTX_DEF, align 4, !tbaa !5 %7 = call i32 @mtx_init(ptr noundef nonnull @efi_lock, ptr noundef nonnull @.str.1, ptr noundef null, i32 noundef %6) #3 %8 = load i64, ptr @efi_systbl_phys, align 8, !tbaa !9 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %5 %11 = load i64, ptr @bootverbose, align 8, !tbaa !9 %12 = icmp eq i64 %11, 0 br i1 %12, label %113, label %13 13: ; preds = %10 %14 = call i32 @printf(ptr noundef nonnull @.str.2) #3 br label %113 15: ; preds = %5 %16 = call i64 @efi_phys_to_kva(i64 noundef %8) #3 %17 = inttoptr i64 %16 to ptr store ptr %17, ptr @efi_systbl, align 8, !tbaa !11 %18 = icmp eq i64 %16, 0 br i1 %18, label %24, label %19 19: ; preds = %15 %20 = getelementptr inbounds %struct.efi_systbl, ptr %17, i64 0, i32 2 %21 = load i64, ptr %20, align 8, !tbaa !13 %22 = load i64, ptr @EFI_SYSTBL_SIG, align 8, !tbaa !9 %23 = icmp eq i64 %21, %22 br i1 %23, label %29, label %24 24: ; preds = %19, %15 store ptr null, ptr @efi_systbl, align 8, !tbaa !11 %25 = load i64, ptr @bootverbose, align 8, !tbaa !9 %26 = icmp eq i64 %25, 0 br i1 %26, label %113, label %27 27: ; preds = %24 %28 = call i32 @printf(ptr noundef nonnull @.str.3) #3 br label %113 29: ; preds = %19 %30 = load i64, ptr %17, align 8, !tbaa !16 %31 = inttoptr i64 %30 to ptr store ptr %31, ptr @efi_cfgtbl, align 8, !tbaa !11 %32 = icmp eq i64 %30, 0 %33 = load i64, ptr @bootverbose, align 8 %34 = icmp ne i64 %33, 0 %35 = select i1 %32, i1 %34, i1 false br i1 %35, label %36, label %38 36: ; preds = %29 %37 = call i32 @printf(ptr noundef nonnull @.str.4) #3 br label %38 38: ; preds = %36, %29 %39 = call ptr @preload_search_by_type(ptr noundef nonnull @.str.5) #3 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %43 41: ; preds = %38 %42 = call ptr @preload_search_by_type(ptr noundef nonnull @.str.6) #3 br label %43 43: ; preds = %41, %38 %44 = phi ptr [ %42, %41 ], [ %39, %38 ] %45 = load i32, ptr @MODINFO_METADATA, align 4, !tbaa !5 %46 = load i32, ptr @MODINFOMD_EFI_MAP, align 4, !tbaa !5 %47 = or i32 %46, %45 %48 = call i64 @preload_search_info(ptr noundef %44, i32 noundef %47) #3 %49 = inttoptr i64 %48 to ptr %50 = icmp eq i64 %48, 0 br i1 %50, label %51, label %56 51: ; preds = %43 %52 = load i64, ptr @bootverbose, align 8, !tbaa !9 %53 = icmp eq i64 %52, 0 br i1 %53, label %113, label %54 54: ; preds = %51 %55 = call i32 @printf(ptr noundef nonnull @.str.7) #3 br label %113 56: ; preds = %43 %57 = getelementptr inbounds i32, ptr %49, i64 16 %58 = load i32, ptr %49, align 4, !tbaa !17 %59 = icmp eq i32 %58, 0 br i1 %59, label %60, label %62 60: ; preds = %56 %61 = load i32, ptr @ENOMEM, align 4, !tbaa !5 br label %113 62: ; preds = %56 %63 = getelementptr inbounds %struct.efi_map_header, ptr %49, i64 0, i32 1 %64 = load i32, ptr %63, align 4, !tbaa !19 %65 = sdiv i32 %64, %58 %66 = call i32 @efi_create_1t1_map(ptr noundef nonnull %57, i32 noundef %65, i32 noundef %58) #3 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %75 68: ; preds = %62 %69 = load i64, ptr @bootverbose, align 8, !tbaa !9 %70 = icmp eq i64 %69, 0 br i1 %70, label %73, label %71 71: ; preds = %68 %72 = call i32 @printf(ptr noundef nonnull @.str.8) #3 br label %73 73: ; preds = %71, %68 %74 = load i32, ptr @ENOMEM, align 4, !tbaa !5 br label %113 75: ; preds = %62 %76 = load ptr, ptr @efi_systbl, align 8, !tbaa !11 %77 = getelementptr inbounds %struct.efi_systbl, ptr %76, i64 0, i32 1 %78 = load i64, ptr %77, align 8, !tbaa !20 %79 = inttoptr i64 %78 to ptr store ptr %79, ptr @efi_runtime, align 8, !tbaa !11 %80 = icmp eq i64 %78, 0 br i1 %80, label %81, label %89 81: ; preds = %75 %82 = load i64, ptr @bootverbose, align 8, !tbaa !9 %83 = icmp eq i64 %82, 0 br i1 %83, label %86, label %84 84: ; preds = %81 %85 = call i32 @printf(ptr noundef nonnull @.str.9) #3 br label %86 86: ; preds = %84, %81 %87 = call i32 (...) @efi_destroy_1t1_map() #3 %88 = load i32, ptr @ENXIO, align 4, !tbaa !5 br label %113 89: ; preds = %75 %90 = call i64 @efi_phys_to_kva(i64 noundef %78) #3 %91 = icmp eq i64 %90, 0 br i1 %91, label %99, label %92 92: ; preds = %89 %93 = inttoptr i64 %90 to ptr %94 = load i32, ptr %49, align 4, !tbaa !17 %95 = load i64, ptr %93, align 8, !tbaa !21 %96 = trunc i64 %95 to i32 %97 = call i32 @efi_is_in_map(ptr noundef nonnull %57, i32 noundef %65, i32 noundef %94, i32 noundef %96) #3 %98 = icmp eq i32 %97, 0 br i1 %98, label %99, label %107 99: ; preds = %92, %89 %100 = load i64, ptr @bootverbose, align 8, !tbaa !9 %101 = icmp eq i64 %100, 0 br i1 %101, label %104, label %102 102: ; preds = %99 %103 = call i32 @printf(ptr noundef nonnull @.str.10) #3 br label %104 104: ; preds = %102, %99 store ptr null, ptr @efi_runtime, align 8, !tbaa !11 %105 = call i32 (...) @efi_destroy_1t1_map() #3 %106 = load i32, ptr @ENXIO, align 4, !tbaa !5 br label %113 107: ; preds = %92 %108 = load i32, ptr @shutdown_final, align 4, !tbaa !5 %109 = load i32, ptr @efi_shutdown_final, align 4, !tbaa !5 %110 = load i64, ptr @SHUTDOWN_PRI_LAST, align 8, !tbaa !9 %111 = add nsw i64 %110, -1 %112 = call i32 @EVENTHANDLER_REGISTER(i32 noundef %108, i32 noundef %109, ptr noundef null, i64 noundef %111) #3 store i32 %112, ptr @efi_shutdown_tag, align 4, !tbaa !5 br label %113 113: ; preds = %51, %54, %24, %27, %10, %13, %0, %107, %104, %86, %73, %60 %114 = phi i32 [ %61, %60 ], [ %88, %86 ], [ %106, %104 ], [ 0, %107 ], [ %74, %73 ], [ 0, %0 ], [ 0, %13 ], [ 0, %10 ], [ 0, %27 ], [ 0, %24 ], [ 0, %54 ], [ 0, %51 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret i32 %114 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @TUNABLE_INT_FETCH(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mtx_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @printf(ptr noundef) local_unnamed_addr #2 declare i64 @efi_phys_to_kva(i64 noundef) local_unnamed_addr #2 declare ptr @preload_search_by_type(ptr noundef) local_unnamed_addr #2 declare i64 @preload_search_info(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @efi_create_1t1_map(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @efi_destroy_1t1_map(...) local_unnamed_addr #2 declare i32 @efi_is_in_map(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @EVENTHANDLER_REGISTER(i32 noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !10, i64 16} !14 = !{!"efi_systbl", !10, i64 0, !10, i64 8, !15, i64 16} !15 = !{!"TYPE_2__", !10, i64 0} !16 = !{!14, !10, i64 0} !17 = !{!18, !6, i64 0} !18 = !{!"efi_map_header", !6, i64 0, !6, i64 4} !19 = !{!18, !6, i64 4} !20 = !{!14, !10, i64 8} !21 = !{!22, !10, i64 0} !22 = !{!"efi_rt", !10, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/efidev/extr_efirt.c_efi_init.c' source_filename = "AnghaBench/freebsd/sys/dev/efidev/extr_efirt.c_efi_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [16 x i8] c"efi.rt.disabled\00", align 1 @efi_lock = common global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"efi\00", align 1 @MTX_DEF = common local_unnamed_addr global i32 0, align 4 @efi_systbl_phys = common local_unnamed_addr global i64 0, align 8 @bootverbose = common local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [26 x i8] c"EFI systbl not available\0A\00", align 1 @efi_systbl = common local_unnamed_addr global ptr null, align 8 @EFI_SYSTBL_SIG = common local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [30 x i8] c"EFI systbl signature invalid\0A\00", align 1 @efi_cfgtbl = common local_unnamed_addr global ptr null, align 8 @.str.4 = private unnamed_addr constant [33 x i8] c"EFI config table is not present\0A\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"elf kernel\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"elf64 kernel\00", align 1 @MODINFO_METADATA = common local_unnamed_addr global i32 0, align 4 @MODINFOMD_EFI_MAP = common local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [24 x i8] c"EFI map is not present\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [31 x i8] c"EFI cannot create runtime map\0A\00", align 1 @efi_runtime = common local_unnamed_addr global ptr null, align 8 @.str.9 = private unnamed_addr constant [43 x i8] c"EFI runtime services table is not present\0A\00", align 1 @ENXIO = common local_unnamed_addr global i32 0, align 4 @.str.10 = private unnamed_addr constant [51 x i8] c"EFI runtime services table has an invalid pointer\0A\00", align 1 @shutdown_final = common local_unnamed_addr global i32 0, align 4 @efi_shutdown_final = common local_unnamed_addr global i32 0, align 4 @SHUTDOWN_PRI_LAST = common local_unnamed_addr global i64 0, align 8 @efi_shutdown_tag = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @efi_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @efi_init() #0 { %1 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 store i32 0, ptr %1, align 4, !tbaa !6 %2 = call i32 @TUNABLE_INT_FETCH(ptr noundef nonnull @.str, ptr noundef nonnull %1) #3 %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = icmp eq i32 %3, 1 br i1 %4, label %113, label %5 5: ; preds = %0 %6 = load i32, ptr @MTX_DEF, align 4, !tbaa !6 %7 = call i32 @mtx_init(ptr noundef nonnull @efi_lock, ptr noundef nonnull @.str.1, ptr noundef null, i32 noundef %6) #3 %8 = load i64, ptr @efi_systbl_phys, align 8, !tbaa !10 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %5 %11 = load i64, ptr @bootverbose, align 8, !tbaa !10 %12 = icmp eq i64 %11, 0 br i1 %12, label %113, label %13 13: ; preds = %10 %14 = call i32 @printf(ptr noundef nonnull @.str.2) #3 br label %113 15: ; preds = %5 %16 = call i64 @efi_phys_to_kva(i64 noundef %8) #3 %17 = inttoptr i64 %16 to ptr store ptr %17, ptr @efi_systbl, align 8, !tbaa !12 %18 = icmp eq i64 %16, 0 br i1 %18, label %24, label %19 19: ; preds = %15 %20 = getelementptr inbounds i8, ptr %17, i64 16 %21 = load i64, ptr %20, align 8, !tbaa !14 %22 = load i64, ptr @EFI_SYSTBL_SIG, align 8, !tbaa !10 %23 = icmp eq i64 %21, %22 br i1 %23, label %29, label %24 24: ; preds = %19, %15 store ptr null, ptr @efi_systbl, align 8, !tbaa !12 %25 = load i64, ptr @bootverbose, align 8, !tbaa !10 %26 = icmp eq i64 %25, 0 br i1 %26, label %113, label %27 27: ; preds = %24 %28 = call i32 @printf(ptr noundef nonnull @.str.3) #3 br label %113 29: ; preds = %19 %30 = load i64, ptr %17, align 8, !tbaa !17 %31 = inttoptr i64 %30 to ptr store ptr %31, ptr @efi_cfgtbl, align 8, !tbaa !12 %32 = icmp eq i64 %30, 0 %33 = load i64, ptr @bootverbose, align 8 %34 = icmp ne i64 %33, 0 %35 = select i1 %32, i1 %34, i1 false br i1 %35, label %36, label %38 36: ; preds = %29 %37 = call i32 @printf(ptr noundef nonnull @.str.4) #3 br label %38 38: ; preds = %36, %29 %39 = call ptr @preload_search_by_type(ptr noundef nonnull @.str.5) #3 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %43 41: ; preds = %38 %42 = call ptr @preload_search_by_type(ptr noundef nonnull @.str.6) #3 br label %43 43: ; preds = %41, %38 %44 = phi ptr [ %42, %41 ], [ %39, %38 ] %45 = load i32, ptr @MODINFO_METADATA, align 4, !tbaa !6 %46 = load i32, ptr @MODINFOMD_EFI_MAP, align 4, !tbaa !6 %47 = or i32 %46, %45 %48 = call i64 @preload_search_info(ptr noundef %44, i32 noundef %47) #3 %49 = inttoptr i64 %48 to ptr %50 = icmp eq i64 %48, 0 br i1 %50, label %51, label %56 51: ; preds = %43 %52 = load i64, ptr @bootverbose, align 8, !tbaa !10 %53 = icmp eq i64 %52, 0 br i1 %53, label %113, label %54 54: ; preds = %51 %55 = call i32 @printf(ptr noundef nonnull @.str.7) #3 br label %113 56: ; preds = %43 %57 = getelementptr inbounds i8, ptr %49, i64 64 %58 = load i32, ptr %49, align 4, !tbaa !18 %59 = icmp eq i32 %58, 0 br i1 %59, label %60, label %62 60: ; preds = %56 %61 = load i32, ptr @ENOMEM, align 4, !tbaa !6 br label %113 62: ; preds = %56 %63 = getelementptr inbounds i8, ptr %49, i64 4 %64 = load i32, ptr %63, align 4, !tbaa !20 %65 = sdiv i32 %64, %58 %66 = call i32 @efi_create_1t1_map(ptr noundef nonnull %57, i32 noundef %65, i32 noundef %58) #3 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %75 68: ; preds = %62 %69 = load i64, ptr @bootverbose, align 8, !tbaa !10 %70 = icmp eq i64 %69, 0 br i1 %70, label %73, label %71 71: ; preds = %68 %72 = call i32 @printf(ptr noundef nonnull @.str.8) #3 br label %73 73: ; preds = %71, %68 %74 = load i32, ptr @ENOMEM, align 4, !tbaa !6 br label %113 75: ; preds = %62 %76 = load ptr, ptr @efi_systbl, align 8, !tbaa !12 %77 = getelementptr inbounds i8, ptr %76, i64 8 %78 = load i64, ptr %77, align 8, !tbaa !21 %79 = inttoptr i64 %78 to ptr store ptr %79, ptr @efi_runtime, align 8, !tbaa !12 %80 = icmp eq i64 %78, 0 br i1 %80, label %81, label %89 81: ; preds = %75 %82 = load i64, ptr @bootverbose, align 8, !tbaa !10 %83 = icmp eq i64 %82, 0 br i1 %83, label %86, label %84 84: ; preds = %81 %85 = call i32 @printf(ptr noundef nonnull @.str.9) #3 br label %86 86: ; preds = %84, %81 %87 = call i32 @efi_destroy_1t1_map() #3 %88 = load i32, ptr @ENXIO, align 4, !tbaa !6 br label %113 89: ; preds = %75 %90 = call i64 @efi_phys_to_kva(i64 noundef %78) #3 %91 = icmp eq i64 %90, 0 br i1 %91, label %99, label %92 92: ; preds = %89 %93 = inttoptr i64 %90 to ptr %94 = load i32, ptr %49, align 4, !tbaa !18 %95 = load i64, ptr %93, align 8, !tbaa !22 %96 = trunc i64 %95 to i32 %97 = call i32 @efi_is_in_map(ptr noundef nonnull %57, i32 noundef %65, i32 noundef %94, i32 noundef %96) #3 %98 = icmp eq i32 %97, 0 br i1 %98, label %99, label %107 99: ; preds = %92, %89 %100 = load i64, ptr @bootverbose, align 8, !tbaa !10 %101 = icmp eq i64 %100, 0 br i1 %101, label %104, label %102 102: ; preds = %99 %103 = call i32 @printf(ptr noundef nonnull @.str.10) #3 br label %104 104: ; preds = %102, %99 store ptr null, ptr @efi_runtime, align 8, !tbaa !12 %105 = call i32 @efi_destroy_1t1_map() #3 %106 = load i32, ptr @ENXIO, align 4, !tbaa !6 br label %113 107: ; preds = %92 %108 = load i32, ptr @shutdown_final, align 4, !tbaa !6 %109 = load i32, ptr @efi_shutdown_final, align 4, !tbaa !6 %110 = load i64, ptr @SHUTDOWN_PRI_LAST, align 8, !tbaa !10 %111 = add nsw i64 %110, -1 %112 = call i32 @EVENTHANDLER_REGISTER(i32 noundef %108, i32 noundef %109, ptr noundef null, i64 noundef %111) #3 store i32 %112, ptr @efi_shutdown_tag, align 4, !tbaa !6 br label %113 113: ; preds = %51, %54, %24, %27, %10, %13, %0, %107, %104, %86, %73, %60 %114 = phi i32 [ %61, %60 ], [ %88, %86 ], [ %106, %104 ], [ 0, %107 ], [ %74, %73 ], [ 0, %0 ], [ 0, %13 ], [ 0, %10 ], [ 0, %27 ], [ 0, %24 ], [ 0, %54 ], [ 0, %51 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret i32 %114 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @TUNABLE_INT_FETCH(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mtx_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @printf(ptr noundef) local_unnamed_addr #2 declare i64 @efi_phys_to_kva(i64 noundef) local_unnamed_addr #2 declare ptr @preload_search_by_type(ptr noundef) local_unnamed_addr #2 declare i64 @preload_search_info(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @efi_create_1t1_map(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @efi_destroy_1t1_map(...) local_unnamed_addr #2 declare i32 @efi_is_in_map(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @EVENTHANDLER_REGISTER(i32 noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !11, i64 16} !15 = !{!"efi_systbl", !11, i64 0, !11, i64 8, !16, i64 16} !16 = !{!"TYPE_2__", !11, i64 0} !17 = !{!15, !11, i64 0} !18 = !{!19, !7, i64 0} !19 = !{!"efi_map_header", !7, i64 0, !7, i64 4} !20 = !{!19, !7, i64 4} !21 = !{!15, !11, i64 8} !22 = !{!23, !11, i64 0} !23 = !{!"efi_rt", !11, i64 0}
freebsd_sys_dev_efidev_extr_efirt.c_efi_init
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_router.c_mlxsw_sp_fib_entry_should_offload.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_router.c_mlxsw_sp_fib_entry_should_offload.c" target datalayout = "e-m:e-p270:32:32-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.mlxsw_sp_fib_entry = type { i32, ptr, ptr } %struct.mlxsw_sp_nexthop_group = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @mlxsw_sp_fib_entry_should_offload], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mlxsw_sp_fib_entry_should_offload(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.mlxsw_sp_fib_entry, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.mlxsw_sp_fib_entry, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = load i32, ptr %6, align 4, !tbaa !14 %8 = icmp eq i32 %7, 129 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = tail call i32 @mlxsw_sp_fib4_entry_should_offload(ptr noundef nonnull %0) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %22, label %12 12: ; preds = %9, %1 %13 = load i32, ptr %0, align 8, !tbaa !16 switch i32 %13, label %21 [ i32 130, label %14 i32 132, label %18 i32 134, label %22 i32 133, label %22 i32 131, label %22 ] 14: ; preds = %12 %15 = getelementptr inbounds %struct.mlxsw_sp_nexthop_group, ptr %3, i64 0, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !17 %17 = icmp ne i32 %16, 0 br label %22 18: ; preds = %12 %19 = load i32, ptr %3, align 4, !tbaa !19 %20 = icmp ne i32 %19, 0 br label %22 21: ; preds = %12 br label %22 22: ; preds = %12, %12, %12, %9, %21, %18, %14 %23 = phi i1 [ false, %21 ], [ %20, %18 ], [ %17, %14 ], [ false, %9 ], [ true, %12 ], [ true, %12 ], [ true, %12 ] %24 = zext i1 %23 to i32 ret i32 %24 } declare i32 @mlxsw_sp_fib4_entry_should_offload(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"mlxsw_sp_fib_entry", !7, i64 0, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!13, !10, i64 0} !13 = !{!"TYPE_4__", !10, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_3__", !7, i64 0} !16 = !{!6, !7, i64 0} !17 = !{!18, !7, i64 4} !18 = !{!"mlxsw_sp_nexthop_group", !7, i64 0, !7, i64 4} !19 = !{!18, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_router.c_mlxsw_sp_fib_entry_should_offload.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_router.c_mlxsw_sp_fib_entry_should_offload.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 @mlxsw_sp_fib_entry_should_offload], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @mlxsw_sp_fib_entry_should_offload(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = load i32, ptr %6, align 4, !tbaa !15 %8 = icmp eq i32 %7, 129 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = tail call i32 @mlxsw_sp_fib4_entry_should_offload(ptr noundef nonnull %0) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %22, label %12 12: ; preds = %9, %1 %13 = load i32, ptr %0, align 8, !tbaa !17 switch i32 %13, label %21 [ i32 130, label %14 i32 132, label %18 i32 134, label %22 i32 133, label %22 i32 131, label %22 ] 14: ; preds = %12 %15 = getelementptr inbounds i8, ptr %3, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !18 %17 = icmp ne i32 %16, 0 br label %22 18: ; preds = %12 %19 = load i32, ptr %3, align 4, !tbaa !20 %20 = icmp ne i32 %19, 0 br label %22 21: ; preds = %12 br label %22 22: ; preds = %12, %12, %12, %9, %21, %18, %14 %23 = phi i1 [ false, %21 ], [ %20, %18 ], [ %17, %14 ], [ false, %9 ], [ true, %12 ], [ true, %12 ], [ true, %12 ] %24 = zext i1 %23 to i32 ret i32 %24 } declare i32 @mlxsw_sp_fib4_entry_should_offload(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"mlxsw_sp_fib_entry", !8, i64 0, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_4__", !11, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_3__", !8, i64 0} !17 = !{!7, !8, i64 0} !18 = !{!19, !8, i64 4} !19 = !{!"mlxsw_sp_nexthop_group", !8, i64 0, !8, i64 4} !20 = !{!19, !8, i64 0}
linux_drivers_net_ethernet_mellanox_mlxsw_extr_spectrum_router.c_mlxsw_sp_fib_entry_should_offload
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_attr.c_gatt_proc_read.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_attr.c_gatt_proc_read.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { i32, i32, i64 } %struct.TYPE_6__ = type { i32, i64, i32, i32 } @GATT_NO_RESOURCES = dso_local local_unnamed_addr global i64 0, align 8 @GATT_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 @GATT_MAX_ATTR_LEN = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i64 @gatt_proc_read(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2) local_unnamed_addr #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = tail call i32 @UNUSED(i32 noundef %0) #3 %7 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 2 %8 = load i64, ptr %7, align 8, !tbaa !5 %9 = icmp eq i64 %8, 0 br i1 %9, label %14, label %10 10: ; preds = %3 %11 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !11 %13 = getelementptr inbounds %struct.TYPE_6__, ptr %2, i64 0, i32 3 store i32 %12, ptr %13, align 4, !tbaa !12 br label %14 14: ; preds = %10, %3 %15 = load i32, ptr %1, align 8, !tbaa !15 %16 = getelementptr inbounds %struct.TYPE_6__, ptr %2, i64 0, i32 2 store i32 %15, ptr %16, align 8, !tbaa !16 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store i64 0, ptr %4, align 8, !tbaa !17 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %17 = call i64 @GATTS_GetAttributeValue(i32 noundef %15, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %18 = load i64, ptr @GATT_SUCCESS, align 8, !tbaa !17 %19 = icmp eq i64 %17, %18 %20 = load i64, ptr %4, align 8 %21 = icmp sgt i64 %20, 0 %22 = select i1 %19, i1 %21, i1 false %23 = load ptr, ptr %5, align 8 %24 = icmp ne ptr %23, null %25 = select i1 %22, i1 %24, i1 false br i1 %25, label %26, label %35 26: ; preds = %14 %27 = load i64, ptr @GATT_MAX_ATTR_LEN, align 8, !tbaa !17 %28 = icmp sgt i64 %20, %27 br i1 %28, label %29, label %30 29: ; preds = %26 store i64 %27, ptr %4, align 8, !tbaa !17 br label %30 30: ; preds = %29, %26 %31 = phi i64 [ %27, %29 ], [ %20, %26 ] %32 = getelementptr inbounds %struct.TYPE_6__, ptr %2, i64 0, i32 1 store i64 %31, ptr %32, align 8, !tbaa !18 %33 = load i32, ptr %2, align 8, !tbaa !19 %34 = call i32 @memcpy(i32 noundef %33, ptr noundef nonnull %23, i64 noundef %31) #3 br label %35 35: ; preds = %30, %14 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i64 %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 @UNUSED(i32 noundef) local_unnamed_addr #2 declare i64 @GATTS_GetAttributeValue(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(i32 noundef, ptr 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 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 4} !12 = !{!13, !7, i64 20} !13 = !{!"TYPE_8__", !14, i64 0} !14 = !{!"TYPE_6__", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20} !15 = !{!6, !7, i64 0} !16 = !{!13, !7, i64 16} !17 = !{!10, !10, i64 0} !18 = !{!13, !10, i64 8} !19 = !{!13, !7, i64 0}
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_attr.c_gatt_proc_read.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_attr.c_gatt_proc_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GATT_NO_RESOURCES = common local_unnamed_addr global i64 0, align 8 @GATT_SUCCESS = common local_unnamed_addr global i64 0, align 8 @GATT_MAX_ATTR_LEN = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @gatt_proc_read(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2) local_unnamed_addr #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = tail call i32 @UNUSED(i32 noundef %0) #3 %7 = getelementptr inbounds i8, ptr %1, i64 8 %8 = load i64, ptr %7, align 8, !tbaa !6 %9 = icmp eq i64 %8, 0 br i1 %9, label %14, label %10 10: ; preds = %3 %11 = getelementptr inbounds i8, ptr %1, i64 4 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = getelementptr inbounds i8, ptr %2, i64 20 store i32 %12, ptr %13, align 4, !tbaa !13 br label %14 14: ; preds = %10, %3 %15 = load i32, ptr %1, align 8, !tbaa !16 %16 = getelementptr inbounds i8, ptr %2, i64 16 store i32 %15, ptr %16, align 8, !tbaa !17 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store i64 0, ptr %4, align 8, !tbaa !18 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %17 = call i64 @GATTS_GetAttributeValue(i32 noundef %15, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %18 = load i64, ptr @GATT_SUCCESS, align 8, !tbaa !18 %19 = icmp eq i64 %17, %18 %20 = load i64, ptr %4, align 8 %21 = icmp sgt i64 %20, 0 %22 = select i1 %19, i1 %21, i1 false %23 = load ptr, ptr %5, align 8 %24 = icmp ne ptr %23, null %25 = select i1 %22, i1 %24, i1 false br i1 %25, label %26, label %35 26: ; preds = %14 %27 = load i64, ptr @GATT_MAX_ATTR_LEN, align 8, !tbaa !18 %28 = icmp sgt i64 %20, %27 br i1 %28, label %29, label %30 29: ; preds = %26 store i64 %27, ptr %4, align 8, !tbaa !18 br label %30 30: ; preds = %29, %26 %31 = phi i64 [ %27, %29 ], [ %20, %26 ] %32 = getelementptr inbounds i8, ptr %2, i64 8 store i64 %31, ptr %32, align 8, !tbaa !19 %33 = load i32, ptr %2, align 8, !tbaa !20 %34 = call i32 @memcpy(i32 noundef %33, ptr noundef nonnull %23, i64 noundef %31) #3 br label %35 35: ; preds = %30, %14 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i64 %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 @UNUSED(i32 noundef) local_unnamed_addr #2 declare i64 @GATTS_GetAttributeValue(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(i32 noundef, ptr 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 = !{!"TYPE_7__", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 4} !13 = !{!14, !8, i64 20} !14 = !{!"TYPE_8__", !15, i64 0} !15 = !{!"TYPE_6__", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20} !16 = !{!7, !8, i64 0} !17 = !{!14, !8, i64 16} !18 = !{!11, !11, i64 0} !19 = !{!14, !11, i64 8} !20 = !{!14, !8, i64 0}
esp-idf_components_bt_host_bluedroid_stack_gatt_extr_gatt_attr.c_gatt_proc_read
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_gianfar_ethtool.c_gfar_gcoalesce.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_gianfar_ethtool.c_gfar_gcoalesce.c" target datalayout = "e-m:e-p270:32:32-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.gfar_private = type { i32, i32, i32, ptr } %struct.ethtool_coalesce = type { i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, ptr, ptr } @FSL_GIANFAR_DEV_HAS_COALESCE = dso_local local_unnamed_addr global i32 0, align 4 @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @gfar_gcoalesce], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @gfar_gcoalesce(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #3 %4 = load i32, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr @FSL_GIANFAR_DEV_HAS_COALESCE, align 4, !tbaa !11 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !11 %10 = sub nsw i32 0, %9 br label %35 11: ; preds = %2 %12 = getelementptr inbounds %struct.gfar_private, ptr %3, i64 0, i32 3 %13 = load ptr, ptr %12, align 8, !tbaa !12 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load i32, ptr @ENODEV, align 4, !tbaa !11 %17 = sub nsw i32 0, %16 br label %35 18: ; preds = %11 %19 = getelementptr inbounds %struct.gfar_private, ptr %3, i64 0, i32 2 %20 = load i32, ptr %19, align 8, !tbaa !13 %21 = tail call i64 @get_ictt_value(i32 noundef %20) #3 %22 = load i32, ptr %19, align 8, !tbaa !13 %23 = tail call i64 @get_icft_value(i32 noundef %22) #3 %24 = getelementptr inbounds %struct.gfar_private, ptr %3, i64 0, i32 1 %25 = load i32, ptr %24, align 4, !tbaa !14 %26 = tail call i64 @get_ictt_value(i32 noundef %25) #3 %27 = load i32, ptr %24, align 4, !tbaa !14 %28 = tail call i64 @get_icft_value(i32 noundef %27) #3 %29 = tail call ptr @gfar_ticks2usecs(ptr noundef nonnull %3, i64 noundef %21) #3 %30 = getelementptr inbounds %struct.ethtool_coalesce, ptr %1, i64 0, i32 16 store ptr %29, ptr %30, align 8, !tbaa !15 store i64 %23, ptr %1, align 8, !tbaa !18 %31 = tail call ptr @gfar_ticks2usecs(ptr noundef nonnull %3, i64 noundef %26) #3 %32 = getelementptr inbounds %struct.ethtool_coalesce, ptr %1, i64 0, i32 15 store ptr %31, ptr %32, align 8, !tbaa !19 %33 = getelementptr inbounds %struct.ethtool_coalesce, ptr %1, i64 0, i32 1 store i64 %28, ptr %33, align 8, !tbaa !20 %34 = getelementptr inbounds %struct.ethtool_coalesce, ptr %1, i64 0, i32 2 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(104) %34, i8 0, i64 104, i1 false) br label %35 35: ; preds = %18, %15, %8 %36 = phi i32 [ %17, %15 ], [ 0, %18 ], [ %10, %8 ] ret i32 %36 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i64 @get_ictt_value(i32 noundef) local_unnamed_addr #1 declare i64 @get_icft_value(i32 noundef) local_unnamed_addr #1 declare ptr @gfar_ticks2usecs(ptr noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"gfar_private", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 16} !13 = !{!6, !7, i64 8} !14 = !{!6, !7, i64 4} !15 = !{!16, !10, i64 128} !16 = !{!"ethtool_coalesce", !17, i64 0, !17, i64 8, !17, i64 16, !17, i64 24, !17, i64 32, !17, i64 40, !17, i64 48, !17, i64 56, !17, i64 64, !17, i64 72, !17, i64 80, !17, i64 88, !17, i64 96, !17, i64 104, !17, i64 112, !10, i64 120, !10, i64 128} !17 = !{!"long", !8, i64 0} !18 = !{!16, !17, i64 0} !19 = !{!16, !10, i64 120} !20 = !{!16, !17, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_gianfar_ethtool.c_gfar_gcoalesce.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_gianfar_ethtool.c_gfar_gcoalesce.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FSL_GIANFAR_DEV_HAS_COALESCE = common local_unnamed_addr global i32 0, align 4 @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 @ENODEV = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @gfar_gcoalesce], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @gfar_gcoalesce(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #3 %4 = load i32, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr @FSL_GIANFAR_DEV_HAS_COALESCE, align 4, !tbaa !12 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !12 %10 = sub nsw i32 0, %9 br label %35 11: ; preds = %2 %12 = getelementptr inbounds i8, ptr %3, i64 16 %13 = load ptr, ptr %12, align 8, !tbaa !13 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load i32, ptr @ENODEV, align 4, !tbaa !12 %17 = sub nsw i32 0, %16 br label %35 18: ; preds = %11 %19 = getelementptr inbounds i8, ptr %3, i64 8 %20 = load i32, ptr %19, align 8, !tbaa !14 %21 = tail call i64 @get_ictt_value(i32 noundef %20) #3 %22 = load i32, ptr %19, align 8, !tbaa !14 %23 = tail call i64 @get_icft_value(i32 noundef %22) #3 %24 = getelementptr inbounds i8, ptr %3, i64 4 %25 = load i32, ptr %24, align 4, !tbaa !15 %26 = tail call i64 @get_ictt_value(i32 noundef %25) #3 %27 = load i32, ptr %24, align 4, !tbaa !15 %28 = tail call i64 @get_icft_value(i32 noundef %27) #3 %29 = tail call ptr @gfar_ticks2usecs(ptr noundef nonnull %3, i64 noundef %21) #3 %30 = getelementptr inbounds i8, ptr %1, i64 128 store ptr %29, ptr %30, align 8, !tbaa !16 store i64 %23, ptr %1, align 8, !tbaa !19 %31 = tail call ptr @gfar_ticks2usecs(ptr noundef nonnull %3, i64 noundef %26) #3 %32 = getelementptr inbounds i8, ptr %1, i64 120 store ptr %31, ptr %32, align 8, !tbaa !20 %33 = getelementptr inbounds i8, ptr %1, i64 8 store i64 %28, ptr %33, align 8, !tbaa !21 %34 = getelementptr inbounds i8, ptr %1, i64 16 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(104) %34, i8 0, i64 104, i1 false) br label %35 35: ; preds = %18, %15, %8 %36 = phi i32 [ %17, %15 ], [ 0, %18 ], [ %10, %8 ] ret i32 %36 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i64 @get_ictt_value(i32 noundef) local_unnamed_addr #1 declare i64 @get_icft_value(i32 noundef) local_unnamed_addr #1 declare ptr @gfar_ticks2usecs(ptr noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"gfar_private", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 16} !14 = !{!7, !8, i64 8} !15 = !{!7, !8, i64 4} !16 = !{!17, !11, i64 128} !17 = !{!"ethtool_coalesce", !18, i64 0, !18, i64 8, !18, i64 16, !18, i64 24, !18, i64 32, !18, i64 40, !18, i64 48, !18, i64 56, !18, i64 64, !18, i64 72, !18, i64 80, !18, i64 88, !18, i64 96, !18, i64 104, !18, i64 112, !11, i64 120, !11, i64 128} !18 = !{!"long", !9, i64 0} !19 = !{!17, !18, i64 0} !20 = !{!17, !11, i64 120} !21 = !{!17, !18, i64 8}
fastsocket_kernel_drivers_net_extr_gianfar_ethtool.c_gfar_gcoalesce
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/pseries/extr_hvconsole.c_hvc_get_chars.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/pseries/extr_hvconsole.c_hvc_get_chars.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @H_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @hvc_get_chars(i32 noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = call i64 @plpar_get_term_char(i32 noundef %0, ptr noundef nonnull %4, ptr noundef %1) #3 %6 = load i64, ptr @H_SUCCESS, align 8, !tbaa !5 %7 = icmp eq i64 %5, %6 %8 = load i64, ptr %4, align 8 %9 = trunc i64 %8 to i32 %10 = select i1 %7, i32 %9, i32 0 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %10 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @plpar_get_term_char(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/pseries/extr_hvconsole.c_hvc_get_chars.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/pseries/extr_hvconsole.c_hvc_get_chars.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @H_SUCCESS = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @hvc_get_chars(i32 noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = call i64 @plpar_get_term_char(i32 noundef %0, ptr noundef nonnull %4, ptr noundef %1) #3 %6 = load i64, ptr @H_SUCCESS, align 8, !tbaa !6 %7 = icmp eq i64 %5, %6 %8 = load i64, ptr %4, align 8 %9 = trunc i64 %8 to i32 %10 = select i1 %7, i32 %9, i32 0 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %10 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @plpar_get_term_char(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_arch_powerpc_platforms_pseries_extr_hvconsole.c_hvc_get_chars
; ModuleID = 'AnghaBench/fastsocket/kernel/net/can/extr_bcm.c_bcm_proc_getifname.c' source_filename = "AnghaBench/fastsocket/kernel/net/can/extr_bcm.c_bcm_proc_getifname.c" target datalayout = "e-m:e-p270:32:32-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 [4 x i8] c"any\00", align 1 @dev_base_lock = dso_local global i32 0, align 4 @init_net = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"???\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @bcm_proc_getifname], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @bcm_proc_getifname(ptr noundef %0, i32 noundef %1) #0 { %3 = icmp eq i32 %1, 0 br i1 %3, label %15, label %4 4: ; preds = %2 %5 = tail call i32 @read_lock(ptr noundef nonnull @dev_base_lock) #2 %6 = tail call ptr @__dev_get_by_index(ptr noundef nonnull @init_net, i32 noundef %1) #2 %7 = icmp eq ptr %6, null br i1 %7, label %11, label %8 8: ; preds = %4 %9 = load ptr, ptr %6, align 8, !tbaa !5 %10 = tail call i32 @strcpy(ptr noundef %0, ptr noundef %9) #2 br label %13 11: ; preds = %4 %12 = tail call i32 @strcpy(ptr noundef %0, ptr noundef nonnull @.str.1) #2 br label %13 13: ; preds = %11, %8 %14 = tail call i32 @read_unlock(ptr noundef nonnull @dev_base_lock) #2 br label %15 15: ; preds = %2, %13 %16 = phi ptr [ %0, %13 ], [ @.str, %2 ] ret ptr %16 } declare i32 @read_lock(ptr noundef) local_unnamed_addr #1 declare ptr @__dev_get_by_index(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strcpy(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @read_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 = !{!"net_device", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/can/extr_bcm.c_bcm_proc_getifname.c' source_filename = "AnghaBench/fastsocket/kernel/net/can/extr_bcm.c_bcm_proc_getifname.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 [4 x i8] c"any\00", align 1 @dev_base_lock = common global i32 0, align 4 @init_net = common global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"???\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @bcm_proc_getifname], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @bcm_proc_getifname(ptr noundef %0, i32 noundef %1) #0 { %3 = icmp eq i32 %1, 0 br i1 %3, label %15, label %4 4: ; preds = %2 %5 = tail call i32 @read_lock(ptr noundef nonnull @dev_base_lock) #2 %6 = tail call ptr @__dev_get_by_index(ptr noundef nonnull @init_net, i32 noundef %1) #2 %7 = icmp eq ptr %6, null br i1 %7, label %11, label %8 8: ; preds = %4 %9 = load ptr, ptr %6, align 8, !tbaa !6 %10 = tail call i32 @strcpy(ptr noundef %0, ptr noundef %9) #2 br label %13 11: ; preds = %4 %12 = tail call i32 @strcpy(ptr noundef %0, ptr noundef nonnull @.str.1) #2 br label %13 13: ; preds = %11, %8 %14 = tail call i32 @read_unlock(ptr noundef nonnull @dev_base_lock) #2 br label %15 15: ; preds = %2, %13 %16 = phi ptr [ %0, %13 ], [ @.str, %2 ] ret ptr %16 } declare i32 @read_lock(ptr noundef) local_unnamed_addr #1 declare ptr @__dev_get_by_index(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strcpy(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @read_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 = !{!"net_device", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_net_can_extr_bcm.c_bcm_proc_getifname
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192e/extr_rtllib_rx.c_rtllib_rx_get_crypt.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8192e/extr_rtllib_rx.c_rtllib_rx_get_crypt.c" target datalayout = "e-m:e-p270:32:32-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.rtllib_hdr_4addr = type { i32, i32 } %struct.rtllib_device = type { i32, %struct.TYPE_3__, i64 } %struct.TYPE_3__ = type { ptr } %struct.sk_buff = type { ptr, i64 } @RTLLIB_FCTL_WEP = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"Decryption failed (not set) (SA= %pM)\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @rtllib_rx_get_crypt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @rtllib_rx_get_crypt(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, i64 noundef %3) #0 { %5 = load ptr, ptr %1, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.rtllib_hdr_4addr, ptr %5, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = tail call i32 @le16_to_cpu(i32 noundef %7) #2 %9 = getelementptr inbounds %struct.rtllib_device, ptr %0, i64 0, i32 2 %10 = load i64, ptr %9, align 8, !tbaa !14 %11 = icmp eq i64 %10, 0 br i1 %11, label %45, label %12 12: ; preds = %4 %13 = getelementptr inbounds %struct.sk_buff, ptr %1, i64 0, i32 1 %14 = load i64, ptr %13, align 8, !tbaa !17 %15 = add i64 %3, 3 %16 = icmp ult i64 %14, %15 br i1 %16, label %23, label %17 17: ; preds = %12 %18 = load ptr, ptr %1, align 8, !tbaa !5 %19 = getelementptr inbounds i32, ptr %18, i64 %15 %20 = load i32, ptr %19, align 4, !tbaa !18 %21 = ashr i32 %20, 6 %22 = sext i32 %21 to i64 br label %23 23: ; preds = %17, %12 %24 = phi i64 [ %22, %17 ], [ 0, %12 ] %25 = getelementptr inbounds %struct.rtllib_device, ptr %0, i64 0, i32 1 %26 = load ptr, ptr %25, align 8, !tbaa !19 %27 = getelementptr inbounds ptr, ptr %26, i64 %24 %28 = load ptr, ptr %27, align 8, !tbaa !20 store ptr %28, ptr %2, align 8, !tbaa !20 %29 = icmp eq ptr %28, null br i1 %29, label %37, label %30 30: ; preds = %23 %31 = load ptr, ptr %28, align 8, !tbaa !21 %32 = icmp eq ptr %31, null br i1 %32, label %36, label %33 33: ; preds = %30 %34 = load ptr, ptr %31, align 8, !tbaa !23 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %45 36: ; preds = %33, %30 store ptr null, ptr %2, align 8, !tbaa !20 br label %37 37: ; preds = %23, %36 %38 = load i32, ptr @RTLLIB_FCTL_WEP, align 4, !tbaa !18 %39 = and i32 %38, %8 %40 = icmp eq i32 %39, 0 br i1 %40, label %45, label %41 41: ; preds = %37 %42 = load i32, ptr %0, align 8, !tbaa !25 %43 = load i32, ptr %5, align 4, !tbaa !26 %44 = tail call i32 @netdev_dbg(i32 noundef %42, ptr noundef nonnull @.str, i32 noundef %43) #2 br label %45 45: ; preds = %33, %4, %37, %41 %46 = phi i32 [ -1, %41 ], [ 0, %37 ], [ 0, %4 ], [ 0, %33 ] ret i32 %46 } declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @netdev_dbg(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"sk_buff", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!12, !13, i64 4} !12 = !{!"rtllib_hdr_4addr", !13, i64 0, !13, i64 4} !13 = !{!"int", !8, i64 0} !14 = !{!15, !10, i64 16} !15 = !{!"rtllib_device", !13, i64 0, !16, i64 8, !10, i64 16} !16 = !{!"TYPE_3__", !7, i64 0} !17 = !{!6, !10, i64 8} !18 = !{!13, !13, i64 0} !19 = !{!15, !7, i64 8} !20 = !{!7, !7, i64 0} !21 = !{!22, !7, i64 0} !22 = !{!"lib80211_crypt_data", !7, i64 0} !23 = !{!24, !7, i64 0} !24 = !{!"TYPE_4__", !7, i64 0} !25 = !{!15, !13, i64 0} !26 = !{!12, !13, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192e/extr_rtllib_rx.c_rtllib_rx_get_crypt.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8192e/extr_rtllib_rx.c_rtllib_rx_get_crypt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RTLLIB_FCTL_WEP = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"Decryption failed (not set) (SA= %pM)\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @rtllib_rx_get_crypt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @rtllib_rx_get_crypt(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, i64 noundef %3) #0 { %5 = load ptr, ptr %1, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %5, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !12 %8 = tail call i32 @le16_to_cpu(i32 noundef %7) #2 %9 = getelementptr inbounds i8, ptr %0, i64 16 %10 = load i64, ptr %9, align 8, !tbaa !15 %11 = icmp eq i64 %10, 0 br i1 %11, label %45, label %12 12: ; preds = %4 %13 = getelementptr inbounds i8, ptr %1, i64 8 %14 = load i64, ptr %13, align 8, !tbaa !18 %15 = add i64 %3, 3 %16 = icmp ult i64 %14, %15 br i1 %16, label %23, label %17 17: ; preds = %12 %18 = load ptr, ptr %1, align 8, !tbaa !6 %19 = getelementptr inbounds i32, ptr %18, i64 %15 %20 = load i32, ptr %19, align 4, !tbaa !19 %21 = ashr i32 %20, 6 %22 = sext i32 %21 to i64 br label %23 23: ; preds = %17, %12 %24 = phi i64 [ %22, %17 ], [ 0, %12 ] %25 = getelementptr inbounds i8, ptr %0, i64 8 %26 = load ptr, ptr %25, align 8, !tbaa !20 %27 = getelementptr inbounds ptr, ptr %26, i64 %24 %28 = load ptr, ptr %27, align 8, !tbaa !21 store ptr %28, ptr %2, align 8, !tbaa !21 %29 = icmp eq ptr %28, null br i1 %29, label %37, label %30 30: ; preds = %23 %31 = load ptr, ptr %28, align 8, !tbaa !22 %32 = icmp eq ptr %31, null br i1 %32, label %36, label %33 33: ; preds = %30 %34 = load ptr, ptr %31, align 8, !tbaa !24 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %45 36: ; preds = %33, %30 store ptr null, ptr %2, align 8, !tbaa !21 br label %37 37: ; preds = %23, %36 %38 = load i32, ptr @RTLLIB_FCTL_WEP, align 4, !tbaa !19 %39 = and i32 %38, %8 %40 = icmp eq i32 %39, 0 br i1 %40, label %45, label %41 41: ; preds = %37 %42 = load i32, ptr %0, align 8, !tbaa !26 %43 = load i32, ptr %5, align 4, !tbaa !27 %44 = tail call i32 @netdev_dbg(i32 noundef %42, ptr noundef nonnull @.str, i32 noundef %43) #2 br label %45 45: ; preds = %33, %4, %37, %41 %46 = phi i32 [ -1, %41 ], [ 0, %37 ], [ 0, %4 ], [ 0, %33 ] ret i32 %46 } declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @netdev_dbg(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"sk_buff", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!13, !14, i64 4} !13 = !{!"rtllib_hdr_4addr", !14, i64 0, !14, i64 4} !14 = !{!"int", !9, i64 0} !15 = !{!16, !11, i64 16} !16 = !{!"rtllib_device", !14, i64 0, !17, i64 8, !11, i64 16} !17 = !{!"TYPE_3__", !8, i64 0} !18 = !{!7, !11, i64 8} !19 = !{!14, !14, i64 0} !20 = !{!16, !8, i64 8} !21 = !{!8, !8, i64 0} !22 = !{!23, !8, i64 0} !23 = !{!"lib80211_crypt_data", !8, i64 0} !24 = !{!25, !8, i64 0} !25 = !{!"TYPE_4__", !8, i64 0} !26 = !{!16, !14, i64 0} !27 = !{!13, !14, i64 0}
linux_drivers_staging_rtl8192e_extr_rtllib_rx.c_rtllib_rx_get_crypt
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/gas/extr_stabs.c_stabs_generate_asm_file.c' source_filename = "AnghaBench/freebsd/contrib/binutils/gas/extr_stabs.c_stabs_generate_asm_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" @use_gnu_debug_info_extensions = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @N_SO = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @stabs_generate_asm_file() local_unnamed_addr #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4 %3 = call i32 @as_where(ptr noundef nonnull %1, ptr noundef nonnull %2) #4 %4 = load i64, ptr @use_gnu_debug_info_extensions, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %14, label %6 6: ; preds = %0 %7 = call ptr (...) @getpwd() #4 %8 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %7) %9 = add nsw i64 %8, 2 %10 = call ptr @alloca(i64 noundef %9) #4 %11 = call i32 @sprintf(ptr noundef %10, ptr noundef nonnull @.str, ptr noundef %7, ptr noundef nonnull @.str.1) #4 %12 = load i32, ptr @N_SO, align 4, !tbaa !9 %13 = call i32 @generate_asm_file(i32 noundef %12, ptr noundef %10) #4 br label %14 14: ; preds = %6, %0 %15 = load i32, ptr @N_SO, align 4, !tbaa !9 %16 = load ptr, ptr %1, align 8, !tbaa !11 %17 = call i32 @generate_asm_file(i32 noundef %15, ptr noundef %16) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @as_where(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @getpwd(...) local_unnamed_addr #2 declare ptr @alloca(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #3 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @generate_asm_file(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: 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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/gas/extr_stabs.c_stabs_generate_asm_file.c' source_filename = "AnghaBench/freebsd/contrib/binutils/gas/extr_stabs.c_stabs_generate_asm_file.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @use_gnu_debug_info_extensions = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @N_SO = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @stabs_generate_asm_file() local_unnamed_addr #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4 %3 = call i32 @as_where(ptr noundef nonnull %1, ptr noundef nonnull %2) #4 %4 = load i64, ptr @use_gnu_debug_info_extensions, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %14, label %6 6: ; preds = %0 %7 = call ptr @getpwd() #4 %8 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %7) %9 = add nsw i64 %8, 2 %10 = call ptr @alloca(i64 noundef %9) #4 %11 = call i32 @sprintf(ptr noundef %10, ptr noundef nonnull @.str, ptr noundef %7, ptr noundef nonnull @.str.1) #4 %12 = load i32, ptr @N_SO, align 4, !tbaa !10 %13 = call i32 @generate_asm_file(i32 noundef %12, ptr noundef %10) #4 br label %14 14: ; preds = %6, %0 %15 = load i32, ptr @N_SO, align 4, !tbaa !10 %16 = load ptr, ptr %1, align 8, !tbaa !12 %17 = call i32 @generate_asm_file(i32 noundef %15, ptr noundef %16) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @as_where(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @getpwd(...) local_unnamed_addr #2 declare ptr @alloca(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #3 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @generate_asm_file(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: 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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0}
freebsd_contrib_binutils_gas_extr_stabs.c_stabs_generate_asm_file
; ModuleID = 'AnghaBench/esp-idf/components/esp_http_server/src/extr_httpd_txrx.c_httpd_recv.c' source_filename = "AnghaBench/esp-idf/components/esp_http_server/src/extr_httpd_txrx.c_httpd_recv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @httpd_recv(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @httpd_recv_with_opt(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef 0) #2 ret i32 %4 } declare i32 @httpd_recv_with_opt(ptr noundef, 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)"}
; ModuleID = 'AnghaBench/esp-idf/components/esp_http_server/src/extr_httpd_txrx.c_httpd_recv.c' source_filename = "AnghaBench/esp-idf/components/esp_http_server/src/extr_httpd_txrx.c_httpd_recv.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 @httpd_recv(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @httpd_recv_with_opt(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef 0) #2 ret i32 %4 } declare i32 @httpd_recv_with_opt(ptr noundef, 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)"}
esp-idf_components_esp_http_server_src_extr_httpd_txrx.c_httpd_recv
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2200.c_ipw_send_power_mode.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2200.c_ipw_send_power_mode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Invalid args\0A\00", align 1 @IPW_POWER_INDEX_3 = dso_local local_unnamed_addr global i32 0, align 4 @IPW_POWER_MODE_CAM = dso_local local_unnamed_addr global i32 0, align 4 @IPW_CMD_POWER_MODE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ipw_send_power_mode], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ipw_send_power_mode(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = icmp eq ptr %0, null br i1 %4, label %5, label %7 5: ; preds = %2 %6 = tail call i32 @IPW_ERROR(ptr noundef nonnull @.str) #3 br label %19 7: ; preds = %2 switch i32 %1, label %14 [ i32 128, label %8 i32 129, label %11 ] 8: ; preds = %7 %9 = load i32, ptr @IPW_POWER_INDEX_3, align 4, !tbaa !5 %10 = tail call i32 @cpu_to_le32(i32 noundef %9) #3 store i32 %10, ptr %3, align 4, !tbaa !5 br label %16 11: ; preds = %7 %12 = load i32, ptr @IPW_POWER_MODE_CAM, align 4, !tbaa !5 %13 = tail call i32 @cpu_to_le32(i32 noundef %12) #3 store i32 %13, ptr %3, align 4, !tbaa !5 br label %16 14: ; preds = %7 %15 = tail call i32 @cpu_to_le32(i32 noundef %1) #3 store i32 %15, ptr %3, align 4, !tbaa !5 br label %16 16: ; preds = %14, %11, %8 %17 = load i32, ptr @IPW_CMD_POWER_MODE, align 4, !tbaa !5 %18 = call i32 @ipw_send_cmd_pdu(ptr noundef nonnull %0, i32 noundef %17, i32 noundef 4, ptr noundef nonnull %3) #3 br label %19 19: ; preds = %16, %5 %20 = phi i32 [ %18, %16 ], [ -1, %5 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %20 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @IPW_ERROR(ptr noundef) local_unnamed_addr #2 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare i32 @ipw_send_cmd_pdu(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2200.c_ipw_send_power_mode.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2200.c_ipw_send_power_mode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [14 x i8] c"Invalid args\0A\00", align 1 @IPW_POWER_INDEX_3 = common local_unnamed_addr global i32 0, align 4 @IPW_POWER_MODE_CAM = common local_unnamed_addr global i32 0, align 4 @IPW_CMD_POWER_MODE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ipw_send_power_mode], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ipw_send_power_mode(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = icmp eq ptr %0, null br i1 %4, label %5, label %7 5: ; preds = %2 %6 = tail call i32 @IPW_ERROR(ptr noundef nonnull @.str) #3 br label %19 7: ; preds = %2 switch i32 %1, label %14 [ i32 128, label %8 i32 129, label %11 ] 8: ; preds = %7 %9 = load i32, ptr @IPW_POWER_INDEX_3, align 4, !tbaa !6 %10 = tail call i32 @cpu_to_le32(i32 noundef %9) #3 store i32 %10, ptr %3, align 4, !tbaa !6 br label %16 11: ; preds = %7 %12 = load i32, ptr @IPW_POWER_MODE_CAM, align 4, !tbaa !6 %13 = tail call i32 @cpu_to_le32(i32 noundef %12) #3 store i32 %13, ptr %3, align 4, !tbaa !6 br label %16 14: ; preds = %7 %15 = tail call i32 @cpu_to_le32(i32 noundef %1) #3 store i32 %15, ptr %3, align 4, !tbaa !6 br label %16 16: ; preds = %14, %11, %8 %17 = load i32, ptr @IPW_CMD_POWER_MODE, align 4, !tbaa !6 %18 = call i32 @ipw_send_cmd_pdu(ptr noundef nonnull %0, i32 noundef %17, i32 noundef 4, ptr noundef nonnull %3) #3 br label %19 19: ; preds = %16, %5 %20 = phi i32 [ %18, %16 ], [ -1, %5 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %20 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @IPW_ERROR(ptr noundef) local_unnamed_addr #2 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare i32 @ipw_send_cmd_pdu(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_wireless_intel_ipw2x00_extr_ipw2200.c_ipw_send_power_mode
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn20/extr_dcn20_hubp.c_hubp2_is_flip_pending.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn20/extr_dcn20_hubp.c_hubp2_is_flip_pending.c" target datalayout = "e-m:e-p270:32:32-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.dc_plane_address = type { %struct.TYPE_10__ } %struct.TYPE_10__ = type { %struct.TYPE_9__ } %struct.TYPE_9__ = type { i64, i64, i64 } @DCSURF_FLIP_CONTROL = dso_local local_unnamed_addr global i32 0, align 4 @SURFACE_FLIP_PENDING = dso_local local_unnamed_addr global i32 0, align 4 @DCSURF_SURFACE_EARLIEST_INUSE = dso_local local_unnamed_addr global i32 0, align 4 @SURFACE_EARLIEST_INUSE_ADDRESS = dso_local local_unnamed_addr global i32 0, align 4 @DCSURF_SURFACE_EARLIEST_INUSE_HIGH = dso_local local_unnamed_addr global i32 0, align 4 @SURFACE_EARLIEST_INUSE_ADDRESS_HIGH = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @hubp2_is_flip_pending(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i64, align 8 %3 = alloca %struct.dc_plane_address, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store i64 0, ptr %2, align 8, !tbaa !5 %4 = tail call ptr @TO_DCN20_HUBP(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3 %5 = load i32, ptr @DCSURF_FLIP_CONTROL, align 4, !tbaa !9 %6 = load i32, ptr @SURFACE_FLIP_PENDING, align 4, !tbaa !9 %7 = call i32 @REG_GET(i32 noundef %5, i32 noundef %6, ptr noundef nonnull %2) #3 %8 = load i32, ptr @DCSURF_SURFACE_EARLIEST_INUSE, align 4, !tbaa !9 %9 = load i32, ptr @SURFACE_EARLIEST_INUSE_ADDRESS, align 4, !tbaa !9 %10 = getelementptr inbounds %struct.TYPE_9__, ptr %3, i64 0, i32 2 %11 = call i32 @REG_GET(i32 noundef %8, i32 noundef %9, ptr noundef nonnull %10) #3 %12 = load i32, ptr @DCSURF_SURFACE_EARLIEST_INUSE_HIGH, align 4, !tbaa !9 %13 = load i32, ptr @SURFACE_EARLIEST_INUSE_ADDRESS_HIGH, align 4, !tbaa !9 %14 = getelementptr inbounds %struct.TYPE_9__, ptr %3, i64 0, i32 1 %15 = call i32 @REG_GET(i32 noundef %12, i32 noundef %13, ptr noundef nonnull %14) #3 %16 = load i64, ptr %2, align 8, !tbaa !5 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %23 18: ; preds = %1 %19 = load i64, ptr %3, align 8, !tbaa !11 %20 = load i64, ptr %0, align 8, !tbaa !15 %21 = icmp ne i64 %19, %20 %22 = zext i1 %21 to i32 br label %23 23: ; preds = %18, %1 %24 = phi i32 [ 1, %1 ], [ %22, %18 ] call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %24 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @TO_DCN20_HUBP(ptr noundef) local_unnamed_addr #2 declare i32 @REG_GET(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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, !6, i64 0} !12 = !{!"dc_plane_address", !13, i64 0} !13 = !{!"TYPE_10__", !14, i64 0} !14 = !{!"TYPE_9__", !6, i64 0, !6, i64 8, !6, i64 16} !15 = !{!16, !6, i64 0} !16 = !{!"hubp", !17, i64 0} !17 = !{!"TYPE_8__", !18, i64 0} !18 = !{!"TYPE_7__", !19, i64 0} !19 = !{!"TYPE_6__", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn20/extr_dcn20_hubp.c_hubp2_is_flip_pending.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn20/extr_dcn20_hubp.c_hubp2_is_flip_pending.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.dc_plane_address = type { %struct.TYPE_10__ } %struct.TYPE_10__ = type { %struct.TYPE_9__ } %struct.TYPE_9__ = type { i64, i64, i64 } @DCSURF_FLIP_CONTROL = common local_unnamed_addr global i32 0, align 4 @SURFACE_FLIP_PENDING = common local_unnamed_addr global i32 0, align 4 @DCSURF_SURFACE_EARLIEST_INUSE = common local_unnamed_addr global i32 0, align 4 @SURFACE_EARLIEST_INUSE_ADDRESS = common local_unnamed_addr global i32 0, align 4 @DCSURF_SURFACE_EARLIEST_INUSE_HIGH = common local_unnamed_addr global i32 0, align 4 @SURFACE_EARLIEST_INUSE_ADDRESS_HIGH = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @hubp2_is_flip_pending(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i64, align 8 %3 = alloca %struct.dc_plane_address, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store i64 0, ptr %2, align 8, !tbaa !6 %4 = tail call ptr @TO_DCN20_HUBP(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3 %5 = load i32, ptr @DCSURF_FLIP_CONTROL, align 4, !tbaa !10 %6 = load i32, ptr @SURFACE_FLIP_PENDING, align 4, !tbaa !10 %7 = call i32 @REG_GET(i32 noundef %5, i32 noundef %6, ptr noundef nonnull %2) #3 %8 = load i32, ptr @DCSURF_SURFACE_EARLIEST_INUSE, align 4, !tbaa !10 %9 = load i32, ptr @SURFACE_EARLIEST_INUSE_ADDRESS, align 4, !tbaa !10 %10 = getelementptr inbounds i8, ptr %3, i64 16 %11 = call i32 @REG_GET(i32 noundef %8, i32 noundef %9, ptr noundef nonnull %10) #3 %12 = load i32, ptr @DCSURF_SURFACE_EARLIEST_INUSE_HIGH, align 4, !tbaa !10 %13 = load i32, ptr @SURFACE_EARLIEST_INUSE_ADDRESS_HIGH, align 4, !tbaa !10 %14 = getelementptr inbounds i8, ptr %3, i64 8 %15 = call i32 @REG_GET(i32 noundef %12, i32 noundef %13, ptr noundef nonnull %14) #3 %16 = load i64, ptr %2, align 8, !tbaa !6 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %23 18: ; preds = %1 %19 = load i64, ptr %3, align 8, !tbaa !12 %20 = load i64, ptr %0, align 8, !tbaa !16 %21 = icmp ne i64 %19, %20 %22 = zext i1 %21 to i32 br label %23 23: ; preds = %18, %1 %24 = phi i32 [ 1, %1 ], [ %22, %18 ] call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %24 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @TO_DCN20_HUBP(ptr noundef) local_unnamed_addr #2 declare i32 @REG_GET(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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, !7, i64 0} !13 = !{!"dc_plane_address", !14, i64 0} !14 = !{!"TYPE_10__", !15, i64 0} !15 = !{!"TYPE_9__", !7, i64 0, !7, i64 8, !7, i64 16} !16 = !{!17, !7, i64 0} !17 = !{!"hubp", !18, i64 0} !18 = !{!"TYPE_8__", !19, i64 0} !19 = !{!"TYPE_7__", !20, i64 0} !20 = !{!"TYPE_6__", !7, i64 0}
linux_drivers_gpu_drm_amd_display_dc_dcn20_extr_dcn20_hubp.c_hubp2_is_flip_pending
; ModuleID = 'AnghaBench/linux/drivers/usb/storage/extr_usb.c_dissociate_dev.c' source_filename = "AnghaBench/linux/drivers/usb/storage/extr_usb.c_dissociate_dev.c" target datalayout = "e-m:e-p270:32:32-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.us_data = type { i32, i32, i32, i32, i32 } @US_IOBUF_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dissociate_dev], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @dissociate_dev(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.us_data, ptr %0, i64 0, i32 4 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = tail call i32 @kfree(i32 noundef %3) #2 %5 = getelementptr inbounds %struct.us_data, ptr %0, i64 0, i32 3 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = load i32, ptr @US_IOBUF_SIZE, align 4, !tbaa !11 %8 = getelementptr inbounds %struct.us_data, ptr %0, i64 0, i32 2 %9 = load i32, ptr %8, align 4, !tbaa !12 %10 = getelementptr inbounds %struct.us_data, ptr %0, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !13 %12 = tail call i32 @usb_free_coherent(i32 noundef %6, i32 noundef %7, i32 noundef %9, i32 noundef %11) #2 %13 = load i32, ptr %0, align 4, !tbaa !14 %14 = tail call i32 @usb_set_intfdata(i32 noundef %13, ptr noundef null) #2 ret void } declare i32 @kfree(i32 noundef) local_unnamed_addr #1 declare i32 @usb_free_coherent(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usb_set_intfdata(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 16} !6 = !{!"us_data", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 12} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 8} !13 = !{!6, !7, i64 4} !14 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/usb/storage/extr_usb.c_dissociate_dev.c' source_filename = "AnghaBench/linux/drivers/usb/storage/extr_usb.c_dissociate_dev.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @US_IOBUF_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dissociate_dev], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @dissociate_dev(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = tail call i32 @kfree(i32 noundef %3) #2 %5 = getelementptr inbounds i8, ptr %0, i64 12 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = load i32, ptr @US_IOBUF_SIZE, align 4, !tbaa !12 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load i32, ptr %8, align 4, !tbaa !13 %10 = getelementptr inbounds i8, ptr %0, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !14 %12 = tail call i32 @usb_free_coherent(i32 noundef %6, i32 noundef %7, i32 noundef %9, i32 noundef %11) #2 %13 = load i32, ptr %0, align 4, !tbaa !15 %14 = tail call i32 @usb_set_intfdata(i32 noundef %13, ptr noundef null) #2 ret void } declare i32 @kfree(i32 noundef) local_unnamed_addr #1 declare i32 @usb_free_coherent(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usb_set_intfdata(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 16} !7 = !{!"us_data", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 12} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 8} !14 = !{!7, !8, i64 4} !15 = !{!7, !8, i64 0}
linux_drivers_usb_storage_extr_usb.c_dissociate_dev
; ModuleID = 'AnghaBench/reactos/dll/win32/mshtml/extr_htmldoc.c_HTMLDocumentNode_clone.c' source_filename = "AnghaBench/reactos/dll/win32/mshtml/extr_htmldoc.c_HTMLDocumentNode_clone.c" target datalayout = "e-m:e-p270:32:32-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 [4 x i8] c"%p\0A\00", align 1 @E_NOTIMPL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @HTMLDocumentNode_clone], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @HTMLDocumentNode_clone(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #0 { %4 = tail call ptr @impl_from_HTMLDOMNode(ptr noundef %0) #2 %5 = tail call i32 @FIXME(ptr noundef nonnull @.str, ptr noundef %4) #2 %6 = load i32, ptr @E_NOTIMPL, align 4, !tbaa !5 ret i32 %6 } declare ptr @impl_from_HTMLDOMNode(ptr noundef) local_unnamed_addr #1 declare i32 @FIXME(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/reactos/dll/win32/mshtml/extr_htmldoc.c_HTMLDocumentNode_clone.c' source_filename = "AnghaBench/reactos/dll/win32/mshtml/extr_htmldoc.c_HTMLDocumentNode_clone.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 [4 x i8] c"%p\0A\00", align 1 @E_NOTIMPL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @HTMLDocumentNode_clone], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @HTMLDocumentNode_clone(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #0 { %4 = tail call ptr @impl_from_HTMLDOMNode(ptr noundef %0) #2 %5 = tail call i32 @FIXME(ptr noundef nonnull @.str, ptr noundef %4) #2 %6 = load i32, ptr @E_NOTIMPL, align 4, !tbaa !6 ret i32 %6 } declare ptr @impl_from_HTMLDOMNode(ptr noundef) local_unnamed_addr #1 declare i32 @FIXME(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"}
reactos_dll_win32_mshtml_extr_htmldoc.c_HTMLDocumentNode_clone
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_asus_atk0110.c_atk_print_sensor.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_asus_atk0110.c_atk_print_sensor.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @HWMON_PACK_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @HWMON_PACK_FLAGS = dso_local local_unnamed_addr global i32 0, align 4 @HWMON_PACK_LIMIT1 = dso_local local_unnamed_addr global i32 0, align 4 @HWMON_PACK_LIMIT2 = dso_local local_unnamed_addr global i32 0, align 4 @HWMON_PACK_NAME = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @atk_print_sensor], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @atk_print_sensor(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_asus_atk0110.c_atk_print_sensor.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_asus_atk0110.c_atk_print_sensor.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HWMON_PACK_ENABLE = common local_unnamed_addr global i32 0, align 4 @HWMON_PACK_FLAGS = common local_unnamed_addr global i32 0, align 4 @HWMON_PACK_LIMIT1 = common local_unnamed_addr global i32 0, align 4 @HWMON_PACK_LIMIT2 = common local_unnamed_addr global i32 0, align 4 @HWMON_PACK_NAME = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @atk_print_sensor], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @atk_print_sensor(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_hwmon_extr_asus_atk0110.c_atk_print_sensor
; ModuleID = 'AnghaBench/freebsd/sys/dev/isci/scil/extr_scic_sds_stp_remote_device.c_scic_sds_stp_remote_device_ready_ncq_substate_frame_handler.c' source_filename = "AnghaBench/freebsd/sys/dev/isci/scil/extr_scic_sds_stp_remote_device.c_scic_sds_stp_remote_device_ready_ncq_substate_frame_handler.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { i64, i32 } %struct.TYPE_7__ = type { i32, ptr } @SCI_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 @SATA_FIS_TYPE_SETDEVBITS = dso_local local_unnamed_addr global i64 0, align 8 @ATA_STATUS_REG_ERROR_BIT = dso_local local_unnamed_addr global i32 0, align 4 @SCIC_REMOTE_DEVICE_NOT_READY_SATA_SDB_ERROR_FIS_RECEIVED = dso_local local_unnamed_addr global ptr null, align 8 @SCIC_SDS_STP_REMOTE_DEVICE_READY_SUBSTATE_NCQ_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @SATA_FIS_TYPE_REGD2H = dso_local local_unnamed_addr global i64 0, align 8 @SCI_FAILURE = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @scic_sds_stp_remote_device_ready_ncq_substate_frame_handler], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @scic_sds_stp_remote_device_ready_ncq_substate_frame_handler(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = tail call ptr @scic_sds_remote_device_get_controller(ptr noundef %0) #3 %5 = call i64 @scic_sds_unsolicited_frame_control_get_header(ptr noundef %4, i32 noundef %1, ptr noundef nonnull %3) #3 %6 = load i64, ptr @SCI_SUCCESS, align 8, !tbaa !5 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %44 8: ; preds = %2 %9 = load ptr, ptr %3, align 8, !tbaa !9 %10 = load i64, ptr %9, align 8, !tbaa !11 %11 = load i64, ptr @SATA_FIS_TYPE_SETDEVBITS, align 8, !tbaa !5 %12 = icmp eq i64 %10, %11 br i1 %12, label %13, label %24 13: ; preds = %8 %14 = getelementptr inbounds %struct.TYPE_8__, ptr %9, i64 0, i32 1 %15 = load i32, ptr %14, align 8, !tbaa !14 %16 = load i32, ptr @ATA_STATUS_REG_ERROR_BIT, align 4, !tbaa !15 %17 = and i32 %16, %15 %18 = icmp eq i32 %17, 0 br i1 %18, label %24, label %19 19: ; preds = %13 %20 = load ptr, ptr @SCIC_REMOTE_DEVICE_NOT_READY_SATA_SDB_ERROR_FIS_RECEIVED, align 8, !tbaa !9 %21 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 store ptr %20, ptr %21, align 8, !tbaa !16 %22 = load i32, ptr @SCIC_SDS_STP_REMOTE_DEVICE_READY_SUBSTATE_NCQ_ERROR, align 4, !tbaa !15 %23 = call i32 @sci_base_state_machine_change_state(ptr noundef %0, i32 noundef %22) #3 br label %40 24: ; preds = %13, %8 %25 = load i64, ptr @SATA_FIS_TYPE_REGD2H, align 8, !tbaa !5 %26 = icmp eq i64 %10, %25 br i1 %26, label %27, label %38 27: ; preds = %24 %28 = getelementptr inbounds %struct.TYPE_8__, ptr %9, i64 0, i32 1 %29 = load i32, ptr %28, align 8, !tbaa !14 %30 = load i32, ptr @ATA_STATUS_REG_ERROR_BIT, align 4, !tbaa !15 %31 = and i32 %30, %29 %32 = icmp eq i32 %31, 0 br i1 %32, label %38, label %33 33: ; preds = %27 %34 = load ptr, ptr @SCIC_REMOTE_DEVICE_NOT_READY_SATA_SDB_ERROR_FIS_RECEIVED, align 8, !tbaa !9 %35 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 store ptr %34, ptr %35, align 8, !tbaa !16 %36 = load i32, ptr @SCIC_SDS_STP_REMOTE_DEVICE_READY_SUBSTATE_NCQ_ERROR, align 4, !tbaa !15 %37 = call i32 @sci_base_state_machine_change_state(ptr noundef %0, i32 noundef %36) #3 br label %40 38: ; preds = %27, %24 %39 = load i64, ptr @SCI_FAILURE, align 8, !tbaa !5 br label %40 40: ; preds = %33, %38, %19 %41 = phi i64 [ %5, %19 ], [ %5, %33 ], [ %39, %38 ] %42 = call ptr @scic_sds_remote_device_get_controller(ptr noundef %0) #3 %43 = call i32 @scic_sds_controller_release_frame(ptr noundef %42, i32 noundef %1) #3 br label %44 44: ; preds = %40, %2 %45 = phi i64 [ %41, %40 ], [ %5, %2 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i64 %45 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @scic_sds_unsolicited_frame_control_get_header(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @scic_sds_remote_device_get_controller(ptr noundef) local_unnamed_addr #2 declare i32 @sci_base_state_machine_change_state(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @scic_sds_controller_release_frame(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_8__", !6, i64 0, !13, i64 8} !13 = !{!"int", !7, i64 0} !14 = !{!12, !13, i64 8} !15 = !{!13, !13, i64 0} !16 = !{!17, !10, i64 8} !17 = !{!"TYPE_7__", !13, i64 0, !10, i64 8}
; ModuleID = 'AnghaBench/freebsd/sys/dev/isci/scil/extr_scic_sds_stp_remote_device.c_scic_sds_stp_remote_device_ready_ncq_substate_frame_handler.c' source_filename = "AnghaBench/freebsd/sys/dev/isci/scil/extr_scic_sds_stp_remote_device.c_scic_sds_stp_remote_device_ready_ncq_substate_frame_handler.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SCI_SUCCESS = common local_unnamed_addr global i64 0, align 8 @SATA_FIS_TYPE_SETDEVBITS = common local_unnamed_addr global i64 0, align 8 @ATA_STATUS_REG_ERROR_BIT = common local_unnamed_addr global i32 0, align 4 @SCIC_REMOTE_DEVICE_NOT_READY_SATA_SDB_ERROR_FIS_RECEIVED = common local_unnamed_addr global ptr null, align 8 @SCIC_SDS_STP_REMOTE_DEVICE_READY_SUBSTATE_NCQ_ERROR = common local_unnamed_addr global i32 0, align 4 @SATA_FIS_TYPE_REGD2H = common local_unnamed_addr global i64 0, align 8 @SCI_FAILURE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @scic_sds_stp_remote_device_ready_ncq_substate_frame_handler], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @scic_sds_stp_remote_device_ready_ncq_substate_frame_handler(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = tail call ptr @scic_sds_remote_device_get_controller(ptr noundef %0) #3 %5 = call i64 @scic_sds_unsolicited_frame_control_get_header(ptr noundef %4, i32 noundef %1, ptr noundef nonnull %3) #3 %6 = load i64, ptr @SCI_SUCCESS, align 8, !tbaa !6 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %44 8: ; preds = %2 %9 = load ptr, ptr %3, align 8, !tbaa !10 %10 = load i64, ptr %9, align 8, !tbaa !12 %11 = load i64, ptr @SATA_FIS_TYPE_SETDEVBITS, align 8, !tbaa !6 %12 = icmp eq i64 %10, %11 br i1 %12, label %13, label %24 13: ; preds = %8 %14 = getelementptr inbounds i8, ptr %9, i64 8 %15 = load i32, ptr %14, align 8, !tbaa !15 %16 = load i32, ptr @ATA_STATUS_REG_ERROR_BIT, align 4, !tbaa !16 %17 = and i32 %16, %15 %18 = icmp eq i32 %17, 0 br i1 %18, label %24, label %19 19: ; preds = %13 %20 = load ptr, ptr @SCIC_REMOTE_DEVICE_NOT_READY_SATA_SDB_ERROR_FIS_RECEIVED, align 8, !tbaa !10 %21 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %20, ptr %21, align 8, !tbaa !17 %22 = load i32, ptr @SCIC_SDS_STP_REMOTE_DEVICE_READY_SUBSTATE_NCQ_ERROR, align 4, !tbaa !16 %23 = call i32 @sci_base_state_machine_change_state(ptr noundef %0, i32 noundef %22) #3 br label %40 24: ; preds = %13, %8 %25 = load i64, ptr @SATA_FIS_TYPE_REGD2H, align 8, !tbaa !6 %26 = icmp eq i64 %10, %25 br i1 %26, label %27, label %38 27: ; preds = %24 %28 = getelementptr inbounds i8, ptr %9, i64 8 %29 = load i32, ptr %28, align 8, !tbaa !15 %30 = load i32, ptr @ATA_STATUS_REG_ERROR_BIT, align 4, !tbaa !16 %31 = and i32 %30, %29 %32 = icmp eq i32 %31, 0 br i1 %32, label %38, label %33 33: ; preds = %27 %34 = load ptr, ptr @SCIC_REMOTE_DEVICE_NOT_READY_SATA_SDB_ERROR_FIS_RECEIVED, align 8, !tbaa !10 %35 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %34, ptr %35, align 8, !tbaa !17 %36 = load i32, ptr @SCIC_SDS_STP_REMOTE_DEVICE_READY_SUBSTATE_NCQ_ERROR, align 4, !tbaa !16 %37 = call i32 @sci_base_state_machine_change_state(ptr noundef %0, i32 noundef %36) #3 br label %40 38: ; preds = %27, %24 %39 = load i64, ptr @SCI_FAILURE, align 8, !tbaa !6 br label %40 40: ; preds = %33, %38, %19 %41 = phi i64 [ %5, %19 ], [ %5, %33 ], [ %39, %38 ] %42 = call ptr @scic_sds_remote_device_get_controller(ptr noundef %0) #3 %43 = call i32 @scic_sds_controller_release_frame(ptr noundef %42, i32 noundef %1) #3 br label %44 44: ; preds = %40, %2 %45 = phi i64 [ %41, %40 ], [ %5, %2 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i64 %45 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @scic_sds_unsolicited_frame_control_get_header(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @scic_sds_remote_device_get_controller(ptr noundef) local_unnamed_addr #2 declare i32 @sci_base_state_machine_change_state(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @scic_sds_controller_release_frame(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_8__", !7, i64 0, !14, i64 8} !14 = !{!"int", !8, i64 0} !15 = !{!13, !14, i64 8} !16 = !{!14, !14, i64 0} !17 = !{!18, !11, i64 8} !18 = !{!"TYPE_7__", !14, i64 0, !11, i64 8}
freebsd_sys_dev_isci_scil_extr_scic_sds_stp_remote_device.c_scic_sds_stp_remote_device_ready_ncq_substate_frame_handler
; ModuleID = 'AnghaBench/linux/drivers/media/pci/saa7134/extr_saa7134-input.c_get_key_pinnacle.c' source_filename = "AnghaBench/linux/drivers/media/pci/saa7134/extr_saa7134-input.c_get_key_pinnacle.c" target datalayout = "e-m:e-p270:32:32-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.IR_i2c = type { i32, i32 } @.str = private unnamed_addr constant [12 x i8] c"read error\0A\00", align 1 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @RC_PROTO_UNKNOWN = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"Pinnacle PCTV key %02x\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_key_pinnacle], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @get_key_pinnacle(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca [4 x i8], align 1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 %9 = getelementptr inbounds %struct.IR_i2c, ptr %0, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !5 %11 = call i32 @i2c_master_recv(i32 noundef %10, ptr noundef nonnull %8, i32 noundef 4) #3 %12 = icmp eq i32 %11, 4 br i1 %12, label %13, label %16 13: ; preds = %7 %14 = call i32 @ARRAY_SIZE(ptr noundef nonnull %8) #3 %15 = icmp eq i32 %14, 0 br i1 %15, label %65, label %22 16: ; preds = %7 %17 = call i32 (ptr, ptr, ...) @ir_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str) #3 %18 = icmp slt i32 %11, 0 br i1 %18, label %65, label %19 19: ; preds = %16 %20 = load i32, ptr @EIO, align 4, !tbaa !10 %21 = sub nsw i32 0, %20 br label %65 22: ; preds = %13, %44 %23 = phi i64 [ %47, %44 ], [ 0, %13 ] %24 = phi i32 [ %46, %44 ], [ 0, %13 ] %25 = phi i32 [ %45, %44 ], [ 0, %13 ] %26 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 %23 %27 = load i8, ptr %26, align 1, !tbaa !11 %28 = zext i8 %27 to i32 %29 = icmp eq i32 %28, %5 br i1 %29, label %30, label %44 30: ; preds = %22 %31 = trunc i64 %23 to i32 %32 = add i32 %31, %4 %33 = add i32 %32, 1 %34 = and i32 %33, 3 %35 = zext nneg i32 %34 to i64 %36 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 %35 %37 = load i8, ptr %36, align 1, !tbaa !11 %38 = zext i8 %37 to i32 %39 = and i32 %32, 3 %40 = zext nneg i32 %39 to i64 %41 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 %40 %42 = load i8, ptr %41, align 1, !tbaa !11 %43 = zext i8 %42 to i32 br label %44 44: ; preds = %22, %30 %45 = phi i32 [ %43, %30 ], [ %25, %22 ] %46 = phi i32 [ %38, %30 ], [ %24, %22 ] %47 = add nuw nsw i64 %23, 1 %48 = call i32 @ARRAY_SIZE(ptr noundef nonnull %8) #3 %49 = zext i32 %48 to i64 %50 = icmp ult i64 %47, %49 br i1 %50, label %22, label %51, !llvm.loop !12 51: ; preds = %44 %52 = icmp eq i32 %45, 0 br i1 %52, label %65, label %53 53: ; preds = %51 %54 = load i32, ptr %0, align 4, !tbaa !14 %55 = icmp eq i32 %54, %45 br i1 %55, label %65, label %56 56: ; preds = %53 store i32 %45, ptr %0, align 4, !tbaa !14 %57 = icmp ne i32 %5, 254 %58 = and i32 %46, 64 %59 = icmp eq i32 %58, 0 %60 = select i1 %57, i1 true, i1 %59 br i1 %60, label %61, label %65 61: ; preds = %56 %62 = urem i32 %46, %6 %63 = load i32, ptr @RC_PROTO_UNKNOWN, align 4, !tbaa !10 store i32 %63, ptr %1, align 4, !tbaa !10 store i32 %62, ptr %2, align 4, !tbaa !10 store i64 0, ptr %3, align 8, !tbaa !15 %64 = call i32 (ptr, ptr, ...) @ir_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %62) #3 br label %65 65: ; preds = %13, %56, %53, %51, %16, %61, %19 %66 = phi i32 [ %21, %19 ], [ 1, %61 ], [ %11, %16 ], [ 0, %51 ], [ 0, %53 ], [ 0, %56 ], [ 0, %13 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 ret i32 %66 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @i2c_master_recv(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ir_dbg(ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"IR_i2c", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!8, !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!6, !7, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/pci/saa7134/extr_saa7134-input.c_get_key_pinnacle.c' source_filename = "AnghaBench/linux/drivers/media/pci/saa7134/extr_saa7134-input.c_get_key_pinnacle.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 [12 x i8] c"read error\0A\00", align 1 @EIO = common local_unnamed_addr global i32 0, align 4 @RC_PROTO_UNKNOWN = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"Pinnacle PCTV key %02x\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @get_key_pinnacle], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @get_key_pinnacle(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca [4 x i8], align 1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 %9 = getelementptr inbounds i8, ptr %0, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !6 %11 = call i32 @i2c_master_recv(i32 noundef %10, ptr noundef nonnull %8, i32 noundef 4) #3 %12 = icmp eq i32 %11, 4 br i1 %12, label %13, label %16 13: ; preds = %7 %14 = call i32 @ARRAY_SIZE(ptr noundef nonnull %8) #3 %15 = icmp eq i32 %14, 0 br i1 %15, label %65, label %22 16: ; preds = %7 %17 = call i32 (ptr, ptr, ...) @ir_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str) #3 %18 = icmp slt i32 %11, 0 br i1 %18, label %65, label %19 19: ; preds = %16 %20 = load i32, ptr @EIO, align 4, !tbaa !11 %21 = sub nsw i32 0, %20 br label %65 22: ; preds = %13, %44 %23 = phi i64 [ %47, %44 ], [ 0, %13 ] %24 = phi i32 [ %46, %44 ], [ 0, %13 ] %25 = phi i32 [ %45, %44 ], [ 0, %13 ] %26 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 %23 %27 = load i8, ptr %26, align 1, !tbaa !12 %28 = zext i8 %27 to i32 %29 = icmp eq i32 %28, %5 br i1 %29, label %30, label %44 30: ; preds = %22 %31 = trunc nuw i64 %23 to i32 %32 = add i32 %31, %4 %33 = add i32 %32, 1 %34 = and i32 %33, 3 %35 = zext nneg i32 %34 to i64 %36 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 %35 %37 = load i8, ptr %36, align 1, !tbaa !12 %38 = zext i8 %37 to i32 %39 = and i32 %32, 3 %40 = zext nneg i32 %39 to i64 %41 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 %40 %42 = load i8, ptr %41, align 1, !tbaa !12 %43 = zext i8 %42 to i32 br label %44 44: ; preds = %22, %30 %45 = phi i32 [ %43, %30 ], [ %25, %22 ] %46 = phi i32 [ %38, %30 ], [ %24, %22 ] %47 = add nuw nsw i64 %23, 1 %48 = call i32 @ARRAY_SIZE(ptr noundef nonnull %8) #3 %49 = zext i32 %48 to i64 %50 = icmp ult i64 %47, %49 br i1 %50, label %22, label %51, !llvm.loop !13 51: ; preds = %44 %52 = icmp eq i32 %45, 0 br i1 %52, label %65, label %53 53: ; preds = %51 %54 = load i32, ptr %0, align 4, !tbaa !15 %55 = icmp eq i32 %54, %45 br i1 %55, label %65, label %56 56: ; preds = %53 store i32 %45, ptr %0, align 4, !tbaa !15 %57 = icmp ne i32 %5, 254 %58 = and i32 %46, 64 %59 = icmp eq i32 %58, 0 %60 = select i1 %57, i1 true, i1 %59 br i1 %60, label %61, label %65 61: ; preds = %56 %62 = urem i32 %46, %6 %63 = load i32, ptr @RC_PROTO_UNKNOWN, align 4, !tbaa !11 store i32 %63, ptr %1, align 4, !tbaa !11 store i32 %62, ptr %2, align 4, !tbaa !11 store i64 0, ptr %3, align 8, !tbaa !16 %64 = call i32 (ptr, ptr, ...) @ir_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %62) #3 br label %65 65: ; preds = %13, %56, %53, %51, %16, %61, %19 %66 = phi i32 [ %21, %19 ], [ 1, %61 ], [ %11, %16 ], [ 0, %51 ], [ 0, %53 ], [ 0, %56 ], [ 0, %13 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 ret i32 %66 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @i2c_master_recv(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ir_dbg(ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"IR_i2c", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!9, !9, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!7, !8, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"long", !9, i64 0}
linux_drivers_media_pci_saa7134_extr_saa7134-input.c_get_key_pinnacle
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nilfs2/extr_segment.c_nilfs_segctor_add_super_root.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nilfs2/extr_segment.c_nilfs_segctor_add_super_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" %struct.nilfs_sc_info = type { i32, ptr } %struct.nilfs_segment_buffer = type { i64, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i64, i32 } @NILFS_SS_SR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nilfs_segctor_add_super_root], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nilfs_segctor_add_super_root(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.nilfs_sc_info, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.nilfs_segment_buffer, ptr %3, i64 0, i32 1 %5 = load i64, ptr %4, align 8, !tbaa !11 %6 = load i64, ptr %3, align 8, !tbaa !15 %7 = icmp slt i64 %5, %6 br i1 %7, label %13, label %8 8: ; preds = %1 %9 = tail call i32 @nilfs_segctor_feed_segment(ptr noundef nonnull %0) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %25 11: ; preds = %8 %12 = load ptr, ptr %2, align 8, !tbaa !5 br label %13 13: ; preds = %11, %1 %14 = phi ptr [ %12, %11 ], [ %3, %1 ] %15 = tail call i32 @nilfs_segbuf_extend_payload(ptr noundef %14, ptr noundef nonnull %0) #2 %16 = icmp eq i32 %15, 0 %17 = zext i1 %16 to i32 %18 = tail call i64 @likely(i32 noundef %17) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %25, label %20 20: ; preds = %13 %21 = load i32, ptr @NILFS_SS_SR, align 4, !tbaa !16 %22 = getelementptr inbounds %struct.nilfs_segment_buffer, ptr %14, i64 0, i32 1, i32 1 %23 = load i32, ptr %22, align 8, !tbaa !17 %24 = or i32 %23, %21 store i32 %24, ptr %22, align 8, !tbaa !17 br label %25 25: ; preds = %13, %20, %8 %26 = phi i32 [ %9, %8 ], [ %15, %20 ], [ %15, %13 ] ret i32 %26 } declare i32 @nilfs_segctor_feed_segment(ptr noundef) local_unnamed_addr #1 declare i32 @nilfs_segbuf_extend_payload(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @likely(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 = !{!"nilfs_sc_info", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !13, i64 8} !12 = !{!"nilfs_segment_buffer", !13, i64 0, !14, i64 8} !13 = !{!"long", !8, i64 0} !14 = !{!"TYPE_2__", !13, i64 0, !7, i64 8} !15 = !{!12, !13, i64 0} !16 = !{!7, !7, i64 0} !17 = !{!12, !7, i64 16}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nilfs2/extr_segment.c_nilfs_segctor_add_super_root.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nilfs2/extr_segment.c_nilfs_segctor_add_super_root.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NILFS_SS_SR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nilfs_segctor_add_super_root], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @nilfs_segctor_add_super_root(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = load i64, ptr %4, align 8, !tbaa !12 %6 = load i64, ptr %3, align 8, !tbaa !16 %7 = icmp slt i64 %5, %6 br i1 %7, label %13, label %8 8: ; preds = %1 %9 = tail call i32 @nilfs_segctor_feed_segment(ptr noundef nonnull %0) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %25 11: ; preds = %8 %12 = load ptr, ptr %2, align 8, !tbaa !6 br label %13 13: ; preds = %11, %1 %14 = phi ptr [ %12, %11 ], [ %3, %1 ] %15 = tail call i32 @nilfs_segbuf_extend_payload(ptr noundef %14, ptr noundef nonnull %0) #2 %16 = icmp eq i32 %15, 0 %17 = zext i1 %16 to i32 %18 = tail call i64 @likely(i32 noundef %17) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %25, label %20 20: ; preds = %13 %21 = load i32, ptr @NILFS_SS_SR, align 4, !tbaa !17 %22 = getelementptr inbounds i8, ptr %14, i64 16 %23 = load i32, ptr %22, align 8, !tbaa !18 %24 = or i32 %23, %21 store i32 %24, ptr %22, align 8, !tbaa !18 br label %25 25: ; preds = %13, %20, %8 %26 = phi i32 [ %9, %8 ], [ %15, %20 ], [ %15, %13 ] ret i32 %26 } declare i32 @nilfs_segctor_feed_segment(ptr noundef) local_unnamed_addr #1 declare i32 @nilfs_segbuf_extend_payload(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @likely(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 = !{!"nilfs_sc_info", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !14, i64 8} !13 = !{!"nilfs_segment_buffer", !14, i64 0, !15, i64 8} !14 = !{!"long", !9, i64 0} !15 = !{!"TYPE_2__", !14, i64 0, !8, i64 8} !16 = !{!13, !14, i64 0} !17 = !{!8, !8, i64 0} !18 = !{!13, !8, i64 16}
fastsocket_kernel_fs_nilfs2_extr_segment.c_nilfs_segctor_add_super_root
; ModuleID = 'AnghaBench/freebsd/crypto/openssh/extr_sshbuf-getput-basic.c_sshbuf_peek_string_direct.c' source_filename = "AnghaBench/freebsd/crypto/openssh/extr_sshbuf-getput-basic.c_sshbuf_peek_string_direct.c" target datalayout = "e-m:e-p270:32:32-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 [27 x i8] c"SSH_ERR_MESSAGE_INCOMPLETE\00", align 1 @SSH_ERR_MESSAGE_INCOMPLETE = dso_local local_unnamed_addr global i32 0, align 4 @SSHBUF_SIZE_MAX = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"SSH_ERR_STRING_TOO_LARGE\00", align 1 @SSH_ERR_STRING_TOO_LARGE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @sshbuf_peek_string_direct(ptr noundef %0, ptr noundef writeonly %1, ptr noundef writeonly %2) local_unnamed_addr #0 { %4 = tail call ptr @sshbuf_ptr(ptr noundef %0) #2 %5 = icmp eq ptr %1, null br i1 %5, label %7, label %6 6: ; preds = %3 store ptr null, ptr %1, align 8, !tbaa !5 br label %7 7: ; preds = %6, %3 %8 = icmp eq ptr %2, null br i1 %8, label %10, label %9 9: ; preds = %7 store i64 0, ptr %2, align 8, !tbaa !9 br label %10 10: ; preds = %9, %7 %11 = tail call i32 @sshbuf_len(ptr noundef %0) #2 %12 = icmp slt i32 %11, 4 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = tail call i32 @SSHBUF_DBG(ptr noundef nonnull @.str) #2 %15 = load i32, ptr @SSH_ERR_MESSAGE_INCOMPLETE, align 4, !tbaa !11 br label %37 16: ; preds = %10 %17 = tail call i32 @PEEK_U32(ptr noundef %4) #2 %18 = load i32, ptr @SSHBUF_SIZE_MAX, align 4, !tbaa !11 %19 = add nsw i32 %18, -4 %20 = icmp sgt i32 %17, %19 br i1 %20, label %21, label %24 21: ; preds = %16 %22 = tail call i32 @SSHBUF_DBG(ptr noundef nonnull @.str.1) #2 %23 = load i32, ptr @SSH_ERR_STRING_TOO_LARGE, align 4, !tbaa !11 br label %37 24: ; preds = %16 %25 = tail call i32 @sshbuf_len(ptr noundef %0) #2 %26 = add nsw i32 %25, -4 %27 = icmp slt i32 %26, %17 br i1 %27, label %28, label %31 28: ; preds = %24 %29 = tail call i32 @SSHBUF_DBG(ptr noundef nonnull @.str) #2 %30 = load i32, ptr @SSH_ERR_MESSAGE_INCOMPLETE, align 4, !tbaa !11 br label %37 31: ; preds = %24 br i1 %5, label %34, label %32 32: ; preds = %31 %33 = getelementptr inbounds i32, ptr %4, i64 4 store ptr %33, ptr %1, align 8, !tbaa !5 br label %34 34: ; preds = %32, %31 br i1 %8, label %37, label %35 35: ; preds = %34 %36 = sext i32 %17 to i64 store i64 %36, ptr %2, align 8, !tbaa !9 br label %37 37: ; preds = %34, %35, %28, %21, %13 %38 = phi i32 [ %15, %13 ], [ %23, %21 ], [ %30, %28 ], [ 0, %35 ], [ 0, %34 ] ret i32 %38 } declare ptr @sshbuf_ptr(ptr noundef) local_unnamed_addr #1 declare i32 @sshbuf_len(ptr noundef) local_unnamed_addr #1 declare i32 @SSHBUF_DBG(ptr noundef) local_unnamed_addr #1 declare i32 @PEEK_U32(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/crypto/openssh/extr_sshbuf-getput-basic.c_sshbuf_peek_string_direct.c' source_filename = "AnghaBench/freebsd/crypto/openssh/extr_sshbuf-getput-basic.c_sshbuf_peek_string_direct.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [27 x i8] c"SSH_ERR_MESSAGE_INCOMPLETE\00", align 1 @SSH_ERR_MESSAGE_INCOMPLETE = common local_unnamed_addr global i32 0, align 4 @SSHBUF_SIZE_MAX = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"SSH_ERR_STRING_TOO_LARGE\00", align 1 @SSH_ERR_STRING_TOO_LARGE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @sshbuf_peek_string_direct(ptr noundef %0, ptr noundef writeonly %1, ptr noundef writeonly %2) local_unnamed_addr #0 { %4 = tail call ptr @sshbuf_ptr(ptr noundef %0) #2 %5 = icmp eq ptr %1, null br i1 %5, label %7, label %6 6: ; preds = %3 store ptr null, ptr %1, align 8, !tbaa !6 br label %7 7: ; preds = %6, %3 %8 = icmp eq ptr %2, null br i1 %8, label %10, label %9 9: ; preds = %7 store i64 0, ptr %2, align 8, !tbaa !10 br label %10 10: ; preds = %9, %7 %11 = tail call i32 @sshbuf_len(ptr noundef %0) #2 %12 = icmp slt i32 %11, 4 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = tail call i32 @SSHBUF_DBG(ptr noundef nonnull @.str) #2 %15 = load i32, ptr @SSH_ERR_MESSAGE_INCOMPLETE, align 4, !tbaa !12 br label %37 16: ; preds = %10 %17 = tail call i32 @PEEK_U32(ptr noundef %4) #2 %18 = load i32, ptr @SSHBUF_SIZE_MAX, align 4, !tbaa !12 %19 = add nsw i32 %18, -4 %20 = icmp sgt i32 %17, %19 br i1 %20, label %21, label %24 21: ; preds = %16 %22 = tail call i32 @SSHBUF_DBG(ptr noundef nonnull @.str.1) #2 %23 = load i32, ptr @SSH_ERR_STRING_TOO_LARGE, align 4, !tbaa !12 br label %37 24: ; preds = %16 %25 = tail call i32 @sshbuf_len(ptr noundef %0) #2 %26 = add nsw i32 %25, -4 %27 = icmp slt i32 %26, %17 br i1 %27, label %28, label %31 28: ; preds = %24 %29 = tail call i32 @SSHBUF_DBG(ptr noundef nonnull @.str) #2 %30 = load i32, ptr @SSH_ERR_MESSAGE_INCOMPLETE, align 4, !tbaa !12 br label %37 31: ; preds = %24 br i1 %5, label %34, label %32 32: ; preds = %31 %33 = getelementptr inbounds i8, ptr %4, i64 16 store ptr %33, ptr %1, align 8, !tbaa !6 br label %34 34: ; preds = %32, %31 br i1 %8, label %37, label %35 35: ; preds = %34 %36 = sext i32 %17 to i64 store i64 %36, ptr %2, align 8, !tbaa !10 br label %37 37: ; preds = %34, %35, %28, %21, %13 %38 = phi i32 [ %15, %13 ], [ %23, %21 ], [ %30, %28 ], [ 0, %35 ], [ 0, %34 ] ret i32 %38 } declare ptr @sshbuf_ptr(ptr noundef) local_unnamed_addr #1 declare i32 @sshbuf_len(ptr noundef) local_unnamed_addr #1 declare i32 @SSHBUF_DBG(ptr noundef) local_unnamed_addr #1 declare i32 @PEEK_U32(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
freebsd_crypto_openssh_extr_sshbuf-getput-basic.c_sshbuf_peek_string_direct
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/fs/puffs/h_dtfs/extr_dtfs_vfsops.c_dtfs_fs_fhtonode.c' source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/fs/puffs/h_dtfs/extr_dtfs_vfsops.c_dtfs_fs_fhtonode.c" target datalayout = "e-m:e-p270:32:32-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.dtfs_fid = type { i64, i64, i32 } %struct.TYPE_2__ = type { i64, i64, i32, i32, i32 } @addrcmp = dso_local local_unnamed_addr global i32 0, align 4 @ESTALE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @dtfs_fs_fhtonode(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = icmp eq i64 %2, 24 %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = load i32, ptr @addrcmp, align 4, !tbaa !5 %9 = getelementptr inbounds %struct.dtfs_fid, ptr %1, i64 0, i32 2 %10 = load i32, ptr %9, align 8, !tbaa !9 %11 = tail call ptr @puffs_pn_nodewalk(ptr noundef %0, i32 noundef %8, i32 noundef %10) #2 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %15 13: ; preds = %4 %14 = load i32, ptr @ESTALE, align 4, !tbaa !5 br label %38 15: ; preds = %4 %16 = load i64, ptr %11, align 8, !tbaa !12 %17 = load i64, ptr %1, align 8, !tbaa !15 %18 = icmp eq i64 %16, %17 br i1 %18, label %19, label %25 19: ; preds = %15 %20 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 0, i32 1 %21 = load i64, ptr %20, align 8, !tbaa !16 %22 = getelementptr inbounds %struct.dtfs_fid, ptr %1, i64 0, i32 1 %23 = load i64, ptr %22, align 8, !tbaa !17 %24 = icmp eq i64 %21, %23 br i1 %24, label %27, label %25 25: ; preds = %19, %15 %26 = load i32, ptr @ESTALE, align 4, !tbaa !5 br label %38 27: ; preds = %19 %28 = tail call i32 @puffs_newinfo_setcookie(ptr noundef %3, ptr noundef nonnull %11) #2 %29 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 0, i32 4 %30 = load i32, ptr %29, align 8, !tbaa !18 %31 = tail call i32 @puffs_newinfo_setvtype(ptr noundef %3, i32 noundef %30) #2 %32 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 0, i32 3 %33 = load i32, ptr %32, align 4, !tbaa !19 %34 = tail call i32 @puffs_newinfo_setsize(ptr noundef %3, i32 noundef %33) #2 %35 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 0, i32 2 %36 = load i32, ptr %35, align 8, !tbaa !20 %37 = tail call i32 @puffs_newinfo_setrdev(ptr noundef %3, i32 noundef %36) #2 br label %38 38: ; preds = %27, %25, %13 %39 = phi i32 [ %14, %13 ], [ %26, %25 ], [ 0, %27 ] ret i32 %39 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare ptr @puffs_pn_nodewalk(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @puffs_newinfo_setcookie(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @puffs_newinfo_setvtype(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @puffs_newinfo_setsize(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @puffs_newinfo_setrdev(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 16} !10 = !{!"dtfs_fid", !11, i64 0, !11, i64 8, !6, i64 16} !11 = !{!"long", !7, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"puffs_node", !14, i64 0} !14 = !{!"TYPE_2__", !11, i64 0, !11, i64 8, !6, i64 16, !6, i64 20, !6, i64 24} !15 = !{!10, !11, i64 0} !16 = !{!13, !11, i64 8} !17 = !{!10, !11, i64 8} !18 = !{!13, !6, i64 24} !19 = !{!13, !6, i64 20} !20 = !{!13, !6, i64 16}
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/fs/puffs/h_dtfs/extr_dtfs_vfsops.c_dtfs_fs_fhtonode.c' source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/fs/puffs/h_dtfs/extr_dtfs_vfsops.c_dtfs_fs_fhtonode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @addrcmp = common local_unnamed_addr global i32 0, align 4 @ESTALE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @dtfs_fs_fhtonode(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = icmp eq i64 %2, 24 %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = load i32, ptr @addrcmp, align 4, !tbaa !6 %9 = getelementptr inbounds i8, ptr %1, i64 16 %10 = load i32, ptr %9, align 8, !tbaa !10 %11 = tail call ptr @puffs_pn_nodewalk(ptr noundef %0, i32 noundef %8, i32 noundef %10) #2 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %15 13: ; preds = %4 %14 = load i32, ptr @ESTALE, align 4, !tbaa !6 br label %38 15: ; preds = %4 %16 = load i64, ptr %11, align 8, !tbaa !13 %17 = load i64, ptr %1, align 8, !tbaa !16 %18 = icmp eq i64 %16, %17 br i1 %18, label %19, label %25 19: ; preds = %15 %20 = getelementptr inbounds i8, ptr %11, i64 8 %21 = load i64, ptr %20, align 8, !tbaa !17 %22 = getelementptr inbounds i8, ptr %1, i64 8 %23 = load i64, ptr %22, align 8, !tbaa !18 %24 = icmp eq i64 %21, %23 br i1 %24, label %27, label %25 25: ; preds = %19, %15 %26 = load i32, ptr @ESTALE, align 4, !tbaa !6 br label %38 27: ; preds = %19 %28 = tail call i32 @puffs_newinfo_setcookie(ptr noundef %3, ptr noundef nonnull %11) #2 %29 = getelementptr inbounds i8, ptr %11, i64 24 %30 = load i32, ptr %29, align 8, !tbaa !19 %31 = tail call i32 @puffs_newinfo_setvtype(ptr noundef %3, i32 noundef %30) #2 %32 = getelementptr inbounds i8, ptr %11, i64 20 %33 = load i32, ptr %32, align 4, !tbaa !20 %34 = tail call i32 @puffs_newinfo_setsize(ptr noundef %3, i32 noundef %33) #2 %35 = getelementptr inbounds i8, ptr %11, i64 16 %36 = load i32, ptr %35, align 8, !tbaa !21 %37 = tail call i32 @puffs_newinfo_setrdev(ptr noundef %3, i32 noundef %36) #2 br label %38 38: ; preds = %27, %25, %13 %39 = phi i32 [ %14, %13 ], [ %26, %25 ], [ 0, %27 ] ret i32 %39 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare ptr @puffs_pn_nodewalk(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @puffs_newinfo_setcookie(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @puffs_newinfo_setvtype(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @puffs_newinfo_setsize(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @puffs_newinfo_setrdev(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 16} !11 = !{!"dtfs_fid", !12, i64 0, !12, i64 8, !7, i64 16} !12 = !{!"long", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"puffs_node", !15, i64 0} !15 = !{!"TYPE_2__", !12, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !7, i64 24} !16 = !{!11, !12, i64 0} !17 = !{!14, !12, i64 8} !18 = !{!11, !12, i64 8} !19 = !{!14, !7, i64 24} !20 = !{!14, !7, i64 20} !21 = !{!14, !7, i64 16}
freebsd_contrib_netbsd-tests_fs_puffs_h_dtfs_extr_dtfs_vfsops.c_dtfs_fs_fhtonode
; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_movea_16_pcdi.c' source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_movea_16_pcdi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AX = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @m68k_op_movea_16_pcdi], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @m68k_op_movea_16_pcdi() #0 { %1 = tail call i32 (...) @OPER_PCDI_16() #2 %2 = tail call i32 @MAKE_INT_16(i32 noundef %1) #2 store i32 %2, ptr @AX, align 4, !tbaa !5 ret void } declare i32 @MAKE_INT_16(i32 noundef) local_unnamed_addr #1 declare i32 @OPER_PCDI_16(...) 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/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_movea_16_pcdi.c' source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_movea_16_pcdi.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AX = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @m68k_op_movea_16_pcdi], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @m68k_op_movea_16_pcdi() #0 { %1 = tail call i32 @OPER_PCDI_16() #2 %2 = tail call i32 @MAKE_INT_16(i32 noundef %1) #2 store i32 %2, ptr @AX, align 4, !tbaa !6 ret void } declare i32 @MAKE_INT_16(i32 noundef) local_unnamed_addr #1 declare i32 @OPER_PCDI_16(...) 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_Genesis-Plus-GX_PVGenesis_Genesis_GenesisCore_genplusgx_source_m68k_extr_m68kops.h_m68k_op_movea_16_pcdi
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_kern_event.c_knote_get_qos_override_index.c' source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kern_event.c_knote_get_qos_override_index.c" target datalayout = "e-m:e-p270:32:32-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 @knote_get_qos_override_index], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i32 @knote_get_qos_override_index(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"knote", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_kern_event.c_knote_get_qos_override_index.c' source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kern_event.c_knote_get_qos_override_index.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 @knote_get_qos_override_index], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal i32 @knote_get_qos_override_index(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"knote", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
darwin-xnu_bsd_kern_extr_kern_event.c_knote_get_qos_override_index
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_vf.h_qed_vf_pf_bulletin_update_mac.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_vf.h_qed_vf_pf_bulletin_update_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" @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @qed_vf_pf_bulletin_update_mac], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @qed_vf_pf_bulletin_update_mac(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr @EINVAL, align 4, !tbaa !5 %4 = sub nsw i32 0, %3 ret i32 %4 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_vf.h_qed_vf_pf_bulletin_update_mac.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_vf.h_qed_vf_pf_bulletin_update_mac.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 @qed_vf_pf_bulletin_update_mac], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @qed_vf_pf_bulletin_update_mac(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr @EINVAL, align 4, !tbaa !6 %4 = sub nsw i32 0, %3 ret i32 %4 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_qlogic_qed_extr_qed_vf.h_qed_vf_pf_bulletin_update_mac
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/micrel/extr_ksz884x.c_netdev_set_pauseparam.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/micrel/extr_ksz884x.c_netdev_set_pauseparam.c" target datalayout = "e-m:e-p270:32:32-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.dev_priv = type { %struct.ksz_port, ptr } %struct.ksz_port = type { i64, i32 } %struct.dev_info = type { i32, %struct.ksz_hw } %struct.ksz_hw = type { i64, i32 } %struct.ethtool_pauseparam = type { i32, i32, i64 } @PHY_NO_FLOW_CTRL = dso_local local_unnamed_addr global i32 0, align 4 @PHY_FLOW_CTRL = dso_local local_unnamed_addr global i32 0, align 4 @PAUSE_FLOW_CTRL = dso_local local_unnamed_addr global i32 0, align 4 @KS8842_SWITCH_CTRL_1_OFFSET = dso_local local_unnamed_addr global i32 0, align 4 @SWITCH_RX_FLOW_CTRL = dso_local local_unnamed_addr global i32 0, align 4 @SWITCH_TX_FLOW_CTRL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @netdev_set_pauseparam], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @netdev_set_pauseparam(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 %4 = getelementptr inbounds %struct.dev_priv, ptr %3, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.dev_info, ptr %5, i64 0, i32 1 %7 = tail call i32 @mutex_lock(ptr noundef %5) #2 %8 = getelementptr inbounds %struct.ethtool_pauseparam, ptr %1, i64 0, i32 2 %9 = load i64, ptr %8, align 8, !tbaa !13 %10 = icmp eq i64 %9, 0 br i1 %10, label %39, label %11 11: ; preds = %2 %12 = load i32, ptr %1, align 8, !tbaa !15 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %11 %15 = getelementptr inbounds %struct.ethtool_pauseparam, ptr %1, i64 0, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !16 %17 = icmp eq i32 %16, 0 br i1 %17, label %19, label %18 18: ; preds = %14, %11 br label %19 19: ; preds = %14, %18 %20 = phi ptr [ @PHY_FLOW_CTRL, %18 ], [ @PHY_NO_FLOW_CTRL, %14 ] %21 = load i32, ptr %20, align 4, !tbaa !17 %22 = getelementptr inbounds %struct.ksz_port, ptr %3, i64 0, i32 1 store i32 %21, ptr %22, align 8, !tbaa !18 %23 = load i32, ptr @PAUSE_FLOW_CTRL, align 4, !tbaa !17 %24 = xor i32 %23, -1 %25 = getelementptr inbounds %struct.dev_info, ptr %5, i64 0, i32 1, i32 1 %26 = load i32, ptr %25, align 8, !tbaa !19 %27 = and i32 %26, %24 store i32 %27, ptr %25, align 8, !tbaa !19 store i64 0, ptr %3, align 8, !tbaa !21 %28 = load i64, ptr %6, align 8, !tbaa !22 %29 = icmp eq i64 %28, 0 br i1 %29, label %37, label %30 30: ; preds = %19 %31 = load i32, ptr @KS8842_SWITCH_CTRL_1_OFFSET, align 4, !tbaa !17 %32 = load i32, ptr @SWITCH_RX_FLOW_CTRL, align 4, !tbaa !17 %33 = tail call i32 @sw_cfg(ptr noundef nonnull %6, i32 noundef %31, i32 noundef %32, i32 noundef 1) #2 %34 = load i32, ptr @KS8842_SWITCH_CTRL_1_OFFSET, align 4, !tbaa !17 %35 = load i32, ptr @SWITCH_TX_FLOW_CTRL, align 4, !tbaa !17 %36 = tail call i32 @sw_cfg(ptr noundef nonnull %6, i32 noundef %34, i32 noundef %35, i32 noundef 1) #2 br label %37 37: ; preds = %30, %19 %38 = tail call i32 @port_set_link_speed(ptr noundef nonnull %3) #2 br label %61 39: ; preds = %2 %40 = load i32, ptr @PAUSE_FLOW_CTRL, align 4, !tbaa !17 %41 = getelementptr inbounds %struct.dev_info, ptr %5, i64 0, i32 1, i32 1 %42 = load i32, ptr %41, align 8, !tbaa !19 %43 = or i32 %42, %40 store i32 %43, ptr %41, align 8, !tbaa !19 %44 = load i64, ptr %6, align 8, !tbaa !22 %45 = icmp eq i64 %44, 0 br i1 %45, label %56, label %46 46: ; preds = %39 %47 = load i32, ptr @KS8842_SWITCH_CTRL_1_OFFSET, align 4, !tbaa !17 %48 = load i32, ptr @SWITCH_RX_FLOW_CTRL, align 4, !tbaa !17 %49 = load i32, ptr %1, align 8, !tbaa !15 %50 = tail call i32 @sw_cfg(ptr noundef nonnull %6, i32 noundef %47, i32 noundef %48, i32 noundef %49) #2 %51 = load i32, ptr @KS8842_SWITCH_CTRL_1_OFFSET, align 4, !tbaa !17 %52 = load i32, ptr @SWITCH_TX_FLOW_CTRL, align 4, !tbaa !17 %53 = getelementptr inbounds %struct.ethtool_pauseparam, ptr %1, i64 0, i32 1 %54 = load i32, ptr %53, align 4, !tbaa !16 %55 = tail call i32 @sw_cfg(ptr noundef nonnull %6, i32 noundef %51, i32 noundef %52, i32 noundef %54) #2 br label %61 56: ; preds = %39 %57 = load i32, ptr %1, align 8, !tbaa !15 %58 = getelementptr inbounds %struct.ethtool_pauseparam, ptr %1, i64 0, i32 1 %59 = load i32, ptr %58, align 4, !tbaa !16 %60 = tail call i32 @set_flow_ctrl(ptr noundef nonnull %6, i32 noundef %57, i32 noundef %59) #2 br label %61 61: ; preds = %46, %56, %37 %62 = tail call i32 @mutex_unlock(ptr noundef nonnull %5) #2 ret i32 0 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @sw_cfg(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @port_set_link_speed(ptr noundef) local_unnamed_addr #1 declare i32 @set_flow_ctrl(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, !12, i64 16} !6 = !{!"dev_priv", !7, i64 0, !12, i64 16} !7 = !{!"ksz_port", !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 = !{!"any pointer", !9, i64 0} !13 = !{!14, !8, i64 8} !14 = !{!"ethtool_pauseparam", !11, i64 0, !11, i64 4, !8, i64 8} !15 = !{!14, !11, i64 0} !16 = !{!14, !11, i64 4} !17 = !{!11, !11, i64 0} !18 = !{!7, !11, i64 8} !19 = !{!20, !11, i64 8} !20 = !{!"ksz_hw", !8, i64 0, !11, i64 8} !21 = !{!7, !8, i64 0} !22 = !{!20, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/micrel/extr_ksz884x.c_netdev_set_pauseparam.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/micrel/extr_ksz884x.c_netdev_set_pauseparam.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PHY_NO_FLOW_CTRL = common local_unnamed_addr global i32 0, align 4 @PHY_FLOW_CTRL = common local_unnamed_addr global i32 0, align 4 @PAUSE_FLOW_CTRL = common local_unnamed_addr global i32 0, align 4 @KS8842_SWITCH_CTRL_1_OFFSET = common local_unnamed_addr global i32 0, align 4 @SWITCH_RX_FLOW_CTRL = common local_unnamed_addr global i32 0, align 4 @SWITCH_TX_FLOW_CTRL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @netdev_set_pauseparam], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @netdev_set_pauseparam(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 %4 = getelementptr inbounds i8, ptr %3, i64 16 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %5, i64 8 %7 = tail call i32 @mutex_lock(ptr noundef %5) #2 %8 = getelementptr inbounds i8, ptr %1, i64 8 %9 = load i64, ptr %8, align 8, !tbaa !14 %10 = icmp eq i64 %9, 0 br i1 %10, label %39, label %11 11: ; preds = %2 %12 = load i32, ptr %1, align 8, !tbaa !16 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %11 %15 = getelementptr inbounds i8, ptr %1, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !17 %17 = icmp eq i32 %16, 0 br i1 %17, label %19, label %18 18: ; preds = %14, %11 br label %19 19: ; preds = %14, %18 %20 = phi ptr [ @PHY_FLOW_CTRL, %18 ], [ @PHY_NO_FLOW_CTRL, %14 ] %21 = load i32, ptr %20, align 4, !tbaa !18 %22 = getelementptr inbounds i8, ptr %3, i64 8 store i32 %21, ptr %22, align 8, !tbaa !19 %23 = load i32, ptr @PAUSE_FLOW_CTRL, align 4, !tbaa !18 %24 = xor i32 %23, -1 %25 = getelementptr inbounds i8, ptr %5, i64 16 %26 = load i32, ptr %25, align 8, !tbaa !20 %27 = and i32 %26, %24 store i32 %27, ptr %25, align 8, !tbaa !20 store i64 0, ptr %3, align 8, !tbaa !22 %28 = load i64, ptr %6, align 8, !tbaa !23 %29 = icmp eq i64 %28, 0 br i1 %29, label %37, label %30 30: ; preds = %19 %31 = load i32, ptr @KS8842_SWITCH_CTRL_1_OFFSET, align 4, !tbaa !18 %32 = load i32, ptr @SWITCH_RX_FLOW_CTRL, align 4, !tbaa !18 %33 = tail call i32 @sw_cfg(ptr noundef nonnull %6, i32 noundef %31, i32 noundef %32, i32 noundef 1) #2 %34 = load i32, ptr @KS8842_SWITCH_CTRL_1_OFFSET, align 4, !tbaa !18 %35 = load i32, ptr @SWITCH_TX_FLOW_CTRL, align 4, !tbaa !18 %36 = tail call i32 @sw_cfg(ptr noundef nonnull %6, i32 noundef %34, i32 noundef %35, i32 noundef 1) #2 br label %37 37: ; preds = %30, %19 %38 = tail call i32 @port_set_link_speed(ptr noundef nonnull %3) #2 br label %61 39: ; preds = %2 %40 = load i32, ptr @PAUSE_FLOW_CTRL, align 4, !tbaa !18 %41 = getelementptr inbounds i8, ptr %5, i64 16 %42 = load i32, ptr %41, align 8, !tbaa !20 %43 = or i32 %42, %40 store i32 %43, ptr %41, align 8, !tbaa !20 %44 = load i64, ptr %6, align 8, !tbaa !23 %45 = icmp eq i64 %44, 0 br i1 %45, label %56, label %46 46: ; preds = %39 %47 = load i32, ptr @KS8842_SWITCH_CTRL_1_OFFSET, align 4, !tbaa !18 %48 = load i32, ptr @SWITCH_RX_FLOW_CTRL, align 4, !tbaa !18 %49 = load i32, ptr %1, align 8, !tbaa !16 %50 = tail call i32 @sw_cfg(ptr noundef nonnull %6, i32 noundef %47, i32 noundef %48, i32 noundef %49) #2 %51 = load i32, ptr @KS8842_SWITCH_CTRL_1_OFFSET, align 4, !tbaa !18 %52 = load i32, ptr @SWITCH_TX_FLOW_CTRL, align 4, !tbaa !18 %53 = getelementptr inbounds i8, ptr %1, i64 4 %54 = load i32, ptr %53, align 4, !tbaa !17 %55 = tail call i32 @sw_cfg(ptr noundef nonnull %6, i32 noundef %51, i32 noundef %52, i32 noundef %54) #2 br label %61 56: ; preds = %39 %57 = load i32, ptr %1, align 8, !tbaa !16 %58 = getelementptr inbounds i8, ptr %1, i64 4 %59 = load i32, ptr %58, align 4, !tbaa !17 %60 = tail call i32 @set_flow_ctrl(ptr noundef nonnull %6, i32 noundef %57, i32 noundef %59) #2 br label %61 61: ; preds = %46, %56, %37 %62 = tail call i32 @mutex_unlock(ptr noundef nonnull %5) #2 ret i32 0 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @sw_cfg(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @port_set_link_speed(ptr noundef) local_unnamed_addr #1 declare i32 @set_flow_ctrl(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, !13, i64 16} !7 = !{!"dev_priv", !8, i64 0, !13, i64 16} !8 = !{!"ksz_port", !9, i64 0, !12, i64 8} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"int", !10, i64 0} !13 = !{!"any pointer", !10, i64 0} !14 = !{!15, !9, i64 8} !15 = !{!"ethtool_pauseparam", !12, i64 0, !12, i64 4, !9, i64 8} !16 = !{!15, !12, i64 0} !17 = !{!15, !12, i64 4} !18 = !{!12, !12, i64 0} !19 = !{!8, !12, i64 8} !20 = !{!21, !12, i64 8} !21 = !{!"ksz_hw", !9, i64 0, !12, i64 8} !22 = !{!8, !9, i64 0} !23 = !{!21, !9, i64 0}
linux_drivers_net_ethernet_micrel_extr_ksz884x.c_netdev_set_pauseparam
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_avfilter.c_ff_outlink_get_status.c' source_filename = "AnghaBench/FFmpeg/libavfilter/extr_avfilter.c_ff_outlink_get_status.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local i32 @ff_outlink_get_status(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_avfilter.c_ff_outlink_get_status.c' source_filename = "AnghaBench/FFmpeg/libavfilter/extr_avfilter.c_ff_outlink_get_status.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: read) uwtable(sync) define i32 @ff_outlink_get_status(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
FFmpeg_libavfilter_extr_avfilter.c_ff_outlink_get_status
; ModuleID = 'AnghaBench/linux/arch/mips/ath25/extr_ar5312.h_ar5312_arch_init_irq.c' source_filename = "AnghaBench/linux/arch/mips/ath25/extr_ar5312.h_ar5312_arch_init_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @ar5312_arch_init_irq], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @ar5312_arch_init_irq() #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/arch/mips/ath25/extr_ar5312.h_ar5312_arch_init_irq.c' source_filename = "AnghaBench/linux/arch/mips/ath25/extr_ar5312.h_ar5312_arch_init_irq.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 @ar5312_arch_init_irq], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @ar5312_arch_init_irq() #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_arch_mips_ath25_extr_ar5312.h_ar5312_arch_init_irq
; ModuleID = 'AnghaBench/reactos/dll/win32/msg711.acm/extr_msg711.c_cvtXX16alawK.c' source_filename = "AnghaBench/reactos/dll/win32/msg711.acm/extr_msg711.c_cvtXX16alawK.c" target datalayout = "e-m:e-p270:32:32-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 @cvtXX16alawK], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @cvtXX16alawK(i32 %0, ptr noundef %1, ptr nocapture noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef %4) #0 { %6 = load i32, ptr %2, align 4, !tbaa !5 %7 = sdiv i32 %6, 2 %8 = load i32, ptr %4, align 4, !tbaa !5 %9 = tail call i32 @min(i32 noundef %7, i32 noundef %8) #2 %10 = shl nsw i32 %9, 1 store i32 %10, ptr %2, align 4, !tbaa !5 store i32 %9, ptr %4, align 4, !tbaa !5 %11 = icmp sgt i32 %9, 0 br i1 %11, label %12, label %23 12: ; preds = %5, %12 %13 = phi i32 [ %21, %12 ], [ 0, %5 ] %14 = phi ptr [ %20, %12 ], [ %1, %5 ] %15 = phi ptr [ %19, %12 ], [ %3, %5 ] %16 = tail call i32 @R16(ptr noundef %14) #2 %17 = tail call i32 @linear2alaw(i32 noundef %16) #2 %18 = trunc i32 %17 to i8 %19 = getelementptr inbounds i8, ptr %15, i64 1 store i8 %18, ptr %15, align 1, !tbaa !9 %20 = getelementptr inbounds i8, ptr %14, i64 2 %21 = add nuw nsw i32 %13, 1 %22 = icmp eq i32 %21, %9 br i1 %22, label %23, label %12, !llvm.loop !10 23: ; preds = %12, %5 ret void } declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @linear2alaw(i32 noundef) local_unnamed_addr #1 declare i32 @R16(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 = !{!7, !7, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/reactos/dll/win32/msg711.acm/extr_msg711.c_cvtXX16alawK.c' source_filename = "AnghaBench/reactos/dll/win32/msg711.acm/extr_msg711.c_cvtXX16alawK.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 @cvtXX16alawK], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @cvtXX16alawK(i32 %0, ptr noundef %1, ptr nocapture noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef %4) #0 { %6 = load i32, ptr %2, align 4, !tbaa !6 %7 = sdiv i32 %6, 2 %8 = load i32, ptr %4, align 4, !tbaa !6 %9 = tail call i32 @min(i32 noundef %7, i32 noundef %8) #2 %10 = shl nsw i32 %9, 1 store i32 %10, ptr %2, align 4, !tbaa !6 store i32 %9, ptr %4, align 4, !tbaa !6 %11 = icmp sgt i32 %9, 0 br i1 %11, label %12, label %23 12: ; preds = %5, %12 %13 = phi i32 [ %21, %12 ], [ 0, %5 ] %14 = phi ptr [ %20, %12 ], [ %1, %5 ] %15 = phi ptr [ %19, %12 ], [ %3, %5 ] %16 = tail call i32 @R16(ptr noundef %14) #2 %17 = tail call i32 @linear2alaw(i32 noundef %16) #2 %18 = trunc i32 %17 to i8 %19 = getelementptr inbounds i8, ptr %15, i64 1 store i8 %18, ptr %15, align 1, !tbaa !10 %20 = getelementptr inbounds i8, ptr %14, i64 2 %21 = add nuw nsw i32 %13, 1 %22 = icmp eq i32 %21, %9 br i1 %22, label %23, label %12, !llvm.loop !11 23: ; preds = %12, %5 ret void } declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @linear2alaw(i32 noundef) local_unnamed_addr #1 declare i32 @R16(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 = !{!8, !8, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
reactos_dll_win32_msg711.acm_extr_msg711.c_cvtXX16alawK
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_df-problems.c_df_urec_add_problem.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_df-problems.c_df_urec_add_problem.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @problem_UREC = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @df_urec_add_problem(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @df_add_problem(ptr noundef %0, ptr noundef nonnull @problem_UREC, i32 noundef %1) #2 ret ptr %3 } declare ptr @df_add_problem(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_df-problems.c_df_urec_add_problem.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_df-problems.c_df_urec_add_problem.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @problem_UREC = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @df_urec_add_problem(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @df_add_problem(ptr noundef %0, ptr noundef nonnull @problem_UREC, i32 noundef %1) #2 ret ptr %3 } declare ptr @df_add_problem(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)"}
freebsd_contrib_gcc_extr_df-problems.c_df_urec_add_problem
; ModuleID = 'AnghaBench/linux/drivers/clk/axs10x/extr_pll_clock.c_axs10x_pll_clk_probe.c' source_filename = "AnghaBench/linux/drivers/clk/axs10x/extr_pll_clock.c_axs10x_pll_clk_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.clk_init_data = type { ptr, i32, i32, ptr } %struct.axs10x_pll_clk = type { %struct.TYPE_6__, i32, ptr, ptr, ptr } %struct.TYPE_6__ = type { ptr } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @IORESOURCE_MEM = dso_local local_unnamed_addr global i32 0, align 4 @axs10x_pll_ops = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"No OF match data provided\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"failed to register %s clock\0A\00", align 1 @of_clk_hw_simple_get = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @axs10x_pll_clk_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @axs10x_pll_clk_probe(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.clk_init_data, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3 %4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %5 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 40, i32 noundef %4) #3 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %1 %8 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 br label %55 10: ; preds = %1 %11 = load i32, ptr @IORESOURCE_MEM, align 4, !tbaa !5 %12 = tail call ptr @platform_get_resource(ptr noundef %0, i32 noundef %11, i32 noundef 0) #3 %13 = tail call ptr @devm_ioremap_resource(ptr noundef %0, ptr noundef %12) #3 %14 = getelementptr inbounds %struct.axs10x_pll_clk, ptr %5, i64 0, i32 4 store ptr %13, ptr %14, align 8, !tbaa !9 %15 = tail call i64 @IS_ERR(ptr noundef %13) #3 %16 = icmp eq i64 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %10 %18 = load ptr, ptr %14, align 8, !tbaa !9 %19 = tail call i32 @PTR_ERR(ptr noundef %18) #3 br label %55 20: ; preds = %10 %21 = load i32, ptr @IORESOURCE_MEM, align 4, !tbaa !5 %22 = tail call ptr @platform_get_resource(ptr noundef %0, i32 noundef %21, i32 noundef 1) #3 %23 = tail call ptr @devm_ioremap_resource(ptr noundef %0, ptr noundef %22) #3 %24 = getelementptr inbounds %struct.axs10x_pll_clk, ptr %5, i64 0, i32 3 store ptr %23, ptr %24, align 8, !tbaa !13 %25 = tail call i64 @IS_ERR(ptr noundef %23) #3 %26 = icmp eq i64 %25, 0 br i1 %26, label %30, label %27 27: ; preds = %20 %28 = load ptr, ptr %24, align 8, !tbaa !13 %29 = tail call i32 @PTR_ERR(ptr noundef %28) #3 br label %55 30: ; preds = %20 %31 = load ptr, ptr %0, align 8, !tbaa !14 %32 = load i32, ptr %31, align 4, !tbaa !16 %33 = getelementptr inbounds %struct.clk_init_data, ptr %3, i64 0, i32 2 store i32 %32, ptr %33, align 4, !tbaa !18 %34 = getelementptr inbounds %struct.clk_init_data, ptr %3, i64 0, i32 3 store ptr @axs10x_pll_ops, ptr %34, align 8, !tbaa !20 %35 = tail call ptr @of_clk_get_parent_name(ptr noundef nonnull %31, i32 noundef 0) #3 store ptr %35, ptr %2, align 8, !tbaa !21 store ptr %2, ptr %3, align 8, !tbaa !22 %36 = getelementptr inbounds %struct.clk_init_data, ptr %3, i64 0, i32 1 store i32 1, ptr %36, align 8, !tbaa !23 store ptr %3, ptr %5, align 8, !tbaa !24 %37 = getelementptr inbounds %struct.axs10x_pll_clk, ptr %5, i64 0, i32 2 store ptr %0, ptr %37, align 8, !tbaa !25 %38 = call i32 @of_device_get_match_data(ptr noundef nonnull %0) #3 %39 = getelementptr inbounds %struct.axs10x_pll_clk, ptr %5, i64 0, i32 1 store i32 %38, ptr %39, align 8, !tbaa !26 %40 = icmp eq i32 %38, 0 br i1 %40, label %41, label %45 41: ; preds = %30 %42 = call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str) #3 %43 = load i32, ptr @EINVAL, align 4, !tbaa !5 %44 = sub nsw i32 0, %43 br label %55 45: ; preds = %30 %46 = call i32 @devm_clk_hw_register(ptr noundef nonnull %0, ptr noundef nonnull %5) #3 %47 = icmp eq i32 %46, 0 br i1 %47, label %51, label %48 48: ; preds = %45 %49 = load i32, ptr %33, align 4, !tbaa !18 %50 = call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %49) #3 br label %55 51: ; preds = %45 %52 = load ptr, ptr %0, align 8, !tbaa !14 %53 = load i32, ptr @of_clk_hw_simple_get, align 4, !tbaa !5 %54 = call i32 @of_clk_add_hw_provider(ptr noundef %52, i32 noundef %53, ptr noundef nonnull %5) #3 br label %55 55: ; preds = %51, %48, %41, %27, %17, %7 %56 = phi i32 [ %19, %17 ], [ %29, %27 ], [ %46, %48 ], [ %54, %51 ], [ %44, %41 ], [ %9, %7 ] call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %56 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @platform_get_resource(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @devm_ioremap_resource(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2 declare ptr @of_clk_get_parent_name(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @of_device_get_match_data(ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @devm_clk_hw_register(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @of_clk_add_hw_provider(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 32} !10 = !{!"axs10x_pll_clk", !11, i64 0, !6, i64 8, !12, i64 16, !12, i64 24, !12, i64 32} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !12, i64 24} !14 = !{!15, !12, i64 0} !15 = !{!"device", !12, i64 0} !16 = !{!17, !6, i64 0} !17 = !{!"TYPE_5__", !6, i64 0} !18 = !{!19, !6, i64 12} !19 = !{!"clk_init_data", !12, i64 0, !6, i64 8, !6, i64 12, !12, i64 16} !20 = !{!19, !12, i64 16} !21 = !{!12, !12, i64 0} !22 = !{!19, !12, i64 0} !23 = !{!19, !6, i64 8} !24 = !{!10, !12, i64 0} !25 = !{!10, !12, i64 16} !26 = !{!10, !6, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/clk/axs10x/extr_pll_clock.c_axs10x_pll_clk_probe.c' source_filename = "AnghaBench/linux/drivers/clk/axs10x/extr_pll_clock.c_axs10x_pll_clk_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.clk_init_data = type { ptr, i32, i32, ptr } @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @IORESOURCE_MEM = common local_unnamed_addr global i32 0, align 4 @axs10x_pll_ops = common global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"No OF match data provided\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"failed to register %s clock\0A\00", align 1 @of_clk_hw_simple_get = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @axs10x_pll_clk_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @axs10x_pll_clk_probe(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.clk_init_data, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3 %4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %5 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 40, i32 noundef %4) #3 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %1 %8 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 br label %55 10: ; preds = %1 %11 = load i32, ptr @IORESOURCE_MEM, align 4, !tbaa !6 %12 = tail call ptr @platform_get_resource(ptr noundef %0, i32 noundef %11, i32 noundef 0) #3 %13 = tail call ptr @devm_ioremap_resource(ptr noundef %0, ptr noundef %12) #3 %14 = getelementptr inbounds i8, ptr %5, i64 32 store ptr %13, ptr %14, align 8, !tbaa !10 %15 = tail call i64 @IS_ERR(ptr noundef %13) #3 %16 = icmp eq i64 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %10 %18 = load ptr, ptr %14, align 8, !tbaa !10 %19 = tail call i32 @PTR_ERR(ptr noundef %18) #3 br label %55 20: ; preds = %10 %21 = load i32, ptr @IORESOURCE_MEM, align 4, !tbaa !6 %22 = tail call ptr @platform_get_resource(ptr noundef %0, i32 noundef %21, i32 noundef 1) #3 %23 = tail call ptr @devm_ioremap_resource(ptr noundef %0, ptr noundef %22) #3 %24 = getelementptr inbounds i8, ptr %5, i64 24 store ptr %23, ptr %24, align 8, !tbaa !14 %25 = tail call i64 @IS_ERR(ptr noundef %23) #3 %26 = icmp eq i64 %25, 0 br i1 %26, label %30, label %27 27: ; preds = %20 %28 = load ptr, ptr %24, align 8, !tbaa !14 %29 = tail call i32 @PTR_ERR(ptr noundef %28) #3 br label %55 30: ; preds = %20 %31 = load ptr, ptr %0, align 8, !tbaa !15 %32 = load i32, ptr %31, align 4, !tbaa !17 %33 = getelementptr inbounds i8, ptr %3, i64 12 store i32 %32, ptr %33, align 4, !tbaa !19 %34 = getelementptr inbounds i8, ptr %3, i64 16 store ptr @axs10x_pll_ops, ptr %34, align 8, !tbaa !21 %35 = tail call ptr @of_clk_get_parent_name(ptr noundef nonnull %31, i32 noundef 0) #3 store ptr %35, ptr %2, align 8, !tbaa !22 store ptr %2, ptr %3, align 8, !tbaa !23 %36 = getelementptr inbounds i8, ptr %3, i64 8 store i32 1, ptr %36, align 8, !tbaa !24 store ptr %3, ptr %5, align 8, !tbaa !25 %37 = getelementptr inbounds i8, ptr %5, i64 16 store ptr %0, ptr %37, align 8, !tbaa !26 %38 = call i32 @of_device_get_match_data(ptr noundef nonnull %0) #3 %39 = getelementptr inbounds i8, ptr %5, i64 8 store i32 %38, ptr %39, align 8, !tbaa !27 %40 = icmp eq i32 %38, 0 br i1 %40, label %41, label %45 41: ; preds = %30 %42 = call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str) #3 %43 = load i32, ptr @EINVAL, align 4, !tbaa !6 %44 = sub nsw i32 0, %43 br label %55 45: ; preds = %30 %46 = call i32 @devm_clk_hw_register(ptr noundef nonnull %0, ptr noundef nonnull %5) #3 %47 = icmp eq i32 %46, 0 br i1 %47, label %51, label %48 48: ; preds = %45 %49 = load i32, ptr %33, align 4, !tbaa !19 %50 = call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %49) #3 br label %55 51: ; preds = %45 %52 = load ptr, ptr %0, align 8, !tbaa !15 %53 = load i32, ptr @of_clk_hw_simple_get, align 4, !tbaa !6 %54 = call i32 @of_clk_add_hw_provider(ptr noundef %52, i32 noundef %53, ptr noundef nonnull %5) #3 br label %55 55: ; preds = %51, %48, %41, %27, %17, %7 %56 = phi i32 [ %19, %17 ], [ %29, %27 ], [ %46, %48 ], [ %54, %51 ], [ %44, %41 ], [ %9, %7 ] call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %56 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @platform_get_resource(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @devm_ioremap_resource(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2 declare ptr @of_clk_get_parent_name(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @of_device_get_match_data(ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @devm_clk_hw_register(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @of_clk_add_hw_provider(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 32} !11 = !{!"axs10x_pll_clk", !12, i64 0, !7, i64 8, !13, i64 16, !13, i64 24, !13, i64 32} !12 = !{!"TYPE_6__", !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !13, i64 24} !15 = !{!16, !13, i64 0} !16 = !{!"device", !13, i64 0} !17 = !{!18, !7, i64 0} !18 = !{!"TYPE_5__", !7, i64 0} !19 = !{!20, !7, i64 12} !20 = !{!"clk_init_data", !13, i64 0, !7, i64 8, !7, i64 12, !13, i64 16} !21 = !{!20, !13, i64 16} !22 = !{!13, !13, i64 0} !23 = !{!20, !13, i64 0} !24 = !{!20, !7, i64 8} !25 = !{!11, !13, i64 0} !26 = !{!11, !13, i64 16} !27 = !{!11, !7, i64 8}
linux_drivers_clk_axs10x_extr_pll_clock.c_axs10x_pll_clk_probe
; ModuleID = 'AnghaBench/freebsd/sys/dev/ciss/extr_ciss.c_ciss_poll_request.c' source_filename = "AnghaBench/freebsd/sys/dev/ciss/extr_ciss.c_ciss_poll_request.c" target datalayout = "e-m:e-p270:32:32-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.ciss_request = type { i32, ptr } @CISS_REQ_POLL = dso_local local_unnamed_addr global i32 0, align 4 @EWOULDBLOCK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ciss_poll_request], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ciss_poll_request(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = tail call i32 @debug_called(i32 noundef 2) #3 %5 = call i32 @STAILQ_INIT(ptr noundef nonnull %3) #3 %6 = getelementptr inbounds %struct.ciss_request, ptr %0, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = load i32, ptr @CISS_REQ_POLL, align 4, !tbaa !11 %9 = load i32, ptr %0, align 8, !tbaa !12 %10 = or i32 %9, %8 store i32 %10, ptr %0, align 8, !tbaa !12 %11 = call i32 @ciss_start(ptr noundef nonnull %0) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %33 13: ; preds = %2, %27 %14 = phi i32 [ %29, %27 ], [ %1, %2 ] %15 = load i64, ptr %7, align 8, !tbaa !13 %16 = icmp eq i64 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %13 %18 = call i32 @ciss_perf_done(ptr noundef nonnull %7, ptr noundef nonnull %3) #3 br label %21 19: ; preds = %13 %20 = call i32 @ciss_done(ptr noundef nonnull %7, ptr noundef nonnull %3) #3 br label %21 21: ; preds = %19, %17 %22 = call i32 @ciss_complete(ptr noundef nonnull %7, ptr noundef nonnull %3) #3 %23 = load i32, ptr %0, align 8, !tbaa !12 %24 = load i32, ptr @CISS_REQ_POLL, align 4, !tbaa !11 %25 = and i32 %24, %23 %26 = icmp eq i32 %25, 0 br i1 %26, label %33, label %27 27: ; preds = %21 %28 = call i32 @DELAY(i32 noundef 1000) #3 %29 = add nsw i32 %14, -1 %30 = icmp sgt i32 %14, -1 br i1 %30, label %13, label %31, !llvm.loop !16 31: ; preds = %27 %32 = load i32, ptr @EWOULDBLOCK, align 4, !tbaa !11 br label %33 33: ; preds = %21, %2, %31 %34 = phi i32 [ %32, %31 ], [ %11, %2 ], [ 0, %21 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %34 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @debug_called(i32 noundef) local_unnamed_addr #2 declare i32 @STAILQ_INIT(ptr noundef) local_unnamed_addr #2 declare i32 @ciss_start(ptr noundef) local_unnamed_addr #2 declare i32 @ciss_perf_done(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ciss_done(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ciss_complete(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @DELAY(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"ciss_request", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"ciss_softc", !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ciss/extr_ciss.c_ciss_poll_request.c' source_filename = "AnghaBench/freebsd/sys/dev/ciss/extr_ciss.c_ciss_poll_request.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CISS_REQ_POLL = common local_unnamed_addr global i32 0, align 4 @EWOULDBLOCK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ciss_poll_request], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ciss_poll_request(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = tail call i32 @debug_called(i32 noundef 2) #3 %5 = call i32 @STAILQ_INIT(ptr noundef nonnull %3) #3 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = load i32, ptr @CISS_REQ_POLL, align 4, !tbaa !12 %9 = load i32, ptr %0, align 8, !tbaa !13 %10 = or i32 %9, %8 store i32 %10, ptr %0, align 8, !tbaa !13 %11 = call i32 @ciss_start(ptr noundef nonnull %0) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %33 13: ; preds = %2, %27 %14 = phi i32 [ %29, %27 ], [ %1, %2 ] %15 = load i64, ptr %7, align 8, !tbaa !14 %16 = icmp eq i64 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %13 %18 = call i32 @ciss_perf_done(ptr noundef nonnull %7, ptr noundef nonnull %3) #3 br label %21 19: ; preds = %13 %20 = call i32 @ciss_done(ptr noundef nonnull %7, ptr noundef nonnull %3) #3 br label %21 21: ; preds = %19, %17 %22 = call i32 @ciss_complete(ptr noundef nonnull %7, ptr noundef nonnull %3) #3 %23 = load i32, ptr %0, align 8, !tbaa !13 %24 = load i32, ptr @CISS_REQ_POLL, align 4, !tbaa !12 %25 = and i32 %24, %23 %26 = icmp eq i32 %25, 0 br i1 %26, label %33, label %27 27: ; preds = %21 %28 = call i32 @DELAY(i32 noundef 1000) #3 %29 = add nsw i32 %14, -1 %30 = icmp sgt i32 %14, -1 br i1 %30, label %13, label %31, !llvm.loop !17 31: ; preds = %27 %32 = load i32, ptr @EWOULDBLOCK, align 4, !tbaa !12 br label %33 33: ; preds = %21, %2, %31 %34 = phi i32 [ %32, %31 ], [ %11, %2 ], [ 0, %21 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %34 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @debug_called(i32 noundef) local_unnamed_addr #2 declare i32 @STAILQ_INIT(ptr noundef) local_unnamed_addr #2 declare i32 @ciss_start(ptr noundef) local_unnamed_addr #2 declare i32 @ciss_perf_done(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ciss_done(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ciss_complete(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @DELAY(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"ciss_request", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"ciss_softc", !16, i64 0} !16 = !{!"long", !9, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
freebsd_sys_dev_ciss_extr_ciss.c_ciss_poll_request
; ModuleID = 'AnghaBench/RetroArch/audio/drivers/extr_audioio.c_audioio_alive.c' source_filename = "AnghaBench/RetroArch/audio/drivers/extr_audioio.c_audioio_alive.c" target datalayout = "e-m:e-p270:32:32-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.audio_info = type { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @AUDIO_GETINFO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @audioio_alive], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @audioio_alive(ptr nocapture noundef readonly %0) #0 { %2 = alloca %struct.audio_info, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = load i32, ptr @AUDIO_GETINFO, align 4, !tbaa !5 %5 = call i64 @ioctl(i32 noundef %3, i32 noundef %4, ptr noundef nonnull %2) #3 %6 = icmp sgt i64 %5, -1 %7 = load i32, ptr %2, align 4 %8 = icmp eq i32 %7, 0 %9 = select i1 %6, i1 %8, i1 false %10 = zext i1 %9 to i32 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %10 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/RetroArch/audio/drivers/extr_audioio.c_audioio_alive.c' source_filename = "AnghaBench/RetroArch/audio/drivers/extr_audioio.c_audioio_alive.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.audio_info = type { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @AUDIO_GETINFO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @audioio_alive], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @audioio_alive(ptr nocapture noundef readonly %0) #0 { %2 = alloca %struct.audio_info, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = load i32, ptr @AUDIO_GETINFO, align 4, !tbaa !6 %5 = call i64 @ioctl(i32 noundef %3, i32 noundef %4, ptr noundef nonnull %2) #3 %6 = icmp sgt i64 %5, -1 %7 = load i32, ptr %2, align 4 %8 = icmp eq i32 %7, 0 %9 = select i1 %6, i1 %8, i1 false %10 = zext i1 %9 to i32 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %10 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
RetroArch_audio_drivers_extr_audioio.c_audioio_alive
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/alacritech/extr_slicoss.c_slic_load_rcvseq_firmware.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/alacritech/extr_slicoss.c_slic_load_rcvseq_firmware.c" target datalayout = "e-m:e-p270:32:32-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.slic_device = type { i64, ptr } %struct.firmware = type { ptr, ptr } @SLIC_MODEL_OASIS = dso_local local_unnamed_addr global i64 0, align 8 @SLIC_RCV_FIRMWARE_OASIS = dso_local local_unnamed_addr global ptr null, align 8 @SLIC_RCV_FIRMWARE_MOJAVE = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [46 x i8] c"failed to load receive sequencer firmware %s\0A\00", align 1 @SLIC_FIRMWARE_MIN_SIZE = dso_local local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [45 x i8] c"invalid firmware size %zu (min %u expected)\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [41 x i8] c"invalid rcv-sequencer firmware size %zu\0A\00", align 1 @SLIC_REG_RCV_WCS = dso_local local_unnamed_addr global i32 0, align 4 @SLIC_RCVWCS_BEGIN = dso_local local_unnamed_addr global ptr null, align 8 @SLIC_RCVWCS_FINISH = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @slic_load_rcvseq_firmware], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @slic_load_rcvseq_firmware(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 store i32 0, ptr %3, align 4, !tbaa !5 %4 = load i64, ptr %0, align 8, !tbaa !9 %5 = load i64, ptr @SLIC_MODEL_OASIS, align 8, !tbaa !13 %6 = icmp eq i64 %4, %5 %7 = load ptr, ptr @SLIC_RCV_FIRMWARE_OASIS, align 8 %8 = load ptr, ptr @SLIC_RCV_FIRMWARE_MOJAVE, align 8 %9 = select i1 %6, ptr %7, ptr %8 %10 = getelementptr inbounds %struct.slic_device, ptr %0, i64 0, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !14 %12 = call i32 @request_firmware(ptr noundef nonnull %2, ptr noundef %9, ptr noundef %11) #3 %13 = icmp eq i32 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %1 %15 = load ptr, ptr %10, align 8, !tbaa !14 %16 = call i32 (ptr, ptr, ptr, ...) @dev_err(ptr noundef %15, ptr noundef nonnull @.str, ptr noundef %9) #3 br label %77 17: ; preds = %1 %18 = load ptr, ptr %2, align 8, !tbaa !15 %19 = load ptr, ptr %18, align 8, !tbaa !16 %20 = load ptr, ptr @SLIC_FIRMWARE_MIN_SIZE, align 8, !tbaa !15 %21 = icmp ult ptr %19, %20 br i1 %21, label %22, label %27 22: ; preds = %17 %23 = load ptr, ptr %10, align 8, !tbaa !14 %24 = call i32 (ptr, ptr, ptr, ...) @dev_err(ptr noundef %23, ptr noundef nonnull @.str.1, ptr noundef %19, ptr noundef nonnull %20) #3 %25 = load i32, ptr @EINVAL, align 4, !tbaa !5 %26 = sub nsw i32 0, %25 br label %73 27: ; preds = %17 %28 = call ptr @slic_read_dword_from_firmware(ptr noundef nonnull %18, ptr noundef nonnull %3) #3 %29 = ptrtoint ptr %28 to i64 %30 = getelementptr inbounds i8, ptr %28, i64 4 %31 = load ptr, ptr %2, align 8, !tbaa !15 %32 = load ptr, ptr %31, align 8, !tbaa !16 %33 = icmp ugt ptr %30, %32 br i1 %33, label %34, label %39 34: ; preds = %27 %35 = load ptr, ptr %10, align 8, !tbaa !14 %36 = call i32 (ptr, ptr, ptr, ...) @dev_err(ptr noundef %35, ptr noundef nonnull @.str.2, ptr noundef %32) #3 %37 = load i32, ptr @EINVAL, align 4, !tbaa !5 %38 = sub nsw i32 0, %37 br label %73 39: ; preds = %27 %40 = load i32, ptr @SLIC_REG_RCV_WCS, align 4, !tbaa !5 %41 = load ptr, ptr @SLIC_RCVWCS_BEGIN, align 8, !tbaa !15 %42 = call i32 @slic_write(ptr noundef nonnull %0, i32 noundef %40, ptr noundef %41) #3 %43 = icmp eq ptr %28, null br i1 %43, label %68, label %44 44: ; preds = %39 %45 = getelementptr i8, ptr null, i64 %29 br label %46 46: ; preds = %44, %46 %47 = phi ptr [ %66, %46 ], [ null, %44 ] %48 = load i32, ptr @SLIC_REG_RCV_WCS, align 4, !tbaa !5 %49 = call i32 @slic_write(ptr noundef nonnull %0, i32 noundef %48, ptr noundef %47) #3 %50 = load ptr, ptr %2, align 8, !tbaa !15 %51 = call ptr @slic_read_dword_from_firmware(ptr noundef %50, ptr noundef nonnull %3) #3 %52 = load i32, ptr @SLIC_REG_RCV_WCS, align 4, !tbaa !5 %53 = call i32 @slic_write(ptr noundef nonnull %0, i32 noundef %52, ptr noundef %51) #3 %54 = load ptr, ptr %2, align 8, !tbaa !15 %55 = getelementptr inbounds %struct.firmware, ptr %54, i64 0, i32 1 %56 = load ptr, ptr %55, align 8, !tbaa !18 %57 = load i32, ptr %3, align 4, !tbaa !5 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i64, ptr %56, i64 %58 %60 = load i64, ptr %59, align 8, !tbaa !13 %61 = call ptr @le32_to_cpu(i64 noundef %60) #3 %62 = load i32, ptr %3, align 4, !tbaa !5 %63 = add nsw i32 %62, 1 store i32 %63, ptr %3, align 4, !tbaa !5 %64 = load i32, ptr @SLIC_REG_RCV_WCS, align 4, !tbaa !5 %65 = call i32 @slic_write(ptr noundef nonnull %0, i32 noundef %64, ptr noundef %61) #3 %66 = getelementptr inbounds i8, ptr %47, i64 1 %67 = icmp eq ptr %66, %45 br i1 %67, label %68, label %46, !llvm.loop !19 68: ; preds = %46, %39 %69 = load i32, ptr @SLIC_REG_RCV_WCS, align 4, !tbaa !5 %70 = load ptr, ptr @SLIC_RCVWCS_FINISH, align 8, !tbaa !15 %71 = call i32 @slic_write(ptr noundef nonnull %0, i32 noundef %69, ptr noundef %70) #3 %72 = call i32 @slic_flush_write(ptr noundef nonnull %0) #3 br label %73 73: ; preds = %68, %34, %22 %74 = phi i32 [ %26, %22 ], [ %38, %34 ], [ 0, %68 ] %75 = load ptr, ptr %2, align 8, !tbaa !15 %76 = call i32 @release_firmware(ptr noundef %75) #3 br label %77 77: ; preds = %73, %14 %78 = phi i32 [ %12, %14 ], [ %74, %73 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %78 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @request_firmware(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare ptr @slic_read_dword_from_firmware(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @slic_write(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @le32_to_cpu(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 declare i32 @slic_flush_write(ptr noundef) local_unnamed_addr #2 declare i32 @release_firmware(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"slic_device", !11, i64 0, !12, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!10, !12, i64 8} !15 = !{!12, !12, i64 0} !16 = !{!17, !12, i64 0} !17 = !{!"firmware", !12, i64 0, !12, i64 8} !18 = !{!17, !12, i64 8} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/alacritech/extr_slicoss.c_slic_load_rcvseq_firmware.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/alacritech/extr_slicoss.c_slic_load_rcvseq_firmware.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SLIC_MODEL_OASIS = common local_unnamed_addr global i64 0, align 8 @SLIC_RCV_FIRMWARE_OASIS = common local_unnamed_addr global ptr null, align 8 @SLIC_RCV_FIRMWARE_MOJAVE = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [46 x i8] c"failed to load receive sequencer firmware %s\0A\00", align 1 @SLIC_FIRMWARE_MIN_SIZE = common local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [45 x i8] c"invalid firmware size %zu (min %u expected)\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [41 x i8] c"invalid rcv-sequencer firmware size %zu\0A\00", align 1 @SLIC_REG_RCV_WCS = common local_unnamed_addr global i32 0, align 4 @SLIC_RCVWCS_BEGIN = common local_unnamed_addr global ptr null, align 8 @SLIC_RCVWCS_FINISH = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @slic_load_rcvseq_firmware], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @slic_load_rcvseq_firmware(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 store i32 0, ptr %3, align 4, !tbaa !6 %4 = load i64, ptr %0, align 8, !tbaa !10 %5 = load i64, ptr @SLIC_MODEL_OASIS, align 8, !tbaa !14 %6 = icmp eq i64 %4, %5 %7 = load ptr, ptr @SLIC_RCV_FIRMWARE_OASIS, align 8 %8 = load ptr, ptr @SLIC_RCV_FIRMWARE_MOJAVE, align 8 %9 = select i1 %6, ptr %7, ptr %8 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !15 %12 = call i32 @request_firmware(ptr noundef nonnull %2, ptr noundef %9, ptr noundef %11) #3 %13 = icmp eq i32 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %1 %15 = load ptr, ptr %10, align 8, !tbaa !15 %16 = call i32 (ptr, ptr, ptr, ...) @dev_err(ptr noundef %15, ptr noundef nonnull @.str, ptr noundef %9) #3 br label %77 17: ; preds = %1 %18 = load ptr, ptr %2, align 8, !tbaa !16 %19 = load ptr, ptr %18, align 8, !tbaa !17 %20 = load ptr, ptr @SLIC_FIRMWARE_MIN_SIZE, align 8, !tbaa !16 %21 = icmp ult ptr %19, %20 br i1 %21, label %22, label %27 22: ; preds = %17 %23 = load ptr, ptr %10, align 8, !tbaa !15 %24 = call i32 (ptr, ptr, ptr, ...) @dev_err(ptr noundef %23, ptr noundef nonnull @.str.1, ptr noundef %19, ptr noundef nonnull %20) #3 %25 = load i32, ptr @EINVAL, align 4, !tbaa !6 %26 = sub nsw i32 0, %25 br label %73 27: ; preds = %17 %28 = call ptr @slic_read_dword_from_firmware(ptr noundef nonnull %18, ptr noundef nonnull %3) #3 %29 = ptrtoint ptr %28 to i64 %30 = getelementptr inbounds i8, ptr %28, i64 4 %31 = load ptr, ptr %2, align 8, !tbaa !16 %32 = load ptr, ptr %31, align 8, !tbaa !17 %33 = icmp ugt ptr %30, %32 br i1 %33, label %34, label %39 34: ; preds = %27 %35 = load ptr, ptr %10, align 8, !tbaa !15 %36 = call i32 (ptr, ptr, ptr, ...) @dev_err(ptr noundef %35, ptr noundef nonnull @.str.2, ptr noundef %32) #3 %37 = load i32, ptr @EINVAL, align 4, !tbaa !6 %38 = sub nsw i32 0, %37 br label %73 39: ; preds = %27 %40 = load i32, ptr @SLIC_REG_RCV_WCS, align 4, !tbaa !6 %41 = load ptr, ptr @SLIC_RCVWCS_BEGIN, align 8, !tbaa !16 %42 = call i32 @slic_write(ptr noundef nonnull %0, i32 noundef %40, ptr noundef %41) #3 %43 = icmp eq ptr %28, null br i1 %43, label %68, label %44 44: ; preds = %39 %45 = getelementptr i8, ptr null, i64 %29 br label %46 46: ; preds = %44, %46 %47 = phi ptr [ %66, %46 ], [ null, %44 ] %48 = load i32, ptr @SLIC_REG_RCV_WCS, align 4, !tbaa !6 %49 = call i32 @slic_write(ptr noundef nonnull %0, i32 noundef %48, ptr noundef %47) #3 %50 = load ptr, ptr %2, align 8, !tbaa !16 %51 = call ptr @slic_read_dword_from_firmware(ptr noundef %50, ptr noundef nonnull %3) #3 %52 = load i32, ptr @SLIC_REG_RCV_WCS, align 4, !tbaa !6 %53 = call i32 @slic_write(ptr noundef nonnull %0, i32 noundef %52, ptr noundef %51) #3 %54 = load ptr, ptr %2, align 8, !tbaa !16 %55 = getelementptr inbounds i8, ptr %54, i64 8 %56 = load ptr, ptr %55, align 8, !tbaa !19 %57 = load i32, ptr %3, align 4, !tbaa !6 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i64, ptr %56, i64 %58 %60 = load i64, ptr %59, align 8, !tbaa !14 %61 = call ptr @le32_to_cpu(i64 noundef %60) #3 %62 = load i32, ptr %3, align 4, !tbaa !6 %63 = add nsw i32 %62, 1 store i32 %63, ptr %3, align 4, !tbaa !6 %64 = load i32, ptr @SLIC_REG_RCV_WCS, align 4, !tbaa !6 %65 = call i32 @slic_write(ptr noundef nonnull %0, i32 noundef %64, ptr noundef %61) #3 %66 = getelementptr inbounds i8, ptr %47, i64 1 %67 = icmp eq ptr %66, %45 br i1 %67, label %68, label %46, !llvm.loop !20 68: ; preds = %46, %39 %69 = load i32, ptr @SLIC_REG_RCV_WCS, align 4, !tbaa !6 %70 = load ptr, ptr @SLIC_RCVWCS_FINISH, align 8, !tbaa !16 %71 = call i32 @slic_write(ptr noundef nonnull %0, i32 noundef %69, ptr noundef %70) #3 %72 = call i32 @slic_flush_write(ptr noundef nonnull %0) #3 br label %73 73: ; preds = %68, %34, %22 %74 = phi i32 [ %26, %22 ], [ %38, %34 ], [ 0, %68 ] %75 = load ptr, ptr %2, align 8, !tbaa !16 %76 = call i32 @release_firmware(ptr noundef %75) #3 br label %77 77: ; preds = %73, %14 %78 = phi i32 [ %12, %14 ], [ %74, %73 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %78 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @request_firmware(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare ptr @slic_read_dword_from_firmware(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @slic_write(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @le32_to_cpu(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 declare i32 @slic_flush_write(ptr noundef) local_unnamed_addr #2 declare i32 @release_firmware(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"slic_device", !12, i64 0, !13, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!11, !13, i64 8} !16 = !{!13, !13, i64 0} !17 = !{!18, !13, i64 0} !18 = !{!"firmware", !13, i64 0, !13, i64 8} !19 = !{!18, !13, i64 8} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_ethernet_alacritech_extr_slicoss.c_slic_load_rcvseq_firmware
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_entry.c_archive_entry_mtime_is_set.c' source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_entry.c_archive_entry_mtime_is_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" @AE_SET_MTIME = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define dso_local i32 @archive_entry_mtime_is_set(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @AE_SET_MTIME, align 4, !tbaa !10 %4 = and i32 %3, %2 ret i32 %4 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"archive_entry", !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/freebsd/contrib/libarchive/libarchive/extr_archive_entry.c_archive_entry_mtime_is_set.c' source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_entry.c_archive_entry_mtime_is_set.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AE_SET_MTIME = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define i32 @archive_entry_mtime_is_set(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @AE_SET_MTIME, align 4, !tbaa !11 %4 = and i32 %3, %2 ret i32 %4 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"archive_entry", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
freebsd_contrib_libarchive_libarchive_extr_archive_entry.c_archive_entry_mtime_is_set
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_ip6_output.c_ip6_pkt_too_big.c' source_filename = "AnghaBench/linux/net/ipv6/extr_ip6_output.c_ip6_pkt_too_big.c" target datalayout = "e-m:e-p270:32:32-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.sk_buff = type { i32, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @ip6_pkt_too_big], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @ip6_pkt_too_big(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = icmp ugt i32 %3, %1 br i1 %4, label %5, label %24 5: ; preds = %2 %6 = tail call ptr @IP6CB(ptr noundef nonnull %0) #2 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = icmp eq i32 %7, 0 br i1 %8, label %13, label %9 9: ; preds = %5 %10 = tail call ptr @IP6CB(ptr noundef nonnull %0) #2 %11 = load i32, ptr %10, align 4, !tbaa !11 %12 = icmp ugt i32 %11, %1 br i1 %12, label %24, label %13 13: ; preds = %9, %5 %14 = getelementptr inbounds %struct.sk_buff, ptr %0, i64 0, i32 1 %15 = load i64, ptr %14, align 8, !tbaa !13 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %24 17: ; preds = %13 %18 = tail call i64 @skb_is_gso(ptr noundef nonnull %0) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %17 %21 = tail call i64 @skb_gso_validate_network_len(ptr noundef nonnull %0, i32 noundef %1) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %20, %17 br label %24 24: ; preds = %20, %13, %9, %2, %23 %25 = phi i32 [ 1, %23 ], [ 0, %2 ], [ 1, %9 ], [ 0, %13 ], [ 0, %20 ] ret i32 %25 } declare ptr @IP6CB(ptr noundef) local_unnamed_addr #1 declare i64 @skb_is_gso(ptr noundef) local_unnamed_addr #1 declare i64 @skb_gso_validate_network_len(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 = !{!"sk_buff", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_2__", !7, i64 0} !13 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_ip6_output.c_ip6_pkt_too_big.c' source_filename = "AnghaBench/linux/net/ipv6/extr_ip6_output.c_ip6_pkt_too_big.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 @ip6_pkt_too_big], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @ip6_pkt_too_big(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = icmp ugt i32 %3, %1 br i1 %4, label %5, label %24 5: ; preds = %2 %6 = tail call ptr @IP6CB(ptr noundef nonnull %0) #2 %7 = load i32, ptr %6, align 4, !tbaa !12 %8 = icmp eq i32 %7, 0 br i1 %8, label %13, label %9 9: ; preds = %5 %10 = tail call ptr @IP6CB(ptr noundef nonnull %0) #2 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = icmp ugt i32 %11, %1 br i1 %12, label %24, label %13 13: ; preds = %9, %5 %14 = getelementptr inbounds i8, ptr %0, i64 8 %15 = load i64, ptr %14, align 8, !tbaa !14 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %24 17: ; preds = %13 %18 = tail call i64 @skb_is_gso(ptr noundef nonnull %0) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %17 %21 = tail call i64 @skb_gso_validate_network_len(ptr noundef nonnull %0, i32 noundef %1) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %20, %17 br label %24 24: ; preds = %20, %13, %9, %2, %23 %25 = phi i32 [ 1, %23 ], [ 0, %2 ], [ 1, %9 ], [ 0, %13 ], [ 0, %20 ] ret i32 %25 } declare ptr @IP6CB(ptr noundef) local_unnamed_addr #1 declare i64 @skb_is_gso(ptr noundef) local_unnamed_addr #1 declare i64 @skb_gso_validate_network_len(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 = !{!"sk_buff", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_2__", !8, i64 0} !14 = !{!7, !11, i64 8}
linux_net_ipv6_extr_ip6_output.c_ip6_pkt_too_big
; ModuleID = 'AnghaBench/linux/fs/btrfs/tests/extr_..ctree.h___btrfs_fs_compat_ro.c' source_filename = "AnghaBench/linux/fs/btrfs/tests/extr_..ctree.h___btrfs_fs_compat_ro.c" target datalayout = "e-m:e-p270:32:32-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 @__btrfs_fs_compat_ro], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @__btrfs_fs_compat_ro(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = tail call i32 @btrfs_super_compat_ro_flags(ptr noundef %3) #2 %5 = and i32 %4, %1 %6 = icmp ne i32 %5, 0 %7 = zext i1 %6 to i32 ret i32 %7 } declare i32 @btrfs_super_compat_ro_flags(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"btrfs_fs_info", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/fs/btrfs/tests/extr_..ctree.h___btrfs_fs_compat_ro.c' source_filename = "AnghaBench/linux/fs/btrfs/tests/extr_..ctree.h___btrfs_fs_compat_ro.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 @__btrfs_fs_compat_ro], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @__btrfs_fs_compat_ro(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = tail call i32 @btrfs_super_compat_ro_flags(ptr noundef %3) #2 %5 = and i32 %4, %1 %6 = icmp ne i32 %5, 0 %7 = zext i1 %6 to i32 ret i32 %7 } declare i32 @btrfs_super_compat_ro_flags(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"btrfs_fs_info", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_fs_btrfs_tests_extr_..ctree.h___btrfs_fs_compat_ro
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/planck/keymaps/cbbrowne/extr_keymap.c_press_key.c' source_filename = "AnghaBench/qmk_firmware/keyboards/planck/keymaps/cbbrowne/extr_keymap.c_press_key.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local void @press_key(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @register_code(i32 noundef %0) #2 %3 = tail call i32 @unregister_code(i32 noundef %0) #2 ret void } declare i32 @register_code(i32 noundef) local_unnamed_addr #1 declare i32 @unregister_code(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/planck/keymaps/cbbrowne/extr_keymap.c_press_key.c' source_filename = "AnghaBench/qmk_firmware/keyboards/planck/keymaps/cbbrowne/extr_keymap.c_press_key.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define void @press_key(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @register_code(i32 noundef %0) #2 %3 = tail call i32 @unregister_code(i32 noundef %0) #2 ret void } declare i32 @register_code(i32 noundef) local_unnamed_addr #1 declare i32 @unregister_code(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)"}
qmk_firmware_keyboards_planck_keymaps_cbbrowne_extr_keymap.c_press_key
; ModuleID = 'AnghaBench/postgres/src/backend/parser/extr_parse_relation.c_parserOpenTable.c' source_filename = "AnghaBench/postgres/src/backend/parser/extr_parse_relation.c_parserOpenTable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i64, i32 } @ERROR = dso_local local_unnamed_addr global i32 0, align 4 @ERRCODE_UNDEFINED_TABLE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"relation \22%s.%s\22 does not exist\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"relation \22%s\22 does not exist\00", align 1 @.str.2 = private unnamed_addr constant [90 x i8] c"There is a WITH item named \22%s\22, but it cannot be referenced from this part of the query.\00", align 1 @.str.3 = private unnamed_addr constant [77 x i8] c"Use WITH RECURSIVE, or re-order the WITH items to remove forward references.\00", align 1 ; Function Attrs: nounwind uwtable define dso_local ptr @parserOpenTable(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2 %6 = load i32, ptr %5, align 8, !tbaa !5 %7 = call i32 @setup_parser_errposition_callback(ptr noundef nonnull %4, ptr noundef %0, i32 noundef %6) #3 %8 = call ptr @table_openrv_extended(ptr noundef %1, i32 noundef %2, i32 noundef 1) #3 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %39 10: ; preds = %3 %11 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1 %12 = load i64, ptr %11, align 8, !tbaa !11 %13 = icmp eq i64 %12, 0 br i1 %13, label %23, label %14 14: ; preds = %10 %15 = load i32, ptr @ERROR, align 4, !tbaa !12 %16 = load i32, ptr @ERRCODE_UNDEFINED_TABLE, align 4, !tbaa !12 %17 = call i32 @errcode(i32 noundef %16) #3 %18 = load i64, ptr %11, align 8, !tbaa !11 %19 = trunc i64 %18 to i32 %20 = load i32, ptr %1, align 8, !tbaa !13 %21 = call i32 (ptr, i32, ...) @errmsg(ptr noundef nonnull @.str, i32 noundef %19, i32 noundef %20) #3 %22 = call i32 @ereport(i32 noundef %15, i32 noundef %21) #3 br label %39 23: ; preds = %10 %24 = load i32, ptr %1, align 8, !tbaa !13 %25 = call i64 @isFutureCTE(ptr noundef %0, i32 noundef %24) #3 %26 = icmp eq i64 %25, 0 %27 = load i32, ptr @ERROR, align 4, !tbaa !12 %28 = load i32, ptr @ERRCODE_UNDEFINED_TABLE, align 4, !tbaa !12 %29 = call i32 @errcode(i32 noundef %28) #3 %30 = load i32, ptr %1, align 8, !tbaa !13 %31 = call i32 (ptr, i32, ...) @errmsg(ptr noundef nonnull @.str.1, i32 noundef %30) #3 br i1 %26, label %37, label %32 32: ; preds = %23 %33 = load i32, ptr %1, align 8, !tbaa !13 %34 = call i32 @errdetail(ptr noundef nonnull @.str.2, i32 noundef %33) #3 %35 = call i32 @errhint(ptr noundef nonnull @.str.3) #3 %36 = call i32 @ereport(i32 noundef %27, i32 noundef %35) #3 br label %39 37: ; preds = %23 %38 = call i32 @ereport(i32 noundef %27, i32 noundef %31) #3 br label %39 39: ; preds = %14, %37, %32, %3 %40 = call i32 @cancel_parser_errposition_callback(ptr noundef nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret ptr %8 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @setup_parser_errposition_callback(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @table_openrv_extended(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @errcode(i32 noundef) local_unnamed_addr #2 declare i32 @errmsg(ptr noundef, i32 noundef, ...) local_unnamed_addr #2 declare i64 @isFutureCTE(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @errdetail(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @errhint(ptr noundef) local_unnamed_addr #2 declare i32 @cancel_parser_errposition_callback(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 = !{!"TYPE_4__", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/postgres/src/backend/parser/extr_parse_relation.c_parserOpenTable.c' source_filename = "AnghaBench/postgres/src/backend/parser/extr_parse_relation.c_parserOpenTable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ERROR = common local_unnamed_addr global i32 0, align 4 @ERRCODE_UNDEFINED_TABLE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"relation \22%s.%s\22 does not exist\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"relation \22%s\22 does not exist\00", align 1 @.str.2 = private unnamed_addr constant [90 x i8] c"There is a WITH item named \22%s\22, but it cannot be referenced from this part of the query.\00", align 1 @.str.3 = private unnamed_addr constant [77 x i8] c"Use WITH RECURSIVE, or re-order the WITH items to remove forward references.\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @parserOpenTable(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = getelementptr inbounds i8, ptr %1, i64 16 %6 = load i32, ptr %5, align 8, !tbaa !6 %7 = call i32 @setup_parser_errposition_callback(ptr noundef nonnull %4, ptr noundef %0, i32 noundef %6) #3 %8 = call ptr @table_openrv_extended(ptr noundef %1, i32 noundef %2, i32 noundef 1) #3 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %39 10: ; preds = %3 %11 = getelementptr inbounds i8, ptr %1, i64 8 %12 = load i64, ptr %11, align 8, !tbaa !12 %13 = icmp eq i64 %12, 0 br i1 %13, label %23, label %14 14: ; preds = %10 %15 = load i32, ptr @ERROR, align 4, !tbaa !13 %16 = load i32, ptr @ERRCODE_UNDEFINED_TABLE, align 4, !tbaa !13 %17 = call i32 @errcode(i32 noundef %16) #3 %18 = load i64, ptr %11, align 8, !tbaa !12 %19 = trunc i64 %18 to i32 %20 = load i32, ptr %1, align 8, !tbaa !14 %21 = call i32 (ptr, i32, ...) @errmsg(ptr noundef nonnull @.str, i32 noundef %19, i32 noundef %20) #3 %22 = call i32 @ereport(i32 noundef %15, i32 noundef %21) #3 br label %39 23: ; preds = %10 %24 = load i32, ptr %1, align 8, !tbaa !14 %25 = call i64 @isFutureCTE(ptr noundef %0, i32 noundef %24) #3 %26 = icmp eq i64 %25, 0 %27 = load i32, ptr @ERROR, align 4, !tbaa !13 %28 = load i32, ptr @ERRCODE_UNDEFINED_TABLE, align 4, !tbaa !13 %29 = call i32 @errcode(i32 noundef %28) #3 %30 = load i32, ptr %1, align 8, !tbaa !14 %31 = call i32 (ptr, i32, ...) @errmsg(ptr noundef nonnull @.str.1, i32 noundef %30) #3 br i1 %26, label %37, label %32 32: ; preds = %23 %33 = load i32, ptr %1, align 8, !tbaa !14 %34 = call i32 @errdetail(ptr noundef nonnull @.str.2, i32 noundef %33) #3 %35 = call i32 @errhint(ptr noundef nonnull @.str.3) #3 %36 = call i32 @ereport(i32 noundef %27, i32 noundef %35) #3 br label %39 37: ; preds = %23 %38 = call i32 @ereport(i32 noundef %27, i32 noundef %31) #3 br label %39 39: ; preds = %14, %37, %32, %3 %40 = call i32 @cancel_parser_errposition_callback(ptr noundef nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret ptr %8 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @setup_parser_errposition_callback(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @table_openrv_extended(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @errcode(i32 noundef) local_unnamed_addr #2 declare i32 @errmsg(ptr noundef, i32 noundef, ...) local_unnamed_addr #2 declare i64 @isFutureCTE(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @errdetail(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @errhint(ptr noundef) local_unnamed_addr #2 declare i32 @cancel_parser_errposition_callback(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 = !{!"TYPE_4__", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 0}
postgres_src_backend_parser_extr_parse_relation.c_parserOpenTable
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_trx.h_get_rx_desc_buff_addr.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_trx.h_get_rx_desc_buff_addr.c" target datalayout = "e-m:e-p270:32:32-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 @get_rx_desc_buff_addr], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @get_rx_desc_buff_addr(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i32, ptr %0, i64 6 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = tail call i32 @le32_to_cpu(i32 noundef %3) #2 ret i32 %4 } declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_trx.h_get_rx_desc_buff_addr.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_trx.h_get_rx_desc_buff_addr.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_rx_desc_buff_addr], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @get_rx_desc_buff_addr(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 24 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = tail call i32 @le32_to_cpu(i32 noundef %3) #2 ret i32 %4 } declare i32 @le32_to_cpu(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"}
linux_drivers_net_wireless_realtek_rtlwifi_rtl8188ee_extr_trx.h_get_rx_desc_buff_addr
; ModuleID = 'AnghaBench/freebsd/sys/dev/vmware/vmxnet3/extr_if_vmx.c_vmxnet3_enable_intr.c' source_filename = "AnghaBench/freebsd/sys/dev/vmware/vmxnet3/extr_if_vmx.c_vmxnet3_enable_intr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @vmxnet3_enable_intr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @vmxnet3_enable_intr(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @VMXNET3_BAR0_IMASK(i32 noundef %1) #2 %4 = tail call i32 @vmxnet3_write_bar0(ptr noundef %0, i32 noundef %3, i32 noundef 0) #2 ret void } declare i32 @vmxnet3_write_bar0(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @VMXNET3_BAR0_IMASK(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/vmware/vmxnet3/extr_if_vmx.c_vmxnet3_enable_intr.c' source_filename = "AnghaBench/freebsd/sys/dev/vmware/vmxnet3/extr_if_vmx.c_vmxnet3_enable_intr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @vmxnet3_enable_intr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @vmxnet3_enable_intr(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @VMXNET3_BAR0_IMASK(i32 noundef %1) #2 %4 = tail call i32 @vmxnet3_write_bar0(ptr noundef %0, i32 noundef %3, i32 noundef 0) #2 ret void } declare i32 @vmxnet3_write_bar0(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @VMXNET3_BAR0_IMASK(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)"}
freebsd_sys_dev_vmware_vmxnet3_extr_if_vmx.c_vmxnet3_enable_intr
; ModuleID = 'AnghaBench/linux/drivers/parport/extr_parport_gsc.h_parport_gsc_disable_irq.c' source_filename = "AnghaBench/linux/drivers/parport/extr_parport_gsc.h_parport_gsc_disable_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @parport_gsc_disable_irq], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @parport_gsc_disable_irq(ptr noundef %0) #0 { %2 = tail call i32 @__parport_gsc_frob_control(ptr noundef %0, i32 noundef 16, i32 noundef 0) #2 ret void } declare i32 @__parport_gsc_frob_control(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/parport/extr_parport_gsc.h_parport_gsc_disable_irq.c' source_filename = "AnghaBench/linux/drivers/parport/extr_parport_gsc.h_parport_gsc_disable_irq.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 @parport_gsc_disable_irq], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @parport_gsc_disable_irq(ptr noundef %0) #0 { %2 = tail call i32 @__parport_gsc_frob_control(ptr noundef %0, i32 noundef 16, i32 noundef 0) #2 ret void } declare i32 @__parport_gsc_frob_control(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_parport_extr_parport_gsc.h_parport_gsc_disable_irq
; ModuleID = 'AnghaBench/libevent/extr_bufferevent_openssl.c_bio_bufferevent_write.c' source_filename = "AnghaBench/libevent/extr_bufferevent_openssl.c_bio_bufferevent_write.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @bio_bufferevent_write], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @bio_bufferevent_write(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @BIO_get_data(ptr noundef %0) #2 %5 = tail call i32 @BIO_clear_retry_flags(ptr noundef %0) #2 %6 = tail call ptr @BIO_get_data(ptr noundef %0) #2 %7 = icmp eq ptr %6, null br i1 %7, label %30, label %8 8: ; preds = %3 %9 = tail call ptr @bufferevent_get_output(ptr noundef %4) #2 %10 = tail call i64 @evbuffer_get_length(ptr noundef %9) #2 %11 = load i64, ptr %4, align 8, !tbaa !5 %12 = icmp eq i64 %11, 0 br i1 %12, label %24, label %13 13: ; preds = %8 %14 = sext i32 %2 to i64 %15 = add i64 %10, %14 %16 = icmp ugt i64 %11, %15 br i1 %16, label %24, label %17 17: ; preds = %13 %18 = icmp ugt i64 %11, %10 br i1 %18, label %21, label %19 19: ; preds = %17 %20 = tail call i32 @BIO_set_retry_write(ptr noundef %0) #2 br label %30 21: ; preds = %17 %22 = sub i64 %11, %10 %23 = trunc i64 %22 to i32 br label %24 24: ; preds = %21, %13, %8 %25 = phi i32 [ %23, %21 ], [ %2, %13 ], [ %2, %8 ] %26 = icmp sgt i32 %25, 0 %27 = zext i1 %26 to i32 %28 = tail call i32 @EVUTIL_ASSERT(i32 noundef %27) #2 %29 = tail call i32 @evbuffer_add(ptr noundef %9, ptr noundef %1, i32 noundef %25) #2 br label %30 30: ; preds = %3, %24, %19 %31 = phi i32 [ -1, %19 ], [ %25, %24 ], [ -1, %3 ] ret i32 %31 } declare ptr @BIO_get_data(ptr noundef) local_unnamed_addr #1 declare i32 @BIO_clear_retry_flags(ptr noundef) local_unnamed_addr #1 declare ptr @bufferevent_get_output(ptr noundef) local_unnamed_addr #1 declare i64 @evbuffer_get_length(ptr noundef) local_unnamed_addr #1 declare i32 @BIO_set_retry_write(ptr noundef) local_unnamed_addr #1 declare i32 @EVUTIL_ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @evbuffer_add(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, !8, i64 0} !6 = !{!"bufferevent", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/libevent/extr_bufferevent_openssl.c_bio_bufferevent_write.c' source_filename = "AnghaBench/libevent/extr_bufferevent_openssl.c_bio_bufferevent_write.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 @bio_bufferevent_write], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @bio_bufferevent_write(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @BIO_get_data(ptr noundef %0) #2 %5 = tail call i32 @BIO_clear_retry_flags(ptr noundef %0) #2 %6 = tail call ptr @BIO_get_data(ptr noundef %0) #2 %7 = icmp eq ptr %6, null br i1 %7, label %30, label %8 8: ; preds = %3 %9 = tail call ptr @bufferevent_get_output(ptr noundef %4) #2 %10 = tail call i64 @evbuffer_get_length(ptr noundef %9) #2 %11 = load i64, ptr %4, align 8, !tbaa !6 %12 = icmp eq i64 %11, 0 br i1 %12, label %24, label %13 13: ; preds = %8 %14 = sext i32 %2 to i64 %15 = add i64 %10, %14 %16 = icmp ugt i64 %11, %15 br i1 %16, label %24, label %17 17: ; preds = %13 %18 = icmp ugt i64 %11, %10 br i1 %18, label %21, label %19 19: ; preds = %17 %20 = tail call i32 @BIO_set_retry_write(ptr noundef %0) #2 br label %30 21: ; preds = %17 %22 = sub i64 %11, %10 %23 = trunc i64 %22 to i32 br label %24 24: ; preds = %21, %13, %8 %25 = phi i32 [ %23, %21 ], [ %2, %13 ], [ %2, %8 ] %26 = icmp sgt i32 %25, 0 %27 = zext i1 %26 to i32 %28 = tail call i32 @EVUTIL_ASSERT(i32 noundef %27) #2 %29 = tail call i32 @evbuffer_add(ptr noundef %9, ptr noundef %1, i32 noundef %25) #2 br label %30 30: ; preds = %3, %24, %19 %31 = phi i32 [ -1, %19 ], [ %25, %24 ], [ -1, %3 ] ret i32 %31 } declare ptr @BIO_get_data(ptr noundef) local_unnamed_addr #1 declare i32 @BIO_clear_retry_flags(ptr noundef) local_unnamed_addr #1 declare ptr @bufferevent_get_output(ptr noundef) local_unnamed_addr #1 declare i64 @evbuffer_get_length(ptr noundef) local_unnamed_addr #1 declare i32 @BIO_set_retry_write(ptr noundef) local_unnamed_addr #1 declare i32 @EVUTIL_ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @evbuffer_add(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, !9, i64 0} !7 = !{!"bufferevent", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
libevent_extr_bufferevent_openssl.c_bio_bufferevent_write
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-eh.c_ata_err_string.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-eh.c_ata_err_string.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AC_ERR_HOST_BUS = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"host bus error\00", align 1 @AC_ERR_ATA_BUS = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"ATA bus error\00", align 1 @AC_ERR_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [8 x i8] c"timeout\00", align 1 @AC_ERR_HSM = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [14 x i8] c"HSM violation\00", align 1 @AC_ERR_SYSTEM = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [15 x i8] c"internal error\00", align 1 @AC_ERR_MEDIA = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [12 x i8] c"media error\00", align 1 @AC_ERR_INVALID = dso_local local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [17 x i8] c"invalid argument\00", align 1 @AC_ERR_DEV = dso_local local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [13 x i8] c"device error\00", align 1 @.str.8 = private unnamed_addr constant [14 x i8] c"unknown error\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ata_err_string], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal nonnull ptr @ata_err_string(i32 noundef %0) #0 { %2 = load i32, ptr @AC_ERR_HOST_BUS, align 4, !tbaa !5 %3 = and i32 %2, %0 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %34 5: ; preds = %1 %6 = load i32, ptr @AC_ERR_ATA_BUS, align 4, !tbaa !5 %7 = and i32 %6, %0 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %34 9: ; preds = %5 %10 = load i32, ptr @AC_ERR_TIMEOUT, align 4, !tbaa !5 %11 = and i32 %10, %0 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %34 13: ; preds = %9 %14 = load i32, ptr @AC_ERR_HSM, align 4, !tbaa !5 %15 = and i32 %14, %0 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %34 17: ; preds = %13 %18 = load i32, ptr @AC_ERR_SYSTEM, align 4, !tbaa !5 %19 = and i32 %18, %0 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %34 21: ; preds = %17 %22 = load i32, ptr @AC_ERR_MEDIA, align 4, !tbaa !5 %23 = and i32 %22, %0 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %34 25: ; preds = %21 %26 = load i32, ptr @AC_ERR_INVALID, align 4, !tbaa !5 %27 = and i32 %26, %0 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %34 29: ; preds = %25 %30 = load i32, ptr @AC_ERR_DEV, align 4, !tbaa !5 %31 = and i32 %30, %0 %32 = icmp eq i32 %31, 0 %33 = select i1 %32, ptr @.str.8, ptr @.str.7 br label %34 34: ; preds = %29, %25, %21, %17, %13, %9, %5, %1 %35 = phi ptr [ @.str, %1 ], [ @.str.1, %5 ], [ @.str.2, %9 ], [ @.str.3, %13 ], [ @.str.4, %17 ], [ @.str.5, %21 ], [ @.str.6, %25 ], [ %33, %29 ] ret ptr %35 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-eh.c_ata_err_string.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-eh.c_ata_err_string.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AC_ERR_HOST_BUS = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"host bus error\00", align 1 @AC_ERR_ATA_BUS = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"ATA bus error\00", align 1 @AC_ERR_TIMEOUT = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [8 x i8] c"timeout\00", align 1 @AC_ERR_HSM = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [14 x i8] c"HSM violation\00", align 1 @AC_ERR_SYSTEM = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [15 x i8] c"internal error\00", align 1 @AC_ERR_MEDIA = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [12 x i8] c"media error\00", align 1 @AC_ERR_INVALID = common local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [17 x i8] c"invalid argument\00", align 1 @AC_ERR_DEV = common local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [13 x i8] c"device error\00", align 1 @.str.8 = private unnamed_addr constant [14 x i8] c"unknown error\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ata_err_string], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal nonnull ptr @ata_err_string(i32 noundef %0) #0 { %2 = load i32, ptr @AC_ERR_HOST_BUS, align 4, !tbaa !6 %3 = and i32 %2, %0 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %34 5: ; preds = %1 %6 = load i32, ptr @AC_ERR_ATA_BUS, align 4, !tbaa !6 %7 = and i32 %6, %0 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %34 9: ; preds = %5 %10 = load i32, ptr @AC_ERR_TIMEOUT, align 4, !tbaa !6 %11 = and i32 %10, %0 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %34 13: ; preds = %9 %14 = load i32, ptr @AC_ERR_HSM, align 4, !tbaa !6 %15 = and i32 %14, %0 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %34 17: ; preds = %13 %18 = load i32, ptr @AC_ERR_SYSTEM, align 4, !tbaa !6 %19 = and i32 %18, %0 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %34 21: ; preds = %17 %22 = load i32, ptr @AC_ERR_MEDIA, align 4, !tbaa !6 %23 = and i32 %22, %0 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %34 25: ; preds = %21 %26 = load i32, ptr @AC_ERR_INVALID, align 4, !tbaa !6 %27 = and i32 %26, %0 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %34 29: ; preds = %25 %30 = load i32, ptr @AC_ERR_DEV, align 4, !tbaa !6 %31 = and i32 %30, %0 %32 = icmp eq i32 %31, 0 %33 = select i1 %32, ptr @.str.8, ptr @.str.7 br label %34 34: ; preds = %29, %25, %21, %17, %13, %9, %5, %1 %35 = phi ptr [ @.str, %1 ], [ @.str.1, %5 ], [ @.str.2, %9 ], [ @.str.3, %13 ], [ @.str.4, %17 ], [ @.str.5, %21 ], [ @.str.6, %25 ], [ %33, %29 ] ret ptr %35 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_ata_extr_libata-eh.c_ata_err_string
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/components/utilities/extr_utcopy.c_AcpiUtCopyEsimpleToIsimple.c' source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/components/utilities/extr_utcopy.c_AcpiUtCopyEsimpleToIsimple.c" target datalayout = "e-m:e-p270:32:32-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_15__ = type { i32, %struct.TYPE_23__, %struct.TYPE_21__, %struct.TYPE_18__, %struct.TYPE_17__ } %struct.TYPE_23__ = type { i32 } %struct.TYPE_21__ = type { i32 } %struct.TYPE_18__ = type { i32, i32 } %struct.TYPE_17__ = type { i32, i32 } %struct.TYPE_24__ = type { %struct.TYPE_22__, %struct.TYPE_20__, %struct.TYPE_19__, %struct.TYPE_16__ } %struct.TYPE_22__ = type { i32, i32 } %struct.TYPE_20__ = type { i32 } %struct.TYPE_19__ = type { i32, i32, ptr } %struct.TYPE_16__ = type { i32, ptr } @UtCopyEsimpleToIsimple = dso_local local_unnamed_addr global i32 0, align 4 @AE_NO_MEMORY = dso_local local_unnamed_addr global i32 0, align 4 @AE_OK = dso_local local_unnamed_addr global i32 0, align 4 @AE_INFO = dso_local local_unnamed_addr global i32 0, align 4 @AE_SUPPORT = dso_local local_unnamed_addr global i32 0, align 4 @AOPOBJ_DATA_VALID = dso_local local_unnamed_addr global i32 0, align 4 @ACPI_REFCLASS_REFOF = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @AcpiUtCopyEsimpleToIsimple], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @AcpiUtCopyEsimpleToIsimple(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr @UtCopyEsimpleToIsimple, align 4, !tbaa !5 %4 = tail call i32 @ACPI_FUNCTION_TRACE(i32 noundef %3) #2 %5 = load i32, ptr %0, align 4, !tbaa !9 switch i32 %5, label %13 [ i32 128, label %6 i32 131, label %6 i32 130, label %6 i32 129, label %6 i32 132, label %9 ] 6: ; preds = %2, %2, %2, %2 %7 = tail call ptr @AcpiUtCreateInternalObject(i32 noundef %5) #2 %8 = icmp eq ptr %7, null br i1 %8, label %17, label %21 9: ; preds = %2 store ptr null, ptr %1, align 8, !tbaa !15 %10 = load i32, ptr @AE_OK, align 4, !tbaa !5 %11 = tail call i32 @return_ACPI_STATUS(i32 noundef %10) #2 %12 = load i32, ptr %0, align 4, !tbaa !9 br label %13 13: ; preds = %2, %9 %14 = phi i32 [ %5, %2 ], [ %12, %9 ] %15 = tail call i32 @AcpiUtGetTypeName(i32 noundef %14) #2 %16 = tail call i32 @ACPI_ERROR(i32 noundef %15) #2 br label %17 17: ; preds = %6, %13 %18 = phi ptr [ @AE_SUPPORT, %13 ], [ @AE_NO_MEMORY, %6 ] %19 = load i32, ptr %18, align 4, !tbaa !5 %20 = tail call i32 @return_ACPI_STATUS(i32 noundef %19) #2 br label %21 21: ; preds = %17, %6 %22 = phi ptr [ %7, %6 ], [ null, %17 ] %23 = load i32, ptr %0, align 4, !tbaa !9 switch i32 %23, label %64 [ i32 128, label %24 i32 131, label %38 i32 130, label %55 i32 129, label %59 ] 24: ; preds = %21 %25 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 4 %26 = load i32, ptr %25, align 4, !tbaa !17 %27 = add nsw i32 %26, 1 %28 = tail call ptr @ACPI_ALLOCATE_ZEROED(i32 noundef %27) #2 %29 = getelementptr inbounds %struct.TYPE_24__, ptr %22, i64 0, i32 3, i32 1 store ptr %28, ptr %29, align 8, !tbaa !18 %30 = icmp eq ptr %28, null br i1 %30, label %67, label %31 31: ; preds = %24 %32 = getelementptr inbounds %struct.TYPE_24__, ptr %22, i64 0, i32 3 %33 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 4, i32 1 %34 = load i32, ptr %33, align 4, !tbaa !24 %35 = load i32, ptr %25, align 4, !tbaa !17 %36 = tail call i32 @memcpy(ptr noundef nonnull %28, i32 noundef %34, i32 noundef %35) #2 %37 = load i32, ptr %25, align 4, !tbaa !17 store i32 %37, ptr %32, align 8, !tbaa !25 br label %64 38: ; preds = %21 %39 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 3 %40 = load i32, ptr %39, align 4, !tbaa !26 %41 = tail call ptr @ACPI_ALLOCATE_ZEROED(i32 noundef %40) #2 %42 = getelementptr inbounds %struct.TYPE_24__, ptr %22, i64 0, i32 2, i32 2 store ptr %41, ptr %42, align 8, !tbaa !27 %43 = icmp eq ptr %41, null br i1 %43, label %67, label %44 44: ; preds = %38 %45 = getelementptr inbounds %struct.TYPE_24__, ptr %22, i64 0, i32 2 %46 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 3, i32 1 %47 = load i32, ptr %46, align 4, !tbaa !28 %48 = load i32, ptr %39, align 4, !tbaa !26 %49 = tail call i32 @memcpy(ptr noundef nonnull %41, i32 noundef %47, i32 noundef %48) #2 %50 = load i32, ptr %39, align 4, !tbaa !26 %51 = getelementptr inbounds %struct.TYPE_24__, ptr %22, i64 0, i32 2, i32 1 store i32 %50, ptr %51, align 4, !tbaa !29 %52 = load i32, ptr @AOPOBJ_DATA_VALID, align 4, !tbaa !5 %53 = load i32, ptr %45, align 8, !tbaa !30 %54 = or i32 %53, %52 store i32 %54, ptr %45, align 8, !tbaa !30 br label %64 55: ; preds = %21 %56 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 2 %57 = load i32, ptr %56, align 4, !tbaa !31 %58 = getelementptr inbounds %struct.TYPE_24__, ptr %22, i64 0, i32 1 store i32 %57, ptr %58, align 8, !tbaa !32 br label %64 59: ; preds = %21 %60 = load i32, ptr @ACPI_REFCLASS_REFOF, align 4, !tbaa !5 %61 = getelementptr inbounds %struct.TYPE_22__, ptr %22, i64 0, i32 1 store i32 %60, ptr %61, align 4, !tbaa !33 %62 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 1 %63 = load i32, ptr %62, align 4, !tbaa !34 store i32 %63, ptr %22, align 8, !tbaa !35 br label %64 64: ; preds = %21, %59, %55, %44, %31 store ptr %22, ptr %1, align 8, !tbaa !15 %65 = load i32, ptr @AE_OK, align 4, !tbaa !5 %66 = tail call i32 @return_ACPI_STATUS(i32 noundef %65) #2 br label %67 67: ; preds = %38, %24, %64 %68 = tail call i32 @AcpiUtRemoveReference(ptr noundef %22) #2 %69 = load i32, ptr @AE_NO_MEMORY, align 4, !tbaa !5 %70 = tail call i32 @return_ACPI_STATUS(i32 noundef %69) #2 ret i32 undef } declare i32 @ACPI_FUNCTION_TRACE(i32 noundef) local_unnamed_addr #1 declare ptr @AcpiUtCreateInternalObject(i32 noundef) local_unnamed_addr #1 declare i32 @return_ACPI_STATUS(i32 noundef) local_unnamed_addr #1 declare i32 @ACPI_ERROR(i32 noundef) local_unnamed_addr #1 declare i32 @AcpiUtGetTypeName(i32 noundef) local_unnamed_addr #1 declare ptr @ACPI_ALLOCATE_ZEROED(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AcpiUtRemoveReference(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 = !{!"TYPE_15__", !6, i64 0, !11, i64 4, !12, i64 8, !13, i64 12, !14, i64 20} !11 = !{!"TYPE_23__", !6, i64 0} !12 = !{!"TYPE_21__", !6, i64 0} !13 = !{!"TYPE_18__", !6, i64 0, !6, i64 4} !14 = !{!"TYPE_17__", !6, i64 0, !6, i64 4} !15 = !{!16, !16, i64 0} !16 = !{!"any pointer", !7, i64 0} !17 = !{!10, !6, i64 20} !18 = !{!19, !16, i64 40} !19 = !{!"TYPE_24__", !20, i64 0, !21, i64 8, !22, i64 16, !23, i64 32} !20 = !{!"TYPE_22__", !6, i64 0, !6, i64 4} !21 = !{!"TYPE_20__", !6, i64 0} !22 = !{!"TYPE_19__", !6, i64 0, !6, i64 4, !16, i64 8} !23 = !{!"TYPE_16__", !6, i64 0, !16, i64 8} !24 = !{!10, !6, i64 24} !25 = !{!19, !6, i64 32} !26 = !{!10, !6, i64 12} !27 = !{!19, !16, i64 24} !28 = !{!10, !6, i64 16} !29 = !{!19, !6, i64 20} !30 = !{!19, !6, i64 16} !31 = !{!10, !6, i64 8} !32 = !{!19, !6, i64 8} !33 = !{!19, !6, i64 4} !34 = !{!10, !6, i64 4} !35 = !{!19, !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/components/utilities/extr_utcopy.c_AcpiUtCopyEsimpleToIsimple.c' source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/components/utilities/extr_utcopy.c_AcpiUtCopyEsimpleToIsimple.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @UtCopyEsimpleToIsimple = common local_unnamed_addr global i32 0, align 4 @AE_NO_MEMORY = common local_unnamed_addr global i32 0, align 4 @AE_OK = common local_unnamed_addr global i32 0, align 4 @AE_INFO = common local_unnamed_addr global i32 0, align 4 @AE_SUPPORT = common local_unnamed_addr global i32 0, align 4 @AOPOBJ_DATA_VALID = common local_unnamed_addr global i32 0, align 4 @ACPI_REFCLASS_REFOF = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @AcpiUtCopyEsimpleToIsimple], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @AcpiUtCopyEsimpleToIsimple(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr @UtCopyEsimpleToIsimple, align 4, !tbaa !6 %4 = tail call i32 @ACPI_FUNCTION_TRACE(i32 noundef %3) #2 %5 = load i32, ptr %0, align 4, !tbaa !10 switch i32 %5, label %13 [ i32 128, label %6 i32 131, label %6 i32 130, label %6 i32 129, label %6 i32 132, label %9 ] 6: ; preds = %2, %2, %2, %2 %7 = tail call ptr @AcpiUtCreateInternalObject(i32 noundef %5) #2 %8 = icmp eq ptr %7, null br i1 %8, label %17, label %21 9: ; preds = %2 store ptr null, ptr %1, align 8, !tbaa !16 %10 = load i32, ptr @AE_OK, align 4, !tbaa !6 %11 = tail call i32 @return_ACPI_STATUS(i32 noundef %10) #2 %12 = load i32, ptr %0, align 4, !tbaa !10 br label %13 13: ; preds = %2, %9 %14 = phi i32 [ %5, %2 ], [ %12, %9 ] %15 = tail call i32 @AcpiUtGetTypeName(i32 noundef %14) #2 %16 = tail call i32 @ACPI_ERROR(i32 noundef %15) #2 br label %17 17: ; preds = %6, %13 %18 = phi ptr [ @AE_SUPPORT, %13 ], [ @AE_NO_MEMORY, %6 ] %19 = load i32, ptr %18, align 4, !tbaa !6 %20 = tail call i32 @return_ACPI_STATUS(i32 noundef %19) #2 br label %21 21: ; preds = %17, %6 %22 = phi ptr [ %7, %6 ], [ null, %17 ] %23 = load i32, ptr %0, align 4, !tbaa !10 switch i32 %23, label %64 [ i32 128, label %24 i32 131, label %38 i32 130, label %55 i32 129, label %59 ] 24: ; preds = %21 %25 = getelementptr inbounds i8, ptr %0, i64 20 %26 = load i32, ptr %25, align 4, !tbaa !18 %27 = add nsw i32 %26, 1 %28 = tail call ptr @ACPI_ALLOCATE_ZEROED(i32 noundef %27) #2 %29 = getelementptr inbounds i8, ptr %22, i64 40 store ptr %28, ptr %29, align 8, !tbaa !19 %30 = icmp eq ptr %28, null br i1 %30, label %67, label %31 31: ; preds = %24 %32 = getelementptr inbounds i8, ptr %22, i64 32 %33 = getelementptr inbounds i8, ptr %0, i64 24 %34 = load i32, ptr %33, align 4, !tbaa !25 %35 = load i32, ptr %25, align 4, !tbaa !18 %36 = tail call i32 @memcpy(ptr noundef nonnull %28, i32 noundef %34, i32 noundef %35) #2 %37 = load i32, ptr %25, align 4, !tbaa !18 store i32 %37, ptr %32, align 8, !tbaa !26 br label %64 38: ; preds = %21 %39 = getelementptr inbounds i8, ptr %0, i64 12 %40 = load i32, ptr %39, align 4, !tbaa !27 %41 = tail call ptr @ACPI_ALLOCATE_ZEROED(i32 noundef %40) #2 %42 = getelementptr inbounds i8, ptr %22, i64 24 store ptr %41, ptr %42, align 8, !tbaa !28 %43 = icmp eq ptr %41, null br i1 %43, label %67, label %44 44: ; preds = %38 %45 = getelementptr inbounds i8, ptr %22, i64 16 %46 = getelementptr inbounds i8, ptr %0, i64 16 %47 = load i32, ptr %46, align 4, !tbaa !29 %48 = load i32, ptr %39, align 4, !tbaa !27 %49 = tail call i32 @memcpy(ptr noundef nonnull %41, i32 noundef %47, i32 noundef %48) #2 %50 = load i32, ptr %39, align 4, !tbaa !27 %51 = getelementptr inbounds i8, ptr %22, i64 20 store i32 %50, ptr %51, align 4, !tbaa !30 %52 = load i32, ptr @AOPOBJ_DATA_VALID, align 4, !tbaa !6 %53 = load i32, ptr %45, align 8, !tbaa !31 %54 = or i32 %53, %52 store i32 %54, ptr %45, align 8, !tbaa !31 br label %64 55: ; preds = %21 %56 = getelementptr inbounds i8, ptr %0, i64 8 %57 = load i32, ptr %56, align 4, !tbaa !32 %58 = getelementptr inbounds i8, ptr %22, i64 8 store i32 %57, ptr %58, align 8, !tbaa !33 br label %64 59: ; preds = %21 %60 = load i32, ptr @ACPI_REFCLASS_REFOF, align 4, !tbaa !6 %61 = getelementptr inbounds i8, ptr %22, i64 4 store i32 %60, ptr %61, align 4, !tbaa !34 %62 = getelementptr inbounds i8, ptr %0, i64 4 %63 = load i32, ptr %62, align 4, !tbaa !35 store i32 %63, ptr %22, align 8, !tbaa !36 br label %64 64: ; preds = %21, %59, %55, %44, %31 store ptr %22, ptr %1, align 8, !tbaa !16 %65 = load i32, ptr @AE_OK, align 4, !tbaa !6 %66 = tail call i32 @return_ACPI_STATUS(i32 noundef %65) #2 br label %67 67: ; preds = %38, %24, %64 %68 = tail call i32 @AcpiUtRemoveReference(ptr noundef %22) #2 %69 = load i32, ptr @AE_NO_MEMORY, align 4, !tbaa !6 %70 = tail call i32 @return_ACPI_STATUS(i32 noundef %69) #2 ret i32 undef } declare i32 @ACPI_FUNCTION_TRACE(i32 noundef) local_unnamed_addr #1 declare ptr @AcpiUtCreateInternalObject(i32 noundef) local_unnamed_addr #1 declare i32 @return_ACPI_STATUS(i32 noundef) local_unnamed_addr #1 declare i32 @ACPI_ERROR(i32 noundef) local_unnamed_addr #1 declare i32 @AcpiUtGetTypeName(i32 noundef) local_unnamed_addr #1 declare ptr @ACPI_ALLOCATE_ZEROED(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AcpiUtRemoveReference(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 = !{!"TYPE_15__", !7, i64 0, !12, i64 4, !13, i64 8, !14, i64 12, !15, i64 20} !12 = !{!"TYPE_23__", !7, i64 0} !13 = !{!"TYPE_21__", !7, i64 0} !14 = !{!"TYPE_18__", !7, i64 0, !7, i64 4} !15 = !{!"TYPE_17__", !7, i64 0, !7, i64 4} !16 = !{!17, !17, i64 0} !17 = !{!"any pointer", !8, i64 0} !18 = !{!11, !7, i64 20} !19 = !{!20, !17, i64 40} !20 = !{!"TYPE_24__", !21, i64 0, !22, i64 8, !23, i64 16, !24, i64 32} !21 = !{!"TYPE_22__", !7, i64 0, !7, i64 4} !22 = !{!"TYPE_20__", !7, i64 0} !23 = !{!"TYPE_19__", !7, i64 0, !7, i64 4, !17, i64 8} !24 = !{!"TYPE_16__", !7, i64 0, !17, i64 8} !25 = !{!11, !7, i64 24} !26 = !{!20, !7, i64 32} !27 = !{!11, !7, i64 12} !28 = !{!20, !17, i64 24} !29 = !{!11, !7, i64 16} !30 = !{!20, !7, i64 20} !31 = !{!20, !7, i64 16} !32 = !{!11, !7, i64 8} !33 = !{!20, !7, i64 8} !34 = !{!20, !7, i64 4} !35 = !{!11, !7, i64 4} !36 = !{!20, !7, i64 0}
freebsd_sys_contrib_dev_acpica_components_utilities_extr_utcopy.c_AcpiUtCopyEsimpleToIsimple
; ModuleID = 'AnghaBench/mongoose/test/ccgi-1.2/extr_ccgi.c_mymalloc.c' source_filename = "AnghaBench/mongoose/test/ccgi-1.2/extr_ccgi.c_mymalloc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"C CGI Library out of memory\0A\00", align 1 @stderr = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mymalloc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @mymalloc(i32 noundef %0) #0 { %2 = tail call ptr @malloc(i32 noundef %0) #3 %3 = icmp eq ptr %2, null br i1 %3, label %4, label %8 4: ; preds = %1 %5 = load i32, ptr @stderr, align 4, !tbaa !5 %6 = tail call i32 @fputs(ptr noundef nonnull @.str, i32 noundef %5) #3 %7 = tail call i32 @exit(i32 noundef 1) #4 unreachable 8: ; preds = %1 ret ptr %2 } declare ptr @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @fputs(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="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/mongoose/test/ccgi-1.2/extr_ccgi.c_mymalloc.c' source_filename = "AnghaBench/mongoose/test/ccgi-1.2/extr_ccgi.c_mymalloc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [29 x i8] c"C CGI Library out of memory\0A\00", align 1 @stderr = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mymalloc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @mymalloc(i32 noundef %0) #0 { %2 = tail call ptr @malloc(i32 noundef %0) #3 %3 = icmp eq ptr %2, null br i1 %3, label %4, label %8 4: ; preds = %1 %5 = load i32, ptr @stderr, align 4, !tbaa !6 %6 = tail call i32 @fputs(ptr noundef nonnull @.str, i32 noundef %5) #3 %7 = tail call i32 @exit(i32 noundef 1) #4 unreachable 8: ; preds = %1 ret ptr %2 } declare ptr @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @fputs(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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"}
mongoose_test_ccgi-1.2_extr_ccgi.c_mymalloc
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_document.c_fz_open_accelerated_document_with_stream.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_document.c_fz_open_accelerated_document_with_stream.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { ptr, ptr } @FZ_ERROR_GENERIC = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"no document to open\00", align 1 @.str.1 = private unnamed_addr constant [47 x i8] c"cannot find document handler for file type: %s\00", align 1 @pdf_document_handler = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @fz_open_accelerated_document_with_stream(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = icmp eq ptr %1, null %6 = icmp eq ptr %2, null %7 = or i1 %5, %6 br i1 %7, label %8, label %11 8: ; preds = %4 %9 = load i32, ptr @FZ_ERROR_GENERIC, align 4, !tbaa !5 %10 = tail call i32 (ptr, i32, ptr, ...) @fz_throw(ptr noundef %0, i32 noundef %9, ptr noundef nonnull @.str) #2 br label %11 11: ; preds = %4, %8 %12 = tail call ptr @fz_recognize_document(ptr noundef %0, ptr noundef %1) #2 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %17 14: ; preds = %11 %15 = load i32, ptr @FZ_ERROR_GENERIC, align 4, !tbaa !5 %16 = tail call i32 (ptr, i32, ptr, ...) @fz_throw(ptr noundef %0, i32 noundef %15, ptr noundef nonnull @.str.1, ptr noundef %1) #2 br label %17 17: ; preds = %14, %11 %18 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i64 0, i32 1 %19 = load ptr, ptr %18, align 8, !tbaa !9 %20 = icmp eq ptr %19, null %21 = icmp eq ptr %3, null br i1 %20, label %28, label %22 22: ; preds = %17 br i1 %21, label %23, label %26 23: ; preds = %22 %24 = load ptr, ptr %12, align 8, !tbaa !12 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %31 26: ; preds = %23, %22 %27 = tail call ptr %19(ptr noundef %0, ptr noundef %2, ptr noundef %3) #2 br label %34 28: ; preds = %17 br i1 %21, label %31, label %29 29: ; preds = %28 %30 = tail call i32 @fz_drop_stream(ptr noundef %0, ptr noundef nonnull %3) #2 br label %31 31: ; preds = %23, %29, %28 %32 = load ptr, ptr %12, align 8, !tbaa !12 %33 = tail call ptr %32(ptr noundef %0, ptr noundef %2) #2 br label %34 34: ; preds = %31, %26 %35 = phi ptr [ %27, %26 ], [ %33, %31 ] ret ptr %35 } declare i32 @fz_throw(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare ptr @fz_recognize_document(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @fz_drop_stream(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"TYPE_4__", !11, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_document.c_fz_open_accelerated_document_with_stream.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_document.c_fz_open_accelerated_document_with_stream.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { ptr, ptr } @FZ_ERROR_GENERIC = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"no document to open\00", align 1 @.str.1 = private unnamed_addr constant [47 x i8] c"cannot find document handler for file type: %s\00", align 1 @pdf_document_handler = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @fz_open_accelerated_document_with_stream(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = icmp eq ptr %1, null %6 = icmp eq ptr %2, null %7 = or i1 %5, %6 br i1 %7, label %8, label %11 8: ; preds = %4 %9 = load i32, ptr @FZ_ERROR_GENERIC, align 4, !tbaa !6 %10 = tail call i32 (ptr, i32, ptr, ...) @fz_throw(ptr noundef %0, i32 noundef %9, ptr noundef nonnull @.str) #2 br label %11 11: ; preds = %4, %8 %12 = tail call ptr @fz_recognize_document(ptr noundef %0, ptr noundef %1) #2 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %17 14: ; preds = %11 %15 = load i32, ptr @FZ_ERROR_GENERIC, align 4, !tbaa !6 %16 = tail call i32 (ptr, i32, ptr, ...) @fz_throw(ptr noundef %0, i32 noundef %15, ptr noundef nonnull @.str.1, ptr noundef %1) #2 br label %17 17: ; preds = %14, %11 %18 = getelementptr inbounds i8, ptr %12, i64 8 %19 = load ptr, ptr %18, align 8, !tbaa !10 %20 = icmp eq ptr %19, null %21 = icmp eq ptr %3, null br i1 %20, label %28, label %22 22: ; preds = %17 br i1 %21, label %23, label %26 23: ; preds = %22 %24 = load ptr, ptr %12, align 8, !tbaa !13 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %31 26: ; preds = %23, %22 %27 = tail call ptr %19(ptr noundef %0, ptr noundef %2, ptr noundef %3) #2 br label %34 28: ; preds = %17 br i1 %21, label %31, label %29 29: ; preds = %28 %30 = tail call i32 @fz_drop_stream(ptr noundef %0, ptr noundef nonnull %3) #2 br label %31 31: ; preds = %23, %29, %28 %32 = load ptr, ptr %12, align 8, !tbaa !13 %33 = tail call ptr %32(ptr noundef %0, ptr noundef %2) #2 br label %34 34: ; preds = %31, %26 %35 = phi ptr [ %27, %26 ], [ %33, %31 ] ret ptr %35 } declare i32 @fz_throw(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare ptr @fz_recognize_document(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @fz_drop_stream(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"TYPE_4__", !12, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 0}
sumatrapdf_mupdf_source_fitz_extr_document.c_fz_open_accelerated_document_with_stream
; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_iova.c_init_iova_domain.c' source_filename = "AnghaBench/linux/drivers/iommu/extr_iova.c_init_iova_domain.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i32 } %struct.iova_domain = type { i64, i64, i64, i64, %struct.TYPE_5__, %struct.TYPE_4__, ptr, ptr, ptr, ptr, i32 } %struct.TYPE_4__ = type { i32, i32, i32 } @PAGE_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @RB_ROOT = dso_local local_unnamed_addr global %struct.TYPE_5__ zeroinitializer, align 4 @IOVA_ANCHOR = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @init_iova_domain(ptr noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !5 %5 = icmp ult i64 %4, %1 br i1 %5, label %10, label %6 6: ; preds = %3 %7 = tail call i32 @is_power_of_2(i64 noundef %1) #3 %8 = icmp eq i32 %7, 0 %9 = zext i1 %8 to i32 br label %10 10: ; preds = %6, %3 %11 = phi i32 [ 1, %3 ], [ %9, %6 ] %12 = tail call i32 @BUG_ON(i32 noundef %11) #3 %13 = getelementptr inbounds %struct.iova_domain, ptr %0, i64 0, i32 10 %14 = tail call i32 @spin_lock_init(ptr noundef nonnull %13) #3 %15 = getelementptr inbounds %struct.iova_domain, ptr %0, i64 0, i32 4 %16 = load i32, ptr @RB_ROOT, align 4, !tbaa !9 store i32 %16, ptr %15, align 8, !tbaa !9 %17 = getelementptr inbounds %struct.iova_domain, ptr %0, i64 0, i32 5 %18 = getelementptr inbounds %struct.iova_domain, ptr %0, i64 0, i32 9 store ptr %17, ptr %18, align 8, !tbaa !11 %19 = getelementptr inbounds %struct.iova_domain, ptr %0, i64 0, i32 8 store ptr %17, ptr %19, align 8, !tbaa !16 store i64 %1, ptr %0, align 8, !tbaa !17 %20 = getelementptr inbounds %struct.iova_domain, ptr %0, i64 0, i32 1 store i64 %2, ptr %20, align 8, !tbaa !18 %21 = tail call i32 @iova_shift(ptr noundef nonnull %0) #3 %22 = sub nsw i32 32, %21 %23 = zext nneg i32 %22 to i64 %24 = shl nuw i64 1, %23 %25 = getelementptr inbounds %struct.iova_domain, ptr %0, i64 0, i32 2 store i64 %24, ptr %25, align 8, !tbaa !19 %26 = getelementptr inbounds %struct.iova_domain, ptr %0, i64 0, i32 3 store i64 %24, ptr %26, align 8, !tbaa !20 %27 = getelementptr inbounds %struct.iova_domain, ptr %0, i64 0, i32 6 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %27, i8 0, i64 16, i1 false) %28 = load i32, ptr @IOVA_ANCHOR, align 4, !tbaa !9 %29 = getelementptr inbounds %struct.iova_domain, ptr %0, i64 0, i32 5, i32 1 store i32 %28, ptr %29, align 4, !tbaa !21 %30 = getelementptr inbounds %struct.iova_domain, ptr %0, i64 0, i32 5, i32 2 store i32 %28, ptr %30, align 4, !tbaa !22 %31 = tail call i32 @rb_link_node(ptr noundef nonnull %17, ptr noundef null, ptr noundef nonnull %15) #3 %32 = tail call i32 @rb_insert_color(ptr noundef nonnull %17, ptr noundef nonnull %15) #3 %33 = tail call i32 @init_iova_rcaches(ptr noundef nonnull %0) #3 ret void } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @is_power_of_2(i64 noundef) local_unnamed_addr #1 declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @iova_shift(ptr noundef) local_unnamed_addr #1 declare i32 @rb_link_node(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rb_insert_color(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @init_iova_rcaches(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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, !15, i64 72} !12 = !{!"iova_domain", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !13, i64 32, !14, i64 36, !15, i64 48, !15, i64 56, !15, i64 64, !15, i64 72, !10, i64 80} !13 = !{!"TYPE_5__", !10, i64 0} !14 = !{!"TYPE_4__", !10, i64 0, !10, i64 4, !10, i64 8} !15 = !{!"any pointer", !7, i64 0} !16 = !{!12, !15, i64 64} !17 = !{!12, !6, i64 0} !18 = !{!12, !6, i64 8} !19 = !{!12, !6, i64 16} !20 = !{!12, !6, i64 24} !21 = !{!12, !10, i64 40} !22 = !{!12, !10, i64 44}
; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_iova.c_init_iova_domain.c' source_filename = "AnghaBench/linux/drivers/iommu/extr_iova.c_init_iova_domain.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_5__ = type { i32 } @PAGE_SIZE = common local_unnamed_addr global i64 0, align 8 @RB_ROOT = common local_unnamed_addr global %struct.TYPE_5__ zeroinitializer, align 4 @IOVA_ANCHOR = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @init_iova_domain(ptr noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !6 %5 = icmp ult i64 %4, %1 br i1 %5, label %10, label %6 6: ; preds = %3 %7 = tail call i32 @is_power_of_2(i64 noundef %1) #3 %8 = icmp eq i32 %7, 0 %9 = zext i1 %8 to i32 br label %10 10: ; preds = %6, %3 %11 = phi i32 [ 1, %3 ], [ %9, %6 ] %12 = tail call i32 @BUG_ON(i32 noundef %11) #3 %13 = getelementptr inbounds i8, ptr %0, i64 80 %14 = tail call i32 @spin_lock_init(ptr noundef nonnull %13) #3 %15 = getelementptr inbounds i8, ptr %0, i64 32 %16 = load i32, ptr @RB_ROOT, align 4, !tbaa !10 store i32 %16, ptr %15, align 8, !tbaa !10 %17 = getelementptr inbounds i8, ptr %0, i64 36 %18 = getelementptr inbounds i8, ptr %0, i64 72 store ptr %17, ptr %18, align 8, !tbaa !12 %19 = getelementptr inbounds i8, ptr %0, i64 64 store ptr %17, ptr %19, align 8, !tbaa !17 store i64 %1, ptr %0, align 8, !tbaa !18 %20 = getelementptr inbounds i8, ptr %0, i64 8 store i64 %2, ptr %20, align 8, !tbaa !19 %21 = tail call i32 @iova_shift(ptr noundef nonnull %0) #3 %22 = sub nsw i32 32, %21 %23 = zext nneg i32 %22 to i64 %24 = shl nuw i64 1, %23 %25 = getelementptr inbounds i8, ptr %0, i64 16 store i64 %24, ptr %25, align 8, !tbaa !20 %26 = getelementptr inbounds i8, ptr %0, i64 24 store i64 %24, ptr %26, align 8, !tbaa !21 %27 = getelementptr inbounds i8, ptr %0, i64 48 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %27, i8 0, i64 16, i1 false) %28 = load i32, ptr @IOVA_ANCHOR, align 4, !tbaa !10 %29 = getelementptr inbounds i8, ptr %0, i64 40 store i32 %28, ptr %29, align 4, !tbaa !22 %30 = getelementptr inbounds i8, ptr %0, i64 44 store i32 %28, ptr %30, align 4, !tbaa !23 %31 = tail call i32 @rb_link_node(ptr noundef nonnull %17, ptr noundef null, ptr noundef nonnull %15) #3 %32 = tail call i32 @rb_insert_color(ptr noundef nonnull %17, ptr noundef nonnull %15) #3 %33 = tail call i32 @init_iova_rcaches(ptr noundef nonnull %0) #3 ret void } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @is_power_of_2(i64 noundef) local_unnamed_addr #1 declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @iova_shift(ptr noundef) local_unnamed_addr #1 declare i32 @rb_link_node(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rb_insert_color(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @init_iova_rcaches(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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, !16, i64 72} !13 = !{!"iova_domain", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !14, i64 32, !15, i64 36, !16, i64 48, !16, i64 56, !16, i64 64, !16, i64 72, !11, i64 80} !14 = !{!"TYPE_5__", !11, i64 0} !15 = !{!"TYPE_4__", !11, i64 0, !11, i64 4, !11, i64 8} !16 = !{!"any pointer", !8, i64 0} !17 = !{!13, !16, i64 64} !18 = !{!13, !7, i64 0} !19 = !{!13, !7, i64 8} !20 = !{!13, !7, i64 16} !21 = !{!13, !7, i64 24} !22 = !{!13, !11, i64 40} !23 = !{!13, !11, i64 44}
linux_drivers_iommu_extr_iova.c_init_iova_domain
; ModuleID = 'AnghaBench/linux/arch/powerpc/kernel/extr_pmc.c_release_pmc_hardware.c' source_filename = "AnghaBench/linux/arch/powerpc/kernel/extr_pmc.c_release_pmc_hardware.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @pmc_owner_lock = dso_local global i32 0, align 4 @pmc_owner_caller = dso_local local_unnamed_addr global ptr null, align 8 @dummy_perf = dso_local local_unnamed_addr global i32 0, align 4 @perf_irq = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @release_pmc_hardware() local_unnamed_addr #0 { %1 = tail call i32 @raw_spin_lock(ptr noundef nonnull @pmc_owner_lock) #2 %2 = load ptr, ptr @pmc_owner_caller, align 8, !tbaa !5 %3 = icmp eq ptr %2, null %4 = zext i1 %3 to i32 %5 = tail call i32 @WARN_ON(i32 noundef %4) #2 store ptr null, ptr @pmc_owner_caller, align 8, !tbaa !5 %6 = load i32, ptr @dummy_perf, align 4, !tbaa !9 store i32 %6, ptr @perf_irq, align 4, !tbaa !9 %7 = tail call i32 @raw_spin_unlock(ptr noundef nonnull @pmc_owner_lock) #2 ret void } declare i32 @raw_spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @raw_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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/linux/arch/powerpc/kernel/extr_pmc.c_release_pmc_hardware.c' source_filename = "AnghaBench/linux/arch/powerpc/kernel/extr_pmc.c_release_pmc_hardware.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @pmc_owner_lock = common global i32 0, align 4 @pmc_owner_caller = common local_unnamed_addr global ptr null, align 8 @dummy_perf = common local_unnamed_addr global i32 0, align 4 @perf_irq = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @release_pmc_hardware() local_unnamed_addr #0 { %1 = tail call i32 @raw_spin_lock(ptr noundef nonnull @pmc_owner_lock) #2 %2 = load ptr, ptr @pmc_owner_caller, align 8, !tbaa !6 %3 = icmp eq ptr %2, null %4 = zext i1 %3 to i32 %5 = tail call i32 @WARN_ON(i32 noundef %4) #2 store ptr null, ptr @pmc_owner_caller, align 8, !tbaa !6 %6 = load i32, ptr @dummy_perf, align 4, !tbaa !10 store i32 %6, ptr @perf_irq, align 4, !tbaa !10 %7 = tail call i32 @raw_spin_unlock(ptr noundef nonnull @pmc_owner_lock) #2 ret void } declare i32 @raw_spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @raw_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 = !{!"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}
linux_arch_powerpc_kernel_extr_pmc.c_release_pmc_hardware
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_heartbeat.c_ocfs2_do_node_down.c' source_filename = "AnghaBench/linux/fs/ocfs2/extr_heartbeat.c_ocfs2_do_node_down.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ocfs2_super = type { i32, i32 } ; Function Attrs: nounwind uwtable define dso_local void @ocfs2_do_node_down(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = icmp eq i32 %3, %0 %5 = zext i1 %4 to i32 %6 = tail call i32 @BUG_ON(i32 noundef %5) #2 %7 = tail call i32 @trace_ocfs2_do_node_down(i32 noundef %0) #2 %8 = getelementptr inbounds %struct.ocfs2_super, ptr %1, i64 0, i32 1 %9 = load i32, ptr %8, align 4, !tbaa !10 %10 = icmp eq i32 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %2 %12 = tail call i32 @ocfs2_recovery_thread(ptr noundef nonnull %1, i32 noundef %0) #2 br label %13 13: ; preds = %2, %11 ret void } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @trace_ocfs2_do_node_down(i32 noundef) local_unnamed_addr #1 declare i32 @ocfs2_recovery_thread(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 = !{!"ocfs2_super", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_heartbeat.c_ocfs2_do_node_down.c' source_filename = "AnghaBench/linux/fs/ocfs2/extr_heartbeat.c_ocfs2_do_node_down.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 @ocfs2_do_node_down(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = icmp eq i32 %3, %0 %5 = zext i1 %4 to i32 %6 = tail call i32 @BUG_ON(i32 noundef %5) #2 %7 = tail call i32 @trace_ocfs2_do_node_down(i32 noundef %0) #2 %8 = getelementptr inbounds i8, ptr %1, i64 4 %9 = load i32, ptr %8, align 4, !tbaa !11 %10 = icmp eq i32 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %2 %12 = tail call i32 @ocfs2_recovery_thread(ptr noundef nonnull %1, i32 noundef %0) #2 br label %13 13: ; preds = %2, %11 ret void } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @trace_ocfs2_do_node_down(i32 noundef) local_unnamed_addr #1 declare i32 @ocfs2_recovery_thread(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 = !{!"ocfs2_super", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4}
linux_fs_ocfs2_extr_heartbeat.c_ocfs2_do_node_down
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_qlnx_os.c_qlnx_alloc_tx_br.c' source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_qlnx_os.c_qlnx_alloc_tx_br.c" target datalayout = "e-m:e-p270:32:32-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.qlnx_fastpath = type { i32, ptr, i32, i32 } @.str = private unnamed_addr constant [23 x i8] c"qlnx%d_fp%d_tx_mq_lock\00", align 1 @MTX_DEF = dso_local local_unnamed_addr global i32 0, align 4 @TX_RING_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @M_DEVBUF = dso_local local_unnamed_addr global i32 0, align 4 @M_NOWAIT = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [38 x i8] c"buf_ring_alloc failed for fp[%d, %d]\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @qlnx_alloc_tx_br], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @qlnx_alloc_tx_br(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.qlnx_fastpath, ptr %1, i64 0, i32 3 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = load i32, ptr %0, align 4, !tbaa !11 %6 = load i32, ptr %1, align 8, !tbaa !13 %7 = tail call i32 @snprintf(i32 noundef %4, i32 noundef 4, ptr noundef nonnull @.str, i32 noundef %5, i32 noundef %6) #2 %8 = getelementptr inbounds %struct.qlnx_fastpath, ptr %1, i64 0, i32 2 %9 = load i32, ptr %3, align 4, !tbaa !5 %10 = load i32, ptr @MTX_DEF, align 4, !tbaa !14 %11 = tail call i32 @mtx_init(ptr noundef nonnull %8, i32 noundef %9, ptr noundef null, i32 noundef %10) #2 %12 = load i32, ptr @TX_RING_SIZE, align 4, !tbaa !14 %13 = load i32, ptr @M_DEVBUF, align 4, !tbaa !14 %14 = load i32, ptr @M_NOWAIT, align 4, !tbaa !14 %15 = tail call ptr @buf_ring_alloc(i32 noundef %12, i32 noundef %13, i32 noundef %14, ptr noundef nonnull %8) #2 %16 = getelementptr inbounds %struct.qlnx_fastpath, ptr %1, i64 0, i32 1 store ptr %15, ptr %16, align 8, !tbaa !15 %17 = icmp eq ptr %15, null br i1 %17, label %18, label %24 18: ; preds = %2 %19 = load i32, ptr %0, align 4, !tbaa !11 %20 = load i32, ptr %1, align 8, !tbaa !13 %21 = tail call i32 @QL_DPRINT1(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %19, i32 noundef %20) #2 %22 = load i32, ptr @ENOMEM, align 4, !tbaa !14 %23 = sub nsw i32 0, %22 br label %24 24: ; preds = %2, %18 %25 = phi i32 [ %23, %18 ], [ 0, %2 ] ret i32 %25 } declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mtx_init(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @buf_ring_alloc(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @QL_DPRINT1(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 20} !6 = !{!"qlnx_fastpath", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_4__", !7, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_qlnx_os.c_qlnx_alloc_tx_br.c' source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_qlnx_os.c_qlnx_alloc_tx_br.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 [23 x i8] c"qlnx%d_fp%d_tx_mq_lock\00", align 1 @MTX_DEF = common local_unnamed_addr global i32 0, align 4 @TX_RING_SIZE = common local_unnamed_addr global i32 0, align 4 @M_DEVBUF = common local_unnamed_addr global i32 0, align 4 @M_NOWAIT = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [38 x i8] c"buf_ring_alloc failed for fp[%d, %d]\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @qlnx_alloc_tx_br], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @qlnx_alloc_tx_br(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 20 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = load i32, ptr %0, align 4, !tbaa !12 %6 = load i32, ptr %1, align 8, !tbaa !14 %7 = tail call i32 @snprintf(i32 noundef %4, i32 noundef 4, ptr noundef nonnull @.str, i32 noundef %5, i32 noundef %6) #2 %8 = getelementptr inbounds i8, ptr %1, i64 16 %9 = load i32, ptr %3, align 4, !tbaa !6 %10 = load i32, ptr @MTX_DEF, align 4, !tbaa !15 %11 = tail call i32 @mtx_init(ptr noundef nonnull %8, i32 noundef %9, ptr noundef null, i32 noundef %10) #2 %12 = load i32, ptr @TX_RING_SIZE, align 4, !tbaa !15 %13 = load i32, ptr @M_DEVBUF, align 4, !tbaa !15 %14 = load i32, ptr @M_NOWAIT, align 4, !tbaa !15 %15 = tail call ptr @buf_ring_alloc(i32 noundef %12, i32 noundef %13, i32 noundef %14, ptr noundef nonnull %8) #2 %16 = getelementptr inbounds i8, ptr %1, i64 8 store ptr %15, ptr %16, align 8, !tbaa !16 %17 = icmp eq ptr %15, null br i1 %17, label %18, label %24 18: ; preds = %2 %19 = load i32, ptr %0, align 4, !tbaa !12 %20 = load i32, ptr %1, align 8, !tbaa !14 %21 = tail call i32 @QL_DPRINT1(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %19, i32 noundef %20) #2 %22 = load i32, ptr @ENOMEM, align 4, !tbaa !15 %23 = sub nsw i32 0, %22 br label %24 24: ; preds = %2, %18 %25 = phi i32 [ %23, %18 ], [ 0, %2 ] ret i32 %25 } declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mtx_init(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @buf_ring_alloc(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @QL_DPRINT1(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 20} !7 = !{!"qlnx_fastpath", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_4__", !8, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!7, !11, i64 8}
freebsd_sys_dev_qlnx_qlnxe_extr_qlnx_os.c_qlnx_alloc_tx_br
; ModuleID = 'AnghaBench/darwin-xnu/tests/extr_net_tuntests.c_get_skywalk_features.c' source_filename = "AnghaBench/darwin-xnu/tests/extr_net_tuntests.c_get_skywalk_features.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @T_QUIET = dso_local local_unnamed_addr global i32 0, align 4 @T_WITH_ERRNO = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"kern.skywalk.features\00", align 1 @SK_FEATURE_SKYWALK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_skywalk_features], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @get_skywalk_features() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 store i32 0, ptr %1, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store i64 4, ptr %2, align 8, !tbaa !9 %3 = call i32 @sysctlbyname(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef null, i32 noundef 0) #3 %4 = call i32 @T_EXPECT_POSIX_ZERO(i32 noundef %3, ptr noundef null) #3 %5 = load i64, ptr %2, align 8, !tbaa !9 %6 = call i32 @T_ASSERT_EQ(i64 noundef %5, i32 noundef 4, ptr noundef null) #3 %7 = load i32, ptr %1, align 4, !tbaa !5 %8 = load i32, ptr @SK_FEATURE_SKYWALK, align 4, !tbaa !5 %9 = and i32 %8, %7 %10 = call i32 @T_ASSERT_TRUE(i32 noundef %9, ptr noundef null) #3 %11 = load i32, ptr %1, align 4, !tbaa !5 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret i32 %11 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @T_EXPECT_POSIX_ZERO(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sysctlbyname(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @T_ASSERT_EQ(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @T_ASSERT_TRUE(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/darwin-xnu/tests/extr_net_tuntests.c_get_skywalk_features.c' source_filename = "AnghaBench/darwin-xnu/tests/extr_net_tuntests.c_get_skywalk_features.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @T_QUIET = common local_unnamed_addr global i32 0, align 4 @T_WITH_ERRNO = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"kern.skywalk.features\00", align 1 @SK_FEATURE_SKYWALK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @get_skywalk_features], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @get_skywalk_features() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 store i32 0, ptr %1, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store i64 4, ptr %2, align 8, !tbaa !10 %3 = call i32 @sysctlbyname(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef null, i32 noundef 0) #3 %4 = call i32 @T_EXPECT_POSIX_ZERO(i32 noundef %3, ptr noundef null) #3 %5 = load i64, ptr %2, align 8, !tbaa !10 %6 = call i32 @T_ASSERT_EQ(i64 noundef %5, i32 noundef 4, ptr noundef null) #3 %7 = load i32, ptr %1, align 4, !tbaa !6 %8 = load i32, ptr @SK_FEATURE_SKYWALK, align 4, !tbaa !6 %9 = and i32 %8, %7 %10 = call i32 @T_ASSERT_TRUE(i32 noundef %9, ptr noundef null) #3 %11 = load i32, ptr %1, align 4, !tbaa !6 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret i32 %11 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @T_EXPECT_POSIX_ZERO(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sysctlbyname(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @T_ASSERT_EQ(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @T_ASSERT_TRUE(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
darwin-xnu_tests_extr_net_tuntests.c_get_skywalk_features
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/arm64/extr_pcb.c_machine_thread_init.c' source_filename = "AnghaBench/darwin-xnu/osfmk/arm64/extr_pcb.c_machine_thread_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" @THREAD_CHUNK = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"arm debug state\00", align 1 @ads_zone = dso_local local_unnamed_addr global ptr null, align 8 @CONFIG_THREAD_MAX = dso_local local_unnamed_addr global i32 0, align 4 @USER_SS_ZONE_ALLOC_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"user save state\00", align 1 @user_ss_zone = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @machine_thread_init() local_unnamed_addr #0 { %1 = load i32, ptr @THREAD_CHUNK, align 4, !tbaa !5 %2 = shl i32 %1, 2 %3 = tail call ptr @zinit(i32 noundef 4, i32 noundef %2, i32 noundef %2, ptr noundef nonnull @.str) #2 store ptr %3, ptr @ads_zone, align 8, !tbaa !9 %4 = load i32, ptr @CONFIG_THREAD_MAX, align 4, !tbaa !5 %5 = shl i32 %4, 2 %6 = load i32, ptr @USER_SS_ZONE_ALLOC_SIZE, align 4, !tbaa !5 %7 = tail call ptr @zinit(i32 noundef 4, i32 noundef %5, i32 noundef %6, ptr noundef nonnull @.str.1) #2 store ptr %7, ptr @user_ss_zone, align 8, !tbaa !9 ret void } declare ptr @zinit(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/darwin-xnu/osfmk/arm64/extr_pcb.c_machine_thread_init.c' source_filename = "AnghaBench/darwin-xnu/osfmk/arm64/extr_pcb.c_machine_thread_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @THREAD_CHUNK = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"arm debug state\00", align 1 @ads_zone = common local_unnamed_addr global ptr null, align 8 @CONFIG_THREAD_MAX = common local_unnamed_addr global i32 0, align 4 @USER_SS_ZONE_ALLOC_SIZE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"user save state\00", align 1 @user_ss_zone = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @machine_thread_init() local_unnamed_addr #0 { %1 = load i32, ptr @THREAD_CHUNK, align 4, !tbaa !6 %2 = shl i32 %1, 2 %3 = tail call ptr @zinit(i32 noundef 4, i32 noundef %2, i32 noundef %2, ptr noundef nonnull @.str) #2 store ptr %3, ptr @ads_zone, align 8, !tbaa !10 %4 = load i32, ptr @CONFIG_THREAD_MAX, align 4, !tbaa !6 %5 = shl i32 %4, 2 %6 = load i32, ptr @USER_SS_ZONE_ALLOC_SIZE, align 4, !tbaa !6 %7 = tail call ptr @zinit(i32 noundef 4, i32 noundef %5, i32 noundef %6, ptr noundef nonnull @.str.1) #2 store ptr %7, ptr @user_ss_zone, align 8, !tbaa !10 ret void } declare ptr @zinit(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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}
darwin-xnu_osfmk_arm64_extr_pcb.c_machine_thread_init
; ModuleID = 'AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_robust_close.c' source_filename = "AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_robust_close.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SQLITE_IOERR_CLOSE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"close\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @robust_close], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @robust_close(ptr noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i64 @osClose(i32 noundef %1) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %14, label %6 6: ; preds = %3 %7 = load i32, ptr @SQLITE_IOERR_CLOSE, align 4, !tbaa !5 %8 = icmp eq ptr %0, null br i1 %8, label %11, label %9 9: ; preds = %6 %10 = load i32, ptr %0, align 4, !tbaa !9 br label %11 11: ; preds = %6, %9 %12 = phi i32 [ %10, %9 ], [ 0, %6 ] %13 = tail call i32 @unixLogErrorAtLine(i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %12, i32 noundef %2) #2 br label %14 14: ; preds = %11, %3 ret void } declare i64 @osClose(i32 noundef) local_unnamed_addr #1 declare i32 @unixLogErrorAtLine(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_3__", !6, i64 0}
; ModuleID = 'AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_robust_close.c' source_filename = "AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_robust_close.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SQLITE_IOERR_CLOSE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"close\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @robust_close], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @robust_close(ptr noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i64 @osClose(i32 noundef %1) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %14, label %6 6: ; preds = %3 %7 = load i32, ptr @SQLITE_IOERR_CLOSE, align 4, !tbaa !6 %8 = icmp eq ptr %0, null br i1 %8, label %11, label %9 9: ; preds = %6 %10 = load i32, ptr %0, align 4, !tbaa !10 br label %11 11: ; preds = %6, %9 %12 = phi i32 [ %10, %9 ], [ 0, %6 ] %13 = tail call i32 @unixLogErrorAtLine(i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %12, i32 noundef %2) #2 br label %14 14: ; preds = %11, %3 ret void } declare i64 @osClose(i32 noundef) local_unnamed_addr #1 declare i32 @unixLogErrorAtLine(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_3__", !7, i64 0}
Craft_deps_sqlite_extr_sqlite3.c_robust_close
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_cmn.c_wlc_phy_txpower_update_shm.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_cmn.c_wlc_phy_txpower_update_shm.c" target datalayout = "e-m:e-p270:32:32-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.brcms_phy = type { i32, i32, ptr, ptr, i64 } %struct.TYPE_2__ = type { i32, i32 } @M_TXPWR_MAX = dso_local local_unnamed_addr global i32 0, align 4 @M_TXPWR_N = dso_local local_unnamed_addr global i32 0, align 4 @NUM_TSSI_FRAMES = dso_local local_unnamed_addr global i32 0, align 4 @M_TXPWR_TARGET = dso_local local_unnamed_addr global i32 0, align 4 @M_TXPWR_CUR = dso_local local_unnamed_addr global i32 0, align 4 @TXP_FIRST_OFDM = dso_local local_unnamed_addr global i32 0, align 4 @TXP_LAST_OFDM = dso_local local_unnamed_addr global i32 0, align 4 @__const.wlc_phy_txpower_update_shm.ucode_ofdm_rates = private unnamed_addr constant [8 x i32] [i32 12, i32 18, i32 24, i32 36, i32 48, i32 72, i32 96, i32 108], align 16 @MHF2 = dso_local local_unnamed_addr global i32 0, align 4 @MHF2_HWPWRCTL = dso_local local_unnamed_addr global i32 0, align 4 @BRCM_BAND_ALL = dso_local local_unnamed_addr global i32 0, align 4 @M_OFDM_OFFSET = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @wlc_phy_txpower_update_shm(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @ISNPHY(ptr noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %117 4: ; preds = %1 %5 = getelementptr inbounds %struct.brcms_phy, ptr %0, i64 0, i32 3 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !12 %9 = icmp eq i32 %8, 0 br i1 %9, label %117, label %10 10: ; preds = %4 %11 = getelementptr inbounds %struct.brcms_phy, ptr %0, i64 0, i32 4 %12 = load i64, ptr %11, align 8, !tbaa !14 %13 = icmp eq i64 %12, 0 br i1 %13, label %79, label %14 14: ; preds = %10 %15 = load i32, ptr %6, align 4, !tbaa !15 %16 = load i32, ptr @M_TXPWR_MAX, align 4, !tbaa !16 %17 = tail call i32 @wlapi_bmac_write_shm(i32 noundef %15, i32 noundef %16, i32 noundef 63) #2 %18 = load ptr, ptr %5, align 8, !tbaa !5 %19 = load i32, ptr %18, align 4, !tbaa !15 %20 = load i32, ptr @M_TXPWR_N, align 4, !tbaa !16 %21 = load i32, ptr @NUM_TSSI_FRAMES, align 4, !tbaa !16 %22 = shl nuw i32 1, %21 %23 = tail call i32 @wlapi_bmac_write_shm(i32 noundef %19, i32 noundef %20, i32 noundef %22) #2 %24 = load ptr, ptr %5, align 8, !tbaa !5 %25 = load i32, ptr %24, align 4, !tbaa !15 %26 = load i32, ptr @M_TXPWR_TARGET, align 4, !tbaa !16 %27 = load i32, ptr %0, align 8, !tbaa !17 %28 = load i32, ptr @NUM_TSSI_FRAMES, align 4, !tbaa !16 %29 = shl i32 %27, %28 %30 = tail call i32 @wlapi_bmac_write_shm(i32 noundef %25, i32 noundef %26, i32 noundef %29) #2 %31 = load ptr, ptr %5, align 8, !tbaa !5 %32 = load i32, ptr %31, align 4, !tbaa !15 %33 = load i32, ptr @M_TXPWR_CUR, align 4, !tbaa !16 %34 = getelementptr inbounds %struct.brcms_phy, ptr %0, i64 0, i32 1 %35 = load i32, ptr %34, align 4, !tbaa !18 %36 = tail call i32 @wlapi_bmac_write_shm(i32 noundef %32, i32 noundef %33, i32 noundef %35) #2 %37 = load i32, ptr @TXP_FIRST_OFDM, align 4, !tbaa !16 %38 = load i32, ptr @TXP_LAST_OFDM, align 4, !tbaa !16 %39 = icmp sgt i32 %37, %38 br i1 %39, label %72, label %40 40: ; preds = %14 %41 = getelementptr inbounds %struct.brcms_phy, ptr %0, i64 0, i32 2 %42 = sext i32 %37 to i64 br label %43 43: ; preds = %40, %43 %44 = phi i64 [ %42, %40 ], [ %68, %43 ] %45 = load ptr, ptr %5, align 8, !tbaa !5 %46 = load i32, ptr %45, align 4, !tbaa !15 %47 = load i32, ptr @TXP_FIRST_OFDM, align 4, !tbaa !16 %48 = sext i32 %47 to i64 %49 = sub nsw i64 %44, %48 %50 = getelementptr inbounds [8 x i32], ptr @__const.wlc_phy_txpower_update_shm.ucode_ofdm_rates, i64 0, i64 %49 %51 = load i32, ptr %50, align 4, !tbaa !16 %52 = tail call i32 @wlapi_bmac_rate_shm_offset(i32 noundef %46, i32 noundef %51) #2 %53 = load ptr, ptr %5, align 8, !tbaa !5 %54 = load i32, ptr %53, align 4, !tbaa !15 %55 = add nsw i32 %52, 6 %56 = load ptr, ptr %41, align 8, !tbaa !19 %57 = getelementptr inbounds i32, ptr %56, i64 %44 %58 = load i32, ptr %57, align 4, !tbaa !16 %59 = tail call i32 @wlapi_bmac_write_shm(i32 noundef %54, i32 noundef %55, i32 noundef %58) #2 %60 = load ptr, ptr %5, align 8, !tbaa !5 %61 = load i32, ptr %60, align 4, !tbaa !15 %62 = add nsw i32 %52, 14 %63 = load ptr, ptr %41, align 8, !tbaa !19 %64 = getelementptr inbounds i32, ptr %63, i64 %44 %65 = load i32, ptr %64, align 4, !tbaa !16 %66 = sdiv i32 %65, -2 %67 = tail call i32 @wlapi_bmac_write_shm(i32 noundef %61, i32 noundef %62, i32 noundef %66) #2 %68 = add nsw i64 %44, 1 %69 = load i32, ptr @TXP_LAST_OFDM, align 4, !tbaa !16 %70 = sext i32 %69 to i64 %71 = icmp slt i64 %44, %70 br i1 %71, label %43, label %72, !llvm.loop !20 72: ; preds = %43, %14 %73 = load ptr, ptr %5, align 8, !tbaa !5 %74 = load i32, ptr %73, align 4, !tbaa !15 %75 = load i32, ptr @MHF2, align 4, !tbaa !16 %76 = load i32, ptr @MHF2_HWPWRCTL, align 4, !tbaa !16 %77 = load i32, ptr @BRCM_BAND_ALL, align 4, !tbaa !16 %78 = tail call i32 @wlapi_bmac_mhf(i32 noundef %74, i32 noundef %75, i32 noundef %76, i32 noundef %76, i32 noundef %77) #2 br label %117 79: ; preds = %10 %80 = load i32, ptr @TXP_FIRST_OFDM, align 4, !tbaa !16 %81 = load i32, ptr @TXP_LAST_OFDM, align 4, !tbaa !16 %82 = icmp sgt i32 %80, %81 %83 = getelementptr inbounds %struct.brcms_phy, ptr %0, i64 0, i32 2 br i1 %82, label %84, label %86 84: ; preds = %79 %85 = load ptr, ptr %83, align 8, !tbaa !19 br label %105 86: ; preds = %79 %87 = sext i32 %80 to i64 %88 = load ptr, ptr %83, align 8, !tbaa !19 br label %89 89: ; preds = %86, %89 %90 = phi ptr [ %88, %86 ], [ %96, %89 ] %91 = phi i64 [ %87, %86 ], [ %98, %89 ] %92 = getelementptr inbounds i32, ptr %90, i64 %91 %93 = load i32, ptr %92, align 4, !tbaa !16 %94 = tail call i64 @roundup(i32 noundef %93, i32 noundef 8) #2 %95 = trunc i64 %94 to i32 %96 = load ptr, ptr %83, align 8, !tbaa !19 %97 = getelementptr inbounds i32, ptr %96, i64 %91 store i32 %95, ptr %97, align 4, !tbaa !16 %98 = add nsw i64 %91, 1 %99 = load i32, ptr @TXP_LAST_OFDM, align 4, !tbaa !16 %100 = sext i32 %99 to i64 %101 = icmp slt i64 %91, %100 br i1 %101, label %89, label %102, !llvm.loop !22 102: ; preds = %89 %103 = load ptr, ptr %5, align 8, !tbaa !5 %104 = load i32, ptr @TXP_FIRST_OFDM, align 4, !tbaa !16 br label %105 105: ; preds = %84, %102 %106 = phi i32 [ %104, %102 ], [ %80, %84 ] %107 = phi ptr [ %96, %102 ], [ %85, %84 ] %108 = phi ptr [ %103, %102 ], [ %6, %84 ] %109 = load i32, ptr %108, align 4, !tbaa !15 %110 = load i32, ptr @M_OFDM_OFFSET, align 4, !tbaa !16 %111 = sext i32 %106 to i64 %112 = getelementptr inbounds i32, ptr %107, i64 %111 %113 = load i32, ptr %112, align 4, !tbaa !16 %114 = add nsw i32 %113, 7 %115 = ashr i32 %114, 3 %116 = tail call i32 @wlapi_bmac_write_shm(i32 noundef %109, i32 noundef %110, i32 noundef %115) #2 br label %117 117: ; preds = %72, %105, %4, %1 ret void } declare i64 @ISNPHY(ptr noundef) local_unnamed_addr #1 declare i32 @wlapi_bmac_write_shm(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wlapi_bmac_rate_shm_offset(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wlapi_bmac_mhf(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @roundup(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"brcms_phy", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !11, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !7, i64 4} !13 = !{!"TYPE_2__", !7, i64 0, !7, i64 4} !14 = !{!6, !11, i64 24} !15 = !{!13, !7, i64 0} !16 = !{!7, !7, i64 0} !17 = !{!6, !7, i64 0} !18 = !{!6, !7, i64 4} !19 = !{!6, !10, i64 8} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = distinct !{!22, !21}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_cmn.c_wlc_phy_txpower_update_shm.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_cmn.c_wlc_phy_txpower_update_shm.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @M_TXPWR_MAX = common local_unnamed_addr global i32 0, align 4 @M_TXPWR_N = common local_unnamed_addr global i32 0, align 4 @NUM_TSSI_FRAMES = common local_unnamed_addr global i32 0, align 4 @M_TXPWR_TARGET = common local_unnamed_addr global i32 0, align 4 @M_TXPWR_CUR = common local_unnamed_addr global i32 0, align 4 @TXP_FIRST_OFDM = common local_unnamed_addr global i32 0, align 4 @TXP_LAST_OFDM = common local_unnamed_addr global i32 0, align 4 @__const.wlc_phy_txpower_update_shm.ucode_ofdm_rates = private unnamed_addr constant [8 x i32] [i32 12, i32 18, i32 24, i32 36, i32 48, i32 72, i32 96, i32 108], align 4 @MHF2 = common local_unnamed_addr global i32 0, align 4 @MHF2_HWPWRCTL = common local_unnamed_addr global i32 0, align 4 @BRCM_BAND_ALL = common local_unnamed_addr global i32 0, align 4 @M_OFDM_OFFSET = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @wlc_phy_txpower_update_shm(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @ISNPHY(ptr noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %117 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = getelementptr inbounds i8, ptr %6, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !13 %9 = icmp eq i32 %8, 0 br i1 %9, label %117, label %10 10: ; preds = %4 %11 = getelementptr inbounds i8, ptr %0, i64 24 %12 = load i64, ptr %11, align 8, !tbaa !15 %13 = icmp eq i64 %12, 0 br i1 %13, label %79, label %14 14: ; preds = %10 %15 = load i32, ptr %6, align 4, !tbaa !16 %16 = load i32, ptr @M_TXPWR_MAX, align 4, !tbaa !17 %17 = tail call i32 @wlapi_bmac_write_shm(i32 noundef %15, i32 noundef %16, i32 noundef 63) #2 %18 = load ptr, ptr %5, align 8, !tbaa !6 %19 = load i32, ptr %18, align 4, !tbaa !16 %20 = load i32, ptr @M_TXPWR_N, align 4, !tbaa !17 %21 = load i32, ptr @NUM_TSSI_FRAMES, align 4, !tbaa !17 %22 = shl nuw i32 1, %21 %23 = tail call i32 @wlapi_bmac_write_shm(i32 noundef %19, i32 noundef %20, i32 noundef %22) #2 %24 = load ptr, ptr %5, align 8, !tbaa !6 %25 = load i32, ptr %24, align 4, !tbaa !16 %26 = load i32, ptr @M_TXPWR_TARGET, align 4, !tbaa !17 %27 = load i32, ptr %0, align 8, !tbaa !18 %28 = load i32, ptr @NUM_TSSI_FRAMES, align 4, !tbaa !17 %29 = shl i32 %27, %28 %30 = tail call i32 @wlapi_bmac_write_shm(i32 noundef %25, i32 noundef %26, i32 noundef %29) #2 %31 = load ptr, ptr %5, align 8, !tbaa !6 %32 = load i32, ptr %31, align 4, !tbaa !16 %33 = load i32, ptr @M_TXPWR_CUR, align 4, !tbaa !17 %34 = getelementptr inbounds i8, ptr %0, i64 4 %35 = load i32, ptr %34, align 4, !tbaa !19 %36 = tail call i32 @wlapi_bmac_write_shm(i32 noundef %32, i32 noundef %33, i32 noundef %35) #2 %37 = load i32, ptr @TXP_FIRST_OFDM, align 4, !tbaa !17 %38 = load i32, ptr @TXP_LAST_OFDM, align 4, !tbaa !17 %39 = icmp sgt i32 %37, %38 br i1 %39, label %72, label %40 40: ; preds = %14 %41 = getelementptr inbounds i8, ptr %0, i64 8 %42 = sext i32 %37 to i64 br label %43 43: ; preds = %40, %43 %44 = phi i64 [ %42, %40 ], [ %68, %43 ] %45 = load ptr, ptr %5, align 8, !tbaa !6 %46 = load i32, ptr %45, align 4, !tbaa !16 %47 = load i32, ptr @TXP_FIRST_OFDM, align 4, !tbaa !17 %48 = sext i32 %47 to i64 %49 = sub nsw i64 %44, %48 %50 = getelementptr inbounds [8 x i32], ptr @__const.wlc_phy_txpower_update_shm.ucode_ofdm_rates, i64 0, i64 %49 %51 = load i32, ptr %50, align 4, !tbaa !17 %52 = tail call i32 @wlapi_bmac_rate_shm_offset(i32 noundef %46, i32 noundef %51) #2 %53 = load ptr, ptr %5, align 8, !tbaa !6 %54 = load i32, ptr %53, align 4, !tbaa !16 %55 = add nsw i32 %52, 6 %56 = load ptr, ptr %41, align 8, !tbaa !20 %57 = getelementptr inbounds i32, ptr %56, i64 %44 %58 = load i32, ptr %57, align 4, !tbaa !17 %59 = tail call i32 @wlapi_bmac_write_shm(i32 noundef %54, i32 noundef %55, i32 noundef %58) #2 %60 = load ptr, ptr %5, align 8, !tbaa !6 %61 = load i32, ptr %60, align 4, !tbaa !16 %62 = add nsw i32 %52, 14 %63 = load ptr, ptr %41, align 8, !tbaa !20 %64 = getelementptr inbounds i32, ptr %63, i64 %44 %65 = load i32, ptr %64, align 4, !tbaa !17 %66 = sdiv i32 %65, -2 %67 = tail call i32 @wlapi_bmac_write_shm(i32 noundef %61, i32 noundef %62, i32 noundef %66) #2 %68 = add nsw i64 %44, 1 %69 = load i32, ptr @TXP_LAST_OFDM, align 4, !tbaa !17 %70 = sext i32 %69 to i64 %71 = icmp slt i64 %44, %70 br i1 %71, label %43, label %72, !llvm.loop !21 72: ; preds = %43, %14 %73 = load ptr, ptr %5, align 8, !tbaa !6 %74 = load i32, ptr %73, align 4, !tbaa !16 %75 = load i32, ptr @MHF2, align 4, !tbaa !17 %76 = load i32, ptr @MHF2_HWPWRCTL, align 4, !tbaa !17 %77 = load i32, ptr @BRCM_BAND_ALL, align 4, !tbaa !17 %78 = tail call i32 @wlapi_bmac_mhf(i32 noundef %74, i32 noundef %75, i32 noundef %76, i32 noundef %76, i32 noundef %77) #2 br label %117 79: ; preds = %10 %80 = load i32, ptr @TXP_FIRST_OFDM, align 4, !tbaa !17 %81 = load i32, ptr @TXP_LAST_OFDM, align 4, !tbaa !17 %82 = icmp sgt i32 %80, %81 %83 = getelementptr inbounds i8, ptr %0, i64 8 br i1 %82, label %84, label %86 84: ; preds = %79 %85 = load ptr, ptr %83, align 8, !tbaa !20 br label %105 86: ; preds = %79 %87 = sext i32 %80 to i64 %88 = load ptr, ptr %83, align 8, !tbaa !20 br label %89 89: ; preds = %86, %89 %90 = phi ptr [ %88, %86 ], [ %96, %89 ] %91 = phi i64 [ %87, %86 ], [ %98, %89 ] %92 = getelementptr inbounds i32, ptr %90, i64 %91 %93 = load i32, ptr %92, align 4, !tbaa !17 %94 = tail call i64 @roundup(i32 noundef %93, i32 noundef 8) #2 %95 = trunc i64 %94 to i32 %96 = load ptr, ptr %83, align 8, !tbaa !20 %97 = getelementptr inbounds i32, ptr %96, i64 %91 store i32 %95, ptr %97, align 4, !tbaa !17 %98 = add nsw i64 %91, 1 %99 = load i32, ptr @TXP_LAST_OFDM, align 4, !tbaa !17 %100 = sext i32 %99 to i64 %101 = icmp slt i64 %91, %100 br i1 %101, label %89, label %102, !llvm.loop !23 102: ; preds = %89 %103 = load ptr, ptr %5, align 8, !tbaa !6 %104 = load i32, ptr @TXP_FIRST_OFDM, align 4, !tbaa !17 br label %105 105: ; preds = %84, %102 %106 = phi i32 [ %104, %102 ], [ %80, %84 ] %107 = phi ptr [ %96, %102 ], [ %85, %84 ] %108 = phi ptr [ %103, %102 ], [ %6, %84 ] %109 = load i32, ptr %108, align 4, !tbaa !16 %110 = load i32, ptr @M_OFDM_OFFSET, align 4, !tbaa !17 %111 = sext i32 %106 to i64 %112 = getelementptr inbounds i32, ptr %107, i64 %111 %113 = load i32, ptr %112, align 4, !tbaa !17 %114 = add nsw i32 %113, 7 %115 = ashr i32 %114, 3 %116 = tail call i32 @wlapi_bmac_write_shm(i32 noundef %109, i32 noundef %110, i32 noundef %115) #2 br label %117 117: ; preds = %72, %105, %4, %1 ret void } declare i64 @ISNPHY(ptr noundef) local_unnamed_addr #1 declare i32 @wlapi_bmac_write_shm(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wlapi_bmac_rate_shm_offset(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wlapi_bmac_mhf(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @roundup(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 16} !7 = !{!"brcms_phy", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !12, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!14, !8, i64 4} !14 = !{!"TYPE_2__", !8, i64 0, !8, i64 4} !15 = !{!7, !12, i64 24} !16 = !{!14, !8, i64 0} !17 = !{!8, !8, i64 0} !18 = !{!7, !8, i64 0} !19 = !{!7, !8, i64 4} !20 = !{!7, !11, i64 8} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = distinct !{!23, !22}
fastsocket_kernel_drivers_net_wireless_brcm80211_brcmsmac_phy_extr_phy_cmn.c_wlc_phy_txpower_update_shm
; ModuleID = 'AnghaBench/linux/drivers/media/usb/stk1160/extr_stk1160-v4l.c_stop_streaming.c' source_filename = "AnghaBench/linux/drivers/media/usb/stk1160/extr_stk1160-v4l.c_stop_streaming.c" target datalayout = "e-m:e-p270:32:32-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 @stop_streaming], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @stop_streaming(ptr noundef %0) #0 { %2 = tail call ptr @vb2_get_drv_priv(ptr noundef %0) #2 %3 = tail call i32 @stk1160_stop_streaming(ptr noundef %2) #2 ret void } declare ptr @vb2_get_drv_priv(ptr noundef) local_unnamed_addr #1 declare i32 @stk1160_stop_streaming(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/media/usb/stk1160/extr_stk1160-v4l.c_stop_streaming.c' source_filename = "AnghaBench/linux/drivers/media/usb/stk1160/extr_stk1160-v4l.c_stop_streaming.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 @stop_streaming], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @stop_streaming(ptr noundef %0) #0 { %2 = tail call ptr @vb2_get_drv_priv(ptr noundef %0) #2 %3 = tail call i32 @stk1160_stop_streaming(ptr noundef %2) #2 ret void } declare ptr @vb2_get_drv_priv(ptr noundef) local_unnamed_addr #1 declare i32 @stk1160_stop_streaming(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_media_usb_stk1160_extr_stk1160-v4l.c_stop_streaming
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_usb.c_brcmf_usb_probe_cb.c' source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_usb.c_brcmf_usb_probe_cb.c" target datalayout = "e-m:e-p270:32:32-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.brcmf_bus = type { i32, i32, i32, i32, ptr, i32, ptr, %struct.TYPE_2__ } %struct.TYPE_2__ = type { ptr } %struct.brcmf_usbdev = type { i32, i32, ptr } %struct.brcmf_usbdev_info = type { ptr, i32, i32 } @USB = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"Enter\0A\00", align 1 @BRCMF_USB_NRXQ = dso_local local_unnamed_addr global i32 0, align 4 @BRCMF_USB_NTXQ = dso_local local_unnamed_addr global i32 0, align 4 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @brcmf_usb_bus_ops = dso_local global i32 0, align 4 @BRCMF_PROTO_BCDC = dso_local local_unnamed_addr global i32 0, align 4 @BRCMF_BUSTYPE_USB = dso_local local_unnamed_addr global i32 0, align 4 @brcmf_usb_probe_phase2 = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"firmware request failed: %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @brcmf_usb_probe_cb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @brcmf_usb_probe_cb(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr @USB, align 4, !tbaa !11 %4 = tail call i32 @brcmf_dbg(i32 noundef %3, ptr noundef nonnull @.str) #2 %5 = load i32, ptr @BRCMF_USB_NRXQ, align 4, !tbaa !11 %6 = load i32, ptr @BRCMF_USB_NTXQ, align 4, !tbaa !11 %7 = tail call ptr @brcmf_usb_attach(ptr noundef nonnull %0, i32 noundef %5, i32 noundef %6) #2 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr @ENODEV, align 4, !tbaa !11 %11 = sub nsw i32 0, %10 br label %74 12: ; preds = %1 %13 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !11 %14 = tail call ptr @kzalloc(i32 noundef 48, i32 noundef %13) #2 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %19 16: ; preds = %12 %17 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %18 = sub nsw i32 0, %17 br label %68 19: ; preds = %12 %20 = getelementptr inbounds %struct.brcmf_bus, ptr %14, i64 0, i32 4 store ptr %2, ptr %20, align 8, !tbaa !12 %21 = getelementptr inbounds %struct.brcmf_usbdev, ptr %7, i64 0, i32 2 store ptr %14, ptr %21, align 8, !tbaa !15 %22 = getelementptr inbounds %struct.brcmf_bus, ptr %14, i64 0, i32 7 store ptr %7, ptr %22, align 8, !tbaa !17 %23 = tail call i32 @dev_set_drvdata(ptr noundef %2, ptr noundef nonnull %14) #2 %24 = getelementptr inbounds %struct.brcmf_bus, ptr %14, i64 0, i32 6 store ptr @brcmf_usb_bus_ops, ptr %24, align 8, !tbaa !18 %25 = load i32, ptr @BRCMF_PROTO_BCDC, align 4, !tbaa !11 %26 = getelementptr inbounds %struct.brcmf_bus, ptr %14, i64 0, i32 5 store i32 %25, ptr %26, align 8, !tbaa !19 store i32 1, ptr %14, align 8, !tbaa !20 %27 = load ptr, ptr %20, align 8, !tbaa !12 %28 = load i32, ptr @BRCMF_BUSTYPE_USB, align 4, !tbaa !11 %29 = getelementptr inbounds %struct.brcmf_usbdev, ptr %7, i64 0, i32 1 %30 = load i32, ptr %29, align 4, !tbaa !21 %31 = load i32, ptr %7, align 8, !tbaa !22 %32 = tail call i32 @brcmf_get_module_param(ptr noundef %27, i32 noundef %28, i32 noundef %30, i32 noundef %31) #2 %33 = getelementptr inbounds %struct.brcmf_usbdev_info, ptr %0, i64 0, i32 2 store i32 %32, ptr %33, align 4, !tbaa !23 %34 = icmp eq i32 %32, 0 br i1 %34, label %35, label %38 35: ; preds = %19 %36 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %37 = sub nsw i32 0, %36 br label %68 38: ; preds = %19 %39 = tail call i32 @brcmf_usb_dlneeded(ptr noundef nonnull %0) #2 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %53 41: ; preds = %38 %42 = load ptr, ptr %0, align 8, !tbaa !5 %43 = load i32, ptr %33, align 4, !tbaa !23 %44 = tail call i32 @brcmf_alloc(ptr noundef %42, i32 noundef %43) #2 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %68 46: ; preds = %41 %47 = load ptr, ptr %0, align 8, !tbaa !5 %48 = tail call i32 @brcmf_attach(ptr noundef %47) #2 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %68 50: ; preds = %46 %51 = getelementptr inbounds %struct.brcmf_usbdev_info, ptr %0, i64 0, i32 1 %52 = tail call i32 @complete(ptr noundef nonnull %51) #2 br label %74 53: ; preds = %38 %54 = getelementptr inbounds %struct.brcmf_bus, ptr %14, i64 0, i32 2 %55 = load <2 x i32>, ptr %7, align 8, !tbaa !11 store <2 x i32> %55, ptr %54, align 8, !tbaa !11 %56 = tail call ptr @brcmf_usb_prepare_fw_request(ptr noundef nonnull %0) #2 %57 = icmp eq ptr %56, null br i1 %57, label %58, label %61 58: ; preds = %53 %59 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %60 = sub nsw i32 0, %59 br label %68 61: ; preds = %53 %62 = load i32, ptr @brcmf_usb_probe_phase2, align 4, !tbaa !11 %63 = tail call i32 @brcmf_fw_get_firmwares(ptr noundef %2, ptr noundef nonnull %56, i32 noundef %62) #2 %64 = icmp eq i32 %63, 0 br i1 %64, label %74, label %65 65: ; preds = %61 %66 = tail call i32 @brcmf_err(ptr noundef nonnull @.str.1, i32 noundef %63) #2 %67 = tail call i32 @kfree(ptr noundef nonnull %56) #2 br label %68 68: ; preds = %46, %41, %65, %58, %35, %16 %69 = phi i32 [ %63, %65 ], [ %60, %58 ], [ %44, %41 ], [ %48, %46 ], [ %37, %35 ], [ %18, %16 ] %70 = load ptr, ptr %0, align 8, !tbaa !5 %71 = tail call i32 @brcmf_free(ptr noundef %70) #2 %72 = tail call i32 @kfree(ptr noundef %14) #2 %73 = tail call i32 @brcmf_usb_detach(ptr noundef nonnull %0) #2 br label %74 74: ; preds = %61, %68, %50, %9 %75 = phi i32 [ %69, %68 ], [ 0, %50 ], [ %11, %9 ], [ 0, %61 ] ret i32 %75 } declare i32 @brcmf_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @brcmf_usb_attach(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @brcmf_get_module_param(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @brcmf_usb_dlneeded(ptr noundef) local_unnamed_addr #1 declare i32 @brcmf_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @brcmf_attach(ptr noundef) local_unnamed_addr #1 declare i32 @complete(ptr noundef) local_unnamed_addr #1 declare ptr @brcmf_usb_prepare_fw_request(ptr noundef) local_unnamed_addr #1 declare i32 @brcmf_fw_get_firmwares(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @brcmf_err(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @brcmf_free(ptr noundef) local_unnamed_addr #1 declare i32 @brcmf_usb_detach(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 = !{!"brcmf_usbdev_info", !7, i64 0, !10, i64 8, !10, i64 12} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!13, !7, i64 16} !13 = !{!"brcmf_bus", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !7, i64 16, !10, i64 24, !7, i64 32, !14, i64 40} !14 = !{!"TYPE_2__", !7, i64 0} !15 = !{!16, !7, i64 8} !16 = !{!"brcmf_usbdev", !10, i64 0, !10, i64 4, !7, i64 8} !17 = !{!13, !7, i64 40} !18 = !{!13, !7, i64 32} !19 = !{!13, !10, i64 24} !20 = !{!13, !10, i64 0} !21 = !{!16, !10, i64 4} !22 = !{!16, !10, i64 0} !23 = !{!6, !10, i64 12}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_usb.c_brcmf_usb_probe_cb.c' source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_usb.c_brcmf_usb_probe_cb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @USB = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"Enter\0A\00", align 1 @BRCMF_USB_NRXQ = common local_unnamed_addr global i32 0, align 4 @BRCMF_USB_NTXQ = common local_unnamed_addr global i32 0, align 4 @ENODEV = common local_unnamed_addr global i32 0, align 4 @GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @brcmf_usb_bus_ops = common global i32 0, align 4 @BRCMF_PROTO_BCDC = common local_unnamed_addr global i32 0, align 4 @BRCMF_BUSTYPE_USB = common local_unnamed_addr global i32 0, align 4 @brcmf_usb_probe_phase2 = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"firmware request failed: %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @brcmf_usb_probe_cb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @brcmf_usb_probe_cb(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr @USB, align 4, !tbaa !12 %4 = tail call i32 @brcmf_dbg(i32 noundef %3, ptr noundef nonnull @.str) #2 %5 = load i32, ptr @BRCMF_USB_NRXQ, align 4, !tbaa !12 %6 = load i32, ptr @BRCMF_USB_NTXQ, align 4, !tbaa !12 %7 = tail call ptr @brcmf_usb_attach(ptr noundef nonnull %0, i32 noundef %5, i32 noundef %6) #2 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr @ENODEV, align 4, !tbaa !12 %11 = sub nsw i32 0, %10 br label %74 12: ; preds = %1 %13 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !12 %14 = tail call ptr @kzalloc(i32 noundef 48, i32 noundef %13) #2 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %19 16: ; preds = %12 %17 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %18 = sub nsw i32 0, %17 br label %68 19: ; preds = %12 %20 = getelementptr inbounds i8, ptr %14, i64 16 store ptr %2, ptr %20, align 8, !tbaa !13 %21 = getelementptr inbounds i8, ptr %7, i64 8 store ptr %14, ptr %21, align 8, !tbaa !16 %22 = getelementptr inbounds i8, ptr %14, i64 40 store ptr %7, ptr %22, align 8, !tbaa !18 %23 = tail call i32 @dev_set_drvdata(ptr noundef %2, ptr noundef nonnull %14) #2 %24 = getelementptr inbounds i8, ptr %14, i64 32 store ptr @brcmf_usb_bus_ops, ptr %24, align 8, !tbaa !19 %25 = load i32, ptr @BRCMF_PROTO_BCDC, align 4, !tbaa !12 %26 = getelementptr inbounds i8, ptr %14, i64 24 store i32 %25, ptr %26, align 8, !tbaa !20 store i32 1, ptr %14, align 8, !tbaa !21 %27 = load ptr, ptr %20, align 8, !tbaa !13 %28 = load i32, ptr @BRCMF_BUSTYPE_USB, align 4, !tbaa !12 %29 = getelementptr inbounds i8, ptr %7, i64 4 %30 = load i32, ptr %29, align 4, !tbaa !22 %31 = load i32, ptr %7, align 8, !tbaa !23 %32 = tail call i32 @brcmf_get_module_param(ptr noundef %27, i32 noundef %28, i32 noundef %30, i32 noundef %31) #2 %33 = getelementptr inbounds i8, ptr %0, i64 12 store i32 %32, ptr %33, align 4, !tbaa !24 %34 = icmp eq i32 %32, 0 br i1 %34, label %35, label %38 35: ; preds = %19 %36 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %37 = sub nsw i32 0, %36 br label %68 38: ; preds = %19 %39 = tail call i32 @brcmf_usb_dlneeded(ptr noundef nonnull %0) #2 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %53 41: ; preds = %38 %42 = load ptr, ptr %0, align 8, !tbaa !6 %43 = load i32, ptr %33, align 4, !tbaa !24 %44 = tail call i32 @brcmf_alloc(ptr noundef %42, i32 noundef %43) #2 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %68 46: ; preds = %41 %47 = load ptr, ptr %0, align 8, !tbaa !6 %48 = tail call i32 @brcmf_attach(ptr noundef %47) #2 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %68 50: ; preds = %46 %51 = getelementptr inbounds i8, ptr %0, i64 8 %52 = tail call i32 @complete(ptr noundef nonnull %51) #2 br label %74 53: ; preds = %38 %54 = getelementptr inbounds i8, ptr %14, i64 8 %55 = load <2 x i32>, ptr %7, align 8, !tbaa !12 store <2 x i32> %55, ptr %54, align 8, !tbaa !12 %56 = tail call ptr @brcmf_usb_prepare_fw_request(ptr noundef nonnull %0) #2 %57 = icmp eq ptr %56, null br i1 %57, label %58, label %61 58: ; preds = %53 %59 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %60 = sub nsw i32 0, %59 br label %68 61: ; preds = %53 %62 = load i32, ptr @brcmf_usb_probe_phase2, align 4, !tbaa !12 %63 = tail call i32 @brcmf_fw_get_firmwares(ptr noundef %2, ptr noundef nonnull %56, i32 noundef %62) #2 %64 = icmp eq i32 %63, 0 br i1 %64, label %74, label %65 65: ; preds = %61 %66 = tail call i32 @brcmf_err(ptr noundef nonnull @.str.1, i32 noundef %63) #2 %67 = tail call i32 @kfree(ptr noundef nonnull %56) #2 br label %68 68: ; preds = %46, %41, %65, %58, %35, %16 %69 = phi i32 [ %63, %65 ], [ %60, %58 ], [ %44, %41 ], [ %48, %46 ], [ %37, %35 ], [ %18, %16 ] %70 = load ptr, ptr %0, align 8, !tbaa !6 %71 = tail call i32 @brcmf_free(ptr noundef %70) #2 %72 = tail call i32 @kfree(ptr noundef %14) #2 %73 = tail call i32 @brcmf_usb_detach(ptr noundef nonnull %0) #2 br label %74 74: ; preds = %61, %68, %50, %9 %75 = phi i32 [ %69, %68 ], [ 0, %50 ], [ %11, %9 ], [ 0, %61 ] ret i32 %75 } declare i32 @brcmf_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @brcmf_usb_attach(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @brcmf_get_module_param(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @brcmf_usb_dlneeded(ptr noundef) local_unnamed_addr #1 declare i32 @brcmf_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @brcmf_attach(ptr noundef) local_unnamed_addr #1 declare i32 @complete(ptr noundef) local_unnamed_addr #1 declare ptr @brcmf_usb_prepare_fw_request(ptr noundef) local_unnamed_addr #1 declare i32 @brcmf_fw_get_firmwares(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @brcmf_err(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @brcmf_free(ptr noundef) local_unnamed_addr #1 declare i32 @brcmf_usb_detach(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 = !{!"brcmf_usbdev_info", !8, i64 0, !11, i64 8, !11, i64 12} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !8, i64 16} !14 = !{!"brcmf_bus", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !8, i64 16, !11, i64 24, !8, i64 32, !15, i64 40} !15 = !{!"TYPE_2__", !8, i64 0} !16 = !{!17, !8, i64 8} !17 = !{!"brcmf_usbdev", !11, i64 0, !11, i64 4, !8, i64 8} !18 = !{!14, !8, i64 40} !19 = !{!14, !8, i64 32} !20 = !{!14, !11, i64 24} !21 = !{!14, !11, i64 0} !22 = !{!17, !11, i64 4} !23 = !{!17, !11, i64 0} !24 = !{!7, !11, i64 12}
linux_drivers_net_wireless_broadcom_brcm80211_brcmfmac_extr_usb.c_brcmf_usb_probe_cb
; ModuleID = 'AnghaBench/zfs/module/lua/extr_ldo.c_callhook.c' source_filename = "AnghaBench/zfs/module/lua/extr_ldo.c_callhook.c" target datalayout = "e-m:e-p270:32:32-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_12__ = type { %struct.TYPE_9__, i32, ptr } %struct.TYPE_9__ = type { %struct.TYPE_8__ } %struct.TYPE_8__ = type { i32 } @LUA_HOOKCALL = dso_local local_unnamed_addr global i32 0, align 4 @OP_TAILCALL = dso_local local_unnamed_addr global i64 0, align 8 @CIST_TAIL = dso_local local_unnamed_addr global i32 0, align 4 @LUA_HOOKTAILCALL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @callhook], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @callhook(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = load i32, ptr @LUA_HOOKCALL, align 4, !tbaa !5 %4 = load i32, ptr %1, align 8, !tbaa !9 %5 = add nsw i32 %4, 1 store i32 %5, ptr %1, align 8, !tbaa !9 %6 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 2 %7 = load ptr, ptr %6, align 8, !tbaa !14 %8 = tail call i64 @isLua(ptr noundef %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %24, label %10 10: ; preds = %2 %11 = load ptr, ptr %6, align 8, !tbaa !14 %12 = load ptr, ptr %11, align 8, !tbaa !15 %13 = getelementptr inbounds i32, ptr %12, i64 -1 %14 = load i32, ptr %13, align 4, !tbaa !5 %15 = tail call i64 @GET_OPCODE(i32 noundef %14) #2 %16 = load i64, ptr @OP_TAILCALL, align 8, !tbaa !19 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %24 18: ; preds = %10 %19 = load i32, ptr @CIST_TAIL, align 4, !tbaa !5 %20 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 1 %21 = load i32, ptr %20, align 4, !tbaa !21 %22 = or i32 %21, %19 store i32 %22, ptr %20, align 4, !tbaa !21 %23 = load i32, ptr @LUA_HOOKTAILCALL, align 4, !tbaa !5 br label %24 24: ; preds = %18, %10, %2 %25 = phi i32 [ %23, %18 ], [ %3, %10 ], [ %3, %2 ] %26 = tail call i32 @luaD_hook(ptr noundef %0, i32 noundef %25, i32 noundef -1) #2 %27 = load i32, ptr %1, align 8, !tbaa !9 %28 = add nsw i32 %27, -1 store i32 %28, ptr %1, align 8, !tbaa !9 ret void } declare i64 @isLua(ptr noundef) local_unnamed_addr #1 declare i64 @GET_OPCODE(i32 noundef) local_unnamed_addr #1 declare i32 @luaD_hook(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_12__", !11, i64 0, !6, i64 4, !13, i64 8} !11 = !{!"TYPE_9__", !12, i64 0} !12 = !{!"TYPE_8__", !6, i64 0} !13 = !{!"any pointer", !7, i64 0} !14 = !{!10, !13, i64 8} !15 = !{!16, !13, i64 0} !16 = !{!"TYPE_13__", !17, i64 0} !17 = !{!"TYPE_11__", !18, i64 0} !18 = !{!"TYPE_10__", !13, i64 0} !19 = !{!20, !20, i64 0} !20 = !{!"long", !7, i64 0} !21 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/zfs/module/lua/extr_ldo.c_callhook.c' source_filename = "AnghaBench/zfs/module/lua/extr_ldo.c_callhook.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LUA_HOOKCALL = common local_unnamed_addr global i32 0, align 4 @OP_TAILCALL = common local_unnamed_addr global i64 0, align 8 @CIST_TAIL = common local_unnamed_addr global i32 0, align 4 @LUA_HOOKTAILCALL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @callhook], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @callhook(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = load i32, ptr @LUA_HOOKCALL, align 4, !tbaa !6 %4 = load i32, ptr %1, align 8, !tbaa !10 %5 = add nsw i32 %4, 1 store i32 %5, ptr %1, align 8, !tbaa !10 %6 = getelementptr inbounds i8, ptr %1, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !15 %8 = tail call i64 @isLua(ptr noundef %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %24, label %10 10: ; preds = %2 %11 = load ptr, ptr %6, align 8, !tbaa !15 %12 = load ptr, ptr %11, align 8, !tbaa !16 %13 = getelementptr inbounds i8, ptr %12, i64 -4 %14 = load i32, ptr %13, align 4, !tbaa !6 %15 = tail call i64 @GET_OPCODE(i32 noundef %14) #2 %16 = load i64, ptr @OP_TAILCALL, align 8, !tbaa !20 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %24 18: ; preds = %10 %19 = load i32, ptr @CIST_TAIL, align 4, !tbaa !6 %20 = getelementptr inbounds i8, ptr %1, i64 4 %21 = load i32, ptr %20, align 4, !tbaa !22 %22 = or i32 %21, %19 store i32 %22, ptr %20, align 4, !tbaa !22 %23 = load i32, ptr @LUA_HOOKTAILCALL, align 4, !tbaa !6 br label %24 24: ; preds = %18, %10, %2 %25 = phi i32 [ %23, %18 ], [ %3, %10 ], [ %3, %2 ] %26 = tail call i32 @luaD_hook(ptr noundef %0, i32 noundef %25, i32 noundef -1) #2 %27 = load i32, ptr %1, align 8, !tbaa !10 %28 = add nsw i32 %27, -1 store i32 %28, ptr %1, align 8, !tbaa !10 ret void } declare i64 @isLua(ptr noundef) local_unnamed_addr #1 declare i64 @GET_OPCODE(i32 noundef) local_unnamed_addr #1 declare i32 @luaD_hook(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_12__", !12, i64 0, !7, i64 4, !14, i64 8} !12 = !{!"TYPE_9__", !13, i64 0} !13 = !{!"TYPE_8__", !7, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!11, !14, i64 8} !16 = !{!17, !14, i64 0} !17 = !{!"TYPE_13__", !18, i64 0} !18 = !{!"TYPE_11__", !19, i64 0} !19 = !{!"TYPE_10__", !14, i64 0} !20 = !{!21, !21, i64 0} !21 = !{!"long", !8, i64 0} !22 = !{!11, !7, i64 4}
zfs_module_lua_extr_ldo.c_callhook
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/platform/win32/extr_plat.c_pemu_sound_wait.c' source_filename = "AnghaBench/Provenance/Cores/PicoDrive/platform/win32/extr_plat.c_pemu_sound_wait.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local void @pemu_sound_wait() local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/platform/win32/extr_plat.c_pemu_sound_wait.c' source_filename = "AnghaBench/Provenance/Cores/PicoDrive/platform/win32/extr_plat.c_pemu_sound_wait.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define void @pemu_sound_wait() local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
Provenance_Cores_PicoDrive_platform_win32_extr_plat.c_pemu_sound_wait
; ModuleID = 'AnghaBench/freebsd/sys/mips/atheros/extr_qca955x_pci.c_qca955x_pci_read_ivar.c' source_filename = "AnghaBench/freebsd/sys/mips/atheros/extr_qca955x_pci.c_qca955x_pci_read_ivar.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @qca955x_pci_read_ivar], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @qca955x_pci_read_ivar(i32 noundef %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #0 { %5 = tail call ptr @device_get_softc(i32 noundef %0) #2 switch i32 %2, label %9 [ i32 128, label %6 i32 129, label %7 ] 6: ; preds = %4 store i64 0, ptr %3, align 8, !tbaa !5 br label %11 7: ; preds = %4 %8 = load i64, ptr %5, align 8, !tbaa !9 store i64 %8, ptr %3, align 8, !tbaa !5 br label %11 9: ; preds = %4 %10 = load i32, ptr @ENOENT, align 4, !tbaa !11 br label %11 11: ; preds = %9, %7, %6 %12 = phi i32 [ %10, %9 ], [ 0, %7 ], [ 0, %6 ] ret i32 %12 } declare ptr @device_get_softc(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, !6, i64 0} !10 = !{!"ar71xx_pci_softc", !6, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/mips/atheros/extr_qca955x_pci.c_qca955x_pci_read_ivar.c' source_filename = "AnghaBench/freebsd/sys/mips/atheros/extr_qca955x_pci.c_qca955x_pci_read_ivar.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOENT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @qca955x_pci_read_ivar], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @qca955x_pci_read_ivar(i32 noundef %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #0 { %5 = tail call ptr @device_get_softc(i32 noundef %0) #2 switch i32 %2, label %9 [ i32 128, label %6 i32 129, label %7 ] 6: ; preds = %4 store i64 0, ptr %3, align 8, !tbaa !6 br label %11 7: ; preds = %4 %8 = load i64, ptr %5, align 8, !tbaa !10 store i64 %8, ptr %3, align 8, !tbaa !6 br label %11 9: ; preds = %4 %10 = load i32, ptr @ENOENT, align 4, !tbaa !12 br label %11 11: ; preds = %9, %7, %6 %12 = phi i32 [ %10, %9 ], [ 0, %7 ], [ 0, %6 ] ret i32 %12 } declare ptr @device_get_softc(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, !7, i64 0} !11 = !{!"ar71xx_pci_softc", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
freebsd_sys_mips_atheros_extr_qca955x_pci.c_qca955x_pci_read_ivar
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_ciph.c_SSL_CIPHER_get_bits.c' source_filename = "AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_ciph.c_SSL_CIPHER_get_bits.c" target datalayout = "e-m:e-p270:32:32-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 { i64, i64 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define dso_local i32 @SSL_CIPHER_get_bits(ptr noundef readonly %0, ptr noundef writeonly %1) local_unnamed_addr #0 { %3 = icmp eq ptr %0, null br i1 %3, label %13, label %4 4: ; preds = %2 %5 = icmp eq ptr %1, null br i1 %5, label %10, label %6 6: ; preds = %4 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %8 = load i64, ptr %7, align 8, !tbaa !5 %9 = trunc i64 %8 to i32 store i32 %9, ptr %1, align 4, !tbaa !10 br label %10 10: ; preds = %6, %4 %11 = load i64, ptr %0, align 8, !tbaa !12 %12 = trunc i64 %11 to i32 br label %13 13: ; preds = %10, %2 %14 = phi i32 [ %12, %10 ], [ 0, %2 ] ret i32 %14 } 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 8} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_ciph.c_SSL_CIPHER_get_bits.c' source_filename = "AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_ciph.c_SSL_CIPHER_get_bits.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define i32 @SSL_CIPHER_get_bits(ptr noundef readonly %0, ptr noundef writeonly %1) local_unnamed_addr #0 { %3 = icmp eq ptr %0, null br i1 %3, label %13, label %4 4: ; preds = %2 %5 = icmp eq ptr %1, null br i1 %5, label %10, label %6 6: ; preds = %4 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i64, ptr %7, align 8, !tbaa !6 %9 = trunc i64 %8 to i32 store i32 %9, ptr %1, align 4, !tbaa !11 br label %10 10: ; preds = %6, %4 %11 = load i64, ptr %0, align 8, !tbaa !13 %12 = trunc i64 %11 to i32 br label %13 13: ; preds = %10, %2 %14 = phi i32 [ %12, %10 ], [ 0, %2 ] ret i32 %14 } 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 8} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!7, !8, i64 0}
freebsd_crypto_openssl_ssl_extr_ssl_ciph.c_SSL_CIPHER_get_bits
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/examples/extr_streaming_memory_usage.c_readU32FromChar.c' source_filename = "AnghaBench/freebsd/sys/contrib/zstd/examples/extr_streaming_memory_usage.c_readU32FromChar.c" target datalayout = "e-m:e-p270:32:32-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 @readU32FromChar], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal i32 @readU32FromChar(ptr nocapture noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i8, ptr %2, align 1, !tbaa !9 %4 = add i8 %3, -48 %5 = icmp ult i8 %4, 10 br i1 %5, label %6, label %18 6: ; preds = %1, %6 %7 = phi i8 [ %15, %6 ], [ %3, %1 ] %8 = phi i32 [ %13, %6 ], [ 0, %1 ] %9 = phi ptr [ %14, %6 ], [ %2, %1 ] %10 = mul i32 %8, 10 %11 = add nsw i8 %7, -48 %12 = zext nneg i8 %11 to i32 %13 = add i32 %10, %12 %14 = getelementptr inbounds i8, ptr %9, i64 1 store ptr %14, ptr %0, align 8, !tbaa !5 %15 = load i8, ptr %14, align 1, !tbaa !9 %16 = add i8 %15, -48 %17 = icmp ult i8 %16, 10 br i1 %17, label %6, label %18, !llvm.loop !10 18: ; preds = %6, %1 %19 = phi i32 [ 0, %1 ], [ %13, %6 ] %20 = phi ptr [ %2, %1 ], [ %14, %6 ] %21 = phi i8 [ %3, %1 ], [ %15, %6 ] switch i8 %21, label %39 [ i8 75, label %22 i8 77, label %22 ] 22: ; preds = %18, %18 %23 = icmp eq i8 %21, 77 %24 = select i1 %23, i32 20, i32 10 %25 = shl i32 %19, %24 %26 = getelementptr inbounds i8, ptr %20, i64 1 store ptr %26, ptr %0, align 8, !tbaa !5 %27 = load i8, ptr %26, align 1, !tbaa !9 %28 = icmp eq i8 %27, 105 br i1 %28, label %29, label %32 29: ; preds = %22 %30 = getelementptr inbounds i8, ptr %20, i64 2 store ptr %30, ptr %0, align 8, !tbaa !5 %31 = load i8, ptr %30, align 1, !tbaa !9 br label %32 32: ; preds = %29, %22 %33 = phi i8 [ %31, %29 ], [ %27, %22 ] %34 = phi i64 [ 2, %29 ], [ 1, %22 ] %35 = icmp eq i8 %33, 66 br i1 %35, label %36, label %39 36: ; preds = %32 %37 = getelementptr inbounds i8, ptr %20, i64 %34 %38 = getelementptr inbounds i8, ptr %37, i64 1 store ptr %38, ptr %0, align 8, !tbaa !5 br label %39 39: ; preds = %18, %32, %36 %40 = phi i32 [ %25, %36 ], [ %25, %32 ], [ %19, %18 ] ret i32 %40 } 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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/examples/extr_streaming_memory_usage.c_readU32FromChar.c' source_filename = "AnghaBench/freebsd/sys/contrib/zstd/examples/extr_streaming_memory_usage.c_readU32FromChar.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 @readU32FromChar], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal i32 @readU32FromChar(ptr nocapture noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i8, ptr %2, align 1, !tbaa !10 %4 = add i8 %3, -48 %5 = icmp ult i8 %4, 10 br i1 %5, label %6, label %18 6: ; preds = %1, %6 %7 = phi i8 [ %15, %6 ], [ %3, %1 ] %8 = phi i32 [ %13, %6 ], [ 0, %1 ] %9 = phi ptr [ %14, %6 ], [ %2, %1 ] %10 = mul i32 %8, 10 %11 = add nsw i8 %7, -48 %12 = zext nneg i8 %11 to i32 %13 = add i32 %10, %12 %14 = getelementptr inbounds i8, ptr %9, i64 1 store ptr %14, ptr %0, align 8, !tbaa !6 %15 = load i8, ptr %14, align 1, !tbaa !10 %16 = add i8 %15, -48 %17 = icmp ult i8 %16, 10 br i1 %17, label %6, label %18, !llvm.loop !11 18: ; preds = %6, %1 %19 = phi i32 [ 0, %1 ], [ %13, %6 ] %20 = phi ptr [ %2, %1 ], [ %14, %6 ] %21 = phi i8 [ %3, %1 ], [ %15, %6 ] switch i8 %21, label %39 [ i8 75, label %22 i8 77, label %22 ] 22: ; preds = %18, %18 %23 = icmp eq i8 %21, 77 %24 = select i1 %23, i32 20, i32 10 %25 = shl i32 %19, %24 %26 = getelementptr inbounds i8, ptr %20, i64 1 store ptr %26, ptr %0, align 8, !tbaa !6 %27 = load i8, ptr %26, align 1, !tbaa !10 %28 = icmp eq i8 %27, 105 br i1 %28, label %29, label %32 29: ; preds = %22 %30 = getelementptr inbounds i8, ptr %20, i64 2 store ptr %30, ptr %0, align 8, !tbaa !6 %31 = load i8, ptr %30, align 1, !tbaa !10 br label %32 32: ; preds = %29, %22 %33 = phi i8 [ %31, %29 ], [ %27, %22 ] %34 = phi i64 [ 2, %29 ], [ 1, %22 ] %35 = icmp eq i8 %33, 66 br i1 %35, label %36, label %39 36: ; preds = %32 %37 = getelementptr inbounds i8, ptr %20, i64 %34 %38 = getelementptr inbounds i8, ptr %37, i64 1 store ptr %38, ptr %0, align 8, !tbaa !6 br label %39 39: ; preds = %18, %32, %36 %40 = phi i32 [ %25, %36 ], [ %25, %32 ], [ %19, %18 ] ret i32 %40 } 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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
freebsd_sys_contrib_zstd_examples_extr_streaming_memory_usage.c_readU32FromChar
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/ezchip/extr_nps_enet.c_nps_enet_start_xmit.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/ezchip/extr_nps_enet.c_nps_enet_start_xmit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NETDEV_TX_OK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nps_enet_start_xmit], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nps_enet_start_xmit(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %1) #2 %4 = tail call i32 @netif_stop_queue(ptr noundef %1) #2 store ptr %0, ptr %3, align 8, !tbaa !5 %5 = tail call i32 (...) @wmb() #2 %6 = tail call i32 @nps_enet_send_frame(ptr noundef %1, ptr noundef %0) #2 %7 = load i32, ptr @NETDEV_TX_OK, align 4, !tbaa !10 ret i32 %7 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #1 declare i32 @wmb(...) local_unnamed_addr #1 declare i32 @nps_enet_send_frame(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"nps_enet_priv", !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}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/ezchip/extr_nps_enet.c_nps_enet_start_xmit.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/ezchip/extr_nps_enet.c_nps_enet_start_xmit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NETDEV_TX_OK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nps_enet_start_xmit], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @nps_enet_start_xmit(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %1) #2 %4 = tail call i32 @netif_stop_queue(ptr noundef %1) #2 store ptr %0, ptr %3, align 8, !tbaa !6 %5 = tail call i32 @wmb() #2 %6 = tail call i32 @nps_enet_send_frame(ptr noundef %1, ptr noundef %0) #2 %7 = load i32, ptr @NETDEV_TX_OK, align 4, !tbaa !11 ret i32 %7 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #1 declare i32 @wmb(...) local_unnamed_addr #1 declare i32 @nps_enet_send_frame(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"nps_enet_priv", !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}
linux_drivers_net_ethernet_ezchip_extr_nps_enet.c_nps_enet_start_xmit
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_cxusb.c_cxusb_aver_streaming_ctrl.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_cxusb.c_cxusb_aver_streaming_ctrl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CMD_AVER_STREAM_ON = dso_local local_unnamed_addr global i32 0, align 4 @CMD_AVER_STREAM_OFF = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cxusb_aver_streaming_ctrl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @cxusb_aver_streaming_ctrl(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = icmp eq i32 %1, 0 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = load i32, ptr @CMD_AVER_STREAM_OFF, align 4 %6 = load i32, ptr @CMD_AVER_STREAM_ON, align 4 %7 = select i1 %3, i32 %5, i32 %6 %8 = tail call i32 @cxusb_ctrl_msg(i32 noundef %4, i32 noundef %7, ptr noundef null, i32 noundef 0, ptr noundef null, i32 noundef 0) #2 ret i32 0 } declare i32 @cxusb_ctrl_msg(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"dvb_usb_adapter", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_cxusb.c_cxusb_aver_streaming_ctrl.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_cxusb.c_cxusb_aver_streaming_ctrl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CMD_AVER_STREAM_ON = common local_unnamed_addr global i32 0, align 4 @CMD_AVER_STREAM_OFF = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cxusb_aver_streaming_ctrl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @cxusb_aver_streaming_ctrl(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = icmp eq i32 %1, 0 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = load i32, ptr @CMD_AVER_STREAM_OFF, align 4 %6 = load i32, ptr @CMD_AVER_STREAM_ON, align 4 %7 = select i1 %3, i32 %5, i32 %6 %8 = tail call i32 @cxusb_ctrl_msg(i32 noundef %4, i32 noundef %7, ptr noundef null, i32 noundef 0, ptr noundef null, i32 noundef 0) #2 ret i32 0 } declare i32 @cxusb_ctrl_msg(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"dvb_usb_adapter", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_media_dvb_dvb-usb_extr_cxusb.c_cxusb_aver_streaming_ctrl
; ModuleID = 'AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic7xxx.c_ahc_run_tqinfifo.c' source_filename = "AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic7xxx.c_ahc_run_tqinfifo.c" target datalayout = "e-m:e-p270:32:32-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.ahc_softc = type { i32, i64, i32, i32, ptr } %struct.target_cmd = type { i64 } @AHC_AUTOPAUSE = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @BUS_DMASYNC_POSTREAD = dso_local local_unnamed_addr global i32 0, align 4 @BUS_DMASYNC_PREREAD = dso_local local_unnamed_addr global i32 0, align 4 @HOST_TQINPOS = dso_local local_unnamed_addr global i32 0, align 4 @AHC_HS_MAILBOX = dso_local local_unnamed_addr global i32 0, align 4 @HS_MAILBOX = dso_local local_unnamed_addr global i32 0, align 4 @KERNEL_TQINPOS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ahc_run_tqinfifo(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = load i32, ptr @AHC_AUTOPAUSE, align 4, !tbaa !12 %5 = load i32, ptr @TRUE, align 4 %6 = load i32, ptr @BUS_DMASYNC_POSTREAD, align 4, !tbaa !12 %7 = tail call i32 @ahc_sync_tqinfifo(ptr noundef nonnull %0, i32 noundef %6) #2 %8 = getelementptr inbounds %struct.ahc_softc, ptr %0, i64 0, i32 4 %9 = getelementptr inbounds %struct.ahc_softc, ptr %0, i64 0, i32 1 %10 = load ptr, ptr %8, align 8, !tbaa !13 %11 = load i64, ptr %9, align 8, !tbaa !14 %12 = getelementptr inbounds %struct.target_cmd, ptr %10, i64 %11 %13 = load i64, ptr %12, align 8, !tbaa !15 %14 = icmp eq i64 %13, 0 br i1 %14, label %78, label %15 15: ; preds = %2 %16 = and i32 %4, %3 %17 = icmp eq i32 %16, 0 %18 = select i1 %17, i32 %1, i32 %5 %19 = getelementptr inbounds %struct.ahc_softc, ptr %0, i64 0, i32 3 %20 = getelementptr inbounds %struct.ahc_softc, ptr %0, i64 0, i32 2 %21 = icmp eq i32 %18, 0 br label %22 22: ; preds = %15, %72 %23 = phi ptr [ %12, %15 ], [ %75, %72 ] %24 = tail call i64 @ahc_handle_target_cmd(ptr noundef nonnull %0, ptr noundef nonnull %23) #2 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %78 26: ; preds = %22 store i64 0, ptr %23, align 8, !tbaa !15 %27 = load i32, ptr %19, align 4, !tbaa !17 %28 = load i32, ptr %20, align 8, !tbaa !18 %29 = load i64, ptr %9, align 8, !tbaa !14 %30 = tail call i32 @ahc_targetcmd_offset(ptr noundef nonnull %0, i64 noundef %29) #2 %31 = load i32, ptr @BUS_DMASYNC_PREREAD, align 4, !tbaa !12 %32 = tail call i32 @aic_dmamap_sync(ptr noundef nonnull %0, i32 noundef %27, i32 noundef %28, i32 noundef %30, i32 noundef 8, i32 noundef %31) #2 %33 = load i64, ptr %9, align 8, !tbaa !14 %34 = add i64 %33, 1 store i64 %34, ptr %9, align 8, !tbaa !14 %35 = load i32, ptr @HOST_TQINPOS, align 4, !tbaa !12 %36 = add nsw i32 %35, -1 %37 = sext i32 %36 to i64 %38 = and i64 %34, %37 %39 = icmp eq i64 %38, 1 br i1 %39, label %40, label %72 40: ; preds = %26 %41 = load i32, ptr %0, align 8, !tbaa !5 %42 = load i32, ptr @AHC_HS_MAILBOX, align 4, !tbaa !12 %43 = and i32 %42, %41 %44 = icmp eq i32 %43, 0 br i1 %44, label %57, label %45 45: ; preds = %40 %46 = load i32, ptr @HS_MAILBOX, align 4, !tbaa !12 %47 = tail call i32 @ahc_inb(ptr noundef nonnull %0, i32 noundef %46) #2 %48 = load i32, ptr @HOST_TQINPOS, align 4, !tbaa !12 %49 = xor i32 %48, -1 %50 = and i32 %47, %49 %51 = load i64, ptr %9, align 8, !tbaa !14 %52 = trunc i64 %51 to i32 %53 = and i32 %48, %52 %54 = or i32 %53, %50 %55 = load i32, ptr @HS_MAILBOX, align 4, !tbaa !12 %56 = tail call i32 @ahc_outb(ptr noundef nonnull %0, i32 noundef %55, i32 noundef %54) #2 br label %72 57: ; preds = %40 br i1 %21, label %58, label %67 58: ; preds = %57 %59 = tail call i32 @ahc_pause(ptr noundef nonnull %0) #2 %60 = load i32, ptr @KERNEL_TQINPOS, align 4, !tbaa !12 %61 = load i64, ptr %9, align 8, !tbaa !14 %62 = load i32, ptr @HOST_TQINPOS, align 4, !tbaa !12 %63 = trunc i64 %61 to i32 %64 = and i32 %62, %63 %65 = tail call i32 @ahc_outb(ptr noundef nonnull %0, i32 noundef %60, i32 noundef %64) #2 %66 = tail call i32 @ahc_unpause(ptr noundef nonnull %0) #2 br label %72 67: ; preds = %57 %68 = load i32, ptr @KERNEL_TQINPOS, align 4, !tbaa !12 %69 = trunc i64 %34 to i32 %70 = and i32 %35, %69 %71 = tail call i32 @ahc_outb(ptr noundef nonnull %0, i32 noundef %68, i32 noundef %70) #2 br label %72 72: ; preds = %67, %45, %58, %26 %73 = load ptr, ptr %8, align 8, !tbaa !13 %74 = load i64, ptr %9, align 8, !tbaa !14 %75 = getelementptr inbounds %struct.target_cmd, ptr %73, i64 %74 %76 = load i64, ptr %75, align 8, !tbaa !15 %77 = icmp eq i64 %76, 0 br i1 %77, label %78, label %22, !llvm.loop !19 78: ; preds = %72, %22, %2 ret void } declare i32 @ahc_sync_tqinfifo(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ahc_handle_target_cmd(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @aic_dmamap_sync(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ahc_targetcmd_offset(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ahc_inb(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ahc_outb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ahc_pause(ptr noundef) local_unnamed_addr #1 declare i32 @ahc_unpause(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 = !{!"ahc_softc", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !11, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !11, i64 24} !14 = !{!6, !10, i64 8} !15 = !{!16, !10, i64 0} !16 = !{!"target_cmd", !10, i64 0} !17 = !{!6, !7, i64 20} !18 = !{!6, !7, i64 16} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic7xxx.c_ahc_run_tqinfifo.c' source_filename = "AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic7xxx.c_ahc_run_tqinfifo.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.target_cmd = type { i64 } @AHC_AUTOPAUSE = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 @BUS_DMASYNC_POSTREAD = common local_unnamed_addr global i32 0, align 4 @BUS_DMASYNC_PREREAD = common local_unnamed_addr global i32 0, align 4 @HOST_TQINPOS = common local_unnamed_addr global i32 0, align 4 @AHC_HS_MAILBOX = common local_unnamed_addr global i32 0, align 4 @HS_MAILBOX = common local_unnamed_addr global i32 0, align 4 @KERNEL_TQINPOS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ahc_run_tqinfifo(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = load i32, ptr @AHC_AUTOPAUSE, align 4, !tbaa !13 %5 = load i32, ptr @TRUE, align 4 %6 = load i32, ptr @BUS_DMASYNC_POSTREAD, align 4, !tbaa !13 %7 = tail call i32 @ahc_sync_tqinfifo(ptr noundef nonnull %0, i32 noundef %6) #2 %8 = getelementptr inbounds i8, ptr %0, i64 24 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load ptr, ptr %8, align 8, !tbaa !14 %11 = load i64, ptr %9, align 8, !tbaa !15 %12 = getelementptr inbounds %struct.target_cmd, ptr %10, i64 %11 %13 = load i64, ptr %12, align 8, !tbaa !16 %14 = icmp eq i64 %13, 0 br i1 %14, label %78, label %15 15: ; preds = %2 %16 = and i32 %4, %3 %17 = icmp eq i32 %16, 0 %18 = select i1 %17, i32 %1, i32 %5 %19 = getelementptr inbounds i8, ptr %0, i64 20 %20 = getelementptr inbounds i8, ptr %0, i64 16 %21 = icmp eq i32 %18, 0 br label %22 22: ; preds = %15, %72 %23 = phi ptr [ %12, %15 ], [ %75, %72 ] %24 = tail call i64 @ahc_handle_target_cmd(ptr noundef nonnull %0, ptr noundef nonnull %23) #2 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %78 26: ; preds = %22 store i64 0, ptr %23, align 8, !tbaa !16 %27 = load i32, ptr %19, align 4, !tbaa !18 %28 = load i32, ptr %20, align 8, !tbaa !19 %29 = load i64, ptr %9, align 8, !tbaa !15 %30 = tail call i32 @ahc_targetcmd_offset(ptr noundef nonnull %0, i64 noundef %29) #2 %31 = load i32, ptr @BUS_DMASYNC_PREREAD, align 4, !tbaa !13 %32 = tail call i32 @aic_dmamap_sync(ptr noundef nonnull %0, i32 noundef %27, i32 noundef %28, i32 noundef %30, i32 noundef 8, i32 noundef %31) #2 %33 = load i64, ptr %9, align 8, !tbaa !15 %34 = add i64 %33, 1 store i64 %34, ptr %9, align 8, !tbaa !15 %35 = load i32, ptr @HOST_TQINPOS, align 4, !tbaa !13 %36 = add nsw i32 %35, -1 %37 = sext i32 %36 to i64 %38 = and i64 %34, %37 %39 = icmp eq i64 %38, 1 br i1 %39, label %40, label %72 40: ; preds = %26 %41 = load i32, ptr %0, align 8, !tbaa !6 %42 = load i32, ptr @AHC_HS_MAILBOX, align 4, !tbaa !13 %43 = and i32 %42, %41 %44 = icmp eq i32 %43, 0 br i1 %44, label %57, label %45 45: ; preds = %40 %46 = load i32, ptr @HS_MAILBOX, align 4, !tbaa !13 %47 = tail call i32 @ahc_inb(ptr noundef nonnull %0, i32 noundef %46) #2 %48 = load i32, ptr @HOST_TQINPOS, align 4, !tbaa !13 %49 = xor i32 %48, -1 %50 = and i32 %47, %49 %51 = load i64, ptr %9, align 8, !tbaa !15 %52 = trunc i64 %51 to i32 %53 = and i32 %48, %52 %54 = or i32 %53, %50 %55 = load i32, ptr @HS_MAILBOX, align 4, !tbaa !13 %56 = tail call i32 @ahc_outb(ptr noundef nonnull %0, i32 noundef %55, i32 noundef %54) #2 br label %72 57: ; preds = %40 br i1 %21, label %58, label %67 58: ; preds = %57 %59 = tail call i32 @ahc_pause(ptr noundef nonnull %0) #2 %60 = load i32, ptr @KERNEL_TQINPOS, align 4, !tbaa !13 %61 = load i64, ptr %9, align 8, !tbaa !15 %62 = load i32, ptr @HOST_TQINPOS, align 4, !tbaa !13 %63 = trunc i64 %61 to i32 %64 = and i32 %62, %63 %65 = tail call i32 @ahc_outb(ptr noundef nonnull %0, i32 noundef %60, i32 noundef %64) #2 %66 = tail call i32 @ahc_unpause(ptr noundef nonnull %0) #2 br label %72 67: ; preds = %57 %68 = load i32, ptr @KERNEL_TQINPOS, align 4, !tbaa !13 %69 = trunc i64 %34 to i32 %70 = and i32 %35, %69 %71 = tail call i32 @ahc_outb(ptr noundef nonnull %0, i32 noundef %68, i32 noundef %70) #2 br label %72 72: ; preds = %67, %45, %58, %26 %73 = load ptr, ptr %8, align 8, !tbaa !14 %74 = load i64, ptr %9, align 8, !tbaa !15 %75 = getelementptr inbounds %struct.target_cmd, ptr %73, i64 %74 %76 = load i64, ptr %75, align 8, !tbaa !16 %77 = icmp eq i64 %76, 0 br i1 %77, label %78, label %22, !llvm.loop !20 78: ; preds = %72, %22, %2 ret void } declare i32 @ahc_sync_tqinfifo(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ahc_handle_target_cmd(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @aic_dmamap_sync(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ahc_targetcmd_offset(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ahc_inb(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ahc_outb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ahc_pause(ptr noundef) local_unnamed_addr #1 declare i32 @ahc_unpause(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 = !{!"ahc_softc", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !12, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !12, i64 24} !15 = !{!7, !11, i64 8} !16 = !{!17, !11, i64 0} !17 = !{!"target_cmd", !11, i64 0} !18 = !{!7, !8, i64 20} !19 = !{!7, !8, i64 16} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
freebsd_sys_dev_aic7xxx_extr_aic7xxx.c_ahc_run_tqinfifo
; ModuleID = 'AnghaBench/qmk_firmware/tmk_core/protocol/arm_atsam/usb/extr_usb_device_udd.c_udd_ctrl_overflow.c' source_filename = "AnghaBench/qmk_firmware/tmk_core/protocol/arm_atsam/usb/extr_usb_device_udd.c_udd_ctrl_overflow.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @UDD_EPCTRL_DATA_IN = dso_local local_unnamed_addr global i64 0, align 8 @udd_ep_control_state = dso_local local_unnamed_addr global i64 0, align 8 @UDD_EPCTRL_HANDSHAKE_WAIT_OUT_ZLP = dso_local local_unnamed_addr global i64 0, align 8 @UDD_EPCTRL_HANDSHAKE_WAIT_IN_ZLP = dso_local local_unnamed_addr global i64 0, align 8 @usb_device = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @udd_ctrl_overflow], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @udd_ctrl_overflow(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr @UDD_EPCTRL_DATA_IN, align 8, !tbaa !5 %3 = load i64, ptr @udd_ep_control_state, align 8, !tbaa !5 %4 = icmp eq i64 %2, %3 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = load i64, ptr @UDD_EPCTRL_HANDSHAKE_WAIT_OUT_ZLP, align 8, !tbaa !5 store i64 %6, ptr @udd_ep_control_state, align 8, !tbaa !5 br label %13 7: ; preds = %1 %8 = load i64, ptr @UDD_EPCTRL_HANDSHAKE_WAIT_IN_ZLP, align 8, !tbaa !5 %9 = icmp eq i64 %8, %3 br i1 %9, label %10, label %13 10: ; preds = %7 %11 = load i32, ptr %0, align 4, !tbaa !9 %12 = tail call i32 @usb_device_endpoint_set_halt(ptr noundef nonnull @usb_device, i32 noundef %11) #2 br label %13 13: ; preds = %7, %10, %5 ret void } declare i32 @usb_device_endpoint_set_halt(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"usb_endpoint_callback_parameter", !11, i64 0} !11 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/qmk_firmware/tmk_core/protocol/arm_atsam/usb/extr_usb_device_udd.c_udd_ctrl_overflow.c' source_filename = "AnghaBench/qmk_firmware/tmk_core/protocol/arm_atsam/usb/extr_usb_device_udd.c_udd_ctrl_overflow.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @UDD_EPCTRL_DATA_IN = common local_unnamed_addr global i64 0, align 8 @udd_ep_control_state = common local_unnamed_addr global i64 0, align 8 @UDD_EPCTRL_HANDSHAKE_WAIT_OUT_ZLP = common local_unnamed_addr global i64 0, align 8 @UDD_EPCTRL_HANDSHAKE_WAIT_IN_ZLP = common local_unnamed_addr global i64 0, align 8 @usb_device = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @udd_ctrl_overflow], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @udd_ctrl_overflow(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr @UDD_EPCTRL_DATA_IN, align 8, !tbaa !6 %3 = load i64, ptr @udd_ep_control_state, align 8, !tbaa !6 %4 = icmp eq i64 %2, %3 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = load i64, ptr @UDD_EPCTRL_HANDSHAKE_WAIT_OUT_ZLP, align 8, !tbaa !6 store i64 %6, ptr @udd_ep_control_state, align 8, !tbaa !6 br label %13 7: ; preds = %1 %8 = load i64, ptr @UDD_EPCTRL_HANDSHAKE_WAIT_IN_ZLP, align 8, !tbaa !6 %9 = icmp eq i64 %8, %3 br i1 %9, label %10, label %13 10: ; preds = %7 %11 = load i32, ptr %0, align 4, !tbaa !10 %12 = tail call i32 @usb_device_endpoint_set_halt(ptr noundef nonnull @usb_device, i32 noundef %11) #2 br label %13 13: ; preds = %7, %10, %5 ret void } declare i32 @usb_device_endpoint_set_halt(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"usb_endpoint_callback_parameter", !12, i64 0} !12 = !{!"int", !8, i64 0}
qmk_firmware_tmk_core_protocol_arm_atsam_usb_extr_usb_device_udd.c_udd_ctrl_overflow
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/extr_xen-blkfront.c_blkif_recover.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/block/extr_xen-blkfront.c_blkif_recover.c" target datalayout = "e-m:e-p270:32:32-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.blkfront_info = type { i32, ptr, %struct.TYPE_6__, ptr, i32 } %struct.TYPE_6__ = type { i32 } %struct.blk_shadow = type { i64, %struct.blkif_request, ptr } %struct.blkif_request = type { i32, i32, ptr } %struct.TYPE_4__ = type { i32 } @GFP_NOIO = dso_local local_unnamed_addr global i32 0, align 4 @__GFP_REPEAT = dso_local local_unnamed_addr global i32 0, align 4 @__GFP_HIGH = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @BLK_RING_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @XenbusStateConnected = dso_local local_unnamed_addr global i32 0, align 4 @blkif_io_lock = dso_local global i32 0, align 4 @BLKIF_STATE_CONNECTED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @blkif_recover], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @blkif_recover(ptr noundef %0) #0 { %2 = load i32, ptr @GFP_NOIO, align 4, !tbaa !5 %3 = load i32, ptr @__GFP_REPEAT, align 4, !tbaa !5 %4 = or i32 %3, %2 %5 = load i32, ptr @__GFP_HIGH, align 4, !tbaa !5 %6 = or i32 %4, %5 %7 = tail call ptr @kmalloc(i32 noundef 8, i32 noundef %6) #3 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %11 = sub nsw i32 0, %10 br label %115 12: ; preds = %1 %13 = getelementptr inbounds %struct.blkfront_info, ptr %0, i64 0, i32 3 %14 = load ptr, ptr %13, align 8, !tbaa !9 %15 = tail call i32 @memcpy(ptr noundef nonnull %7, ptr noundef %14, i32 noundef 8) #3 %16 = tail call i32 @memset(ptr noundef nonnull %13, i32 noundef 0, i32 noundef 8) #3 %17 = load i32, ptr @BLK_RING_SIZE, align 4, !tbaa !5 %18 = icmp sgt i32 %17, 0 %19 = load ptr, ptr %13, align 8, !tbaa !9 br i1 %18, label %22, label %20 20: ; preds = %12 %21 = sext i32 %17 to i64 br label %30 22: ; preds = %12, %22 %23 = phi i64 [ %24, %22 ], [ 0, %12 ] %24 = add nuw nsw i64 %23, 1 %25 = getelementptr inbounds %struct.blk_shadow, ptr %19, i64 %23, i32 1 %26 = trunc i64 %24 to i32 store i32 %26, ptr %25, align 8, !tbaa !13 %27 = load i32, ptr @BLK_RING_SIZE, align 4, !tbaa !5 %28 = sext i32 %27 to i64 %29 = icmp slt i64 %24, %28 br i1 %29, label %22, label %30, !llvm.loop !17 30: ; preds = %22, %20 %31 = phi i64 [ %21, %20 ], [ %28, %22 ] %32 = getelementptr inbounds %struct.blkfront_info, ptr %0, i64 0, i32 2 %33 = load i32, ptr %32, align 8, !tbaa !19 %34 = getelementptr inbounds %struct.blkfront_info, ptr %0, i64 0, i32 4 store i32 %33, ptr %34, align 8, !tbaa !20 %35 = getelementptr %struct.blk_shadow, ptr %19, i64 %31 %36 = getelementptr %struct.blk_shadow, ptr %35, i64 -1, i32 1 store i32 268435455, ptr %36, align 8, !tbaa !13 %37 = load i32, ptr @BLK_RING_SIZE, align 4, !tbaa !5 %38 = icmp sgt i32 %37, 0 br i1 %38, label %39, label %104 39: ; preds = %30 %40 = getelementptr inbounds %struct.blkfront_info, ptr %0, i64 0, i32 1 br label %41 41: ; preds = %39, %98 %42 = phi i32 [ %37, %39 ], [ %99, %98 ] %43 = phi i32 [ %33, %39 ], [ %100, %98 ] %44 = phi i64 [ 0, %39 ], [ %101, %98 ] %45 = getelementptr inbounds %struct.blk_shadow, ptr %7, i64 %44 %46 = load i64, ptr %45, align 8, !tbaa !21 %47 = icmp eq i64 %46, 0 br i1 %47, label %98, label %48 48: ; preds = %41 %49 = tail call ptr @RING_GET_REQUEST(ptr noundef nonnull %32, i32 noundef %43) #3 %50 = getelementptr inbounds %struct.blk_shadow, ptr %7, i64 %44, i32 1 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %49, ptr noundef nonnull align 8 dereferenceable(16) %50, i64 16, i1 false), !tbaa.struct !22 %51 = tail call i64 @get_id_from_freelist(ptr noundef %0) #3 %52 = trunc i64 %51 to i32 store i32 %52, ptr %49, align 8, !tbaa !24 %53 = load ptr, ptr %13, align 8, !tbaa !9 %54 = shl i64 %51, 32 %55 = ashr exact i64 %54, 32 %56 = getelementptr inbounds %struct.blk_shadow, ptr %53, i64 %55 %57 = tail call i32 @memcpy(ptr noundef %56, ptr noundef nonnull %45, i32 noundef 32) #3 %58 = getelementptr inbounds %struct.blkif_request, ptr %49, i64 0, i32 1 %59 = load i32, ptr %58, align 4, !tbaa !25 %60 = icmp sgt i32 %59, 0 br i1 %60, label %61, label %90 61: ; preds = %48 %62 = getelementptr inbounds %struct.blkif_request, ptr %49, i64 0, i32 2 br label %63 63: ; preds = %61, %63 %64 = phi i64 [ 0, %61 ], [ %86, %63 ] %65 = load ptr, ptr %62, align 8, !tbaa !26 %66 = getelementptr inbounds %struct.TYPE_4__, ptr %65, i64 %64 %67 = load i32, ptr %66, align 4, !tbaa !27 %68 = load ptr, ptr %40, align 8, !tbaa !29 %69 = load i32, ptr %68, align 4, !tbaa !30 %70 = load ptr, ptr %13, align 8, !tbaa !9 %71 = load i32, ptr %49, align 8, !tbaa !24 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds %struct.blk_shadow, ptr %70, i64 %72, i32 2 %74 = load ptr, ptr %73, align 8, !tbaa !32 %75 = getelementptr inbounds i32, ptr %74, i64 %64 %76 = load i32, ptr %75, align 4, !tbaa !5 %77 = tail call i32 @pfn_to_mfn(i32 noundef %76) #3 %78 = load ptr, ptr %13, align 8, !tbaa !9 %79 = load i32, ptr %49, align 8, !tbaa !24 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds %struct.blk_shadow, ptr %78, i64 %80 %82 = load i64, ptr %81, align 8, !tbaa !21 %83 = inttoptr i64 %82 to ptr %84 = tail call i32 @rq_data_dir(ptr noundef %83) #3 %85 = tail call i32 @gnttab_grant_foreign_access_ref(i32 noundef %67, i32 noundef %69, i32 noundef %77, i32 noundef %84) #3 %86 = add nuw nsw i64 %64, 1 %87 = load i32, ptr %58, align 4, !tbaa !25 %88 = sext i32 %87 to i64 %89 = icmp slt i64 %86, %88 br i1 %89, label %63, label %90, !llvm.loop !33 90: ; preds = %63, %48 %91 = load ptr, ptr %13, align 8, !tbaa !9 %92 = load i32, ptr %49, align 8, !tbaa !24 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds %struct.blk_shadow, ptr %91, i64 %93, i32 1 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %94, ptr noundef nonnull align 8 dereferenceable(16) %49, i64 16, i1 false), !tbaa.struct !22 %95 = load i32, ptr %32, align 8, !tbaa !19 %96 = add nsw i32 %95, 1 store i32 %96, ptr %32, align 8, !tbaa !19 %97 = load i32, ptr @BLK_RING_SIZE, align 4, !tbaa !5 br label %98 98: ; preds = %41, %90 %99 = phi i32 [ %42, %41 ], [ %97, %90 ] %100 = phi i32 [ %43, %41 ], [ %96, %90 ] %101 = add nuw nsw i64 %44, 1 %102 = sext i32 %99 to i64 %103 = icmp slt i64 %101, %102 br i1 %103, label %41, label %104, !llvm.loop !34 104: ; preds = %98, %30 %105 = tail call i32 @kfree(ptr noundef nonnull %7) #3 %106 = getelementptr inbounds %struct.blkfront_info, ptr %0, i64 0, i32 1 %107 = load ptr, ptr %106, align 8, !tbaa !29 %108 = load i32, ptr @XenbusStateConnected, align 4, !tbaa !5 %109 = tail call i32 @xenbus_switch_state(ptr noundef %107, i32 noundef %108) #3 %110 = tail call i32 @spin_lock_irq(ptr noundef nonnull @blkif_io_lock) #3 %111 = load i32, ptr @BLKIF_STATE_CONNECTED, align 4, !tbaa !5 store i32 %111, ptr %0, align 8, !tbaa !35 %112 = tail call i32 @flush_requests(ptr noundef nonnull %0) #3 %113 = tail call i32 @kick_pending_request_queues(ptr noundef nonnull %0) #3 %114 = tail call i32 @spin_unlock_irq(ptr noundef nonnull @blkif_io_lock) #3 br label %115 115: ; preds = %104, %9 %116 = phi i32 [ 0, %104 ], [ %11, %9 ] ret i32 %116 } declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @RING_GET_REQUEST(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i64 @get_id_from_freelist(ptr noundef) local_unnamed_addr #1 declare i32 @gnttab_grant_foreign_access_ref(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pfn_to_mfn(i32 noundef) local_unnamed_addr #1 declare i32 @rq_data_dir(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @xenbus_switch_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @flush_requests(ptr noundef) local_unnamed_addr #1 declare i32 @kick_pending_request_queues(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 24} !10 = !{!"blkfront_info", !6, i64 0, !11, i64 8, !12, i64 16, !11, i64 24, !6, i64 32} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"TYPE_6__", !6, i64 0} !13 = !{!14, !6, i64 8} !14 = !{!"blk_shadow", !15, i64 0, !16, i64 8, !11, i64 24} !15 = !{!"long", !7, i64 0} !16 = !{!"blkif_request", !6, i64 0, !6, i64 4, !11, i64 8} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!10, !6, i64 16} !20 = !{!10, !6, i64 32} !21 = !{!14, !15, i64 0} !22 = !{i64 0, i64 4, !5, i64 4, i64 4, !5, i64 8, i64 8, !23} !23 = !{!11, !11, i64 0} !24 = !{!16, !6, i64 0} !25 = !{!16, !6, i64 4} !26 = !{!16, !11, i64 8} !27 = !{!28, !6, i64 0} !28 = !{!"TYPE_4__", !6, i64 0} !29 = !{!10, !11, i64 8} !30 = !{!31, !6, i64 0} !31 = !{!"TYPE_5__", !6, i64 0} !32 = !{!14, !11, i64 24} !33 = distinct !{!33, !18} !34 = distinct !{!34, !18} !35 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/extr_xen-blkfront.c_blkif_recover.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/block/extr_xen-blkfront.c_blkif_recover.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.blk_shadow = type { i64, %struct.blkif_request, ptr } %struct.blkif_request = type { i32, i32, ptr } %struct.TYPE_4__ = type { i32 } @GFP_NOIO = common local_unnamed_addr global i32 0, align 4 @__GFP_REPEAT = common local_unnamed_addr global i32 0, align 4 @__GFP_HIGH = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @BLK_RING_SIZE = common local_unnamed_addr global i32 0, align 4 @XenbusStateConnected = common local_unnamed_addr global i32 0, align 4 @blkif_io_lock = common global i32 0, align 4 @BLKIF_STATE_CONNECTED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @blkif_recover], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @blkif_recover(ptr noundef %0) #0 { %2 = load i32, ptr @GFP_NOIO, align 4, !tbaa !6 %3 = load i32, ptr @__GFP_REPEAT, align 4, !tbaa !6 %4 = or i32 %3, %2 %5 = load i32, ptr @__GFP_HIGH, align 4, !tbaa !6 %6 = or i32 %4, %5 %7 = tail call ptr @kmalloc(i32 noundef 8, i32 noundef %6) #3 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %11 = sub nsw i32 0, %10 br label %115 12: ; preds = %1 %13 = getelementptr inbounds i8, ptr %0, i64 24 %14 = load ptr, ptr %13, align 8, !tbaa !10 %15 = tail call i32 @memcpy(ptr noundef nonnull %7, ptr noundef %14, i32 noundef 8) #3 %16 = tail call i32 @memset(ptr noundef nonnull %13, i32 noundef 0, i32 noundef 8) #3 %17 = load i32, ptr @BLK_RING_SIZE, align 4, !tbaa !6 %18 = icmp sgt i32 %17, 0 %19 = load ptr, ptr %13, align 8, !tbaa !10 br i1 %18, label %22, label %20 20: ; preds = %12 %21 = sext i32 %17 to i64 br label %30 22: ; preds = %12, %22 %23 = phi i64 [ %24, %22 ], [ 0, %12 ] %24 = add nuw nsw i64 %23, 1 %25 = getelementptr inbounds %struct.blk_shadow, ptr %19, i64 %23, i32 1 %26 = trunc nuw nsw i64 %24 to i32 store i32 %26, ptr %25, align 8, !tbaa !14 %27 = load i32, ptr @BLK_RING_SIZE, align 4, !tbaa !6 %28 = sext i32 %27 to i64 %29 = icmp slt i64 %24, %28 br i1 %29, label %22, label %30, !llvm.loop !18 30: ; preds = %22, %20 %31 = phi i64 [ %21, %20 ], [ %28, %22 ] %32 = getelementptr inbounds i8, ptr %0, i64 16 %33 = load i32, ptr %32, align 8, !tbaa !20 %34 = getelementptr inbounds i8, ptr %0, i64 32 store i32 %33, ptr %34, align 8, !tbaa !21 %35 = getelementptr %struct.blk_shadow, ptr %19, i64 %31 %36 = getelementptr i8, ptr %35, i64 -24 store i32 268435455, ptr %36, align 8, !tbaa !14 %37 = load i32, ptr @BLK_RING_SIZE, align 4, !tbaa !6 %38 = icmp sgt i32 %37, 0 br i1 %38, label %39, label %104 39: ; preds = %30 %40 = getelementptr inbounds i8, ptr %0, i64 8 br label %41 41: ; preds = %39, %98 %42 = phi i32 [ %37, %39 ], [ %99, %98 ] %43 = phi i32 [ %33, %39 ], [ %100, %98 ] %44 = phi i64 [ 0, %39 ], [ %101, %98 ] %45 = getelementptr inbounds %struct.blk_shadow, ptr %7, i64 %44 %46 = load i64, ptr %45, align 8, !tbaa !22 %47 = icmp eq i64 %46, 0 br i1 %47, label %98, label %48 48: ; preds = %41 %49 = tail call ptr @RING_GET_REQUEST(ptr noundef nonnull %32, i32 noundef %43) #3 %50 = getelementptr inbounds i8, ptr %45, i64 8 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %49, ptr noundef nonnull align 8 dereferenceable(16) %50, i64 16, i1 false), !tbaa.struct !23 %51 = tail call i64 @get_id_from_freelist(ptr noundef %0) #3 %52 = trunc i64 %51 to i32 store i32 %52, ptr %49, align 8, !tbaa !25 %53 = load ptr, ptr %13, align 8, !tbaa !10 %54 = shl i64 %51, 32 %55 = ashr exact i64 %54, 27 %56 = getelementptr inbounds i8, ptr %53, i64 %55 %57 = tail call i32 @memcpy(ptr noundef %56, ptr noundef nonnull %45, i32 noundef 32) #3 %58 = getelementptr inbounds i8, ptr %49, i64 4 %59 = load i32, ptr %58, align 4, !tbaa !26 %60 = icmp sgt i32 %59, 0 br i1 %60, label %61, label %90 61: ; preds = %48 %62 = getelementptr inbounds i8, ptr %49, i64 8 br label %63 63: ; preds = %61, %63 %64 = phi i64 [ 0, %61 ], [ %86, %63 ] %65 = load ptr, ptr %62, align 8, !tbaa !27 %66 = getelementptr inbounds %struct.TYPE_4__, ptr %65, i64 %64 %67 = load i32, ptr %66, align 4, !tbaa !28 %68 = load ptr, ptr %40, align 8, !tbaa !30 %69 = load i32, ptr %68, align 4, !tbaa !31 %70 = load ptr, ptr %13, align 8, !tbaa !10 %71 = load i32, ptr %49, align 8, !tbaa !25 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds %struct.blk_shadow, ptr %70, i64 %72, i32 2 %74 = load ptr, ptr %73, align 8, !tbaa !33 %75 = getelementptr inbounds i32, ptr %74, i64 %64 %76 = load i32, ptr %75, align 4, !tbaa !6 %77 = tail call i32 @pfn_to_mfn(i32 noundef %76) #3 %78 = load ptr, ptr %13, align 8, !tbaa !10 %79 = load i32, ptr %49, align 8, !tbaa !25 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds %struct.blk_shadow, ptr %78, i64 %80 %82 = load i64, ptr %81, align 8, !tbaa !22 %83 = inttoptr i64 %82 to ptr %84 = tail call i32 @rq_data_dir(ptr noundef %83) #3 %85 = tail call i32 @gnttab_grant_foreign_access_ref(i32 noundef %67, i32 noundef %69, i32 noundef %77, i32 noundef %84) #3 %86 = add nuw nsw i64 %64, 1 %87 = load i32, ptr %58, align 4, !tbaa !26 %88 = sext i32 %87 to i64 %89 = icmp slt i64 %86, %88 br i1 %89, label %63, label %90, !llvm.loop !34 90: ; preds = %63, %48 %91 = load ptr, ptr %13, align 8, !tbaa !10 %92 = load i32, ptr %49, align 8, !tbaa !25 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds %struct.blk_shadow, ptr %91, i64 %93, i32 1 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %94, ptr noundef nonnull align 8 dereferenceable(16) %49, i64 16, i1 false), !tbaa.struct !23 %95 = load i32, ptr %32, align 8, !tbaa !20 %96 = add nsw i32 %95, 1 store i32 %96, ptr %32, align 8, !tbaa !20 %97 = load i32, ptr @BLK_RING_SIZE, align 4, !tbaa !6 br label %98 98: ; preds = %41, %90 %99 = phi i32 [ %42, %41 ], [ %97, %90 ] %100 = phi i32 [ %43, %41 ], [ %96, %90 ] %101 = add nuw nsw i64 %44, 1 %102 = sext i32 %99 to i64 %103 = icmp slt i64 %101, %102 br i1 %103, label %41, label %104, !llvm.loop !35 104: ; preds = %98, %30 %105 = tail call i32 @kfree(ptr noundef nonnull %7) #3 %106 = getelementptr inbounds i8, ptr %0, i64 8 %107 = load ptr, ptr %106, align 8, !tbaa !30 %108 = load i32, ptr @XenbusStateConnected, align 4, !tbaa !6 %109 = tail call i32 @xenbus_switch_state(ptr noundef %107, i32 noundef %108) #3 %110 = tail call i32 @spin_lock_irq(ptr noundef nonnull @blkif_io_lock) #3 %111 = load i32, ptr @BLKIF_STATE_CONNECTED, align 4, !tbaa !6 store i32 %111, ptr %0, align 8, !tbaa !36 %112 = tail call i32 @flush_requests(ptr noundef nonnull %0) #3 %113 = tail call i32 @kick_pending_request_queues(ptr noundef nonnull %0) #3 %114 = tail call i32 @spin_unlock_irq(ptr noundef nonnull @blkif_io_lock) #3 br label %115 115: ; preds = %104, %9 %116 = phi i32 [ 0, %104 ], [ %11, %9 ] ret i32 %116 } declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @RING_GET_REQUEST(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i64 @get_id_from_freelist(ptr noundef) local_unnamed_addr #1 declare i32 @gnttab_grant_foreign_access_ref(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pfn_to_mfn(i32 noundef) local_unnamed_addr #1 declare i32 @rq_data_dir(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @xenbus_switch_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @flush_requests(ptr noundef) local_unnamed_addr #1 declare i32 @kick_pending_request_queues(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 24} !11 = !{!"blkfront_info", !7, i64 0, !12, i64 8, !13, i64 16, !12, i64 24, !7, i64 32} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"TYPE_6__", !7, i64 0} !14 = !{!15, !7, i64 8} !15 = !{!"blk_shadow", !16, i64 0, !17, i64 8, !12, i64 24} !16 = !{!"long", !8, i64 0} !17 = !{!"blkif_request", !7, i64 0, !7, i64 4, !12, i64 8} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!11, !7, i64 16} !21 = !{!11, !7, i64 32} !22 = !{!15, !16, i64 0} !23 = !{i64 0, i64 4, !6, i64 4, i64 4, !6, i64 8, i64 8, !24} !24 = !{!12, !12, i64 0} !25 = !{!17, !7, i64 0} !26 = !{!17, !7, i64 4} !27 = !{!17, !12, i64 8} !28 = !{!29, !7, i64 0} !29 = !{!"TYPE_4__", !7, i64 0} !30 = !{!11, !12, i64 8} !31 = !{!32, !7, i64 0} !32 = !{!"TYPE_5__", !7, i64 0} !33 = !{!15, !12, i64 24} !34 = distinct !{!34, !19} !35 = distinct !{!35, !19} !36 = !{!11, !7, i64 0}
fastsocket_kernel_drivers_block_extr_xen-blkfront.c_blkif_recover
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/soc/codecs/extr_wm8988.c_wm8988_resume.c' source_filename = "AnghaBench/fastsocket/kernel/sound/soc/codecs/extr_wm8988.c_wm8988_resume.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.snd_soc_codec = type { ptr, i32, ptr } @WM8988_NUM_REG = dso_local local_unnamed_addr global i32 0, align 4 @WM8988_RESET = dso_local local_unnamed_addr global i32 0, align 4 @SND_SOC_BIAS_STANDBY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @wm8988_resume], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @wm8988_resume(ptr noundef %0) #0 { %2 = alloca [2 x i32], align 4 %3 = tail call ptr @platform_get_drvdata(ptr noundef %0) #3 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !10 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = load i32, ptr @WM8988_NUM_REG, align 4, !tbaa !15 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %40 9: ; preds = %1 %10 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %11 = getelementptr inbounds %struct.snd_soc_codec, ptr %5, i64 0, i32 2 %12 = getelementptr inbounds %struct.snd_soc_codec, ptr %5, i64 0, i32 1 %13 = load i32, ptr @WM8988_RESET, align 4, !tbaa !15 br label %14 14: ; preds = %9, %34 %15 = phi i32 [ %7, %9 ], [ %35, %34 ] %16 = phi i32 [ %13, %9 ], [ %36, %34 ] %17 = phi i64 [ 0, %9 ], [ %37, %34 ] %18 = zext i32 %16 to i64 %19 = icmp eq i64 %17, %18 br i1 %19, label %34, label %20 20: ; preds = %14 %21 = getelementptr inbounds i32, ptr %6, i64 %17 %22 = load i32, ptr %21, align 4, !tbaa !15 %23 = lshr i32 %22, 8 %24 = and i32 %23, 1 %25 = trunc i64 %17 to i32 %26 = shl i32 %25, 1 %27 = or disjoint i32 %24, %26 store i32 %27, ptr %2, align 4, !tbaa !15 %28 = and i32 %22, 255 store i32 %28, ptr %10, align 4, !tbaa !15 %29 = load ptr, ptr %11, align 8, !tbaa !16 %30 = load i32, ptr %12, align 8, !tbaa !17 %31 = call i32 %29(i32 noundef %30, ptr noundef nonnull %2, i32 noundef 2) #3 %32 = load i32, ptr @WM8988_RESET, align 4, !tbaa !15 %33 = load i32, ptr @WM8988_NUM_REG, align 4, !tbaa !15 br label %34 34: ; preds = %14, %20 %35 = phi i32 [ %15, %14 ], [ %33, %20 ] %36 = phi i32 [ %16, %14 ], [ %32, %20 ] %37 = add nuw nsw i64 %17, 1 %38 = sext i32 %35 to i64 %39 = icmp slt i64 %37, %38 br i1 %39, label %14, label %40, !llvm.loop !18 40: ; preds = %34, %1 %41 = load i32, ptr @SND_SOC_BIAS_STANDBY, align 4, !tbaa !15 %42 = call i32 @wm8988_set_bias_level(ptr noundef nonnull %5, i32 noundef %41) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #2 declare i32 @wm8988_set_bias_level(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"snd_soc_device", !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, !7, i64 0} !13 = !{!"snd_soc_codec", !7, i64 0, !14, i64 8, !7, i64 16} !14 = !{!"int", !8, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!13, !7, i64 16} !17 = !{!13, !14, i64 8} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/soc/codecs/extr_wm8988.c_wm8988_resume.c' source_filename = "AnghaBench/fastsocket/kernel/sound/soc/codecs/extr_wm8988.c_wm8988_resume.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WM8988_NUM_REG = common local_unnamed_addr global i32 0, align 4 @WM8988_RESET = common local_unnamed_addr global i32 0, align 4 @SND_SOC_BIAS_STANDBY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @wm8988_resume], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @wm8988_resume(ptr noundef %0) #0 { %2 = alloca [2 x i32], align 4 %3 = tail call ptr @platform_get_drvdata(ptr noundef %0) #3 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !11 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = load i32, ptr @WM8988_NUM_REG, align 4, !tbaa !16 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %40 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %2, i64 4 %11 = getelementptr inbounds i8, ptr %5, i64 16 %12 = getelementptr inbounds i8, ptr %5, i64 8 %13 = load i32, ptr @WM8988_RESET, align 4, !tbaa !16 br label %14 14: ; preds = %9, %34 %15 = phi i32 [ %7, %9 ], [ %35, %34 ] %16 = phi i32 [ %13, %9 ], [ %36, %34 ] %17 = phi i64 [ 0, %9 ], [ %37, %34 ] %18 = zext i32 %16 to i64 %19 = icmp eq i64 %17, %18 br i1 %19, label %34, label %20 20: ; preds = %14 %21 = getelementptr inbounds i32, ptr %6, i64 %17 %22 = load i32, ptr %21, align 4, !tbaa !16 %23 = lshr i32 %22, 8 %24 = and i32 %23, 1 %25 = trunc i64 %17 to i32 %26 = shl i32 %25, 1 %27 = or disjoint i32 %24, %26 store i32 %27, ptr %2, align 4, !tbaa !16 %28 = and i32 %22, 255 store i32 %28, ptr %10, align 4, !tbaa !16 %29 = load ptr, ptr %11, align 8, !tbaa !17 %30 = load i32, ptr %12, align 8, !tbaa !18 %31 = call i32 %29(i32 noundef %30, ptr noundef nonnull %2, i32 noundef 2) #3 %32 = load i32, ptr @WM8988_RESET, align 4, !tbaa !16 %33 = load i32, ptr @WM8988_NUM_REG, align 4, !tbaa !16 br label %34 34: ; preds = %14, %20 %35 = phi i32 [ %15, %14 ], [ %33, %20 ] %36 = phi i32 [ %16, %14 ], [ %32, %20 ] %37 = add nuw nsw i64 %17, 1 %38 = sext i32 %35 to i64 %39 = icmp slt i64 %37, %38 br i1 %39, label %14, label %40, !llvm.loop !19 40: ; preds = %34, %1 %41 = load i32, ptr @SND_SOC_BIAS_STANDBY, align 4, !tbaa !16 %42 = call i32 @wm8988_set_bias_level(ptr noundef nonnull %5, i32 noundef %41) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #2 declare i32 @wm8988_set_bias_level(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"snd_soc_device", !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, !8, i64 0} !14 = !{!"snd_soc_codec", !8, i64 0, !15, i64 8, !8, i64 16} !15 = !{!"int", !9, i64 0} !16 = !{!15, !15, i64 0} !17 = !{!14, !8, i64 16} !18 = !{!14, !15, i64 8} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_sound_soc_codecs_extr_wm8988.c_wm8988_resume
; ModuleID = 'AnghaBench/reactos/dll/win32/advapi32/misc/extr_sysfunc.c_KsecOpenDevice.c' source_filename = "AnghaBench/reactos/dll/win32/advapi32/misc/extr_sysfunc.c_KsecOpenDevice.c" target datalayout = "e-m:e-p270:32:32-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 [15 x i32] [i32 92, i32 68, i32 101, i32 118, i32 105, i32 99, i32 101, i32 92, i32 75, i32 115, i32 101, i32 99, i32 68, i32 68, i32 0], align 4 @OBJ_CASE_INSENSITIVE = dso_local local_unnamed_addr global i32 0, align 4 @FILE_READ_DATA = dso_local local_unnamed_addr global i32 0, align 4 @SYNCHRONIZE = dso_local local_unnamed_addr global i32 0, align 4 @FILE_SHARE_READ = dso_local local_unnamed_addr global i32 0, align 4 @FILE_SHARE_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @FILE_SHARE_DELETE = dso_local local_unnamed_addr global i32 0, align 4 @FILE_SYNCHRONOUS_IO_NONALERT = dso_local local_unnamed_addr global i32 0, align 4 @KsecDeviceHandle = dso_local global i32 0, align 4 @STATUS_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @KsecOpenDevice], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @KsecOpenDevice() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 %5 = tail call i32 @RTL_CONSTANT_STRING(ptr noundef nonnull @.str) #3 store i32 %5, ptr %1, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = load i32, ptr @OBJ_CASE_INSENSITIVE, align 4, !tbaa !5 %7 = call i32 @InitializeObjectAttributes(ptr noundef nonnull %2, ptr noundef nonnull %1, i32 noundef %6, ptr noundef null, ptr noundef null) #3 %8 = load i32, ptr @FILE_READ_DATA, align 4, !tbaa !5 %9 = load i32, ptr @SYNCHRONIZE, align 4, !tbaa !5 %10 = or i32 %9, %8 %11 = load i32, ptr @FILE_SHARE_READ, align 4, !tbaa !5 %12 = load i32, ptr @FILE_SHARE_WRITE, align 4, !tbaa !5 %13 = or i32 %12, %11 %14 = load i32, ptr @FILE_SHARE_DELETE, align 4, !tbaa !5 %15 = or i32 %13, %14 %16 = load i32, ptr @FILE_SYNCHRONOUS_IO_NONALERT, align 4, !tbaa !5 %17 = call i32 @NtOpenFile(ptr noundef nonnull %4, i32 noundef %10, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %15, i32 noundef %16) #3 %18 = call i32 @NT_SUCCESS(i32 noundef %17) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %29, label %20 20: ; preds = %0 %21 = load i32, ptr %4, align 4, !tbaa !5 %22 = call ptr @InterlockedCompareExchangePointer(ptr noundef nonnull @KsecDeviceHandle, i32 noundef %21, ptr noundef null) #3 %23 = icmp eq ptr %22, null br i1 %23, label %27, label %24 24: ; preds = %20 %25 = load i32, ptr %4, align 4, !tbaa !5 %26 = call i32 @NtClose(i32 noundef %25) #3 br label %27 27: ; preds = %24, %20 %28 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !5 br label %29 29: ; preds = %0, %27 %30 = phi i32 [ %28, %27 ], [ %17, %0 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret i32 %30 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @RTL_CONSTANT_STRING(ptr noundef) local_unnamed_addr #2 declare i32 @InitializeObjectAttributes(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @NtOpenFile(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @NT_SUCCESS(i32 noundef) local_unnamed_addr #2 declare ptr @InterlockedCompareExchangePointer(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @NtClose(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/reactos/dll/win32/advapi32/misc/extr_sysfunc.c_KsecOpenDevice.c' source_filename = "AnghaBench/reactos/dll/win32/advapi32/misc/extr_sysfunc.c_KsecOpenDevice.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 [15 x i32] [i32 92, i32 68, i32 101, i32 118, i32 105, i32 99, i32 101, i32 92, i32 75, i32 115, i32 101, i32 99, i32 68, i32 68, i32 0], align 4 @OBJ_CASE_INSENSITIVE = common local_unnamed_addr global i32 0, align 4 @FILE_READ_DATA = common local_unnamed_addr global i32 0, align 4 @SYNCHRONIZE = common local_unnamed_addr global i32 0, align 4 @FILE_SHARE_READ = common local_unnamed_addr global i32 0, align 4 @FILE_SHARE_WRITE = common local_unnamed_addr global i32 0, align 4 @FILE_SHARE_DELETE = common local_unnamed_addr global i32 0, align 4 @FILE_SYNCHRONOUS_IO_NONALERT = common local_unnamed_addr global i32 0, align 4 @KsecDeviceHandle = common global i32 0, align 4 @STATUS_SUCCESS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @KsecOpenDevice], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @KsecOpenDevice() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 %5 = tail call i32 @RTL_CONSTANT_STRING(ptr noundef nonnull @.str) #3 store i32 %5, ptr %1, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = load i32, ptr @OBJ_CASE_INSENSITIVE, align 4, !tbaa !6 %7 = call i32 @InitializeObjectAttributes(ptr noundef nonnull %2, ptr noundef nonnull %1, i32 noundef %6, ptr noundef null, ptr noundef null) #3 %8 = load i32, ptr @FILE_READ_DATA, align 4, !tbaa !6 %9 = load i32, ptr @SYNCHRONIZE, align 4, !tbaa !6 %10 = or i32 %9, %8 %11 = load i32, ptr @FILE_SHARE_READ, align 4, !tbaa !6 %12 = load i32, ptr @FILE_SHARE_WRITE, align 4, !tbaa !6 %13 = or i32 %12, %11 %14 = load i32, ptr @FILE_SHARE_DELETE, align 4, !tbaa !6 %15 = or i32 %13, %14 %16 = load i32, ptr @FILE_SYNCHRONOUS_IO_NONALERT, align 4, !tbaa !6 %17 = call i32 @NtOpenFile(ptr noundef nonnull %4, i32 noundef %10, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %15, i32 noundef %16) #3 %18 = call i32 @NT_SUCCESS(i32 noundef %17) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %29, label %20 20: ; preds = %0 %21 = load i32, ptr %4, align 4, !tbaa !6 %22 = call ptr @InterlockedCompareExchangePointer(ptr noundef nonnull @KsecDeviceHandle, i32 noundef %21, ptr noundef null) #3 %23 = icmp eq ptr %22, null br i1 %23, label %27, label %24 24: ; preds = %20 %25 = load i32, ptr %4, align 4, !tbaa !6 %26 = call i32 @NtClose(i32 noundef %25) #3 br label %27 27: ; preds = %24, %20 %28 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !6 br label %29 29: ; preds = %0, %27 %30 = phi i32 [ %28, %27 ], [ %17, %0 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret i32 %30 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @RTL_CONSTANT_STRING(ptr noundef) local_unnamed_addr #2 declare i32 @InitializeObjectAttributes(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @NtOpenFile(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @NT_SUCCESS(i32 noundef) local_unnamed_addr #2 declare ptr @InterlockedCompareExchangePointer(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @NtClose(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"}
reactos_dll_win32_advapi32_misc_extr_sysfunc.c_KsecOpenDevice
; ModuleID = 'AnghaBench/redcarpet/ext/redcarpet/extr_html.c_rndr_hrule.c' source_filename = "AnghaBench/redcarpet/ext/redcarpet/extr_html.c_rndr_hrule.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"<hr/>\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"<hr>\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @rndr_hrule], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @rndr_hrule(ptr noundef %0, ptr noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 @bufputc(ptr noundef nonnull %0, i8 noundef signext 10) #2 br label %7 7: ; preds = %5, %2 %8 = tail call i64 @USE_XHTML(ptr noundef %1) #2 %9 = icmp eq i64 %8, 0 %10 = select i1 %9, ptr @.str.1, ptr @.str %11 = tail call i32 @bufputs(ptr noundef nonnull %0, ptr noundef nonnull %10) #2 ret void } declare i32 @bufputc(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @bufputs(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @USE_XHTML(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 = !{!"buf", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/redcarpet/ext/redcarpet/extr_html.c_rndr_hrule.c' source_filename = "AnghaBench/redcarpet/ext/redcarpet/extr_html.c_rndr_hrule.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"<hr/>\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"<hr>\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @rndr_hrule], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @rndr_hrule(ptr noundef %0, ptr noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 @bufputc(ptr noundef nonnull %0, i8 noundef signext 10) #2 br label %7 7: ; preds = %5, %2 %8 = tail call i64 @USE_XHTML(ptr noundef %1) #2 %9 = icmp eq i64 %8, 0 %10 = select i1 %9, ptr @.str.1, ptr @.str %11 = tail call i32 @bufputs(ptr noundef nonnull %0, ptr noundef nonnull %10) #2 ret void } declare i32 @bufputc(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @bufputs(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @USE_XHTML(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 = !{!"buf", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
redcarpet_ext_redcarpet_extr_html.c_rndr_hrule
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_cnic.c_cnic_reg_rd_ind.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_cnic.c_cnic_reg_rd_ind.c" target datalayout = "e-m:e-p270:32:32-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.drv_ctl_info = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { %struct.drv_ctl_io } %struct.drv_ctl_io = type { i32, i32 } %struct.cnic_dev = type { i32, ptr } @DRV_CTL_IO_RD_CMD = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cnic_reg_rd_ind], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @cnic_reg_rd_ind(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = alloca %struct.drv_ctl_info, align 4 %4 = getelementptr inbounds %struct.cnic_dev, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load ptr, ptr %5, align 8, !tbaa !11 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #2 %7 = getelementptr inbounds %struct.drv_ctl_info, ptr %3, i64 0, i32 1 %8 = load i32, ptr @DRV_CTL_IO_RD_CMD, align 4, !tbaa !13 store i32 %8, ptr %3, align 4, !tbaa !14 %9 = getelementptr inbounds %struct.drv_ctl_info, ptr %3, i64 0, i32 1, i32 0, i32 1 store i32 %1, ptr %9, align 4, !tbaa !18 %10 = load ptr, ptr %6, align 8, !tbaa !19 %11 = load i32, ptr %0, align 8, !tbaa !21 %12 = call i32 %10(i32 noundef %11, ptr noundef nonnull %3) #2 %13 = load i32, ptr %7, align 4, !tbaa !22 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #2 ret i32 %13 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn 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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"cnic_dev", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"cnic_local", !10, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"drv_ctl_info", !7, i64 0, !16, i64 4} !16 = !{!"TYPE_2__", !17, i64 0} !17 = !{!"drv_ctl_io", !7, i64 0, !7, i64 4} !18 = !{!17, !7, i64 4} !19 = !{!20, !10, i64 0} !20 = !{!"cnic_eth_dev", !10, i64 0} !21 = !{!6, !7, i64 0} !22 = !{!17, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_cnic.c_cnic_reg_rd_ind.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_cnic.c_cnic_reg_rd_ind.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.drv_ctl_info = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { %struct.drv_ctl_io } %struct.drv_ctl_io = type { i32, i32 } @DRV_CTL_IO_RD_CMD = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cnic_reg_rd_ind], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @cnic_reg_rd_ind(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = alloca %struct.drv_ctl_info, align 4 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load ptr, ptr %5, align 8, !tbaa !12 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #2 %7 = getelementptr inbounds i8, ptr %3, i64 4 %8 = load i32, ptr @DRV_CTL_IO_RD_CMD, align 4, !tbaa !14 store i32 %8, ptr %3, align 4, !tbaa !15 %9 = getelementptr inbounds i8, ptr %3, i64 8 store i32 %1, ptr %9, align 4, !tbaa !19 %10 = load ptr, ptr %6, align 8, !tbaa !20 %11 = load i32, ptr %0, align 8, !tbaa !22 %12 = call i32 %10(i32 noundef %11, ptr noundef nonnull %3) #2 %13 = load i32, ptr %7, align 4, !tbaa !23 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #2 ret i32 %13 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn 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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"cnic_dev", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"cnic_local", !11, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"drv_ctl_info", !8, i64 0, !17, i64 4} !17 = !{!"TYPE_2__", !18, i64 0} !18 = !{!"drv_ctl_io", !8, i64 0, !8, i64 4} !19 = !{!18, !8, i64 4} !20 = !{!21, !11, i64 0} !21 = !{!"cnic_eth_dev", !11, i64 0} !22 = !{!7, !8, i64 0} !23 = !{!18, !8, i64 0}
fastsocket_kernel_drivers_net_extr_cnic.c_cnic_reg_rd_ind
; ModuleID = 'AnghaBench/vlc/test/dynamicoverlay/extr_overlay-test.c_main.c' source_filename = "AnghaBench/vlc/test/dynamicoverlay/extr_overlay-test.c_main.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [73 x i8] c"Incorrect number of parameters.\0AUsage is: %s command-fifo response-fifo\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"Creating shared memory for RGBA...\00", align 1 @IPC_PRIVATE = dso_local local_unnamed_addr global i32 0, align 4 @WIDTH = dso_local local_unnamed_addr global i32 0, align 4 @HEIGHT = dso_local local_unnamed_addr global i32 0, align 4 @S_IRWXU = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [25 x i8] c" done, ID is %d. Text...\00", align 1 @TEXTSIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [17 x i8] c" done, ID is %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"Attaching shared memory for RGBA...\00", align 1 @p_imageRGBA = dso_local local_unnamed_addr global ptr null, align 8 @.str.6 = private unnamed_addr constant [15 x i8] c" done. Text...\00", align 1 @p_text = dso_local local_unnamed_addr global ptr null, align 8 @.str.8 = private unnamed_addr constant [48 x i8] c"Queueing shared memory for destruction, RGBA...\00", align 1 @IPC_RMID = dso_local local_unnamed_addr global i32 0, align 4 @.str.9 = private unnamed_addr constant [19 x i8] c"Generating data...\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"Making FIFOs...\00", align 1 @errno = dso_local local_unnamed_addr global i64 0, align 8 @EEXIST = dso_local local_unnamed_addr global i64 0, align 8 @.str.11 = private unnamed_addr constant [25 x i8] c" input already exists...\00", align 1 @.str.12 = private unnamed_addr constant [26 x i8] c" output already exists...\00", align 1 @.str.13 = private unnamed_addr constant [130 x i8] c"Please make sure vlc is running.\0AYou should append parameters similar to the following:\0A--sub-source overlay{input=%s,output=%s}\0A\00", align 1 @.str.14 = private unnamed_addr constant [17 x i8] c"Opening FIFOs...\00", align 1 @.str.15 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.16 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.17 = private unnamed_addr constant [5 x i8] c"RGBA\00", align 1 @.str.18 = private unnamed_addr constant [5 x i8] c"TEXT\00", align 1 @str.22 = private unnamed_addr constant [6 x i8] c" done\00", align 1 @str.32 = private unnamed_addr constant [8 x i8] c" failed\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = icmp eq i32 %0, 3 br i1 %3, label %8, label %4 4: ; preds = %2 %5 = load ptr, ptr %1, align 8, !tbaa !5 %6 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %5) %7 = tail call i32 @exit(i32 noundef -2) #5 unreachable 8: ; preds = %2 %9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1) %10 = load i32, ptr @IPC_PRIVATE, align 4, !tbaa !9 %11 = load i32, ptr @WIDTH, align 4, !tbaa !9 %12 = load i32, ptr @HEIGHT, align 4, !tbaa !9 %13 = shl i32 %11, 2 %14 = mul i32 %13, %12 %15 = load i32, ptr @S_IRWXU, align 4, !tbaa !9 %16 = tail call i32 @shmget(i32 noundef %10, i32 noundef %14, i32 noundef %15) #6 %17 = icmp eq i32 %16, -1 br i1 %17, label %18, label %21 18: ; preds = %8 %19 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.32) %20 = tail call i32 @exit(i32 noundef -1) #5 unreachable 21: ; preds = %8 %22 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %16) %23 = load i32, ptr @IPC_PRIVATE, align 4, !tbaa !9 %24 = load i32, ptr @TEXTSIZE, align 4, !tbaa !9 %25 = load i32, ptr @S_IRWXU, align 4, !tbaa !9 %26 = tail call i32 @shmget(i32 noundef %23, i32 noundef %24, i32 noundef %25) #6 %27 = icmp eq i32 %26, -1 br i1 %27, label %28, label %31 28: ; preds = %21 %29 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.32) %30 = tail call i32 @exit(i32 noundef -1) #5 unreachable 31: ; preds = %21 %32 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %26) %33 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5) %34 = tail call ptr @shmat(i32 noundef %16, ptr noundef null, i32 noundef 0) #6 store ptr %34, ptr @p_imageRGBA, align 8, !tbaa !5 %35 = icmp eq ptr %34, inttoptr (i64 -1 to ptr) br i1 %35, label %36, label %39 36: ; preds = %31 %37 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.32) %38 = tail call i32 @exit(i32 noundef -1) #5 unreachable 39: ; preds = %31 %40 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6) %41 = tail call ptr @shmat(i32 noundef %26, ptr noundef null, i32 noundef 0) #6 store ptr %41, ptr @p_text, align 8, !tbaa !5 %42 = icmp eq ptr %41, inttoptr (i64 -1 to ptr) br i1 %42, label %43, label %46 43: ; preds = %39 %44 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.32) %45 = tail call i32 @exit(i32 noundef -1) #5 unreachable 46: ; preds = %39 %47 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.22) %48 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8) %49 = load i32, ptr @IPC_RMID, align 4, !tbaa !9 %50 = tail call i32 @shmctl(i32 noundef %16, i32 noundef %49, i32 noundef 0) #6 %51 = icmp eq i32 %50, -1 br i1 %51, label %52, label %55 52: ; preds = %46 %53 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.32) %54 = tail call i32 @exit(i32 noundef -1) #5 unreachable 55: ; preds = %46 %56 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6) %57 = load i32, ptr @IPC_RMID, align 4, !tbaa !9 %58 = tail call i32 @shmctl(i32 noundef %26, i32 noundef %57, i32 noundef 0) #6 %59 = icmp eq i32 %58, -1 br i1 %59, label %60, label %63 60: ; preds = %55 %61 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.32) %62 = tail call i32 @exit(i32 noundef -1) #5 unreachable 63: ; preds = %55 %64 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.22) %65 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9) %66 = tail call i32 (...) @DataCreate() #6 %67 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.22) %68 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10) %69 = getelementptr inbounds ptr, ptr %1, i64 1 %70 = load ptr, ptr %69, align 8, !tbaa !5 %71 = load i32, ptr @S_IRWXU, align 4, !tbaa !9 %72 = tail call i64 @mkfifo(ptr noundef %70, i32 noundef %71) #6 %73 = icmp eq i64 %72, 0 br i1 %73, label %83, label %74 74: ; preds = %63 %75 = load i64, ptr @errno, align 8, !tbaa !11 %76 = load i64, ptr @EEXIST, align 8, !tbaa !11 %77 = icmp eq i64 %75, %76 br i1 %77, label %81, label %78 78: ; preds = %74 %79 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.32) %80 = tail call i32 @exit(i32 noundef -1) #5 unreachable 81: ; preds = %74 %82 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11) br label %83 83: ; preds = %81, %63 %84 = getelementptr inbounds ptr, ptr %1, i64 2 %85 = load ptr, ptr %84, align 8, !tbaa !5 %86 = load i32, ptr @S_IRWXU, align 4, !tbaa !9 %87 = tail call i64 @mkfifo(ptr noundef %85, i32 noundef %86) #6 %88 = icmp eq i64 %87, 0 br i1 %88, label %98, label %89 89: ; preds = %83 %90 = load i64, ptr @errno, align 8, !tbaa !11 %91 = load i64, ptr @EEXIST, align 8, !tbaa !11 %92 = icmp eq i64 %90, %91 br i1 %92, label %96, label %93 93: ; preds = %89 %94 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.32) %95 = tail call i32 @exit(i32 noundef -1) #5 unreachable 96: ; preds = %89 %97 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12) br label %98 98: ; preds = %96, %83 %99 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.22) %100 = load ptr, ptr %69, align 8, !tbaa !5 %101 = load ptr, ptr %84, align 8, !tbaa !5 %102 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef %100, ptr noundef %101) %103 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14) %104 = load ptr, ptr %69, align 8, !tbaa !5 %105 = tail call ptr @fopen(ptr noundef %104, ptr noundef nonnull @.str.15) %106 = icmp eq ptr %105, null br i1 %106, label %107, label %110 107: ; preds = %98 %108 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.32) %109 = tail call i32 @exit(i32 noundef -1) #5 unreachable 110: ; preds = %98 %111 = load ptr, ptr %84, align 8, !tbaa !5 %112 = tail call ptr @fopen(ptr noundef %111, ptr noundef nonnull @.str.16) %113 = icmp eq ptr %112, null br i1 %113, label %114, label %117 114: ; preds = %110 %115 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.32) %116 = tail call i32 @exit(i32 noundef -1) #5 unreachable 117: ; preds = %110 %118 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.22) %119 = tail call i32 @GenImage(ptr noundef nonnull %105, ptr noundef nonnull %112) #6 %120 = tail call i32 @GenImage(ptr noundef nonnull %105, ptr noundef nonnull %112) #6 %121 = load i32, ptr @WIDTH, align 4, !tbaa !9 %122 = load i32, ptr @HEIGHT, align 4, !tbaa !9 %123 = tail call i32 @DataSharedMem(ptr noundef nonnull %105, ptr noundef nonnull %112, i32 noundef %119, i32 noundef %121, i32 noundef %122, ptr noundef nonnull @.str.17, i32 noundef %16) #6 %124 = load i32, ptr @TEXTSIZE, align 4, !tbaa !9 %125 = tail call i32 @DataSharedMem(ptr noundef nonnull %105, ptr noundef nonnull %112, i32 noundef %120, i32 noundef %124, i32 noundef 1, ptr noundef nonnull @.str.18, i32 noundef %26) #6 %126 = tail call i32 @BasicTest(ptr noundef nonnull %105, ptr noundef nonnull %112, i32 noundef %119) #6 %127 = tail call i32 @BasicTest(ptr noundef nonnull %105, ptr noundef nonnull %112, i32 noundef %120) #6 %128 = tail call i32 @TextTest(ptr noundef nonnull %105, ptr noundef nonnull %112, i32 noundef %120) #6 %129 = tail call i32 @DeleteImage(ptr noundef nonnull %105, ptr noundef nonnull %112, i32 noundef %119) #6 %130 = tail call i32 @DeleteImage(ptr noundef nonnull %105, ptr noundef nonnull %112, i32 noundef %120) #6 ret i32 0 } ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @shmctl(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @DataCreate(...) local_unnamed_addr #3 declare i64 @mkfifo(ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: nofree nounwind declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #1 declare i32 @GenImage(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @DataSharedMem(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @BasicTest(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @TextTest(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @DeleteImage(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: nofree nounwind declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #4 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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 = { "no-trapping-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 = { nofree nounwind } attributes #5 = { noreturn nounwind } attributes #6 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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, !12, i64 0} !12 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/vlc/test/dynamicoverlay/extr_overlay-test.c_main.c' source_filename = "AnghaBench/vlc/test/dynamicoverlay/extr_overlay-test.c_main.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [73 x i8] c"Incorrect number of parameters.\0AUsage is: %s command-fifo response-fifo\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"Creating shared memory for RGBA...\00", align 1 @IPC_PRIVATE = common local_unnamed_addr global i32 0, align 4 @WIDTH = common local_unnamed_addr global i32 0, align 4 @HEIGHT = common local_unnamed_addr global i32 0, align 4 @S_IRWXU = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [25 x i8] c" done, ID is %d. Text...\00", align 1 @TEXTSIZE = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [17 x i8] c" done, ID is %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"Attaching shared memory for RGBA...\00", align 1 @p_imageRGBA = common local_unnamed_addr global ptr null, align 8 @.str.6 = private unnamed_addr constant [15 x i8] c" done. Text...\00", align 1 @p_text = common local_unnamed_addr global ptr null, align 8 @.str.8 = private unnamed_addr constant [48 x i8] c"Queueing shared memory for destruction, RGBA...\00", align 1 @IPC_RMID = common local_unnamed_addr global i32 0, align 4 @.str.9 = private unnamed_addr constant [19 x i8] c"Generating data...\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"Making FIFOs...\00", align 1 @errno = common local_unnamed_addr global i64 0, align 8 @EEXIST = common local_unnamed_addr global i64 0, align 8 @.str.11 = private unnamed_addr constant [25 x i8] c" input already exists...\00", align 1 @.str.12 = private unnamed_addr constant [26 x i8] c" output already exists...\00", align 1 @.str.13 = private unnamed_addr constant [130 x i8] c"Please make sure vlc is running.\0AYou should append parameters similar to the following:\0A--sub-source overlay{input=%s,output=%s}\0A\00", align 1 @.str.14 = private unnamed_addr constant [17 x i8] c"Opening FIFOs...\00", align 1 @.str.15 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.16 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.17 = private unnamed_addr constant [5 x i8] c"RGBA\00", align 1 @.str.18 = private unnamed_addr constant [5 x i8] c"TEXT\00", align 1 @str.22 = private unnamed_addr constant [6 x i8] c" done\00", align 1 @str.32 = private unnamed_addr constant [8 x i8] c" failed\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = icmp eq i32 %0, 3 br i1 %3, label %8, label %4 4: ; preds = %2 %5 = load ptr, ptr %1, align 8, !tbaa !6 %6 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %5) %7 = tail call i32 @exit(i32 noundef -2) #5 unreachable 8: ; preds = %2 %9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1) %10 = load i32, ptr @IPC_PRIVATE, align 4, !tbaa !10 %11 = load i32, ptr @WIDTH, align 4, !tbaa !10 %12 = load i32, ptr @HEIGHT, align 4, !tbaa !10 %13 = shl i32 %11, 2 %14 = mul i32 %13, %12 %15 = load i32, ptr @S_IRWXU, align 4, !tbaa !10 %16 = tail call i32 @shmget(i32 noundef %10, i32 noundef %14, i32 noundef %15) #6 %17 = icmp eq i32 %16, -1 br i1 %17, label %18, label %21 18: ; preds = %8 %19 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.32) %20 = tail call i32 @exit(i32 noundef -1) #5 unreachable 21: ; preds = %8 %22 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %16) %23 = load i32, ptr @IPC_PRIVATE, align 4, !tbaa !10 %24 = load i32, ptr @TEXTSIZE, align 4, !tbaa !10 %25 = load i32, ptr @S_IRWXU, align 4, !tbaa !10 %26 = tail call i32 @shmget(i32 noundef %23, i32 noundef %24, i32 noundef %25) #6 %27 = icmp eq i32 %26, -1 br i1 %27, label %28, label %31 28: ; preds = %21 %29 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.32) %30 = tail call i32 @exit(i32 noundef -1) #5 unreachable 31: ; preds = %21 %32 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %26) %33 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5) %34 = tail call ptr @shmat(i32 noundef %16, ptr noundef null, i32 noundef 0) #6 store ptr %34, ptr @p_imageRGBA, align 8, !tbaa !6 %35 = icmp eq ptr %34, inttoptr (i64 -1 to ptr) br i1 %35, label %36, label %39 36: ; preds = %31 %37 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.32) %38 = tail call i32 @exit(i32 noundef -1) #5 unreachable 39: ; preds = %31 %40 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6) %41 = tail call ptr @shmat(i32 noundef %26, ptr noundef null, i32 noundef 0) #6 store ptr %41, ptr @p_text, align 8, !tbaa !6 %42 = icmp eq ptr %41, inttoptr (i64 -1 to ptr) br i1 %42, label %43, label %46 43: ; preds = %39 %44 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.32) %45 = tail call i32 @exit(i32 noundef -1) #5 unreachable 46: ; preds = %39 %47 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.22) %48 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8) %49 = load i32, ptr @IPC_RMID, align 4, !tbaa !10 %50 = tail call i32 @shmctl(i32 noundef %16, i32 noundef %49, i32 noundef 0) #6 %51 = icmp eq i32 %50, -1 br i1 %51, label %52, label %55 52: ; preds = %46 %53 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.32) %54 = tail call i32 @exit(i32 noundef -1) #5 unreachable 55: ; preds = %46 %56 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6) %57 = load i32, ptr @IPC_RMID, align 4, !tbaa !10 %58 = tail call i32 @shmctl(i32 noundef %26, i32 noundef %57, i32 noundef 0) #6 %59 = icmp eq i32 %58, -1 br i1 %59, label %60, label %63 60: ; preds = %55 %61 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.32) %62 = tail call i32 @exit(i32 noundef -1) #5 unreachable 63: ; preds = %55 %64 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.22) %65 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9) %66 = tail call i32 @DataCreate() #6 %67 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.22) %68 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10) %69 = getelementptr inbounds i8, ptr %1, i64 8 %70 = load ptr, ptr %69, align 8, !tbaa !6 %71 = load i32, ptr @S_IRWXU, align 4, !tbaa !10 %72 = tail call i64 @mkfifo(ptr noundef %70, i32 noundef %71) #6 %73 = icmp eq i64 %72, 0 br i1 %73, label %83, label %74 74: ; preds = %63 %75 = load i64, ptr @errno, align 8, !tbaa !12 %76 = load i64, ptr @EEXIST, align 8, !tbaa !12 %77 = icmp eq i64 %75, %76 br i1 %77, label %81, label %78 78: ; preds = %74 %79 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.32) %80 = tail call i32 @exit(i32 noundef -1) #5 unreachable 81: ; preds = %74 %82 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11) br label %83 83: ; preds = %81, %63 %84 = getelementptr inbounds i8, ptr %1, i64 16 %85 = load ptr, ptr %84, align 8, !tbaa !6 %86 = load i32, ptr @S_IRWXU, align 4, !tbaa !10 %87 = tail call i64 @mkfifo(ptr noundef %85, i32 noundef %86) #6 %88 = icmp eq i64 %87, 0 br i1 %88, label %98, label %89 89: ; preds = %83 %90 = load i64, ptr @errno, align 8, !tbaa !12 %91 = load i64, ptr @EEXIST, align 8, !tbaa !12 %92 = icmp eq i64 %90, %91 br i1 %92, label %96, label %93 93: ; preds = %89 %94 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.32) %95 = tail call i32 @exit(i32 noundef -1) #5 unreachable 96: ; preds = %89 %97 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12) br label %98 98: ; preds = %96, %83 %99 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.22) %100 = load ptr, ptr %69, align 8, !tbaa !6 %101 = load ptr, ptr %84, align 8, !tbaa !6 %102 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef %100, ptr noundef %101) %103 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14) %104 = load ptr, ptr %69, align 8, !tbaa !6 %105 = tail call ptr @fopen(ptr noundef %104, ptr noundef nonnull @.str.15) %106 = icmp eq ptr %105, null br i1 %106, label %107, label %110 107: ; preds = %98 %108 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.32) %109 = tail call i32 @exit(i32 noundef -1) #5 unreachable 110: ; preds = %98 %111 = load ptr, ptr %84, align 8, !tbaa !6 %112 = tail call ptr @fopen(ptr noundef %111, ptr noundef nonnull @.str.16) %113 = icmp eq ptr %112, null br i1 %113, label %114, label %117 114: ; preds = %110 %115 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.32) %116 = tail call i32 @exit(i32 noundef -1) #5 unreachable 117: ; preds = %110 %118 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.22) %119 = tail call i32 @GenImage(ptr noundef nonnull %105, ptr noundef nonnull %112) #6 %120 = tail call i32 @GenImage(ptr noundef nonnull %105, ptr noundef nonnull %112) #6 %121 = load i32, ptr @WIDTH, align 4, !tbaa !10 %122 = load i32, ptr @HEIGHT, align 4, !tbaa !10 %123 = tail call i32 @DataSharedMem(ptr noundef nonnull %105, ptr noundef nonnull %112, i32 noundef %119, i32 noundef %121, i32 noundef %122, ptr noundef nonnull @.str.17, i32 noundef %16) #6 %124 = load i32, ptr @TEXTSIZE, align 4, !tbaa !10 %125 = tail call i32 @DataSharedMem(ptr noundef nonnull %105, ptr noundef nonnull %112, i32 noundef %120, i32 noundef %124, i32 noundef 1, ptr noundef nonnull @.str.18, i32 noundef %26) #6 %126 = tail call i32 @BasicTest(ptr noundef nonnull %105, ptr noundef nonnull %112, i32 noundef %119) #6 %127 = tail call i32 @BasicTest(ptr noundef nonnull %105, ptr noundef nonnull %112, i32 noundef %120) #6 %128 = tail call i32 @TextTest(ptr noundef nonnull %105, ptr noundef nonnull %112, i32 noundef %120) #6 %129 = tail call i32 @DeleteImage(ptr noundef nonnull %105, ptr noundef nonnull %112, i32 noundef %119) #6 %130 = tail call i32 @DeleteImage(ptr noundef nonnull %105, ptr noundef nonnull %112, i32 noundef %120) #6 ret i32 0 } ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @shmctl(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @DataCreate(...) local_unnamed_addr #3 declare i64 @mkfifo(ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: nofree nounwind declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #1 declare i32 @GenImage(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @DataSharedMem(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @BasicTest(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @TextTest(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @DeleteImage(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: nofree nounwind declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #4 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { 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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = { nofree nounwind } attributes #5 = { noreturn nounwind } attributes #6 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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, !13, i64 0} !13 = !{!"long", !8, i64 0}
vlc_test_dynamicoverlay_extr_overlay-test.c_main
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-rtd119x.c_rtd119x_rtc_days_in_year.c' source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-rtd119x.c_rtd119x_rtc_days_in_year.c" target datalayout = "e-m:e-p270:32:32-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 @rtd119x_rtc_days_in_year], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @rtd119x_rtc_days_in_year(i32 noundef %0) #0 { %2 = tail call i64 @is_leap_year(i32 noundef %0) #2 %3 = icmp eq i64 %2, 0 %4 = select i1 %3, i32 365, i32 366 ret i32 %4 } declare i64 @is_leap_year(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-rtd119x.c_rtd119x_rtc_days_in_year.c' source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-rtd119x.c_rtd119x_rtc_days_in_year.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 @rtd119x_rtc_days_in_year], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 365, 367) i32 @rtd119x_rtc_days_in_year(i32 noundef %0) #0 { %2 = tail call i64 @is_leap_year(i32 noundef %0) #2 %3 = icmp eq i64 %2, 0 %4 = select i1 %3, i32 365, i32 366 ret i32 %4 } declare i64 @is_leap_year(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_rtc_extr_rtc-rtd119x.c_rtd119x_rtc_days_in_year
; ModuleID = 'AnghaBench/darwin-xnu/bsd/pthread/extr_pthread_shims.c_psynch_mutexdrop.c' source_filename = "AnghaBench/darwin-xnu/bsd/pthread/extr_pthread_shims.c_psynch_mutexdrop.c" target datalayout = "e-m:e-p270:32:32-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.psynch_mutexdrop_args = type { i32, i32, i32, i32, i32 } @pthread_functions = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @psynch_mutexdrop(i32 noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr @pthread_functions, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !9 %6 = getelementptr inbounds %struct.psynch_mutexdrop_args, ptr %1, i64 0, i32 4 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = getelementptr inbounds %struct.psynch_mutexdrop_args, ptr %1, i64 0, i32 3 %9 = load i32, ptr %8, align 4, !tbaa !14 %10 = getelementptr inbounds %struct.psynch_mutexdrop_args, ptr %1, i64 0, i32 2 %11 = load i32, ptr %10, align 4, !tbaa !15 %12 = getelementptr inbounds %struct.psynch_mutexdrop_args, ptr %1, i64 0, i32 1 %13 = load i32, ptr %12, align 4, !tbaa !16 %14 = load i32, ptr %1, align 4, !tbaa !17 %15 = tail call i32 %5(i32 noundef %0, i32 noundef %7, i32 noundef %9, i32 noundef %11, i32 noundef %13, i32 noundef %14, ptr noundef %2) #1 ret i32 %15 } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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, !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_2__", !6, i64 0} !11 = !{!12, !13, i64 16} !12 = !{!"psynch_mutexdrop_args", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16} !13 = !{!"int", !7, i64 0} !14 = !{!12, !13, i64 12} !15 = !{!12, !13, i64 8} !16 = !{!12, !13, i64 4} !17 = !{!12, !13, i64 0}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/pthread/extr_pthread_shims.c_psynch_mutexdrop.c' source_filename = "AnghaBench/darwin-xnu/bsd/pthread/extr_pthread_shims.c_psynch_mutexdrop.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @pthread_functions = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @psynch_mutexdrop(i32 noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr @pthread_functions, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = getelementptr inbounds i8, ptr %1, i64 16 %7 = load i32, ptr %6, align 4, !tbaa !12 %8 = getelementptr inbounds i8, ptr %1, i64 12 %9 = load i32, ptr %8, align 4, !tbaa !15 %10 = getelementptr inbounds i8, ptr %1, i64 8 %11 = load i32, ptr %10, align 4, !tbaa !16 %12 = getelementptr inbounds i8, ptr %1, i64 4 %13 = load i32, ptr %12, align 4, !tbaa !17 %14 = load i32, ptr %1, align 4, !tbaa !18 %15 = tail call i32 %5(i32 noundef %0, i32 noundef %7, i32 noundef %9, i32 noundef %11, i32 noundef %13, i32 noundef %14, ptr noundef %2) #1 ret i32 %15 } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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, !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, !14, i64 16} !13 = !{!"psynch_mutexdrop_args", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16} !14 = !{!"int", !8, i64 0} !15 = !{!13, !14, i64 12} !16 = !{!13, !14, i64 8} !17 = !{!13, !14, i64 4} !18 = !{!13, !14, i64 0}
darwin-xnu_bsd_pthread_extr_pthread_shims.c_psynch_mutexdrop
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/mlx4/extr_mlx4.h_set_param_h.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/mlx4/extr_mlx4.h_set_param_h.c" target datalayout = "e-m:e-p270:32:32-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 @set_param_h], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @set_param_h(ptr nocapture readnone %0, i64 %1) #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/mlx4/extr_mlx4.h_set_param_h.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/mlx4/extr_mlx4.h_set_param_h.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 @set_param_h], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @set_param_h(ptr nocapture readnone %0, i64 %1) #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_net_mlx4_extr_mlx4.h_set_param_h
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_merge.c_filter_natural_history_from_mergeinfo.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_merge.c_filter_natural_history_from_mergeinfo.c" target datalayout = "e-m:e-p270:32:32-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 { i64, i64, i32 } @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @filter_natural_history_from_mergeinfo], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @filter_natural_history_from_mergeinfo(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr nocapture noundef readonly %3, ptr noundef %4) #0 { %6 = load i64, ptr %3, align 8, !tbaa !5 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 1 %8 = load i64, ptr %7, align 8, !tbaa !11 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 2 %10 = load i32, ptr %9, align 8, !tbaa !12 %11 = tail call ptr @svn_rangelist__initialize(i64 noundef %6, i64 noundef %8, i32 noundef %10, ptr noundef %4) #2 store ptr null, ptr %0, align 8, !tbaa !13 %12 = icmp eq i64 %2, 0 br i1 %12, label %27, label %13 13: ; preds = %5 %14 = load i64, ptr %3, align 8, !tbaa !5 %15 = load i64, ptr %7, align 8, !tbaa !11 %16 = icmp slt i64 %14, %15 br i1 %16, label %17, label %24 17: ; preds = %13 %18 = tail call ptr @svn_hash_gets(i64 noundef %2, ptr noundef %1) #2 %19 = icmp eq ptr %18, null br i1 %19, label %24, label %20 20: ; preds = %17 %21 = load i32, ptr @FALSE, align 4, !tbaa !15 %22 = tail call i32 @svn_rangelist_remove(ptr noundef nonnull %0, ptr noundef nonnull %18, ptr noundef %11, i32 noundef %21, ptr noundef %4) #2 %23 = tail call i32 @SVN_ERR(i32 noundef %22) #2 br label %24 24: ; preds = %17, %20, %13 %25 = load ptr, ptr %0, align 8, !tbaa !13 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %28 27: ; preds = %5, %24 store ptr %11, ptr %0, align 8, !tbaa !13 br label %28 28: ; preds = %27, %24 %29 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !13 ret ptr %29 } declare ptr @svn_rangelist__initialize(i64 noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @svn_hash_gets(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @svn_rangelist_remove(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8, !10, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 8} !12 = !{!6, !10, i64 16} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_merge.c_filter_natural_history_from_mergeinfo.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_merge.c_filter_natural_history_from_mergeinfo.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 @SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @filter_natural_history_from_mergeinfo], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @filter_natural_history_from_mergeinfo(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr nocapture noundef readonly %3, ptr noundef %4) #0 { %6 = load i64, ptr %3, align 8, !tbaa !6 %7 = getelementptr inbounds i8, ptr %3, i64 8 %8 = load i64, ptr %7, align 8, !tbaa !12 %9 = getelementptr inbounds i8, ptr %3, i64 16 %10 = load i32, ptr %9, align 8, !tbaa !13 %11 = tail call ptr @svn_rangelist__initialize(i64 noundef %6, i64 noundef %8, i32 noundef %10, ptr noundef %4) #2 store ptr null, ptr %0, align 8, !tbaa !14 %12 = icmp eq i64 %2, 0 br i1 %12, label %27, label %13 13: ; preds = %5 %14 = load i64, ptr %3, align 8, !tbaa !6 %15 = load i64, ptr %7, align 8, !tbaa !12 %16 = icmp slt i64 %14, %15 br i1 %16, label %17, label %24 17: ; preds = %13 %18 = tail call ptr @svn_hash_gets(i64 noundef %2, ptr noundef %1) #2 %19 = icmp eq ptr %18, null br i1 %19, label %24, label %20 20: ; preds = %17 %21 = load i32, ptr @FALSE, align 4, !tbaa !16 %22 = tail call i32 @svn_rangelist_remove(ptr noundef nonnull %0, ptr noundef nonnull %18, ptr noundef %11, i32 noundef %21, ptr noundef %4) #2 %23 = tail call i32 @SVN_ERR(i32 noundef %22) #2 br label %24 24: ; preds = %17, %20, %13 %25 = load ptr, ptr %0, align 8, !tbaa !14 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %28 27: ; preds = %5, %24 store ptr %11, ptr %0, align 8, !tbaa !14 br label %28 28: ; preds = %27, %24 %29 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !14 ret ptr %29 } declare ptr @svn_rangelist__initialize(i64 noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @svn_hash_gets(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @svn_rangelist_remove(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8, !11, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 8} !13 = !{!7, !11, i64 16} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !9, i64 0} !16 = !{!11, !11, i64 0}
freebsd_contrib_subversion_subversion_libsvn_client_extr_merge.c_filter_natural_history_from_mergeinfo
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_ffmetadec.c_read_header.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_ffmetadec.c_read_header.c" target datalayout = "e-m:e-p270:32:32-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_20__ = type { i32 } %struct.TYPE_18__ = type { i32, ptr, i32, i64, i32, ptr } %struct.TYPE_17__ = type { ptr, ptr } %struct.TYPE_15__ = type { i32, i32 } %struct.TYPE_16__ = type { i32, i32 } @AV_BPRINT_SIZE_UNLIMITED = dso_local local_unnamed_addr global i32 0, align 4 @ID_STREAM = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @AVMEDIA_TYPE_DATA = dso_local local_unnamed_addr global i32 0, align 4 @AV_CODEC_ID_FFMETADATA = dso_local local_unnamed_addr global i32 0, align 4 @ID_CHAPTER = dso_local local_unnamed_addr global i32 0, align 4 @AV_TIME_BASE_Q = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @read_header], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @read_header(ptr noundef %0) #0 { %2 = alloca %struct.TYPE_20__, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load i32, ptr @AV_BPRINT_SIZE_UNLIMITED, align 4, !tbaa !5 %4 = call i32 @av_bprint_init(ptr noundef nonnull %2, i32 noundef 0, i32 noundef %3) #3 %5 = getelementptr inbounds %struct.TYPE_18__, ptr %0, i64 0, i32 4 %6 = load i32, ptr %5, align 8, !tbaa !9 %7 = call i32 @avio_feof(i32 noundef %6) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %52 9: ; preds = %1 %10 = getelementptr inbounds %struct.TYPE_18__, ptr %0, i64 0, i32 5 br label %11 11: ; preds = %9, %47 %12 = phi ptr [ %48, %47 ], [ %10, %9 ] %13 = load i32, ptr %5, align 8, !tbaa !9 %14 = call i32 @get_bprint_line(i32 noundef %13, ptr noundef nonnull %2) #3 %15 = load i32, ptr %2, align 4, !tbaa !13 %16 = load i32, ptr @ID_STREAM, align 4, !tbaa !5 %17 = call i32 @strlen(i32 noundef %16) #3 %18 = call i32 @memcmp(i32 noundef %15, i32 noundef %16, i32 noundef %17) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %32 20: ; preds = %11 %21 = call ptr @avformat_new_stream(ptr noundef nonnull %0, ptr noundef null) #3 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %26 23: ; preds = %20 %24 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %25 = call i32 @AVERROR(i32 noundef %24) #3 br label %70 26: ; preds = %20 %27 = load i32, ptr @AVMEDIA_TYPE_DATA, align 4, !tbaa !5 %28 = getelementptr inbounds %struct.TYPE_17__, ptr %21, i64 0, i32 1 %29 = load ptr, ptr %28, align 8, !tbaa !15 %30 = getelementptr inbounds %struct.TYPE_15__, ptr %29, i64 0, i32 1 store i32 %27, ptr %30, align 4, !tbaa !17 %31 = load i32, ptr @AV_CODEC_ID_FFMETADATA, align 4, !tbaa !5 store i32 %31, ptr %29, align 4, !tbaa !19 br label %47 32: ; preds = %11 %33 = load i32, ptr %2, align 4, !tbaa !13 %34 = load i32, ptr @ID_CHAPTER, align 4, !tbaa !5 %35 = call i32 @strlen(i32 noundef %34) #3 %36 = call i32 @memcmp(i32 noundef %33, i32 noundef %34, i32 noundef %35) #3 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %44 38: ; preds = %32 %39 = call ptr @read_chapter(ptr noundef nonnull %0) #3 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %47 41: ; preds = %38 %42 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %43 = call i32 @AVERROR(i32 noundef %42) #3 br label %70 44: ; preds = %32 %45 = load i32, ptr %2, align 4, !tbaa !13 %46 = call i32 @read_tag(i32 noundef %45, ptr noundef %12) #3 br label %47 47: ; preds = %38, %26, %44 %48 = phi ptr [ %12, %44 ], [ %21, %26 ], [ %39, %38 ] %49 = load i32, ptr %5, align 8, !tbaa !9 %50 = call i32 @avio_feof(i32 noundef %49) #3 %51 = icmp eq i32 %50, 0 br i1 %51, label %11, label %52, !llvm.loop !20 52: ; preds = %47, %1 %53 = call i32 @av_bprint_finalize(ptr noundef nonnull %2, ptr noundef null) #3 %54 = getelementptr inbounds %struct.TYPE_18__, ptr %0, i64 0, i32 3 store i64 0, ptr %54, align 8, !tbaa !22 %55 = load i32, ptr %0, align 8, !tbaa !23 %56 = icmp eq i32 %55, 0 br i1 %56, label %70, label %57 57: ; preds = %52 %58 = getelementptr inbounds %struct.TYPE_18__, ptr %0, i64 0, i32 1 %59 = load ptr, ptr %58, align 8, !tbaa !24 %60 = sext i32 %55 to i64 %61 = getelementptr ptr, ptr %59, i64 %60 %62 = getelementptr ptr, ptr %61, i64 -1 %63 = load ptr, ptr %62, align 8, !tbaa !25 %64 = getelementptr inbounds %struct.TYPE_16__, ptr %63, i64 0, i32 1 %65 = load i32, ptr %64, align 4, !tbaa !26 %66 = load i32, ptr %63, align 4, !tbaa !28 %67 = load i32, ptr @AV_TIME_BASE_Q, align 4, !tbaa !5 %68 = call i32 @av_rescale_q(i32 noundef %65, i32 noundef %66, i32 noundef %67) #3 %69 = getelementptr inbounds %struct.TYPE_18__, ptr %0, i64 0, i32 2 store i32 %68, ptr %69, align 8, !tbaa !29 br label %70 70: ; preds = %41, %23, %52, %57 %71 = phi i32 [ 0, %57 ], [ 0, %52 ], [ %25, %23 ], [ %43, %41 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %71 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @av_bprint_init(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @avio_feof(i32 noundef) local_unnamed_addr #2 declare i32 @get_bprint_line(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memcmp(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strlen(i32 noundef) local_unnamed_addr #2 declare ptr @avformat_new_stream(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @AVERROR(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare ptr @read_chapter(ptr noundef) local_unnamed_addr #2 declare i32 @read_tag(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @av_bprint_finalize(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @av_rescale_q(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 32} !10 = !{!"TYPE_18__", !6, i64 0, !11, i64 8, !6, i64 16, !12, i64 24, !6, i64 32, !11, i64 40} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_20__", !6, i64 0} !15 = !{!16, !11, i64 8} !16 = !{!"TYPE_17__", !11, i64 0, !11, i64 8} !17 = !{!18, !6, i64 4} !18 = !{!"TYPE_15__", !6, i64 0, !6, i64 4} !19 = !{!18, !6, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!10, !12, i64 24} !23 = !{!10, !6, i64 0} !24 = !{!10, !11, i64 8} !25 = !{!11, !11, i64 0} !26 = !{!27, !6, i64 4} !27 = !{!"TYPE_16__", !6, i64 0, !6, i64 4} !28 = !{!27, !6, i64 0} !29 = !{!10, !6, i64 16}
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_ffmetadec.c_read_header.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_ffmetadec.c_read_header.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_20__ = type { i32 } @AV_BPRINT_SIZE_UNLIMITED = common local_unnamed_addr global i32 0, align 4 @ID_STREAM = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @AVMEDIA_TYPE_DATA = common local_unnamed_addr global i32 0, align 4 @AV_CODEC_ID_FFMETADATA = common local_unnamed_addr global i32 0, align 4 @ID_CHAPTER = common local_unnamed_addr global i32 0, align 4 @AV_TIME_BASE_Q = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @read_header], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @read_header(ptr noundef %0) #0 { %2 = alloca %struct.TYPE_20__, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load i32, ptr @AV_BPRINT_SIZE_UNLIMITED, align 4, !tbaa !6 %4 = call i32 @av_bprint_init(ptr noundef nonnull %2, i32 noundef 0, i32 noundef %3) #3 %5 = getelementptr inbounds i8, ptr %0, i64 32 %6 = load i32, ptr %5, align 8, !tbaa !10 %7 = call i32 @avio_feof(i32 noundef %6) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %52 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %0, i64 40 br label %11 11: ; preds = %9, %47 %12 = phi ptr [ %48, %47 ], [ %10, %9 ] %13 = load i32, ptr %5, align 8, !tbaa !10 %14 = call i32 @get_bprint_line(i32 noundef %13, ptr noundef nonnull %2) #3 %15 = load i32, ptr %2, align 4, !tbaa !14 %16 = load i32, ptr @ID_STREAM, align 4, !tbaa !6 %17 = call i32 @strlen(i32 noundef %16) #3 %18 = call i32 @memcmp(i32 noundef %15, i32 noundef %16, i32 noundef %17) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %32 20: ; preds = %11 %21 = call ptr @avformat_new_stream(ptr noundef nonnull %0, ptr noundef null) #3 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %26 23: ; preds = %20 %24 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %25 = call i32 @AVERROR(i32 noundef %24) #3 br label %70 26: ; preds = %20 %27 = load i32, ptr @AVMEDIA_TYPE_DATA, align 4, !tbaa !6 %28 = getelementptr inbounds i8, ptr %21, i64 8 %29 = load ptr, ptr %28, align 8, !tbaa !16 %30 = getelementptr inbounds i8, ptr %29, i64 4 store i32 %27, ptr %30, align 4, !tbaa !18 %31 = load i32, ptr @AV_CODEC_ID_FFMETADATA, align 4, !tbaa !6 store i32 %31, ptr %29, align 4, !tbaa !20 br label %47 32: ; preds = %11 %33 = load i32, ptr %2, align 4, !tbaa !14 %34 = load i32, ptr @ID_CHAPTER, align 4, !tbaa !6 %35 = call i32 @strlen(i32 noundef %34) #3 %36 = call i32 @memcmp(i32 noundef %33, i32 noundef %34, i32 noundef %35) #3 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %44 38: ; preds = %32 %39 = call ptr @read_chapter(ptr noundef nonnull %0) #3 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %47 41: ; preds = %38 %42 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %43 = call i32 @AVERROR(i32 noundef %42) #3 br label %70 44: ; preds = %32 %45 = load i32, ptr %2, align 4, !tbaa !14 %46 = call i32 @read_tag(i32 noundef %45, ptr noundef %12) #3 br label %47 47: ; preds = %38, %26, %44 %48 = phi ptr [ %12, %44 ], [ %21, %26 ], [ %39, %38 ] %49 = load i32, ptr %5, align 8, !tbaa !10 %50 = call i32 @avio_feof(i32 noundef %49) #3 %51 = icmp eq i32 %50, 0 br i1 %51, label %11, label %52, !llvm.loop !21 52: ; preds = %47, %1 %53 = call i32 @av_bprint_finalize(ptr noundef nonnull %2, ptr noundef null) #3 %54 = getelementptr inbounds i8, ptr %0, i64 24 store i64 0, ptr %54, align 8, !tbaa !23 %55 = load i32, ptr %0, align 8, !tbaa !24 %56 = icmp eq i32 %55, 0 br i1 %56, label %70, label %57 57: ; preds = %52 %58 = getelementptr inbounds i8, ptr %0, i64 8 %59 = load ptr, ptr %58, align 8, !tbaa !25 %60 = sext i32 %55 to i64 %61 = getelementptr ptr, ptr %59, i64 %60 %62 = getelementptr i8, ptr %61, i64 -8 %63 = load ptr, ptr %62, align 8, !tbaa !26 %64 = getelementptr inbounds i8, ptr %63, i64 4 %65 = load i32, ptr %64, align 4, !tbaa !27 %66 = load i32, ptr %63, align 4, !tbaa !29 %67 = load i32, ptr @AV_TIME_BASE_Q, align 4, !tbaa !6 %68 = call i32 @av_rescale_q(i32 noundef %65, i32 noundef %66, i32 noundef %67) #3 %69 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %68, ptr %69, align 8, !tbaa !30 br label %70 70: ; preds = %41, %23, %52, %57 %71 = phi i32 [ 0, %57 ], [ 0, %52 ], [ %25, %23 ], [ %43, %41 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %71 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @av_bprint_init(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @avio_feof(i32 noundef) local_unnamed_addr #2 declare i32 @get_bprint_line(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memcmp(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strlen(i32 noundef) local_unnamed_addr #2 declare ptr @avformat_new_stream(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @AVERROR(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare ptr @read_chapter(ptr noundef) local_unnamed_addr #2 declare i32 @read_tag(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @av_bprint_finalize(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @av_rescale_q(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 32} !11 = !{!"TYPE_18__", !7, i64 0, !12, i64 8, !7, i64 16, !13, i64 24, !7, i64 32, !12, i64 40} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_20__", !7, i64 0} !16 = !{!17, !12, i64 8} !17 = !{!"TYPE_17__", !12, i64 0, !12, i64 8} !18 = !{!19, !7, i64 4} !19 = !{!"TYPE_15__", !7, i64 0, !7, i64 4} !20 = !{!19, !7, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!11, !13, i64 24} !24 = !{!11, !7, i64 0} !25 = !{!11, !12, i64 8} !26 = !{!12, !12, i64 0} !27 = !{!28, !7, i64 4} !28 = !{!"TYPE_16__", !7, i64 0, !7, i64 4} !29 = !{!28, !7, i64 0} !30 = !{!11, !7, i64 16}
FFmpeg_libavformat_extr_ffmetadec.c_read_header
; ModuleID = 'AnghaBench/openssl/apps/extr_genpkey.c_genpkey_main.c' source_filename = "AnghaBench/openssl/apps/extr_genpkey.c_genpkey_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 @genpkey_options = dso_local local_unnamed_addr global i32 0, align 4 @bio_err = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"%s: Use -help for summary.\0A\00", align 1 @OPT_FMT_PEMDER = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"%s: No keytype specified.\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"%s: Error setting %s parameter:\0A\00", align 1 @EVP_CIPH_GCM_MODE = dso_local local_unnamed_addr global i32 0, align 4 @EVP_CIPH_CCM_MODE = dso_local local_unnamed_addr global i32 0, align 4 @EVP_CIPH_XTS_MODE = dso_local local_unnamed_addr global i32 0, align 4 @EVP_CIPH_OCB_MODE = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [31 x i8] c"%s: cipher mode not supported\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"Error getting password\0A\00", align 1 @genpkey_cb = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [29 x i8] c"Error generating parameters\0A\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"Error generating key\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 @.str.8 = private unnamed_addr constant [19 x i8] c"Error writing key\0A\00", align 1 @.str.9 = private unnamed_addr constant [20 x i8] c"Error printing key\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @genpkey_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 ptr, align 8 %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 8, ptr nonnull %6) #3 store ptr null, ptr %6, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 %8 = load i32, ptr @FORMAT_PEM, align 4, !tbaa !9 store i32 %8, ptr %7, align 4, !tbaa !9 %9 = load i32, ptr @genpkey_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 = %65, %2 %12 = phi ptr [ null, %2 ], [ %66, %65 ] %13 = phi ptr [ null, %2 ], [ %67, %65 ] %14 = phi ptr [ null, %2 ], [ %68, %65 ] %15 = phi i32 [ 0, %2 ], [ %69, %65 ] %16 = phi i32 [ 0, %2 ], [ %70, %65 ] %17 = call i32 (...) @opt_next() #3 switch i32 %17, label %65 [ i32 137, label %101 i32 139, label %72 i32 136, label %18 i32 134, label %21 i32 132, label %24 i32 133, label %29 i32 130, label %31 i32 138, label %33 i32 131, label %36 i32 140, label %42 i32 129, label %46 i32 135, label %62 i32 128, label %71 ] 18: ; preds = %11, %72, %62, %36, %24, %104, %101, %49 %19 = load i32, ptr @bio_err, align 4, !tbaa !9 %20 = call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %19, ptr noundef nonnull @.str, ptr noundef %10) #3 br label %190 21: ; preds = %11 %22 = load i32, ptr @genpkey_options, align 4, !tbaa !9 %23 = call i32 @opt_help(i32 noundef %22) #3 br label %190 24: ; preds = %11 %25 = call ptr (...) @opt_arg() #3 %26 = load i32, ptr @OPT_FMT_PEMDER, align 4, !tbaa !9 %27 = call i32 @opt_format(ptr noundef %25, i32 noundef %26, ptr noundef nonnull %7) #3 %28 = icmp eq i32 %27, 0 br i1 %28, label %18, label %65 29: ; preds = %11 %30 = call ptr (...) @opt_arg() #3 br label %65 31: ; preds = %11 %32 = call ptr (...) @opt_arg() #3 br label %65 33: ; preds = %11 %34 = call ptr (...) @opt_arg() #3 %35 = call ptr @setup_engine(ptr noundef %34, i32 noundef 0) #3 br label %65 36: ; preds = %11 %37 = icmp eq i32 %16, 0 br i1 %37, label %38, label %18 38: ; preds = %36 %39 = call ptr (...) @opt_arg() #3 %40 = call i32 @init_keygen_file(ptr noundef nonnull %4, ptr noundef %39, ptr noundef %12) #3 %41 = icmp eq i32 %40, 0 br i1 %41, label %190, label %65 42: ; preds = %11 %43 = call ptr (...) @opt_arg() #3 %44 = call i32 @init_gen_str(ptr noundef nonnull %4, ptr noundef %43, ptr noundef %12, i32 noundef %16) #3 %45 = icmp eq i32 %44, 0 br i1 %45, label %190, label %65 46: ; preds = %11 %47 = load ptr, ptr %4, align 8, !tbaa !5 %48 = icmp eq ptr %47, null br i1 %48, label %49, label %52 49: ; preds = %46 %50 = load i32, ptr @bio_err, align 4, !tbaa !9 %51 = call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %50, ptr noundef nonnull @.str.1, ptr noundef %10) #3 br label %18 52: ; preds = %46 %53 = call ptr (...) @opt_arg() #3 %54 = call i32 @pkey_ctrl_string(ptr noundef nonnull %47, ptr noundef %53) #3 %55 = icmp slt i32 %54, 1 br i1 %55, label %56, label %65 56: ; preds = %52 %57 = load i32, ptr @bio_err, align 4, !tbaa !9 %58 = call ptr (...) @opt_arg() #3 %59 = call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %57, ptr noundef nonnull @.str.2, ptr noundef %10, ptr noundef %58) #3 %60 = load i32, ptr @bio_err, align 4, !tbaa !9 %61 = call i32 @ERR_print_errors(i32 noundef %60) #3 br label %190 62: ; preds = %11 %63 = load ptr, ptr %4, align 8, !tbaa !5 %64 = icmp eq ptr %63, null br i1 %64, label %65, label %18 65: ; preds = %62, %11, %93, %52, %42, %38, %24, %71, %33, %31, %29 %66 = phi ptr [ %12, %93 ], [ %12, %71 ], [ %12, %52 ], [ %12, %42 ], [ %12, %38 ], [ %35, %33 ], [ %12, %31 ], [ %12, %29 ], [ %12, %24 ], [ %12, %11 ], [ %12, %62 ] %67 = phi ptr [ %13, %93 ], [ %13, %71 ], [ %13, %52 ], [ %13, %42 ], [ %13, %38 ], [ %13, %33 ], [ %13, %31 ], [ %30, %29 ], [ %13, %24 ], [ %13, %11 ], [ %13, %62 ] %68 = phi ptr [ %14, %93 ], [ %14, %71 ], [ %14, %52 ], [ %14, %42 ], [ %14, %38 ], [ %14, %33 ], [ %32, %31 ], [ %14, %29 ], [ %14, %24 ], [ %14, %11 ], [ %14, %62 ] %69 = phi i32 [ %15, %93 ], [ 1, %71 ], [ %15, %52 ], [ %15, %42 ], [ %15, %38 ], [ %15, %33 ], [ %15, %31 ], [ %15, %29 ], [ %15, %24 ], [ %15, %11 ], [ %15, %62 ] %70 = phi i32 [ 0, %93 ], [ %16, %71 ], [ %16, %52 ], [ %16, %42 ], [ 0, %38 ], [ %16, %33 ], [ %16, %31 ], [ %16, %29 ], [ %16, %24 ], [ %16, %11 ], [ 1, %62 ] br label %11, !llvm.loop !11 71: ; preds = %11 br label %65 72: ; preds = %11 %73 = call i32 (...) @opt_unknown() #3 %74 = call i32 @opt_cipher(i32 noundef %73, ptr noundef nonnull %6) #3 %75 = icmp eq i32 %74, 0 %76 = icmp ne i32 %16, 0 %77 = select i1 %75, i1 true, i1 %76 br i1 %77, label %18, label %78 78: ; preds = %72 %79 = load ptr, ptr %6, align 8, !tbaa !5 %80 = call i32 @EVP_CIPHER_mode(ptr noundef %79) #3 %81 = load i32, ptr @EVP_CIPH_GCM_MODE, align 4, !tbaa !9 %82 = icmp eq i32 %80, %81 br i1 %82, label %98, label %83 83: ; preds = %78 %84 = load ptr, ptr %6, align 8, !tbaa !5 %85 = call i32 @EVP_CIPHER_mode(ptr noundef %84) #3 %86 = load i32, ptr @EVP_CIPH_CCM_MODE, align 4, !tbaa !9 %87 = icmp eq i32 %85, %86 br i1 %87, label %98, label %88 88: ; preds = %83 %89 = load ptr, ptr %6, align 8, !tbaa !5 %90 = call i32 @EVP_CIPHER_mode(ptr noundef %89) #3 %91 = load i32, ptr @EVP_CIPH_XTS_MODE, align 4, !tbaa !9 %92 = icmp eq i32 %90, %91 br i1 %92, label %98, label %93 93: ; preds = %88 %94 = load ptr, ptr %6, align 8, !tbaa !5 %95 = call i32 @EVP_CIPHER_mode(ptr noundef %94) #3 %96 = load i32, ptr @EVP_CIPH_OCB_MODE, align 4, !tbaa !9 %97 = icmp eq i32 %95, %96 br i1 %97, label %98, label %65 98: ; preds = %93, %88, %83, %78 %99 = load i32, ptr @bio_err, align 4, !tbaa !9 %100 = call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %99, ptr noundef nonnull @.str.3, ptr noundef %10) #3 br label %190 101: ; preds = %11 %102 = call i32 (...) @opt_num_rest() #3 %103 = icmp eq i32 %102, 0 br i1 %103, label %104, label %18 104: ; preds = %101 %105 = icmp eq i32 %16, 0 %106 = xor i32 %16, 1 %107 = load ptr, ptr %4, align 8, !tbaa !5 %108 = icmp eq ptr %107, null br i1 %108, label %18, label %109 109: ; preds = %104 %110 = call i32 @app_passwd(ptr noundef %14, ptr noundef null, ptr noundef nonnull %5, ptr noundef null) #3 %111 = icmp eq i32 %110, 0 br i1 %111, label %112, label %115 112: ; preds = %109 %113 = load i32, ptr @bio_err, align 4, !tbaa !9 %114 = call i32 @BIO_puts(i32 noundef %113, ptr noundef nonnull @.str.4) #3 br label %190 115: ; preds = %109 %116 = load i32, ptr %7, align 4, !tbaa !9 %117 = call ptr @bio_open_owner(ptr noundef %13, i32 noundef %116, i32 noundef %106) #3 %118 = icmp eq ptr %117, null br i1 %118, label %190, label %119 119: ; preds = %115 %120 = load ptr, ptr %4, align 8, !tbaa !5 %121 = load i32, ptr @genpkey_cb, align 4, !tbaa !9 %122 = call i32 @EVP_PKEY_CTX_set_cb(ptr noundef %120, i32 noundef %121) #3 %123 = load ptr, ptr %4, align 8, !tbaa !5 %124 = load i32, ptr @bio_err, align 4, !tbaa !9 %125 = call i32 @EVP_PKEY_CTX_set_app_data(ptr noundef %123, i32 noundef %124) #3 %126 = load ptr, ptr %4, align 8, !tbaa !5 br i1 %105, label %135, label %127 127: ; preds = %119 %128 = call i64 @EVP_PKEY_paramgen(ptr noundef %126, ptr noundef nonnull %3) #3 %129 = icmp slt i64 %128, 1 br i1 %129, label %130, label %143 130: ; preds = %127 %131 = load i32, ptr @bio_err, align 4, !tbaa !9 %132 = call i32 @BIO_puts(i32 noundef %131, ptr noundef nonnull @.str.5) #3 %133 = load i32, ptr @bio_err, align 4, !tbaa !9 %134 = call i32 @ERR_print_errors(i32 noundef %133) #3 br label %190 135: ; preds = %119 %136 = call i64 @EVP_PKEY_keygen(ptr noundef %126, ptr noundef nonnull %3) #3 %137 = icmp slt i64 %136, 1 br i1 %137, label %138, label %146 138: ; preds = %135 %139 = load i32, ptr @bio_err, align 4, !tbaa !9 %140 = call i32 @BIO_puts(i32 noundef %139, ptr noundef nonnull @.str.6) #3 %141 = load i32, ptr @bio_err, align 4, !tbaa !9 %142 = call i32 @ERR_print_errors(i32 noundef %141) #3 br label %190 143: ; preds = %127 %144 = load ptr, ptr %3, align 8, !tbaa !5 %145 = call i32 @PEM_write_bio_Parameters(ptr noundef nonnull %117, ptr noundef %144) #3 br label %166 146: ; preds = %135 %147 = load i32, ptr %7, align 4, !tbaa !9 %148 = load i32, ptr @FORMAT_PEM, align 4, !tbaa !9 %149 = icmp eq i32 %147, %148 br i1 %149, label %150, label %156 150: ; preds = %146 %151 = call i32 @assert(i32 noundef %106) #3 %152 = load ptr, ptr %3, align 8, !tbaa !5 %153 = load ptr, ptr %6, align 8, !tbaa !5 %154 = load ptr, ptr %5, align 8, !tbaa !5 %155 = call i32 @PEM_write_bio_PrivateKey(ptr noundef nonnull %117, ptr noundef %152, ptr noundef %153, ptr noundef null, i32 noundef 0, ptr noundef null, ptr noundef %154) #3 br label %166 156: ; preds = %146 %157 = load i32, ptr @FORMAT_ASN1, align 4, !tbaa !9 %158 = icmp eq i32 %147, %157 br i1 %158, label %159, label %163 159: ; preds = %156 %160 = call i32 @assert(i32 noundef %106) #3 %161 = load ptr, ptr %3, align 8, !tbaa !5 %162 = call i32 @i2d_PrivateKey_bio(ptr noundef nonnull %117, ptr noundef %161) #3 br label %166 163: ; preds = %156 %164 = load i32, ptr @bio_err, align 4, !tbaa !9 %165 = call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %164, ptr noundef nonnull @.str.7) #3 br label %190 166: ; preds = %150, %159, %143 %167 = phi i32 [ %145, %143 ], [ %155, %150 ], [ %162, %159 ] %168 = icmp slt i32 %167, 1 br i1 %168, label %169, label %174 169: ; preds = %166 %170 = load i32, ptr @bio_err, align 4, !tbaa !9 %171 = call i32 @BIO_puts(i32 noundef %170, ptr noundef nonnull @.str.8) #3 %172 = load i32, ptr @bio_err, align 4, !tbaa !9 %173 = call i32 @ERR_print_errors(i32 noundef %172) #3 br label %174 174: ; preds = %169, %166 %175 = icmp eq i32 %15, 0 br i1 %175, label %190, label %176 176: ; preds = %174 %177 = load ptr, ptr %3, align 8, !tbaa !5 br i1 %105, label %180, label %178 178: ; preds = %176 %179 = call i32 @EVP_PKEY_print_params(ptr noundef nonnull %117, ptr noundef %177, i32 noundef 0, ptr noundef null) #3 br label %182 180: ; preds = %176 %181 = call i32 @EVP_PKEY_print_private(ptr noundef nonnull %117, ptr noundef %177, i32 noundef 0, ptr noundef null) #3 br label %182 182: ; preds = %180, %178 %183 = phi i32 [ %179, %178 ], [ %181, %180 ] %184 = icmp slt i32 %183, 1 br i1 %184, label %185, label %190 185: ; preds = %182 %186 = load i32, ptr @bio_err, align 4, !tbaa !9 %187 = call i32 @BIO_puts(i32 noundef %186, ptr noundef nonnull @.str.9) #3 %188 = load i32, ptr @bio_err, align 4, !tbaa !9 %189 = call i32 @ERR_print_errors(i32 noundef %188) #3 br label %190 190: ; preds = %42, %38, %174, %185, %182, %115, %163, %138, %130, %112, %98, %56, %21, %18 %191 = phi ptr [ null, %18 ], [ null, %98 ], [ null, %56 ], [ null, %21 ], [ null, %115 ], [ %117, %130 ], [ %117, %163 ], [ %117, %138 ], [ null, %112 ], [ %117, %182 ], [ %117, %185 ], [ %117, %174 ], [ null, %38 ], [ null, %42 ] %192 = phi i32 [ 1, %18 ], [ 1, %98 ], [ 1, %56 ], [ 0, %21 ], [ 1, %115 ], [ 1, %130 ], [ 1, %163 ], [ 1, %138 ], [ 1, %112 ], [ 0, %182 ], [ 0, %185 ], [ 0, %174 ], [ 1, %38 ], [ 1, %42 ] %193 = load ptr, ptr %3, align 8, !tbaa !5 %194 = call i32 @EVP_PKEY_free(ptr noundef %193) #3 %195 = load ptr, ptr %4, align 8, !tbaa !5 %196 = call i32 @EVP_PKEY_CTX_free(ptr noundef %195) #3 %197 = call i32 @BIO_free_all(ptr noundef %191) #3 %198 = call i32 @BIO_free(ptr noundef null) #3 %199 = call i32 @release_engine(ptr noundef %12) #3 %200 = load ptr, ptr %5, align 8, !tbaa !5 %201 = call i32 @OPENSSL_free(ptr noundef %200) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 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 %192 } ; 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(i32 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 @init_keygen_file(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @init_gen_str(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pkey_ctrl_string(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ERR_print_errors(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 @EVP_CIPHER_mode(ptr noundef) 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 i32 @BIO_puts(i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @bio_open_owner(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @EVP_PKEY_CTX_set_cb(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @EVP_PKEY_CTX_set_app_data(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @EVP_PKEY_paramgen(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @EVP_PKEY_keygen(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PEM_write_bio_Parameters(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @assert(i32 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_PrivateKey_bio(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @EVP_PKEY_print_params(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @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 @EVP_PKEY_CTX_free(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 @release_engine(ptr noundef) local_unnamed_addr #2 declare i32 @OPENSSL_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/openssl/apps/extr_genpkey.c_genpkey_main.c' source_filename = "AnghaBench/openssl/apps/extr_genpkey.c_genpkey_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 @genpkey_options = common local_unnamed_addr global i32 0, align 4 @bio_err = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"%s: Use -help for summary.\0A\00", align 1 @OPT_FMT_PEMDER = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"%s: No keytype specified.\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"%s: Error setting %s parameter:\0A\00", align 1 @EVP_CIPH_GCM_MODE = common local_unnamed_addr global i32 0, align 4 @EVP_CIPH_CCM_MODE = common local_unnamed_addr global i32 0, align 4 @EVP_CIPH_XTS_MODE = common local_unnamed_addr global i32 0, align 4 @EVP_CIPH_OCB_MODE = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [31 x i8] c"%s: cipher mode not supported\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"Error getting password\0A\00", align 1 @genpkey_cb = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [29 x i8] c"Error generating parameters\0A\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"Error generating key\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 @.str.8 = private unnamed_addr constant [19 x i8] c"Error writing key\0A\00", align 1 @.str.9 = private unnamed_addr constant [20 x i8] c"Error printing key\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @genpkey_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 ptr, align 8 %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 8, ptr nonnull %6) #3 store ptr null, ptr %6, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 %8 = load i32, ptr @FORMAT_PEM, align 4, !tbaa !10 store i32 %8, ptr %7, align 4, !tbaa !10 %9 = load i32, ptr @genpkey_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 = %65, %2 %12 = phi ptr [ null, %2 ], [ %66, %65 ] %13 = phi ptr [ null, %2 ], [ %67, %65 ] %14 = phi ptr [ null, %2 ], [ %68, %65 ] %15 = phi i32 [ 0, %2 ], [ %69, %65 ] %16 = phi i32 [ 0, %2 ], [ %70, %65 ] %17 = call i32 @opt_next() #3 switch i32 %17, label %65 [ i32 137, label %101 i32 139, label %72 i32 136, label %18 i32 134, label %21 i32 132, label %24 i32 133, label %29 i32 130, label %31 i32 138, label %33 i32 131, label %36 i32 140, label %42 i32 129, label %46 i32 135, label %62 i32 128, label %71 ] 18: ; preds = %11, %72, %62, %36, %24, %104, %101, %49 %19 = load i32, ptr @bio_err, align 4, !tbaa !10 %20 = call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %19, ptr noundef nonnull @.str, ptr noundef %10) #3 br label %190 21: ; preds = %11 %22 = load i32, ptr @genpkey_options, align 4, !tbaa !10 %23 = call i32 @opt_help(i32 noundef %22) #3 br label %190 24: ; preds = %11 %25 = call ptr @opt_arg() #3 %26 = load i32, ptr @OPT_FMT_PEMDER, align 4, !tbaa !10 %27 = call i32 @opt_format(ptr noundef %25, i32 noundef %26, ptr noundef nonnull %7) #3 %28 = icmp eq i32 %27, 0 br i1 %28, label %18, label %65 29: ; preds = %11 %30 = call ptr @opt_arg() #3 br label %65 31: ; preds = %11 %32 = call ptr @opt_arg() #3 br label %65 33: ; preds = %11 %34 = call ptr @opt_arg() #3 %35 = call ptr @setup_engine(ptr noundef %34, i32 noundef 0) #3 br label %65 36: ; preds = %11 %37 = icmp eq i32 %16, 0 br i1 %37, label %38, label %18 38: ; preds = %36 %39 = call ptr @opt_arg() #3 %40 = call i32 @init_keygen_file(ptr noundef nonnull %4, ptr noundef %39, ptr noundef %12) #3 %41 = icmp eq i32 %40, 0 br i1 %41, label %190, label %65 42: ; preds = %11 %43 = call ptr @opt_arg() #3 %44 = call i32 @init_gen_str(ptr noundef nonnull %4, ptr noundef %43, ptr noundef %12, i32 noundef %16) #3 %45 = icmp eq i32 %44, 0 br i1 %45, label %190, label %65 46: ; preds = %11 %47 = load ptr, ptr %4, align 8, !tbaa !6 %48 = icmp eq ptr %47, null br i1 %48, label %49, label %52 49: ; preds = %46 %50 = load i32, ptr @bio_err, align 4, !tbaa !10 %51 = call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %50, ptr noundef nonnull @.str.1, ptr noundef %10) #3 br label %18 52: ; preds = %46 %53 = call ptr @opt_arg() #3 %54 = call i32 @pkey_ctrl_string(ptr noundef nonnull %47, ptr noundef %53) #3 %55 = icmp slt i32 %54, 1 br i1 %55, label %56, label %65 56: ; preds = %52 %57 = load i32, ptr @bio_err, align 4, !tbaa !10 %58 = call ptr @opt_arg() #3 %59 = call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %57, ptr noundef nonnull @.str.2, ptr noundef %10, ptr noundef %58) #3 %60 = load i32, ptr @bio_err, align 4, !tbaa !10 %61 = call i32 @ERR_print_errors(i32 noundef %60) #3 br label %190 62: ; preds = %11 %63 = load ptr, ptr %4, align 8, !tbaa !6 %64 = icmp eq ptr %63, null br i1 %64, label %65, label %18 65: ; preds = %62, %11, %93, %52, %42, %38, %24, %71, %33, %31, %29 %66 = phi ptr [ %12, %93 ], [ %12, %71 ], [ %12, %52 ], [ %12, %42 ], [ %12, %38 ], [ %35, %33 ], [ %12, %31 ], [ %12, %29 ], [ %12, %24 ], [ %12, %11 ], [ %12, %62 ] %67 = phi ptr [ %13, %93 ], [ %13, %71 ], [ %13, %52 ], [ %13, %42 ], [ %13, %38 ], [ %13, %33 ], [ %13, %31 ], [ %30, %29 ], [ %13, %24 ], [ %13, %11 ], [ %13, %62 ] %68 = phi ptr [ %14, %93 ], [ %14, %71 ], [ %14, %52 ], [ %14, %42 ], [ %14, %38 ], [ %14, %33 ], [ %32, %31 ], [ %14, %29 ], [ %14, %24 ], [ %14, %11 ], [ %14, %62 ] %69 = phi i32 [ %15, %93 ], [ 1, %71 ], [ %15, %52 ], [ %15, %42 ], [ %15, %38 ], [ %15, %33 ], [ %15, %31 ], [ %15, %29 ], [ %15, %24 ], [ %15, %11 ], [ %15, %62 ] %70 = phi i32 [ 0, %93 ], [ %16, %71 ], [ %16, %52 ], [ %16, %42 ], [ 0, %38 ], [ %16, %33 ], [ %16, %31 ], [ %16, %29 ], [ %16, %24 ], [ %16, %11 ], [ 1, %62 ] br label %11, !llvm.loop !12 71: ; preds = %11 br label %65 72: ; preds = %11 %73 = call i32 @opt_unknown() #3 %74 = call i32 @opt_cipher(i32 noundef %73, ptr noundef nonnull %6) #3 %75 = icmp eq i32 %74, 0 %76 = icmp ne i32 %16, 0 %77 = select i1 %75, i1 true, i1 %76 br i1 %77, label %18, label %78 78: ; preds = %72 %79 = load ptr, ptr %6, align 8, !tbaa !6 %80 = call i32 @EVP_CIPHER_mode(ptr noundef %79) #3 %81 = load i32, ptr @EVP_CIPH_GCM_MODE, align 4, !tbaa !10 %82 = icmp eq i32 %80, %81 br i1 %82, label %98, label %83 83: ; preds = %78 %84 = load ptr, ptr %6, align 8, !tbaa !6 %85 = call i32 @EVP_CIPHER_mode(ptr noundef %84) #3 %86 = load i32, ptr @EVP_CIPH_CCM_MODE, align 4, !tbaa !10 %87 = icmp eq i32 %85, %86 br i1 %87, label %98, label %88 88: ; preds = %83 %89 = load ptr, ptr %6, align 8, !tbaa !6 %90 = call i32 @EVP_CIPHER_mode(ptr noundef %89) #3 %91 = load i32, ptr @EVP_CIPH_XTS_MODE, align 4, !tbaa !10 %92 = icmp eq i32 %90, %91 br i1 %92, label %98, label %93 93: ; preds = %88 %94 = load ptr, ptr %6, align 8, !tbaa !6 %95 = call i32 @EVP_CIPHER_mode(ptr noundef %94) #3 %96 = load i32, ptr @EVP_CIPH_OCB_MODE, align 4, !tbaa !10 %97 = icmp eq i32 %95, %96 br i1 %97, label %98, label %65 98: ; preds = %93, %88, %83, %78 %99 = load i32, ptr @bio_err, align 4, !tbaa !10 %100 = call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %99, ptr noundef nonnull @.str.3, ptr noundef %10) #3 br label %190 101: ; preds = %11 %102 = call i32 @opt_num_rest() #3 %103 = icmp eq i32 %102, 0 br i1 %103, label %104, label %18 104: ; preds = %101 %105 = icmp eq i32 %16, 0 %106 = xor i32 %16, 1 %107 = load ptr, ptr %4, align 8, !tbaa !6 %108 = icmp eq ptr %107, null br i1 %108, label %18, label %109 109: ; preds = %104 %110 = call i32 @app_passwd(ptr noundef %14, ptr noundef null, ptr noundef nonnull %5, ptr noundef null) #3 %111 = icmp eq i32 %110, 0 br i1 %111, label %112, label %115 112: ; preds = %109 %113 = load i32, ptr @bio_err, align 4, !tbaa !10 %114 = call i32 @BIO_puts(i32 noundef %113, ptr noundef nonnull @.str.4) #3 br label %190 115: ; preds = %109 %116 = load i32, ptr %7, align 4, !tbaa !10 %117 = call ptr @bio_open_owner(ptr noundef %13, i32 noundef %116, i32 noundef %106) #3 %118 = icmp eq ptr %117, null br i1 %118, label %190, label %119 119: ; preds = %115 %120 = load ptr, ptr %4, align 8, !tbaa !6 %121 = load i32, ptr @genpkey_cb, align 4, !tbaa !10 %122 = call i32 @EVP_PKEY_CTX_set_cb(ptr noundef %120, i32 noundef %121) #3 %123 = load ptr, ptr %4, align 8, !tbaa !6 %124 = load i32, ptr @bio_err, align 4, !tbaa !10 %125 = call i32 @EVP_PKEY_CTX_set_app_data(ptr noundef %123, i32 noundef %124) #3 %126 = load ptr, ptr %4, align 8, !tbaa !6 br i1 %105, label %135, label %127 127: ; preds = %119 %128 = call i64 @EVP_PKEY_paramgen(ptr noundef %126, ptr noundef nonnull %3) #3 %129 = icmp slt i64 %128, 1 br i1 %129, label %130, label %143 130: ; preds = %127 %131 = load i32, ptr @bio_err, align 4, !tbaa !10 %132 = call i32 @BIO_puts(i32 noundef %131, ptr noundef nonnull @.str.5) #3 %133 = load i32, ptr @bio_err, align 4, !tbaa !10 %134 = call i32 @ERR_print_errors(i32 noundef %133) #3 br label %190 135: ; preds = %119 %136 = call i64 @EVP_PKEY_keygen(ptr noundef %126, ptr noundef nonnull %3) #3 %137 = icmp slt i64 %136, 1 br i1 %137, label %138, label %146 138: ; preds = %135 %139 = load i32, ptr @bio_err, align 4, !tbaa !10 %140 = call i32 @BIO_puts(i32 noundef %139, ptr noundef nonnull @.str.6) #3 %141 = load i32, ptr @bio_err, align 4, !tbaa !10 %142 = call i32 @ERR_print_errors(i32 noundef %141) #3 br label %190 143: ; preds = %127 %144 = load ptr, ptr %3, align 8, !tbaa !6 %145 = call i32 @PEM_write_bio_Parameters(ptr noundef nonnull %117, ptr noundef %144) #3 br label %166 146: ; preds = %135 %147 = load i32, ptr %7, align 4, !tbaa !10 %148 = load i32, ptr @FORMAT_PEM, align 4, !tbaa !10 %149 = icmp eq i32 %147, %148 br i1 %149, label %150, label %156 150: ; preds = %146 %151 = call i32 @assert(i32 noundef %106) #3 %152 = load ptr, ptr %3, align 8, !tbaa !6 %153 = load ptr, ptr %6, align 8, !tbaa !6 %154 = load ptr, ptr %5, align 8, !tbaa !6 %155 = call i32 @PEM_write_bio_PrivateKey(ptr noundef nonnull %117, ptr noundef %152, ptr noundef %153, ptr noundef null, i32 noundef 0, ptr noundef null, ptr noundef %154) #3 br label %166 156: ; preds = %146 %157 = load i32, ptr @FORMAT_ASN1, align 4, !tbaa !10 %158 = icmp eq i32 %147, %157 br i1 %158, label %159, label %163 159: ; preds = %156 %160 = call i32 @assert(i32 noundef %106) #3 %161 = load ptr, ptr %3, align 8, !tbaa !6 %162 = call i32 @i2d_PrivateKey_bio(ptr noundef nonnull %117, ptr noundef %161) #3 br label %166 163: ; preds = %156 %164 = load i32, ptr @bio_err, align 4, !tbaa !10 %165 = call i32 (i32, ptr, ...) @BIO_printf(i32 noundef %164, ptr noundef nonnull @.str.7) #3 br label %190 166: ; preds = %150, %159, %143 %167 = phi i32 [ %145, %143 ], [ %155, %150 ], [ %162, %159 ] %168 = icmp slt i32 %167, 1 br i1 %168, label %169, label %174 169: ; preds = %166 %170 = load i32, ptr @bio_err, align 4, !tbaa !10 %171 = call i32 @BIO_puts(i32 noundef %170, ptr noundef nonnull @.str.8) #3 %172 = load i32, ptr @bio_err, align 4, !tbaa !10 %173 = call i32 @ERR_print_errors(i32 noundef %172) #3 br label %174 174: ; preds = %169, %166 %175 = icmp eq i32 %15, 0 br i1 %175, label %190, label %176 176: ; preds = %174 %177 = load ptr, ptr %3, align 8, !tbaa !6 br i1 %105, label %180, label %178 178: ; preds = %176 %179 = call i32 @EVP_PKEY_print_params(ptr noundef nonnull %117, ptr noundef %177, i32 noundef 0, ptr noundef null) #3 br label %182 180: ; preds = %176 %181 = call i32 @EVP_PKEY_print_private(ptr noundef nonnull %117, ptr noundef %177, i32 noundef 0, ptr noundef null) #3 br label %182 182: ; preds = %180, %178 %183 = phi i32 [ %179, %178 ], [ %181, %180 ] %184 = icmp slt i32 %183, 1 br i1 %184, label %185, label %190 185: ; preds = %182 %186 = load i32, ptr @bio_err, align 4, !tbaa !10 %187 = call i32 @BIO_puts(i32 noundef %186, ptr noundef nonnull @.str.9) #3 %188 = load i32, ptr @bio_err, align 4, !tbaa !10 %189 = call i32 @ERR_print_errors(i32 noundef %188) #3 br label %190 190: ; preds = %42, %38, %174, %185, %182, %115, %163, %138, %130, %112, %98, %56, %21, %18 %191 = phi ptr [ null, %18 ], [ null, %98 ], [ null, %56 ], [ null, %21 ], [ null, %115 ], [ %117, %130 ], [ %117, %163 ], [ %117, %138 ], [ null, %112 ], [ %117, %182 ], [ %117, %185 ], [ %117, %174 ], [ null, %38 ], [ null, %42 ] %192 = phi i32 [ 1, %18 ], [ 1, %98 ], [ 1, %56 ], [ 0, %21 ], [ 1, %115 ], [ 1, %130 ], [ 1, %163 ], [ 1, %138 ], [ 1, %112 ], [ 0, %182 ], [ 0, %185 ], [ 0, %174 ], [ 1, %38 ], [ 1, %42 ] %193 = load ptr, ptr %3, align 8, !tbaa !6 %194 = call i32 @EVP_PKEY_free(ptr noundef %193) #3 %195 = load ptr, ptr %4, align 8, !tbaa !6 %196 = call i32 @EVP_PKEY_CTX_free(ptr noundef %195) #3 %197 = call i32 @BIO_free_all(ptr noundef %191) #3 %198 = call i32 @BIO_free(ptr noundef null) #3 %199 = call i32 @release_engine(ptr noundef %12) #3 %200 = load ptr, ptr %5, align 8, !tbaa !6 %201 = call i32 @OPENSSL_free(ptr noundef %200) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 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 %192 } ; 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(i32 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 @init_keygen_file(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @init_gen_str(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pkey_ctrl_string(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ERR_print_errors(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 @EVP_CIPHER_mode(ptr noundef) 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 i32 @BIO_puts(i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @bio_open_owner(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @EVP_PKEY_CTX_set_cb(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @EVP_PKEY_CTX_set_app_data(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @EVP_PKEY_paramgen(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @EVP_PKEY_keygen(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PEM_write_bio_Parameters(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @assert(i32 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_PrivateKey_bio(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @EVP_PKEY_print_params(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @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 @EVP_PKEY_CTX_free(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 @release_engine(ptr noundef) local_unnamed_addr #2 declare i32 @OPENSSL_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
openssl_apps_extr_genpkey.c_genpkey_main
; ModuleID = 'AnghaBench/freebsd/contrib/bsnmp/snmp_mibII/extr_mibII_ip.c_ip_forward.c' source_filename = "AnghaBench/freebsd/contrib/bsnmp/snmp_mibII/extr_mibII_ip.c_ip_forward.c" target datalayout = "e-m:e-p270:32:32-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 [23 x i8] c"net.inet.ip.forwarding\00", align 1 @LOG_ERR = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"set net.inet.ip.forwarding: %m\00", align 1 @ip_forwarding = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ip_forward], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @ip_forward(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i64, align 8 store i32 %0, ptr %3, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store i64 4, ptr %4, align 8, !tbaa !9 %5 = icmp eq ptr %1, null %6 = select i1 %5, ptr null, ptr %4 %7 = call i32 @sysctlbyname(ptr noundef nonnull @.str, ptr noundef %1, ptr noundef %6, ptr noundef nonnull %3, i32 noundef 4) #3 %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = load i32, ptr @LOG_ERR, align 4, !tbaa !5 %11 = call i32 @syslog(i32 noundef %10, ptr noundef nonnull @.str.1) #3 br label %14 12: ; preds = %2 %13 = load i32, ptr %3, align 4, !tbaa !5 store i32 %13, ptr @ip_forwarding, align 4, !tbaa !5 br label %14 14: ; preds = %12, %9 %15 = phi i32 [ -1, %9 ], [ 0, %12 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %15 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sysctlbyname(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @syslog(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/bsnmp/snmp_mibII/extr_mibII_ip.c_ip_forward.c' source_filename = "AnghaBench/freebsd/contrib/bsnmp/snmp_mibII/extr_mibII_ip.c_ip_forward.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 [23 x i8] c"net.inet.ip.forwarding\00", align 1 @LOG_ERR = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"set net.inet.ip.forwarding: %m\00", align 1 @ip_forwarding = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ip_forward], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @ip_forward(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i64, align 8 store i32 %0, ptr %3, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store i64 4, ptr %4, align 8, !tbaa !10 %5 = icmp eq ptr %1, null %6 = select i1 %5, ptr null, ptr %4 %7 = call i32 @sysctlbyname(ptr noundef nonnull @.str, ptr noundef %1, ptr noundef %6, ptr noundef nonnull %3, i32 noundef 4) #3 %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = load i32, ptr @LOG_ERR, align 4, !tbaa !6 %11 = call i32 @syslog(i32 noundef %10, ptr noundef nonnull @.str.1) #3 br label %14 12: ; preds = %2 %13 = load i32, ptr %3, align 4, !tbaa !6 store i32 %13, ptr @ip_forwarding, align 4, !tbaa !6 br label %14 14: ; preds = %12, %9 %15 = phi i32 [ -1, %9 ], [ 0, %12 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %15 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sysctlbyname(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @syslog(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
freebsd_contrib_bsnmp_snmp_mibII_extr_mibII_ip.c_ip_forward
; ModuleID = 'AnghaBench/linux/drivers/spi/extr_spi-loopback-test.c_spi_loopback_test_probe.c' source_filename = "AnghaBench/linux/drivers/spi/extr_spi-loopback-test.c_spi_loopback_test_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.spi_device = type { i32, i32 } @loop_req = dso_local local_unnamed_addr global i64 0, align 8 @no_cs = dso_local local_unnamed_addr global i64 0, align 8 @SPI_LOOP = dso_local local_unnamed_addr global i32 0, align 4 @SPI_NO_CS = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [50 x i8] c"SPI setup with SPI_LOOP or SPI_NO_CS failed (%d)\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"Executing spi-loopback-tests\0A\00", align 1 @spi_tests = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [45 x i8] c"Finished spi-loopback-tests with return: %i\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @spi_loopback_test_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @spi_loopback_test_probe(ptr noundef %0) #0 { %2 = load i64, ptr @loop_req, align 8, !tbaa !5 %3 = icmp ne i64 %2, 0 %4 = load i64, ptr @no_cs, align 8 %5 = icmp ne i64 %4, 0 %6 = select i1 %3, i1 true, i1 %5 br i1 %6, label %7, label %21 7: ; preds = %1 %8 = load i32, ptr @SPI_LOOP, align 4 %9 = select i1 %3, i32 %8, i32 0 %10 = getelementptr inbounds %struct.spi_device, ptr %0, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !9 %12 = or i32 %11, %9 %13 = icmp eq i64 %4, 0 %14 = load i32, ptr @SPI_NO_CS, align 4 %15 = select i1 %13, i32 0, i32 %14 %16 = or i32 %15, %12 store i32 %16, ptr %10, align 4, !tbaa !9 %17 = tail call i32 @spi_setup(ptr noundef %0) #2 %18 = icmp eq i32 %17, 0 br i1 %18, label %21, label %19 19: ; preds = %7 %20 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %17) #2 br label %26 21: ; preds = %7, %1 %22 = tail call i32 (ptr, ptr, ...) @dev_info(ptr noundef %0, ptr noundef nonnull @.str.1) #2 %23 = load i32, ptr @spi_tests, align 4, !tbaa !12 %24 = tail call i32 @spi_test_run_tests(ptr noundef %0, i32 noundef %23) #2 %25 = tail call i32 (ptr, ptr, ...) @dev_info(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %24) #2 br label %26 26: ; preds = %21, %19 %27 = phi i32 [ %17, %19 ], [ %24, %21 ] ret i32 %27 } declare i32 @spi_setup(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_info(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @spi_test_run_tests(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 4} !10 = !{!"spi_device", !11, i64 0, !11, i64 4} !11 = !{!"int", !7, i64 0} !12 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/spi/extr_spi-loopback-test.c_spi_loopback_test_probe.c' source_filename = "AnghaBench/linux/drivers/spi/extr_spi-loopback-test.c_spi_loopback_test_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @loop_req = common local_unnamed_addr global i64 0, align 8 @no_cs = common local_unnamed_addr global i64 0, align 8 @SPI_LOOP = common local_unnamed_addr global i32 0, align 4 @SPI_NO_CS = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [50 x i8] c"SPI setup with SPI_LOOP or SPI_NO_CS failed (%d)\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"Executing spi-loopback-tests\0A\00", align 1 @spi_tests = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [45 x i8] c"Finished spi-loopback-tests with return: %i\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @spi_loopback_test_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @spi_loopback_test_probe(ptr noundef %0) #0 { %2 = load i64, ptr @loop_req, align 8, !tbaa !6 %3 = icmp ne i64 %2, 0 %4 = load i64, ptr @no_cs, align 8 %5 = icmp ne i64 %4, 0 %6 = select i1 %3, i1 true, i1 %5 br i1 %6, label %7, label %21 7: ; preds = %1 %8 = load i32, ptr @SPI_LOOP, align 4 %9 = select i1 %3, i32 %8, i32 0 %10 = getelementptr inbounds i8, ptr %0, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !10 %12 = or i32 %11, %9 %13 = icmp eq i64 %4, 0 %14 = load i32, ptr @SPI_NO_CS, align 4 %15 = select i1 %13, i32 0, i32 %14 %16 = or i32 %15, %12 store i32 %16, ptr %10, align 4, !tbaa !10 %17 = tail call i32 @spi_setup(ptr noundef %0) #2 %18 = icmp eq i32 %17, 0 br i1 %18, label %21, label %19 19: ; preds = %7 %20 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %17) #2 br label %26 21: ; preds = %7, %1 %22 = tail call i32 (ptr, ptr, ...) @dev_info(ptr noundef %0, ptr noundef nonnull @.str.1) #2 %23 = load i32, ptr @spi_tests, align 4, !tbaa !13 %24 = tail call i32 @spi_test_run_tests(ptr noundef %0, i32 noundef %23) #2 %25 = tail call i32 (ptr, ptr, ...) @dev_info(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %24) #2 br label %26 26: ; preds = %21, %19 %27 = phi i32 [ %17, %19 ], [ %24, %21 ] ret i32 %27 } declare i32 @spi_setup(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_info(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @spi_test_run_tests(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 4} !11 = !{!"spi_device", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0}
linux_drivers_spi_extr_spi-loopback-test.c_spi_loopback_test_probe
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/alacritech/extr_slicoss.c_slic_init_rx_queue.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/alacritech/extr_slicoss.c_slic_init_rx_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.slic_rx_queue = type { ptr, i32, i64, i64 } @SLIC_NUM_RX_LES = 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 @slic_init_rx_queue], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @slic_init_rx_queue(ptr noundef %0) #0 { %2 = load i32, ptr @SLIC_NUM_RX_LES, align 4, !tbaa !5 %3 = getelementptr inbounds %struct.slic_rx_queue, ptr %0, i64 0, i32 1 store i32 %2, ptr %3, align 8, !tbaa !9 %4 = getelementptr inbounds %struct.slic_rx_queue, ptr %0, i64 0, i32 2 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, i8 0, i64 16, i1 false) %5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %6 = tail call ptr @kcalloc(i32 noundef %2, i32 noundef 4, i32 noundef %5) #3 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %1 %9 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %10 = sub nsw i32 0, %9 br label %14 11: ; preds = %1 store ptr %6, ptr %0, align 8, !tbaa !13 %12 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %13 = tail call i32 @slic_refill_rx_queue(ptr noundef nonnull %0, i32 noundef %12) #3 br label %14 14: ; preds = %11, %8 %15 = phi i32 [ 0, %11 ], [ %10, %8 ] ret i32 %15 } declare ptr @kcalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @slic_refill_rx_queue(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, !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 = !{!"slic_rx_queue", !11, i64 0, !6, i64 8, !12, i64 16, !12, i64 24} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/alacritech/extr_slicoss.c_slic_init_rx_queue.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/alacritech/extr_slicoss.c_slic_init_rx_queue.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SLIC_NUM_RX_LES = 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 @slic_init_rx_queue], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @slic_init_rx_queue(ptr noundef %0) #0 { %2 = load i32, ptr @SLIC_NUM_RX_LES, align 4, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %2, ptr %3, align 8, !tbaa !10 %4 = getelementptr inbounds i8, ptr %0, i64 16 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, i8 0, i64 16, i1 false) %5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %6 = tail call ptr @kcalloc(i32 noundef %2, i32 noundef 4, i32 noundef %5) #3 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %1 %9 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %10 = sub nsw i32 0, %9 br label %14 11: ; preds = %1 store ptr %6, ptr %0, align 8, !tbaa !14 %12 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %13 = tail call i32 @slic_refill_rx_queue(ptr noundef nonnull %0, i32 noundef %12) #3 br label %14 14: ; preds = %11, %8 %15 = phi i32 [ 0, %11 ], [ %10, %8 ] ret i32 %15 } declare ptr @kcalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @slic_refill_rx_queue(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, !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 = !{!"slic_rx_queue", !12, i64 0, !7, i64 8, !13, i64 16, !13, i64 24} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!11, !12, i64 0}
linux_drivers_net_ethernet_alacritech_extr_slicoss.c_slic_init_rx_queue
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_vpx3220.c_vpx3220_fp_status.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_vpx3220.c_vpx3220_fp_status.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @VPX_TIMEOUT_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vpx3220_fp_status], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @vpx3220_fp_status(ptr noundef %0) #0 { %2 = load i32, ptr @VPX_TIMEOUT_COUNT, align 4, !tbaa !5 %3 = icmp eq i32 %2, 0 br i1 %3, label %19, label %4 4: ; preds = %1, %15 %5 = phi i32 [ %16, %15 ], [ 0, %1 ] %6 = tail call zeroext i8 @vpx3220_read(ptr noundef %0, i32 noundef 41) #2 %7 = and i8 %6, 4 %8 = icmp eq i8 %7, 0 br i1 %8, label %19, label %9 9: ; preds = %4 %10 = tail call i32 @udelay(i32 noundef 10) #2 %11 = tail call i64 (...) @need_resched() #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %9 %14 = tail call i32 (...) @cond_resched() #2 br label %15 15: ; preds = %9, %13 %16 = add nuw i32 %5, 1 %17 = load i32, ptr @VPX_TIMEOUT_COUNT, align 4, !tbaa !5 %18 = icmp ult i32 %16, %17 br i1 %18, label %4, label %19, !llvm.loop !9 19: ; preds = %4, %15, %1 %20 = phi i32 [ -1, %1 ], [ -1, %15 ], [ 0, %4 ] ret i32 %20 } declare zeroext i8 @vpx3220_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i64 @need_resched(...) local_unnamed_addr #1 declare i32 @cond_resched(...) 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/media/i2c/extr_vpx3220.c_vpx3220_fp_status.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_vpx3220.c_vpx3220_fp_status.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VPX_TIMEOUT_COUNT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vpx3220_fp_status], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @vpx3220_fp_status(ptr noundef %0) #0 { %2 = load i32, ptr @VPX_TIMEOUT_COUNT, align 4, !tbaa !6 %3 = icmp eq i32 %2, 0 br i1 %3, label %19, label %4 4: ; preds = %1, %15 %5 = phi i32 [ %16, %15 ], [ 0, %1 ] %6 = tail call zeroext i8 @vpx3220_read(ptr noundef %0, i32 noundef 41) #2 %7 = and i8 %6, 4 %8 = icmp eq i8 %7, 0 br i1 %8, label %19, label %9 9: ; preds = %4 %10 = tail call i32 @udelay(i32 noundef 10) #2 %11 = tail call i64 @need_resched() #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %9 %14 = tail call i32 @cond_resched() #2 br label %15 15: ; preds = %9, %13 %16 = add nuw i32 %5, 1 %17 = load i32, ptr @VPX_TIMEOUT_COUNT, align 4, !tbaa !6 %18 = icmp ult i32 %16, %17 br i1 %18, label %4, label %19, !llvm.loop !10 19: ; preds = %4, %15, %1 %20 = phi i32 [ -1, %1 ], [ -1, %15 ], [ 0, %4 ] ret i32 %20 } declare zeroext i8 @vpx3220_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i64 @need_resched(...) local_unnamed_addr #1 declare i32 @cond_resched(...) 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_media_i2c_extr_vpx3220.c_vpx3220_fp_status
; ModuleID = 'AnghaBench/brotli/c/dec/extr_decode.c_SafeReadSymbolCodeLengths.c' source_filename = "AnghaBench/brotli/c/dec/extr_decode.c_SafeReadSymbolCodeLengths.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { %struct.TYPE_5__, i32 } %struct.TYPE_5__ = type { %struct.TYPE_6__ } %struct.TYPE_6__ = type { i64, i64, i32, i32, i32, i32, i32, i32, ptr } @BROTLI_FALSE = dso_local local_unnamed_addr global i64 0, align 8 @BROTLI_DECODER_NEEDS_MORE_INPUT = dso_local local_unnamed_addr global i32 0, align 4 @BROTLI_HUFFMAN_MAX_CODE_LENGTH_CODE_LENGTH = dso_local local_unnamed_addr global i64 0, align 8 @BROTLI_TRUE = dso_local local_unnamed_addr global i64 0, align 8 @BROTLI_REPEAT_PREVIOUS_CODE_LENGTH = dso_local local_unnamed_addr global i64 0, align 8 @BROTLI_DECODER_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @SafeReadSymbolCodeLengths], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @SafeReadSymbolCodeLengths(i64 noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 1 %4 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1 %5 = load i64, ptr %1, align 8, !tbaa !5 %6 = icmp slt i64 %5, %0 br i1 %6, label %7, label %77 7: ; preds = %2 %8 = load i64, ptr @BROTLI_FALSE, align 8, !tbaa !12 %9 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 8 %10 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 7 %11 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 6 %12 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 5 %13 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 4 %14 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 3 %15 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 2 br label %16 16: ; preds = %7, %73 %17 = phi i64 [ %8, %7 ], [ %74, %73 ] %18 = load i64, ptr %4, align 8, !tbaa !13 %19 = icmp sgt i64 %18, 0 br i1 %19, label %20, label %77 20: ; preds = %16 %21 = load ptr, ptr %9, align 8, !tbaa !14 %22 = tail call i32 @BROTLI_HC_MARK_TABLE_FOR_FAST_LOAD(ptr noundef %21) #2 %23 = icmp eq i64 %17, 0 br i1 %23, label %27, label %24 24: ; preds = %20 %25 = tail call i32 @BrotliPullByte(ptr noundef nonnull %3) #2 %26 = icmp eq i32 %25, 0 br i1 %26, label %77, label %27 27: ; preds = %24, %20 %28 = load i64, ptr @BROTLI_FALSE, align 8, !tbaa !12 %29 = tail call i64 @BrotliGetAvailableBits(ptr noundef nonnull %3) #2 %30 = icmp eq i64 %29, 0 br i1 %30, label %33, label %31 31: ; preds = %27 %32 = tail call i64 @BrotliGetBitsUnmasked(ptr noundef nonnull %3) #2 br label %33 33: ; preds = %31, %27 %34 = phi i64 [ %32, %31 ], [ 0, %27 ] %35 = load i64, ptr @BROTLI_HUFFMAN_MAX_CODE_LENGTH_CODE_LENGTH, align 8, !tbaa !12 %36 = tail call i64 @BitMask(i64 noundef %35) #2 %37 = and i64 %36, %34 %38 = tail call i32 @BROTLI_HC_ADJUST_TABLE_INDEX(ptr noundef %21, i64 noundef %37) #2 %39 = tail call i64 @BROTLI_HC_FAST_LOAD_BITS(ptr noundef %21) #2 %40 = icmp sgt i64 %39, %29 br i1 %40, label %41, label %43 41: ; preds = %33 %42 = load i64, ptr @BROTLI_TRUE, align 8, !tbaa !12 br label %73, !llvm.loop !15 43: ; preds = %33 %44 = tail call i64 @BROTLI_HC_FAST_LOAD_VALUE(ptr noundef %21) #2 %45 = load i64, ptr @BROTLI_REPEAT_PREVIOUS_CODE_LENGTH, align 8, !tbaa !12 %46 = icmp slt i64 %44, %45 br i1 %46, label %47, label %54 47: ; preds = %43 %48 = tail call i64 @BROTLI_HC_FAST_LOAD_BITS(ptr noundef %21) #2 %49 = tail call i32 @BrotliDropBits(ptr noundef nonnull %3, i64 noundef %48) #2 %50 = load i32, ptr %13, align 8, !tbaa !17 %51 = load i32, ptr %14, align 4, !tbaa !18 %52 = load i32, ptr %15, align 8, !tbaa !19 %53 = tail call i32 @ProcessSingleCodeLength(i64 noundef %44, ptr noundef nonnull %1, ptr noundef nonnull %10, ptr noundef nonnull %4, ptr noundef nonnull %11, i32 noundef %50, i32 noundef %51, i32 noundef %52) #2 br label %73 54: ; preds = %43 %55 = add nsw i64 %44, -14 %56 = tail call i64 @BROTLI_HC_FAST_LOAD_BITS(ptr noundef %21) #2 %57 = tail call i64 @BitMask(i64 noundef %55) #2 %58 = tail call i64 @BROTLI_HC_FAST_LOAD_BITS(ptr noundef %21) #2 %59 = add nsw i64 %58, %55 %60 = icmp slt i64 %29, %59 br i1 %60, label %71, label %61 61: ; preds = %54 %62 = ashr i64 %34, %56 %63 = and i64 %62, %57 %64 = tail call i64 @BROTLI_HC_FAST_LOAD_BITS(ptr noundef %21) #2 %65 = add nsw i64 %64, %55 %66 = tail call i32 @BrotliDropBits(ptr noundef nonnull %3, i64 noundef %65) #2 %67 = load i32, ptr %13, align 8, !tbaa !17 %68 = load i32, ptr %14, align 4, !tbaa !18 %69 = load i32, ptr %15, align 8, !tbaa !19 %70 = tail call i32 @ProcessRepeatedCodeLength(i64 noundef %44, i64 noundef %63, i64 noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %10, ptr noundef nonnull %4, ptr noundef nonnull %11, ptr noundef nonnull %12, i32 noundef %67, i32 noundef %68, i32 noundef %69) #2 br label %73 71: ; preds = %54 %72 = load i64, ptr @BROTLI_TRUE, align 8, !tbaa !12 br label %73 73: ; preds = %61, %71, %47, %41 %74 = phi i64 [ %42, %41 ], [ %28, %47 ], [ %28, %61 ], [ %72, %71 ] %75 = load i64, ptr %1, align 8, !tbaa !5 %76 = icmp slt i64 %75, %0 br i1 %76, label %16, label %77 77: ; preds = %24, %73, %16, %2 %78 = phi ptr [ @BROTLI_DECODER_SUCCESS, %2 ], [ @BROTLI_DECODER_SUCCESS, %16 ], [ @BROTLI_DECODER_SUCCESS, %73 ], [ @BROTLI_DECODER_NEEDS_MORE_INPUT, %24 ] %79 = load i32, ptr %78, align 4, !tbaa !20 ret i32 %79 } declare i32 @BROTLI_HC_MARK_TABLE_FOR_FAST_LOAD(ptr noundef) local_unnamed_addr #1 declare i32 @BrotliPullByte(ptr noundef) local_unnamed_addr #1 declare i64 @BrotliGetAvailableBits(ptr noundef) local_unnamed_addr #1 declare i64 @BrotliGetBitsUnmasked(ptr noundef) local_unnamed_addr #1 declare i32 @BROTLI_HC_ADJUST_TABLE_INDEX(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @BitMask(i64 noundef) local_unnamed_addr #1 declare i64 @BROTLI_HC_FAST_LOAD_BITS(ptr noundef) local_unnamed_addr #1 declare i64 @BROTLI_HC_FAST_LOAD_VALUE(ptr noundef) local_unnamed_addr #1 declare i32 @BrotliDropBits(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ProcessSingleCodeLength(i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ProcessRepeatedCodeLength(i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !11, i64 40} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 8} !14 = !{!6, !11, i64 40} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!6, !10, i64 24} !18 = !{!6, !10, i64 20} !19 = !{!6, !10, i64 16} !20 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/brotli/c/dec/extr_decode.c_SafeReadSymbolCodeLengths.c' source_filename = "AnghaBench/brotli/c/dec/extr_decode.c_SafeReadSymbolCodeLengths.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BROTLI_FALSE = common local_unnamed_addr global i64 0, align 8 @BROTLI_DECODER_NEEDS_MORE_INPUT = common local_unnamed_addr global i32 0, align 4 @BROTLI_HUFFMAN_MAX_CODE_LENGTH_CODE_LENGTH = common local_unnamed_addr global i64 0, align 8 @BROTLI_TRUE = common local_unnamed_addr global i64 0, align 8 @BROTLI_REPEAT_PREVIOUS_CODE_LENGTH = common local_unnamed_addr global i64 0, align 8 @BROTLI_DECODER_SUCCESS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @SafeReadSymbolCodeLengths], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @SafeReadSymbolCodeLengths(i64 noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 48 %4 = getelementptr inbounds i8, ptr %1, i64 8 %5 = load i64, ptr %1, align 8, !tbaa !6 %6 = icmp slt i64 %5, %0 br i1 %6, label %7, label %77 7: ; preds = %2 %8 = load i64, ptr @BROTLI_FALSE, align 8, !tbaa !13 %9 = getelementptr inbounds i8, ptr %1, i64 40 %10 = getelementptr inbounds i8, ptr %1, i64 36 %11 = getelementptr inbounds i8, ptr %1, i64 32 %12 = getelementptr inbounds i8, ptr %1, i64 28 %13 = getelementptr inbounds i8, ptr %1, i64 24 %14 = getelementptr inbounds i8, ptr %1, i64 20 %15 = getelementptr inbounds i8, ptr %1, i64 16 br label %16 16: ; preds = %7, %73 %17 = phi i64 [ %8, %7 ], [ %74, %73 ] %18 = load i64, ptr %4, align 8, !tbaa !14 %19 = icmp sgt i64 %18, 0 br i1 %19, label %20, label %77 20: ; preds = %16 %21 = load ptr, ptr %9, align 8, !tbaa !15 %22 = tail call i32 @BROTLI_HC_MARK_TABLE_FOR_FAST_LOAD(ptr noundef %21) #2 %23 = icmp eq i64 %17, 0 br i1 %23, label %27, label %24 24: ; preds = %20 %25 = tail call i32 @BrotliPullByte(ptr noundef nonnull %3) #2 %26 = icmp eq i32 %25, 0 br i1 %26, label %77, label %27 27: ; preds = %24, %20 %28 = load i64, ptr @BROTLI_FALSE, align 8, !tbaa !13 %29 = tail call i64 @BrotliGetAvailableBits(ptr noundef nonnull %3) #2 %30 = icmp eq i64 %29, 0 br i1 %30, label %33, label %31 31: ; preds = %27 %32 = tail call i64 @BrotliGetBitsUnmasked(ptr noundef nonnull %3) #2 br label %33 33: ; preds = %31, %27 %34 = phi i64 [ %32, %31 ], [ 0, %27 ] %35 = load i64, ptr @BROTLI_HUFFMAN_MAX_CODE_LENGTH_CODE_LENGTH, align 8, !tbaa !13 %36 = tail call i64 @BitMask(i64 noundef %35) #2 %37 = and i64 %36, %34 %38 = tail call i32 @BROTLI_HC_ADJUST_TABLE_INDEX(ptr noundef %21, i64 noundef %37) #2 %39 = tail call i64 @BROTLI_HC_FAST_LOAD_BITS(ptr noundef %21) #2 %40 = icmp sgt i64 %39, %29 br i1 %40, label %41, label %43 41: ; preds = %33 %42 = load i64, ptr @BROTLI_TRUE, align 8, !tbaa !13 br label %73, !llvm.loop !16 43: ; preds = %33 %44 = tail call i64 @BROTLI_HC_FAST_LOAD_VALUE(ptr noundef %21) #2 %45 = load i64, ptr @BROTLI_REPEAT_PREVIOUS_CODE_LENGTH, align 8, !tbaa !13 %46 = icmp slt i64 %44, %45 br i1 %46, label %47, label %54 47: ; preds = %43 %48 = tail call i64 @BROTLI_HC_FAST_LOAD_BITS(ptr noundef %21) #2 %49 = tail call i32 @BrotliDropBits(ptr noundef nonnull %3, i64 noundef %48) #2 %50 = load i32, ptr %13, align 8, !tbaa !18 %51 = load i32, ptr %14, align 4, !tbaa !19 %52 = load i32, ptr %15, align 8, !tbaa !20 %53 = tail call i32 @ProcessSingleCodeLength(i64 noundef %44, ptr noundef nonnull %1, ptr noundef nonnull %10, ptr noundef nonnull %4, ptr noundef nonnull %11, i32 noundef %50, i32 noundef %51, i32 noundef %52) #2 br label %73 54: ; preds = %43 %55 = add nsw i64 %44, -14 %56 = tail call i64 @BROTLI_HC_FAST_LOAD_BITS(ptr noundef %21) #2 %57 = tail call i64 @BitMask(i64 noundef %55) #2 %58 = tail call i64 @BROTLI_HC_FAST_LOAD_BITS(ptr noundef %21) #2 %59 = add nsw i64 %58, %55 %60 = icmp slt i64 %29, %59 br i1 %60, label %61, label %63 61: ; preds = %54 %62 = load i64, ptr @BROTLI_TRUE, align 8, !tbaa !13 br label %73 63: ; preds = %54 %64 = ashr i64 %34, %56 %65 = and i64 %64, %57 %66 = tail call i64 @BROTLI_HC_FAST_LOAD_BITS(ptr noundef %21) #2 %67 = add nsw i64 %66, %55 %68 = tail call i32 @BrotliDropBits(ptr noundef nonnull %3, i64 noundef %67) #2 %69 = load i32, ptr %13, align 8, !tbaa !18 %70 = load i32, ptr %14, align 4, !tbaa !19 %71 = load i32, ptr %15, align 8, !tbaa !20 %72 = tail call i32 @ProcessRepeatedCodeLength(i64 noundef %44, i64 noundef %65, i64 noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %10, ptr noundef nonnull %4, ptr noundef nonnull %11, ptr noundef nonnull %12, i32 noundef %69, i32 noundef %70, i32 noundef %71) #2 br label %73 73: ; preds = %47, %63, %61, %41 %74 = phi i64 [ %42, %41 ], [ %62, %61 ], [ %28, %47 ], [ %28, %63 ] %75 = load i64, ptr %1, align 8, !tbaa !6 %76 = icmp slt i64 %75, %0 br i1 %76, label %16, label %77 77: ; preds = %24, %73, %16, %2 %78 = phi ptr [ @BROTLI_DECODER_SUCCESS, %2 ], [ @BROTLI_DECODER_SUCCESS, %16 ], [ @BROTLI_DECODER_SUCCESS, %73 ], [ @BROTLI_DECODER_NEEDS_MORE_INPUT, %24 ] %79 = load i32, ptr %78, align 4, !tbaa !21 ret i32 %79 } declare i32 @BROTLI_HC_MARK_TABLE_FOR_FAST_LOAD(ptr noundef) local_unnamed_addr #1 declare i32 @BrotliPullByte(ptr noundef) local_unnamed_addr #1 declare i64 @BrotliGetAvailableBits(ptr noundef) local_unnamed_addr #1 declare i64 @BrotliGetBitsUnmasked(ptr noundef) local_unnamed_addr #1 declare i32 @BROTLI_HC_ADJUST_TABLE_INDEX(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @BitMask(i64 noundef) local_unnamed_addr #1 declare i64 @BROTLI_HC_FAST_LOAD_BITS(ptr noundef) local_unnamed_addr #1 declare i64 @BROTLI_HC_FAST_LOAD_VALUE(ptr noundef) local_unnamed_addr #1 declare i32 @BrotliDropBits(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ProcessSingleCodeLength(i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ProcessRepeatedCodeLength(i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !12, i64 40} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 8} !15 = !{!7, !12, i64 40} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!7, !11, i64 24} !19 = !{!7, !11, i64 20} !20 = !{!7, !11, i64 16} !21 = !{!11, !11, i64 0}
brotli_c_dec_extr_decode.c_SafeReadSymbolCodeLengths
; ModuleID = 'AnghaBench/linux/drivers/xen/extr_..pcipci.h_pci_acpi_program_hp_params.c' source_filename = "AnghaBench/linux/drivers/xen/extr_..pcipci.h_pci_acpi_program_hp_params.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pci_acpi_program_hp_params], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @pci_acpi_program_hp_params(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @ENODEV, align 4, !tbaa !5 %3 = sub nsw i32 0, %2 ret i32 %3 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/xen/extr_..pcipci.h_pci_acpi_program_hp_params.c' source_filename = "AnghaBench/linux/drivers/xen/extr_..pcipci.h_pci_acpi_program_hp_params.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENODEV = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pci_acpi_program_hp_params], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @pci_acpi_program_hp_params(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @ENODEV, align 4, !tbaa !6 %3 = sub nsw i32 0, %2 ret i32 %3 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_xen_extr_..pcipci.h_pci_acpi_program_hp_params
; ModuleID = 'AnghaBench/freebsd/contrib/elftoolchain/readelf/extr_readelf.c_get_symbol_name.c' source_filename = "AnghaBench/freebsd/contrib/elftoolchain/readelf/extr_readelf.c_get_symbol_name.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i64, i32, i32 } %struct.readelf = type { i64, i32, ptr } %struct.section = type { i64, ptr, i64, i32 } @SHT_SYMTAB = dso_local local_unnamed_addr global i64 0, align 8 @SHT_DYNSYM = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"elf_getdata failed: %s\00", align 1 @STT_SECTION = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_symbol_name], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal nonnull ptr @get_symbol_name(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca %struct.TYPE_4__, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 %5 = getelementptr inbounds %struct.readelf, ptr %0, i64 0, i32 2 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = sext i32 %1 to i64 %8 = getelementptr inbounds %struct.section, ptr %6, i64 %7 %9 = load i64, ptr %8, align 8, !tbaa !12 %10 = load i64, ptr @SHT_SYMTAB, align 8, !tbaa !14 %11 = icmp eq i64 %9, %10 %12 = load i64, ptr @SHT_DYNSYM, align 8 %13 = icmp eq i64 %9, %12 %14 = select i1 %11, i1 true, i1 %13 br i1 %14, label %15, label %59 15: ; preds = %3 %16 = tail call i32 (...) @elf_errno() #3 %17 = getelementptr inbounds %struct.section, ptr %6, i64 %7, i32 3 %18 = load i32, ptr %17, align 8, !tbaa !15 %19 = tail call ptr @elf_getdata(i32 noundef %18, ptr noundef null) #3 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %27 21: ; preds = %15 %22 = tail call i32 (...) @elf_errno() #3 %23 = icmp eq i32 %22, 0 br i1 %23, label %59, label %24 24: ; preds = %21 %25 = tail call i32 @elf_errmsg(i32 noundef %22) #3 %26 = tail call i32 @warnx(ptr noundef nonnull @.str.1, i32 noundef %25) #3 br label %59 27: ; preds = %15 %28 = call ptr @gelf_getsym(ptr noundef nonnull %19, i32 noundef %2, ptr noundef nonnull %4) #3 %29 = icmp eq ptr %28, %4 br i1 %29, label %30, label %59 30: ; preds = %27 %31 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 0, i32 2 %32 = load i32, ptr %31, align 4, !tbaa !16 %33 = call i64 @GELF_ST_TYPE(i32 noundef %32) #3 %34 = load i64, ptr @STT_SECTION, align 8, !tbaa !14 %35 = icmp eq i64 %33, %34 br i1 %35, label %36, label %46 36: ; preds = %30 %37 = load i64, ptr %4, align 8, !tbaa !18 %38 = load i64, ptr %0, align 8, !tbaa !19 %39 = icmp slt i64 %37, %38 br i1 %39, label %40, label %45 40: ; preds = %36 %41 = load ptr, ptr %5, align 8, !tbaa !5 %42 = getelementptr inbounds %struct.section, ptr %41, i64 %37, i32 1 %43 = load ptr, ptr %42, align 8, !tbaa !20 %44 = icmp eq ptr %43, null br i1 %44, label %45, label %59 45: ; preds = %40, %36 br label %59 46: ; preds = %30 %47 = getelementptr inbounds %struct.section, ptr %6, i64 %7, i32 2 %48 = load i64, ptr %47, align 8, !tbaa !21 %49 = load i64, ptr %0, align 8, !tbaa !19 %50 = icmp slt i64 %48, %49 br i1 %50, label %51, label %59 51: ; preds = %46 %52 = getelementptr inbounds %struct.readelf, ptr %0, i64 0, i32 1 %53 = load i32, ptr %52, align 8, !tbaa !22 %54 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 0, i32 1 %55 = load i32, ptr %54, align 8, !tbaa !23 %56 = call ptr @elf_strptr(i32 noundef %53, i64 noundef %48, i32 noundef %55) #3 %57 = icmp eq ptr %56, null %58 = select i1 %57, ptr @.str, ptr %56 br label %59 59: ; preds = %51, %46, %40, %27, %21, %24, %3, %45 %60 = phi ptr [ @.str, %45 ], [ @.str, %3 ], [ @.str, %24 ], [ @.str, %21 ], [ @.str, %27 ], [ %43, %40 ], [ @.str, %46 ], [ %58, %51 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 ret ptr %60 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @elf_errno(...) local_unnamed_addr #2 declare ptr @elf_getdata(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @warnx(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @elf_errmsg(i32 noundef) local_unnamed_addr #2 declare ptr @gelf_getsym(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @GELF_ST_TYPE(i32 noundef) local_unnamed_addr #2 declare ptr @elf_strptr(i32 noundef, i64 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, !11, i64 16} !6 = !{!"readelf", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"section", !7, i64 0, !11, i64 8, !7, i64 16, !10, i64 24} !14 = !{!7, !7, i64 0} !15 = !{!13, !10, i64 24} !16 = !{!17, !10, i64 12} !17 = !{!"TYPE_4__", !7, i64 0, !10, i64 8, !10, i64 12} !18 = !{!17, !7, i64 0} !19 = !{!6, !7, i64 0} !20 = !{!13, !11, i64 8} !21 = !{!13, !7, i64 16} !22 = !{!6, !10, i64 8} !23 = !{!17, !10, i64 8}
; ModuleID = 'AnghaBench/freebsd/contrib/elftoolchain/readelf/extr_readelf.c_get_symbol_name.c' source_filename = "AnghaBench/freebsd/contrib/elftoolchain/readelf/extr_readelf.c_get_symbol_name.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i64, i32, i32 } %struct.section = type { i64, ptr, i64, i32 } @SHT_SYMTAB = common local_unnamed_addr global i64 0, align 8 @SHT_DYNSYM = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"elf_getdata failed: %s\00", align 1 @STT_SECTION = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @get_symbol_name], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @get_symbol_name(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca %struct.TYPE_4__, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = sext i32 %1 to i64 %8 = getelementptr inbounds %struct.section, ptr %6, i64 %7 %9 = load i64, ptr %8, align 8, !tbaa !13 %10 = load i64, ptr @SHT_SYMTAB, align 8, !tbaa !15 %11 = icmp eq i64 %9, %10 %12 = load i64, ptr @SHT_DYNSYM, align 8 %13 = icmp eq i64 %9, %12 %14 = select i1 %11, i1 true, i1 %13 br i1 %14, label %15, label %59 15: ; preds = %3 %16 = tail call i32 @elf_errno() #3 %17 = getelementptr inbounds i8, ptr %8, i64 24 %18 = load i32, ptr %17, align 8, !tbaa !16 %19 = tail call ptr @elf_getdata(i32 noundef %18, ptr noundef null) #3 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %27 21: ; preds = %15 %22 = tail call i32 @elf_errno() #3 %23 = icmp eq i32 %22, 0 br i1 %23, label %59, label %24 24: ; preds = %21 %25 = tail call i32 @elf_errmsg(i32 noundef %22) #3 %26 = tail call i32 @warnx(ptr noundef nonnull @.str.1, i32 noundef %25) #3 br label %59 27: ; preds = %15 %28 = call ptr @gelf_getsym(ptr noundef nonnull %19, i32 noundef %2, ptr noundef nonnull %4) #3 %29 = icmp eq ptr %28, %4 br i1 %29, label %30, label %59 30: ; preds = %27 %31 = getelementptr inbounds i8, ptr %4, i64 12 %32 = load i32, ptr %31, align 4, !tbaa !17 %33 = call i64 @GELF_ST_TYPE(i32 noundef %32) #3 %34 = load i64, ptr @STT_SECTION, align 8, !tbaa !15 %35 = icmp eq i64 %33, %34 br i1 %35, label %36, label %46 36: ; preds = %30 %37 = load i64, ptr %4, align 8, !tbaa !19 %38 = load i64, ptr %0, align 8, !tbaa !20 %39 = icmp slt i64 %37, %38 br i1 %39, label %40, label %45 40: ; preds = %36 %41 = load ptr, ptr %5, align 8, !tbaa !6 %42 = getelementptr inbounds %struct.section, ptr %41, i64 %37, i32 1 %43 = load ptr, ptr %42, align 8, !tbaa !21 %44 = icmp eq ptr %43, null br i1 %44, label %45, label %59 45: ; preds = %40, %36 br label %59 46: ; preds = %30 %47 = getelementptr inbounds i8, ptr %8, i64 16 %48 = load i64, ptr %47, align 8, !tbaa !22 %49 = load i64, ptr %0, align 8, !tbaa !20 %50 = icmp slt i64 %48, %49 br i1 %50, label %51, label %59 51: ; preds = %46 %52 = getelementptr inbounds i8, ptr %0, i64 8 %53 = load i32, ptr %52, align 8, !tbaa !23 %54 = getelementptr inbounds i8, ptr %4, i64 8 %55 = load i32, ptr %54, align 8, !tbaa !24 %56 = call ptr @elf_strptr(i32 noundef %53, i64 noundef %48, i32 noundef %55) #3 %57 = icmp eq ptr %56, null %58 = select i1 %57, ptr @.str, ptr %56 br label %59 59: ; preds = %51, %46, %40, %27, %21, %24, %3, %45 %60 = phi ptr [ @.str, %45 ], [ @.str, %3 ], [ @.str, %24 ], [ @.str, %21 ], [ @.str, %27 ], [ %43, %40 ], [ @.str, %46 ], [ %58, %51 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 ret ptr %60 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @elf_errno(...) local_unnamed_addr #2 declare ptr @elf_getdata(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @warnx(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @elf_errmsg(i32 noundef) local_unnamed_addr #2 declare ptr @gelf_getsym(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @GELF_ST_TYPE(i32 noundef) local_unnamed_addr #2 declare ptr @elf_strptr(i32 noundef, i64 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, !12, i64 16} !7 = !{!"readelf", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"section", !8, i64 0, !12, i64 8, !8, i64 16, !11, i64 24} !15 = !{!8, !8, i64 0} !16 = !{!14, !11, i64 24} !17 = !{!18, !11, i64 12} !18 = !{!"TYPE_4__", !8, i64 0, !11, i64 8, !11, i64 12} !19 = !{!18, !8, i64 0} !20 = !{!7, !8, i64 0} !21 = !{!14, !12, i64 8} !22 = !{!14, !8, i64 16} !23 = !{!7, !11, i64 8} !24 = !{!18, !11, i64 8}
freebsd_contrib_elftoolchain_readelf_extr_readelf.c_get_symbol_name
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/cisco/extr_airo.c_airo_interrupt.c' source_filename = "AnghaBench/linux/drivers/net/wireless/cisco/extr_airo.c_airo_interrupt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IRQ_NONE = dso_local local_unnamed_addr global i32 0, align 4 @EVSTAT = dso_local local_unnamed_addr global i32 0, align 4 @STATUS_INTS = dso_local local_unnamed_addr global i32 0, align 4 @EV_AWAKE = dso_local local_unnamed_addr global i32 0, align 4 @EVACK = dso_local local_unnamed_addr global i32 0, align 4 @EVINTEN = dso_local local_unnamed_addr global i32 0, align 4 @EV_MIC = dso_local local_unnamed_addr global i32 0, align 4 @EV_LINK = dso_local local_unnamed_addr global i32 0, align 4 @EV_RX = dso_local local_unnamed_addr global i32 0, align 4 @EV_TX = dso_local local_unnamed_addr global i32 0, align 4 @EV_TXCPY = dso_local local_unnamed_addr global i32 0, align 4 @EV_TXEXC = dso_local local_unnamed_addr global i32 0, align 4 @IGNORE_INTS = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"Got weird status %x\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @airo_interrupt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @airo_interrupt(i32 %0, ptr noundef %1) #0 { %3 = load ptr, ptr %1, align 8, !tbaa !5 %4 = tail call i32 @netif_device_present(ptr noundef nonnull %1) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %14, label %6 6: ; preds = %2 %7 = load i32, ptr @EVSTAT, align 4, !tbaa !10 %8 = tail call i32 @IN4500(ptr noundef %3, i32 noundef %7) #2 %9 = load i32, ptr @STATUS_INTS, align 4, !tbaa !10 %10 = and i32 %9, %8 %11 = icmp eq i32 %10, 0 %12 = icmp eq i32 %8, 65535 %13 = or i1 %12, %11 br i1 %13, label %90, label %16 14: ; preds = %2 %15 = load i32, ptr @IRQ_NONE, align 4, !tbaa !10 br label %93 16: ; preds = %6, %77 %17 = phi i32 [ %79, %77 ], [ %8, %6 ] %18 = phi i32 [ %36, %77 ], [ 0, %6 ] %19 = load i32, ptr @EV_AWAKE, align 4, !tbaa !10 %20 = and i32 %19, %17 %21 = icmp eq i32 %20, 0 br i1 %21, label %28, label %22 22: ; preds = %16 %23 = load i32, ptr @EVACK, align 4, !tbaa !10 %24 = tail call i32 @OUT4500(ptr noundef %3, i32 noundef %23, i32 noundef %19) #2 %25 = load i32, ptr @EVACK, align 4, !tbaa !10 %26 = load i32, ptr @EV_AWAKE, align 4, !tbaa !10 %27 = tail call i32 @OUT4500(ptr noundef %3, i32 noundef %25, i32 noundef %26) #2 br label %28 28: ; preds = %22, %16 %29 = icmp eq i32 %18, 0 br i1 %29, label %30, label %35 30: ; preds = %28 %31 = load i32, ptr @EVINTEN, align 4, !tbaa !10 %32 = tail call i32 @IN4500(ptr noundef %3, i32 noundef %31) #2 %33 = load i32, ptr @EVINTEN, align 4, !tbaa !10 %34 = tail call i32 @OUT4500(ptr noundef %3, i32 noundef %33, i32 noundef 0) #2 br label %35 35: ; preds = %30, %28 %36 = phi i32 [ %18, %28 ], [ %32, %30 ] %37 = load i32, ptr @EV_MIC, align 4, !tbaa !10 %38 = and i32 %37, %17 %39 = icmp eq i32 %38, 0 br i1 %39, label %44, label %40 40: ; preds = %35 %41 = load i32, ptr @EVACK, align 4, !tbaa !10 %42 = tail call i32 @OUT4500(ptr noundef %3, i32 noundef %41, i32 noundef %37) #2 %43 = tail call i32 @airo_handle_cisco_mic(ptr noundef %3) #2 br label %44 44: ; preds = %40, %35 %45 = load i32, ptr @EV_LINK, align 4, !tbaa !10 %46 = and i32 %45, %17 %47 = icmp eq i32 %46, 0 br i1 %47, label %50, label %48 48: ; preds = %44 %49 = tail call i32 @airo_handle_link(ptr noundef %3) #2 br label %50 50: ; preds = %48, %44 %51 = load i32, ptr @EV_RX, align 4, !tbaa !10 %52 = and i32 %51, %17 %53 = icmp eq i32 %52, 0 br i1 %53, label %56, label %54 54: ; preds = %50 %55 = tail call i32 @airo_handle_rx(ptr noundef %3) #2 br label %56 56: ; preds = %54, %50 %57 = load i32, ptr @EV_TX, align 4, !tbaa !10 %58 = load i32, ptr @EV_TXCPY, align 4, !tbaa !10 %59 = or i32 %58, %57 %60 = load i32, ptr @EV_TXEXC, align 4, !tbaa !10 %61 = or i32 %59, %60 %62 = and i32 %61, %17 %63 = icmp eq i32 %62, 0 br i1 %63, label %66, label %64 64: ; preds = %56 %65 = tail call i32 @airo_handle_tx(ptr noundef %3, i32 noundef %17) #2 br label %66 66: ; preds = %64, %56 %67 = load i32, ptr @STATUS_INTS, align 4, !tbaa !10 %68 = load i32, ptr @IGNORE_INTS, align 4, !tbaa !10 %69 = or i32 %68, %67 %70 = xor i32 %69, -1 %71 = and i32 %17, %70 %72 = icmp eq i32 %71, 0 br i1 %72, label %77, label %73 73: ; preds = %66 %74 = load ptr, ptr %3, align 8, !tbaa !12 %75 = load i32, ptr %74, align 4, !tbaa !14 %76 = tail call i32 @airo_print_warn(i32 noundef %75, ptr noundef nonnull @.str, i32 noundef %71) #2 br label %77 77: ; preds = %73, %66 %78 = load i32, ptr @EVSTAT, align 4, !tbaa !10 %79 = tail call i32 @IN4500(ptr noundef %3, i32 noundef %78) #2 %80 = load i32, ptr @STATUS_INTS, align 4, !tbaa !10 %81 = and i32 %80, %79 %82 = icmp eq i32 %81, 0 %83 = icmp eq i32 %79, 65535 %84 = or i1 %83, %82 br i1 %84, label %85, label %16 85: ; preds = %77 %86 = icmp eq i32 %36, 0 br i1 %86, label %90, label %87 87: ; preds = %85 %88 = load i32, ptr @EVINTEN, align 4, !tbaa !10 %89 = tail call i32 @OUT4500(ptr noundef %3, i32 noundef %88, i32 noundef %36) #2 br label %90 90: ; preds = %6, %87, %85 %91 = phi i32 [ 1, %87 ], [ 1, %85 ], [ 0, %6 ] %92 = tail call i32 @IRQ_RETVAL(i32 noundef %91) #2 br label %93 93: ; preds = %90, %14 %94 = phi i32 [ %92, %90 ], [ %15, %14 ] ret i32 %94 } declare i32 @netif_device_present(ptr noundef) local_unnamed_addr #1 declare i32 @IN4500(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @OUT4500(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @airo_handle_cisco_mic(ptr noundef) local_unnamed_addr #1 declare i32 @airo_handle_link(ptr noundef) local_unnamed_addr #1 declare i32 @airo_handle_rx(ptr noundef) local_unnamed_addr #1 declare i32 @airo_handle_tx(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @airo_print_warn(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @IRQ_RETVAL(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"net_device", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"airo_info", !7, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_2__", !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/cisco/extr_airo.c_airo_interrupt.c' source_filename = "AnghaBench/linux/drivers/net/wireless/cisco/extr_airo.c_airo_interrupt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IRQ_NONE = common local_unnamed_addr global i32 0, align 4 @EVSTAT = common local_unnamed_addr global i32 0, align 4 @STATUS_INTS = common local_unnamed_addr global i32 0, align 4 @EV_AWAKE = common local_unnamed_addr global i32 0, align 4 @EVACK = common local_unnamed_addr global i32 0, align 4 @EVINTEN = common local_unnamed_addr global i32 0, align 4 @EV_MIC = common local_unnamed_addr global i32 0, align 4 @EV_LINK = common local_unnamed_addr global i32 0, align 4 @EV_RX = common local_unnamed_addr global i32 0, align 4 @EV_TX = common local_unnamed_addr global i32 0, align 4 @EV_TXCPY = common local_unnamed_addr global i32 0, align 4 @EV_TXEXC = common local_unnamed_addr global i32 0, align 4 @IGNORE_INTS = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"Got weird status %x\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @airo_interrupt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @airo_interrupt(i32 %0, ptr noundef %1) #0 { %3 = load ptr, ptr %1, align 8, !tbaa !6 %4 = tail call i32 @netif_device_present(ptr noundef nonnull %1) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %14, label %6 6: ; preds = %2 %7 = load i32, ptr @EVSTAT, align 4, !tbaa !11 %8 = tail call i32 @IN4500(ptr noundef %3, i32 noundef %7) #2 %9 = load i32, ptr @STATUS_INTS, align 4, !tbaa !11 %10 = and i32 %9, %8 %11 = icmp eq i32 %10, 0 %12 = icmp eq i32 %8, 65535 %13 = or i1 %12, %11 br i1 %13, label %90, label %16 14: ; preds = %2 %15 = load i32, ptr @IRQ_NONE, align 4, !tbaa !11 br label %93 16: ; preds = %6, %77 %17 = phi i32 [ %79, %77 ], [ %8, %6 ] %18 = phi i32 [ %36, %77 ], [ 0, %6 ] %19 = load i32, ptr @EV_AWAKE, align 4, !tbaa !11 %20 = and i32 %19, %17 %21 = icmp eq i32 %20, 0 br i1 %21, label %28, label %22 22: ; preds = %16 %23 = load i32, ptr @EVACK, align 4, !tbaa !11 %24 = tail call i32 @OUT4500(ptr noundef %3, i32 noundef %23, i32 noundef %19) #2 %25 = load i32, ptr @EVACK, align 4, !tbaa !11 %26 = load i32, ptr @EV_AWAKE, align 4, !tbaa !11 %27 = tail call i32 @OUT4500(ptr noundef %3, i32 noundef %25, i32 noundef %26) #2 br label %28 28: ; preds = %22, %16 %29 = icmp eq i32 %18, 0 br i1 %29, label %30, label %35 30: ; preds = %28 %31 = load i32, ptr @EVINTEN, align 4, !tbaa !11 %32 = tail call i32 @IN4500(ptr noundef %3, i32 noundef %31) #2 %33 = load i32, ptr @EVINTEN, align 4, !tbaa !11 %34 = tail call i32 @OUT4500(ptr noundef %3, i32 noundef %33, i32 noundef 0) #2 br label %35 35: ; preds = %30, %28 %36 = phi i32 [ %18, %28 ], [ %32, %30 ] %37 = load i32, ptr @EV_MIC, align 4, !tbaa !11 %38 = and i32 %37, %17 %39 = icmp eq i32 %38, 0 br i1 %39, label %44, label %40 40: ; preds = %35 %41 = load i32, ptr @EVACK, align 4, !tbaa !11 %42 = tail call i32 @OUT4500(ptr noundef %3, i32 noundef %41, i32 noundef %37) #2 %43 = tail call i32 @airo_handle_cisco_mic(ptr noundef %3) #2 br label %44 44: ; preds = %40, %35 %45 = load i32, ptr @EV_LINK, align 4, !tbaa !11 %46 = and i32 %45, %17 %47 = icmp eq i32 %46, 0 br i1 %47, label %50, label %48 48: ; preds = %44 %49 = tail call i32 @airo_handle_link(ptr noundef %3) #2 br label %50 50: ; preds = %48, %44 %51 = load i32, ptr @EV_RX, align 4, !tbaa !11 %52 = and i32 %51, %17 %53 = icmp eq i32 %52, 0 br i1 %53, label %56, label %54 54: ; preds = %50 %55 = tail call i32 @airo_handle_rx(ptr noundef %3) #2 br label %56 56: ; preds = %54, %50 %57 = load i32, ptr @EV_TX, align 4, !tbaa !11 %58 = load i32, ptr @EV_TXCPY, align 4, !tbaa !11 %59 = or i32 %58, %57 %60 = load i32, ptr @EV_TXEXC, align 4, !tbaa !11 %61 = or i32 %59, %60 %62 = and i32 %61, %17 %63 = icmp eq i32 %62, 0 br i1 %63, label %66, label %64 64: ; preds = %56 %65 = tail call i32 @airo_handle_tx(ptr noundef %3, i32 noundef %17) #2 br label %66 66: ; preds = %64, %56 %67 = load i32, ptr @STATUS_INTS, align 4, !tbaa !11 %68 = load i32, ptr @IGNORE_INTS, align 4, !tbaa !11 %69 = or i32 %68, %67 %70 = xor i32 %69, -1 %71 = and i32 %17, %70 %72 = icmp eq i32 %71, 0 br i1 %72, label %77, label %73 73: ; preds = %66 %74 = load ptr, ptr %3, align 8, !tbaa !13 %75 = load i32, ptr %74, align 4, !tbaa !15 %76 = tail call i32 @airo_print_warn(i32 noundef %75, ptr noundef nonnull @.str, i32 noundef %71) #2 br label %77 77: ; preds = %73, %66 %78 = load i32, ptr @EVSTAT, align 4, !tbaa !11 %79 = tail call i32 @IN4500(ptr noundef %3, i32 noundef %78) #2 %80 = load i32, ptr @STATUS_INTS, align 4, !tbaa !11 %81 = and i32 %80, %79 %82 = icmp eq i32 %81, 0 %83 = icmp eq i32 %79, 65535 %84 = or i1 %83, %82 br i1 %84, label %85, label %16 85: ; preds = %77 %86 = icmp eq i32 %36, 0 br i1 %86, label %90, label %87 87: ; preds = %85 %88 = load i32, ptr @EVINTEN, align 4, !tbaa !11 %89 = tail call i32 @OUT4500(ptr noundef %3, i32 noundef %88, i32 noundef %36) #2 br label %90 90: ; preds = %6, %87, %85 %91 = phi i32 [ 1, %87 ], [ 1, %85 ], [ 0, %6 ] %92 = tail call i32 @IRQ_RETVAL(i32 noundef %91) #2 br label %93 93: ; preds = %90, %14 %94 = phi i32 [ %92, %90 ], [ %15, %14 ] ret i32 %94 } declare i32 @netif_device_present(ptr noundef) local_unnamed_addr #1 declare i32 @IN4500(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @OUT4500(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @airo_handle_cisco_mic(ptr noundef) local_unnamed_addr #1 declare i32 @airo_handle_link(ptr noundef) local_unnamed_addr #1 declare i32 @airo_handle_rx(ptr noundef) local_unnamed_addr #1 declare i32 @airo_handle_tx(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @airo_print_warn(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @IRQ_RETVAL(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"net_device", !8, i64 0} !8 = !{!"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, !8, i64 0} !14 = !{!"airo_info", !8, i64 0} !15 = !{!16, !12, i64 0} !16 = !{!"TYPE_2__", !12, i64 0}
linux_drivers_net_wireless_cisco_extr_airo.c_airo_interrupt
; ModuleID = 'AnghaBench/postgres/src/timezone/extr_zic.c_namecheck.c' source_filename = "AnghaBench/postgres/src/timezone/extr_zic.c_namecheck.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @namecheck.benign = internal constant [56 x i8] c"-/_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\00", align 16 @namecheck.printable_and_not_benign = internal constant [41 x i8] c" !\22#$%&'()*+,.0123456789:;<=>?@[\\]^`{|}~\00", align 16 @noise = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [34 x i8] c"file name '%s' contains byte '%c'\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"file name '%s' contains byte '\\%o'\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @namecheck], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @namecheck(ptr noundef %0) #0 { %2 = load i8, ptr %0, align 1, !tbaa !5 %3 = icmp eq i8 %2, 0 br i1 %3, label %30, label %4 4: ; preds = %1, %25 %5 = phi i8 [ %28, %25 ], [ %2, %1 ] %6 = phi ptr [ %26, %25 ], [ %0, %1 ] %7 = phi ptr [ %27, %25 ], [ %0, %1 ] %8 = load i64, ptr @noise, align 8, !tbaa !8 %9 = icmp eq i64 %8, 0 br i1 %9, label %19, label %10 10: ; preds = %4 %11 = tail call i64 @strchr(ptr noundef nonnull @namecheck.benign, i8 noundef zeroext %5) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %19 13: ; preds = %10 %14 = tail call i64 @strchr(ptr noundef nonnull @namecheck.printable_and_not_benign, i8 noundef zeroext %5) #2 %15 = icmp eq i64 %14, 0 %16 = select i1 %15, ptr @.str.1, ptr @.str %17 = tail call i32 @_(ptr noundef nonnull %16) #2 %18 = tail call i32 @warning(i32 noundef %17, ptr noundef nonnull %0, i8 noundef zeroext %5) #2 br label %19 19: ; preds = %13, %10, %4 %20 = icmp eq i8 %5, 47 br i1 %20, label %21, label %25 21: ; preds = %19 %22 = tail call i32 @componentcheck(ptr noundef nonnull %0, ptr noundef %6, ptr noundef nonnull %7) #2 %23 = icmp eq i32 %22, 0 %24 = getelementptr inbounds i8, ptr %7, i64 1 br i1 %23, label %34, label %25 25: ; preds = %19, %21 %26 = phi ptr [ %24, %21 ], [ %6, %19 ] %27 = getelementptr inbounds i8, ptr %7, i64 1 %28 = load i8, ptr %27, align 1, !tbaa !5 %29 = icmp eq i8 %28, 0 br i1 %29, label %30, label %4, !llvm.loop !10 30: ; preds = %25, %1 %31 = phi ptr [ %0, %1 ], [ %27, %25 ] %32 = phi ptr [ %0, %1 ], [ %26, %25 ] %33 = tail call i32 @componentcheck(ptr noundef nonnull %0, ptr noundef %32, ptr noundef nonnull %31) #2 br label %34 34: ; preds = %21, %30 %35 = phi i32 [ %33, %30 ], [ 0, %21 ] ret i32 %35 } declare i64 @strchr(ptr noundef, i8 noundef zeroext) local_unnamed_addr #1 declare i32 @warning(i32 noundef, ptr noundef, i8 noundef zeroext) local_unnamed_addr #1 declare i32 @_(ptr noundef) local_unnamed_addr #1 declare i32 @componentcheck(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"long", !6, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/postgres/src/timezone/extr_zic.c_namecheck.c' source_filename = "AnghaBench/postgres/src/timezone/extr_zic.c_namecheck.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @namecheck.benign = internal constant [56 x i8] c"-/_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\00", align 1 @namecheck.printable_and_not_benign = internal constant [41 x i8] c" !\22#$%&'()*+,.0123456789:;<=>?@[\\]^`{|}~\00", align 1 @noise = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [34 x i8] c"file name '%s' contains byte '%c'\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"file name '%s' contains byte '\\%o'\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @namecheck], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @namecheck(ptr noundef %0) #0 { %2 = load i8, ptr %0, align 1, !tbaa !6 %3 = icmp eq i8 %2, 0 br i1 %3, label %30, label %4 4: ; preds = %1, %25 %5 = phi i8 [ %28, %25 ], [ %2, %1 ] %6 = phi ptr [ %26, %25 ], [ %0, %1 ] %7 = phi ptr [ %27, %25 ], [ %0, %1 ] %8 = load i64, ptr @noise, align 8, !tbaa !9 %9 = icmp eq i64 %8, 0 br i1 %9, label %19, label %10 10: ; preds = %4 %11 = tail call i64 @strchr(ptr noundef nonnull @namecheck.benign, i8 noundef zeroext %5) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %19 13: ; preds = %10 %14 = tail call i64 @strchr(ptr noundef nonnull @namecheck.printable_and_not_benign, i8 noundef zeroext %5) #2 %15 = icmp eq i64 %14, 0 %16 = select i1 %15, ptr @.str.1, ptr @.str %17 = tail call i32 @_(ptr noundef nonnull %16) #2 %18 = tail call i32 @warning(i32 noundef %17, ptr noundef nonnull %0, i8 noundef zeroext %5) #2 br label %19 19: ; preds = %13, %10, %4 %20 = icmp eq i8 %5, 47 br i1 %20, label %21, label %25 21: ; preds = %19 %22 = tail call i32 @componentcheck(ptr noundef nonnull %0, ptr noundef %6, ptr noundef nonnull %7) #2 %23 = icmp eq i32 %22, 0 %24 = getelementptr inbounds i8, ptr %7, i64 1 br i1 %23, label %34, label %25 25: ; preds = %19, %21 %26 = phi ptr [ %24, %21 ], [ %6, %19 ] %27 = getelementptr inbounds i8, ptr %7, i64 1 %28 = load i8, ptr %27, align 1, !tbaa !6 %29 = icmp eq i8 %28, 0 br i1 %29, label %30, label %4, !llvm.loop !11 30: ; preds = %25, %1 %31 = phi ptr [ %0, %1 ], [ %27, %25 ] %32 = phi ptr [ %0, %1 ], [ %26, %25 ] %33 = tail call i32 @componentcheck(ptr noundef nonnull %0, ptr noundef %32, ptr noundef nonnull %31) #2 br label %34 34: ; preds = %21, %30 %35 = phi i32 [ %33, %30 ], [ 0, %21 ] ret i32 %35 } declare i64 @strchr(ptr noundef, i8 noundef zeroext) local_unnamed_addr #1 declare i32 @warning(i32 noundef, ptr noundef, i8 noundef zeroext) local_unnamed_addr #1 declare i32 @_(ptr noundef) local_unnamed_addr #1 declare i32 @componentcheck(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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"}
postgres_src_timezone_extr_zic.c_namecheck
; ModuleID = 'AnghaBench/freebsd/sys/netinet6/extr_in6_jail.c_prison_restrict_ip6.c' source_filename = "AnghaBench/freebsd/sys/netinet6/extr_in6_jail.c_prison_restrict_ip6.c" target datalayout = "e-m:e-p270:32:32-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.prison = type { i32, i32, ptr, ptr } %struct.in6_addr = type { i32 } @PR_IP6_USER = dso_local local_unnamed_addr global i32 0, align 4 @M_PRISON = dso_local local_unnamed_addr global i32 0, align 4 @M_NOWAIT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @prison_restrict_ip6(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.prison, ptr %0, i64 0, i32 3 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %0, align 8, !tbaa !11 %6 = load i32, ptr @PR_IP6_USER, align 4, !tbaa !12 %7 = and i32 %6, %5 %8 = icmp eq i32 %7, 0 %9 = getelementptr inbounds %struct.prison, ptr %0, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !13 br i1 %8, label %11, label %54 11: ; preds = %2 %12 = getelementptr inbounds %struct.prison, ptr %4, i64 0, i32 1 %13 = load i32, ptr %12, align 4, !tbaa !13 %14 = icmp slt i32 %10, %13 br i1 %14, label %15, label %38 15: ; preds = %11 %16 = icmp eq ptr %1, null br i1 %16, label %17, label %25 17: ; preds = %15 %18 = shl i32 %13, 2 %19 = load i32, ptr @M_PRISON, align 4, !tbaa !12 %20 = load i32, ptr @M_NOWAIT, align 4, !tbaa !12 %21 = tail call ptr @malloc(i32 noundef %18, i32 noundef %19, i32 noundef %20) #2 %22 = icmp eq ptr %21, null br i1 %22, label %150, label %23 23: ; preds = %17 %24 = load i32, ptr %12, align 4, !tbaa !13 br label %25 25: ; preds = %23, %15 %26 = phi i32 [ %24, %23 ], [ %13, %15 ] %27 = phi i32 [ 0, %23 ], [ 1, %15 ] %28 = phi ptr [ %21, %23 ], [ %1, %15 ] %29 = getelementptr inbounds %struct.prison, ptr %4, i64 0, i32 2 %30 = load ptr, ptr %29, align 8, !tbaa !14 %31 = shl i32 %26, 2 %32 = tail call i32 @bcopy(ptr noundef %30, ptr noundef nonnull %28, i32 noundef %31) #2 %33 = getelementptr inbounds %struct.prison, ptr %0, i64 0, i32 2 %34 = load ptr, ptr %33, align 8, !tbaa !14 %35 = load i32, ptr @M_PRISON, align 4, !tbaa !12 %36 = tail call i32 @free(ptr noundef %34, i32 noundef %35) #2 store ptr %28, ptr %33, align 8, !tbaa !14 %37 = load i32, ptr %12, align 4, !tbaa !13 store i32 %37, ptr %9, align 4, !tbaa !13 br label %150 38: ; preds = %11 store i32 %13, ptr %9, align 4, !tbaa !13 %39 = icmp sgt i32 %13, 0 br i1 %39, label %40, label %47 40: ; preds = %38 %41 = getelementptr inbounds %struct.prison, ptr %4, i64 0, i32 2 %42 = load ptr, ptr %41, align 8, !tbaa !14 %43 = getelementptr inbounds %struct.prison, ptr %0, i64 0, i32 2 %44 = load ptr, ptr %43, align 8, !tbaa !14 %45 = shl i32 %13, 2 %46 = tail call i32 @bcopy(ptr noundef %42, ptr noundef %44, i32 noundef %45) #2 br label %150 47: ; preds = %38 %48 = getelementptr inbounds %struct.prison, ptr %0, i64 0, i32 2 %49 = load ptr, ptr %48, align 8, !tbaa !14 %50 = icmp eq ptr %49, null br i1 %50, label %150, label %51 51: ; preds = %47 %52 = load i32, ptr @M_PRISON, align 4, !tbaa !12 %53 = tail call i32 @free(ptr noundef nonnull %49, i32 noundef %52) #2 store ptr null, ptr %48, align 8, !tbaa !14 br label %150 54: ; preds = %2 %55 = icmp sgt i32 %10, 0 br i1 %55, label %56, label %150 56: ; preds = %54 %57 = getelementptr inbounds %struct.prison, ptr %0, i64 0, i32 2 %58 = getelementptr inbounds %struct.prison, ptr %4, i64 0, i32 1 %59 = load i32, ptr %58, align 4, !tbaa !13 %60 = icmp sgt i32 %59, 0 br i1 %60, label %61, label %79 61: ; preds = %56 %62 = getelementptr inbounds %struct.prison, ptr %4, i64 0, i32 2 br label %63 63: ; preds = %61, %71 %64 = phi i64 [ 0, %61 ], [ %72, %71 ] %65 = load ptr, ptr %57, align 8, !tbaa !14 %66 = load ptr, ptr %62, align 8, !tbaa !14 %67 = getelementptr inbounds %struct.in6_addr, ptr %66, i64 %64 %68 = tail call i64 @IN6_ARE_ADDR_EQUAL(ptr noundef %65, ptr noundef %67) #2 %69 = icmp eq i64 %68, 0 %70 = load i32, ptr %58, align 4, !tbaa !13 br i1 %69, label %71, label %75 71: ; preds = %63 %72 = add nuw nsw i64 %64, 1 %73 = sext i32 %70 to i64 %74 = icmp slt i64 %72, %73 br i1 %74, label %63, label %75, !llvm.loop !15 75: ; preds = %63, %71 %76 = phi i64 [ %72, %71 ], [ %64, %63 ] %77 = trunc i64 %76 to i32 %78 = load i32, ptr %9, align 4, !tbaa !13 br label %79 79: ; preds = %75, %56 %80 = phi i32 [ %10, %56 ], [ %78, %75 ] %81 = phi i32 [ %59, %56 ], [ %70, %75 ] %82 = phi i32 [ 0, %56 ], [ %77, %75 ] %83 = icmp slt i32 %82, %81 br i1 %83, label %91, label %84 84: ; preds = %79 %85 = load ptr, ptr %57, align 8, !tbaa !14 %86 = getelementptr inbounds %struct.in6_addr, ptr %85, i64 1 %87 = add nsw i32 %80, -1 store i32 %87, ptr %9, align 4, !tbaa !13 %88 = shl i32 %87, 2 %89 = tail call i32 @bcopy(ptr noundef nonnull %86, ptr noundef %85, i32 noundef %88) #2 %90 = load i32, ptr %9, align 4, !tbaa !13 br label %91 91: ; preds = %79, %84 %92 = phi i32 [ %90, %84 ], [ %80, %79 ] %93 = phi i32 [ 0, %84 ], [ 1, %79 ] %94 = icmp slt i32 %93, %92 br i1 %94, label %95, label %143 95: ; preds = %91 %96 = getelementptr inbounds %struct.prison, ptr %4, i64 0, i32 2 br label %97 97: ; preds = %95, %138 %98 = phi i32 [ 1, %95 ], [ %140, %138 ] %99 = phi i32 [ %93, %95 ], [ %139, %138 ] %100 = sext i32 %99 to i64 br label %101 101: ; preds = %97, %108 %102 = phi i64 [ %100, %97 ], [ %109, %108 ] %103 = load ptr, ptr %57, align 8, !tbaa !14 %104 = getelementptr inbounds %struct.in6_addr, ptr %103, i64 %102 %105 = load ptr, ptr %96, align 8, !tbaa !14 %106 = tail call i64 @IN6_ARE_ADDR_EQUAL(ptr noundef %104, ptr noundef %105) #2 %107 = icmp eq i64 %106, 0 br i1 %107, label %113, label %108 108: ; preds = %101 %109 = add nsw i64 %102, 1 %110 = load i32, ptr %9, align 4, !tbaa !13 %111 = sext i32 %110 to i64 %112 = icmp slt i64 %109, %111 br i1 %112, label %101, label %143, !llvm.loop !17 113: ; preds = %101 %114 = trunc i64 %102 to i32 %115 = load i32, ptr %58, align 4, !tbaa !13 %116 = icmp slt i32 %98, %115 br i1 %116, label %117, label %124 117: ; preds = %113 %118 = load ptr, ptr %57, align 8, !tbaa !14 %119 = getelementptr inbounds %struct.in6_addr, ptr %118, i64 %102 %120 = load ptr, ptr %96, align 8, !tbaa !14 %121 = sext i32 %98 to i64 %122 = getelementptr inbounds %struct.in6_addr, ptr %120, i64 %121 %123 = tail call i32 @prison_qcmp_v6(ptr noundef %119, ptr noundef %122) #2 switch i32 %123, label %138 [ i32 -1, label %124 i32 0, label %133 i32 1, label %136 ] 124: ; preds = %113, %117 %125 = load ptr, ptr %57, align 8, !tbaa !14 %126 = getelementptr inbounds %struct.in6_addr, ptr %125, i64 %102 %127 = getelementptr inbounds %struct.in6_addr, ptr %126, i64 1 %128 = load i32, ptr %9, align 4, !tbaa !13 %129 = add nsw i32 %128, -1 store i32 %129, ptr %9, align 4, !tbaa !13 %130 = sub nsw i32 %129, %114 %131 = shl i32 %130, 2 %132 = tail call i32 @bcopy(ptr noundef nonnull %127, ptr noundef %126, i32 noundef %131) #2 br label %138 133: ; preds = %117 %134 = add nsw i32 %114, 1 %135 = add nsw i32 %98, 1 br label %138 136: ; preds = %117 %137 = add nsw i32 %98, 1 br label %138 138: ; preds = %117, %136, %133, %124 %139 = phi i32 [ %114, %117 ], [ %114, %136 ], [ %134, %133 ], [ %114, %124 ] %140 = phi i32 [ %98, %117 ], [ %137, %136 ], [ %135, %133 ], [ %98, %124 ] %141 = load i32, ptr %9, align 4, !tbaa !13 %142 = icmp slt i32 %139, %141 br i1 %142, label %97, label %143, !llvm.loop !17 143: ; preds = %138, %108, %91 %144 = phi i32 [ %92, %91 ], [ %110, %108 ], [ %141, %138 ] %145 = icmp eq i32 %144, 0 br i1 %145, label %146, label %150 146: ; preds = %143 %147 = load ptr, ptr %57, align 8, !tbaa !14 %148 = load i32, ptr @M_PRISON, align 4, !tbaa !12 %149 = tail call i32 @free(ptr noundef %147, i32 noundef %148) #2 store ptr null, ptr %57, align 8, !tbaa !14 br label %150 150: ; preds = %47, %51, %40, %143, %146, %54, %17, %25 %151 = phi i32 [ %27, %25 ], [ 1, %17 ], [ 0, %54 ], [ 0, %146 ], [ 0, %143 ], [ 0, %40 ], [ 0, %51 ], [ 0, %47 ] ret i32 %151 } declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IN6_ARE_ADDR_EQUAL(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @prison_qcmp_v6(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, !10, i64 16} !6 = !{!"prison", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 4} !14 = !{!6, !10, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = distinct !{!17, !16}
; ModuleID = 'AnghaBench/freebsd/sys/netinet6/extr_in6_jail.c_prison_restrict_ip6.c' source_filename = "AnghaBench/freebsd/sys/netinet6/extr_in6_jail.c_prison_restrict_ip6.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.in6_addr = type { i32 } @PR_IP6_USER = common local_unnamed_addr global i32 0, align 4 @M_PRISON = common local_unnamed_addr global i32 0, align 4 @M_NOWAIT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @prison_restrict_ip6(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %0, align 8, !tbaa !12 %6 = load i32, ptr @PR_IP6_USER, align 4, !tbaa !13 %7 = and i32 %6, %5 %8 = icmp eq i32 %7, 0 %9 = getelementptr inbounds i8, ptr %0, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !14 br i1 %8, label %11, label %54 11: ; preds = %2 %12 = getelementptr inbounds i8, ptr %4, i64 4 %13 = load i32, ptr %12, align 4, !tbaa !14 %14 = icmp slt i32 %10, %13 br i1 %14, label %15, label %38 15: ; preds = %11 %16 = icmp eq ptr %1, null br i1 %16, label %17, label %25 17: ; preds = %15 %18 = shl i32 %13, 2 %19 = load i32, ptr @M_PRISON, align 4, !tbaa !13 %20 = load i32, ptr @M_NOWAIT, align 4, !tbaa !13 %21 = tail call ptr @malloc(i32 noundef %18, i32 noundef %19, i32 noundef %20) #2 %22 = icmp eq ptr %21, null br i1 %22, label %150, label %23 23: ; preds = %17 %24 = load i32, ptr %12, align 4, !tbaa !14 br label %25 25: ; preds = %23, %15 %26 = phi i32 [ %24, %23 ], [ %13, %15 ] %27 = phi i32 [ 0, %23 ], [ 1, %15 ] %28 = phi ptr [ %21, %23 ], [ %1, %15 ] %29 = getelementptr inbounds i8, ptr %4, i64 8 %30 = load ptr, ptr %29, align 8, !tbaa !15 %31 = shl i32 %26, 2 %32 = tail call i32 @bcopy(ptr noundef %30, ptr noundef nonnull %28, i32 noundef %31) #2 %33 = getelementptr inbounds i8, ptr %0, i64 8 %34 = load ptr, ptr %33, align 8, !tbaa !15 %35 = load i32, ptr @M_PRISON, align 4, !tbaa !13 %36 = tail call i32 @free(ptr noundef %34, i32 noundef %35) #2 store ptr %28, ptr %33, align 8, !tbaa !15 %37 = load i32, ptr %12, align 4, !tbaa !14 store i32 %37, ptr %9, align 4, !tbaa !14 br label %150 38: ; preds = %11 store i32 %13, ptr %9, align 4, !tbaa !14 %39 = icmp sgt i32 %13, 0 br i1 %39, label %40, label %47 40: ; preds = %38 %41 = getelementptr inbounds i8, ptr %4, i64 8 %42 = load ptr, ptr %41, align 8, !tbaa !15 %43 = getelementptr inbounds i8, ptr %0, i64 8 %44 = load ptr, ptr %43, align 8, !tbaa !15 %45 = shl i32 %13, 2 %46 = tail call i32 @bcopy(ptr noundef %42, ptr noundef %44, i32 noundef %45) #2 br label %150 47: ; preds = %38 %48 = getelementptr inbounds i8, ptr %0, i64 8 %49 = load ptr, ptr %48, align 8, !tbaa !15 %50 = icmp eq ptr %49, null br i1 %50, label %150, label %51 51: ; preds = %47 %52 = load i32, ptr @M_PRISON, align 4, !tbaa !13 %53 = tail call i32 @free(ptr noundef nonnull %49, i32 noundef %52) #2 store ptr null, ptr %48, align 8, !tbaa !15 br label %150 54: ; preds = %2 %55 = icmp sgt i32 %10, 0 br i1 %55, label %56, label %150 56: ; preds = %54 %57 = getelementptr inbounds i8, ptr %0, i64 8 %58 = getelementptr inbounds i8, ptr %4, i64 4 %59 = load i32, ptr %58, align 4, !tbaa !14 %60 = icmp sgt i32 %59, 0 br i1 %60, label %61, label %79 61: ; preds = %56 %62 = getelementptr inbounds i8, ptr %4, i64 8 br label %63 63: ; preds = %61, %71 %64 = phi i64 [ 0, %61 ], [ %72, %71 ] %65 = load ptr, ptr %57, align 8, !tbaa !15 %66 = load ptr, ptr %62, align 8, !tbaa !15 %67 = getelementptr inbounds %struct.in6_addr, ptr %66, i64 %64 %68 = tail call i64 @IN6_ARE_ADDR_EQUAL(ptr noundef %65, ptr noundef %67) #2 %69 = icmp eq i64 %68, 0 %70 = load i32, ptr %58, align 4, !tbaa !14 br i1 %69, label %71, label %75 71: ; preds = %63 %72 = add nuw nsw i64 %64, 1 %73 = sext i32 %70 to i64 %74 = icmp slt i64 %72, %73 br i1 %74, label %63, label %75, !llvm.loop !16 75: ; preds = %63, %71 %76 = phi i64 [ %72, %71 ], [ %64, %63 ] %77 = trunc i64 %76 to i32 %78 = load i32, ptr %9, align 4, !tbaa !14 br label %79 79: ; preds = %75, %56 %80 = phi i32 [ %10, %56 ], [ %78, %75 ] %81 = phi i32 [ %59, %56 ], [ %70, %75 ] %82 = phi i32 [ 0, %56 ], [ %77, %75 ] %83 = icmp slt i32 %82, %81 br i1 %83, label %91, label %84 84: ; preds = %79 %85 = load ptr, ptr %57, align 8, !tbaa !15 %86 = getelementptr inbounds i8, ptr %85, i64 4 %87 = add nsw i32 %80, -1 store i32 %87, ptr %9, align 4, !tbaa !14 %88 = shl i32 %87, 2 %89 = tail call i32 @bcopy(ptr noundef nonnull %86, ptr noundef %85, i32 noundef %88) #2 %90 = load i32, ptr %9, align 4, !tbaa !14 br label %91 91: ; preds = %79, %84 %92 = phi i32 [ %90, %84 ], [ %80, %79 ] %93 = phi i32 [ 0, %84 ], [ 1, %79 ] %94 = icmp slt i32 %93, %92 br i1 %94, label %95, label %143 95: ; preds = %91 %96 = getelementptr inbounds i8, ptr %4, i64 8 br label %97 97: ; preds = %95, %138 %98 = phi i32 [ 1, %95 ], [ %140, %138 ] %99 = phi i32 [ %93, %95 ], [ %139, %138 ] %100 = sext i32 %99 to i64 br label %101 101: ; preds = %97, %108 %102 = phi i64 [ %100, %97 ], [ %109, %108 ] %103 = load ptr, ptr %57, align 8, !tbaa !15 %104 = getelementptr inbounds %struct.in6_addr, ptr %103, i64 %102 %105 = load ptr, ptr %96, align 8, !tbaa !15 %106 = tail call i64 @IN6_ARE_ADDR_EQUAL(ptr noundef %104, ptr noundef %105) #2 %107 = icmp eq i64 %106, 0 br i1 %107, label %113, label %108 108: ; preds = %101 %109 = add nsw i64 %102, 1 %110 = load i32, ptr %9, align 4, !tbaa !14 %111 = sext i32 %110 to i64 %112 = icmp slt i64 %109, %111 br i1 %112, label %101, label %143, !llvm.loop !18 113: ; preds = %101 %114 = trunc nsw i64 %102 to i32 %115 = load i32, ptr %58, align 4, !tbaa !14 %116 = icmp slt i32 %98, %115 br i1 %116, label %117, label %124 117: ; preds = %113 %118 = load ptr, ptr %57, align 8, !tbaa !15 %119 = getelementptr inbounds %struct.in6_addr, ptr %118, i64 %102 %120 = load ptr, ptr %96, align 8, !tbaa !15 %121 = sext i32 %98 to i64 %122 = getelementptr inbounds %struct.in6_addr, ptr %120, i64 %121 %123 = tail call i32 @prison_qcmp_v6(ptr noundef %119, ptr noundef %122) #2 switch i32 %123, label %138 [ i32 -1, label %124 i32 0, label %133 i32 1, label %136 ] 124: ; preds = %113, %117 %125 = load ptr, ptr %57, align 8, !tbaa !15 %126 = getelementptr inbounds %struct.in6_addr, ptr %125, i64 %102 %127 = getelementptr inbounds i8, ptr %126, i64 4 %128 = load i32, ptr %9, align 4, !tbaa !14 %129 = add nsw i32 %128, -1 store i32 %129, ptr %9, align 4, !tbaa !14 %130 = sub nsw i32 %129, %114 %131 = shl i32 %130, 2 %132 = tail call i32 @bcopy(ptr noundef nonnull %127, ptr noundef %126, i32 noundef %131) #2 br label %138 133: ; preds = %117 %134 = add nsw i32 %114, 1 %135 = add nsw i32 %98, 1 br label %138 136: ; preds = %117 %137 = add nsw i32 %98, 1 br label %138 138: ; preds = %117, %136, %133, %124 %139 = phi i32 [ %114, %117 ], [ %114, %136 ], [ %134, %133 ], [ %114, %124 ] %140 = phi i32 [ %98, %117 ], [ %137, %136 ], [ %135, %133 ], [ %98, %124 ] %141 = load i32, ptr %9, align 4, !tbaa !14 %142 = icmp slt i32 %139, %141 br i1 %142, label %97, label %143, !llvm.loop !18 143: ; preds = %138, %108, %91 %144 = phi i32 [ %92, %91 ], [ %110, %108 ], [ %141, %138 ] %145 = icmp eq i32 %144, 0 br i1 %145, label %146, label %150 146: ; preds = %143 %147 = load ptr, ptr %57, align 8, !tbaa !15 %148 = load i32, ptr @M_PRISON, align 4, !tbaa !13 %149 = tail call i32 @free(ptr noundef %147, i32 noundef %148) #2 store ptr null, ptr %57, align 8, !tbaa !15 br label %150 150: ; preds = %47, %51, %40, %143, %146, %54, %17, %25 %151 = phi i32 [ %27, %25 ], [ 1, %17 ], [ 0, %54 ], [ 0, %146 ], [ 0, %143 ], [ 0, %40 ], [ 0, %51 ], [ 0, %47 ] ret i32 %151 } declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IN6_ARE_ADDR_EQUAL(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @prison_qcmp_v6(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, !11, i64 16} !7 = !{!"prison", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 4} !15 = !{!7, !11, i64 8} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = distinct !{!18, !17}
freebsd_sys_netinet6_extr_in6_jail.c_prison_restrict_ip6
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/oxygen/extr_xonar_pcm179x.c_dump_pcm1796_registers.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/oxygen/extr_xonar_pcm179x.c_dump_pcm1796_registers.c" target datalayout = "e-m:e-p270:32:32-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.xonar_pcm179x = type { i32, ptr } @.str = private unnamed_addr constant [13 x i8] c"\0APCM1796 %u:\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c" %02x\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @dump_pcm1796_registers], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @dump_pcm1796_registers(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load i32, ptr %3, align 8, !tbaa !10 %5 = icmp eq i32 %4, 0 br i1 %5, label %45, label %6 6: ; preds = %2 %7 = getelementptr inbounds %struct.xonar_pcm179x, ptr %3, i64 0, i32 1 br label %8 8: ; preds = %6, %8 %9 = phi i64 [ 0, %6 ], [ %10, %8 ] %10 = add nuw nsw i64 %9, 1 %11 = trunc i64 %10 to i32 %12 = tail call i32 (ptr, ptr, ...) @snd_iprintf(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %11) #2 %13 = load ptr, ptr %7, align 8, !tbaa !13 %14 = getelementptr inbounds ptr, ptr %13, i64 %9 %15 = load ptr, ptr %14, align 8, !tbaa !14 %16 = load i32, ptr %15, align 4, !tbaa !15 %17 = tail call i32 (ptr, ptr, ...) @snd_iprintf(ptr noundef %1, ptr noundef nonnull @.str.1, i32 noundef %16) #2 %18 = load ptr, ptr %7, align 8, !tbaa !13 %19 = getelementptr inbounds ptr, ptr %18, i64 %9 %20 = load ptr, ptr %19, align 8, !tbaa !14 %21 = getelementptr inbounds i32, ptr %20, i64 1 %22 = load i32, ptr %21, align 4, !tbaa !15 %23 = tail call i32 (ptr, ptr, ...) @snd_iprintf(ptr noundef %1, ptr noundef nonnull @.str.1, i32 noundef %22) #2 %24 = load ptr, ptr %7, align 8, !tbaa !13 %25 = getelementptr inbounds ptr, ptr %24, i64 %9 %26 = load ptr, ptr %25, align 8, !tbaa !14 %27 = getelementptr inbounds i32, ptr %26, i64 2 %28 = load i32, ptr %27, align 4, !tbaa !15 %29 = tail call i32 (ptr, ptr, ...) @snd_iprintf(ptr noundef %1, ptr noundef nonnull @.str.1, i32 noundef %28) #2 %30 = load ptr, ptr %7, align 8, !tbaa !13 %31 = getelementptr inbounds ptr, ptr %30, i64 %9 %32 = load ptr, ptr %31, align 8, !tbaa !14 %33 = getelementptr inbounds i32, ptr %32, i64 3 %34 = load i32, ptr %33, align 4, !tbaa !15 %35 = tail call i32 (ptr, ptr, ...) @snd_iprintf(ptr noundef %1, ptr noundef nonnull @.str.1, i32 noundef %34) #2 %36 = load ptr, ptr %7, align 8, !tbaa !13 %37 = getelementptr inbounds ptr, ptr %36, i64 %9 %38 = load ptr, ptr %37, align 8, !tbaa !14 %39 = getelementptr inbounds i32, ptr %38, i64 4 %40 = load i32, ptr %39, align 4, !tbaa !15 %41 = tail call i32 (ptr, ptr, ...) @snd_iprintf(ptr noundef %1, ptr noundef nonnull @.str.1, i32 noundef %40) #2 %42 = load i32, ptr %3, align 8, !tbaa !10 %43 = zext i32 %42 to i64 %44 = icmp ult i64 %10, %43 br i1 %44, label %8, label %45, !llvm.loop !16 45: ; preds = %8, %2 %46 = tail call i32 (ptr, ptr, ...) @snd_iprintf(ptr noundef %1, ptr noundef nonnull @.str.2) #2 ret void } declare i32 @snd_iprintf(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"oxygen", !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 = !{!"xonar_pcm179x", !12, i64 0, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!11, !7, i64 8} !14 = !{!7, !7, i64 0} !15 = !{!12, !12, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/oxygen/extr_xonar_pcm179x.c_dump_pcm1796_registers.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/oxygen/extr_xonar_pcm179x.c_dump_pcm1796_registers.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 [13 x i8] c"\0APCM1796 %u:\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c" %02x\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @dump_pcm1796_registers], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @dump_pcm1796_registers(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load i32, ptr %3, align 8, !tbaa !11 %5 = icmp eq i32 %4, 0 br i1 %5, label %45, label %6 6: ; preds = %2 %7 = getelementptr inbounds i8, ptr %3, i64 8 br label %8 8: ; preds = %6, %8 %9 = phi i64 [ 0, %6 ], [ %10, %8 ] %10 = add nuw nsw i64 %9, 1 %11 = trunc nuw i64 %10 to i32 %12 = tail call i32 (ptr, ptr, ...) @snd_iprintf(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %11) #2 %13 = load ptr, ptr %7, align 8, !tbaa !14 %14 = getelementptr inbounds ptr, ptr %13, i64 %9 %15 = load ptr, ptr %14, align 8, !tbaa !15 %16 = load i32, ptr %15, align 4, !tbaa !16 %17 = tail call i32 (ptr, ptr, ...) @snd_iprintf(ptr noundef %1, ptr noundef nonnull @.str.1, i32 noundef %16) #2 %18 = load ptr, ptr %7, align 8, !tbaa !14 %19 = getelementptr inbounds ptr, ptr %18, i64 %9 %20 = load ptr, ptr %19, align 8, !tbaa !15 %21 = getelementptr inbounds i8, ptr %20, i64 4 %22 = load i32, ptr %21, align 4, !tbaa !16 %23 = tail call i32 (ptr, ptr, ...) @snd_iprintf(ptr noundef %1, ptr noundef nonnull @.str.1, i32 noundef %22) #2 %24 = load ptr, ptr %7, align 8, !tbaa !14 %25 = getelementptr inbounds ptr, ptr %24, i64 %9 %26 = load ptr, ptr %25, align 8, !tbaa !15 %27 = getelementptr inbounds i8, ptr %26, i64 8 %28 = load i32, ptr %27, align 4, !tbaa !16 %29 = tail call i32 (ptr, ptr, ...) @snd_iprintf(ptr noundef %1, ptr noundef nonnull @.str.1, i32 noundef %28) #2 %30 = load ptr, ptr %7, align 8, !tbaa !14 %31 = getelementptr inbounds ptr, ptr %30, i64 %9 %32 = load ptr, ptr %31, align 8, !tbaa !15 %33 = getelementptr inbounds i8, ptr %32, i64 12 %34 = load i32, ptr %33, align 4, !tbaa !16 %35 = tail call i32 (ptr, ptr, ...) @snd_iprintf(ptr noundef %1, ptr noundef nonnull @.str.1, i32 noundef %34) #2 %36 = load ptr, ptr %7, align 8, !tbaa !14 %37 = getelementptr inbounds ptr, ptr %36, i64 %9 %38 = load ptr, ptr %37, align 8, !tbaa !15 %39 = getelementptr inbounds i8, ptr %38, i64 16 %40 = load i32, ptr %39, align 4, !tbaa !16 %41 = tail call i32 (ptr, ptr, ...) @snd_iprintf(ptr noundef %1, ptr noundef nonnull @.str.1, i32 noundef %40) #2 %42 = load i32, ptr %3, align 8, !tbaa !11 %43 = zext i32 %42 to i64 %44 = icmp ult i64 %10, %43 br i1 %44, label %8, label %45, !llvm.loop !17 45: ; preds = %8, %2 %46 = tail call i32 (ptr, ptr, ...) @snd_iprintf(ptr noundef %1, ptr noundef nonnull @.str.2) #2 ret void } declare i32 @snd_iprintf(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"oxygen", !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 = !{!"xonar_pcm179x", !13, i64 0, !8, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!12, !8, i64 8} !15 = !{!8, !8, i64 0} !16 = !{!13, !13, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_sound_pci_oxygen_extr_xonar_pcm179x.c_dump_pcm1796_registers
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_main.c_hclge_set_autoneg.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_main.c_hclge_set_autoneg.c" target datalayout = "e-m:e-p270:32:32-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.hclge_dev = type { ptr, %struct.TYPE_5__ } %struct.TYPE_5__ = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32 } @.str = private unnamed_addr constant [42 x i8] c"autoneg is not supported by current port\0A\00", align 1 @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hclge_set_autoneg], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @hclge_set_autoneg(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @hclge_get_vport(ptr noundef %0) #2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.hclge_dev, ptr %4, i64 0, i32 1 %6 = load i32, ptr %5, align 8, !tbaa !10 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %15 8: ; preds = %2 %9 = icmp eq i32 %1, 0 br i1 %9, label %17, label %10 10: ; preds = %8 %11 = load ptr, ptr %4, align 8, !tbaa !15 %12 = tail call i32 @dev_err(ptr noundef %11, ptr noundef nonnull @.str) #2 %13 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !16 %14 = sub nsw i32 0, %13 br label %17 15: ; preds = %2 %16 = tail call i32 @hclge_set_autoneg_en(ptr noundef nonnull %4, i32 noundef %1) #2 br label %17 17: ; preds = %8, %15, %10 %18 = phi i32 [ %16, %15 ], [ %14, %10 ], [ 0, %8 ] ret i32 %18 } declare ptr @hclge_get_vport(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hclge_set_autoneg_en(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 = !{!"hclge_vport", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !14, i64 8} !11 = !{!"hclge_dev", !7, i64 0, !12, i64 8} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!11, !7, i64 0} !16 = !{!14, !14, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_main.c_hclge_set_autoneg.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_main.c_hclge_set_autoneg.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 [42 x i8] c"autoneg is not supported by current port\0A\00", align 1 @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hclge_set_autoneg], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @hclge_set_autoneg(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @hclge_get_vport(ptr noundef %0) #2 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %4, i64 8 %6 = load i32, ptr %5, align 8, !tbaa !11 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %15 8: ; preds = %2 %9 = icmp eq i32 %1, 0 br i1 %9, label %17, label %10 10: ; preds = %8 %11 = load ptr, ptr %4, align 8, !tbaa !16 %12 = tail call i32 @dev_err(ptr noundef %11, ptr noundef nonnull @.str) #2 %13 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !17 %14 = sub nsw i32 0, %13 br label %17 15: ; preds = %2 %16 = tail call i32 @hclge_set_autoneg_en(ptr noundef nonnull %4, i32 noundef %1) #2 br label %17 17: ; preds = %8, %15, %10 %18 = phi i32 [ %16, %15 ], [ %14, %10 ], [ 0, %8 ] ret i32 %18 } declare ptr @hclge_get_vport(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hclge_set_autoneg_en(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 = !{!"hclge_vport", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !15, i64 8} !12 = !{!"hclge_dev", !8, i64 0, !13, i64 8} !13 = !{!"TYPE_5__", !14, i64 0} !14 = !{!"TYPE_4__", !15, i64 0} !15 = !{!"int", !9, i64 0} !16 = !{!12, !8, i64 0} !17 = !{!15, !15, i64 0}
linux_drivers_net_ethernet_hisilicon_hns3_hns3pf_extr_hclge_main.c_hclge_set_autoneg
; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/tremor/extr_framing.c__positionF.c' source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/tremor/extr_framing.c__positionF.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { i32, i32, ptr, i64 } %struct.TYPE_6__ = type { i32, i64, ptr, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @_positionF], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @_positionF(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = icmp sgt i32 %3, %1 br i1 %4, label %29, label %5 5: ; preds = %2 %6 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2 %7 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %6, align 8, !tbaa !12 %9 = load i32, ptr %7, align 4, !tbaa !13 %10 = load i32, ptr %8, align 8, !tbaa !14 br label %11 11: ; preds = %5, %11 %12 = phi i32 [ %10, %5 ], [ %18, %11 ] %13 = phi i32 [ %9, %5 ], [ %15, %11 ] %14 = phi ptr [ %8, %5 ], [ %17, %11 ] %15 = add nsw i32 %13, %12 %16 = getelementptr inbounds %struct.TYPE_6__, ptr %14, i64 0, i32 3 %17 = load ptr, ptr %16, align 8, !tbaa !16 %18 = load i32, ptr %17, align 8, !tbaa !14 %19 = add nsw i32 %18, %15 %20 = icmp sgt i32 %19, %1 br i1 %20, label %21, label %11, !llvm.loop !17 21: ; preds = %11 %22 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 3 %23 = getelementptr inbounds %struct.TYPE_6__, ptr %17, i64 0, i32 1 %24 = load i64, ptr %23, align 8, !tbaa !19 %25 = getelementptr inbounds %struct.TYPE_6__, ptr %17, i64 0, i32 2 %26 = load ptr, ptr %25, align 8, !tbaa !20 %27 = load i64, ptr %26, align 8, !tbaa !21 %28 = add nsw i64 %24, %27 store ptr %17, ptr %6, align 8, !tbaa !12 store i32 %15, ptr %7, align 4, !tbaa !13 store i32 %19, ptr %0, align 8, !tbaa !5 store i64 %28, ptr %22, align 8, !tbaa !23 br label %29 29: ; preds = %21, %2 ret void } attributes #0 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!6, !7, i64 4} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_6__", !7, i64 0, !11, i64 8, !10, i64 16, !10, i64 24} !16 = !{!15, !10, i64 24} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!15, !11, i64 8} !20 = !{!15, !10, i64 16} !21 = !{!22, !11, i64 0} !22 = !{!"TYPE_5__", !11, i64 0} !23 = !{!6, !11, i64 16}
; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/tremor/extr_framing.c__positionF.c' source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/tremor/extr_framing.c__positionF.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 @_positionF], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @_positionF(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = icmp sgt i32 %3, %1 br i1 %4, label %29, label %5 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = getelementptr inbounds i8, ptr %0, i64 4 %8 = load ptr, ptr %6, align 8, !tbaa !13 %9 = load i32, ptr %7, align 4, !tbaa !14 %10 = load i32, ptr %8, align 8, !tbaa !15 br label %11 11: ; preds = %5, %11 %12 = phi i32 [ %10, %5 ], [ %18, %11 ] %13 = phi i32 [ %9, %5 ], [ %15, %11 ] %14 = phi ptr [ %8, %5 ], [ %17, %11 ] %15 = add nsw i32 %13, %12 %16 = getelementptr inbounds i8, ptr %14, i64 24 %17 = load ptr, ptr %16, align 8, !tbaa !17 %18 = load i32, ptr %17, align 8, !tbaa !15 %19 = add nsw i32 %18, %15 %20 = icmp sgt i32 %19, %1 br i1 %20, label %21, label %11, !llvm.loop !18 21: ; preds = %11 %22 = getelementptr inbounds i8, ptr %0, i64 16 %23 = getelementptr inbounds i8, ptr %17, i64 8 %24 = load i64, ptr %23, align 8, !tbaa !20 %25 = getelementptr inbounds i8, ptr %17, i64 16 %26 = load ptr, ptr %25, align 8, !tbaa !21 %27 = load i64, ptr %26, align 8, !tbaa !22 %28 = add nsw i64 %24, %27 store ptr %17, ptr %6, align 8, !tbaa !13 store i32 %15, ptr %7, align 4, !tbaa !14 store i32 %19, ptr %0, align 8, !tbaa !6 store i64 %28, ptr %22, align 8, !tbaa !24 br label %29 29: ; preds = %21, %2 ret void } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_7__", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!7, !8, i64 4} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_6__", !8, i64 0, !12, i64 8, !11, i64 16, !11, i64 24} !17 = !{!16, !11, i64 24} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!16, !12, i64 8} !21 = !{!16, !11, i64 16} !22 = !{!23, !12, i64 0} !23 = !{!"TYPE_5__", !12, i64 0} !24 = !{!7, !12, i64 16}
Provenance_Cores_Genesis-Plus-GX_PVGenesis_Genesis_GenesisCore_genplusgx_source_tremor_extr_framing.c__positionF
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2500pci.c_rt2500pci_validate_eeprom.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2500pci.c_rt2500pci_validate_eeprom.c" target datalayout = "e-m:e-p270:32:32-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.eeprom_93cx6 = type { i64, i64, i64, i64, i32, i32, i32, ptr } @CSR21 = dso_local local_unnamed_addr global i32 0, align 4 @rt2500pci_eepromregister_read = dso_local local_unnamed_addr global i32 0, align 4 @rt2500pci_eepromregister_write = dso_local local_unnamed_addr global i32 0, align 4 @CSR21_TYPE_93C46 = dso_local local_unnamed_addr global i32 0, align 4 @PCI_EEPROM_WIDTH_93C46 = dso_local local_unnamed_addr global i32 0, align 4 @PCI_EEPROM_WIDTH_93C66 = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_BASE = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_MAC_ADDR_0 = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_ANTENNA = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_ANTENNA_NUM = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_ANTENNA_TX_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4 @ANTENNA_SW_DIVERSITY = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_ANTENNA_RX_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_ANTENNA_LED_MODE = dso_local local_unnamed_addr global i32 0, align 4 @LED_MODE_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_ANTENNA_DYN_TXAGC = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_ANTENNA_HARDWARE_RADIO = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_ANTENNA_RF_TYPE = dso_local local_unnamed_addr global i32 0, align 4 @RF2522 = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"Antenna: 0x%04x\0A\00", align 1 @EEPROM_NIC = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_NIC_CARDBUS_ACCEL = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_NIC_DYN_BBP_TUNE = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_NIC_CCK_TX_POWER = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"NIC: 0x%04x\0A\00", align 1 @EEPROM_CALIBRATE_OFFSET = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_CALIBRATE_OFFSET_RSSI = dso_local local_unnamed_addr global i32 0, align 4 @DEFAULT_RSSI_OFFSET = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [26 x i8] c"Calibrate offset: 0x%04x\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @rt2500pci_validate_eeprom], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @rt2500pci_validate_eeprom(ptr noundef %0) #0 { %2 = alloca %struct.eeprom_93cx6, align 8 %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %2) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 %4 = load i32, ptr @CSR21, align 4, !tbaa !5 %5 = tail call i32 @rt2x00mmio_register_read(ptr noundef %0, i32 noundef %4) #4 %6 = getelementptr inbounds %struct.eeprom_93cx6, ptr %2, i64 0, i32 7 store ptr %0, ptr %6, align 8, !tbaa !9 %7 = load i32, ptr @rt2500pci_eepromregister_read, align 4, !tbaa !5 %8 = getelementptr inbounds %struct.eeprom_93cx6, ptr %2, i64 0, i32 6 store i32 %7, ptr %8, align 8, !tbaa !13 %9 = load i32, ptr @rt2500pci_eepromregister_write, align 4, !tbaa !5 %10 = getelementptr inbounds %struct.eeprom_93cx6, ptr %2, i64 0, i32 5 store i32 %9, ptr %10, align 4, !tbaa !14 %11 = load i32, ptr @CSR21_TYPE_93C46, align 4, !tbaa !5 %12 = tail call i64 @rt2x00_get_field32(i32 noundef %5, i32 noundef %11) #4 %13 = icmp eq i64 %12, 0 %14 = load i32, ptr @PCI_EEPROM_WIDTH_93C46, align 4 %15 = load i32, ptr @PCI_EEPROM_WIDTH_93C66, align 4 %16 = select i1 %13, i32 %15, i32 %14 %17 = getelementptr inbounds %struct.eeprom_93cx6, ptr %2, i64 0, i32 4 store i32 %16, ptr %17, align 8, !tbaa !15 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %2, i8 0, i64 32, i1 false) %18 = load i32, ptr @EEPROM_BASE, align 4, !tbaa !5 %19 = load i32, ptr %0, align 4, !tbaa !16 %20 = load i32, ptr @EEPROM_SIZE, align 4, !tbaa !5 %21 = ashr i32 %20, 2 %22 = call i32 @eeprom_93cx6_multiread(ptr noundef nonnull %2, i32 noundef %18, i32 noundef %19, i32 noundef %21) #4 %23 = load i32, ptr @EEPROM_MAC_ADDR_0, align 4, !tbaa !5 %24 = call ptr @rt2x00_eeprom_addr(ptr noundef nonnull %0, i32 noundef %23) #4 %25 = call i32 @rt2x00lib_set_mac_address(ptr noundef nonnull %0, ptr noundef %24) #4 %26 = load i32, ptr @EEPROM_ANTENNA, align 4, !tbaa !5 %27 = call i32 @rt2x00_eeprom_read(ptr noundef nonnull %0, i32 noundef %26) #4 store i32 %27, ptr %3, align 4, !tbaa !5 %28 = icmp eq i32 %27, 65535 br i1 %28, label %29, label %53 29: ; preds = %1 %30 = load i32, ptr @EEPROM_ANTENNA_NUM, align 4, !tbaa !5 %31 = call i32 @rt2x00_set_field16(ptr noundef nonnull %3, i32 noundef %30, i32 noundef 2) #4 %32 = load i32, ptr @EEPROM_ANTENNA_TX_DEFAULT, align 4, !tbaa !5 %33 = load i32, ptr @ANTENNA_SW_DIVERSITY, align 4, !tbaa !5 %34 = call i32 @rt2x00_set_field16(ptr noundef nonnull %3, i32 noundef %32, i32 noundef %33) #4 %35 = load i32, ptr @EEPROM_ANTENNA_RX_DEFAULT, align 4, !tbaa !5 %36 = load i32, ptr @ANTENNA_SW_DIVERSITY, align 4, !tbaa !5 %37 = call i32 @rt2x00_set_field16(ptr noundef nonnull %3, i32 noundef %35, i32 noundef %36) #4 %38 = load i32, ptr @EEPROM_ANTENNA_LED_MODE, align 4, !tbaa !5 %39 = load i32, ptr @LED_MODE_DEFAULT, align 4, !tbaa !5 %40 = call i32 @rt2x00_set_field16(ptr noundef nonnull %3, i32 noundef %38, i32 noundef %39) #4 %41 = load i32, ptr @EEPROM_ANTENNA_DYN_TXAGC, align 4, !tbaa !5 %42 = call i32 @rt2x00_set_field16(ptr noundef nonnull %3, i32 noundef %41, i32 noundef 0) #4 %43 = load i32, ptr @EEPROM_ANTENNA_HARDWARE_RADIO, align 4, !tbaa !5 %44 = call i32 @rt2x00_set_field16(ptr noundef nonnull %3, i32 noundef %43, i32 noundef 0) #4 %45 = load i32, ptr @EEPROM_ANTENNA_RF_TYPE, align 4, !tbaa !5 %46 = load i32, ptr @RF2522, align 4, !tbaa !5 %47 = call i32 @rt2x00_set_field16(ptr noundef nonnull %3, i32 noundef %45, i32 noundef %46) #4 %48 = load i32, ptr @EEPROM_ANTENNA, align 4, !tbaa !5 %49 = load i32, ptr %3, align 4, !tbaa !5 %50 = call i32 @rt2x00_eeprom_write(ptr noundef nonnull %0, i32 noundef %48, i32 noundef %49) #4 %51 = load i32, ptr %3, align 4, !tbaa !5 %52 = call i32 @rt2x00_eeprom_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %51) #4 br label %53 53: ; preds = %29, %1 %54 = load i32, ptr @EEPROM_NIC, align 4, !tbaa !5 %55 = call i32 @rt2x00_eeprom_read(ptr noundef nonnull %0, i32 noundef %54) #4 store i32 %55, ptr %3, align 4, !tbaa !5 %56 = icmp eq i32 %55, 65535 br i1 %56, label %57, label %69 57: ; preds = %53 %58 = load i32, ptr @EEPROM_NIC_CARDBUS_ACCEL, align 4, !tbaa !5 %59 = call i32 @rt2x00_set_field16(ptr noundef nonnull %3, i32 noundef %58, i32 noundef 0) #4 %60 = load i32, ptr @EEPROM_NIC_DYN_BBP_TUNE, align 4, !tbaa !5 %61 = call i32 @rt2x00_set_field16(ptr noundef nonnull %3, i32 noundef %60, i32 noundef 0) #4 %62 = load i32, ptr @EEPROM_NIC_CCK_TX_POWER, align 4, !tbaa !5 %63 = call i32 @rt2x00_set_field16(ptr noundef nonnull %3, i32 noundef %62, i32 noundef 0) #4 %64 = load i32, ptr @EEPROM_NIC, align 4, !tbaa !5 %65 = load i32, ptr %3, align 4, !tbaa !5 %66 = call i32 @rt2x00_eeprom_write(ptr noundef nonnull %0, i32 noundef %64, i32 noundef %65) #4 %67 = load i32, ptr %3, align 4, !tbaa !5 %68 = call i32 @rt2x00_eeprom_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %67) #4 br label %69 69: ; preds = %57, %53 %70 = load i32, ptr @EEPROM_CALIBRATE_OFFSET, align 4, !tbaa !5 %71 = call i32 @rt2x00_eeprom_read(ptr noundef nonnull %0, i32 noundef %70) #4 store i32 %71, ptr %3, align 4, !tbaa !5 %72 = icmp eq i32 %71, 65535 br i1 %72, label %73, label %82 73: ; preds = %69 %74 = load i32, ptr @EEPROM_CALIBRATE_OFFSET_RSSI, align 4, !tbaa !5 %75 = load i32, ptr @DEFAULT_RSSI_OFFSET, align 4, !tbaa !5 %76 = call i32 @rt2x00_set_field16(ptr noundef nonnull %3, i32 noundef %74, i32 noundef %75) #4 %77 = load i32, ptr @EEPROM_CALIBRATE_OFFSET, align 4, !tbaa !5 %78 = load i32, ptr %3, align 4, !tbaa !5 %79 = call i32 @rt2x00_eeprom_write(ptr noundef nonnull %0, i32 noundef %77, i32 noundef %78) #4 %80 = load i32, ptr %3, align 4, !tbaa !5 %81 = call i32 @rt2x00_eeprom_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %80) #4 br label %82 82: ; preds = %73, %69 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %2) #4 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @rt2x00mmio_register_read(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @rt2x00_get_field32(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @eeprom_93cx6_multiread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @rt2x00_eeprom_addr(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rt2x00lib_set_mac_address(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rt2x00_eeprom_read(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rt2x00_set_field16(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rt2x00_eeprom_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rt2x00_eeprom_dbg(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 ; 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 48} !10 = !{!"eeprom_93cx6", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !6, i64 32, !6, i64 36, !6, i64 40, !12, i64 48} !11 = !{!"long", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !6, i64 40} !14 = !{!10, !6, i64 36} !15 = !{!10, !6, i64 32} !16 = !{!17, !6, i64 0} !17 = !{!"rt2x00_dev", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2500pci.c_rt2500pci_validate_eeprom.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2500pci.c_rt2500pci_validate_eeprom.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.eeprom_93cx6 = type { i64, i64, i64, i64, i32, i32, i32, ptr } @CSR21 = common local_unnamed_addr global i32 0, align 4 @rt2500pci_eepromregister_read = common local_unnamed_addr global i32 0, align 4 @rt2500pci_eepromregister_write = common local_unnamed_addr global i32 0, align 4 @CSR21_TYPE_93C46 = common local_unnamed_addr global i32 0, align 4 @PCI_EEPROM_WIDTH_93C46 = common local_unnamed_addr global i32 0, align 4 @PCI_EEPROM_WIDTH_93C66 = common local_unnamed_addr global i32 0, align 4 @EEPROM_BASE = common local_unnamed_addr global i32 0, align 4 @EEPROM_SIZE = common local_unnamed_addr global i32 0, align 4 @EEPROM_MAC_ADDR_0 = common local_unnamed_addr global i32 0, align 4 @EEPROM_ANTENNA = common local_unnamed_addr global i32 0, align 4 @EEPROM_ANTENNA_NUM = common local_unnamed_addr global i32 0, align 4 @EEPROM_ANTENNA_TX_DEFAULT = common local_unnamed_addr global i32 0, align 4 @ANTENNA_SW_DIVERSITY = common local_unnamed_addr global i32 0, align 4 @EEPROM_ANTENNA_RX_DEFAULT = common local_unnamed_addr global i32 0, align 4 @EEPROM_ANTENNA_LED_MODE = common local_unnamed_addr global i32 0, align 4 @LED_MODE_DEFAULT = common local_unnamed_addr global i32 0, align 4 @EEPROM_ANTENNA_DYN_TXAGC = common local_unnamed_addr global i32 0, align 4 @EEPROM_ANTENNA_HARDWARE_RADIO = common local_unnamed_addr global i32 0, align 4 @EEPROM_ANTENNA_RF_TYPE = common local_unnamed_addr global i32 0, align 4 @RF2522 = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"Antenna: 0x%04x\0A\00", align 1 @EEPROM_NIC = common local_unnamed_addr global i32 0, align 4 @EEPROM_NIC_CARDBUS_ACCEL = common local_unnamed_addr global i32 0, align 4 @EEPROM_NIC_DYN_BBP_TUNE = common local_unnamed_addr global i32 0, align 4 @EEPROM_NIC_CCK_TX_POWER = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"NIC: 0x%04x\0A\00", align 1 @EEPROM_CALIBRATE_OFFSET = common local_unnamed_addr global i32 0, align 4 @EEPROM_CALIBRATE_OFFSET_RSSI = common local_unnamed_addr global i32 0, align 4 @DEFAULT_RSSI_OFFSET = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [26 x i8] c"Calibrate offset: 0x%04x\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @rt2500pci_validate_eeprom], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @rt2500pci_validate_eeprom(ptr noundef %0) #0 { %2 = alloca %struct.eeprom_93cx6, align 8 %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %2) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 %4 = load i32, ptr @CSR21, align 4, !tbaa !6 %5 = tail call i32 @rt2x00mmio_register_read(ptr noundef %0, i32 noundef %4) #4 %6 = getelementptr inbounds i8, ptr %2, i64 48 store ptr %0, ptr %6, align 8, !tbaa !10 %7 = load i32, ptr @rt2500pci_eepromregister_read, align 4, !tbaa !6 %8 = getelementptr inbounds i8, ptr %2, i64 40 store i32 %7, ptr %8, align 8, !tbaa !14 %9 = load i32, ptr @rt2500pci_eepromregister_write, align 4, !tbaa !6 %10 = getelementptr inbounds i8, ptr %2, i64 36 store i32 %9, ptr %10, align 4, !tbaa !15 %11 = load i32, ptr @CSR21_TYPE_93C46, align 4, !tbaa !6 %12 = tail call i64 @rt2x00_get_field32(i32 noundef %5, i32 noundef %11) #4 %13 = icmp eq i64 %12, 0 %14 = load i32, ptr @PCI_EEPROM_WIDTH_93C46, align 4 %15 = load i32, ptr @PCI_EEPROM_WIDTH_93C66, align 4 %16 = select i1 %13, i32 %15, i32 %14 %17 = getelementptr inbounds i8, ptr %2, i64 32 store i32 %16, ptr %17, align 8, !tbaa !16 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %2, i8 0, i64 32, i1 false) %18 = load i32, ptr @EEPROM_BASE, align 4, !tbaa !6 %19 = load i32, ptr %0, align 4, !tbaa !17 %20 = load i32, ptr @EEPROM_SIZE, align 4, !tbaa !6 %21 = ashr i32 %20, 2 %22 = call i32 @eeprom_93cx6_multiread(ptr noundef nonnull %2, i32 noundef %18, i32 noundef %19, i32 noundef %21) #4 %23 = load i32, ptr @EEPROM_MAC_ADDR_0, align 4, !tbaa !6 %24 = call ptr @rt2x00_eeprom_addr(ptr noundef nonnull %0, i32 noundef %23) #4 %25 = call i32 @rt2x00lib_set_mac_address(ptr noundef nonnull %0, ptr noundef %24) #4 %26 = load i32, ptr @EEPROM_ANTENNA, align 4, !tbaa !6 %27 = call i32 @rt2x00_eeprom_read(ptr noundef nonnull %0, i32 noundef %26) #4 store i32 %27, ptr %3, align 4, !tbaa !6 %28 = icmp eq i32 %27, 65535 br i1 %28, label %29, label %53 29: ; preds = %1 %30 = load i32, ptr @EEPROM_ANTENNA_NUM, align 4, !tbaa !6 %31 = call i32 @rt2x00_set_field16(ptr noundef nonnull %3, i32 noundef %30, i32 noundef 2) #4 %32 = load i32, ptr @EEPROM_ANTENNA_TX_DEFAULT, align 4, !tbaa !6 %33 = load i32, ptr @ANTENNA_SW_DIVERSITY, align 4, !tbaa !6 %34 = call i32 @rt2x00_set_field16(ptr noundef nonnull %3, i32 noundef %32, i32 noundef %33) #4 %35 = load i32, ptr @EEPROM_ANTENNA_RX_DEFAULT, align 4, !tbaa !6 %36 = load i32, ptr @ANTENNA_SW_DIVERSITY, align 4, !tbaa !6 %37 = call i32 @rt2x00_set_field16(ptr noundef nonnull %3, i32 noundef %35, i32 noundef %36) #4 %38 = load i32, ptr @EEPROM_ANTENNA_LED_MODE, align 4, !tbaa !6 %39 = load i32, ptr @LED_MODE_DEFAULT, align 4, !tbaa !6 %40 = call i32 @rt2x00_set_field16(ptr noundef nonnull %3, i32 noundef %38, i32 noundef %39) #4 %41 = load i32, ptr @EEPROM_ANTENNA_DYN_TXAGC, align 4, !tbaa !6 %42 = call i32 @rt2x00_set_field16(ptr noundef nonnull %3, i32 noundef %41, i32 noundef 0) #4 %43 = load i32, ptr @EEPROM_ANTENNA_HARDWARE_RADIO, align 4, !tbaa !6 %44 = call i32 @rt2x00_set_field16(ptr noundef nonnull %3, i32 noundef %43, i32 noundef 0) #4 %45 = load i32, ptr @EEPROM_ANTENNA_RF_TYPE, align 4, !tbaa !6 %46 = load i32, ptr @RF2522, align 4, !tbaa !6 %47 = call i32 @rt2x00_set_field16(ptr noundef nonnull %3, i32 noundef %45, i32 noundef %46) #4 %48 = load i32, ptr @EEPROM_ANTENNA, align 4, !tbaa !6 %49 = load i32, ptr %3, align 4, !tbaa !6 %50 = call i32 @rt2x00_eeprom_write(ptr noundef nonnull %0, i32 noundef %48, i32 noundef %49) #4 %51 = load i32, ptr %3, align 4, !tbaa !6 %52 = call i32 @rt2x00_eeprom_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %51) #4 br label %53 53: ; preds = %29, %1 %54 = load i32, ptr @EEPROM_NIC, align 4, !tbaa !6 %55 = call i32 @rt2x00_eeprom_read(ptr noundef nonnull %0, i32 noundef %54) #4 store i32 %55, ptr %3, align 4, !tbaa !6 %56 = icmp eq i32 %55, 65535 br i1 %56, label %57, label %69 57: ; preds = %53 %58 = load i32, ptr @EEPROM_NIC_CARDBUS_ACCEL, align 4, !tbaa !6 %59 = call i32 @rt2x00_set_field16(ptr noundef nonnull %3, i32 noundef %58, i32 noundef 0) #4 %60 = load i32, ptr @EEPROM_NIC_DYN_BBP_TUNE, align 4, !tbaa !6 %61 = call i32 @rt2x00_set_field16(ptr noundef nonnull %3, i32 noundef %60, i32 noundef 0) #4 %62 = load i32, ptr @EEPROM_NIC_CCK_TX_POWER, align 4, !tbaa !6 %63 = call i32 @rt2x00_set_field16(ptr noundef nonnull %3, i32 noundef %62, i32 noundef 0) #4 %64 = load i32, ptr @EEPROM_NIC, align 4, !tbaa !6 %65 = load i32, ptr %3, align 4, !tbaa !6 %66 = call i32 @rt2x00_eeprom_write(ptr noundef nonnull %0, i32 noundef %64, i32 noundef %65) #4 %67 = load i32, ptr %3, align 4, !tbaa !6 %68 = call i32 @rt2x00_eeprom_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %67) #4 br label %69 69: ; preds = %57, %53 %70 = load i32, ptr @EEPROM_CALIBRATE_OFFSET, align 4, !tbaa !6 %71 = call i32 @rt2x00_eeprom_read(ptr noundef nonnull %0, i32 noundef %70) #4 store i32 %71, ptr %3, align 4, !tbaa !6 %72 = icmp eq i32 %71, 65535 br i1 %72, label %73, label %82 73: ; preds = %69 %74 = load i32, ptr @EEPROM_CALIBRATE_OFFSET_RSSI, align 4, !tbaa !6 %75 = load i32, ptr @DEFAULT_RSSI_OFFSET, align 4, !tbaa !6 %76 = call i32 @rt2x00_set_field16(ptr noundef nonnull %3, i32 noundef %74, i32 noundef %75) #4 %77 = load i32, ptr @EEPROM_CALIBRATE_OFFSET, align 4, !tbaa !6 %78 = load i32, ptr %3, align 4, !tbaa !6 %79 = call i32 @rt2x00_eeprom_write(ptr noundef nonnull %0, i32 noundef %77, i32 noundef %78) #4 %80 = load i32, ptr %3, align 4, !tbaa !6 %81 = call i32 @rt2x00_eeprom_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %80) #4 br label %82 82: ; preds = %73, %69 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %2) #4 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @rt2x00mmio_register_read(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @rt2x00_get_field32(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @eeprom_93cx6_multiread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @rt2x00_eeprom_addr(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rt2x00lib_set_mac_address(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rt2x00_eeprom_read(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rt2x00_set_field16(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rt2x00_eeprom_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rt2x00_eeprom_dbg(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 ; 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nocallback nofree 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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 48} !11 = !{!"eeprom_93cx6", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !13, i64 48} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !7, i64 40} !15 = !{!11, !7, i64 36} !16 = !{!11, !7, i64 32} !17 = !{!18, !7, i64 0} !18 = !{!"rt2x00_dev", !7, i64 0}
linux_drivers_net_wireless_ralink_rt2x00_extr_rt2500pci.c_rt2500pci_validate_eeprom
; ModuleID = 'AnghaBench/postgres/src/pl/plpgsql/src/extr_pl_comp.c_plpgsql_build_datatype.c' source_filename = "AnghaBench/postgres/src/pl/plpgsql/src/extr_pl_comp.c_plpgsql_build_datatype.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TYPEOID = dso_local local_unnamed_addr global i32 0, align 4 @ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"cache lookup failed for type %u\00", align 1 ; Function Attrs: nounwind uwtable define dso_local ptr @plpgsql_build_datatype(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @TYPEOID, align 4, !tbaa !5 %6 = tail call i32 @ObjectIdGetDatum(i32 noundef %0) #2 %7 = tail call i32 @SearchSysCache1(i32 noundef %5, i32 noundef %6) #2 %8 = tail call i32 @HeapTupleIsValid(i32 noundef %7) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %4 %11 = load i32, ptr @ERROR, align 4, !tbaa !5 %12 = tail call i32 @elog(i32 noundef %11, ptr noundef nonnull @.str, i32 noundef %0) #2 br label %13 13: ; preds = %10, %4 %14 = tail call ptr @build_datatype(i32 noundef %7, i32 noundef %1, i32 noundef %2, ptr noundef %3) #2 %15 = tail call i32 @ReleaseSysCache(i32 noundef %7) #2 ret ptr %14 } declare i32 @SearchSysCache1(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ObjectIdGetDatum(i32 noundef) local_unnamed_addr #1 declare i32 @HeapTupleIsValid(i32 noundef) local_unnamed_addr #1 declare i32 @elog(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @build_datatype(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ReleaseSysCache(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/postgres/src/pl/plpgsql/src/extr_pl_comp.c_plpgsql_build_datatype.c' source_filename = "AnghaBench/postgres/src/pl/plpgsql/src/extr_pl_comp.c_plpgsql_build_datatype.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TYPEOID = common local_unnamed_addr global i32 0, align 4 @ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"cache lookup failed for type %u\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @plpgsql_build_datatype(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @TYPEOID, align 4, !tbaa !6 %6 = tail call i32 @ObjectIdGetDatum(i32 noundef %0) #2 %7 = tail call i32 @SearchSysCache1(i32 noundef %5, i32 noundef %6) #2 %8 = tail call i32 @HeapTupleIsValid(i32 noundef %7) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %4 %11 = load i32, ptr @ERROR, align 4, !tbaa !6 %12 = tail call i32 @elog(i32 noundef %11, ptr noundef nonnull @.str, i32 noundef %0) #2 br label %13 13: ; preds = %10, %4 %14 = tail call ptr @build_datatype(i32 noundef %7, i32 noundef %1, i32 noundef %2, ptr noundef %3) #2 %15 = tail call i32 @ReleaseSysCache(i32 noundef %7) #2 ret ptr %14 } declare i32 @SearchSysCache1(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ObjectIdGetDatum(i32 noundef) local_unnamed_addr #1 declare i32 @HeapTupleIsValid(i32 noundef) local_unnamed_addr #1 declare i32 @elog(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @build_datatype(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ReleaseSysCache(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"}
postgres_src_pl_plpgsql_src_extr_pl_comp.c_plpgsql_build_datatype
; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/pseries/extr_mobility.c_delete_dt_node.c' source_filename = "AnghaBench/linux/arch/powerpc/platforms/pseries/extr_mobility.c_delete_dt_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" @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @delete_dt_node], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @delete_dt_node(i32 noundef %0) #0 { %2 = tail call i32 @be32_to_cpu(i32 noundef %0) #2 %3 = tail call ptr @of_find_node_by_phandle(i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @ENOENT, align 4, !tbaa !5 %7 = sub nsw i32 0, %6 br label %11 8: ; preds = %1 %9 = tail call i32 @dlpar_detach_node(ptr noundef nonnull %3) #2 %10 = tail call i32 @of_node_put(ptr noundef nonnull %3) #2 br label %11 11: ; preds = %8, %5 %12 = phi i32 [ 0, %8 ], [ %7, %5 ] ret i32 %12 } declare ptr @of_find_node_by_phandle(i32 noundef) local_unnamed_addr #1 declare i32 @be32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @dlpar_detach_node(ptr noundef) local_unnamed_addr #1 declare i32 @of_node_put(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/arch/powerpc/platforms/pseries/extr_mobility.c_delete_dt_node.c' source_filename = "AnghaBench/linux/arch/powerpc/platforms/pseries/extr_mobility.c_delete_dt_node.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOENT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @delete_dt_node], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @delete_dt_node(i32 noundef %0) #0 { %2 = tail call i32 @be32_to_cpu(i32 noundef %0) #2 %3 = tail call ptr @of_find_node_by_phandle(i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @ENOENT, align 4, !tbaa !6 %7 = sub nsw i32 0, %6 br label %11 8: ; preds = %1 %9 = tail call i32 @dlpar_detach_node(ptr noundef nonnull %3) #2 %10 = tail call i32 @of_node_put(ptr noundef nonnull %3) #2 br label %11 11: ; preds = %8, %5 %12 = phi i32 [ 0, %8 ], [ %7, %5 ] ret i32 %12 } declare ptr @of_find_node_by_phandle(i32 noundef) local_unnamed_addr #1 declare i32 @be32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @dlpar_detach_node(ptr noundef) local_unnamed_addr #1 declare i32 @of_node_put(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_arch_powerpc_platforms_pseries_extr_mobility.c_delete_dt_node