IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/h2o/lib/handler/extr_throttle_resp.c_on_stop.c' source_filename = "AnghaBench/h2o/lib/handler/extr_throttle_resp.c_on_stop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @on_stop], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @on_stop(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = tail call i64 @h2o_timer_is_linked(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 @h2o_timer_unlink(ptr noundef %0) #2 br label %7 7: ; preds = %5, %2 ret void } declare i64 @h2o_timer_is_linked(ptr noundef) local_unnamed_addr #1 declare i32 @h2o_timer_unlink(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/h2o/lib/handler/extr_throttle_resp.c_on_stop.c' source_filename = "AnghaBench/h2o/lib/handler/extr_throttle_resp.c_on_stop.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @on_stop], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @on_stop(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = tail call i64 @h2o_timer_is_linked(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 @h2o_timer_unlink(ptr noundef %0) #2 br label %7 7: ; preds = %5, %2 ret void } declare i64 @h2o_timer_is_linked(ptr noundef) local_unnamed_addr #1 declare i32 @h2o_timer_unlink(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)"}
h2o_lib_handler_extr_throttle_resp.c_on_stop
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx5/mlx5_fpga/extr_mlx5fpga_core.c_mlx5_fpga_event.c' source_filename = "AnghaBench/freebsd/sys/dev/mlx5/mlx5_fpga/extr_mlx5fpga_core.c_mlx5_fpga_event.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.mlx5_fpga_device = type { i32, i32, i32, i32 } @fpga_error_event = dso_local local_unnamed_addr global i32 0, align 4 @fpga_qp_error_event = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Error %u on QP %u: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Unexpected event %u\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Error %u: %s\0A\00", align 1 @MLX5_FPGA_ERROR_EVENT_SYNDROME_IMAGE_CHANGED = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [28 x i8] c"Error while loading %u: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"Unexpected error event %u: %s\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @mlx5_fpga_event(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 switch i32 %1, label %16 [ i32 131, label %5 i32 130, label %9 ] 5: ; preds = %3 %6 = load i32, ptr @fpga_error_event, align 4, !tbaa !10 %7 = tail call i32 @MLX5_GET(i32 noundef %6, ptr noundef %2, i32 noundef undef) #2 %8 = tail call ptr @mlx5_fpga_syndrome_to_string(i32 noundef %7) #2 br label %18 9: ; preds = %3 %10 = load i32, ptr @fpga_qp_error_event, align 4, !tbaa !10 %11 = tail call i32 @MLX5_GET(i32 noundef %10, ptr noundef %2, i32 noundef undef) #2 %12 = tail call ptr @mlx5_fpga_qp_syndrome_to_string(i32 noundef %11) #2 %13 = load i32, ptr @fpga_qp_error_event, align 4, !tbaa !10 %14 = tail call i32 @MLX5_GET(i32 noundef %13, ptr noundef %2, i32 noundef undef) #2 %15 = tail call i32 @mlx5_fpga_err(ptr noundef %4, ptr noundef nonnull @.str, i32 noundef %11, i32 noundef %14, ptr noundef %12) #2 br label %18 16: ; preds = %3 %17 = tail call i32 (ptr, ptr, i32, ...) @mlx5_fpga_warn_ratelimited(ptr noundef %4, ptr noundef nonnull @.str.1, i32 noundef %1) #2 br label %42 18: ; preds = %9, %5 %19 = phi ptr [ %12, %9 ], [ %8, %5 ] %20 = phi i32 [ %11, %9 ], [ %7, %5 ] %21 = getelementptr inbounds %struct.mlx5_fpga_device, ptr %4, i64 0, i32 2 %22 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %21, i64 noundef undef) #2 %23 = load i32, ptr %4, align 4, !tbaa !12 switch i32 %23, label %38 [ i32 128, label %24 i32 129, label %30 ] 24: ; preds = %18 %25 = tail call i32 @mlx5_fpga_warn(ptr noundef nonnull %4, ptr noundef nonnull @.str.2, i32 noundef %20, ptr noundef %19) #2 %26 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %21, i64 noundef undef) #2 %27 = getelementptr inbounds %struct.mlx5_fpga_device, ptr %4, i64 0, i32 1 %28 = load i32, ptr %27, align 4, !tbaa !14 %29 = tail call i32 @mlx5_trigger_health_work(i32 noundef %28) #2 br label %42 30: ; preds = %18 %31 = load i32, ptr @MLX5_FPGA_ERROR_EVENT_SYNDROME_IMAGE_CHANGED, align 4, !tbaa !10 %32 = icmp eq i32 %20, %31 br i1 %32, label %35, label %33 33: ; preds = %30 %34 = tail call i32 @mlx5_fpga_warn(ptr noundef nonnull %4, ptr noundef nonnull @.str.3, i32 noundef %20, ptr noundef %19) #2 br label %35 35: ; preds = %33, %30 %36 = getelementptr inbounds %struct.mlx5_fpga_device, ptr %4, i64 0, i32 3 %37 = tail call i32 @complete(ptr noundef nonnull %36) #2 br label %40 38: ; preds = %18 %39 = tail call i32 (ptr, ptr, i32, ...) @mlx5_fpga_warn_ratelimited(ptr noundef nonnull %4, ptr noundef nonnull @.str.4, i32 noundef %20, ptr noundef %19) #2 br label %40 40: ; preds = %35, %38 %41 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %21, i64 noundef undef) #2 br label %42 42: ; preds = %24, %40, %16 ret void } declare i32 @MLX5_GET(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @mlx5_fpga_syndrome_to_string(i32 noundef) local_unnamed_addr #1 declare ptr @mlx5_fpga_qp_syndrome_to_string(i32 noundef) local_unnamed_addr #1 declare i32 @mlx5_fpga_err(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mlx5_fpga_warn_ratelimited(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @mlx5_fpga_warn(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @complete(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @mlx5_trigger_health_work(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"mlx5_core_dev", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"mlx5_fpga_device", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12} !14 = !{!13, !11, i64 4}
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx5/mlx5_fpga/extr_mlx5fpga_core.c_mlx5_fpga_event.c' source_filename = "AnghaBench/freebsd/sys/dev/mlx5/mlx5_fpga/extr_mlx5fpga_core.c_mlx5_fpga_event.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @fpga_error_event = common local_unnamed_addr global i32 0, align 4 @fpga_qp_error_event = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Error %u on QP %u: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Unexpected event %u\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Error %u: %s\0A\00", align 1 @MLX5_FPGA_ERROR_EVENT_SYNDROME_IMAGE_CHANGED = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [28 x i8] c"Error while loading %u: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"Unexpected error event %u: %s\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @mlx5_fpga_event(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 switch i32 %1, label %16 [ i32 131, label %5 i32 130, label %9 ] 5: ; preds = %3 %6 = load i32, ptr @fpga_error_event, align 4, !tbaa !11 %7 = tail call i32 @MLX5_GET(i32 noundef %6, ptr noundef %2, i32 noundef undef) #2 %8 = tail call ptr @mlx5_fpga_syndrome_to_string(i32 noundef %7) #2 br label %18 9: ; preds = %3 %10 = load i32, ptr @fpga_qp_error_event, align 4, !tbaa !11 %11 = tail call i32 @MLX5_GET(i32 noundef %10, ptr noundef %2, i32 noundef undef) #2 %12 = tail call ptr @mlx5_fpga_qp_syndrome_to_string(i32 noundef %11) #2 %13 = load i32, ptr @fpga_qp_error_event, align 4, !tbaa !11 %14 = tail call i32 @MLX5_GET(i32 noundef %13, ptr noundef %2, i32 noundef undef) #2 %15 = tail call i32 @mlx5_fpga_err(ptr noundef %4, ptr noundef nonnull @.str, i32 noundef %11, i32 noundef %14, ptr noundef %12) #2 br label %18 16: ; preds = %3 %17 = tail call i32 (ptr, ptr, i32, ...) @mlx5_fpga_warn_ratelimited(ptr noundef %4, ptr noundef nonnull @.str.1, i32 noundef %1) #2 br label %42 18: ; preds = %9, %5 %19 = phi ptr [ %12, %9 ], [ %8, %5 ] %20 = phi i32 [ %11, %9 ], [ %7, %5 ] %21 = getelementptr inbounds i8, ptr %4, i64 8 %22 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %21, i64 noundef undef) #2 %23 = load i32, ptr %4, align 4, !tbaa !13 switch i32 %23, label %38 [ i32 128, label %24 i32 129, label %30 ] 24: ; preds = %18 %25 = tail call i32 @mlx5_fpga_warn(ptr noundef nonnull %4, ptr noundef nonnull @.str.2, i32 noundef %20, ptr noundef %19) #2 %26 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %21, i64 noundef undef) #2 %27 = getelementptr inbounds i8, ptr %4, i64 4 %28 = load i32, ptr %27, align 4, !tbaa !15 %29 = tail call i32 @mlx5_trigger_health_work(i32 noundef %28) #2 br label %42 30: ; preds = %18 %31 = load i32, ptr @MLX5_FPGA_ERROR_EVENT_SYNDROME_IMAGE_CHANGED, align 4, !tbaa !11 %32 = icmp eq i32 %20, %31 br i1 %32, label %35, label %33 33: ; preds = %30 %34 = tail call i32 @mlx5_fpga_warn(ptr noundef nonnull %4, ptr noundef nonnull @.str.3, i32 noundef %20, ptr noundef %19) #2 br label %35 35: ; preds = %33, %30 %36 = getelementptr inbounds i8, ptr %4, i64 12 %37 = tail call i32 @complete(ptr noundef nonnull %36) #2 br label %40 38: ; preds = %18 %39 = tail call i32 (ptr, ptr, i32, ...) @mlx5_fpga_warn_ratelimited(ptr noundef nonnull %4, ptr noundef nonnull @.str.4, i32 noundef %20, ptr noundef %19) #2 br label %40 40: ; preds = %35, %38 %41 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %21, i64 noundef undef) #2 br label %42 42: ; preds = %24, %40, %16 ret void } declare i32 @MLX5_GET(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @mlx5_fpga_syndrome_to_string(i32 noundef) local_unnamed_addr #1 declare ptr @mlx5_fpga_qp_syndrome_to_string(i32 noundef) local_unnamed_addr #1 declare i32 @mlx5_fpga_err(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mlx5_fpga_warn_ratelimited(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @mlx5_fpga_warn(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @complete(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @mlx5_trigger_health_work(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"mlx5_core_dev", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"mlx5_fpga_device", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12} !15 = !{!14, !12, i64 4}
freebsd_sys_dev_mlx5_mlx5_fpga_extr_mlx5fpga_core.c_mlx5_fpga_event
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_dsl_prop.c_dsl_prop_get_all_impl.c' source_filename = "AnghaBench/zfs/module/zfs/extr_dsl_prop.c_dsl_prop_get_all_impl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { ptr, i32, i32, i32 } @ZAP_MAXNAMELEN = dso_local local_unnamed_addr global i32 0, align 4 @DSL_PROP_GET_RECEIVED = dso_local local_unnamed_addr global i32 0, align 4 @ZPROP_INHERIT_SUFFIX = dso_local local_unnamed_addr global i32 0, align 4 @ZPROP_RECVD_SUFFIX = dso_local local_unnamed_addr global i32 0, align 4 @DSL_PROP_GET_LOCAL = dso_local local_unnamed_addr global i32 0, align 4 @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1 @DSL_PROP_GET_INHERITING = dso_local local_unnamed_addr global i32 0, align 4 @ZPROP_SOURCE_VAL_RECVD = dso_local local_unnamed_addr global ptr null, align 8 @ZPROP_INVAL = dso_local local_unnamed_addr global i64 0, align 8 @DSL_PROP_GET_SNAPSHOT = dso_local local_unnamed_addr global i32 0, align 4 @ZFS_TYPE_SNAPSHOT = dso_local local_unnamed_addr global i32 0, align 4 @B_FALSE = dso_local local_unnamed_addr global i32 0, align 4 @NV_UNIQUE_NAME = dso_local local_unnamed_addr global i32 0, align 4 @KM_SLEEP = dso_local local_unnamed_addr global i32 0, align 4 @ZPROP_VALUE = dso_local local_unnamed_addr global i32 0, align 4 @ZPROP_SOURCE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dsl_prop_get_all_impl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @dsl_prop_get_all_impl(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca %struct.TYPE_3__, align 8 %8 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #4 %9 = call i32 @zap_cursor_init(ptr noundef nonnull %6, ptr noundef %0, i32 noundef %1) #4 %10 = call i32 @zap_cursor_retrieve(ptr noundef nonnull %6, ptr noundef nonnull %7) #4 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %164 12: ; preds = %5 %13 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i64 0, i32 1 %14 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i64 0, i32 2 %15 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i64 0, i32 3 br label %16 16: ; preds = %12, %160 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4 %17 = load i32, ptr @ZAP_MAXNAMELEN, align 4, !tbaa !5 %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave.p0() %20 = alloca i8, i64 %18, align 16 %21 = load ptr, ptr %7, align 8, !tbaa !9 %22 = call ptr @strchr(ptr noundef %21, i8 noundef signext 36) #4 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %30 24: ; preds = %16 %25 = load i32, ptr @DSL_PROP_GET_RECEIVED, align 4, !tbaa !5 %26 = and i32 %25, %3 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %160 28: ; preds = %24 %29 = load ptr, ptr %7, align 8, !tbaa !9 br label %77 30: ; preds = %16 %31 = load i32, ptr @ZPROP_INHERIT_SUFFIX, align 4, !tbaa !5 %32 = call i64 @strcmp(ptr noundef nonnull %22, i32 noundef %31) #4 %33 = icmp eq i64 %32, 0 br i1 %33, label %160, label %34 34: ; preds = %30 %35 = load i32, ptr @ZPROP_RECVD_SUFFIX, align 4, !tbaa !5 %36 = call i64 @strcmp(ptr noundef nonnull %22, i32 noundef %35) #4 %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %160 38: ; preds = %34 %39 = load i32, ptr @DSL_PROP_GET_LOCAL, align 4, !tbaa !5 %40 = and i32 %39, %3 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %160 42: ; preds = %38 %43 = load ptr, ptr %7, align 8, !tbaa !9 %44 = ptrtoint ptr %22 to i64 %45 = ptrtoint ptr %43 to i64 %46 = sub i64 %44, %45 %47 = trunc i64 %46 to i32 %48 = call i32 @strncpy(ptr noundef nonnull %20, ptr noundef %43, i32 noundef %47) #4 %49 = load ptr, ptr %7, align 8, !tbaa !9 %50 = ptrtoint ptr %49 to i64 %51 = sub i64 %44, %50 %52 = getelementptr inbounds i8, ptr %20, i64 %51 store i8 0, ptr %52, align 1, !tbaa !12 %53 = load i32, ptr @DSL_PROP_GET_RECEIVED, align 4, !tbaa !5 %54 = and i32 %53, %3 %55 = icmp eq i32 %54, 0 br i1 %55, label %56, label %71 56: ; preds = %42 %57 = call i32 @zap_contains(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %20) #4 %58 = icmp eq i32 %57, 0 br i1 %58, label %160, label %59 59: ; preds = %56 %60 = load i32, ptr @ENOENT, align 4, !tbaa !5 %61 = icmp eq i32 %57, %60 br i1 %61, label %62, label %158 62: ; preds = %59 %63 = load i32, ptr @ZPROP_INHERIT_SUFFIX, align 4, !tbaa !5 %64 = call ptr @kmem_asprintf(ptr noundef nonnull @.str, ptr noundef nonnull %20, i32 noundef %63) #4 %65 = call i32 @zap_contains(ptr noundef %0, i32 noundef %1, ptr noundef %64) #4 %66 = call i32 @kmem_strfree(ptr noundef %64) #4 %67 = icmp eq i32 %65, 0 br i1 %67, label %160, label %68 68: ; preds = %62 %69 = load i32, ptr @ENOENT, align 4, !tbaa !5 %70 = icmp eq i32 %65, %69 br i1 %70, label %71, label %158 71: ; preds = %68, %42 %72 = load i32, ptr @DSL_PROP_GET_INHERITING, align 4, !tbaa !5 %73 = and i32 %72, %3 %74 = icmp eq i32 %73, 0 %75 = load ptr, ptr @ZPROP_SOURCE_VAL_RECVD, align 8 %76 = select i1 %74, ptr %75, ptr %2 br label %77 77: ; preds = %71, %28 %78 = phi ptr [ %29, %28 ], [ %20, %71 ] %79 = phi ptr [ %2, %28 ], [ %76, %71 ] %80 = call i64 @zfs_name_to_prop(ptr noundef %78) #4 %81 = load i32, ptr @DSL_PROP_GET_INHERITING, align 4, !tbaa !5 %82 = and i32 %81, %3 %83 = icmp eq i32 %82, 0 %84 = load i64, ptr @ZPROP_INVAL, align 8 %85 = icmp eq i64 %80, %84 %86 = select i1 %83, i1 true, i1 %85 br i1 %86, label %92, label %87 87: ; preds = %77 %88 = call i32 @zfs_prop_inheritable(i64 noundef %80) #4 %89 = icmp eq i32 %88, 0 br i1 %89, label %160, label %90 90: ; preds = %87 %91 = load i64, ptr @ZPROP_INVAL, align 8 br label %92 92: ; preds = %90, %77 %93 = phi i64 [ %91, %90 ], [ %84, %77 ] %94 = load i32, ptr @DSL_PROP_GET_SNAPSHOT, align 4, !tbaa !5 %95 = and i32 %94, %3 %96 = icmp eq i32 %95, 0 %97 = icmp eq i64 %80, %93 %98 = select i1 %96, i1 true, i1 %97 br i1 %98, label %104, label %99 99: ; preds = %92 %100 = load i32, ptr @ZFS_TYPE_SNAPSHOT, align 4, !tbaa !5 %101 = load i32, ptr @B_FALSE, align 4, !tbaa !5 %102 = call i32 @zfs_prop_valid_for_type(i64 noundef %80, i32 noundef %100, i32 noundef %101) #4 %103 = icmp eq i32 %102, 0 br i1 %103, label %160, label %104 104: ; preds = %99, %92 %105 = call i64 @nvlist_exists(ptr noundef %4, ptr noundef %78) #4 %106 = icmp eq i64 %105, 0 br i1 %106, label %107, label %160 107: ; preds = %104 %108 = load i32, ptr @NV_UNIQUE_NAME, align 4, !tbaa !5 %109 = load i32, ptr @KM_SLEEP, align 4, !tbaa !5 %110 = call i64 @nvlist_alloc(ptr noundef nonnull %8, i32 noundef %108, i32 noundef %109) #4 %111 = icmp eq i64 %110, 0 %112 = zext i1 %111 to i32 %113 = call i32 @VERIFY(i32 noundef %112) #4 %114 = load i32, ptr %13, align 8, !tbaa !13 %115 = icmp eq i32 %114, 1 br i1 %115, label %116, label %136 116: ; preds = %107 %117 = load i32, ptr %15, align 8, !tbaa !14 %118 = load i32, ptr @KM_SLEEP, align 4, !tbaa !5 %119 = call ptr @kmem_alloc(i32 noundef %117, i32 noundef %118) #4 %120 = load ptr, ptr %7, align 8, !tbaa !9 %121 = load i32, ptr %15, align 8, !tbaa !14 %122 = call i32 @zap_lookup(ptr noundef %0, i32 noundef %1, ptr noundef %120, i32 noundef 1, i32 noundef %121, ptr noundef %119) #4 %123 = icmp eq i32 %122, 0 br i1 %123, label %124, label %133 124: ; preds = %116 %125 = load ptr, ptr %8, align 8, !tbaa !15 %126 = load i32, ptr @ZPROP_VALUE, align 4, !tbaa !5 %127 = call i64 @nvlist_add_string(ptr noundef %125, i32 noundef %126, ptr noundef %119) #4 %128 = icmp eq i64 %127, 0 %129 = zext i1 %128 to i32 %130 = call i32 @VERIFY(i32 noundef %129) #4 %131 = load i32, ptr %15, align 8, !tbaa !14 %132 = call i32 @kmem_free(ptr noundef %119, i32 noundef %131) #4 br label %144 133: ; preds = %116 %134 = load i32, ptr %15, align 8, !tbaa !14 %135 = call i32 @kmem_free(ptr noundef %119, i32 noundef %134) #4 br label %158 136: ; preds = %107 %137 = icmp eq i32 %114, 8 %138 = zext i1 %137 to i32 %139 = call i32 @ASSERT(i32 noundef %138) #4 %140 = load ptr, ptr %8, align 8, !tbaa !15 %141 = load i32, ptr @ZPROP_VALUE, align 4, !tbaa !5 %142 = load i32, ptr %14, align 4, !tbaa !16 %143 = call i32 @nvlist_add_uint64(ptr noundef %140, i32 noundef %141, i32 noundef %142) #4 br label %144 144: ; preds = %124, %136 %145 = load ptr, ptr %8, align 8, !tbaa !15 %146 = load i32, ptr @ZPROP_SOURCE, align 4, !tbaa !5 %147 = call i64 @nvlist_add_string(ptr noundef %145, i32 noundef %146, ptr noundef %79) #4 %148 = icmp eq i64 %147, 0 %149 = zext i1 %148 to i32 %150 = call i32 @VERIFY(i32 noundef %149) #4 %151 = load ptr, ptr %8, align 8, !tbaa !15 %152 = call i64 @nvlist_add_nvlist(ptr noundef %4, ptr noundef %78, ptr noundef %151) #4 %153 = icmp eq i64 %152, 0 %154 = zext i1 %153 to i32 %155 = call i32 @VERIFY(i32 noundef %154) #4 %156 = load ptr, ptr %8, align 8, !tbaa !15 %157 = call i32 @nvlist_free(ptr noundef %156) #4 br label %160 158: ; preds = %68, %59, %133 %159 = phi i32 [ %122, %133 ], [ %65, %68 ], [ %57, %59 ] call void @llvm.stackrestore.p0(ptr %19) call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4 br label %164 160: ; preds = %144, %24, %30, %38, %56, %62, %34, %87, %99, %104 call void @llvm.stackrestore.p0(ptr %19) call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4 %161 = call i32 @zap_cursor_advance(ptr noundef nonnull %6) #4 %162 = call i32 @zap_cursor_retrieve(ptr noundef nonnull %6, ptr noundef nonnull %7) #4 %163 = icmp eq i32 %162, 0 br i1 %163, label %16, label %164, !llvm.loop !17 164: ; preds = %160, %5, %158 %165 = phi i32 [ %159, %158 ], [ %10, %5 ], [ %162, %160 ] %166 = call i32 @zap_cursor_fini(ptr noundef nonnull %6) #4 %167 = load i32, ptr @ENOENT, align 4, !tbaa !5 %168 = icmp eq i32 %165, %167 %169 = select i1 %168, i32 0, i32 %165 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4 ret i32 %169 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @zap_cursor_init(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @zap_cursor_retrieve(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #3 declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2 declare i64 @strcmp(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @zap_contains(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @kmem_asprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kmem_strfree(ptr noundef) local_unnamed_addr #2 declare i64 @zfs_name_to_prop(ptr noundef) local_unnamed_addr #2 declare i32 @zfs_prop_inheritable(i64 noundef) local_unnamed_addr #2 declare i32 @zfs_prop_valid_for_type(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @nvlist_exists(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @VERIFY(i32 noundef) local_unnamed_addr #2 declare i64 @nvlist_alloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @kmem_alloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @zap_lookup(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @kmem_free(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @nvlist_add_string(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 declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2 declare i32 @nvlist_add_uint64(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @nvlist_add_nvlist(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @nvlist_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #3 declare i32 @zap_cursor_advance(ptr noundef) local_unnamed_addr #2 declare i32 @zap_cursor_fini(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn } 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, !11, i64 0} !10 = !{!"TYPE_3__", !11, i64 0, !6, i64 8, !6, i64 12, !6, i64 16} !11 = !{!"any pointer", !7, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!10, !6, i64 8} !14 = !{!10, !6, i64 16} !15 = !{!11, !11, i64 0} !16 = !{!10, !6, i64 12} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_dsl_prop.c_dsl_prop_get_all_impl.c' source_filename = "AnghaBench/zfs/module/zfs/extr_dsl_prop.c_dsl_prop_get_all_impl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { ptr, i32, i32, i32 } @ZAP_MAXNAMELEN = common local_unnamed_addr global i32 0, align 4 @DSL_PROP_GET_RECEIVED = common local_unnamed_addr global i32 0, align 4 @ZPROP_INHERIT_SUFFIX = common local_unnamed_addr global i32 0, align 4 @ZPROP_RECVD_SUFFIX = common local_unnamed_addr global i32 0, align 4 @DSL_PROP_GET_LOCAL = common local_unnamed_addr global i32 0, align 4 @ENOENT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1 @DSL_PROP_GET_INHERITING = common local_unnamed_addr global i32 0, align 4 @ZPROP_SOURCE_VAL_RECVD = common local_unnamed_addr global ptr null, align 8 @ZPROP_INVAL = common local_unnamed_addr global i64 0, align 8 @DSL_PROP_GET_SNAPSHOT = common local_unnamed_addr global i32 0, align 4 @ZFS_TYPE_SNAPSHOT = common local_unnamed_addr global i32 0, align 4 @B_FALSE = common local_unnamed_addr global i32 0, align 4 @NV_UNIQUE_NAME = common local_unnamed_addr global i32 0, align 4 @KM_SLEEP = common local_unnamed_addr global i32 0, align 4 @ZPROP_VALUE = common local_unnamed_addr global i32 0, align 4 @ZPROP_SOURCE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dsl_prop_get_all_impl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @dsl_prop_get_all_impl(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca %struct.TYPE_3__, align 8 %8 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #4 %9 = call i32 @zap_cursor_init(ptr noundef nonnull %6, ptr noundef %0, i32 noundef %1) #4 %10 = call i32 @zap_cursor_retrieve(ptr noundef nonnull %6, ptr noundef nonnull %7) #4 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %164 12: ; preds = %5 %13 = getelementptr inbounds i8, ptr %7, i64 8 %14 = getelementptr inbounds i8, ptr %7, i64 12 %15 = getelementptr inbounds i8, ptr %7, i64 16 br label %16 16: ; preds = %12, %160 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4 %17 = load i32, ptr @ZAP_MAXNAMELEN, align 4, !tbaa !6 %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave.p0() %20 = alloca i8, i64 %18, align 1 %21 = load ptr, ptr %7, align 8, !tbaa !10 %22 = call ptr @strchr(ptr noundef %21, i8 noundef signext 36) #4 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %30 24: ; preds = %16 %25 = load i32, ptr @DSL_PROP_GET_RECEIVED, align 4, !tbaa !6 %26 = and i32 %25, %3 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %160 28: ; preds = %24 %29 = load ptr, ptr %7, align 8, !tbaa !10 br label %77 30: ; preds = %16 %31 = load i32, ptr @ZPROP_INHERIT_SUFFIX, align 4, !tbaa !6 %32 = call i64 @strcmp(ptr noundef nonnull %22, i32 noundef %31) #4 %33 = icmp eq i64 %32, 0 br i1 %33, label %160, label %34 34: ; preds = %30 %35 = load i32, ptr @ZPROP_RECVD_SUFFIX, align 4, !tbaa !6 %36 = call i64 @strcmp(ptr noundef nonnull %22, i32 noundef %35) #4 %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %160 38: ; preds = %34 %39 = load i32, ptr @DSL_PROP_GET_LOCAL, align 4, !tbaa !6 %40 = and i32 %39, %3 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %160 42: ; preds = %38 %43 = load ptr, ptr %7, align 8, !tbaa !10 %44 = ptrtoint ptr %22 to i64 %45 = ptrtoint ptr %43 to i64 %46 = sub i64 %44, %45 %47 = trunc i64 %46 to i32 %48 = call i32 @strncpy(ptr noundef nonnull %20, ptr noundef %43, i32 noundef %47) #4 %49 = load ptr, ptr %7, align 8, !tbaa !10 %50 = ptrtoint ptr %49 to i64 %51 = sub i64 %44, %50 %52 = getelementptr inbounds i8, ptr %20, i64 %51 store i8 0, ptr %52, align 1, !tbaa !13 %53 = load i32, ptr @DSL_PROP_GET_RECEIVED, align 4, !tbaa !6 %54 = and i32 %53, %3 %55 = icmp eq i32 %54, 0 br i1 %55, label %56, label %71 56: ; preds = %42 %57 = call i32 @zap_contains(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %20) #4 %58 = icmp eq i32 %57, 0 br i1 %58, label %160, label %59 59: ; preds = %56 %60 = load i32, ptr @ENOENT, align 4, !tbaa !6 %61 = icmp eq i32 %57, %60 br i1 %61, label %62, label %158 62: ; preds = %59 %63 = load i32, ptr @ZPROP_INHERIT_SUFFIX, align 4, !tbaa !6 %64 = call ptr @kmem_asprintf(ptr noundef nonnull @.str, ptr noundef nonnull %20, i32 noundef %63) #4 %65 = call i32 @zap_contains(ptr noundef %0, i32 noundef %1, ptr noundef %64) #4 %66 = call i32 @kmem_strfree(ptr noundef %64) #4 %67 = icmp eq i32 %65, 0 br i1 %67, label %160, label %68 68: ; preds = %62 %69 = load i32, ptr @ENOENT, align 4, !tbaa !6 %70 = icmp eq i32 %65, %69 br i1 %70, label %71, label %158 71: ; preds = %68, %42 %72 = load i32, ptr @DSL_PROP_GET_INHERITING, align 4, !tbaa !6 %73 = and i32 %72, %3 %74 = icmp eq i32 %73, 0 %75 = load ptr, ptr @ZPROP_SOURCE_VAL_RECVD, align 8 %76 = select i1 %74, ptr %75, ptr %2 br label %77 77: ; preds = %71, %28 %78 = phi ptr [ %29, %28 ], [ %20, %71 ] %79 = phi ptr [ %2, %28 ], [ %76, %71 ] %80 = call i64 @zfs_name_to_prop(ptr noundef %78) #4 %81 = load i32, ptr @DSL_PROP_GET_INHERITING, align 4, !tbaa !6 %82 = and i32 %81, %3 %83 = icmp eq i32 %82, 0 %84 = load i64, ptr @ZPROP_INVAL, align 8 %85 = icmp eq i64 %80, %84 %86 = select i1 %83, i1 true, i1 %85 br i1 %86, label %92, label %87 87: ; preds = %77 %88 = call i32 @zfs_prop_inheritable(i64 noundef %80) #4 %89 = icmp eq i32 %88, 0 br i1 %89, label %160, label %90 90: ; preds = %87 %91 = load i64, ptr @ZPROP_INVAL, align 8 br label %92 92: ; preds = %90, %77 %93 = phi i64 [ %91, %90 ], [ %84, %77 ] %94 = load i32, ptr @DSL_PROP_GET_SNAPSHOT, align 4, !tbaa !6 %95 = and i32 %94, %3 %96 = icmp eq i32 %95, 0 %97 = icmp eq i64 %80, %93 %98 = select i1 %96, i1 true, i1 %97 br i1 %98, label %104, label %99 99: ; preds = %92 %100 = load i32, ptr @ZFS_TYPE_SNAPSHOT, align 4, !tbaa !6 %101 = load i32, ptr @B_FALSE, align 4, !tbaa !6 %102 = call i32 @zfs_prop_valid_for_type(i64 noundef %80, i32 noundef %100, i32 noundef %101) #4 %103 = icmp eq i32 %102, 0 br i1 %103, label %160, label %104 104: ; preds = %99, %92 %105 = call i64 @nvlist_exists(ptr noundef %4, ptr noundef %78) #4 %106 = icmp eq i64 %105, 0 br i1 %106, label %107, label %160 107: ; preds = %104 %108 = load i32, ptr @NV_UNIQUE_NAME, align 4, !tbaa !6 %109 = load i32, ptr @KM_SLEEP, align 4, !tbaa !6 %110 = call i64 @nvlist_alloc(ptr noundef nonnull %8, i32 noundef %108, i32 noundef %109) #4 %111 = icmp eq i64 %110, 0 %112 = zext i1 %111 to i32 %113 = call i32 @VERIFY(i32 noundef %112) #4 %114 = load i32, ptr %13, align 8, !tbaa !14 %115 = icmp eq i32 %114, 1 br i1 %115, label %116, label %136 116: ; preds = %107 %117 = load i32, ptr %15, align 8, !tbaa !15 %118 = load i32, ptr @KM_SLEEP, align 4, !tbaa !6 %119 = call ptr @kmem_alloc(i32 noundef %117, i32 noundef %118) #4 %120 = load ptr, ptr %7, align 8, !tbaa !10 %121 = load i32, ptr %15, align 8, !tbaa !15 %122 = call i32 @zap_lookup(ptr noundef %0, i32 noundef %1, ptr noundef %120, i32 noundef 1, i32 noundef %121, ptr noundef %119) #4 %123 = icmp eq i32 %122, 0 br i1 %123, label %124, label %133 124: ; preds = %116 %125 = load ptr, ptr %8, align 8, !tbaa !16 %126 = load i32, ptr @ZPROP_VALUE, align 4, !tbaa !6 %127 = call i64 @nvlist_add_string(ptr noundef %125, i32 noundef %126, ptr noundef %119) #4 %128 = icmp eq i64 %127, 0 %129 = zext i1 %128 to i32 %130 = call i32 @VERIFY(i32 noundef %129) #4 %131 = load i32, ptr %15, align 8, !tbaa !15 %132 = call i32 @kmem_free(ptr noundef %119, i32 noundef %131) #4 br label %144 133: ; preds = %116 %134 = load i32, ptr %15, align 8, !tbaa !15 %135 = call i32 @kmem_free(ptr noundef %119, i32 noundef %134) #4 br label %158 136: ; preds = %107 %137 = icmp eq i32 %114, 8 %138 = zext i1 %137 to i32 %139 = call i32 @ASSERT(i32 noundef %138) #4 %140 = load ptr, ptr %8, align 8, !tbaa !16 %141 = load i32, ptr @ZPROP_VALUE, align 4, !tbaa !6 %142 = load i32, ptr %14, align 4, !tbaa !17 %143 = call i32 @nvlist_add_uint64(ptr noundef %140, i32 noundef %141, i32 noundef %142) #4 br label %144 144: ; preds = %124, %136 %145 = load ptr, ptr %8, align 8, !tbaa !16 %146 = load i32, ptr @ZPROP_SOURCE, align 4, !tbaa !6 %147 = call i64 @nvlist_add_string(ptr noundef %145, i32 noundef %146, ptr noundef %79) #4 %148 = icmp eq i64 %147, 0 %149 = zext i1 %148 to i32 %150 = call i32 @VERIFY(i32 noundef %149) #4 %151 = load ptr, ptr %8, align 8, !tbaa !16 %152 = call i64 @nvlist_add_nvlist(ptr noundef %4, ptr noundef %78, ptr noundef %151) #4 %153 = icmp eq i64 %152, 0 %154 = zext i1 %153 to i32 %155 = call i32 @VERIFY(i32 noundef %154) #4 %156 = load ptr, ptr %8, align 8, !tbaa !16 %157 = call i32 @nvlist_free(ptr noundef %156) #4 br label %160 158: ; preds = %68, %59, %133 %159 = phi i32 [ %122, %133 ], [ %65, %68 ], [ %57, %59 ] call void @llvm.stackrestore.p0(ptr %19) call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4 br label %164 160: ; preds = %144, %24, %30, %38, %56, %62, %34, %87, %99, %104 call void @llvm.stackrestore.p0(ptr %19) call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4 %161 = call i32 @zap_cursor_advance(ptr noundef nonnull %6) #4 %162 = call i32 @zap_cursor_retrieve(ptr noundef nonnull %6, ptr noundef nonnull %7) #4 %163 = icmp eq i32 %162, 0 br i1 %163, label %16, label %164, !llvm.loop !18 164: ; preds = %160, %5, %158 %165 = phi i32 [ %159, %158 ], [ %10, %5 ], [ %162, %160 ] %166 = call i32 @zap_cursor_fini(ptr noundef nonnull %6) #4 %167 = load i32, ptr @ENOENT, align 4, !tbaa !6 %168 = icmp eq i32 %165, %167 %169 = select i1 %168, i32 0, i32 %165 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4 ret i32 %169 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @zap_cursor_init(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @zap_cursor_retrieve(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #3 declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2 declare i64 @strcmp(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @zap_contains(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @kmem_asprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kmem_strfree(ptr noundef) local_unnamed_addr #2 declare i64 @zfs_name_to_prop(ptr noundef) local_unnamed_addr #2 declare i32 @zfs_prop_inheritable(i64 noundef) local_unnamed_addr #2 declare i32 @zfs_prop_valid_for_type(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @nvlist_exists(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @VERIFY(i32 noundef) local_unnamed_addr #2 declare i64 @nvlist_alloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @kmem_alloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @zap_lookup(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @kmem_free(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @nvlist_add_string(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 declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2 declare i32 @nvlist_add_uint64(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @nvlist_add_nvlist(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @nvlist_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #3 declare i32 @zap_cursor_advance(ptr noundef) local_unnamed_addr #2 declare i32 @zap_cursor_fini(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn } 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, !12, i64 0} !11 = !{!"TYPE_3__", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!11, !7, i64 8} !15 = !{!11, !7, i64 16} !16 = !{!12, !12, i64 0} !17 = !{!11, !7, i64 12} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
zfs_module_zfs_extr_dsl_prop.c_dsl_prop_get_all_impl
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_luajit.c_dostring.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_luajit.c_dostring.c" target datalayout = "e-m:e-p270:32:32-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 @dostring], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @dostring(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @strlen(ptr noundef %1) #2 %5 = tail call i64 @luaL_loadbuffer(ptr noundef %0, ptr noundef %1, i32 noundef %4, ptr noundef %2) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %3 %8 = tail call i64 @docall(ptr noundef %0, i32 noundef 0, i32 noundef 1) #2 %9 = icmp ne i64 %8, 0 %10 = zext i1 %9 to i32 br label %11 11: ; preds = %7, %3 %12 = phi i32 [ 1, %3 ], [ %10, %7 ] %13 = tail call i32 @report(ptr noundef %0, i32 noundef %12) #2 ret i32 %13 } declare i64 @luaL_loadbuffer(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i64 @docall(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @report(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/xLua/build/luajit-2.1.0b2/src/extr_luajit.c_dostring.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_luajit.c_dostring.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 @dostring], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @dostring(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @strlen(ptr noundef %1) #2 %5 = tail call i64 @luaL_loadbuffer(ptr noundef %0, ptr noundef %1, i32 noundef %4, ptr noundef %2) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %3 %8 = tail call i64 @docall(ptr noundef %0, i32 noundef 0, i32 noundef 1) #2 %9 = icmp ne i64 %8, 0 %10 = zext i1 %9 to i32 br label %11 11: ; preds = %7, %3 %12 = phi i32 [ 1, %3 ], [ %10, %7 ] %13 = tail call i32 @report(ptr noundef %0, i32 noundef %12) #2 ret i32 %13 } declare i64 @luaL_loadbuffer(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i64 @docall(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @report(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)"}
xLua_build_luajit-2.1.0b2_src_extr_luajit.c_dostring
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/radius/extr_radius_client.c_radius_retry_primary_timer.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/radius/extr_radius_client.c_radius_retry_primary_timer.c" target datalayout = "e-m:e-p270:32:32-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.radius_client_data = type { i64, i64, i32, i32, i32, i32, ptr } %struct.hostapd_radius_servers = type { i64, ptr, ptr, ptr, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @radius_retry_primary_timer], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @radius_retry_primary_timer(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = getelementptr inbounds %struct.radius_client_data, ptr %0, i64 0, i32 6 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i64, ptr %0, align 8, !tbaa !12 %6 = icmp sgt i64 %5, -1 br i1 %6, label %7, label %26 7: ; preds = %2 %8 = getelementptr inbounds %struct.hostapd_radius_servers, ptr %4, i64 0, i32 4 %9 = load ptr, ptr %8, align 8, !tbaa !13 %10 = icmp eq ptr %9, null br i1 %10, label %26, label %11 11: ; preds = %7 %12 = getelementptr inbounds %struct.hostapd_radius_servers, ptr %4, i64 0, i32 3 %13 = load ptr, ptr %12, align 8, !tbaa !15 %14 = icmp eq ptr %13, %9 br i1 %14, label %26, label %15 15: ; preds = %11 store ptr %9, ptr %12, align 8, !tbaa !15 %16 = getelementptr inbounds %struct.radius_client_data, ptr %0, i64 0, i32 5 %17 = load i32, ptr %16, align 4, !tbaa !16 %18 = getelementptr inbounds %struct.radius_client_data, ptr %0, i64 0, i32 4 %19 = load i32, ptr %18, align 8, !tbaa !17 %20 = tail call i64 @radius_change_server(ptr noundef nonnull %0, ptr noundef nonnull %9, ptr noundef %13, i32 noundef %17, i32 noundef %19, i32 noundef 1) #2 %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %15 store ptr %13, ptr %12, align 8, !tbaa !15 %23 = load i32, ptr %16, align 4, !tbaa !16 %24 = load i32, ptr %18, align 8, !tbaa !17 %25 = tail call i64 @radius_change_server(ptr noundef nonnull %0, ptr noundef %13, ptr noundef %13, i32 noundef %23, i32 noundef %24, i32 noundef 1) #2 br label %26 26: ; preds = %15, %22, %11, %7, %2 %27 = getelementptr inbounds %struct.radius_client_data, ptr %0, i64 0, i32 1 %28 = load i64, ptr %27, align 8, !tbaa !18 %29 = icmp sgt i64 %28, -1 br i1 %29, label %30, label %49 30: ; preds = %26 %31 = getelementptr inbounds %struct.hostapd_radius_servers, ptr %4, i64 0, i32 2 %32 = load ptr, ptr %31, align 8, !tbaa !19 %33 = icmp eq ptr %32, null br i1 %33, label %49, label %34 34: ; preds = %30 %35 = getelementptr inbounds %struct.hostapd_radius_servers, ptr %4, i64 0, i32 1 %36 = load ptr, ptr %35, align 8, !tbaa !20 %37 = icmp eq ptr %36, %32 br i1 %37, label %49, label %38 38: ; preds = %34 store ptr %32, ptr %35, align 8, !tbaa !20 %39 = getelementptr inbounds %struct.radius_client_data, ptr %0, i64 0, i32 3 %40 = load i32, ptr %39, align 4, !tbaa !21 %41 = getelementptr inbounds %struct.radius_client_data, ptr %0, i64 0, i32 2 %42 = load i32, ptr %41, align 8, !tbaa !22 %43 = tail call i64 @radius_change_server(ptr noundef nonnull %0, ptr noundef nonnull %32, ptr noundef %36, i32 noundef %40, i32 noundef %42, i32 noundef 0) #2 %44 = icmp slt i64 %43, 0 br i1 %44, label %45, label %49 45: ; preds = %38 store ptr %36, ptr %35, align 8, !tbaa !20 %46 = load i32, ptr %39, align 4, !tbaa !21 %47 = load i32, ptr %41, align 8, !tbaa !22 %48 = tail call i64 @radius_change_server(ptr noundef nonnull %0, ptr noundef %36, ptr noundef %36, i32 noundef %46, i32 noundef %47, i32 noundef 0) #2 br label %49 49: ; preds = %38, %45, %34, %30, %26 %50 = load i64, ptr %4, align 8, !tbaa !23 %51 = icmp eq i64 %50, 0 br i1 %51, label %54, label %52 52: ; preds = %49 %53 = tail call i32 @eloop_register_timeout(i64 noundef %50, i32 noundef 0, ptr noundef nonnull @radius_retry_primary_timer, ptr noundef nonnull %0, ptr noundef null) #2 br label %54 54: ; preds = %52, %49 ret void } declare i64 @radius_change_server(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @eloop_register_timeout(i64 noundef, i32 noundef, 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, !11, i64 32} !6 = !{!"radius_client_data", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !11, i64 32} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!14, !11, i64 32} !14 = !{!"hostapd_radius_servers", !7, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32} !15 = !{!14, !11, i64 24} !16 = !{!6, !10, i64 28} !17 = !{!6, !10, i64 24} !18 = !{!6, !7, i64 8} !19 = !{!14, !11, i64 16} !20 = !{!14, !11, i64 8} !21 = !{!6, !10, i64 20} !22 = !{!6, !10, i64 16} !23 = !{!14, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/radius/extr_radius_client.c_radius_retry_primary_timer.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/radius/extr_radius_client.c_radius_retry_primary_timer.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 @radius_retry_primary_timer], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @radius_retry_primary_timer(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 32 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i64, ptr %0, align 8, !tbaa !13 %6 = icmp sgt i64 %5, -1 br i1 %6, label %7, label %26 7: ; preds = %2 %8 = getelementptr inbounds i8, ptr %4, i64 32 %9 = load ptr, ptr %8, align 8, !tbaa !14 %10 = icmp eq ptr %9, null br i1 %10, label %26, label %11 11: ; preds = %7 %12 = getelementptr inbounds i8, ptr %4, i64 24 %13 = load ptr, ptr %12, align 8, !tbaa !16 %14 = icmp eq ptr %13, %9 br i1 %14, label %26, label %15 15: ; preds = %11 store ptr %9, ptr %12, align 8, !tbaa !16 %16 = getelementptr inbounds i8, ptr %0, i64 28 %17 = load i32, ptr %16, align 4, !tbaa !17 %18 = getelementptr inbounds i8, ptr %0, i64 24 %19 = load i32, ptr %18, align 8, !tbaa !18 %20 = tail call i64 @radius_change_server(ptr noundef nonnull %0, ptr noundef nonnull %9, ptr noundef %13, i32 noundef %17, i32 noundef %19, i32 noundef 1) #2 %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %15 store ptr %13, ptr %12, align 8, !tbaa !16 %23 = load i32, ptr %16, align 4, !tbaa !17 %24 = load i32, ptr %18, align 8, !tbaa !18 %25 = tail call i64 @radius_change_server(ptr noundef nonnull %0, ptr noundef %13, ptr noundef %13, i32 noundef %23, i32 noundef %24, i32 noundef 1) #2 br label %26 26: ; preds = %15, %22, %11, %7, %2 %27 = getelementptr inbounds i8, ptr %0, i64 8 %28 = load i64, ptr %27, align 8, !tbaa !19 %29 = icmp sgt i64 %28, -1 br i1 %29, label %30, label %49 30: ; preds = %26 %31 = getelementptr inbounds i8, ptr %4, i64 16 %32 = load ptr, ptr %31, align 8, !tbaa !20 %33 = icmp eq ptr %32, null br i1 %33, label %49, label %34 34: ; preds = %30 %35 = getelementptr inbounds i8, ptr %4, i64 8 %36 = load ptr, ptr %35, align 8, !tbaa !21 %37 = icmp eq ptr %36, %32 br i1 %37, label %49, label %38 38: ; preds = %34 store ptr %32, ptr %35, align 8, !tbaa !21 %39 = getelementptr inbounds i8, ptr %0, i64 20 %40 = load i32, ptr %39, align 4, !tbaa !22 %41 = getelementptr inbounds i8, ptr %0, i64 16 %42 = load i32, ptr %41, align 8, !tbaa !23 %43 = tail call i64 @radius_change_server(ptr noundef nonnull %0, ptr noundef nonnull %32, ptr noundef %36, i32 noundef %40, i32 noundef %42, i32 noundef 0) #2 %44 = icmp slt i64 %43, 0 br i1 %44, label %45, label %49 45: ; preds = %38 store ptr %36, ptr %35, align 8, !tbaa !21 %46 = load i32, ptr %39, align 4, !tbaa !22 %47 = load i32, ptr %41, align 8, !tbaa !23 %48 = tail call i64 @radius_change_server(ptr noundef nonnull %0, ptr noundef %36, ptr noundef %36, i32 noundef %46, i32 noundef %47, i32 noundef 0) #2 br label %49 49: ; preds = %38, %45, %34, %30, %26 %50 = load i64, ptr %4, align 8, !tbaa !24 %51 = icmp eq i64 %50, 0 br i1 %51, label %54, label %52 52: ; preds = %49 %53 = tail call i32 @eloop_register_timeout(i64 noundef %50, i32 noundef 0, ptr noundef nonnull @radius_retry_primary_timer, ptr noundef nonnull %0, ptr noundef null) #2 br label %54 54: ; preds = %52, %49 ret void } declare i64 @radius_change_server(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @eloop_register_timeout(i64 noundef, i32 noundef, 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, !12, i64 32} !7 = !{!"radius_client_data", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !12, i64 32} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!15, !12, i64 32} !15 = !{!"hostapd_radius_servers", !8, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32} !16 = !{!15, !12, i64 24} !17 = !{!7, !11, i64 28} !18 = !{!7, !11, i64 24} !19 = !{!7, !8, i64 8} !20 = !{!15, !12, i64 16} !21 = !{!15, !12, i64 8} !22 = !{!7, !11, i64 20} !23 = !{!7, !11, i64 16} !24 = !{!15, !8, i64 0}
freebsd_contrib_wpa_src_radius_extr_radius_client.c_radius_retry_primary_timer
; ModuleID = 'AnghaBench/libgit2/src/extr_merge_driver.c_merge_driver_registry_find.c' source_filename = "AnghaBench/libgit2/src/extr_merge_driver.c_merge_driver_registry_find.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32 } @merge_driver_registry = dso_local global %struct.TYPE_2__ zeroinitializer, align 4 @merge_driver_entry_search = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @merge_driver_registry_find], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @merge_driver_registry_find(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @merge_driver_entry_search, align 4, !tbaa !5 %4 = tail call i32 @git_vector_search2(ptr noundef %0, ptr noundef nonnull @merge_driver_registry, i32 noundef %3, ptr noundef %1) #2 ret i32 %4 } declare i32 @git_vector_search2(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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/libgit2/src/extr_merge_driver.c_merge_driver_registry_find.c' source_filename = "AnghaBench/libgit2/src/extr_merge_driver.c_merge_driver_registry_find.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32 } @merge_driver_registry = common global %struct.TYPE_2__ zeroinitializer, align 4 @merge_driver_entry_search = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @merge_driver_registry_find], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @merge_driver_registry_find(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @merge_driver_entry_search, align 4, !tbaa !6 %4 = tail call i32 @git_vector_search2(ptr noundef %0, ptr noundef nonnull @merge_driver_registry, i32 noundef %3, ptr noundef %1) #2 ret i32 %4 } declare i32 @git_vector_search2(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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
libgit2_src_extr_merge_driver.c_merge_driver_registry_find
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/arm64/extr_tags_test.c_main.c' source_filename = "AnghaBench/linux/tools/testing/selftests/arm64/extr_tags_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" @main.tbi_enabled = internal unnamed_addr global i1 false, align 4 @PR_SET_TAGGED_ADDR_CTRL = dso_local local_unnamed_addr global i32 0, align 4 @PR_TAGGED_ADDR_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @main() local_unnamed_addr #0 { %1 = load i32, ptr @PR_SET_TAGGED_ADDR_CTRL, align 4, !tbaa !5 %2 = load i32, ptr @PR_TAGGED_ADDR_ENABLE, align 4, !tbaa !5 %3 = tail call i64 @prctl(i32 noundef %1, i32 noundef %2, i32 noundef 0, i32 noundef 0, i32 noundef 0) #3 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %6 5: ; preds = %0 store i1 true, ptr @main.tbi_enabled, align 4 br label %6 6: ; preds = %5, %0 %7 = tail call i64 @malloc(i32 noundef 4) #3 %8 = load i1, ptr @main.tbi_enabled, align 4 %9 = select i1 %8, i64 66, i64 0 %10 = inttoptr i64 %7 to ptr %11 = tail call i64 @SET_TAG(ptr noundef %10, i64 noundef %9) #3 %12 = inttoptr i64 %11 to ptr %13 = tail call i32 @uname(ptr noundef %12) %14 = tail call i32 @free(ptr noundef %12) #3 ret i32 %13 } declare i64 @prctl(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @malloc(i32 noundef) local_unnamed_addr #1 declare i64 @SET_TAG(ptr noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @uname(ptr nocapture noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/arm64/extr_tags_test.c_main.c' source_filename = "AnghaBench/linux/tools/testing/selftests/arm64/extr_tags_test.c_main.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @main.tbi_enabled = internal unnamed_addr global i1 false, align 4 @PR_SET_TAGGED_ADDR_CTRL = common local_unnamed_addr global i32 0, align 4 @PR_TAGGED_ADDR_ENABLE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @main() local_unnamed_addr #0 { %1 = load i32, ptr @PR_SET_TAGGED_ADDR_CTRL, align 4, !tbaa !6 %2 = load i32, ptr @PR_TAGGED_ADDR_ENABLE, align 4, !tbaa !6 %3 = tail call i64 @prctl(i32 noundef %1, i32 noundef %2, i32 noundef 0, i32 noundef 0, i32 noundef 0) #3 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %6 5: ; preds = %0 store i1 true, ptr @main.tbi_enabled, align 4 br label %6 6: ; preds = %5, %0 %7 = tail call i64 @malloc(i32 noundef 4) #3 %8 = load i1, ptr @main.tbi_enabled, align 4 %9 = select i1 %8, i64 66, i64 0 %10 = inttoptr i64 %7 to ptr %11 = tail call i64 @SET_TAG(ptr noundef %10, i64 noundef %9) #3 %12 = inttoptr i64 %11 to ptr %13 = tail call i32 @uname(ptr noundef %12) %14 = tail call i32 @free(ptr noundef %12) #3 ret i32 %13 } declare i64 @prctl(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @malloc(i32 noundef) local_unnamed_addr #1 declare i64 @SET_TAG(ptr noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @uname(ptr nocapture noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_tools_testing_selftests_arm64_extr_tags_test.c_main
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/freescale/extr_fec_main.c_fec_enet_start_xmit.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/freescale/extr_fec_main.c_fec_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 @fec_enet_start_xmit], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @fec_enet_start_xmit(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %1) #2 %4 = tail call zeroext i16 @skb_get_queue_mapping(ptr noundef %0) #2 %5 = load ptr, ptr %3, align 8, !tbaa !5 %6 = zext i16 %4 to i64 %7 = getelementptr inbounds ptr, ptr %5, i64 %6 %8 = load ptr, ptr %7, align 8, !tbaa !10 %9 = tail call ptr @netdev_get_tx_queue(ptr noundef %1, i16 noundef zeroext %4) #2 %10 = tail call i64 @skb_is_gso(ptr noundef %0) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %2 %13 = tail call i32 @fec_enet_txq_submit_tso(ptr noundef %8, ptr noundef %0, ptr noundef %1) #2 br label %16 14: ; preds = %2 %15 = tail call i32 @fec_enet_txq_submit_skb(ptr noundef %8, ptr noundef %0, ptr noundef %1) #2 br label %16 16: ; preds = %14, %12 %17 = phi i32 [ %13, %12 ], [ %15, %14 ] %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %27 19: ; preds = %16 %20 = tail call i32 @fec_enet_get_free_txdesc_num(ptr noundef %8) #2 %21 = load i32, ptr %8, align 4, !tbaa !11 %22 = icmp sgt i32 %20, %21 br i1 %22, label %25, label %23 23: ; preds = %19 %24 = tail call i32 @netif_tx_stop_queue(ptr noundef %9) #2 br label %25 25: ; preds = %23, %19 %26 = load i32, ptr @NETDEV_TX_OK, align 4, !tbaa !14 br label %27 27: ; preds = %16, %25 %28 = phi i32 [ %26, %25 ], [ %17, %16 ] ret i32 %28 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare zeroext i16 @skb_get_queue_mapping(ptr noundef) local_unnamed_addr #1 declare ptr @netdev_get_tx_queue(ptr noundef, i16 noundef zeroext) local_unnamed_addr #1 declare i64 @skb_is_gso(ptr noundef) local_unnamed_addr #1 declare i32 @fec_enet_txq_submit_tso(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @fec_enet_txq_submit_skb(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @fec_enet_get_free_txdesc_num(ptr noundef) local_unnamed_addr #1 declare i32 @netif_tx_stop_queue(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 = !{!"fec_enet_private", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"fec_enet_priv_tx_q", !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!13, !13, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/freescale/extr_fec_main.c_fec_enet_start_xmit.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/freescale/extr_fec_main.c_fec_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 @fec_enet_start_xmit], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @fec_enet_start_xmit(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %1) #2 %4 = tail call zeroext i16 @skb_get_queue_mapping(ptr noundef %0) #2 %5 = load ptr, ptr %3, align 8, !tbaa !6 %6 = zext i16 %4 to i64 %7 = getelementptr inbounds ptr, ptr %5, i64 %6 %8 = load ptr, ptr %7, align 8, !tbaa !11 %9 = tail call ptr @netdev_get_tx_queue(ptr noundef %1, i16 noundef zeroext %4) #2 %10 = tail call i64 @skb_is_gso(ptr noundef %0) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %2 %13 = tail call i32 @fec_enet_txq_submit_tso(ptr noundef %8, ptr noundef %0, ptr noundef %1) #2 br label %16 14: ; preds = %2 %15 = tail call i32 @fec_enet_txq_submit_skb(ptr noundef %8, ptr noundef %0, ptr noundef %1) #2 br label %16 16: ; preds = %14, %12 %17 = phi i32 [ %13, %12 ], [ %15, %14 ] %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %27 19: ; preds = %16 %20 = tail call i32 @fec_enet_get_free_txdesc_num(ptr noundef %8) #2 %21 = load i32, ptr %8, align 4, !tbaa !12 %22 = icmp sgt i32 %20, %21 br i1 %22, label %25, label %23 23: ; preds = %19 %24 = tail call i32 @netif_tx_stop_queue(ptr noundef %9) #2 br label %25 25: ; preds = %23, %19 %26 = load i32, ptr @NETDEV_TX_OK, align 4, !tbaa !15 br label %27 27: ; preds = %16, %25 %28 = phi i32 [ %26, %25 ], [ %17, %16 ] ret i32 %28 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare zeroext i16 @skb_get_queue_mapping(ptr noundef) local_unnamed_addr #1 declare ptr @netdev_get_tx_queue(ptr noundef, i16 noundef zeroext) local_unnamed_addr #1 declare i64 @skb_is_gso(ptr noundef) local_unnamed_addr #1 declare i32 @fec_enet_txq_submit_tso(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @fec_enet_txq_submit_skb(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @fec_enet_get_free_txdesc_num(ptr noundef) local_unnamed_addr #1 declare i32 @netif_tx_stop_queue(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 = !{!"fec_enet_private", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"fec_enet_priv_tx_q", !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!14, !14, i64 0}
linux_drivers_net_ethernet_freescale_extr_fec_main.c_fec_enet_start_xmit
; ModuleID = 'AnghaBench/systemd/src/shared/extr_fdset.c_fdset_new_listen_fds.c' source_filename = "AnghaBench/systemd/src/shared/extr_fdset.c_fdset_new_listen_fds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @SD_LISTEN_FDS_START = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @fdset_new_listen_fds(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @assert(ptr noundef %0) #2 %4 = tail call ptr (...) @fdset_new() #2 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %8 = sub nsw i32 0, %7 br label %27 9: ; preds = %2 %10 = tail call i32 @sd_listen_fds(i32 noundef %1) #2 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %23 12: ; preds = %9 %13 = load i32, ptr @SD_LISTEN_FDS_START, align 4, !tbaa !5 br label %19 14: ; preds = %19 %15 = add nsw i32 %20, 1 %16 = load i32, ptr @SD_LISTEN_FDS_START, align 4, !tbaa !5 %17 = add nsw i32 %16, %10 %18 = icmp slt i32 %15, %17 br i1 %18, label %19, label %23, !llvm.loop !9 19: ; preds = %12, %14 %20 = phi i32 [ %15, %14 ], [ %13, %12 ] %21 = tail call i32 @fdset_put(ptr noundef nonnull %4, i32 noundef %20) #2 %22 = icmp slt i32 %21, 0 br i1 %22, label %24, label %14 23: ; preds = %14, %9 store ptr %4, ptr %0, align 8, !tbaa !11 br label %27 24: ; preds = %19 %25 = tail call i32 @MAKE_SET(ptr noundef nonnull %4) #2 %26 = tail call i32 @set_free(i32 noundef %25) #2 br label %27 27: ; preds = %6, %24, %23 %28 = phi i32 [ 0, %23 ], [ %21, %24 ], [ %8, %6 ] ret i32 %28 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare ptr @fdset_new(...) local_unnamed_addr #1 declare i32 @sd_listen_fds(i32 noundef) local_unnamed_addr #1 declare i32 @fdset_put(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_free(i32 noundef) local_unnamed_addr #1 declare i32 @MAKE_SET(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 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/systemd/src/shared/extr_fdset.c_fdset_new_listen_fds.c' source_filename = "AnghaBench/systemd/src/shared/extr_fdset.c_fdset_new_listen_fds.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOMEM = common local_unnamed_addr global i32 0, align 4 @SD_LISTEN_FDS_START = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @fdset_new_listen_fds(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @assert(ptr noundef %0) #2 %4 = tail call ptr @fdset_new() #2 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %8 = sub nsw i32 0, %7 br label %27 9: ; preds = %2 %10 = tail call i32 @sd_listen_fds(i32 noundef %1) #2 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %23 12: ; preds = %9 %13 = load i32, ptr @SD_LISTEN_FDS_START, align 4, !tbaa !6 br label %19 14: ; preds = %19 %15 = add nsw i32 %20, 1 %16 = load i32, ptr @SD_LISTEN_FDS_START, align 4, !tbaa !6 %17 = add nsw i32 %16, %10 %18 = icmp slt i32 %15, %17 br i1 %18, label %19, label %23, !llvm.loop !10 19: ; preds = %12, %14 %20 = phi i32 [ %15, %14 ], [ %13, %12 ] %21 = tail call i32 @fdset_put(ptr noundef nonnull %4, i32 noundef %20) #2 %22 = icmp slt i32 %21, 0 br i1 %22, label %24, label %14 23: ; preds = %14, %9 store ptr %4, ptr %0, align 8, !tbaa !12 br label %27 24: ; preds = %19 %25 = tail call i32 @MAKE_SET(ptr noundef nonnull %4) #2 %26 = tail call i32 @set_free(i32 noundef %25) #2 br label %27 27: ; preds = %6, %24, %23 %28 = phi i32 [ 0, %23 ], [ %21, %24 ], [ %8, %6 ] ret i32 %28 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare ptr @fdset_new(...) local_unnamed_addr #1 declare i32 @sd_listen_fds(i32 noundef) local_unnamed_addr #1 declare i32 @fdset_put(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_free(i32 noundef) local_unnamed_addr #1 declare i32 @MAKE_SET(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 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0}
systemd_src_shared_extr_fdset.c_fdset_new_listen_fds
; ModuleID = 'AnghaBench/fastdfs/tracker/extr_fdfs_shared_func.h_fdfs_multi_ips_to_string.c' source_filename = "AnghaBench/fastdfs/tracker/extr_fdfs_shared_func.h_fdfs_multi_ips_to_string.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @fdfs_multi_ips_to_string], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @fdfs_multi_ips_to_string(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @fdfs_multi_ips_to_string_ex(ptr noundef %0, i8 noundef signext 44, ptr noundef %1, i32 noundef %2) #2 ret i32 %4 } declare i32 @fdfs_multi_ips_to_string_ex(ptr noundef, i8 noundef signext, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastdfs/tracker/extr_fdfs_shared_func.h_fdfs_multi_ips_to_string.c' source_filename = "AnghaBench/fastdfs/tracker/extr_fdfs_shared_func.h_fdfs_multi_ips_to_string.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 @fdfs_multi_ips_to_string], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @fdfs_multi_ips_to_string(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @fdfs_multi_ips_to_string_ex(ptr noundef %0, i8 noundef signext 44, ptr noundef %1, i32 noundef %2) #2 ret i32 %4 } declare i32 @fdfs_multi_ips_to_string_ex(ptr noundef, i8 noundef signext, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastdfs_tracker_extr_fdfs_shared_func.h_fdfs_multi_ips_to_string
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/rt2x00/extr_rt2400pci.c_rt2400pci_conf_tx.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/rt2x00/extr_rt2400pci.c_rt2400pci_conf_tx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rt2400pci_conf_tx], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rt2400pci_conf_tx(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = icmp eq i64 %2, 0 br i1 %6, label %10, label %7 7: ; preds = %4 %8 = load i32, ptr @EINVAL, align 4, !tbaa !10 %9 = sub nsw i32 0, %8 br label %22 10: ; preds = %4 %11 = tail call i64 @rt2x00mac_conf_tx(ptr noundef nonnull %0, ptr noundef %1, i64 noundef 0, ptr noundef %3) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %10 %14 = load i32, ptr @EINVAL, align 4, !tbaa !10 %15 = sub nsw i32 0, %14 br label %22 16: ; preds = %10 %17 = load ptr, ptr %5, align 8, !tbaa !12 %18 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i64 0, i32 1 %19 = load i32, ptr %18, align 4, !tbaa !14 %20 = load i32, ptr %17, align 4, !tbaa !16 %21 = tail call i32 @rt2400pci_config_cw(ptr noundef nonnull %5, i32 noundef %19, i32 noundef %20) #2 br label %22 22: ; preds = %16, %13, %7 %23 = phi i32 [ %9, %7 ], [ %15, %13 ], [ 0, %16 ] ret i32 %23 } declare i64 @rt2x00mac_conf_tx(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rt2400pci_config_cw(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ieee80211_hw", !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 = !{!"rt2x00_dev", !7, i64 0} !14 = !{!15, !11, i64 4} !15 = !{!"TYPE_2__", !11, i64 0, !11, i64 4} !16 = !{!15, !11, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/rt2x00/extr_rt2400pci.c_rt2400pci_conf_tx.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/rt2x00/extr_rt2400pci.c_rt2400pci_conf_tx.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 @rt2400pci_conf_tx], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @rt2400pci_conf_tx(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = icmp eq i64 %2, 0 br i1 %6, label %10, label %7 7: ; preds = %4 %8 = load i32, ptr @EINVAL, align 4, !tbaa !11 %9 = sub nsw i32 0, %8 br label %22 10: ; preds = %4 %11 = tail call i64 @rt2x00mac_conf_tx(ptr noundef nonnull %0, ptr noundef %1, i64 noundef 0, ptr noundef %3) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %10 %14 = load i32, ptr @EINVAL, align 4, !tbaa !11 %15 = sub nsw i32 0, %14 br label %22 16: ; preds = %10 %17 = load ptr, ptr %5, align 8, !tbaa !13 %18 = getelementptr inbounds i8, ptr %17, i64 4 %19 = load i32, ptr %18, align 4, !tbaa !15 %20 = load i32, ptr %17, align 4, !tbaa !17 %21 = tail call i32 @rt2400pci_config_cw(ptr noundef nonnull %5, i32 noundef %19, i32 noundef %20) #2 br label %22 22: ; preds = %16, %13, %7 %23 = phi i32 [ %9, %7 ], [ %15, %13 ], [ 0, %16 ] ret i32 %23 } declare i64 @rt2x00mac_conf_tx(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rt2400pci_config_cw(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ieee80211_hw", !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 = !{!"rt2x00_dev", !8, i64 0} !15 = !{!16, !12, i64 4} !16 = !{!"TYPE_2__", !12, i64 0, !12, i64 4} !17 = !{!16, !12, i64 0}
fastsocket_kernel_drivers_net_wireless_rt2x00_extr_rt2400pci.c_rt2400pci_conf_tx
; ModuleID = 'AnghaBench/linux/drivers/iio/light/extr_vl6180.c_vl6180_write_raw.c' source_filename = "AnghaBench/linux/drivers/iio/light/extr_vl6180.c_vl6180_write_raw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IIO_LIGHT = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vl6180_write_raw], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vl6180_write_raw(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, i64 noundef %4) #0 { %6 = tail call ptr @iio_priv(ptr noundef %0) #2 switch i64 %4, label %18 [ i64 128, label %7 i64 129, label %9 ] 7: ; preds = %5 %8 = tail call i32 @vl6180_set_it(ptr noundef %6, i32 noundef %2, i32 noundef %3) #2 br label %21 9: ; preds = %5 %10 = load i32, ptr %1, align 4, !tbaa !5 %11 = load i32, ptr @IIO_LIGHT, align 4, !tbaa !10 %12 = icmp eq i32 %10, %11 br i1 %12, label %16, label %13 13: ; preds = %9 %14 = load i32, ptr @EINVAL, align 4, !tbaa !10 %15 = sub nsw i32 0, %14 br label %21 16: ; preds = %9 %17 = tail call i32 @vl6180_set_als_gain(ptr noundef %6, i32 noundef %2, i32 noundef %3) #2 br label %21 18: ; preds = %5 %19 = load i32, ptr @EINVAL, align 4, !tbaa !10 %20 = sub nsw i32 0, %19 br label %21 21: ; preds = %18, %16, %13, %7 %22 = phi i32 [ %20, %18 ], [ %15, %13 ], [ %17, %16 ], [ %8, %7 ] ret i32 %22 } declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare i32 @vl6180_set_it(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vl6180_set_als_gain(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"iio_chan_spec", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/iio/light/extr_vl6180.c_vl6180_write_raw.c' source_filename = "AnghaBench/linux/drivers/iio/light/extr_vl6180.c_vl6180_write_raw.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IIO_LIGHT = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vl6180_write_raw], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @vl6180_write_raw(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, i64 noundef %4) #0 { %6 = tail call ptr @iio_priv(ptr noundef %0) #2 switch i64 %4, label %18 [ i64 128, label %7 i64 129, label %9 ] 7: ; preds = %5 %8 = tail call i32 @vl6180_set_it(ptr noundef %6, i32 noundef %2, i32 noundef %3) #2 br label %21 9: ; preds = %5 %10 = load i32, ptr %1, align 4, !tbaa !6 %11 = load i32, ptr @IIO_LIGHT, align 4, !tbaa !11 %12 = icmp eq i32 %10, %11 br i1 %12, label %16, label %13 13: ; preds = %9 %14 = load i32, ptr @EINVAL, align 4, !tbaa !11 %15 = sub nsw i32 0, %14 br label %21 16: ; preds = %9 %17 = tail call i32 @vl6180_set_als_gain(ptr noundef %6, i32 noundef %2, i32 noundef %3) #2 br label %21 18: ; preds = %5 %19 = load i32, ptr @EINVAL, align 4, !tbaa !11 %20 = sub nsw i32 0, %19 br label %21 21: ; preds = %18, %16, %13, %7 %22 = phi i32 [ %20, %18 ], [ %15, %13 ], [ %17, %16 ], [ %8, %7 ] ret i32 %22 } declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare i32 @vl6180_set_it(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vl6180_set_als_gain(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"iio_chan_spec", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_iio_light_extr_vl6180.c_vl6180_write_raw
; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_db8500-prcmu.c_print_unknown_header_warning.c' source_filename = "AnghaBench/linux/drivers/mfd/extr_db8500-prcmu.c_print_unknown_header_warning.c" target datalayout = "e-m:e-p270:32:32-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 [50 x i8] c"prcmu: Unknown message header (%d) in mailbox %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @print_unknown_header_warning], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @print_unknown_header_warning(i32 noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @pr_warn(ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %0) #2 ret void } declare i32 @pr_warn(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/mfd/extr_db8500-prcmu.c_print_unknown_header_warning.c' source_filename = "AnghaBench/linux/drivers/mfd/extr_db8500-prcmu.c_print_unknown_header_warning.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 [50 x i8] c"prcmu: Unknown message header (%d) in mailbox %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @print_unknown_header_warning], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @print_unknown_header_warning(i32 noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @pr_warn(ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %0) #2 ret void } declare i32 @pr_warn(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_mfd_extr_db8500-prcmu.c_print_unknown_header_warning
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp4/extr_mdp4.xml.h_REG_MDP4_DMA_CONFIG.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp4/extr_mdp4.xml.h_REG_MDP4_DMA_CONFIG.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @REG_MDP4_DMA_CONFIG], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i64 @REG_MDP4_DMA_CONFIG(i32 noundef %0) #0 { %2 = tail call i64 @__offset_DMA(i32 noundef %0) #2 ret i64 %2 } declare i64 @__offset_DMA(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/gpu/drm/msm/disp/mdp4/extr_mdp4.xml.h_REG_MDP4_DMA_CONFIG.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp4/extr_mdp4.xml.h_REG_MDP4_DMA_CONFIG.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @REG_MDP4_DMA_CONFIG], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i64 @REG_MDP4_DMA_CONFIG(i32 noundef %0) #0 { %2 = tail call i64 @__offset_DMA(i32 noundef %0) #2 ret i64 %2 } declare i64 @__offset_DMA(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_gpu_drm_msm_disp_mdp4_extr_mdp4.xml.h_REG_MDP4_DMA_CONFIG
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_gp8psk-fe.c_gp8psk_fe_read_ber.c' source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_gp8psk-fe.c_gp8psk_fe_read_ber.c" target datalayout = "e-m:e-p270:32:32-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 @gp8psk_fe_read_ber], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define internal noundef i32 @gp8psk_fe_read_ber(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 { store i64 0, ptr %1, align 8, !tbaa !5 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_gp8psk-fe.c_gp8psk_fe_read_ber.c' source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_gp8psk-fe.c_gp8psk_fe_read_ber.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 @gp8psk_fe_read_ber], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define internal noundef i32 @gp8psk_fe_read_ber(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 { store i64 0, ptr %1, align 8, !tbaa !6 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_media_dvb-frontends_extr_gp8psk-fe.c_gp8psk_fe_read_ber
; ModuleID = 'AnghaBench/lab/q3map2/q3map2/extr_bspfile_abstract.c_WriteBSPFile.c' source_filename = "AnghaBench/lab/q3map2/q3map2/extr_bspfile_abstract.c_WriteBSPFile.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @game = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [42 x i8] c"WriteBSPFile: unsupported BSP file format\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%s.%08X\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @WriteBSPFile(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca [1024 x i8], align 16 %3 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %2) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 %4 = load ptr, ptr @game, align 8, !tbaa !5 %5 = icmp eq ptr %4, null br i1 %5, label %9, label %6 6: ; preds = %1 %7 = load ptr, ptr %4, align 8, !tbaa !9 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %6, %1 %10 = tail call i32 @Error(ptr noundef nonnull @.str) #4 br label %11 11: ; preds = %9, %6 %12 = call i32 @time(ptr noundef nonnull %3) #4 %13 = load i64, ptr %3, align 8, !tbaa !11 %14 = trunc i64 %13 to i32 %15 = call i32 @sprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.1, ptr noundef %0, i32 noundef %14) #4 %16 = call i32 (...) @SwapBSPFile() #4 %17 = load ptr, ptr @game, align 8, !tbaa !5 %18 = load ptr, ptr %17, align 8, !tbaa !9 %19 = call i32 %18(ptr noundef nonnull %2) #4 %20 = call i32 (...) @SwapBSPFile() #4 %21 = call i32 @remove(ptr noundef %0) %22 = call i32 @rename(ptr noundef nonnull %2, ptr noundef %0) call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %2) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @Error(ptr noundef) local_unnamed_addr #2 declare i32 @time(ptr noundef) local_unnamed_addr #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @SwapBSPFile(...) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @remove(ptr nocapture noundef readonly) local_unnamed_addr #3 ; Function Attrs: nofree nounwind declare noundef i32 @rename(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_2__", !6, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/lab/q3map2/q3map2/extr_bspfile_abstract.c_WriteBSPFile.c' source_filename = "AnghaBench/lab/q3map2/q3map2/extr_bspfile_abstract.c_WriteBSPFile.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @game = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [42 x i8] c"WriteBSPFile: unsupported BSP file format\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%s.%08X\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @WriteBSPFile(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca [1024 x i8], align 1 %3 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %2) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 %4 = load ptr, ptr @game, align 8, !tbaa !6 %5 = icmp eq ptr %4, null br i1 %5, label %9, label %6 6: ; preds = %1 %7 = load ptr, ptr %4, align 8, !tbaa !10 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %6, %1 %10 = tail call i32 @Error(ptr noundef nonnull @.str) #4 br label %11 11: ; preds = %9, %6 %12 = call i32 @time(ptr noundef nonnull %3) #4 %13 = load i64, ptr %3, align 8, !tbaa !12 %14 = trunc i64 %13 to i32 %15 = call i32 @sprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.1, ptr noundef %0, i32 noundef %14) #4 %16 = call i32 @SwapBSPFile() #4 %17 = load ptr, ptr @game, align 8, !tbaa !6 %18 = load ptr, ptr %17, align 8, !tbaa !10 %19 = call i32 %18(ptr noundef nonnull %2) #4 %20 = call i32 @SwapBSPFile() #4 %21 = call i32 @remove(ptr noundef %0) %22 = call i32 @rename(ptr noundef nonnull %2, ptr noundef %0) call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %2) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @Error(ptr noundef) local_unnamed_addr #2 declare i32 @time(ptr noundef) local_unnamed_addr #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @SwapBSPFile(...) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @remove(ptr nocapture noundef readonly) local_unnamed_addr #3 ; Function Attrs: nofree nounwind declare noundef i32 @rename(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0}
lab_q3map2_q3map2_extr_bspfile_abstract.c_WriteBSPFile
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bfa_ioc.c_bfa_ioc_sm_disabled.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bfa_ioc.c_bfa_ioc_sm_disabled.c" target datalayout = "e-m:e-p270:32:32-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.bfa_ioc = type { i32, ptr } @bfa_ioc_sm_enabling = dso_local local_unnamed_addr global i32 0, align 4 @bfa_ioc_sm_uninit = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bfa_ioc_sm_disabled], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bfa_ioc_sm_disabled(ptr noundef %0, i32 noundef %1) #0 { switch i32 %1, label %16 [ i32 128, label %3 i32 129, label %6 i32 130, label %12 ] 3: ; preds = %2 %4 = load i32, ptr @bfa_ioc_sm_enabling, align 4, !tbaa !5 %5 = tail call i32 @bfa_fsm_set_state(ptr noundef %0, i32 noundef %4) #2 br label %18 6: ; preds = %2 %7 = getelementptr inbounds %struct.bfa_ioc, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !9 %9 = load ptr, ptr %8, align 8, !tbaa !12 %10 = load i32, ptr %0, align 8, !tbaa !14 %11 = tail call i32 %9(i32 noundef %10) #2 br label %18 12: ; preds = %2 %13 = load i32, ptr @bfa_ioc_sm_uninit, align 4, !tbaa !5 %14 = tail call i32 @bfa_fsm_set_state(ptr noundef %0, i32 noundef %13) #2 %15 = tail call i32 @bfa_iocpf_stop(ptr noundef %0) #2 br label %18 16: ; preds = %2 %17 = tail call i32 @bfa_sm_fault(i32 noundef %1) #2 br label %18 18: ; preds = %16, %12, %6, %3 ret void } declare i32 @bfa_fsm_set_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bfa_iocpf_stop(ptr noundef) local_unnamed_addr #1 declare i32 @bfa_sm_fault(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"bfa_ioc", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_2__", !11, i64 0} !14 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bfa_ioc.c_bfa_ioc_sm_disabled.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bfa_ioc.c_bfa_ioc_sm_disabled.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @bfa_ioc_sm_enabling = common local_unnamed_addr global i32 0, align 4 @bfa_ioc_sm_uninit = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bfa_ioc_sm_disabled], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bfa_ioc_sm_disabled(ptr noundef %0, i32 noundef %1) #0 { switch i32 %1, label %16 [ i32 128, label %3 i32 129, label %6 i32 130, label %12 ] 3: ; preds = %2 %4 = load i32, ptr @bfa_ioc_sm_enabling, align 4, !tbaa !6 %5 = tail call i32 @bfa_fsm_set_state(ptr noundef %0, i32 noundef %4) #2 br label %18 6: ; preds = %2 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !10 %9 = load ptr, ptr %8, align 8, !tbaa !13 %10 = load i32, ptr %0, align 8, !tbaa !15 %11 = tail call i32 %9(i32 noundef %10) #2 br label %18 12: ; preds = %2 %13 = load i32, ptr @bfa_ioc_sm_uninit, align 4, !tbaa !6 %14 = tail call i32 @bfa_fsm_set_state(ptr noundef %0, i32 noundef %13) #2 %15 = tail call i32 @bfa_iocpf_stop(ptr noundef %0) #2 br label %18 16: ; preds = %2 %17 = tail call i32 @bfa_sm_fault(i32 noundef %1) #2 br label %18 18: ; preds = %16, %12, %6, %3 ret void } declare i32 @bfa_fsm_set_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bfa_iocpf_stop(ptr noundef) local_unnamed_addr #1 declare i32 @bfa_sm_fault(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"bfa_ioc", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_2__", !12, i64 0} !15 = !{!11, !7, i64 0}
fastsocket_kernel_drivers_net_bna_extr_bfa_ioc.c_bfa_ioc_sm_disabled
; ModuleID = 'AnghaBench/linux/fs/fuse/extr_file.c_fuse_vma_close.c' source_filename = "AnghaBench/linux/fs/fuse/extr_file.c_fuse_vma_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @fuse_vma_close], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @fuse_vma_close(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr %2, align 4, !tbaa !10 %4 = tail call i32 @filemap_write_and_wait(i32 noundef %3) #2 ret void } declare i32 @filemap_write_and_wait(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"vm_area_struct", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/fs/fuse/extr_file.c_fuse_vma_close.c' source_filename = "AnghaBench/linux/fs/fuse/extr_file.c_fuse_vma_close.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @fuse_vma_close], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @fuse_vma_close(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr %2, align 4, !tbaa !11 %4 = tail call i32 @filemap_write_and_wait(i32 noundef %3) #2 ret void } declare i32 @filemap_write_and_wait(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"vm_area_struct", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"int", !9, i64 0}
linux_fs_fuse_extr_file.c_fuse_vma_close
; ModuleID = 'AnghaBench/freebsd/sys/netinet6/extr_ip6_mroute.c_get_mif6_cnt.c' source_filename = "AnghaBench/freebsd/sys/netinet6/extr_ip6_mroute.c_get_mif6_cnt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i32, i32, i32 } %struct.sioc_mif_req6 = type { i64, i32, i32, i32, i32 } @nummifs = dso_local local_unnamed_addr global i64 0, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @mif6table = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_mif6_cnt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @get_mif6_cnt(ptr nocapture noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = tail call i32 (...) @MIF6_LOCK() #2 %4 = load i64, ptr @nummifs, align 8, !tbaa !11 %5 = icmp ult i64 %2, %4 br i1 %5, label %8, label %6 6: ; preds = %1 %7 = load i32, ptr @EINVAL, align 4, !tbaa !12 br label %13 8: ; preds = %1 %9 = load ptr, ptr @mif6table, align 8, !tbaa !13 %10 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %2 %11 = getelementptr inbounds %struct.sioc_mif_req6, ptr %0, i64 0, i32 1 %12 = load <4 x i32>, ptr %10, align 4, !tbaa !12 store <4 x i32> %12, ptr %11, align 8, !tbaa !12 br label %13 13: ; preds = %8, %6 %14 = phi i32 [ %7, %6 ], [ 0, %8 ] %15 = tail call i32 (...) @MIF6_UNLOCK() #2 ret i32 %14 } declare i32 @MIF6_LOCK(...) local_unnamed_addr #1 declare i32 @MIF6_UNLOCK(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"sioc_mif_req6", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!10, !10, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/netinet6/extr_ip6_mroute.c_get_mif6_cnt.c' source_filename = "AnghaBench/freebsd/sys/netinet6/extr_ip6_mroute.c_get_mif6_cnt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32, i32, i32, i32 } @nummifs = common local_unnamed_addr global i64 0, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 @mif6table = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @get_mif6_cnt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @get_mif6_cnt(ptr nocapture noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = tail call i32 @MIF6_LOCK() #2 %4 = load i64, ptr @nummifs, align 8, !tbaa !12 %5 = icmp ult i64 %2, %4 br i1 %5, label %8, label %6 6: ; preds = %1 %7 = load i32, ptr @EINVAL, align 4, !tbaa !13 br label %13 8: ; preds = %1 %9 = load ptr, ptr @mif6table, align 8, !tbaa !14 %10 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %2 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load <4 x i32>, ptr %10, align 4, !tbaa !13 store <4 x i32> %12, ptr %11, align 8, !tbaa !13 br label %13 13: ; preds = %8, %6 %14 = phi i32 [ %7, %6 ], [ 0, %8 ] %15 = tail call i32 @MIF6_UNLOCK() #2 ret i32 %14 } declare i32 @MIF6_LOCK(...) local_unnamed_addr #1 declare i32 @MIF6_UNLOCK(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"sioc_mif_req6", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !9, i64 0}
freebsd_sys_netinet6_extr_ip6_mroute.c_get_mif6_cnt
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_lm93.c_store_fan_min.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_lm93.c_store_fan_min.c" target datalayout = "e-m:e-p270:32:32-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.lm93_data = type { i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @store_fan_min], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i64 @store_fan_min(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef returned %3) #0 { %5 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = tail call ptr @to_i2c_client(ptr noundef %0) #2 %8 = tail call ptr @i2c_get_clientdata(ptr noundef %7) #2 %9 = tail call i32 @simple_strtoul(ptr noundef %2, ptr noundef null, i32 noundef 10) #2 %10 = tail call i32 @mutex_lock(ptr noundef %8) #2 %11 = tail call i32 @LM93_FAN_TO_REG(i32 noundef %9) #2 %12 = getelementptr inbounds %struct.lm93_data, ptr %8, i64 0, i32 1 %13 = load ptr, ptr %12, align 8, !tbaa !10 %14 = sext i32 %6 to i64 %15 = getelementptr inbounds i32, ptr %13, i64 %14 store i32 %11, ptr %15, align 4, !tbaa !13 %16 = tail call i32 @LM93_REG_FAN_MIN(i32 noundef %6) #2 %17 = load ptr, ptr %12, align 8, !tbaa !10 %18 = getelementptr inbounds i32, ptr %17, i64 %14 %19 = load i32, ptr %18, align 4, !tbaa !13 %20 = tail call i32 @lm93_write_word(ptr noundef %7, i32 noundef %16, i32 noundef %19) #2 %21 = tail call i32 @mutex_unlock(ptr noundef %8) #2 ret i64 %3 } declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1 declare ptr @to_i2c_client(ptr noundef) local_unnamed_addr #1 declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1 declare i32 @simple_strtoul(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @LM93_FAN_TO_REG(i32 noundef) local_unnamed_addr #1 declare i32 @lm93_write_word(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @LM93_REG_FAN_MIN(i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !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 = !{!"lm93_data", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_lm93.c_store_fan_min.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_lm93.c_store_fan_min.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 @store_fan_min], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i64 @store_fan_min(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef returned %3) #0 { %5 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = tail call ptr @to_i2c_client(ptr noundef %0) #2 %8 = tail call ptr @i2c_get_clientdata(ptr noundef %7) #2 %9 = tail call i32 @simple_strtoul(ptr noundef %2, ptr noundef null, i32 noundef 10) #2 %10 = tail call i32 @mutex_lock(ptr noundef %8) #2 %11 = tail call i32 @LM93_FAN_TO_REG(i32 noundef %9) #2 %12 = getelementptr inbounds i8, ptr %8, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !11 %14 = sext i32 %6 to i64 %15 = getelementptr inbounds i32, ptr %13, i64 %14 store i32 %11, ptr %15, align 4, !tbaa !14 %16 = tail call i32 @LM93_REG_FAN_MIN(i32 noundef %6) #2 %17 = load ptr, ptr %12, align 8, !tbaa !11 %18 = getelementptr inbounds i32, ptr %17, i64 %14 %19 = load i32, ptr %18, align 4, !tbaa !14 %20 = tail call i32 @lm93_write_word(ptr noundef %7, i32 noundef %16, i32 noundef %19) #2 %21 = tail call i32 @mutex_unlock(ptr noundef %8) #2 ret i64 %3 } declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1 declare ptr @to_i2c_client(ptr noundef) local_unnamed_addr #1 declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1 declare i32 @simple_strtoul(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @LM93_FAN_TO_REG(i32 noundef) local_unnamed_addr #1 declare i32 @lm93_write_word(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @LM93_REG_FAN_MIN(i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 8} !12 = !{!"lm93_data", !8, i64 0, !13, i64 8} !13 = !{!"any pointer", !9, i64 0} !14 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_hwmon_extr_lm93.c_store_fan_min
; ModuleID = 'AnghaBench/citus/src/backend/distributed/utils/extr_metadata_cache.c_CheckCitusVersion.c' source_filename = "AnghaBench/citus/src/backend/distributed/utils/extr_metadata_cache.c_CheckCitusVersion.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @citusVersionKnownCompatible = dso_local local_unnamed_addr global i32 0, align 4 @EnableVersionChecks = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @CheckCitusVersion(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @citusVersionKnownCompatible, align 4, !tbaa !5 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %17 4: ; preds = %1 %5 = tail call i32 (...) @CitusHasBeenLoaded() #2 %6 = icmp ne i32 %5, 0 %7 = load i32, ptr @EnableVersionChecks, align 4 %8 = icmp ne i32 %7, 0 %9 = select i1 %6, i1 %8, i1 false br i1 %9, label %10, label %17 10: ; preds = %4 %11 = tail call i64 @CheckAvailableVersion(i32 noundef %0) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %17, label %13 13: ; preds = %10 %14 = tail call i64 @CheckInstalledVersion(i32 noundef %0) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %17, label %16 16: ; preds = %13 store i32 1, ptr @citusVersionKnownCompatible, align 4, !tbaa !5 br label %17 17: ; preds = %10, %13, %1, %4, %16 %18 = phi i32 [ 1, %16 ], [ 1, %4 ], [ 1, %1 ], [ 0, %13 ], [ 0, %10 ] ret i32 %18 } declare i32 @CitusHasBeenLoaded(...) local_unnamed_addr #1 declare i64 @CheckAvailableVersion(i32 noundef) local_unnamed_addr #1 declare i64 @CheckInstalledVersion(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/citus/src/backend/distributed/utils/extr_metadata_cache.c_CheckCitusVersion.c' source_filename = "AnghaBench/citus/src/backend/distributed/utils/extr_metadata_cache.c_CheckCitusVersion.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @citusVersionKnownCompatible = common local_unnamed_addr global i32 0, align 4 @EnableVersionChecks = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @CheckCitusVersion(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @citusVersionKnownCompatible, align 4, !tbaa !6 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %17 4: ; preds = %1 %5 = tail call i32 @CitusHasBeenLoaded() #2 %6 = icmp ne i32 %5, 0 %7 = load i32, ptr @EnableVersionChecks, align 4 %8 = icmp ne i32 %7, 0 %9 = select i1 %6, i1 %8, i1 false br i1 %9, label %10, label %17 10: ; preds = %4 %11 = tail call i64 @CheckAvailableVersion(i32 noundef %0) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %17, label %13 13: ; preds = %10 %14 = tail call i64 @CheckInstalledVersion(i32 noundef %0) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %17, label %16 16: ; preds = %13 store i32 1, ptr @citusVersionKnownCompatible, align 4, !tbaa !6 br label %17 17: ; preds = %10, %13, %1, %4, %16 %18 = phi i32 [ 1, %16 ], [ 1, %4 ], [ 1, %1 ], [ 0, %13 ], [ 0, %10 ] ret i32 %18 } declare i32 @CitusHasBeenLoaded(...) local_unnamed_addr #1 declare i64 @CheckAvailableVersion(i32 noundef) local_unnamed_addr #1 declare i64 @CheckInstalledVersion(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"}
citus_src_backend_distributed_utils_extr_metadata_cache.c_CheckCitusVersion
; ModuleID = 'AnghaBench/RetroArch/input/drivers_joypad/extr_xinput_joypad.c_xinput_joypad_poll.c' source_filename = "AnghaBench/RetroArch/input/drivers_joypad/extr_xinput_joypad.c_xinput_joypad_poll.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { ptr } %struct.TYPE_3__ = type { i32, i32 } @g_xinput_states = dso_local local_unnamed_addr global ptr null, align 8 @ERROR_DEVICE_NOT_CONNECTED = dso_local local_unnamed_addr global i64 0, align 8 @dinput_joypad = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @xinput_joypad_poll], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @xinput_joypad_poll() #0 { %1 = load ptr, ptr @g_xinput_states, align 8, !tbaa !5 %2 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1 %3 = tail call i64 @g_XInputGetStateEx(i32 noundef 0, ptr noundef nonnull %2) #2 %4 = load i64, ptr @ERROR_DEVICE_NOT_CONNECTED, align 8, !tbaa !9 %5 = icmp ne i64 %3, %4 %6 = zext i1 %5 to i32 %7 = load ptr, ptr @g_xinput_states, align 8, !tbaa !5 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = icmp eq i32 %8, %6 br i1 %9, label %18, label %10 10: ; preds = %0 br i1 %5, label %11, label %14 11: ; preds = %61, %45, %29, %10 %12 = tail call i32 (...) @xinput_joypad_destroy() #2 %13 = tail call i32 @xinput_joypad_init(ptr noundef null) #2 br label %65 14: ; preds = %10 store i32 %6, ptr %7, align 4, !tbaa !11 %15 = tail call i32 @xinput_joypad_name(i32 noundef 0) #2 %16 = tail call i32 @input_autoconfigure_disconnect(i32 noundef 0, i32 noundef %15) #2 %17 = load ptr, ptr @g_xinput_states, align 8, !tbaa !5 br label %18 18: ; preds = %14, %0 %19 = phi ptr [ %17, %14 ], [ %7, %0 ] %20 = getelementptr inbounds %struct.TYPE_3__, ptr %19, i64 1, i32 1 %21 = tail call i64 @g_XInputGetStateEx(i32 noundef 1, ptr noundef nonnull %20) #2 %22 = load i64, ptr @ERROR_DEVICE_NOT_CONNECTED, align 8, !tbaa !9 %23 = icmp ne i64 %21, %22 %24 = zext i1 %23 to i32 %25 = load ptr, ptr @g_xinput_states, align 8, !tbaa !5 %26 = getelementptr inbounds %struct.TYPE_3__, ptr %25, i64 1 %27 = load i32, ptr %26, align 4, !tbaa !11 %28 = icmp eq i32 %27, %24 br i1 %28, label %34, label %29 29: ; preds = %18 br i1 %23, label %11, label %30 30: ; preds = %29 store i32 %24, ptr %26, align 4, !tbaa !11 %31 = tail call i32 @xinput_joypad_name(i32 noundef 1) #2 %32 = tail call i32 @input_autoconfigure_disconnect(i32 noundef 1, i32 noundef %31) #2 %33 = load ptr, ptr @g_xinput_states, align 8, !tbaa !5 br label %34 34: ; preds = %30, %18 %35 = phi ptr [ %33, %30 ], [ %25, %18 ] %36 = getelementptr inbounds %struct.TYPE_3__, ptr %35, i64 2, i32 1 %37 = tail call i64 @g_XInputGetStateEx(i32 noundef 2, ptr noundef nonnull %36) #2 %38 = load i64, ptr @ERROR_DEVICE_NOT_CONNECTED, align 8, !tbaa !9 %39 = icmp ne i64 %37, %38 %40 = zext i1 %39 to i32 %41 = load ptr, ptr @g_xinput_states, align 8, !tbaa !5 %42 = getelementptr inbounds %struct.TYPE_3__, ptr %41, i64 2 %43 = load i32, ptr %42, align 4, !tbaa !11 %44 = icmp eq i32 %43, %40 br i1 %44, label %50, label %45 45: ; preds = %34 br i1 %39, label %11, label %46 46: ; preds = %45 store i32 %40, ptr %42, align 4, !tbaa !11 %47 = tail call i32 @xinput_joypad_name(i32 noundef 2) #2 %48 = tail call i32 @input_autoconfigure_disconnect(i32 noundef 2, i32 noundef %47) #2 %49 = load ptr, ptr @g_xinput_states, align 8, !tbaa !5 br label %50 50: ; preds = %46, %34 %51 = phi ptr [ %49, %46 ], [ %41, %34 ] %52 = getelementptr inbounds %struct.TYPE_3__, ptr %51, i64 3, i32 1 %53 = tail call i64 @g_XInputGetStateEx(i32 noundef 3, ptr noundef nonnull %52) #2 %54 = load i64, ptr @ERROR_DEVICE_NOT_CONNECTED, align 8, !tbaa !9 %55 = icmp ne i64 %53, %54 %56 = zext i1 %55 to i32 %57 = load ptr, ptr @g_xinput_states, align 8, !tbaa !5 %58 = getelementptr inbounds %struct.TYPE_3__, ptr %57, i64 3 %59 = load i32, ptr %58, align 4, !tbaa !11 %60 = icmp eq i32 %59, %56 br i1 %60, label %65, label %61 61: ; preds = %50 br i1 %55, label %11, label %62 62: ; preds = %61 store i32 %56, ptr %58, align 4, !tbaa !11 %63 = tail call i32 @xinput_joypad_name(i32 noundef 3) #2 %64 = tail call i32 @input_autoconfigure_disconnect(i32 noundef 3, i32 noundef %63) #2 br label %65 65: ; preds = %50, %62, %11 ret void } declare i64 @g_XInputGetStateEx(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @xinput_joypad_destroy(...) local_unnamed_addr #1 declare i32 @xinput_joypad_init(ptr noundef) local_unnamed_addr #1 declare i32 @input_autoconfigure_disconnect(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @xinput_joypad_name(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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, !13, i64 0} !12 = !{!"TYPE_3__", !13, i64 0, !13, i64 4} !13 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/RetroArch/input/drivers_joypad/extr_xinput_joypad.c_xinput_joypad_poll.c' source_filename = "AnghaBench/RetroArch/input/drivers_joypad/extr_xinput_joypad.c_xinput_joypad_poll.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 } @g_xinput_states = common local_unnamed_addr global ptr null, align 8 @ERROR_DEVICE_NOT_CONNECTED = common local_unnamed_addr global i64 0, align 8 @dinput_joypad = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @llvm.used = appending global [1 x ptr] [ptr @xinput_joypad_poll], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @xinput_joypad_poll() #0 { %1 = load ptr, ptr @g_xinput_states, align 8, !tbaa !6 %2 = getelementptr inbounds i8, ptr %1, i64 4 %3 = tail call i64 @g_XInputGetStateEx(i32 noundef 0, ptr noundef nonnull %2) #2 %4 = load i64, ptr @ERROR_DEVICE_NOT_CONNECTED, align 8, !tbaa !10 %5 = icmp ne i64 %3, %4 %6 = zext i1 %5 to i32 %7 = load ptr, ptr @g_xinput_states, align 8, !tbaa !6 %8 = load i32, ptr %7, align 4, !tbaa !12 %9 = icmp eq i32 %8, %6 br i1 %9, label %18, label %10 10: ; preds = %0 br i1 %5, label %11, label %14 11: ; preds = %61, %45, %29, %10 %12 = tail call i32 @xinput_joypad_destroy() #2 %13 = tail call i32 @xinput_joypad_init(ptr noundef null) #2 br label %65 14: ; preds = %10 store i32 %6, ptr %7, align 4, !tbaa !12 %15 = tail call i32 @xinput_joypad_name(i32 noundef 0) #2 %16 = tail call i32 @input_autoconfigure_disconnect(i32 noundef 0, i32 noundef %15) #2 %17 = load ptr, ptr @g_xinput_states, align 8, !tbaa !6 br label %18 18: ; preds = %14, %0 %19 = phi ptr [ %17, %14 ], [ %7, %0 ] %20 = getelementptr inbounds i8, ptr %19, i64 12 %21 = tail call i64 @g_XInputGetStateEx(i32 noundef 1, ptr noundef nonnull %20) #2 %22 = load i64, ptr @ERROR_DEVICE_NOT_CONNECTED, align 8, !tbaa !10 %23 = icmp ne i64 %21, %22 %24 = zext i1 %23 to i32 %25 = load ptr, ptr @g_xinput_states, align 8, !tbaa !6 %26 = getelementptr inbounds i8, ptr %25, i64 8 %27 = load i32, ptr %26, align 4, !tbaa !12 %28 = icmp eq i32 %27, %24 br i1 %28, label %34, label %29 29: ; preds = %18 br i1 %23, label %11, label %30 30: ; preds = %29 store i32 %24, ptr %26, align 4, !tbaa !12 %31 = tail call i32 @xinput_joypad_name(i32 noundef 1) #2 %32 = tail call i32 @input_autoconfigure_disconnect(i32 noundef 1, i32 noundef %31) #2 %33 = load ptr, ptr @g_xinput_states, align 8, !tbaa !6 br label %34 34: ; preds = %30, %18 %35 = phi ptr [ %33, %30 ], [ %25, %18 ] %36 = getelementptr inbounds i8, ptr %35, i64 20 %37 = tail call i64 @g_XInputGetStateEx(i32 noundef 2, ptr noundef nonnull %36) #2 %38 = load i64, ptr @ERROR_DEVICE_NOT_CONNECTED, align 8, !tbaa !10 %39 = icmp ne i64 %37, %38 %40 = zext i1 %39 to i32 %41 = load ptr, ptr @g_xinput_states, align 8, !tbaa !6 %42 = getelementptr inbounds i8, ptr %41, i64 16 %43 = load i32, ptr %42, align 4, !tbaa !12 %44 = icmp eq i32 %43, %40 br i1 %44, label %50, label %45 45: ; preds = %34 br i1 %39, label %11, label %46 46: ; preds = %45 store i32 %40, ptr %42, align 4, !tbaa !12 %47 = tail call i32 @xinput_joypad_name(i32 noundef 2) #2 %48 = tail call i32 @input_autoconfigure_disconnect(i32 noundef 2, i32 noundef %47) #2 %49 = load ptr, ptr @g_xinput_states, align 8, !tbaa !6 br label %50 50: ; preds = %46, %34 %51 = phi ptr [ %49, %46 ], [ %41, %34 ] %52 = getelementptr inbounds i8, ptr %51, i64 28 %53 = tail call i64 @g_XInputGetStateEx(i32 noundef 3, ptr noundef nonnull %52) #2 %54 = load i64, ptr @ERROR_DEVICE_NOT_CONNECTED, align 8, !tbaa !10 %55 = icmp ne i64 %53, %54 %56 = zext i1 %55 to i32 %57 = load ptr, ptr @g_xinput_states, align 8, !tbaa !6 %58 = getelementptr inbounds i8, ptr %57, i64 24 %59 = load i32, ptr %58, align 4, !tbaa !12 %60 = icmp eq i32 %59, %56 br i1 %60, label %65, label %61 61: ; preds = %50 br i1 %55, label %11, label %62 62: ; preds = %61 store i32 %56, ptr %58, align 4, !tbaa !12 %63 = tail call i32 @xinput_joypad_name(i32 noundef 3) #2 %64 = tail call i32 @input_autoconfigure_disconnect(i32 noundef 3, i32 noundef %63) #2 br label %65 65: ; preds = %50, %62, %11 ret void } declare i64 @g_XInputGetStateEx(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @xinput_joypad_destroy(...) local_unnamed_addr #1 declare i32 @xinput_joypad_init(ptr noundef) local_unnamed_addr #1 declare i32 @input_autoconfigure_disconnect(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @xinput_joypad_name(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_3__", !14, i64 0, !14, i64 4} !14 = !{!"int", !8, i64 0}
RetroArch_input_drivers_joypad_extr_xinput_joypad.c_xinput_joypad_poll
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_display.c_amdgpu_display_is_hdtv_mode.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_display.c_amdgpu_display_is_hdtv_mode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.drm_display_mode = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @amdgpu_display_is_hdtv_mode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal noundef i32 @amdgpu_display_is_hdtv_mode(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 switch i32 %2, label %7 [ i32 480, label %3 i32 576, label %8 i32 720, label %8 i32 1080, label %8 ] 3: ; preds = %1 %4 = getelementptr inbounds %struct.drm_display_mode, ptr %0, i64 0, i32 1 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = icmp eq i32 %5, 720 br i1 %6, label %8, label %7 7: ; preds = %1, %3 br label %8 8: ; preds = %1, %1, %1, %3, %7 %9 = phi i32 [ 0, %7 ], [ 1, %3 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ] ret i32 %9 } 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 = !{!"drm_display_mode", !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/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_display.c_amdgpu_display_is_hdtv_mode.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_display.c_amdgpu_display_is_hdtv_mode.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 @amdgpu_display_is_hdtv_mode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal range(i32 0, 2) i32 @amdgpu_display_is_hdtv_mode(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 switch i32 %2, label %7 [ i32 480, label %3 i32 576, label %8 i32 720, label %8 i32 1080, label %8 ] 3: ; preds = %1 %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = icmp eq i32 %5, 720 br i1 %6, label %8, label %7 7: ; preds = %1, %3 br label %8 8: ; preds = %1, %1, %1, %3, %7 %9 = phi i32 [ 0, %7 ], [ 1, %3 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ] ret i32 %9 } 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 = !{!"drm_display_mode", !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_drivers_gpu_drm_amd_amdgpu_extr_amdgpu_display.c_amdgpu_display_is_hdtv_mode
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs.c_obs_init_hotkeys.c' source_filename = "AnghaBench/obs-studio/libobs/extr_obs.c_obs_init_hotkeys.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, %struct.obs_core_hotkeys } %struct.obs_core_hotkeys = type { i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32 } @obs = dso_local local_unnamed_addr global ptr null, align 8 @obs_pthread_once_init_token = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"Mute\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"Unmute\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Push-to-mute\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"Push-to-talk\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"Show '%1'\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"Hide '%1'\00", align 1 @PTHREAD_MUTEX_RECURSIVE = dso_local local_unnamed_addr global i32 0, align 4 @OS_EVENT_TYPE_MANUAL = dso_local local_unnamed_addr global i32 0, align 4 @obs_hotkey_thread = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @obs_init_hotkeys], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal noundef i32 @obs_init_hotkeys() #0 { %1 = alloca i32, align 4 %2 = load ptr, ptr @obs, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 %4 = tail call i32 @assert(i32 noundef 1) #3 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1, i32 12 %6 = load i32, ptr %5, align 8, !tbaa !9 %7 = tail call i32 @da_init(i32 noundef %6) #3 %8 = load ptr, ptr @obs, align 8, !tbaa !5 %9 = load i32, ptr %8, align 8, !tbaa !12 %10 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1, i32 11 store i32 %9, ptr %10, align 4, !tbaa !14 %11 = load i32, ptr @obs_pthread_once_init_token, align 4, !tbaa !15 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1, i32 10 store i32 %11, ptr %12, align 8, !tbaa !16 %13 = tail call ptr @bstrdup(ptr noundef nonnull @.str) #3 %14 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1, i32 9 store ptr %13, ptr %14, align 8, !tbaa !17 %15 = tail call ptr @bstrdup(ptr noundef nonnull @.str.1) #3 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1, i32 8 store ptr %15, ptr %16, align 8, !tbaa !18 %17 = tail call ptr @bstrdup(ptr noundef nonnull @.str.2) #3 %18 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1, i32 7 store ptr %17, ptr %18, align 8, !tbaa !19 %19 = tail call ptr @bstrdup(ptr noundef nonnull @.str.3) #3 %20 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1, i32 6 store ptr %19, ptr %20, align 8, !tbaa !20 %21 = tail call ptr @bstrdup(ptr noundef nonnull @.str.4) #3 %22 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1, i32 5 store ptr %21, ptr %22, align 8, !tbaa !21 %23 = tail call ptr @bstrdup(ptr noundef nonnull @.str.5) #3 %24 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1, i32 4 store ptr %23, ptr %24, align 8, !tbaa !22 %25 = tail call i32 @obs_hotkeys_platform_init(ptr noundef nonnull %3) #3 %26 = icmp eq i32 %25, 0 br i1 %26, label %52, label %27 27: ; preds = %0 %28 = call i64 @pthread_mutexattr_init(ptr noundef nonnull %1) #3 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %52 30: ; preds = %27 %31 = load i32, ptr @PTHREAD_MUTEX_RECURSIVE, align 4, !tbaa !15 %32 = call i64 @pthread_mutexattr_settype(ptr noundef nonnull %1, i32 noundef %31) #3 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %49 34: ; preds = %30 %35 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1, i32 3 %36 = call i64 @pthread_mutex_init(ptr noundef nonnull %35, ptr noundef nonnull %1) #3 %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %49 38: ; preds = %34 %39 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1, i32 2 %40 = load i32, ptr @OS_EVENT_TYPE_MANUAL, align 4, !tbaa !15 %41 = call i64 @os_event_init(ptr noundef nonnull %39, i32 noundef %40) #3 %42 = icmp eq i64 %41, 0 br i1 %42, label %43, label %49 43: ; preds = %38 %44 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1, i32 1 %45 = load i32, ptr @obs_hotkey_thread, align 4, !tbaa !15 %46 = call i64 @pthread_create(ptr noundef nonnull %44, ptr noundef null, i32 noundef %45, ptr noundef null) #3 %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %49 48: ; preds = %43 store i32 1, ptr %3, align 8, !tbaa !23 br label %49 49: ; preds = %43, %38, %34, %30, %48 %50 = phi i32 [ 0, %30 ], [ 0, %34 ], [ 0, %38 ], [ 0, %43 ], [ 1, %48 ] %51 = call i32 @pthread_mutexattr_destroy(ptr noundef nonnull %1) #3 br label %52 52: ; preds = %27, %0, %49 %53 = phi i32 [ %50, %49 ], [ 0, %0 ], [ 0, %27 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret i32 %53 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i32 @da_init(i32 noundef) local_unnamed_addr #2 declare ptr @bstrdup(ptr noundef) local_unnamed_addr #2 declare i32 @obs_hotkeys_platform_init(ptr noundef) local_unnamed_addr #2 declare i64 @pthread_mutexattr_init(ptr noundef) local_unnamed_addr #2 declare i64 @pthread_mutexattr_settype(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @pthread_mutex_init(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @os_event_init(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @pthread_create(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pthread_mutexattr_destroy(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 = { 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 72} !10 = !{!"obs_core_hotkeys", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !11, i64 64, !11, i64 68, !11, i64 72} !11 = !{!"int", !7, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_2__", !11, i64 0, !10, i64 8} !14 = !{!10, !11, i64 68} !15 = !{!11, !11, i64 0} !16 = !{!10, !11, i64 64} !17 = !{!10, !6, i64 56} !18 = !{!10, !6, i64 48} !19 = !{!10, !6, i64 40} !20 = !{!10, !6, i64 32} !21 = !{!10, !6, i64 24} !22 = !{!10, !6, i64 16} !23 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs.c_obs_init_hotkeys.c' source_filename = "AnghaBench/obs-studio/libobs/extr_obs.c_obs_init_hotkeys.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @obs = common local_unnamed_addr global ptr null, align 8 @obs_pthread_once_init_token = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"Mute\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"Unmute\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Push-to-mute\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"Push-to-talk\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"Show '%1'\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"Hide '%1'\00", align 1 @PTHREAD_MUTEX_RECURSIVE = common local_unnamed_addr global i32 0, align 4 @OS_EVENT_TYPE_MANUAL = common local_unnamed_addr global i32 0, align 4 @obs_hotkey_thread = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @obs_init_hotkeys], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @obs_init_hotkeys() #0 { %1 = alloca i32, align 4 %2 = load ptr, ptr @obs, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %2, i64 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 %4 = tail call i32 @assert(i32 noundef 1) #3 %5 = getelementptr inbounds i8, ptr %2, i64 80 %6 = load i32, ptr %5, align 8, !tbaa !10 %7 = tail call i32 @da_init(i32 noundef %6) #3 %8 = load ptr, ptr @obs, align 8, !tbaa !6 %9 = load i32, ptr %8, align 8, !tbaa !13 %10 = getelementptr inbounds i8, ptr %2, i64 76 store i32 %9, ptr %10, align 4, !tbaa !15 %11 = load i32, ptr @obs_pthread_once_init_token, align 4, !tbaa !16 %12 = getelementptr inbounds i8, ptr %2, i64 72 store i32 %11, ptr %12, align 8, !tbaa !17 %13 = tail call ptr @bstrdup(ptr noundef nonnull @.str) #3 %14 = getelementptr inbounds i8, ptr %2, i64 64 store ptr %13, ptr %14, align 8, !tbaa !18 %15 = tail call ptr @bstrdup(ptr noundef nonnull @.str.1) #3 %16 = getelementptr inbounds i8, ptr %2, i64 56 store ptr %15, ptr %16, align 8, !tbaa !19 %17 = tail call ptr @bstrdup(ptr noundef nonnull @.str.2) #3 %18 = getelementptr inbounds i8, ptr %2, i64 48 store ptr %17, ptr %18, align 8, !tbaa !20 %19 = tail call ptr @bstrdup(ptr noundef nonnull @.str.3) #3 %20 = getelementptr inbounds i8, ptr %2, i64 40 store ptr %19, ptr %20, align 8, !tbaa !21 %21 = tail call ptr @bstrdup(ptr noundef nonnull @.str.4) #3 %22 = getelementptr inbounds i8, ptr %2, i64 32 store ptr %21, ptr %22, align 8, !tbaa !22 %23 = tail call ptr @bstrdup(ptr noundef nonnull @.str.5) #3 %24 = getelementptr inbounds i8, ptr %2, i64 24 store ptr %23, ptr %24, align 8, !tbaa !23 %25 = tail call i32 @obs_hotkeys_platform_init(ptr noundef nonnull %3) #3 %26 = icmp eq i32 %25, 0 br i1 %26, label %52, label %27 27: ; preds = %0 %28 = call i64 @pthread_mutexattr_init(ptr noundef nonnull %1) #3 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %52 30: ; preds = %27 %31 = load i32, ptr @PTHREAD_MUTEX_RECURSIVE, align 4, !tbaa !16 %32 = call i64 @pthread_mutexattr_settype(ptr noundef nonnull %1, i32 noundef %31) #3 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %49 34: ; preds = %30 %35 = getelementptr inbounds i8, ptr %2, i64 20 %36 = call i64 @pthread_mutex_init(ptr noundef nonnull %35, ptr noundef nonnull %1) #3 %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %49 38: ; preds = %34 %39 = getelementptr inbounds i8, ptr %2, i64 16 %40 = load i32, ptr @OS_EVENT_TYPE_MANUAL, align 4, !tbaa !16 %41 = call i64 @os_event_init(ptr noundef nonnull %39, i32 noundef %40) #3 %42 = icmp eq i64 %41, 0 br i1 %42, label %43, label %49 43: ; preds = %38 %44 = getelementptr inbounds i8, ptr %2, i64 12 %45 = load i32, ptr @obs_hotkey_thread, align 4, !tbaa !16 %46 = call i64 @pthread_create(ptr noundef nonnull %44, ptr noundef null, i32 noundef %45, ptr noundef null) #3 %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %49 48: ; preds = %43 store i32 1, ptr %3, align 8, !tbaa !24 br label %49 49: ; preds = %43, %38, %34, %30, %48 %50 = phi i32 [ 0, %30 ], [ 0, %34 ], [ 0, %38 ], [ 0, %43 ], [ 1, %48 ] %51 = call i32 @pthread_mutexattr_destroy(ptr noundef nonnull %1) #3 br label %52 52: ; preds = %27, %0, %49 %53 = phi i32 [ %50, %49 ], [ 0, %0 ], [ 0, %27 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret i32 %53 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i32 @da_init(i32 noundef) local_unnamed_addr #2 declare ptr @bstrdup(ptr noundef) local_unnamed_addr #2 declare i32 @obs_hotkeys_platform_init(ptr noundef) local_unnamed_addr #2 declare i64 @pthread_mutexattr_init(ptr noundef) local_unnamed_addr #2 declare i64 @pthread_mutexattr_settype(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @pthread_mutex_init(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @os_event_init(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @pthread_create(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pthread_mutexattr_destroy(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 = { 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 72} !11 = !{!"obs_core_hotkeys", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !12, i64 64, !12, i64 68, !12, i64 72} !12 = !{!"int", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_2__", !12, i64 0, !11, i64 8} !15 = !{!11, !12, i64 68} !16 = !{!12, !12, i64 0} !17 = !{!11, !12, i64 64} !18 = !{!11, !7, i64 56} !19 = !{!11, !7, i64 48} !20 = !{!11, !7, i64 40} !21 = !{!11, !7, i64 32} !22 = !{!11, !7, i64 24} !23 = !{!11, !7, i64 16} !24 = !{!11, !12, i64 0}
obs-studio_libobs_extr_obs.c_obs_init_hotkeys
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/extr_bad_inode.c_bad_file_aio_fsync.c' source_filename = "AnghaBench/fastsocket/kernel/fs/extr_bad_inode.c_bad_file_aio_fsync.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EIO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bad_file_aio_fsync], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @bad_file_aio_fsync(ptr nocapture readnone %0, i32 %1) #0 { %3 = load i32, ptr @EIO, align 4, !tbaa !5 %4 = sub nsw i32 0, %3 ret i32 %4 } 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/fs/extr_bad_inode.c_bad_file_aio_fsync.c' source_filename = "AnghaBench/fastsocket/kernel/fs/extr_bad_inode.c_bad_file_aio_fsync.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EIO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bad_file_aio_fsync], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @bad_file_aio_fsync(ptr nocapture readnone %0, i32 %1) #0 { %3 = load i32, ptr @EIO, align 4, !tbaa !6 %4 = sub nsw i32 0, %3 ret i32 %4 } 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_fs_extr_bad_inode.c_bad_file_aio_fsync
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/extr_memmove.c_memmove.c' source_filename = "AnghaBench/freebsd/contrib/gcc/config/extr_memmove.c_memmove.c" target datalayout = "e-m:e-p270:32:32-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: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable define dso_local noundef ptr @memmove(ptr noundef returned writeonly %0, ptr noundef readonly %1, i64 noundef %2) local_unnamed_addr #0 { %4 = ptrtoint ptr %1 to i64 %5 = ptrtoint ptr %0 to i64 %6 = ptrtoint ptr %1 to i64 %7 = icmp ult ptr %0, %1 %8 = icmp eq i64 %2, 0 br i1 %7, label %9, label %105 9: ; preds = %3 br i1 %8, label %213, label %10 10: ; preds = %9 %11 = icmp ult i64 %2, 8 %12 = sub i64 %5, %4 %13 = icmp ult i64 %12, 32 %14 = or i1 %11, %13 br i1 %14, label %52, label %15 15: ; preds = %10 %16 = icmp ult i64 %2, 32 br i1 %16, label %37, label %17 17: ; preds = %15 %18 = and i64 %2, -32 br label %19 19: ; preds = %19, %17 %20 = phi i64 [ 0, %17 ], [ %27, %19 ] %21 = getelementptr i8, ptr %1, i64 %20 %22 = getelementptr i8, ptr %0, i64 %20 %23 = getelementptr i8, ptr %21, i64 16 %24 = load <16 x i8>, ptr %21, align 1, !tbaa !5 %25 = load <16 x i8>, ptr %23, align 1, !tbaa !5 %26 = getelementptr i8, ptr %22, i64 16 store <16 x i8> %24, ptr %22, align 1, !tbaa !5 store <16 x i8> %25, ptr %26, align 1, !tbaa !5 %27 = add nuw i64 %20, 32 %28 = icmp eq i64 %27, %18 br i1 %28, label %29, label %19, !llvm.loop !8 29: ; preds = %19 %30 = icmp eq i64 %18, %2 br i1 %30, label %213, label %31 31: ; preds = %29 %32 = and i64 %2, 31 %33 = getelementptr i8, ptr %0, i64 %18 %34 = getelementptr i8, ptr %1, i64 %18 %35 = and i64 %2, 24 %36 = icmp eq i64 %35, 0 br i1 %36, label %52, label %37 37: ; preds = %15, %31 %38 = phi i64 [ %18, %31 ], [ 0, %15 ] %39 = and i64 %2, -8 %40 = getelementptr i8, ptr %1, i64 %39 %41 = getelementptr i8, ptr %0, i64 %39 %42 = and i64 %2, 7 br label %43 43: ; preds = %43, %37 %44 = phi i64 [ %38, %37 ], [ %48, %43 ] %45 = getelementptr i8, ptr %1, i64 %44 %46 = getelementptr i8, ptr %0, i64 %44 %47 = load <8 x i8>, ptr %45, align 1, !tbaa !5 store <8 x i8> %47, ptr %46, align 1, !tbaa !5 %48 = add nuw i64 %44, 8 %49 = icmp eq i64 %48, %39 br i1 %49, label %50, label %43, !llvm.loop !12 50: ; preds = %43 %51 = icmp eq i64 %39, %2 br i1 %51, label %213, label %52 52: ; preds = %10, %31, %50 %53 = phi ptr [ %1, %10 ], [ %34, %31 ], [ %40, %50 ] %54 = phi ptr [ %0, %10 ], [ %33, %31 ], [ %41, %50 ] %55 = phi i64 [ %2, %10 ], [ %32, %31 ], [ %42, %50 ] %56 = add i64 %55, -1 %57 = and i64 %55, 7 %58 = icmp eq i64 %57, 0 br i1 %58, label %70, label %59 59: ; preds = %52, %59 %60 = phi ptr [ %65, %59 ], [ %53, %52 ] %61 = phi ptr [ %67, %59 ], [ %54, %52 ] %62 = phi i64 [ %64, %59 ], [ %55, %52 ] %63 = phi i64 [ %68, %59 ], [ 0, %52 ] %64 = add i64 %62, -1 %65 = getelementptr inbounds i8, ptr %60, i64 1 %66 = load i8, ptr %60, align 1, !tbaa !5 %67 = getelementptr inbounds i8, ptr %61, i64 1 store i8 %66, ptr %61, align 1, !tbaa !5 %68 = add i64 %63, 1 %69 = icmp eq i64 %68, %57 br i1 %69, label %70, label %59, !llvm.loop !13 70: ; preds = %59, %52 %71 = phi ptr [ %53, %52 ], [ %65, %59 ] %72 = phi ptr [ %54, %52 ], [ %67, %59 ] %73 = phi i64 [ %55, %52 ], [ %64, %59 ] %74 = icmp ult i64 %56, 7 br i1 %74, label %213, label %75 75: ; preds = %70, %75 %76 = phi ptr [ %101, %75 ], [ %71, %70 ] %77 = phi ptr [ %103, %75 ], [ %72, %70 ] %78 = phi i64 [ %100, %75 ], [ %73, %70 ] %79 = getelementptr inbounds i8, ptr %76, i64 1 %80 = load i8, ptr %76, align 1, !tbaa !5 %81 = getelementptr inbounds i8, ptr %77, i64 1 store i8 %80, ptr %77, align 1, !tbaa !5 %82 = getelementptr inbounds i8, ptr %76, i64 2 %83 = load i8, ptr %79, align 1, !tbaa !5 %84 = getelementptr inbounds i8, ptr %77, i64 2 store i8 %83, ptr %81, align 1, !tbaa !5 %85 = getelementptr inbounds i8, ptr %76, i64 3 %86 = load i8, ptr %82, align 1, !tbaa !5 %87 = getelementptr inbounds i8, ptr %77, i64 3 store i8 %86, ptr %84, align 1, !tbaa !5 %88 = getelementptr inbounds i8, ptr %76, i64 4 %89 = load i8, ptr %85, align 1, !tbaa !5 %90 = getelementptr inbounds i8, ptr %77, i64 4 store i8 %89, ptr %87, align 1, !tbaa !5 %91 = getelementptr inbounds i8, ptr %76, i64 5 %92 = load i8, ptr %88, align 1, !tbaa !5 %93 = getelementptr inbounds i8, ptr %77, i64 5 store i8 %92, ptr %90, align 1, !tbaa !5 %94 = getelementptr inbounds i8, ptr %76, i64 6 %95 = load i8, ptr %91, align 1, !tbaa !5 %96 = getelementptr inbounds i8, ptr %77, i64 6 store i8 %95, ptr %93, align 1, !tbaa !5 %97 = getelementptr inbounds i8, ptr %76, i64 7 %98 = load i8, ptr %94, align 1, !tbaa !5 %99 = getelementptr inbounds i8, ptr %77, i64 7 store i8 %98, ptr %96, align 1, !tbaa !5 %100 = add i64 %78, -8 %101 = getelementptr inbounds i8, ptr %76, i64 8 %102 = load i8, ptr %97, align 1, !tbaa !5 %103 = getelementptr inbounds i8, ptr %77, i64 8 store i8 %102, ptr %99, align 1, !tbaa !5 %104 = icmp eq i64 %100, 0 br i1 %104, label %213, label %75, !llvm.loop !15 105: ; preds = %3 br i1 %8, label %213, label %106 106: ; preds = %105 %107 = add i64 %2, -1 %108 = getelementptr inbounds i8, ptr %0, i64 %107 %109 = getelementptr inbounds i8, ptr %1, i64 %107 %110 = icmp ult i64 %2, 4 %111 = sub i64 %6, %5 %112 = icmp ult i64 %111, 16 %113 = or i1 %110, %112 br i1 %113, label %160, label %114 114: ; preds = %106 %115 = icmp ult i64 %2, 16 br i1 %115, label %139, label %116 116: ; preds = %114 %117 = and i64 %2, -16 %118 = getelementptr i8, ptr %109, i64 -15 %119 = getelementptr i8, ptr %108, i64 -15 br label %120 120: ; preds = %120, %116 %121 = phi i64 [ 0, %116 ], [ %127, %120 ] %122 = sub i64 0, %121 %123 = sub i64 0, %121 %124 = getelementptr i8, ptr %118, i64 %123 %125 = load <16 x i8>, ptr %124, align 1, !tbaa !5 %126 = getelementptr i8, ptr %119, i64 %122 store <16 x i8> %125, ptr %126, align 1, !tbaa !5 %127 = add nuw i64 %121, 16 %128 = icmp eq i64 %127, %117 br i1 %128, label %129, label %120, !llvm.loop !16 129: ; preds = %120 %130 = icmp eq i64 %117, %2 br i1 %130, label %213, label %131 131: ; preds = %129 %132 = and i64 %2, 15 %133 = sub i64 0, %117 %134 = getelementptr i8, ptr %109, i64 %133 %135 = sub i64 0, %117 %136 = getelementptr i8, ptr %108, i64 %135 %137 = and i64 %2, 12 %138 = icmp eq i64 %137, 0 br i1 %138, label %160, label %139 139: ; preds = %114, %131 %140 = phi i64 [ %117, %131 ], [ 0, %114 ] %141 = and i64 %2, -4 %142 = sub i64 0, %141 %143 = getelementptr i8, ptr %108, i64 %142 %144 = sub i64 0, %141 %145 = getelementptr i8, ptr %109, i64 %144 %146 = and i64 %2, 3 %147 = getelementptr i8, ptr %109, i64 -3 %148 = getelementptr i8, ptr %108, i64 -3 br label %149 149: ; preds = %149, %139 %150 = phi i64 [ %140, %139 ], [ %156, %149 ] %151 = sub i64 0, %150 %152 = sub i64 0, %150 %153 = getelementptr i8, ptr %147, i64 %152 %154 = load <4 x i8>, ptr %153, align 1, !tbaa !5 %155 = getelementptr i8, ptr %148, i64 %151 store <4 x i8> %154, ptr %155, align 1, !tbaa !5 %156 = add nuw i64 %150, 4 %157 = icmp eq i64 %156, %141 br i1 %157, label %158, label %149, !llvm.loop !17 158: ; preds = %149 %159 = icmp eq i64 %141, %2 br i1 %159, label %213, label %160 160: ; preds = %106, %131, %158 %161 = phi ptr [ %108, %106 ], [ %136, %131 ], [ %143, %158 ] %162 = phi ptr [ %109, %106 ], [ %134, %131 ], [ %145, %158 ] %163 = phi i64 [ %2, %106 ], [ %132, %131 ], [ %146, %158 ] %164 = add i64 %163, -1 %165 = and i64 %163, 7 %166 = icmp eq i64 %165, 0 br i1 %166, label %178, label %167 167: ; preds = %160, %167 %168 = phi ptr [ %175, %167 ], [ %161, %160 ] %169 = phi ptr [ %173, %167 ], [ %162, %160 ] %170 = phi i64 [ %172, %167 ], [ %163, %160 ] %171 = phi i64 [ %176, %167 ], [ 0, %160 ] %172 = add i64 %170, -1 %173 = getelementptr inbounds i8, ptr %169, i64 -1 %174 = load i8, ptr %169, align 1, !tbaa !5 %175 = getelementptr inbounds i8, ptr %168, i64 -1 store i8 %174, ptr %168, align 1, !tbaa !5 %176 = add i64 %171, 1 %177 = icmp eq i64 %176, %165 br i1 %177, label %178, label %167, !llvm.loop !18 178: ; preds = %167, %160 %179 = phi ptr [ %161, %160 ], [ %175, %167 ] %180 = phi ptr [ %162, %160 ], [ %173, %167 ] %181 = phi i64 [ %163, %160 ], [ %172, %167 ] %182 = icmp ult i64 %164, 7 br i1 %182, label %213, label %183 183: ; preds = %178, %183 %184 = phi ptr [ %211, %183 ], [ %179, %178 ] %185 = phi ptr [ %209, %183 ], [ %180, %178 ] %186 = phi i64 [ %208, %183 ], [ %181, %178 ] %187 = getelementptr inbounds i8, ptr %185, i64 -1 %188 = load i8, ptr %185, align 1, !tbaa !5 %189 = getelementptr inbounds i8, ptr %184, i64 -1 store i8 %188, ptr %184, align 1, !tbaa !5 %190 = getelementptr inbounds i8, ptr %185, i64 -2 %191 = load i8, ptr %187, align 1, !tbaa !5 %192 = getelementptr inbounds i8, ptr %184, i64 -2 store i8 %191, ptr %189, align 1, !tbaa !5 %193 = getelementptr inbounds i8, ptr %185, i64 -3 %194 = load i8, ptr %190, align 1, !tbaa !5 %195 = getelementptr inbounds i8, ptr %184, i64 -3 store i8 %194, ptr %192, align 1, !tbaa !5 %196 = getelementptr inbounds i8, ptr %185, i64 -4 %197 = load i8, ptr %193, align 1, !tbaa !5 %198 = getelementptr inbounds i8, ptr %184, i64 -4 store i8 %197, ptr %195, align 1, !tbaa !5 %199 = getelementptr inbounds i8, ptr %185, i64 -5 %200 = load i8, ptr %196, align 1, !tbaa !5 %201 = getelementptr inbounds i8, ptr %184, i64 -5 store i8 %200, ptr %198, align 1, !tbaa !5 %202 = getelementptr inbounds i8, ptr %185, i64 -6 %203 = load i8, ptr %199, align 1, !tbaa !5 %204 = getelementptr inbounds i8, ptr %184, i64 -6 store i8 %203, ptr %201, align 1, !tbaa !5 %205 = getelementptr inbounds i8, ptr %185, i64 -7 %206 = load i8, ptr %202, align 1, !tbaa !5 %207 = getelementptr inbounds i8, ptr %184, i64 -7 store i8 %206, ptr %204, align 1, !tbaa !5 %208 = add i64 %186, -8 %209 = getelementptr inbounds i8, ptr %185, i64 -8 %210 = load i8, ptr %205, align 1, !tbaa !5 %211 = getelementptr inbounds i8, ptr %184, i64 -8 store i8 %210, ptr %207, align 1, !tbaa !5 %212 = icmp eq i64 %208, 0 br i1 %212, label %213, label %183, !llvm.loop !19 213: ; preds = %178, %183, %70, %75, %129, %158, %29, %50, %105, %9 ret ptr %0 } attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9, !10, !11} !9 = !{!"llvm.loop.mustprogress"} !10 = !{!"llvm.loop.isvectorized", i32 1} !11 = !{!"llvm.loop.unroll.runtime.disable"} !12 = distinct !{!12, !9, !10, !11} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.unroll.disable"} !15 = distinct !{!15, !9, !10} !16 = distinct !{!16, !9, !10, !11} !17 = distinct !{!17, !9, !10, !11} !18 = distinct !{!18, !14} !19 = distinct !{!19, !9, !10}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/extr_memmove.c_memmove.c' source_filename = "AnghaBench/freebsd/contrib/gcc/config/extr_memmove.c_memmove.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) define noundef ptr @memmove(ptr noundef returned writeonly %0, ptr noundef readonly %1, i64 noundef %2) local_unnamed_addr #0 { %4 = ptrtoint ptr %1 to i64 %5 = ptrtoint ptr %0 to i64 %6 = ptrtoint ptr %1 to i64 %7 = icmp ult ptr %0, %1 %8 = icmp eq i64 %2, 0 br i1 %7, label %9, label %71 9: ; preds = %3 br i1 %8, label %148, label %10 10: ; preds = %9 %11 = icmp ult i64 %2, 8 %12 = sub i64 %5, %4 %13 = icmp ult i64 %12, 64 %14 = or i1 %11, %13 br i1 %14, label %58, label %15 15: ; preds = %10 %16 = icmp ult i64 %2, 64 br i1 %16, label %43, label %17 17: ; preds = %15 %18 = and i64 %2, -64 br label %19 19: ; preds = %19, %17 %20 = phi i64 [ 0, %17 ], [ %33, %19 ] %21 = getelementptr i8, ptr %1, i64 %20 %22 = getelementptr i8, ptr %0, i64 %20 %23 = getelementptr i8, ptr %21, i64 16 %24 = getelementptr i8, ptr %21, i64 32 %25 = getelementptr i8, ptr %21, i64 48 %26 = load <16 x i8>, ptr %21, align 1, !tbaa !6 %27 = load <16 x i8>, ptr %23, align 1, !tbaa !6 %28 = load <16 x i8>, ptr %24, align 1, !tbaa !6 %29 = load <16 x i8>, ptr %25, align 1, !tbaa !6 %30 = getelementptr i8, ptr %22, i64 16 %31 = getelementptr i8, ptr %22, i64 32 %32 = getelementptr i8, ptr %22, i64 48 store <16 x i8> %26, ptr %22, align 1, !tbaa !6 store <16 x i8> %27, ptr %30, align 1, !tbaa !6 store <16 x i8> %28, ptr %31, align 1, !tbaa !6 store <16 x i8> %29, ptr %32, align 1, !tbaa !6 %33 = add nuw i64 %20, 64 %34 = icmp eq i64 %33, %18 br i1 %34, label %35, label %19, !llvm.loop !9 35: ; preds = %19 %36 = icmp eq i64 %18, %2 br i1 %36, label %148, label %37 37: ; preds = %35 %38 = and i64 %2, 63 %39 = getelementptr i8, ptr %0, i64 %18 %40 = getelementptr i8, ptr %1, i64 %18 %41 = and i64 %2, 56 %42 = icmp eq i64 %41, 0 br i1 %42, label %58, label %43 43: ; preds = %15, %37 %44 = phi i64 [ %18, %37 ], [ 0, %15 ] %45 = and i64 %2, -8 %46 = getelementptr i8, ptr %1, i64 %45 %47 = getelementptr i8, ptr %0, i64 %45 %48 = and i64 %2, 7 br label %49 49: ; preds = %49, %43 %50 = phi i64 [ %44, %43 ], [ %54, %49 ] %51 = getelementptr i8, ptr %1, i64 %50 %52 = getelementptr i8, ptr %0, i64 %50 %53 = load <8 x i8>, ptr %51, align 1, !tbaa !6 store <8 x i8> %53, ptr %52, align 1, !tbaa !6 %54 = add nuw i64 %50, 8 %55 = icmp eq i64 %54, %45 br i1 %55, label %56, label %49, !llvm.loop !13 56: ; preds = %49 %57 = icmp eq i64 %45, %2 br i1 %57, label %148, label %58 58: ; preds = %56, %10, %37 %59 = phi ptr [ %1, %10 ], [ %40, %37 ], [ %46, %56 ] %60 = phi ptr [ %0, %10 ], [ %39, %37 ], [ %47, %56 ] %61 = phi i64 [ %2, %10 ], [ %38, %37 ], [ %48, %56 ] br label %62 62: ; preds = %58, %62 %63 = phi ptr [ %67, %62 ], [ %59, %58 ] %64 = phi ptr [ %69, %62 ], [ %60, %58 ] %65 = phi i64 [ %66, %62 ], [ %61, %58 ] %66 = add i64 %65, -1 %67 = getelementptr inbounds i8, ptr %63, i64 1 %68 = load i8, ptr %63, align 1, !tbaa !6 %69 = getelementptr inbounds i8, ptr %64, i64 1 store i8 %68, ptr %64, align 1, !tbaa !6 %70 = icmp eq i64 %66, 0 br i1 %70, label %148, label %62, !llvm.loop !14 71: ; preds = %3 br i1 %8, label %148, label %72 72: ; preds = %71 %73 = add i64 %2, -1 %74 = getelementptr inbounds i8, ptr %0, i64 %73 %75 = getelementptr inbounds i8, ptr %1, i64 %73 %76 = icmp ult i64 %2, 8 %77 = sub i64 %6, %5 %78 = icmp ult i64 %77, 64 %79 = or i1 %76, %78 br i1 %79, label %135, label %80 80: ; preds = %72 %81 = icmp ult i64 %2, 64 br i1 %81, label %114, label %82 82: ; preds = %80 %83 = and i64 %2, -64 br label %84 84: ; preds = %84, %82 %85 = phi i64 [ 0, %82 ], [ %102, %84 ] %86 = sub i64 0, %85 %87 = getelementptr i8, ptr %74, i64 %86 %88 = sub i64 0, %85 %89 = getelementptr i8, ptr %75, i64 %88 %90 = getelementptr i8, ptr %89, i64 -15 %91 = getelementptr i8, ptr %89, i64 -31 %92 = getelementptr i8, ptr %89, i64 -47 %93 = getelementptr i8, ptr %89, i64 -63 %94 = load <16 x i8>, ptr %90, align 1, !tbaa !6 %95 = load <16 x i8>, ptr %91, align 1, !tbaa !6 %96 = load <16 x i8>, ptr %92, align 1, !tbaa !6 %97 = load <16 x i8>, ptr %93, align 1, !tbaa !6 %98 = getelementptr i8, ptr %87, i64 -15 %99 = getelementptr i8, ptr %87, i64 -31 %100 = getelementptr i8, ptr %87, i64 -47 %101 = getelementptr i8, ptr %87, i64 -63 store <16 x i8> %94, ptr %98, align 1, !tbaa !6 store <16 x i8> %95, ptr %99, align 1, !tbaa !6 store <16 x i8> %96, ptr %100, align 1, !tbaa !6 store <16 x i8> %97, ptr %101, align 1, !tbaa !6 %102 = add nuw i64 %85, 64 %103 = icmp eq i64 %102, %83 br i1 %103, label %104, label %84, !llvm.loop !15 104: ; preds = %84 %105 = icmp eq i64 %83, %2 br i1 %105, label %148, label %106 106: ; preds = %104 %107 = and i64 %2, 63 %108 = sub i64 0, %83 %109 = getelementptr i8, ptr %75, i64 %108 %110 = sub i64 0, %83 %111 = getelementptr i8, ptr %74, i64 %110 %112 = and i64 %2, 56 %113 = icmp eq i64 %112, 0 br i1 %113, label %135, label %114 114: ; preds = %80, %106 %115 = phi i64 [ %83, %106 ], [ 0, %80 ] %116 = and i64 %2, -8 %117 = sub i64 0, %116 %118 = getelementptr i8, ptr %74, i64 %117 %119 = sub i64 0, %116 %120 = getelementptr i8, ptr %75, i64 %119 %121 = and i64 %2, 7 %122 = getelementptr i8, ptr %75, i64 -7 %123 = getelementptr i8, ptr %74, i64 -7 br label %124 124: ; preds = %124, %114 %125 = phi i64 [ %115, %114 ], [ %131, %124 ] %126 = sub i64 0, %125 %127 = sub i64 0, %125 %128 = getelementptr i8, ptr %122, i64 %127 %129 = load <8 x i8>, ptr %128, align 1, !tbaa !6 %130 = getelementptr i8, ptr %123, i64 %126 store <8 x i8> %129, ptr %130, align 1, !tbaa !6 %131 = add nuw i64 %125, 8 %132 = icmp eq i64 %131, %116 br i1 %132, label %133, label %124, !llvm.loop !16 133: ; preds = %124 %134 = icmp eq i64 %116, %2 br i1 %134, label %148, label %135 135: ; preds = %133, %72, %106 %136 = phi ptr [ %74, %72 ], [ %111, %106 ], [ %118, %133 ] %137 = phi ptr [ %75, %72 ], [ %109, %106 ], [ %120, %133 ] %138 = phi i64 [ %2, %72 ], [ %107, %106 ], [ %121, %133 ] br label %139 139: ; preds = %135, %139 %140 = phi ptr [ %146, %139 ], [ %136, %135 ] %141 = phi ptr [ %144, %139 ], [ %137, %135 ] %142 = phi i64 [ %143, %139 ], [ %138, %135 ] %143 = add i64 %142, -1 %144 = getelementptr inbounds i8, ptr %141, i64 -1 %145 = load i8, ptr %141, align 1, !tbaa !6 %146 = getelementptr inbounds i8, ptr %140, i64 -1 store i8 %145, ptr %140, align 1, !tbaa !6 %147 = icmp eq i64 %143, 0 br i1 %147, label %148, label %139, !llvm.loop !17 148: ; preds = %139, %62, %104, %133, %35, %56, %71, %9 ret ptr %0 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10, !11, !12} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!"llvm.loop.isvectorized", i32 1} !12 = !{!"llvm.loop.unroll.runtime.disable"} !13 = distinct !{!13, !10, !11, !12} !14 = distinct !{!14, !10, !11} !15 = distinct !{!15, !10, !11, !12} !16 = distinct !{!16, !10, !11, !12} !17 = distinct !{!17, !10, !11}
freebsd_contrib_gcc_config_extr_memmove.c_memmove
; ModuleID = 'AnghaBench/reactos/dll/opengl/glu32/src/libtess/extr_sweep.c_RemoveDegenerateEdges.c' source_filename = "AnghaBench/reactos/dll/opengl/glu32/src/libtess/extr_sweep.c_RemoveDegenerateEdges.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_10__ = type { i32, ptr } %struct.TYPE_11__ = type { ptr, ptr, ptr, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @RemoveDegenerateEdges], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @RemoveDegenerateEdges(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = icmp eq ptr %4, %3 br i1 %5, label %74, label %6 6: ; preds = %1, %71 %7 = phi ptr [ %72, %71 ], [ %4, %1 ] %8 = load ptr, ptr %7, align 8, !tbaa !11 %9 = getelementptr inbounds %struct.TYPE_11__, ptr %7, i64 0, i32 2 %10 = load ptr, ptr %9, align 8, !tbaa !13 %11 = getelementptr inbounds %struct.TYPE_11__, ptr %7, i64 0, i32 4 %12 = load i32, ptr %11, align 4, !tbaa !14 %13 = getelementptr inbounds %struct.TYPE_11__, ptr %7, i64 0, i32 3 %14 = load i32, ptr %13, align 8, !tbaa !15 %15 = tail call i64 @VertEq(i32 noundef %12, i32 noundef %14) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %32, label %17 17: ; preds = %6 %18 = load ptr, ptr %9, align 8, !tbaa !13 %19 = getelementptr inbounds %struct.TYPE_11__, ptr %18, i64 0, i32 2 %20 = load ptr, ptr %19, align 8, !tbaa !13 %21 = icmp eq ptr %20, %7 br i1 %21, label %32, label %22 22: ; preds = %17 %23 = tail call i32 @SpliceMergeVertices(ptr noundef %0, ptr noundef %10, ptr noundef nonnull %7) #2 %24 = tail call i32 @__gl_meshDelete(ptr noundef nonnull %7) #2 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %22 %27 = load i32, ptr %0, align 8, !tbaa !16 %28 = tail call i32 @longjmp(i32 noundef %27, i32 noundef 1) #2 br label %29 29: ; preds = %26, %22 %30 = getelementptr inbounds %struct.TYPE_11__, ptr %10, i64 0, i32 2 %31 = load ptr, ptr %30, align 8, !tbaa !13 br label %32 32: ; preds = %29, %17, %6 %33 = phi ptr [ %31, %29 ], [ %10, %17 ], [ %10, %6 ] %34 = phi ptr [ %10, %29 ], [ %7, %17 ], [ %7, %6 ] %35 = getelementptr inbounds %struct.TYPE_11__, ptr %33, i64 0, i32 2 %36 = load ptr, ptr %35, align 8, !tbaa !13 %37 = icmp eq ptr %36, %34 br i1 %37, label %38, label %71 38: ; preds = %32 %39 = icmp eq ptr %33, %34 br i1 %39, label %55, label %40 40: ; preds = %38 %41 = icmp eq ptr %33, %8 br i1 %41, label %46, label %42 42: ; preds = %40 %43 = getelementptr inbounds %struct.TYPE_11__, ptr %8, i64 0, i32 1 %44 = load ptr, ptr %43, align 8, !tbaa !17 %45 = icmp eq ptr %33, %44 br i1 %45, label %46, label %48 46: ; preds = %42, %40 %47 = load ptr, ptr %8, align 8, !tbaa !11 br label %48 48: ; preds = %46, %42 %49 = phi ptr [ %47, %46 ], [ %8, %42 ] %50 = tail call i32 @__gl_meshDelete(ptr noundef nonnull %33) #2 %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %55 52: ; preds = %48 %53 = load i32, ptr %0, align 8, !tbaa !16 %54 = tail call i32 @longjmp(i32 noundef %53, i32 noundef 1) #2 br label %55 55: ; preds = %48, %52, %38 %56 = phi ptr [ %49, %48 ], [ %49, %52 ], [ %8, %38 ] %57 = icmp eq ptr %34, %56 br i1 %57, label %62, label %58 58: ; preds = %55 %59 = getelementptr inbounds %struct.TYPE_11__, ptr %56, i64 0, i32 1 %60 = load ptr, ptr %59, align 8, !tbaa !17 %61 = icmp eq ptr %34, %60 br i1 %61, label %62, label %64 62: ; preds = %58, %55 %63 = load ptr, ptr %56, align 8, !tbaa !11 br label %64 64: ; preds = %62, %58 %65 = phi ptr [ %63, %62 ], [ %56, %58 ] %66 = tail call i32 @__gl_meshDelete(ptr noundef nonnull %34) #2 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %71 68: ; preds = %64 %69 = load i32, ptr %0, align 8, !tbaa !16 %70 = tail call i32 @longjmp(i32 noundef %69, i32 noundef 1) #2 br label %71 71: ; preds = %32, %68, %64 %72 = phi ptr [ %65, %64 ], [ %65, %68 ], [ %8, %32 ] %73 = icmp eq ptr %72, %3 br i1 %73, label %74, label %6, !llvm.loop !18 74: ; preds = %71, %1 ret void } declare i64 @VertEq(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SpliceMergeVertices(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @__gl_meshDelete(ptr noundef) local_unnamed_addr #1 declare i32 @longjmp(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"TYPE_10__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_11__", !10, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !7, i64 28} !13 = !{!12, !10, i64 16} !14 = !{!12, !7, i64 28} !15 = !{!12, !7, i64 24} !16 = !{!6, !7, i64 0} !17 = !{!12, !10, i64 8} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/reactos/dll/opengl/glu32/src/libtess/extr_sweep.c_RemoveDegenerateEdges.c' source_filename = "AnghaBench/reactos/dll/opengl/glu32/src/libtess/extr_sweep.c_RemoveDegenerateEdges.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 @RemoveDegenerateEdges], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @RemoveDegenerateEdges(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !12 %5 = icmp eq ptr %4, %3 br i1 %5, label %74, label %6 6: ; preds = %1, %71 %7 = phi ptr [ %72, %71 ], [ %4, %1 ] %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = getelementptr inbounds i8, ptr %7, i64 16 %10 = load ptr, ptr %9, align 8, !tbaa !14 %11 = getelementptr inbounds i8, ptr %7, i64 28 %12 = load i32, ptr %11, align 4, !tbaa !15 %13 = getelementptr inbounds i8, ptr %7, i64 24 %14 = load i32, ptr %13, align 8, !tbaa !16 %15 = tail call i64 @VertEq(i32 noundef %12, i32 noundef %14) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %32, label %17 17: ; preds = %6 %18 = load ptr, ptr %9, align 8, !tbaa !14 %19 = getelementptr inbounds i8, ptr %18, i64 16 %20 = load ptr, ptr %19, align 8, !tbaa !14 %21 = icmp eq ptr %20, %7 br i1 %21, label %32, label %22 22: ; preds = %17 %23 = tail call i32 @SpliceMergeVertices(ptr noundef %0, ptr noundef %10, ptr noundef nonnull %7) #2 %24 = tail call i32 @__gl_meshDelete(ptr noundef nonnull %7) #2 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %22 %27 = load i32, ptr %0, align 8, !tbaa !17 %28 = tail call i32 @longjmp(i32 noundef %27, i32 noundef 1) #2 br label %29 29: ; preds = %26, %22 %30 = getelementptr inbounds i8, ptr %10, i64 16 %31 = load ptr, ptr %30, align 8, !tbaa !14 br label %32 32: ; preds = %29, %17, %6 %33 = phi ptr [ %31, %29 ], [ %10, %17 ], [ %10, %6 ] %34 = phi ptr [ %10, %29 ], [ %7, %17 ], [ %7, %6 ] %35 = getelementptr inbounds i8, ptr %33, i64 16 %36 = load ptr, ptr %35, align 8, !tbaa !14 %37 = icmp eq ptr %36, %34 br i1 %37, label %38, label %71 38: ; preds = %32 %39 = icmp eq ptr %33, %34 br i1 %39, label %55, label %40 40: ; preds = %38 %41 = icmp eq ptr %33, %8 br i1 %41, label %46, label %42 42: ; preds = %40 %43 = getelementptr inbounds i8, ptr %8, i64 8 %44 = load ptr, ptr %43, align 8, !tbaa !18 %45 = icmp eq ptr %33, %44 br i1 %45, label %46, label %48 46: ; preds = %42, %40 %47 = load ptr, ptr %8, align 8, !tbaa !12 br label %48 48: ; preds = %46, %42 %49 = phi ptr [ %47, %46 ], [ %8, %42 ] %50 = tail call i32 @__gl_meshDelete(ptr noundef nonnull %33) #2 %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %55 52: ; preds = %48 %53 = load i32, ptr %0, align 8, !tbaa !17 %54 = tail call i32 @longjmp(i32 noundef %53, i32 noundef 1) #2 br label %55 55: ; preds = %48, %52, %38 %56 = phi ptr [ %49, %48 ], [ %49, %52 ], [ %8, %38 ] %57 = icmp eq ptr %34, %56 br i1 %57, label %62, label %58 58: ; preds = %55 %59 = getelementptr inbounds i8, ptr %56, i64 8 %60 = load ptr, ptr %59, align 8, !tbaa !18 %61 = icmp eq ptr %34, %60 br i1 %61, label %62, label %64 62: ; preds = %58, %55 %63 = load ptr, ptr %56, align 8, !tbaa !12 br label %64 64: ; preds = %62, %58 %65 = phi ptr [ %63, %62 ], [ %56, %58 ] %66 = tail call i32 @__gl_meshDelete(ptr noundef nonnull %34) #2 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %71 68: ; preds = %64 %69 = load i32, ptr %0, align 8, !tbaa !17 %70 = tail call i32 @longjmp(i32 noundef %69, i32 noundef 1) #2 br label %71 71: ; preds = %32, %68, %64 %72 = phi ptr [ %65, %64 ], [ %65, %68 ], [ %8, %32 ] %73 = icmp eq ptr %72, %3 br i1 %73, label %74, label %6, !llvm.loop !19 74: ; preds = %71, %1 ret void } declare i64 @VertEq(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SpliceMergeVertices(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @__gl_meshDelete(ptr noundef) local_unnamed_addr #1 declare i32 @longjmp(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"TYPE_10__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_11__", !11, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !8, i64 28} !14 = !{!13, !11, i64 16} !15 = !{!13, !8, i64 28} !16 = !{!13, !8, i64 24} !17 = !{!7, !8, i64 0} !18 = !{!13, !11, i64 8} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
reactos_dll_opengl_glu32_src_libtess_extr_sweep.c_RemoveDegenerateEdges
; ModuleID = 'AnghaBench/postgres/src/backend/access/transam/extr_clog.c_ShutdownCLOG.c' source_filename = "AnghaBench/postgres/src/backend/access/transam/extr_clog.c_ShutdownCLOG.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ClogCtl = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"pg_xact\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @ShutdownCLOG() local_unnamed_addr #0 { %1 = tail call i32 @TRACE_POSTGRESQL_CLOG_CHECKPOINT_START(i32 noundef 0) #2 %2 = load i32, ptr @ClogCtl, align 4, !tbaa !5 %3 = tail call i32 @SimpleLruFlush(i32 noundef %2, i32 noundef 0) #2 %4 = tail call i32 @fsync_fname(ptr noundef nonnull @.str, i32 noundef 1) #2 %5 = tail call i32 @TRACE_POSTGRESQL_CLOG_CHECKPOINT_DONE(i32 noundef 0) #2 ret void } declare i32 @TRACE_POSTGRESQL_CLOG_CHECKPOINT_START(i32 noundef) local_unnamed_addr #1 declare i32 @SimpleLruFlush(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fsync_fname(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TRACE_POSTGRESQL_CLOG_CHECKPOINT_DONE(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/backend/access/transam/extr_clog.c_ShutdownCLOG.c' source_filename = "AnghaBench/postgres/src/backend/access/transam/extr_clog.c_ShutdownCLOG.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ClogCtl = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"pg_xact\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @ShutdownCLOG() local_unnamed_addr #0 { %1 = tail call i32 @TRACE_POSTGRESQL_CLOG_CHECKPOINT_START(i32 noundef 0) #2 %2 = load i32, ptr @ClogCtl, align 4, !tbaa !6 %3 = tail call i32 @SimpleLruFlush(i32 noundef %2, i32 noundef 0) #2 %4 = tail call i32 @fsync_fname(ptr noundef nonnull @.str, i32 noundef 1) #2 %5 = tail call i32 @TRACE_POSTGRESQL_CLOG_CHECKPOINT_DONE(i32 noundef 0) #2 ret void } declare i32 @TRACE_POSTGRESQL_CLOG_CHECKPOINT_START(i32 noundef) local_unnamed_addr #1 declare i32 @SimpleLruFlush(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fsync_fname(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TRACE_POSTGRESQL_CLOG_CHECKPOINT_DONE(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_backend_access_transam_extr_clog.c_ShutdownCLOG
; ModuleID = 'AnghaBench/reactos/dll/win32/vbscript/extr_global.c_Global_AscB.c' source_filename = "AnghaBench/reactos/dll/win32/vbscript/extr_global.c_Global_AscB.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @E_NOTIMPL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @Global_AscB], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @Global_AscB(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 %2, ptr nocapture readnone %3) #0 { %5 = tail call i32 @FIXME(ptr noundef nonnull @.str) #2 %6 = load i32, ptr @E_NOTIMPL, align 4, !tbaa !5 ret i32 %6 } declare i32 @FIXME(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/vbscript/extr_global.c_Global_AscB.c' source_filename = "AnghaBench/reactos/dll/win32/vbscript/extr_global.c_Global_AscB.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @E_NOTIMPL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @Global_AscB], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @Global_AscB(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 %2, ptr nocapture readnone %3) #0 { %5 = tail call i32 @FIXME(ptr noundef nonnull @.str) #2 %6 = load i32, ptr @E_NOTIMPL, align 4, !tbaa !6 ret i32 %6 } declare i32 @FIXME(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_vbscript_extr_global.c_Global_AscB
; ModuleID = 'AnghaBench/freebsd/sys/dev/acpica/extr_acpi_acad.c_acpi_acad_get_acline.c' source_filename = "AnghaBench/freebsd/sys/dev/acpica/extr_acpi_acad.c_acpi_acad_get_acline.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @acpi_acad_devclass = dso_local local_unnamed_addr global i32 0, align 4 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @acpi_acad_get_acline(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @acpi_acad_devclass, align 4, !tbaa !5 %3 = tail call ptr @devclass_get_device(i32 noundef %2, i32 noundef 0) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %7 5: ; preds = %1 %6 = load i32, ptr @ENXIO, align 4, !tbaa !5 br label %11 7: ; preds = %1 %8 = tail call ptr @device_get_softc(ptr noundef nonnull %3) #2 %9 = tail call i32 @acpi_acad_get_status(ptr noundef nonnull %3) #2 %10 = load i32, ptr %8, align 4, !tbaa !9 store i32 %10, ptr %0, align 4, !tbaa !5 br label %11 11: ; preds = %7, %5 %12 = phi i32 [ %6, %5 ], [ 0, %7 ] ret i32 %12 } declare ptr @devclass_get_device(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @device_get_softc(ptr noundef) local_unnamed_addr #1 declare i32 @acpi_acad_get_status(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 = !{!"acpi_acad_softc", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/acpica/extr_acpi_acad.c_acpi_acad_get_acline.c' source_filename = "AnghaBench/freebsd/sys/dev/acpica/extr_acpi_acad.c_acpi_acad_get_acline.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @acpi_acad_devclass = common local_unnamed_addr global i32 0, align 4 @ENXIO = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @acpi_acad_get_acline(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @acpi_acad_devclass, align 4, !tbaa !6 %3 = tail call ptr @devclass_get_device(i32 noundef %2, i32 noundef 0) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %7 5: ; preds = %1 %6 = load i32, ptr @ENXIO, align 4, !tbaa !6 br label %11 7: ; preds = %1 %8 = tail call ptr @device_get_softc(ptr noundef nonnull %3) #2 %9 = tail call i32 @acpi_acad_get_status(ptr noundef nonnull %3) #2 %10 = load i32, ptr %8, align 4, !tbaa !10 store i32 %10, ptr %0, align 4, !tbaa !6 br label %11 11: ; preds = %7, %5 %12 = phi i32 [ %6, %5 ], [ 0, %7 ] ret i32 %12 } declare ptr @devclass_get_device(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @device_get_softc(ptr noundef) local_unnamed_addr #1 declare i32 @acpi_acad_get_status(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 = !{!"acpi_acad_softc", !7, i64 0}
freebsd_sys_dev_acpica_extr_acpi_acad.c_acpi_acad_get_acline
; ModuleID = 'AnghaBench/fastsocket/kernel/block/extr_bsg.c_err_block_err.c' source_filename = "AnghaBench/fastsocket/kernel/block/extr_bsg.c_err_block_err.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENOSPC = dso_local local_unnamed_addr global i32 0, align 4 @ENODATA = dso_local local_unnamed_addr global i32 0, align 4 @EAGAIN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @err_block_err], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal noundef i32 @err_block_err(i32 noundef %0) #0 { %2 = icmp eq i32 %0, 0 br i1 %2, label %15, label %3 3: ; preds = %1 %4 = load i32, ptr @ENOSPC, align 4, !tbaa !5 %5 = sub nsw i32 0, %4 %6 = icmp eq i32 %5, %0 br i1 %6, label %15, label %7 7: ; preds = %3 %8 = load i32, ptr @ENODATA, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 %10 = icmp eq i32 %9, %0 br i1 %10, label %15, label %11 11: ; preds = %7 %12 = load i32, ptr @EAGAIN, align 4, !tbaa !5 %13 = sub nsw i32 0, %12 %14 = icmp eq i32 %13, %0 br i1 %14, label %15, label %16 15: ; preds = %11, %7, %3, %1 br label %16 16: ; preds = %11, %15 %17 = phi i32 [ 0, %15 ], [ 1, %11 ] ret i32 %17 } 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/fastsocket/kernel/block/extr_bsg.c_err_block_err.c' source_filename = "AnghaBench/fastsocket/kernel/block/extr_bsg.c_err_block_err.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOSPC = common local_unnamed_addr global i32 0, align 4 @ENODATA = common local_unnamed_addr global i32 0, align 4 @EAGAIN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @err_block_err], 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 0, 2) i32 @err_block_err(i32 noundef %0) #0 { %2 = icmp eq i32 %0, 0 br i1 %2, label %15, label %3 3: ; preds = %1 %4 = load i32, ptr @ENOSPC, align 4, !tbaa !6 %5 = sub nsw i32 0, %4 %6 = icmp eq i32 %5, %0 br i1 %6, label %15, label %7 7: ; preds = %3 %8 = load i32, ptr @ENODATA, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 %10 = icmp eq i32 %9, %0 br i1 %10, label %15, label %11 11: ; preds = %7 %12 = load i32, ptr @EAGAIN, align 4, !tbaa !6 %13 = sub nsw i32 0, %12 %14 = icmp eq i32 %13, %0 br i1 %14, label %15, label %16 15: ; preds = %11, %7, %3, %1 br label %16 16: ; preds = %11, %15 %17 = phi i32 [ 0, %15 ], [ 1, %11 ] ret i32 %17 } 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"}
fastsocket_kernel_block_extr_bsg.c_err_block_err
; ModuleID = 'AnghaBench/linux/security/tomoyo/extr_file.c_tomoyo_audit_path2_log.c' source_filename = "AnghaBench/linux/security/tomoyo/extr_file.c_tomoyo_audit_path2_log.c" target datalayout = "e-m:e-p270:32:32-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 { i64, ptr, ptr } @.str = private unnamed_addr constant [15 x i8] c"file %s %s %s\0A\00", align 1 @tomoyo_mac_keywords = dso_local local_unnamed_addr global ptr null, align 8 @tomoyo_pp2mac = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @tomoyo_audit_path2_log], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @tomoyo_audit_path2_log(ptr noundef %0) #0 { %2 = load ptr, ptr @tomoyo_mac_keywords, align 8, !tbaa !5 %3 = load ptr, ptr @tomoyo_pp2mac, align 8, !tbaa !5 %4 = load i64, ptr %0, align 8, !tbaa !9 %5 = getelementptr inbounds i64, ptr %3, i64 %4 %6 = load i64, ptr %5, align 8, !tbaa !14 %7 = getelementptr inbounds i32, ptr %2, i64 %6 %8 = load i32, ptr %7, align 4, !tbaa !15 %9 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2 %10 = load ptr, ptr %9, align 8, !tbaa !17 %11 = load i32, ptr %10, align 4, !tbaa !18 %12 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %13 = load ptr, ptr %12, align 8, !tbaa !20 %14 = load i32, ptr %13, align 4, !tbaa !21 %15 = tail call i32 @tomoyo_supervisor(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %8, i32 noundef %11, i32 noundef %14) #2 ret i32 %15 } declare i32 @tomoyo_supervisor(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, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !13, i64 0} !10 = !{!"tomoyo_request_info", !11, i64 0} !11 = !{!"TYPE_8__", !12, i64 0} !12 = !{!"TYPE_7__", !13, i64 0, !6, i64 8, !6, i64 16} !13 = !{!"long", !7, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"int", !7, i64 0} !17 = !{!10, !6, i64 16} !18 = !{!19, !16, i64 0} !19 = !{!"TYPE_5__", !16, i64 0} !20 = !{!10, !6, i64 8} !21 = !{!22, !16, i64 0} !22 = !{!"TYPE_6__", !16, i64 0}
; ModuleID = 'AnghaBench/linux/security/tomoyo/extr_file.c_tomoyo_audit_path2_log.c' source_filename = "AnghaBench/linux/security/tomoyo/extr_file.c_tomoyo_audit_path2_log.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 i8] c"file %s %s %s\0A\00", align 1 @tomoyo_mac_keywords = common local_unnamed_addr global ptr null, align 8 @tomoyo_pp2mac = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @tomoyo_audit_path2_log], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @tomoyo_audit_path2_log(ptr noundef %0) #0 { %2 = load ptr, ptr @tomoyo_mac_keywords, align 8, !tbaa !6 %3 = load ptr, ptr @tomoyo_pp2mac, align 8, !tbaa !6 %4 = load i64, ptr %0, align 8, !tbaa !10 %5 = getelementptr inbounds i64, ptr %3, i64 %4 %6 = load i64, ptr %5, align 8, !tbaa !15 %7 = getelementptr inbounds i32, ptr %2, i64 %6 %8 = load i32, ptr %7, align 4, !tbaa !16 %9 = getelementptr inbounds i8, ptr %0, i64 16 %10 = load ptr, ptr %9, align 8, !tbaa !18 %11 = load i32, ptr %10, align 4, !tbaa !19 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !21 %14 = load i32, ptr %13, align 4, !tbaa !22 %15 = tail call i32 @tomoyo_supervisor(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %8, i32 noundef %11, i32 noundef %14) #2 ret i32 %15 } declare i32 @tomoyo_supervisor(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, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !14, i64 0} !11 = !{!"tomoyo_request_info", !12, i64 0} !12 = !{!"TYPE_8__", !13, i64 0} !13 = !{!"TYPE_7__", !14, i64 0, !7, i64 8, !7, i64 16} !14 = !{!"long", !8, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"int", !8, i64 0} !18 = !{!11, !7, i64 16} !19 = !{!20, !17, i64 0} !20 = !{!"TYPE_5__", !17, i64 0} !21 = !{!11, !7, i64 8} !22 = !{!23, !17, i64 0} !23 = !{!"TYPE_6__", !17, i64 0}
linux_security_tomoyo_extr_file.c_tomoyo_audit_path2_log
; ModuleID = 'AnghaBench/darwin-xnu/san/extr_kasan-memintrinsics.c___asan_strlcat.c' source_filename = "AnghaBench/darwin-xnu/san/extr_kasan-memintrinsics.c___asan_strlcat.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TYPE_STRW = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i64 @__asan_strlcat(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @TYPE_STRW, align 4, !tbaa !5 %5 = tail call i32 @kasan_check_range(ptr noundef %0, i64 noundef %2, i32 noundef %4) #2 %6 = tail call i64 @__nosan_strlcat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #2 ret i64 %6 } declare i32 @kasan_check_range(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @__nosan_strlcat(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/darwin-xnu/san/extr_kasan-memintrinsics.c___asan_strlcat.c' source_filename = "AnghaBench/darwin-xnu/san/extr_kasan-memintrinsics.c___asan_strlcat.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TYPE_STRW = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @__asan_strlcat(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @TYPE_STRW, align 4, !tbaa !6 %5 = tail call i32 @kasan_check_range(ptr noundef %0, i64 noundef %2, i32 noundef %4) #2 %6 = tail call i64 @__nosan_strlcat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #2 ret i64 %6 } declare i32 @kasan_check_range(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @__nosan_strlcat(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
darwin-xnu_san_extr_kasan-memintrinsics.c___asan_strlcat
; ModuleID = 'AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_input.c_INPUT_Initialise.c' source_filename = "AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_input.c_INPUT_Initialise.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"-mouse\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"off\00", align 1 @INPUT_MOUSE_OFF = dso_local local_unnamed_addr global i64 0, align 8 @INPUT_mouse_mode = dso_local local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [4 x i8] c"pad\00", align 1 @INPUT_MOUSE_PAD = dso_local local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [6 x i8] c"touch\00", align 1 @INPUT_MOUSE_TOUCH = dso_local local_unnamed_addr global i64 0, align 8 @.str.4 = private unnamed_addr constant [6 x i8] c"koala\00", align 1 @INPUT_MOUSE_KOALA = dso_local local_unnamed_addr global i64 0, align 8 @.str.5 = private unnamed_addr constant [4 x i8] c"pen\00", align 1 @INPUT_MOUSE_PEN = dso_local local_unnamed_addr global i64 0, align 8 @.str.6 = private unnamed_addr constant [4 x i8] c"gun\00", align 1 @INPUT_MOUSE_GUN = dso_local local_unnamed_addr global i64 0, align 8 @.str.7 = private unnamed_addr constant [6 x i8] c"amiga\00", align 1 @INPUT_MOUSE_AMIGA = dso_local local_unnamed_addr global i64 0, align 8 @.str.8 = private unnamed_addr constant [3 x i8] c"st\00", align 1 @INPUT_MOUSE_ST = dso_local local_unnamed_addr global i64 0, align 8 @.str.9 = private unnamed_addr constant [5 x i8] c"trak\00", align 1 @INPUT_MOUSE_TRAK = dso_local local_unnamed_addr global i64 0, align 8 @.str.10 = private unnamed_addr constant [4 x i8] c"joy\00", align 1 @INPUT_MOUSE_JOY = dso_local local_unnamed_addr global i64 0, align 8 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @.str.11 = private unnamed_addr constant [11 x i8] c"-mouseport\00", align 1 @INPUT_mouse_port = dso_local local_unnamed_addr global i32 0, align 4 @.str.12 = private unnamed_addr constant [54 x i8] c"Invalid mouse port number - should be between 0 and 3\00", align 1 @.str.13 = private unnamed_addr constant [12 x i8] c"-mousespeed\00", align 1 @INPUT_mouse_speed = dso_local local_unnamed_addr global i32 0, align 4 @.str.14 = private unnamed_addr constant [48 x i8] c"Invalid mouse speed - should be between 1 and 9\00", align 1 @.str.15 = private unnamed_addr constant [10 x i8] c"-multijoy\00", align 1 @INPUT_joy_multijoy = dso_local local_unnamed_addr global i32 0, align 4 @.str.16 = private unnamed_addr constant [13 x i8] c"-directmouse\00", align 1 @INPUT_direct_mouse = dso_local local_unnamed_addr global i32 0, align 4 @.str.17 = private unnamed_addr constant [6 x i8] c"-cx85\00", align 1 @INPUT_cx85 = dso_local local_unnamed_addr global i32 0, align 4 @cx85_port = dso_local local_unnamed_addr global i32 0, align 4 @.str.18 = private unnamed_addr constant [46 x i8] c"Invalid cx85 port - should be between 0 and 3\00", align 1 @.str.19 = private unnamed_addr constant [6 x i8] c"-help\00", align 1 @.str.20 = private unnamed_addr constant [35 x i8] c"\09-mouse off Do not use mouse\00", align 1 @.str.21 = private unnamed_addr constant [34 x i8] c"\09-mouse pad Emulate paddles\00", align 1 @.str.22 = private unnamed_addr constant [45 x i8] c"\09-mouse touch Emulate Atari Touch Tablet\00", align 1 @.str.23 = private unnamed_addr constant [36 x i8] c"\09-mouse koala Emulate Koala Pad\00", align 1 @.str.24 = private unnamed_addr constant [36 x i8] c"\09-mouse pen Emulate Light Pen\00", align 1 @.str.25 = private unnamed_addr constant [36 x i8] c"\09-mouse gun Emulate Light Gun\00", align 1 @.str.26 = private unnamed_addr constant [38 x i8] c"\09-mouse amiga Emulate Amiga mouse\00", align 1 @.str.27 = private unnamed_addr constant [41 x i8] c"\09-mouse st Emulate Atari ST mouse\00", align 1 @.str.28 = private unnamed_addr constant [42 x i8] c"\09-mouse trak Emulate Atari Trak-Ball\00", align 1 @.str.29 = private unnamed_addr constant [47 x i8] c"\09-mouse joy Emulate joystick using mouse\00", align 1 @.str.30 = private unnamed_addr constant [49 x i8] c"\09-mouseport <n> Set mouse port 1-4 (default 1)\00", align 1 @.str.31 = private unnamed_addr constant [50 x i8] c"\09-mousespeed <n> Set mouse speed 1-9 (default 3)\00", align 1 @.str.32 = private unnamed_addr constant [48 x i8] c"\09-directmouse Use absolute X/Y mouse coords\00", align 1 @.str.33 = private unnamed_addr constant [58 x i8] c"\09-cx85 <n> Emulate CX85 numeric keypad on port <n>\00", align 1 @.str.34 = private unnamed_addr constant [46 x i8] c"\09-multijoy Emulate MultiJoy4 interface\00", align 1 @.str.35 = private unnamed_addr constant [41 x i8] c"\09-record <file> Record input to <file>\00", align 1 @.str.36 = private unnamed_addr constant [45 x i8] c"\09-playback <file> Playback input from <file>\00", align 1 @.str.37 = private unnamed_addr constant [26 x i8] c"Missing argument for '%s'\00", align 1 @.str.38 = private unnamed_addr constant [52 x i8] c"-directmouse only valid with -mouse pad|touch|koala\00", align 1 @EVENT_RECORDING_VERSION = dso_local local_unnamed_addr global i64 0, align 8 @GZBUFSIZE = dso_local local_unnamed_addr global i32 0, align 4 @gzbuf = dso_local local_unnamed_addr global i32 0, align 4 @playbackfp = dso_local local_unnamed_addr global ptr null, align 8 @playingback = dso_local local_unnamed_addr global i32 0, align 4 @recordfp = dso_local local_unnamed_addr global ptr null, align 8 @recording = dso_local local_unnamed_addr global i32 0, align 4 @recording_version = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @INPUT_Initialise(ptr nocapture noundef %0, ptr nocapture noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = icmp sgt i32 %3, 1 br i1 %4, label %5, label %174 5: ; preds = %2, %170 %6 = phi i32 [ %172, %170 ], [ %3, %2 ] %7 = phi i32 [ %171, %170 ], [ 1, %2 ] %8 = phi i32 [ %161, %170 ], [ 1, %2 ] %9 = add nsw i32 %7, 1 %10 = icmp slt i32 %9, %6 %11 = load i32, ptr @FALSE, align 4, !tbaa !5 %12 = sext i32 %7 to i64 %13 = getelementptr inbounds ptr, ptr %1, i64 %12 %14 = load ptr, ptr %13, align 8, !tbaa !9 %15 = tail call i64 @strcmp(ptr noundef %14, ptr noundef nonnull @.str) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %73 17: ; preds = %5 br i1 %10, label %18, label %71 18: ; preds = %17 %19 = sext i32 %9 to i64 %20 = getelementptr inbounds ptr, ptr %1, i64 %19 %21 = load ptr, ptr %20, align 8, !tbaa !9 %22 = tail call i64 @strcmp(ptr noundef %21, ptr noundef nonnull @.str.1) #2 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %18 %25 = load i64, ptr @INPUT_MOUSE_OFF, align 8, !tbaa !11 store i64 %25, ptr @INPUT_mouse_mode, align 8, !tbaa !11 br label %160 26: ; preds = %18 %27 = tail call i64 @strcmp(ptr noundef %21, ptr noundef nonnull @.str.2) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = load i64, ptr @INPUT_MOUSE_PAD, align 8, !tbaa !11 store i64 %30, ptr @INPUT_mouse_mode, align 8, !tbaa !11 br label %160 31: ; preds = %26 %32 = tail call i64 @strcmp(ptr noundef %21, ptr noundef nonnull @.str.3) #2 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %31 %35 = load i64, ptr @INPUT_MOUSE_TOUCH, align 8, !tbaa !11 store i64 %35, ptr @INPUT_mouse_mode, align 8, !tbaa !11 br label %160 36: ; preds = %31 %37 = tail call i64 @strcmp(ptr noundef %21, ptr noundef nonnull @.str.4) #2 %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %36 %40 = load i64, ptr @INPUT_MOUSE_KOALA, align 8, !tbaa !11 store i64 %40, ptr @INPUT_mouse_mode, align 8, !tbaa !11 br label %160 41: ; preds = %36 %42 = tail call i64 @strcmp(ptr noundef %21, ptr noundef nonnull @.str.5) #2 %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %46 44: ; preds = %41 %45 = load i64, ptr @INPUT_MOUSE_PEN, align 8, !tbaa !11 store i64 %45, ptr @INPUT_mouse_mode, align 8, !tbaa !11 br label %160 46: ; preds = %41 %47 = tail call i64 @strcmp(ptr noundef %21, ptr noundef nonnull @.str.6) #2 %48 = icmp eq i64 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = load i64, ptr @INPUT_MOUSE_GUN, align 8, !tbaa !11 store i64 %50, ptr @INPUT_mouse_mode, align 8, !tbaa !11 br label %160 51: ; preds = %46 %52 = tail call i64 @strcmp(ptr noundef %21, ptr noundef nonnull @.str.7) #2 %53 = icmp eq i64 %52, 0 br i1 %53, label %54, label %56 54: ; preds = %51 %55 = load i64, ptr @INPUT_MOUSE_AMIGA, align 8, !tbaa !11 store i64 %55, ptr @INPUT_mouse_mode, align 8, !tbaa !11 br label %160 56: ; preds = %51 %57 = tail call i64 @strcmp(ptr noundef %21, ptr noundef nonnull @.str.8) #2 %58 = icmp eq i64 %57, 0 br i1 %58, label %59, label %61 59: ; preds = %56 %60 = load i64, ptr @INPUT_MOUSE_ST, align 8, !tbaa !11 store i64 %60, ptr @INPUT_mouse_mode, align 8, !tbaa !11 br label %160 61: ; preds = %56 %62 = tail call i64 @strcmp(ptr noundef %21, ptr noundef nonnull @.str.9) #2 %63 = icmp eq i64 %62, 0 br i1 %63, label %64, label %66 64: ; preds = %61 %65 = load i64, ptr @INPUT_MOUSE_TRAK, align 8, !tbaa !11 store i64 %65, ptr @INPUT_mouse_mode, align 8, !tbaa !11 br label %160 66: ; preds = %61 %67 = tail call i64 @strcmp(ptr noundef %21, ptr noundef nonnull @.str.10) #2 %68 = icmp eq i64 %67, 0 br i1 %68, label %69, label %160 69: ; preds = %66 %70 = load i64, ptr @INPUT_MOUSE_JOY, align 8, !tbaa !11 store i64 %70, ptr @INPUT_mouse_mode, align 8, !tbaa !11 br label %160 71: ; preds = %17 %72 = load i32, ptr @TRUE, align 4, !tbaa !5 br label %160 73: ; preds = %5 %74 = load ptr, ptr %13, align 8, !tbaa !9 %75 = tail call i64 @strcmp(ptr noundef %74, ptr noundef nonnull @.str.11) #2 %76 = icmp eq i64 %75, 0 br i1 %76, label %77, label %90 77: ; preds = %73 br i1 %10, label %78, label %88 78: ; preds = %77 %79 = sext i32 %9 to i64 %80 = getelementptr inbounds ptr, ptr %1, i64 %79 %81 = load ptr, ptr %80, align 8, !tbaa !9 %82 = tail call i32 @Util_sscandec(ptr noundef %81) #2 %83 = add nsw i32 %82, -1 store i32 %83, ptr @INPUT_mouse_port, align 4, !tbaa !5 %84 = add i32 %82, -5 %85 = icmp ult i32 %84, -4 br i1 %85, label %86, label %160 86: ; preds = %78 %87 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.12) #2 br label %192 88: ; preds = %77 %89 = load i32, ptr @TRUE, align 4, !tbaa !5 br label %160 90: ; preds = %73 %91 = load ptr, ptr %13, align 8, !tbaa !9 %92 = tail call i64 @strcmp(ptr noundef %91, ptr noundef nonnull @.str.13) #2 %93 = icmp eq i64 %92, 0 br i1 %93, label %94, label %106 94: ; preds = %90 br i1 %10, label %95, label %104 95: ; preds = %94 %96 = sext i32 %9 to i64 %97 = getelementptr inbounds ptr, ptr %1, i64 %96 %98 = load ptr, ptr %97, align 8, !tbaa !9 %99 = tail call i32 @Util_sscandec(ptr noundef %98) #2 store i32 %99, ptr @INPUT_mouse_speed, align 4, !tbaa !5 %100 = add i32 %99, -10 %101 = icmp ult i32 %100, -9 br i1 %101, label %102, label %160 102: ; preds = %95 %103 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.14) #2 br label %192 104: ; preds = %94 %105 = load i32, ptr @TRUE, align 4, !tbaa !5 br label %160 106: ; preds = %90 %107 = load ptr, ptr %13, align 8, !tbaa !9 %108 = tail call i64 @strcmp(ptr noundef %107, ptr noundef nonnull @.str.15) #2 %109 = icmp eq i64 %108, 0 br i1 %109, label %110, label %111 110: ; preds = %106 store i32 1, ptr @INPUT_joy_multijoy, align 4, !tbaa !5 br label %160 111: ; preds = %106 %112 = load ptr, ptr %13, align 8, !tbaa !9 %113 = tail call i64 @strcmp(ptr noundef %112, ptr noundef nonnull @.str.16) #2 %114 = icmp eq i64 %113, 0 br i1 %114, label %115, label %116 115: ; preds = %111 store i32 1, ptr @INPUT_direct_mouse, align 4, !tbaa !5 br label %160 116: ; preds = %111 %117 = load ptr, ptr %13, align 8, !tbaa !9 %118 = tail call i64 @strcmp(ptr noundef %117, ptr noundef nonnull @.str.17) #2 %119 = icmp eq i64 %118, 0 br i1 %119, label %120, label %133 120: ; preds = %116 br i1 %10, label %121, label %131 121: ; preds = %120 store i32 1, ptr @INPUT_cx85, align 4, !tbaa !5 %122 = sext i32 %9 to i64 %123 = getelementptr inbounds ptr, ptr %1, i64 %122 %124 = load ptr, ptr %123, align 8, !tbaa !9 %125 = tail call i32 @Util_sscandec(ptr noundef %124) #2 %126 = add nsw i32 %125, -1 store i32 %126, ptr @cx85_port, align 4, !tbaa !5 %127 = add i32 %125, -5 %128 = icmp ult i32 %127, -4 br i1 %128, label %129, label %160 129: ; preds = %121 %130 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.18) #2 br label %192 131: ; preds = %120 %132 = load i32, ptr @TRUE, align 4, !tbaa !5 br label %160 133: ; preds = %116 %134 = load ptr, ptr %13, align 8, !tbaa !9 %135 = tail call i64 @strcmp(ptr noundef %134, ptr noundef nonnull @.str.19) #2 %136 = icmp eq i64 %135, 0 br i1 %136, label %137, label %155 137: ; preds = %133 %138 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.20) #2 %139 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.21) #2 %140 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.22) #2 %141 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.23) #2 %142 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.24) #2 %143 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.25) #2 %144 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.26) #2 %145 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.27) #2 %146 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.28) #2 %147 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.29) #2 %148 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.30) #2 %149 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.31) #2 %150 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.32) #2 %151 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.33) #2 %152 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.34) #2 %153 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.35) #2 %154 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.36) #2 br label %155 155: ; preds = %137, %133 %156 = load ptr, ptr %13, align 8, !tbaa !9 %157 = add nsw i32 %8, 1 %158 = sext i32 %8 to i64 %159 = getelementptr inbounds ptr, ptr %1, i64 %158 store ptr %156, ptr %159, align 8, !tbaa !9 br label %160 160: ; preds = %24, %34, %44, %54, %64, %69, %66, %59, %49, %39, %29, %78, %88, %110, %155, %121, %131, %115, %104, %95, %71 %161 = phi i32 [ %8, %71 ], [ %8, %78 ], [ %8, %88 ], [ %8, %95 ], [ %8, %104 ], [ %8, %110 ], [ %8, %115 ], [ %8, %121 ], [ %8, %131 ], [ %157, %155 ], [ %8, %29 ], [ %8, %39 ], [ %8, %49 ], [ %8, %59 ], [ %8, %66 ], [ %8, %69 ], [ %8, %64 ], [ %8, %54 ], [ %8, %44 ], [ %8, %34 ], [ %8, %24 ] %162 = phi i32 [ %7, %71 ], [ %9, %78 ], [ %7, %88 ], [ %9, %95 ], [ %7, %104 ], [ %7, %110 ], [ %7, %115 ], [ %9, %121 ], [ %7, %131 ], [ %7, %155 ], [ %9, %29 ], [ %9, %39 ], [ %9, %49 ], [ %9, %59 ], [ %9, %66 ], [ %9, %69 ], [ %9, %64 ], [ %9, %54 ], [ %9, %44 ], [ %9, %34 ], [ %9, %24 ] %163 = phi i32 [ %72, %71 ], [ %11, %78 ], [ %89, %88 ], [ %11, %95 ], [ %105, %104 ], [ %11, %110 ], [ %11, %115 ], [ %11, %121 ], [ %132, %131 ], [ %11, %155 ], [ %11, %29 ], [ %11, %39 ], [ %11, %49 ], [ %11, %59 ], [ %11, %66 ], [ %11, %69 ], [ %11, %64 ], [ %11, %54 ], [ %11, %44 ], [ %11, %34 ], [ %11, %24 ] %164 = icmp eq i32 %163, 0 br i1 %164, label %170, label %165 165: ; preds = %160 %166 = sext i32 %162 to i64 %167 = getelementptr inbounds ptr, ptr %1, i64 %166 %168 = load ptr, ptr %167, align 8, !tbaa !9 %169 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.37, ptr noundef %168) #2 br label %192 170: ; preds = %160 %171 = add nsw i32 %162, 1 %172 = load i32, ptr %0, align 4, !tbaa !5 %173 = icmp slt i32 %171, %172 br i1 %173, label %5, label %174, !llvm.loop !13 174: ; preds = %170, %2 %175 = phi i32 [ 1, %2 ], [ %161, %170 ] %176 = load i32, ptr @INPUT_direct_mouse, align 4, !tbaa !5 %177 = icmp eq i32 %176, 0 br i1 %177, label %190, label %178 178: ; preds = %174 %179 = load i64, ptr @INPUT_mouse_mode, align 8, !tbaa !11 %180 = load i64, ptr @INPUT_MOUSE_PAD, align 8, !tbaa !11 %181 = icmp eq i64 %179, %180 %182 = load i64, ptr @INPUT_MOUSE_TOUCH, align 8 %183 = icmp eq i64 %179, %182 %184 = select i1 %181, i1 true, i1 %183 %185 = load i64, ptr @INPUT_MOUSE_KOALA, align 8 %186 = icmp eq i64 %179, %185 %187 = select i1 %184, i1 true, i1 %186 br i1 %187, label %190, label %188 188: ; preds = %178 %189 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.38) #2 br label %192 190: ; preds = %178, %174 %191 = tail call i32 (...) @INPUT_CenterMousePointer() #2 store i32 %175, ptr %0, align 4, !tbaa !5 br label %192 192: ; preds = %129, %102, %86, %165, %190, %188 %193 = phi ptr [ @TRUE, %190 ], [ @FALSE, %188 ], [ @FALSE, %129 ], [ @FALSE, %102 ], [ @FALSE, %86 ], [ @FALSE, %165 ] %194 = load i32, ptr %193, align 4, !tbaa !5 ret i32 %194 } declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @Util_sscandec(ptr noundef) local_unnamed_addr #1 declare i32 @Log_print(ptr noundef, ...) local_unnamed_addr #1 declare i32 @INPUT_CenterMousePointer(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_input.c_INPUT_Initialise.c' source_filename = "AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_input.c_INPUT_Initialise.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 @.str = private unnamed_addr constant [7 x i8] c"-mouse\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"off\00", align 1 @INPUT_MOUSE_OFF = common local_unnamed_addr global i64 0, align 8 @INPUT_mouse_mode = common local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [4 x i8] c"pad\00", align 1 @INPUT_MOUSE_PAD = common local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [6 x i8] c"touch\00", align 1 @INPUT_MOUSE_TOUCH = common local_unnamed_addr global i64 0, align 8 @.str.4 = private unnamed_addr constant [6 x i8] c"koala\00", align 1 @INPUT_MOUSE_KOALA = common local_unnamed_addr global i64 0, align 8 @.str.5 = private unnamed_addr constant [4 x i8] c"pen\00", align 1 @INPUT_MOUSE_PEN = common local_unnamed_addr global i64 0, align 8 @.str.6 = private unnamed_addr constant [4 x i8] c"gun\00", align 1 @INPUT_MOUSE_GUN = common local_unnamed_addr global i64 0, align 8 @.str.7 = private unnamed_addr constant [6 x i8] c"amiga\00", align 1 @INPUT_MOUSE_AMIGA = common local_unnamed_addr global i64 0, align 8 @.str.8 = private unnamed_addr constant [3 x i8] c"st\00", align 1 @INPUT_MOUSE_ST = common local_unnamed_addr global i64 0, align 8 @.str.9 = private unnamed_addr constant [5 x i8] c"trak\00", align 1 @INPUT_MOUSE_TRAK = common local_unnamed_addr global i64 0, align 8 @.str.10 = private unnamed_addr constant [4 x i8] c"joy\00", align 1 @INPUT_MOUSE_JOY = common local_unnamed_addr global i64 0, align 8 @TRUE = common local_unnamed_addr global i32 0, align 4 @.str.11 = private unnamed_addr constant [11 x i8] c"-mouseport\00", align 1 @INPUT_mouse_port = common local_unnamed_addr global i32 0, align 4 @.str.12 = private unnamed_addr constant [54 x i8] c"Invalid mouse port number - should be between 0 and 3\00", align 1 @.str.13 = private unnamed_addr constant [12 x i8] c"-mousespeed\00", align 1 @INPUT_mouse_speed = common local_unnamed_addr global i32 0, align 4 @.str.14 = private unnamed_addr constant [48 x i8] c"Invalid mouse speed - should be between 1 and 9\00", align 1 @.str.15 = private unnamed_addr constant [10 x i8] c"-multijoy\00", align 1 @INPUT_joy_multijoy = common local_unnamed_addr global i32 0, align 4 @.str.16 = private unnamed_addr constant [13 x i8] c"-directmouse\00", align 1 @INPUT_direct_mouse = common local_unnamed_addr global i32 0, align 4 @.str.17 = private unnamed_addr constant [6 x i8] c"-cx85\00", align 1 @INPUT_cx85 = common local_unnamed_addr global i32 0, align 4 @cx85_port = common local_unnamed_addr global i32 0, align 4 @.str.18 = private unnamed_addr constant [46 x i8] c"Invalid cx85 port - should be between 0 and 3\00", align 1 @.str.19 = private unnamed_addr constant [6 x i8] c"-help\00", align 1 @.str.20 = private unnamed_addr constant [35 x i8] c"\09-mouse off Do not use mouse\00", align 1 @.str.21 = private unnamed_addr constant [34 x i8] c"\09-mouse pad Emulate paddles\00", align 1 @.str.22 = private unnamed_addr constant [45 x i8] c"\09-mouse touch Emulate Atari Touch Tablet\00", align 1 @.str.23 = private unnamed_addr constant [36 x i8] c"\09-mouse koala Emulate Koala Pad\00", align 1 @.str.24 = private unnamed_addr constant [36 x i8] c"\09-mouse pen Emulate Light Pen\00", align 1 @.str.25 = private unnamed_addr constant [36 x i8] c"\09-mouse gun Emulate Light Gun\00", align 1 @.str.26 = private unnamed_addr constant [38 x i8] c"\09-mouse amiga Emulate Amiga mouse\00", align 1 @.str.27 = private unnamed_addr constant [41 x i8] c"\09-mouse st Emulate Atari ST mouse\00", align 1 @.str.28 = private unnamed_addr constant [42 x i8] c"\09-mouse trak Emulate Atari Trak-Ball\00", align 1 @.str.29 = private unnamed_addr constant [47 x i8] c"\09-mouse joy Emulate joystick using mouse\00", align 1 @.str.30 = private unnamed_addr constant [49 x i8] c"\09-mouseport <n> Set mouse port 1-4 (default 1)\00", align 1 @.str.31 = private unnamed_addr constant [50 x i8] c"\09-mousespeed <n> Set mouse speed 1-9 (default 3)\00", align 1 @.str.32 = private unnamed_addr constant [48 x i8] c"\09-directmouse Use absolute X/Y mouse coords\00", align 1 @.str.33 = private unnamed_addr constant [58 x i8] c"\09-cx85 <n> Emulate CX85 numeric keypad on port <n>\00", align 1 @.str.34 = private unnamed_addr constant [46 x i8] c"\09-multijoy Emulate MultiJoy4 interface\00", align 1 @.str.35 = private unnamed_addr constant [41 x i8] c"\09-record <file> Record input to <file>\00", align 1 @.str.36 = private unnamed_addr constant [45 x i8] c"\09-playback <file> Playback input from <file>\00", align 1 @.str.37 = private unnamed_addr constant [26 x i8] c"Missing argument for '%s'\00", align 1 @.str.38 = private unnamed_addr constant [52 x i8] c"-directmouse only valid with -mouse pad|touch|koala\00", align 1 @EVENT_RECORDING_VERSION = common local_unnamed_addr global i64 0, align 8 @GZBUFSIZE = common local_unnamed_addr global i32 0, align 4 @gzbuf = common local_unnamed_addr global i32 0, align 4 @playbackfp = common local_unnamed_addr global ptr null, align 8 @playingback = common local_unnamed_addr global i32 0, align 4 @recordfp = common local_unnamed_addr global ptr null, align 8 @recording = common local_unnamed_addr global i32 0, align 4 @recording_version = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @INPUT_Initialise(ptr nocapture noundef %0, ptr nocapture noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = icmp sgt i32 %3, 1 br i1 %4, label %5, label %174 5: ; preds = %2, %170 %6 = phi i32 [ %172, %170 ], [ %3, %2 ] %7 = phi i32 [ %171, %170 ], [ 1, %2 ] %8 = phi i32 [ %161, %170 ], [ 1, %2 ] %9 = add nsw i32 %7, 1 %10 = icmp slt i32 %9, %6 %11 = load i32, ptr @FALSE, align 4, !tbaa !6 %12 = sext i32 %7 to i64 %13 = getelementptr inbounds ptr, ptr %1, i64 %12 %14 = load ptr, ptr %13, align 8, !tbaa !10 %15 = tail call i64 @strcmp(ptr noundef %14, ptr noundef nonnull @.str) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %73 17: ; preds = %5 br i1 %10, label %18, label %71 18: ; preds = %17 %19 = sext i32 %9 to i64 %20 = getelementptr inbounds ptr, ptr %1, i64 %19 %21 = load ptr, ptr %20, align 8, !tbaa !10 %22 = tail call i64 @strcmp(ptr noundef %21, ptr noundef nonnull @.str.1) #2 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %18 %25 = load i64, ptr @INPUT_MOUSE_OFF, align 8, !tbaa !12 store i64 %25, ptr @INPUT_mouse_mode, align 8, !tbaa !12 br label %160 26: ; preds = %18 %27 = tail call i64 @strcmp(ptr noundef %21, ptr noundef nonnull @.str.2) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = load i64, ptr @INPUT_MOUSE_PAD, align 8, !tbaa !12 store i64 %30, ptr @INPUT_mouse_mode, align 8, !tbaa !12 br label %160 31: ; preds = %26 %32 = tail call i64 @strcmp(ptr noundef %21, ptr noundef nonnull @.str.3) #2 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %31 %35 = load i64, ptr @INPUT_MOUSE_TOUCH, align 8, !tbaa !12 store i64 %35, ptr @INPUT_mouse_mode, align 8, !tbaa !12 br label %160 36: ; preds = %31 %37 = tail call i64 @strcmp(ptr noundef %21, ptr noundef nonnull @.str.4) #2 %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %36 %40 = load i64, ptr @INPUT_MOUSE_KOALA, align 8, !tbaa !12 store i64 %40, ptr @INPUT_mouse_mode, align 8, !tbaa !12 br label %160 41: ; preds = %36 %42 = tail call i64 @strcmp(ptr noundef %21, ptr noundef nonnull @.str.5) #2 %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %46 44: ; preds = %41 %45 = load i64, ptr @INPUT_MOUSE_PEN, align 8, !tbaa !12 store i64 %45, ptr @INPUT_mouse_mode, align 8, !tbaa !12 br label %160 46: ; preds = %41 %47 = tail call i64 @strcmp(ptr noundef %21, ptr noundef nonnull @.str.6) #2 %48 = icmp eq i64 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = load i64, ptr @INPUT_MOUSE_GUN, align 8, !tbaa !12 store i64 %50, ptr @INPUT_mouse_mode, align 8, !tbaa !12 br label %160 51: ; preds = %46 %52 = tail call i64 @strcmp(ptr noundef %21, ptr noundef nonnull @.str.7) #2 %53 = icmp eq i64 %52, 0 br i1 %53, label %54, label %56 54: ; preds = %51 %55 = load i64, ptr @INPUT_MOUSE_AMIGA, align 8, !tbaa !12 store i64 %55, ptr @INPUT_mouse_mode, align 8, !tbaa !12 br label %160 56: ; preds = %51 %57 = tail call i64 @strcmp(ptr noundef %21, ptr noundef nonnull @.str.8) #2 %58 = icmp eq i64 %57, 0 br i1 %58, label %59, label %61 59: ; preds = %56 %60 = load i64, ptr @INPUT_MOUSE_ST, align 8, !tbaa !12 store i64 %60, ptr @INPUT_mouse_mode, align 8, !tbaa !12 br label %160 61: ; preds = %56 %62 = tail call i64 @strcmp(ptr noundef %21, ptr noundef nonnull @.str.9) #2 %63 = icmp eq i64 %62, 0 br i1 %63, label %64, label %66 64: ; preds = %61 %65 = load i64, ptr @INPUT_MOUSE_TRAK, align 8, !tbaa !12 store i64 %65, ptr @INPUT_mouse_mode, align 8, !tbaa !12 br label %160 66: ; preds = %61 %67 = tail call i64 @strcmp(ptr noundef %21, ptr noundef nonnull @.str.10) #2 %68 = icmp eq i64 %67, 0 br i1 %68, label %69, label %160 69: ; preds = %66 %70 = load i64, ptr @INPUT_MOUSE_JOY, align 8, !tbaa !12 store i64 %70, ptr @INPUT_mouse_mode, align 8, !tbaa !12 br label %160 71: ; preds = %17 %72 = load i32, ptr @TRUE, align 4, !tbaa !6 br label %160 73: ; preds = %5 %74 = load ptr, ptr %13, align 8, !tbaa !10 %75 = tail call i64 @strcmp(ptr noundef %74, ptr noundef nonnull @.str.11) #2 %76 = icmp eq i64 %75, 0 br i1 %76, label %77, label %90 77: ; preds = %73 br i1 %10, label %78, label %88 78: ; preds = %77 %79 = sext i32 %9 to i64 %80 = getelementptr inbounds ptr, ptr %1, i64 %79 %81 = load ptr, ptr %80, align 8, !tbaa !10 %82 = tail call i32 @Util_sscandec(ptr noundef %81) #2 %83 = add nsw i32 %82, -1 store i32 %83, ptr @INPUT_mouse_port, align 4, !tbaa !6 %84 = add i32 %82, -5 %85 = icmp ult i32 %84, -4 br i1 %85, label %86, label %160 86: ; preds = %78 %87 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.12) #2 br label %192 88: ; preds = %77 %89 = load i32, ptr @TRUE, align 4, !tbaa !6 br label %160 90: ; preds = %73 %91 = load ptr, ptr %13, align 8, !tbaa !10 %92 = tail call i64 @strcmp(ptr noundef %91, ptr noundef nonnull @.str.13) #2 %93 = icmp eq i64 %92, 0 br i1 %93, label %94, label %106 94: ; preds = %90 br i1 %10, label %95, label %104 95: ; preds = %94 %96 = sext i32 %9 to i64 %97 = getelementptr inbounds ptr, ptr %1, i64 %96 %98 = load ptr, ptr %97, align 8, !tbaa !10 %99 = tail call i32 @Util_sscandec(ptr noundef %98) #2 store i32 %99, ptr @INPUT_mouse_speed, align 4, !tbaa !6 %100 = add i32 %99, -10 %101 = icmp ult i32 %100, -9 br i1 %101, label %102, label %160 102: ; preds = %95 %103 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.14) #2 br label %192 104: ; preds = %94 %105 = load i32, ptr @TRUE, align 4, !tbaa !6 br label %160 106: ; preds = %90 %107 = load ptr, ptr %13, align 8, !tbaa !10 %108 = tail call i64 @strcmp(ptr noundef %107, ptr noundef nonnull @.str.15) #2 %109 = icmp eq i64 %108, 0 br i1 %109, label %110, label %111 110: ; preds = %106 store i32 1, ptr @INPUT_joy_multijoy, align 4, !tbaa !6 br label %160 111: ; preds = %106 %112 = load ptr, ptr %13, align 8, !tbaa !10 %113 = tail call i64 @strcmp(ptr noundef %112, ptr noundef nonnull @.str.16) #2 %114 = icmp eq i64 %113, 0 br i1 %114, label %115, label %116 115: ; preds = %111 store i32 1, ptr @INPUT_direct_mouse, align 4, !tbaa !6 br label %160 116: ; preds = %111 %117 = load ptr, ptr %13, align 8, !tbaa !10 %118 = tail call i64 @strcmp(ptr noundef %117, ptr noundef nonnull @.str.17) #2 %119 = icmp eq i64 %118, 0 br i1 %119, label %120, label %133 120: ; preds = %116 br i1 %10, label %121, label %131 121: ; preds = %120 store i32 1, ptr @INPUT_cx85, align 4, !tbaa !6 %122 = sext i32 %9 to i64 %123 = getelementptr inbounds ptr, ptr %1, i64 %122 %124 = load ptr, ptr %123, align 8, !tbaa !10 %125 = tail call i32 @Util_sscandec(ptr noundef %124) #2 %126 = add nsw i32 %125, -1 store i32 %126, ptr @cx85_port, align 4, !tbaa !6 %127 = add i32 %125, -5 %128 = icmp ult i32 %127, -4 br i1 %128, label %129, label %160 129: ; preds = %121 %130 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.18) #2 br label %192 131: ; preds = %120 %132 = load i32, ptr @TRUE, align 4, !tbaa !6 br label %160 133: ; preds = %116 %134 = load ptr, ptr %13, align 8, !tbaa !10 %135 = tail call i64 @strcmp(ptr noundef %134, ptr noundef nonnull @.str.19) #2 %136 = icmp eq i64 %135, 0 br i1 %136, label %137, label %155 137: ; preds = %133 %138 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.20) #2 %139 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.21) #2 %140 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.22) #2 %141 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.23) #2 %142 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.24) #2 %143 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.25) #2 %144 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.26) #2 %145 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.27) #2 %146 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.28) #2 %147 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.29) #2 %148 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.30) #2 %149 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.31) #2 %150 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.32) #2 %151 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.33) #2 %152 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.34) #2 %153 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.35) #2 %154 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.36) #2 br label %155 155: ; preds = %137, %133 %156 = load ptr, ptr %13, align 8, !tbaa !10 %157 = add nsw i32 %8, 1 %158 = sext i32 %8 to i64 %159 = getelementptr inbounds ptr, ptr %1, i64 %158 store ptr %156, ptr %159, align 8, !tbaa !10 br label %160 160: ; preds = %24, %34, %44, %54, %64, %69, %66, %59, %49, %39, %29, %78, %88, %110, %155, %121, %131, %115, %104, %95, %71 %161 = phi i32 [ %8, %71 ], [ %8, %78 ], [ %8, %88 ], [ %8, %95 ], [ %8, %104 ], [ %8, %110 ], [ %8, %115 ], [ %8, %121 ], [ %8, %131 ], [ %157, %155 ], [ %8, %29 ], [ %8, %39 ], [ %8, %49 ], [ %8, %59 ], [ %8, %66 ], [ %8, %69 ], [ %8, %64 ], [ %8, %54 ], [ %8, %44 ], [ %8, %34 ], [ %8, %24 ] %162 = phi i32 [ %7, %71 ], [ %9, %78 ], [ %7, %88 ], [ %9, %95 ], [ %7, %104 ], [ %7, %110 ], [ %7, %115 ], [ %9, %121 ], [ %7, %131 ], [ %7, %155 ], [ %9, %29 ], [ %9, %39 ], [ %9, %49 ], [ %9, %59 ], [ %9, %66 ], [ %9, %69 ], [ %9, %64 ], [ %9, %54 ], [ %9, %44 ], [ %9, %34 ], [ %9, %24 ] %163 = phi i32 [ %72, %71 ], [ %11, %78 ], [ %89, %88 ], [ %11, %95 ], [ %105, %104 ], [ %11, %110 ], [ %11, %115 ], [ %11, %121 ], [ %132, %131 ], [ %11, %155 ], [ %11, %29 ], [ %11, %39 ], [ %11, %49 ], [ %11, %59 ], [ %11, %66 ], [ %11, %69 ], [ %11, %64 ], [ %11, %54 ], [ %11, %44 ], [ %11, %34 ], [ %11, %24 ] %164 = icmp eq i32 %163, 0 br i1 %164, label %170, label %165 165: ; preds = %160 %166 = sext i32 %162 to i64 %167 = getelementptr inbounds ptr, ptr %1, i64 %166 %168 = load ptr, ptr %167, align 8, !tbaa !10 %169 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.37, ptr noundef %168) #2 br label %192 170: ; preds = %160 %171 = add nsw i32 %162, 1 %172 = load i32, ptr %0, align 4, !tbaa !6 %173 = icmp slt i32 %171, %172 br i1 %173, label %5, label %174, !llvm.loop !14 174: ; preds = %170, %2 %175 = phi i32 [ 1, %2 ], [ %161, %170 ] %176 = load i32, ptr @INPUT_direct_mouse, align 4, !tbaa !6 %177 = icmp eq i32 %176, 0 br i1 %177, label %190, label %178 178: ; preds = %174 %179 = load i64, ptr @INPUT_mouse_mode, align 8, !tbaa !12 %180 = load i64, ptr @INPUT_MOUSE_PAD, align 8, !tbaa !12 %181 = icmp eq i64 %179, %180 %182 = load i64, ptr @INPUT_MOUSE_TOUCH, align 8 %183 = icmp eq i64 %179, %182 %184 = select i1 %181, i1 true, i1 %183 %185 = load i64, ptr @INPUT_MOUSE_KOALA, align 8 %186 = icmp eq i64 %179, %185 %187 = select i1 %184, i1 true, i1 %186 br i1 %187, label %190, label %188 188: ; preds = %178 %189 = tail call i32 (ptr, ...) @Log_print(ptr noundef nonnull @.str.38) #2 br label %192 190: ; preds = %178, %174 %191 = tail call i32 @INPUT_CenterMousePointer() #2 store i32 %175, ptr %0, align 4, !tbaa !6 br label %192 192: ; preds = %129, %102, %86, %165, %190, %188 %193 = phi ptr [ @TRUE, %190 ], [ @FALSE, %188 ], [ @FALSE, %129 ], [ @FALSE, %102 ], [ @FALSE, %86 ], [ @FALSE, %165 ] %194 = load i32, ptr %193, align 4, !tbaa !6 ret i32 %194 } declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @Util_sscandec(ptr noundef) local_unnamed_addr #1 declare i32 @Log_print(ptr noundef, ...) local_unnamed_addr #1 declare i32 @INPUT_CenterMousePointer(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
Provenance_Cores_Atari800_atari800-src_extr_input.c_INPUT_Initialise
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/mips/extr_qpeldsp_msa.c_hv_mc_qpel_16x16_msa.c' source_filename = "AnghaBench/FFmpeg/libavcodec/mips/extr_qpeldsp_msa.c_hv_mc_qpel_16x16_msa.c" target datalayout = "e-m:e-p270:32:32-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 @hv_mc_qpel_16x16_msa], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @hv_mc_qpel_16x16_msa(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca [272 x i32], align 16 call void @llvm.lifetime.start.p0(i64 1088, ptr nonnull %5) #3 %6 = call i32 @hv_mc_qpel_aver_horiz_16x16_msa(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %5, i32 noundef 16, i32 noundef 16) #3 %7 = call i32 @vert_mc_qpel_16x16_msa(ptr noundef nonnull %5, i32 noundef 16, ptr noundef %2, i32 noundef %3) #3 call void @llvm.lifetime.end.p0(i64 1088, ptr nonnull %5) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @hv_mc_qpel_aver_horiz_16x16_msa(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @vert_mc_qpel_16x16_msa(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/mips/extr_qpeldsp_msa.c_hv_mc_qpel_16x16_msa.c' source_filename = "AnghaBench/FFmpeg/libavcodec/mips/extr_qpeldsp_msa.c_hv_mc_qpel_16x16_msa.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 @hv_mc_qpel_16x16_msa], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @hv_mc_qpel_16x16_msa(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca [272 x i32], align 4 call void @llvm.lifetime.start.p0(i64 1088, ptr nonnull %5) #3 %6 = call i32 @hv_mc_qpel_aver_horiz_16x16_msa(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %5, i32 noundef 16, i32 noundef 16) #3 %7 = call i32 @vert_mc_qpel_16x16_msa(ptr noundef nonnull %5, i32 noundef 16, ptr noundef %2, i32 noundef %3) #3 call void @llvm.lifetime.end.p0(i64 1088, ptr nonnull %5) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @hv_mc_qpel_aver_horiz_16x16_msa(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @vert_mc_qpel_16x16_msa(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
FFmpeg_libavcodec_mips_extr_qpeldsp_msa.c_hv_mc_qpel_16x16_msa
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_posix-cpu-timers.c_task_cputime_expired.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_posix-cpu-timers.c_task_cputime_expired.c" target datalayout = "e-m:e-p270:32:32-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.task_cputime = type { i64, i32, i32 } @cputime_zero = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @task_cputime_expired], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal noundef i32 @task_cputime_expired(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds %struct.task_cputime, ptr %1, i64 0, i32 2 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = load i32, ptr @cputime_zero, align 4, !tbaa !11 %6 = tail call i32 @cputime_eq(i32 noundef %4, i32 noundef %5) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %14 8: ; preds = %2 %9 = getelementptr inbounds %struct.task_cputime, ptr %0, i64 0, i32 2 %10 = load i32, ptr %9, align 4, !tbaa !5 %11 = load i32, ptr %3, align 4, !tbaa !5 %12 = tail call i64 @cputime_ge(i32 noundef %10, i32 noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %36 14: ; preds = %8, %2 %15 = getelementptr inbounds %struct.task_cputime, ptr %1, i64 0, i32 1 %16 = load i32, ptr %15, align 8, !tbaa !12 %17 = load i32, ptr @cputime_zero, align 4, !tbaa !11 %18 = tail call i32 @cputime_eq(i32 noundef %16, i32 noundef %17) #2 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %29 20: ; preds = %14 %21 = getelementptr inbounds %struct.task_cputime, ptr %0, i64 0, i32 2 %22 = load i32, ptr %21, align 4, !tbaa !5 %23 = getelementptr inbounds %struct.task_cputime, ptr %0, i64 0, i32 1 %24 = load i32, ptr %23, align 8, !tbaa !12 %25 = tail call i32 @cputime_add(i32 noundef %22, i32 noundef %24) #2 %26 = load i32, ptr %15, align 8, !tbaa !12 %27 = tail call i64 @cputime_ge(i32 noundef %25, i32 noundef %26) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %36 29: ; preds = %20, %14 %30 = load i64, ptr %1, align 8, !tbaa !13 %31 = icmp eq i64 %30, 0 br i1 %31, label %35, label %32 32: ; preds = %29 %33 = load i64, ptr %0, align 8, !tbaa !13 %34 = icmp slt i64 %33, %30 br i1 %34, label %35, label %36 35: ; preds = %32, %29 br label %36 36: ; preds = %32, %20, %8, %35 %37 = phi i32 [ 0, %35 ], [ 1, %8 ], [ 1, %20 ], [ 1, %32 ] ret i32 %37 } declare i32 @cputime_eq(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @cputime_ge(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cputime_add(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 12} !6 = !{!"task_cputime", !7, i64 0, !10, i64 8, !10, i64 12} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_posix-cpu-timers.c_task_cputime_expired.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_posix-cpu-timers.c_task_cputime_expired.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @cputime_zero = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @task_cputime_expired], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @task_cputime_expired(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 12 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = load i32, ptr @cputime_zero, align 4, !tbaa !12 %6 = tail call i32 @cputime_eq(i32 noundef %4, i32 noundef %5) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %14 8: ; preds = %2 %9 = getelementptr inbounds i8, ptr %0, i64 12 %10 = load i32, ptr %9, align 4, !tbaa !6 %11 = load i32, ptr %3, align 4, !tbaa !6 %12 = tail call i64 @cputime_ge(i32 noundef %10, i32 noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %36 14: ; preds = %8, %2 %15 = getelementptr inbounds i8, ptr %1, i64 8 %16 = load i32, ptr %15, align 8, !tbaa !13 %17 = load i32, ptr @cputime_zero, align 4, !tbaa !12 %18 = tail call i32 @cputime_eq(i32 noundef %16, i32 noundef %17) #2 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %29 20: ; preds = %14 %21 = getelementptr inbounds i8, ptr %0, i64 12 %22 = load i32, ptr %21, align 4, !tbaa !6 %23 = getelementptr inbounds i8, ptr %0, i64 8 %24 = load i32, ptr %23, align 8, !tbaa !13 %25 = tail call i32 @cputime_add(i32 noundef %22, i32 noundef %24) #2 %26 = load i32, ptr %15, align 8, !tbaa !13 %27 = tail call i64 @cputime_ge(i32 noundef %25, i32 noundef %26) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %36 29: ; preds = %20, %14 %30 = load i64, ptr %1, align 8, !tbaa !14 %31 = icmp eq i64 %30, 0 br i1 %31, label %35, label %32 32: ; preds = %29 %33 = load i64, ptr %0, align 8, !tbaa !14 %34 = icmp slt i64 %33, %30 br i1 %34, label %35, label %36 35: ; preds = %32, %29 br label %36 36: ; preds = %32, %20, %8, %35 %37 = phi i32 [ 0, %35 ], [ 1, %8 ], [ 1, %20 ], [ 1, %32 ] ret i32 %37 } declare i32 @cputime_eq(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @cputime_ge(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cputime_add(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 12} !7 = !{!"task_cputime", !8, i64 0, !11, i64 8, !11, i64 12} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!7, !8, i64 0}
fastsocket_kernel_kernel_extr_posix-cpu-timers.c_task_cputime_expired
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gem/extr_i915_gem_execbuffer.c_eb_validate_vma.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gem/extr_i915_gem_execbuffer.c_eb_validate_vma.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.drm_i915_gem_exec_object2 = type { i32, i32, i32, i64, i64 } %struct.i915_execbuffer = type { i32, i32, %struct.TYPE_2__, ptr } %struct.TYPE_2__ = type { i64, i32 } %struct.i915_vma = type { i32, i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @EXEC_OBJECT_PINNED = dso_local local_unnamed_addr global i32 0, align 4 @I915_GTT_PAGE_MASK = dso_local local_unnamed_addr global i32 0, align 4 @EXEC_OBJECT_PAD_TO_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [68 x i8] c"Object [handle %d, index %d] appears more than once in object list\0A\00", align 1 @EXEC_OBJECT_NEEDS_FENCE = dso_local local_unnamed_addr global i32 0, align 4 @EXEC_OBJECT_NEEDS_GTT = dso_local local_unnamed_addr global i32 0, align 4 @__EXEC_OBJECT_NEEDS_MAP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @eb_validate_vma], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @eb_validate_vma(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = load i32, ptr %1, align 8, !tbaa !5 %5 = load i32, ptr %0, align 8, !tbaa !11 %6 = and i32 %5, %4 %7 = tail call i64 @unlikely(i32 noundef %6) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %3 %10 = load i32, ptr @EINVAL, align 4, !tbaa !15 %11 = sub nsw i32 0, %10 br label %122 12: ; preds = %3 %13 = getelementptr inbounds %struct.drm_i915_gem_exec_object2, ptr %1, i64 0, i32 4 %14 = load i64, ptr %13, align 8, !tbaa !16 %15 = icmp eq i64 %14, 0 br i1 %15, label %20, label %16 16: ; preds = %12 %17 = tail call i32 @is_power_of_2(i64 noundef %14) #2 %18 = icmp eq i32 %17, 0 %19 = zext i1 %18 to i32 br label %20 20: ; preds = %16, %12 %21 = phi i32 [ 0, %12 ], [ %19, %16 ] %22 = tail call i64 @unlikely(i32 noundef %21) #2 %23 = icmp eq i64 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %20 %25 = load i32, ptr @EINVAL, align 4, !tbaa !15 %26 = sub nsw i32 0, %25 br label %122 27: ; preds = %20 %28 = load i32, ptr %1, align 8, !tbaa !5 %29 = load i32, ptr @EXEC_OBJECT_PINNED, align 4, !tbaa !15 %30 = and i32 %29, %28 %31 = icmp eq i32 %30, 0 br i1 %31, label %40, label %32 32: ; preds = %27 %33 = getelementptr inbounds %struct.drm_i915_gem_exec_object2, ptr %1, i64 0, i32 1 %34 = load i32, ptr %33, align 4, !tbaa !17 %35 = load i32, ptr @I915_GTT_PAGE_MASK, align 4, !tbaa !15 %36 = and i32 %35, %34 %37 = tail call i32 @gen8_canonical_addr(i32 noundef %36) #2 %38 = icmp ne i32 %34, %37 %39 = zext i1 %38 to i32 br label %40 40: ; preds = %32, %27 %41 = phi i32 [ 0, %27 ], [ %39, %32 ] %42 = tail call i64 @unlikely(i32 noundef %41) #2 %43 = icmp eq i64 %42, 0 br i1 %43, label %47, label %44 44: ; preds = %40 %45 = load i32, ptr @EINVAL, align 4, !tbaa !15 %46 = sub nsw i32 0, %45 br label %122 47: ; preds = %40 %48 = load i32, ptr %1, align 8, !tbaa !5 %49 = load i32, ptr @EXEC_OBJECT_PAD_TO_SIZE, align 4, !tbaa !15 %50 = and i32 %49, %48 %51 = icmp eq i32 %50, 0 %52 = getelementptr inbounds %struct.drm_i915_gem_exec_object2, ptr %1, i64 0, i32 3 br i1 %51, label %61, label %53 53: ; preds = %47 %54 = load i64, ptr %52, align 8, !tbaa !18 %55 = tail call i32 @offset_in_page(i64 noundef %54) #2 %56 = tail call i64 @unlikely(i32 noundef %55) #2 %57 = icmp eq i64 %56, 0 br i1 %57, label %62, label %58 58: ; preds = %53 %59 = load i32, ptr @EINVAL, align 4, !tbaa !15 %60 = sub nsw i32 0, %59 br label %122 61: ; preds = %47 store i64 0, ptr %52, align 8, !tbaa !18 br label %62 62: ; preds = %53, %61 %63 = load i32, ptr %2, align 4, !tbaa !19 %64 = tail call i64 @unlikely(i32 noundef %63) #2 %65 = icmp eq i64 %64, 0 br i1 %65, label %79, label %66 66: ; preds = %62 %67 = getelementptr inbounds %struct.drm_i915_gem_exec_object2, ptr %1, i64 0, i32 2 %68 = load i32, ptr %67, align 8, !tbaa !21 %69 = getelementptr inbounds %struct.i915_execbuffer, ptr %0, i64 0, i32 3 %70 = load ptr, ptr %69, align 8, !tbaa !22 %71 = ptrtoint ptr %1 to i64 %72 = ptrtoint ptr %70 to i64 %73 = sub i64 %71, %72 %74 = lshr exact i64 %73, 5 %75 = trunc i64 %74 to i32 %76 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str, i32 noundef %68, i32 noundef %75) #2 %77 = load i32, ptr @EINVAL, align 4, !tbaa !15 %78 = sub nsw i32 0, %77 br label %122 79: ; preds = %62 %80 = getelementptr inbounds %struct.drm_i915_gem_exec_object2, ptr %1, i64 0, i32 1 %81 = load i32, ptr %80, align 4, !tbaa !17 %82 = tail call i32 @gen8_noncanonical_addr(i32 noundef %81) #2 store i32 %82, ptr %80, align 4, !tbaa !17 %83 = getelementptr inbounds %struct.i915_execbuffer, ptr %0, i64 0, i32 2 %84 = getelementptr inbounds %struct.i915_execbuffer, ptr %0, i64 0, i32 2, i32 1 %85 = load i32, ptr %84, align 8, !tbaa !23 %86 = icmp eq i32 %85, 0 br i1 %86, label %87, label %92 87: ; preds = %79 %88 = load i32, ptr @EXEC_OBJECT_NEEDS_FENCE, align 4, !tbaa !15 %89 = xor i32 %88, -1 %90 = load i32, ptr %1, align 8, !tbaa !5 %91 = and i32 %90, %89 br label %111 92: ; preds = %79 %93 = load i32, ptr %1, align 8, !tbaa !5 %94 = load i32, ptr @EXEC_OBJECT_NEEDS_FENCE, align 4, !tbaa !15 %95 = and i32 %94, %93 %96 = icmp eq i32 %95, 0 br i1 %96, label %97, label %100 97: ; preds = %92 %98 = load i64, ptr %83, align 8, !tbaa !24 %99 = icmp eq i64 %98, 0 br i1 %99, label %113, label %100 100: ; preds = %97, %92 %101 = getelementptr inbounds %struct.i915_vma, ptr %2, i64 0, i32 1 %102 = load i32, ptr %101, align 4, !tbaa !25 %103 = tail call i64 @i915_gem_object_is_tiled(i32 noundef %102) #2 %104 = icmp eq i64 %103, 0 %105 = load i32, ptr %1, align 8, !tbaa !5 br i1 %104, label %113, label %106 106: ; preds = %100 %107 = load i32, ptr @EXEC_OBJECT_NEEDS_GTT, align 4, !tbaa !15 %108 = load i32, ptr @__EXEC_OBJECT_NEEDS_MAP, align 4, !tbaa !15 %109 = or i32 %108, %107 %110 = or i32 %109, %105 br label %111 111: ; preds = %87, %106 %112 = phi i32 [ %110, %106 ], [ %91, %87 ] store i32 %112, ptr %1, align 8, !tbaa !5 br label %113 113: ; preds = %111, %97, %100 %114 = phi i32 [ %93, %97 ], [ %105, %100 ], [ %112, %111 ] %115 = load i32, ptr @EXEC_OBJECT_PINNED, align 4, !tbaa !15 %116 = and i32 %115, %114 %117 = icmp eq i32 %116, 0 br i1 %117, label %118, label %122 118: ; preds = %113 %119 = getelementptr inbounds %struct.i915_execbuffer, ptr %0, i64 0, i32 1 %120 = load i32, ptr %119, align 4, !tbaa !26 %121 = or i32 %120, %114 store i32 %121, ptr %1, align 8, !tbaa !5 br label %122 122: ; preds = %113, %118, %66, %58, %44, %24, %9 %123 = phi i32 [ %11, %9 ], [ %26, %24 ], [ %46, %44 ], [ %60, %58 ], [ %78, %66 ], [ 0, %118 ], [ 0, %113 ] ret i32 %123 } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @is_power_of_2(i64 noundef) local_unnamed_addr #1 declare i32 @gen8_canonical_addr(i32 noundef) local_unnamed_addr #1 declare i32 @offset_in_page(i64 noundef) local_unnamed_addr #1 declare i32 @DRM_DEBUG(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gen8_noncanonical_addr(i32 noundef) local_unnamed_addr #1 declare i64 @i915_gem_object_is_tiled(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 = !{!"drm_i915_gem_exec_object2", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"i915_execbuffer", !7, i64 0, !7, i64 4, !13, i64 8, !14, i64 24} !13 = !{!"TYPE_2__", !10, i64 0, !7, i64 8} !14 = !{!"any pointer", !8, i64 0} !15 = !{!7, !7, i64 0} !16 = !{!6, !10, i64 24} !17 = !{!6, !7, i64 4} !18 = !{!6, !10, i64 16} !19 = !{!20, !7, i64 0} !20 = !{!"i915_vma", !7, i64 0, !7, i64 4} !21 = !{!6, !7, i64 8} !22 = !{!12, !14, i64 24} !23 = !{!12, !7, i64 16} !24 = !{!12, !10, i64 8} !25 = !{!20, !7, i64 4} !26 = !{!12, !7, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gem/extr_i915_gem_execbuffer.c_eb_validate_vma.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gem/extr_i915_gem_execbuffer.c_eb_validate_vma.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 @EXEC_OBJECT_PINNED = common local_unnamed_addr global i32 0, align 4 @I915_GTT_PAGE_MASK = common local_unnamed_addr global i32 0, align 4 @EXEC_OBJECT_PAD_TO_SIZE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [68 x i8] c"Object [handle %d, index %d] appears more than once in object list\0A\00", align 1 @EXEC_OBJECT_NEEDS_FENCE = common local_unnamed_addr global i32 0, align 4 @EXEC_OBJECT_NEEDS_GTT = common local_unnamed_addr global i32 0, align 4 @__EXEC_OBJECT_NEEDS_MAP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @eb_validate_vma], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @eb_validate_vma(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = load i32, ptr %1, align 8, !tbaa !6 %5 = load i32, ptr %0, align 8, !tbaa !12 %6 = and i32 %5, %4 %7 = tail call i64 @unlikely(i32 noundef %6) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %3 %10 = load i32, ptr @EINVAL, align 4, !tbaa !16 %11 = sub nsw i32 0, %10 br label %122 12: ; preds = %3 %13 = getelementptr inbounds i8, ptr %1, i64 24 %14 = load i64, ptr %13, align 8, !tbaa !17 %15 = icmp eq i64 %14, 0 br i1 %15, label %20, label %16 16: ; preds = %12 %17 = tail call i32 @is_power_of_2(i64 noundef %14) #2 %18 = icmp eq i32 %17, 0 %19 = zext i1 %18 to i32 br label %20 20: ; preds = %16, %12 %21 = phi i32 [ 0, %12 ], [ %19, %16 ] %22 = tail call i64 @unlikely(i32 noundef %21) #2 %23 = icmp eq i64 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %20 %25 = load i32, ptr @EINVAL, align 4, !tbaa !16 %26 = sub nsw i32 0, %25 br label %122 27: ; preds = %20 %28 = load i32, ptr %1, align 8, !tbaa !6 %29 = load i32, ptr @EXEC_OBJECT_PINNED, align 4, !tbaa !16 %30 = and i32 %29, %28 %31 = icmp eq i32 %30, 0 br i1 %31, label %40, label %32 32: ; preds = %27 %33 = getelementptr inbounds i8, ptr %1, i64 4 %34 = load i32, ptr %33, align 4, !tbaa !18 %35 = load i32, ptr @I915_GTT_PAGE_MASK, align 4, !tbaa !16 %36 = and i32 %35, %34 %37 = tail call i32 @gen8_canonical_addr(i32 noundef %36) #2 %38 = icmp ne i32 %34, %37 %39 = zext i1 %38 to i32 br label %40 40: ; preds = %32, %27 %41 = phi i32 [ 0, %27 ], [ %39, %32 ] %42 = tail call i64 @unlikely(i32 noundef %41) #2 %43 = icmp eq i64 %42, 0 br i1 %43, label %47, label %44 44: ; preds = %40 %45 = load i32, ptr @EINVAL, align 4, !tbaa !16 %46 = sub nsw i32 0, %45 br label %122 47: ; preds = %40 %48 = load i32, ptr %1, align 8, !tbaa !6 %49 = load i32, ptr @EXEC_OBJECT_PAD_TO_SIZE, align 4, !tbaa !16 %50 = and i32 %49, %48 %51 = icmp eq i32 %50, 0 %52 = getelementptr inbounds i8, ptr %1, i64 16 br i1 %51, label %61, label %53 53: ; preds = %47 %54 = load i64, ptr %52, align 8, !tbaa !19 %55 = tail call i32 @offset_in_page(i64 noundef %54) #2 %56 = tail call i64 @unlikely(i32 noundef %55) #2 %57 = icmp eq i64 %56, 0 br i1 %57, label %62, label %58 58: ; preds = %53 %59 = load i32, ptr @EINVAL, align 4, !tbaa !16 %60 = sub nsw i32 0, %59 br label %122 61: ; preds = %47 store i64 0, ptr %52, align 8, !tbaa !19 br label %62 62: ; preds = %53, %61 %63 = load i32, ptr %2, align 4, !tbaa !20 %64 = tail call i64 @unlikely(i32 noundef %63) #2 %65 = icmp eq i64 %64, 0 br i1 %65, label %79, label %66 66: ; preds = %62 %67 = getelementptr inbounds i8, ptr %1, i64 8 %68 = load i32, ptr %67, align 8, !tbaa !22 %69 = getelementptr inbounds i8, ptr %0, i64 24 %70 = load ptr, ptr %69, align 8, !tbaa !23 %71 = ptrtoint ptr %1 to i64 %72 = ptrtoint ptr %70 to i64 %73 = sub i64 %71, %72 %74 = lshr exact i64 %73, 5 %75 = trunc i64 %74 to i32 %76 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str, i32 noundef %68, i32 noundef %75) #2 %77 = load i32, ptr @EINVAL, align 4, !tbaa !16 %78 = sub nsw i32 0, %77 br label %122 79: ; preds = %62 %80 = getelementptr inbounds i8, ptr %1, i64 4 %81 = load i32, ptr %80, align 4, !tbaa !18 %82 = tail call i32 @gen8_noncanonical_addr(i32 noundef %81) #2 store i32 %82, ptr %80, align 4, !tbaa !18 %83 = getelementptr inbounds i8, ptr %0, i64 8 %84 = getelementptr inbounds i8, ptr %0, i64 16 %85 = load i32, ptr %84, align 8, !tbaa !24 %86 = icmp eq i32 %85, 0 br i1 %86, label %87, label %92 87: ; preds = %79 %88 = load i32, ptr @EXEC_OBJECT_NEEDS_FENCE, align 4, !tbaa !16 %89 = xor i32 %88, -1 %90 = load i32, ptr %1, align 8, !tbaa !6 %91 = and i32 %90, %89 br label %111 92: ; preds = %79 %93 = load i32, ptr %1, align 8, !tbaa !6 %94 = load i32, ptr @EXEC_OBJECT_NEEDS_FENCE, align 4, !tbaa !16 %95 = and i32 %94, %93 %96 = icmp eq i32 %95, 0 br i1 %96, label %97, label %100 97: ; preds = %92 %98 = load i64, ptr %83, align 8, !tbaa !25 %99 = icmp eq i64 %98, 0 br i1 %99, label %113, label %100 100: ; preds = %97, %92 %101 = getelementptr inbounds i8, ptr %2, i64 4 %102 = load i32, ptr %101, align 4, !tbaa !26 %103 = tail call i64 @i915_gem_object_is_tiled(i32 noundef %102) #2 %104 = icmp eq i64 %103, 0 %105 = load i32, ptr %1, align 8, !tbaa !6 br i1 %104, label %113, label %106 106: ; preds = %100 %107 = load i32, ptr @EXEC_OBJECT_NEEDS_GTT, align 4, !tbaa !16 %108 = load i32, ptr @__EXEC_OBJECT_NEEDS_MAP, align 4, !tbaa !16 %109 = or i32 %108, %107 %110 = or i32 %109, %105 br label %111 111: ; preds = %87, %106 %112 = phi i32 [ %110, %106 ], [ %91, %87 ] store i32 %112, ptr %1, align 8, !tbaa !6 br label %113 113: ; preds = %111, %97, %100 %114 = phi i32 [ %93, %97 ], [ %105, %100 ], [ %112, %111 ] %115 = load i32, ptr @EXEC_OBJECT_PINNED, align 4, !tbaa !16 %116 = and i32 %115, %114 %117 = icmp eq i32 %116, 0 br i1 %117, label %118, label %122 118: ; preds = %113 %119 = getelementptr inbounds i8, ptr %0, i64 4 %120 = load i32, ptr %119, align 4, !tbaa !27 %121 = or i32 %120, %114 store i32 %121, ptr %1, align 8, !tbaa !6 br label %122 122: ; preds = %113, %118, %66, %58, %44, %24, %9 %123 = phi i32 [ %11, %9 ], [ %26, %24 ], [ %46, %44 ], [ %60, %58 ], [ %78, %66 ], [ 0, %118 ], [ 0, %113 ] ret i32 %123 } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @is_power_of_2(i64 noundef) local_unnamed_addr #1 declare i32 @gen8_canonical_addr(i32 noundef) local_unnamed_addr #1 declare i32 @offset_in_page(i64 noundef) local_unnamed_addr #1 declare i32 @DRM_DEBUG(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gen8_noncanonical_addr(i32 noundef) local_unnamed_addr #1 declare i64 @i915_gem_object_is_tiled(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 = !{!"drm_i915_gem_exec_object2", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !11, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"i915_execbuffer", !8, i64 0, !8, i64 4, !14, i64 8, !15, i64 24} !14 = !{!"TYPE_2__", !11, i64 0, !8, i64 8} !15 = !{!"any pointer", !9, i64 0} !16 = !{!8, !8, i64 0} !17 = !{!7, !11, i64 24} !18 = !{!7, !8, i64 4} !19 = !{!7, !11, i64 16} !20 = !{!21, !8, i64 0} !21 = !{!"i915_vma", !8, i64 0, !8, i64 4} !22 = !{!7, !8, i64 8} !23 = !{!13, !15, i64 24} !24 = !{!13, !8, i64 16} !25 = !{!13, !11, i64 8} !26 = !{!21, !8, i64 4} !27 = !{!13, !8, i64 4}
linux_drivers_gpu_drm_i915_gem_extr_i915_gem_execbuffer.c_eb_validate_vma
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_advansys.c_AscAllocFreeQueue.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_advansys.c_AscAllocFreeQueue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ASC_SCSIQ_B_STATUS = dso_local local_unnamed_addr global i64 0, align 8 @ASC_SCSIQ_B_FWD = dso_local local_unnamed_addr global i64 0, align 8 @QS_READY = dso_local local_unnamed_addr global i64 0, align 8 @ASC_QLINK_END = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @AscAllocFreeQueue], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @AscAllocFreeQueue(i32 noundef %0, i64 noundef %1) #0 { %3 = tail call i64 @ASC_QNO_TO_QADDR(i64 noundef %1) #2 %4 = load i64, ptr @ASC_SCSIQ_B_STATUS, align 8, !tbaa !5 %5 = add nsw i64 %4, %3 %6 = tail call i64 @AscReadLramByte(i32 noundef %0, i64 noundef %5) #2 %7 = load i64, ptr @ASC_SCSIQ_B_FWD, align 8, !tbaa !5 %8 = add nsw i64 %7, %3 %9 = tail call i64 @AscReadLramByte(i32 noundef %0, i64 noundef %8) #2 %10 = load i64, ptr @QS_READY, align 8, !tbaa !5 %11 = and i64 %10, %6 %12 = icmp eq i64 %11, 0 %13 = load i64, ptr @ASC_QLINK_END, align 8 %14 = select i1 %12, i64 %9, i64 %13 ret i64 %14 } declare i64 @ASC_QNO_TO_QADDR(i64 noundef) local_unnamed_addr #1 declare i64 @AscReadLramByte(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_advansys.c_AscAllocFreeQueue.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_advansys.c_AscAllocFreeQueue.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ASC_SCSIQ_B_STATUS = common local_unnamed_addr global i64 0, align 8 @ASC_SCSIQ_B_FWD = common local_unnamed_addr global i64 0, align 8 @QS_READY = common local_unnamed_addr global i64 0, align 8 @ASC_QLINK_END = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @AscAllocFreeQueue], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @AscAllocFreeQueue(i32 noundef %0, i64 noundef %1) #0 { %3 = tail call i64 @ASC_QNO_TO_QADDR(i64 noundef %1) #2 %4 = load i64, ptr @ASC_SCSIQ_B_STATUS, align 8, !tbaa !6 %5 = add nsw i64 %4, %3 %6 = tail call i64 @AscReadLramByte(i32 noundef %0, i64 noundef %5) #2 %7 = load i64, ptr @ASC_SCSIQ_B_FWD, align 8, !tbaa !6 %8 = add nsw i64 %7, %3 %9 = tail call i64 @AscReadLramByte(i32 noundef %0, i64 noundef %8) #2 %10 = load i64, ptr @QS_READY, align 8, !tbaa !6 %11 = and i64 %10, %6 %12 = icmp eq i64 %11, 0 %13 = load i64, ptr @ASC_QLINK_END, align 8 %14 = select i1 %12, i64 %9, i64 %13 ret i64 %14 } declare i64 @ASC_QNO_TO_QADDR(i64 noundef) local_unnamed_addr #1 declare i64 @AscReadLramByte(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_scsi_extr_advansys.c_AscAllocFreeQueue
; ModuleID = 'AnghaBench/linux/drivers/hwmon/occ/extr_p8_i2c.c_p8_i2c_occ_putscom_u32.c' source_filename = "AnghaBench/linux/drivers/hwmon/occ/extr_p8_i2c.c_p8_i2c_occ_putscom_u32.c" target datalayout = "e-m:e-p270:32:32-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 @p8_i2c_occ_putscom_u32], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @p8_i2c_occ_putscom_u32(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [8 x i32], align 16 store i32 %2, ptr %5, align 4, !tbaa !5 store i32 %3, ptr %6, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #3 %8 = call i32 @memcpy(ptr noundef nonnull %7, ptr noundef nonnull %5, i32 noundef 4) #3 %9 = getelementptr inbounds i32, ptr %7, i64 4 %10 = call i32 @memcpy(ptr noundef nonnull %9, ptr noundef nonnull %6, i32 noundef 4) #3 %11 = call i32 @p8_i2c_occ_putscom(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #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 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @p8_i2c_occ_putscom(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"}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/occ/extr_p8_i2c.c_p8_i2c_occ_putscom_u32.c' source_filename = "AnghaBench/linux/drivers/hwmon/occ/extr_p8_i2c.c_p8_i2c_occ_putscom_u32.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 @p8_i2c_occ_putscom_u32], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @p8_i2c_occ_putscom_u32(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [8 x i32], align 4 store i32 %2, ptr %5, align 4, !tbaa !6 store i32 %3, ptr %6, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #3 %8 = call i32 @memcpy(ptr noundef nonnull %7, ptr noundef nonnull %5, i32 noundef 4) #3 %9 = getelementptr inbounds i8, ptr %7, i64 16 %10 = call i32 @memcpy(ptr noundef nonnull %9, ptr noundef nonnull %6, i32 noundef 4) #3 %11 = call i32 @p8_i2c_occ_putscom(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #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 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @p8_i2c_occ_putscom(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"}
linux_drivers_hwmon_occ_extr_p8_i2c.c_p8_i2c_occ_putscom_u32
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_cfgloop.c_flow_loop_dump.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_cfgloop.c_flow_loop_dump.c" target datalayout = "e-m:e-p270:32:32-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.loop = type { i32, i32, i32, i32, ptr, ptr, ptr } @.str = private unnamed_addr constant [15 x i8] c";;\0A;; Loop %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c";; header %d, latch %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c";; depth %d, level %d, outer %ld\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c";; nodes:\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @flow_loop_dump(ptr noundef %0, ptr noundef %1, ptr noundef readonly %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp eq ptr %0, null br i1 %5, label %52, label %6 6: ; preds = %4 %7 = getelementptr inbounds %struct.loop, ptr %0, i64 0, i32 6 %8 = load ptr, ptr %7, align 8, !tbaa !5 %9 = icmp eq ptr %8, null br i1 %9, label %52, label %10 10: ; preds = %6 %11 = load i32, ptr %0, align 8, !tbaa !11 %12 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %11) %13 = load ptr, ptr %7, align 8, !tbaa !5 %14 = load i32, ptr %13, align 4, !tbaa !12 %15 = getelementptr inbounds %struct.loop, ptr %0, i64 0, i32 5 %16 = load ptr, ptr %15, align 8, !tbaa !14 %17 = load i32, ptr %16, align 4, !tbaa !15 %18 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.1, i32 noundef %14, i32 noundef %17) %19 = getelementptr inbounds %struct.loop, ptr %0, i64 0, i32 1 %20 = load i32, ptr %19, align 4, !tbaa !17 %21 = getelementptr inbounds %struct.loop, ptr %0, i64 0, i32 2 %22 = load i32, ptr %21, align 8, !tbaa !18 %23 = getelementptr inbounds %struct.loop, ptr %0, i64 0, i32 4 %24 = load ptr, ptr %23, align 8, !tbaa !19 %25 = icmp eq ptr %24, null br i1 %25, label %29, label %26 26: ; preds = %10 %27 = load i32, ptr %24, align 4, !tbaa !20 %28 = sext i32 %27 to i64 br label %29 29: ; preds = %10, %26 %30 = phi i64 [ %28, %26 ], [ -1, %10 ] %31 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.2, i32 noundef %20, i32 noundef %22, i64 noundef %30) %32 = tail call i64 @fwrite(ptr nonnull @.str.3, i64 10, i64 1, ptr %1) %33 = tail call ptr @get_loop_body(ptr noundef nonnull %0) #4 %34 = getelementptr inbounds %struct.loop, ptr %0, i64 0, i32 3 %35 = load i32, ptr %34, align 4, !tbaa !22 %36 = icmp eq i32 %35, 0 br i1 %36, label %47, label %37 37: ; preds = %29, %37 %38 = phi i64 [ %43, %37 ], [ 0, %29 ] %39 = getelementptr inbounds ptr, ptr %33, i64 %38 %40 = load ptr, ptr %39, align 8, !tbaa !23 %41 = load i32, ptr %40, align 4, !tbaa !24 %42 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.4, i32 noundef %41) %43 = add nuw nsw i64 %38, 1 %44 = load i32, ptr %34, align 4, !tbaa !22 %45 = zext i32 %44 to i64 %46 = icmp ult i64 %43, %45 br i1 %46, label %37, label %47, !llvm.loop !26 47: ; preds = %37, %29 %48 = tail call i32 @free(ptr noundef %33) #4 %49 = tail call i32 @fputc(i32 10, ptr %1) %50 = icmp eq ptr %2, null br i1 %50, label %52, label %51 51: ; preds = %47 tail call void %2(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %3) #4 br label %52 52: ; preds = %47, %51, %4, %6 ret void } ; Function Attrs: nofree nounwind declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1 declare ptr @get_loop_body(ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #3 ; Function Attrs: nofree nounwind declare noundef i32 @fputc(i32 noundef, ptr nocapture noundef) local_unnamed_addr #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nofree nounwind } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 32} !6 = !{!"loop", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !10, i64 24, !10, i64 32} !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 = !{!13, !7, i64 0} !13 = !{!"TYPE_7__", !7, i64 0} !14 = !{!6, !10, i64 24} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_8__", !7, i64 0} !17 = !{!6, !7, i64 4} !18 = !{!6, !7, i64 8} !19 = !{!6, !10, i64 16} !20 = !{!21, !7, i64 0} !21 = !{!"TYPE_9__", !7, i64 0} !22 = !{!6, !7, i64 12} !23 = !{!10, !10, i64 0} !24 = !{!25, !7, i64 0} !25 = !{!"TYPE_10__", !7, i64 0} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_cfgloop.c_flow_loop_dump.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_cfgloop.c_flow_loop_dump.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 i8] c";;\0A;; Loop %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c";; header %d, latch %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c";; depth %d, level %d, outer %ld\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c";; nodes:\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @flow_loop_dump(ptr noundef %0, ptr noundef %1, ptr noundef readonly %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp eq ptr %0, null br i1 %5, label %52, label %6 6: ; preds = %4 %7 = getelementptr inbounds i8, ptr %0, i64 32 %8 = load ptr, ptr %7, align 8, !tbaa !6 %9 = icmp eq ptr %8, null br i1 %9, label %52, label %10 10: ; preds = %6 %11 = load i32, ptr %0, align 8, !tbaa !12 %12 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %11) %13 = load ptr, ptr %7, align 8, !tbaa !6 %14 = load i32, ptr %13, align 4, !tbaa !13 %15 = getelementptr inbounds i8, ptr %0, i64 24 %16 = load ptr, ptr %15, align 8, !tbaa !15 %17 = load i32, ptr %16, align 4, !tbaa !16 %18 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.1, i32 noundef %14, i32 noundef %17) %19 = getelementptr inbounds i8, ptr %0, i64 4 %20 = load i32, ptr %19, align 4, !tbaa !18 %21 = getelementptr inbounds i8, ptr %0, i64 8 %22 = load i32, ptr %21, align 8, !tbaa !19 %23 = getelementptr inbounds i8, ptr %0, i64 16 %24 = load ptr, ptr %23, align 8, !tbaa !20 %25 = icmp eq ptr %24, null br i1 %25, label %29, label %26 26: ; preds = %10 %27 = load i32, ptr %24, align 4, !tbaa !21 %28 = sext i32 %27 to i64 br label %29 29: ; preds = %10, %26 %30 = phi i64 [ %28, %26 ], [ -1, %10 ] %31 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.2, i32 noundef %20, i32 noundef %22, i64 noundef %30) %32 = tail call i64 @fwrite(ptr nonnull @.str.3, i64 10, i64 1, ptr %1) %33 = tail call ptr @get_loop_body(ptr noundef nonnull %0) #4 %34 = getelementptr inbounds i8, ptr %0, i64 12 %35 = load i32, ptr %34, align 4, !tbaa !23 %36 = icmp eq i32 %35, 0 br i1 %36, label %47, label %37 37: ; preds = %29, %37 %38 = phi i64 [ %43, %37 ], [ 0, %29 ] %39 = getelementptr inbounds ptr, ptr %33, i64 %38 %40 = load ptr, ptr %39, align 8, !tbaa !24 %41 = load i32, ptr %40, align 4, !tbaa !25 %42 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.4, i32 noundef %41) %43 = add nuw nsw i64 %38, 1 %44 = load i32, ptr %34, align 4, !tbaa !23 %45 = zext i32 %44 to i64 %46 = icmp ult i64 %43, %45 br i1 %46, label %37, label %47, !llvm.loop !27 47: ; preds = %37, %29 %48 = tail call i32 @free(ptr noundef %33) #4 %49 = tail call i32 @fputc(i32 10, ptr %1) %50 = icmp eq ptr %2, null br i1 %50, label %52, label %51 51: ; preds = %47 tail call void %2(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %3) #4 br label %52 52: ; preds = %47, %51, %4, %6 ret void } ; Function Attrs: nofree nounwind declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1 declare ptr @get_loop_body(ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #3 ; Function Attrs: nofree nounwind declare noundef i32 @fputc(i32 noundef, ptr nocapture noundef) local_unnamed_addr #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nofree nounwind } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 32} !7 = !{!"loop", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16, !11, i64 24, !11, i64 32} !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 = !{!14, !8, i64 0} !14 = !{!"TYPE_7__", !8, i64 0} !15 = !{!7, !11, i64 24} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_8__", !8, i64 0} !18 = !{!7, !8, i64 4} !19 = !{!7, !8, i64 8} !20 = !{!7, !11, i64 16} !21 = !{!22, !8, i64 0} !22 = !{!"TYPE_9__", !8, i64 0} !23 = !{!7, !8, i64 12} !24 = !{!11, !11, i64 0} !25 = !{!26, !8, i64 0} !26 = !{!"TYPE_10__", !8, i64 0} !27 = distinct !{!27, !28} !28 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_gcc_extr_cfgloop.c_flow_loop_dump
; ModuleID = 'AnghaBench/linux/arch/arm64/crypto/extr_aes-neonbs-glue.c_ctr_encrypt_sync.c' source_filename = "AnghaBench/linux/arch/arm64/crypto/extr_aes-neonbs-glue.c_ctr_encrypt_sync.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ctr_encrypt_one = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ctr_encrypt_sync], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ctr_encrypt_sync(ptr noundef %0) #0 { %2 = tail call i32 (...) @crypto_simd_usable() #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %7 4: ; preds = %1 %5 = load i32, ptr @ctr_encrypt_one, align 4, !tbaa !5 %6 = tail call i32 @crypto_ctr_encrypt_walk(ptr noundef %0, i32 noundef %5) #2 br label %9 7: ; preds = %1 %8 = tail call i32 @ctr_encrypt(ptr noundef %0) #2 br label %9 9: ; preds = %7, %4 %10 = phi i32 [ %8, %7 ], [ %6, %4 ] ret i32 %10 } declare i32 @crypto_simd_usable(...) local_unnamed_addr #1 declare i32 @crypto_ctr_encrypt_walk(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ctr_encrypt(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/arm64/crypto/extr_aes-neonbs-glue.c_ctr_encrypt_sync.c' source_filename = "AnghaBench/linux/arch/arm64/crypto/extr_aes-neonbs-glue.c_ctr_encrypt_sync.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ctr_encrypt_one = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ctr_encrypt_sync], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ctr_encrypt_sync(ptr noundef %0) #0 { %2 = tail call i32 @crypto_simd_usable() #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %7 4: ; preds = %1 %5 = load i32, ptr @ctr_encrypt_one, align 4, !tbaa !6 %6 = tail call i32 @crypto_ctr_encrypt_walk(ptr noundef %0, i32 noundef %5) #2 br label %9 7: ; preds = %1 %8 = tail call i32 @ctr_encrypt(ptr noundef %0) #2 br label %9 9: ; preds = %7, %4 %10 = phi i32 [ %8, %7 ], [ %6, %4 ] ret i32 %10 } declare i32 @crypto_simd_usable(...) local_unnamed_addr #1 declare i32 @crypto_ctr_encrypt_walk(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ctr_encrypt(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_arm64_crypto_extr_aes-neonbs-glue.c_ctr_encrypt_sync
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/bluetooth/extr_hci_h4.c_h4_enqueue.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/bluetooth/extr_hci_h4.c_h4_enqueue.c" target datalayout = "e-m:e-p270:32:32-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 [13 x i8] c"hu %p skb %p\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @h4_enqueue], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @h4_enqueue(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, ptr noundef nonnull %0, ptr noundef %1) #2 %5 = tail call i32 @skb_push(ptr noundef %1, i32 noundef 1) #2 %6 = tail call ptr @bt_cb(ptr noundef %1) #2 %7 = tail call i32 @memcpy(i32 noundef %5, ptr noundef %6, i32 noundef 1) #2 %8 = tail call i32 @skb_queue_tail(ptr noundef %3, ptr noundef %1) #2 ret i32 0 } declare i32 @BT_DBG(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_push(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @bt_cb(ptr noundef) local_unnamed_addr #1 declare i32 @skb_queue_tail(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 = !{!"hci_uart", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/bluetooth/extr_hci_h4.c_h4_enqueue.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/bluetooth/extr_hci_h4.c_h4_enqueue.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"hu %p skb %p\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @h4_enqueue], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @h4_enqueue(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, ptr noundef nonnull %0, ptr noundef %1) #2 %5 = tail call i32 @skb_push(ptr noundef %1, i32 noundef 1) #2 %6 = tail call ptr @bt_cb(ptr noundef %1) #2 %7 = tail call i32 @memcpy(i32 noundef %5, ptr noundef %6, i32 noundef 1) #2 %8 = tail call i32 @skb_queue_tail(ptr noundef %3, ptr noundef %1) #2 ret i32 0 } declare i32 @BT_DBG(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_push(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @bt_cb(ptr noundef) local_unnamed_addr #1 declare i32 @skb_queue_tail(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 = !{!"hci_uart", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_bluetooth_extr_hci_h4.c_h4_enqueue
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/arm/extr_pmap.c_PMAP_ZINFO_PFREE.c' source_filename = "AnghaBench/darwin-xnu/osfmk/arm/extr_pmap.c_PMAP_ZINFO_PFREE.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32 } @task_ledgers = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @PMAP_ZINFO_PFREE], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @PMAP_ZINFO_PFREE(i32 noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @task_ledgers, align 4, !tbaa !5 %4 = tail call i32 @pmap_ledger_debit(i32 noundef %0, i32 noundef %3, i32 noundef %1) #2 ret void } declare i32 @pmap_ledger_debit(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/arm/extr_pmap.c_PMAP_ZINFO_PFREE.c' source_filename = "AnghaBench/darwin-xnu/osfmk/arm/extr_pmap.c_PMAP_ZINFO_PFREE.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32 } @task_ledgers = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @llvm.used = appending global [1 x ptr] [ptr @PMAP_ZINFO_PFREE], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @PMAP_ZINFO_PFREE(i32 noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @task_ledgers, align 4, !tbaa !6 %4 = tail call i32 @pmap_ledger_debit(i32 noundef %0, i32 noundef %3, i32 noundef %1) #2 ret void } declare i32 @pmap_ledger_debit(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
darwin-xnu_osfmk_arm_extr_pmap.c_PMAP_ZINFO_PFREE
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_wa.c_b43_wa_cck_shiftbits.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_wa.c_b43_wa_cck_shiftbits.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @B43_PHY_CCKSHIFTBITS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @b43_wa_cck_shiftbits], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @b43_wa_cck_shiftbits(ptr noundef %0) #0 { %2 = load i32, ptr @B43_PHY_CCKSHIFTBITS, align 4, !tbaa !5 %3 = tail call i32 @b43_phy_write(ptr noundef %0, i32 noundef %2, i32 noundef 38) #2 ret void } declare i32 @b43_phy_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_wa.c_b43_wa_cck_shiftbits.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_wa.c_b43_wa_cck_shiftbits.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @B43_PHY_CCKSHIFTBITS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @b43_wa_cck_shiftbits], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @b43_wa_cck_shiftbits(ptr noundef %0) #0 { %2 = load i32, ptr @B43_PHY_CCKSHIFTBITS, align 4, !tbaa !6 %3 = tail call i32 @b43_phy_write(ptr noundef %0, i32 noundef %2, i32 noundef 38) #2 ret void } declare i32 @b43_phy_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_net_wireless_b43_extr_wa.c_b43_wa_cck_shiftbits
; ModuleID = 'AnghaBench/linux/fs/notify/fanotify/extr_fanotify.h_fanotify_is_perm_event.c' source_filename = "AnghaBench/linux/fs/notify/fanotify/extr_fanotify.h_fanotify_is_perm_event.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CONFIG_FANOTIFY_ACCESS_PERMISSIONS = dso_local local_unnamed_addr global i32 0, align 4 @FANOTIFY_PERM_EVENTS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @fanotify_is_perm_event], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @fanotify_is_perm_event(i32 noundef %0) #0 { %2 = load i32, ptr @CONFIG_FANOTIFY_ACCESS_PERMISSIONS, align 4, !tbaa !5 %3 = tail call i64 @IS_ENABLED(i32 noundef %2) #2 %4 = icmp ne i64 %3, 0 %5 = load i32, ptr @FANOTIFY_PERM_EVENTS, align 4 %6 = and i32 %5, %0 %7 = icmp ne i32 %6, 0 %8 = select i1 %4, i1 %7, i1 false %9 = zext i1 %8 to i32 ret i32 %9 } declare i64 @IS_ENABLED(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/fs/notify/fanotify/extr_fanotify.h_fanotify_is_perm_event.c' source_filename = "AnghaBench/linux/fs/notify/fanotify/extr_fanotify.h_fanotify_is_perm_event.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CONFIG_FANOTIFY_ACCESS_PERMISSIONS = common local_unnamed_addr global i32 0, align 4 @FANOTIFY_PERM_EVENTS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @fanotify_is_perm_event], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @fanotify_is_perm_event(i32 noundef %0) #0 { %2 = load i32, ptr @CONFIG_FANOTIFY_ACCESS_PERMISSIONS, align 4, !tbaa !6 %3 = tail call i64 @IS_ENABLED(i32 noundef %2) #2 %4 = icmp ne i64 %3, 0 %5 = load i32, ptr @FANOTIFY_PERM_EVENTS, align 4 %6 = and i32 %5, %0 %7 = icmp ne i32 %6, 0 %8 = select i1 %4, i1 %7, i1 false %9 = zext i1 %8 to i32 ret i32 %9 } declare i64 @IS_ENABLED(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_fs_notify_fanotify_extr_fanotify.h_fanotify_is_perm_event
; ModuleID = 'AnghaBench/sqlcipher/ext/fts3/extr_fts3.c_sqlite3Fts3GetVarint32.c' source_filename = "AnghaBench/sqlcipher/ext/fts3/extr_fts3.c_sqlite3Fts3GetVarint32.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local noundef i32 @sqlite3Fts3GetVarint32(ptr noundef %0, ptr nocapture noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = tail call i32 @GETVARINT_INIT(i32 noundef undef, ptr noundef %0, i32 noundef 0, i32 noundef 0, i32 noundef 128, i32 noundef %3, i32 noundef 1) #2 %5 = load i32, ptr %1, align 4, !tbaa !5 %6 = tail call i32 @GETVARINT_STEP(i32 noundef undef, ptr noundef %0, i32 noundef 7, i32 noundef 127, i32 noundef 16384, i32 noundef %5, i32 noundef 2) #2 %7 = load i32, ptr %1, align 4, !tbaa !5 %8 = tail call i32 @GETVARINT_STEP(i32 noundef undef, ptr noundef %0, i32 noundef 14, i32 noundef 16383, i32 noundef 2097152, i32 noundef %7, i32 noundef 3) #2 %9 = load i32, ptr %1, align 4, !tbaa !5 %10 = tail call i32 @GETVARINT_STEP(i32 noundef undef, ptr noundef %0, i32 noundef 21, i32 noundef 2097151, i32 noundef 268435456, i32 noundef %9, i32 noundef 4) #2 %11 = load i8, ptr %0, align 1, !tbaa !9 %12 = and i8 %11, 7 %13 = zext nneg i8 %12 to i32 %14 = shl nuw nsw i32 %13, 28 store i32 %14, ptr %1, align 4, !tbaa !5 %15 = tail call i32 @assert(i32 noundef 1) #2 %16 = load i32, ptr %1, align 4, !tbaa !5 %17 = icmp sgt i32 %16, -1 %18 = zext i1 %17 to i32 %19 = tail call i32 @assert(i32 noundef %18) #2 ret i32 5 } declare i32 @GETVARINT_INIT(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GETVARINT_STEP(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/sqlcipher/ext/fts3/extr_fts3.c_sqlite3Fts3GetVarint32.c' source_filename = "AnghaBench/sqlcipher/ext/fts3/extr_fts3.c_sqlite3Fts3GetVarint32.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @sqlite3Fts3GetVarint32(ptr noundef %0, ptr nocapture noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = tail call i32 @GETVARINT_INIT(i32 noundef undef, ptr noundef %0, i32 noundef 0, i32 noundef 0, i32 noundef 128, i32 noundef %3, i32 noundef 1) #2 %5 = load i32, ptr %1, align 4, !tbaa !6 %6 = tail call i32 @GETVARINT_STEP(i32 noundef undef, ptr noundef %0, i32 noundef 7, i32 noundef 127, i32 noundef 16384, i32 noundef %5, i32 noundef 2) #2 %7 = load i32, ptr %1, align 4, !tbaa !6 %8 = tail call i32 @GETVARINT_STEP(i32 noundef undef, ptr noundef %0, i32 noundef 14, i32 noundef 16383, i32 noundef 2097152, i32 noundef %7, i32 noundef 3) #2 %9 = load i32, ptr %1, align 4, !tbaa !6 %10 = tail call i32 @GETVARINT_STEP(i32 noundef undef, ptr noundef %0, i32 noundef 21, i32 noundef 2097151, i32 noundef 268435456, i32 noundef %9, i32 noundef 4) #2 %11 = load i8, ptr %0, align 1, !tbaa !10 %12 = and i8 %11, 7 %13 = zext nneg i8 %12 to i32 %14 = shl nuw nsw i32 %13, 28 store i32 %14, ptr %1, align 4, !tbaa !6 %15 = tail call i32 @assert(i32 noundef 1) #2 %16 = load i32, ptr %1, align 4, !tbaa !6 %17 = icmp sgt i32 %16, -1 %18 = zext i1 %17 to i32 %19 = tail call i32 @assert(i32 noundef %18) #2 ret i32 5 } declare i32 @GETVARINT_INIT(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GETVARINT_STEP(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0}
sqlcipher_ext_fts3_extr_fts3.c_sqlite3Fts3GetVarint32
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/ole32/extr_clipboard.c_DataObjectImpl_CreateFromHGlobal.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/ole32/extr_clipboard.c_DataObjectImpl_CreateFromHGlobal.c" target datalayout = "e-m:e-p270:32:32-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, i32, %struct.TYPE_4__, ptr, ptr, ptr, ptr, i32 } %struct.TYPE_4__ = type { ptr } @VT_DataObjectImpl = dso_local global i32 0, align 4 @CF_TEXT = dso_local local_unnamed_addr global i32 0, align 4 @TYMED_HGLOBAL = dso_local local_unnamed_addr global i32 0, align 4 @S_OK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @DataObjectImpl_CreateFromHGlobal], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @DataObjectImpl_CreateFromHGlobal(i32 noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = tail call i32 (...) @GetProcessHeap() #3 %4 = tail call ptr @HeapAlloc(i32 noundef %3, i32 noundef 0, i32 noundef 56) #3 %5 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 2 store ptr @VT_DataObjectImpl, ptr %5, align 8, !tbaa !5 store i32 1, ptr %4, align 8, !tbaa !12 %6 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 7 store i32 %0, ptr %6, align 8, !tbaa !13 %7 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 4 %8 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %7, i8 0, i64 24, i1 false) store i32 1, ptr %8, align 4, !tbaa !14 %9 = tail call i32 (...) @GetProcessHeap() #3 %10 = load i32, ptr %8, align 4, !tbaa !14 %11 = shl i32 %10, 2 %12 = tail call ptr @HeapAlloc(i32 noundef %9, i32 noundef 0, i32 noundef %11) #3 %13 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 3 store ptr %12, ptr %13, align 8, !tbaa !15 %14 = load i32, ptr %12, align 4, !tbaa !16 %15 = load i32, ptr @CF_TEXT, align 4, !tbaa !16 %16 = load i32, ptr @TYMED_HGLOBAL, align 4, !tbaa !16 %17 = tail call i32 @InitFormatEtc(i32 noundef %14, i32 noundef %15, i32 noundef %16) #3 store ptr %5, ptr %1, align 8, !tbaa !17 %18 = load i32, ptr @S_OK, align 4, !tbaa !16 ret i32 %18 } declare ptr @HeapAlloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GetProcessHeap(...) local_unnamed_addr #1 declare i32 @InitFormatEtc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 8} !6 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !7, i64 48} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_4__", !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!6, !7, i64 48} !14 = !{!6, !7, i64 4} !15 = !{!6, !11, i64 16} !16 = !{!7, !7, i64 0} !17 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/ole32/extr_clipboard.c_DataObjectImpl_CreateFromHGlobal.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/ole32/extr_clipboard.c_DataObjectImpl_CreateFromHGlobal.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VT_DataObjectImpl = common global i32 0, align 4 @CF_TEXT = common local_unnamed_addr global i32 0, align 4 @TYMED_HGLOBAL = common local_unnamed_addr global i32 0, align 4 @S_OK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @DataObjectImpl_CreateFromHGlobal], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @DataObjectImpl_CreateFromHGlobal(i32 noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = tail call i32 @GetProcessHeap() #3 %4 = tail call ptr @HeapAlloc(i32 noundef %3, i32 noundef 0, i32 noundef 56) #3 %5 = getelementptr inbounds i8, ptr %4, i64 8 store ptr @VT_DataObjectImpl, ptr %5, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %4, i64 48 store i32 %0, ptr %6, align 8, !tbaa !13 %7 = getelementptr inbounds i8, ptr %4, i64 24 %8 = getelementptr inbounds i8, ptr %4, i64 4 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %7, i8 0, i64 24, i1 false) store <2 x i32> <i32 1, i32 1>, ptr %4, align 8, !tbaa !14 %9 = tail call i32 @GetProcessHeap() #3 %10 = load i32, ptr %8, align 4, !tbaa !15 %11 = shl i32 %10, 2 %12 = tail call ptr @HeapAlloc(i32 noundef %9, i32 noundef 0, i32 noundef %11) #3 %13 = getelementptr inbounds i8, ptr %4, i64 16 store ptr %12, ptr %13, align 8, !tbaa !16 %14 = load i32, ptr %12, align 4, !tbaa !14 %15 = load i32, ptr @CF_TEXT, align 4, !tbaa !14 %16 = load i32, ptr @TYMED_HGLOBAL, align 4, !tbaa !14 %17 = tail call i32 @InitFormatEtc(i32 noundef %14, i32 noundef %15, i32 noundef %16) #3 store ptr %5, ptr %1, align 8, !tbaa !17 %18 = load i32, ptr @S_OK, align 4, !tbaa !14 ret i32 %18 } declare ptr @HeapAlloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GetProcessHeap(...) local_unnamed_addr #1 declare i32 @InitFormatEtc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 8} !7 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !8, i64 48} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !8, i64 48} !14 = !{!8, !8, i64 0} !15 = !{!7, !8, i64 4} !16 = !{!7, !12, i64 16} !17 = !{!12, !12, i64 0}
reactos_modules_rostests_winetests_ole32_extr_clipboard.c_DataObjectImpl_CreateFromHGlobal
; ModuleID = 'AnghaBench/freebsd/sys/cddl/dev/dtrace/powerpc/extr_dtrace_subr.c_dtrace_probe_error.c' source_filename = "AnghaBench/freebsd/sys/cddl/dev/dtrace/powerpc/extr_dtrace_subr.c_dtrace_probe_error.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @dtrace_probeid_error = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @dtrace_probe_error(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i64 noundef %5) local_unnamed_addr #0 { %7 = load i32, ptr @dtrace_probeid_error, align 4, !tbaa !5 %8 = ptrtoint ptr %0 to i64 %9 = trunc i64 %8 to i32 %10 = sext i32 %2 to i64 %11 = sext i32 %3 to i64 %12 = sext i32 %4 to i64 %13 = tail call i32 @dtrace_probe(i32 noundef %7, i32 noundef %9, i64 noundef %1, i64 noundef %10, i64 noundef %11, i64 noundef %12) #2 ret void } declare i32 @dtrace_probe(i32 noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/cddl/dev/dtrace/powerpc/extr_dtrace_subr.c_dtrace_probe_error.c' source_filename = "AnghaBench/freebsd/sys/cddl/dev/dtrace/powerpc/extr_dtrace_subr.c_dtrace_probe_error.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @dtrace_probeid_error = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @dtrace_probe_error(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i64 noundef %5) local_unnamed_addr #0 { %7 = load i32, ptr @dtrace_probeid_error, align 4, !tbaa !6 %8 = ptrtoint ptr %0 to i64 %9 = trunc i64 %8 to i32 %10 = sext i32 %2 to i64 %11 = sext i32 %3 to i64 %12 = sext i32 %4 to i64 %13 = tail call i32 @dtrace_probe(i32 noundef %7, i32 noundef %9, i64 noundef %1, i64 noundef %10, i64 noundef %11, i64 noundef %12) #2 ret void } declare i32 @dtrace_probe(i32 noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_cddl_dev_dtrace_powerpc_extr_dtrace_subr.c_dtrace_probe_error
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/extr_nfp_app.c_nfp_app_reprs_set.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/extr_nfp_app.c_nfp_app_reprs_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" ; Function Attrs: nounwind uwtable define dso_local ptr @nfp_app_reprs_set(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @nfp_reprs_get_locked(ptr noundef %0, i32 noundef %1) #2 %5 = tail call i32 (...) @rtnl_lock() #2 %6 = load ptr, ptr %0, align 8, !tbaa !5 %7 = zext i32 %1 to i64 %8 = getelementptr inbounds i32, ptr %6, i64 %7 %9 = load i32, ptr %8, align 4, !tbaa !10 %10 = tail call i32 @rcu_assign_pointer(i32 noundef %9, ptr noundef %2) #2 %11 = tail call i32 (...) @rtnl_unlock() #2 ret ptr %4 } declare ptr @nfp_reprs_get_locked(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rtnl_lock(...) local_unnamed_addr #1 declare i32 @rcu_assign_pointer(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rtnl_unlock(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"nfp_app", !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/netronome/nfp/extr_nfp_app.c_nfp_app_reprs_set.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/extr_nfp_app.c_nfp_app_reprs_set.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define ptr @nfp_app_reprs_set(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @nfp_reprs_get_locked(ptr noundef %0, i32 noundef %1) #2 %5 = tail call i32 @rtnl_lock() #2 %6 = load ptr, ptr %0, align 8, !tbaa !6 %7 = zext i32 %1 to i64 %8 = getelementptr inbounds i32, ptr %6, i64 %7 %9 = load i32, ptr %8, align 4, !tbaa !11 %10 = tail call i32 @rcu_assign_pointer(i32 noundef %9, ptr noundef %2) #2 %11 = tail call i32 @rtnl_unlock() #2 ret ptr %4 } declare ptr @nfp_reprs_get_locked(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rtnl_lock(...) local_unnamed_addr #1 declare i32 @rcu_assign_pointer(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rtnl_unlock(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"nfp_app", !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_netronome_nfp_extr_nfp_app.c_nfp_app_reprs_set
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_shell.c_sqlite3_expert_report.c' source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_shell.c_sqlite3_expert_report.c" target datalayout = "e-m:e-p270:32:32-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, ptr, ptr } %struct.TYPE_5__ = type { i32, ptr, ptr, ptr, ptr } ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define dso_local ptr @sqlite3_expert_report(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %35, label %6 6: ; preds = %3 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2 %8 = load ptr, ptr %7, align 8, !tbaa !11 %9 = icmp eq ptr %8, null br i1 %9, label %18, label %10 10: ; preds = %6, %14 %11 = phi ptr [ %16, %14 ], [ %8, %6 ] %12 = load i32, ptr %11, align 8, !tbaa !12 %13 = icmp ne i32 %12, %1 br i1 %13, label %14, label %18 14: ; preds = %10 %15 = getelementptr inbounds %struct.TYPE_5__, ptr %11, i64 0, i32 4 %16 = load ptr, ptr %15, align 8, !tbaa !11 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %10, !llvm.loop !15 18: ; preds = %10, %14, %6 %19 = phi ptr [ null, %6 ], [ null, %14 ], [ %11, %10 ] %20 = phi i1 [ true, %6 ], [ %13, %14 ], [ %13, %10 ] switch i32 %2, label %35 [ i32 128, label %21 i32 130, label %24 i32 129, label %27 i32 131, label %30 ] 21: ; preds = %18 br i1 %20, label %35, label %22 22: ; preds = %21 %23 = getelementptr inbounds %struct.TYPE_5__, ptr %19, i64 0, i32 1 br label %32 24: ; preds = %18 br i1 %20, label %35, label %25 25: ; preds = %24 %26 = getelementptr inbounds %struct.TYPE_5__, ptr %19, i64 0, i32 2 br label %32 27: ; preds = %18 br i1 %20, label %35, label %28 28: ; preds = %27 %29 = getelementptr inbounds %struct.TYPE_5__, ptr %19, i64 0, i32 3 br label %32 30: ; preds = %18 %31 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 br label %32 32: ; preds = %28, %25, %22, %30 %33 = phi ptr [ %31, %30 ], [ %23, %22 ], [ %26, %25 ], [ %29, %28 ] %34 = load ptr, ptr %33, align 8, !tbaa !11 br label %35 35: ; preds = %32, %18, %21, %24, %27, %3 %36 = phi ptr [ null, %3 ], [ null, %18 ], [ null, %27 ], [ null, %24 ], [ null, %21 ], [ %34, %32 ] ret ptr %36 } attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8, !10, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_5__", !14, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32} !14 = !{!"int", !8, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_shell.c_sqlite3_expert_report.c' source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_shell.c_sqlite3_expert_report.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define ptr @sqlite3_expert_report(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %35, label %6 6: ; preds = %3 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = icmp eq ptr %8, null br i1 %9, label %18, label %10 10: ; preds = %6, %14 %11 = phi ptr [ %16, %14 ], [ %8, %6 ] %12 = load i32, ptr %11, align 8, !tbaa !13 %13 = icmp ne i32 %12, %1 br i1 %13, label %14, label %18 14: ; preds = %10 %15 = getelementptr inbounds i8, ptr %11, i64 32 %16 = load ptr, ptr %15, align 8, !tbaa !12 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %10, !llvm.loop !16 18: ; preds = %10, %14, %6 %19 = phi ptr [ null, %6 ], [ null, %14 ], [ %11, %10 ] %20 = phi i1 [ true, %6 ], [ %13, %14 ], [ %13, %10 ] switch i32 %2, label %35 [ i32 128, label %21 i32 130, label %24 i32 129, label %27 i32 131, label %30 ] 21: ; preds = %18 br i1 %20, label %35, label %22 22: ; preds = %21 %23 = getelementptr inbounds i8, ptr %19, i64 8 br label %32 24: ; preds = %18 br i1 %20, label %35, label %25 25: ; preds = %24 %26 = getelementptr inbounds i8, ptr %19, i64 16 br label %32 27: ; preds = %18 br i1 %20, label %35, label %28 28: ; preds = %27 %29 = getelementptr inbounds i8, ptr %19, i64 24 br label %32 30: ; preds = %18 %31 = getelementptr inbounds i8, ptr %0, i64 8 br label %32 32: ; preds = %28, %25, %22, %30 %33 = phi ptr [ %31, %30 ], [ %23, %22 ], [ %26, %25 ], [ %29, %28 ] %34 = load ptr, ptr %33, align 8, !tbaa !12 br label %35 35: ; preds = %32, %18, %21, %24, %27, %3 %36 = phi ptr [ null, %3 ], [ null, %18 ], [ null, %27 ], [ null, %24 ], [ null, %21 ], [ %34, %32 ] ret ptr %36 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8, !11, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_5__", !15, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32} !15 = !{!"int", !9, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_sqlite3_extr_shell.c_sqlite3_expert_report
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_bounce.c_bounce_end_io_write_isa.c' source_filename = "AnghaBench/fastsocket/kernel/mm/extr_bounce.c_bounce_end_io_write_isa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @isa_page_pool = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bounce_end_io_write_isa], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bounce_end_io_write_isa(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @isa_page_pool, align 4, !tbaa !5 %4 = tail call i32 @bounce_end_io(ptr noundef %0, i32 noundef %3, i32 noundef %1) #2 ret void } declare i32 @bounce_end_io(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_bounce.c_bounce_end_io_write_isa.c' source_filename = "AnghaBench/fastsocket/kernel/mm/extr_bounce.c_bounce_end_io_write_isa.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @isa_page_pool = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bounce_end_io_write_isa], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bounce_end_io_write_isa(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @isa_page_pool, align 4, !tbaa !6 %4 = tail call i32 @bounce_end_io(ptr noundef %0, i32 noundef %3, i32 noundef %1) #2 ret void } declare i32 @bounce_end_io(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"}
fastsocket_kernel_mm_extr_bounce.c_bounce_end_io_write_isa
; ModuleID = 'AnghaBench/linux/sound/core/oss/extr_mixer_oss.c_snd_mixer_oss_get_recsrc2.c' source_filename = "AnghaBench/linux/sound/core/oss/extr_mixer_oss.c_snd_mixer_oss_get_recsrc2.c" target datalayout = "e-m:e-p270:32:32-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_mixer_oss_file = type { ptr, ptr } %struct.snd_kcontrol = type { ptr, ptr } %struct.snd_mixer_oss = type { i32, ptr } %struct.snd_mixer_oss_slot = type { ptr } %struct.slot = type { i64, i32, i64 } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"Capture Source\00", align 1 @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @SNDRV_MIXER_OSS_SIGNATURE = dso_local local_unnamed_addr global i64 0, align 8 @SNDRV_MIXER_OSS_PRESENT_CAPTURE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_mixer_oss_get_recsrc2], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @snd_mixer_oss_get_recsrc2(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = getelementptr inbounds %struct.snd_mixer_oss_file, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %0, align 8, !tbaa !10 %6 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11 %7 = tail call ptr @kzalloc(i32 noundef 8, i32 noundef %6) #2 %8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11 %9 = tail call ptr @kzalloc(i32 noundef 8, i32 noundef %8) #2 %10 = icmp eq ptr %7, null %11 = icmp eq ptr %9, null %12 = select i1 %10, i1 true, i1 %11 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %15 = sub nsw i32 0, %14 br label %67 16: ; preds = %2 %17 = tail call i32 @down_read(ptr noundef %4) #2 %18 = tail call ptr @snd_mixer_oss_test_id(ptr noundef %5, ptr noundef nonnull @.str, i32 noundef 0) #2 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %23 20: ; preds = %16 %21 = load i32, ptr @ENOENT, align 4, !tbaa !11 %22 = sub nsw i32 0, %21 br label %64 23: ; preds = %16 %24 = load ptr, ptr %18, align 8, !tbaa !13 %25 = tail call i32 %24(ptr noundef nonnull %18, ptr noundef nonnull %7) #2 %26 = icmp slt i32 %25, 0 br i1 %26, label %64, label %27 27: ; preds = %23 %28 = getelementptr inbounds %struct.snd_kcontrol, ptr %18, i64 0, i32 1 %29 = load ptr, ptr %28, align 8, !tbaa !15 %30 = tail call i32 %29(ptr noundef nonnull %18, ptr noundef nonnull %9) #2 %31 = icmp slt i32 %30, 0 br i1 %31, label %64, label %32 32: ; preds = %27 %33 = load i32, ptr %5, align 8, !tbaa !16 %34 = getelementptr inbounds %struct.snd_mixer_oss, ptr %5, i64 0, i32 1 %35 = load i64, ptr @SNDRV_MIXER_OSS_SIGNATURE, align 8 %36 = load i32, ptr @SNDRV_MIXER_OSS_PRESENT_CAPTURE, align 4 br label %37 37: ; preds = %32, %61 %38 = phi i64 [ 0, %32 ], [ %62, %61 ] %39 = trunc i64 %38 to i32 %40 = shl nuw i32 1, %39 %41 = and i32 %33, %40 %42 = icmp eq i32 %41, 0 br i1 %42, label %61, label %43 43: ; preds = %37 %44 = load ptr, ptr %34, align 8, !tbaa !18 %45 = getelementptr inbounds %struct.snd_mixer_oss_slot, ptr %44, i64 %38 %46 = load ptr, ptr %45, align 8, !tbaa !19 %47 = load i64, ptr %46, align 8, !tbaa !21 %48 = icmp eq i64 %47, %35 br i1 %48, label %49, label %61 49: ; preds = %43 %50 = getelementptr inbounds %struct.slot, ptr %46, i64 0, i32 1 %51 = load i32, ptr %50, align 8, !tbaa !24 %52 = and i32 %36, %51 %53 = icmp eq i32 %52, 0 br i1 %53, label %61, label %54 54: ; preds = %49 %55 = getelementptr inbounds %struct.slot, ptr %46, i64 0, i32 2 %56 = load i64, ptr %55, align 8, !tbaa !25 %57 = load ptr, ptr %9, align 8, !tbaa !26 %58 = load i64, ptr %57, align 8, !tbaa !30 %59 = icmp eq i64 %56, %58 br i1 %59, label %60, label %61 60: ; preds = %54 store i32 %39, ptr %1, align 4, !tbaa !11 br label %64 61: ; preds = %54, %49, %43, %37 %62 = add nuw nsw i64 %38, 1 %63 = icmp eq i64 %62, 32 br i1 %63, label %64, label %37, !llvm.loop !31 64: ; preds = %61, %60, %27, %23, %20 %65 = phi i32 [ %25, %23 ], [ %30, %27 ], [ %22, %20 ], [ 0, %60 ], [ 0, %61 ] %66 = tail call i32 @up_read(ptr noundef %4) #2 br label %67 67: ; preds = %64, %13 %68 = phi i32 [ %15, %13 ], [ %65, %64 ] %69 = tail call i32 @kfree(ptr noundef %9) #2 %70 = tail call i32 @kfree(ptr noundef %7) #2 ret i32 %68 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @down_read(ptr noundef) local_unnamed_addr #1 declare ptr @snd_mixer_oss_test_id(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @up_read(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"snd_mixer_oss_file", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"snd_kcontrol", !7, i64 0, !7, i64 8} !15 = !{!14, !7, i64 8} !16 = !{!17, !12, i64 0} !17 = !{!"snd_mixer_oss", !12, i64 0, !7, i64 8} !18 = !{!17, !7, i64 8} !19 = !{!20, !7, i64 0} !20 = !{!"snd_mixer_oss_slot", !7, i64 0} !21 = !{!22, !23, i64 0} !22 = !{!"slot", !23, i64 0, !12, i64 8, !23, i64 16} !23 = !{!"long", !8, i64 0} !24 = !{!22, !12, i64 8} !25 = !{!22, !23, i64 16} !26 = !{!27, !7, i64 0} !27 = !{!"snd_ctl_elem_value", !28, i64 0} !28 = !{!"TYPE_4__", !29, i64 0} !29 = !{!"TYPE_3__", !7, i64 0} !30 = !{!23, !23, i64 0} !31 = distinct !{!31, !32} !32 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/sound/core/oss/extr_mixer_oss.c_snd_mixer_oss_get_recsrc2.c' source_filename = "AnghaBench/linux/sound/core/oss/extr_mixer_oss.c_snd_mixer_oss_get_recsrc2.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.snd_mixer_oss_slot = type { ptr } @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"Capture Source\00", align 1 @ENOENT = common local_unnamed_addr global i32 0, align 4 @SNDRV_MIXER_OSS_SIGNATURE = common local_unnamed_addr global i64 0, align 8 @SNDRV_MIXER_OSS_PRESENT_CAPTURE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @snd_mixer_oss_get_recsrc2], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @snd_mixer_oss_get_recsrc2(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %0, align 8, !tbaa !11 %6 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12 %7 = tail call ptr @kzalloc(i32 noundef 8, i32 noundef %6) #2 %8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12 %9 = tail call ptr @kzalloc(i32 noundef 8, i32 noundef %8) #2 %10 = icmp eq ptr %7, null %11 = icmp eq ptr %9, null %12 = select i1 %10, i1 true, i1 %11 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %15 = sub nsw i32 0, %14 br label %67 16: ; preds = %2 %17 = tail call i32 @down_read(ptr noundef %4) #2 %18 = tail call ptr @snd_mixer_oss_test_id(ptr noundef %5, ptr noundef nonnull @.str, i32 noundef 0) #2 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %23 20: ; preds = %16 %21 = load i32, ptr @ENOENT, align 4, !tbaa !12 %22 = sub nsw i32 0, %21 br label %64 23: ; preds = %16 %24 = load ptr, ptr %18, align 8, !tbaa !14 %25 = tail call i32 %24(ptr noundef nonnull %18, ptr noundef nonnull %7) #2 %26 = icmp slt i32 %25, 0 br i1 %26, label %64, label %27 27: ; preds = %23 %28 = getelementptr inbounds i8, ptr %18, i64 8 %29 = load ptr, ptr %28, align 8, !tbaa !16 %30 = tail call i32 %29(ptr noundef nonnull %18, ptr noundef nonnull %9) #2 %31 = icmp slt i32 %30, 0 br i1 %31, label %64, label %32 32: ; preds = %27 %33 = load i32, ptr %5, align 8, !tbaa !17 %34 = getelementptr inbounds i8, ptr %5, i64 8 %35 = load i64, ptr @SNDRV_MIXER_OSS_SIGNATURE, align 8 %36 = load i32, ptr @SNDRV_MIXER_OSS_PRESENT_CAPTURE, align 4 br label %37 37: ; preds = %32, %61 %38 = phi i64 [ 0, %32 ], [ %62, %61 ] %39 = trunc nuw nsw i64 %38 to i32 %40 = shl nuw i32 1, %39 %41 = and i32 %33, %40 %42 = icmp eq i32 %41, 0 br i1 %42, label %61, label %43 43: ; preds = %37 %44 = load ptr, ptr %34, align 8, !tbaa !19 %45 = getelementptr inbounds %struct.snd_mixer_oss_slot, ptr %44, i64 %38 %46 = load ptr, ptr %45, align 8, !tbaa !20 %47 = load i64, ptr %46, align 8, !tbaa !22 %48 = icmp eq i64 %47, %35 br i1 %48, label %49, label %61 49: ; preds = %43 %50 = getelementptr inbounds i8, ptr %46, i64 8 %51 = load i32, ptr %50, align 8, !tbaa !25 %52 = and i32 %36, %51 %53 = icmp eq i32 %52, 0 br i1 %53, label %61, label %54 54: ; preds = %49 %55 = getelementptr inbounds i8, ptr %46, i64 16 %56 = load i64, ptr %55, align 8, !tbaa !26 %57 = load ptr, ptr %9, align 8, !tbaa !27 %58 = load i64, ptr %57, align 8, !tbaa !31 %59 = icmp eq i64 %56, %58 br i1 %59, label %60, label %61 60: ; preds = %54 store i32 %39, ptr %1, align 4, !tbaa !12 br label %64 61: ; preds = %54, %49, %43, %37 %62 = add nuw nsw i64 %38, 1 %63 = icmp eq i64 %62, 32 br i1 %63, label %64, label %37, !llvm.loop !32 64: ; preds = %61, %60, %27, %23, %20 %65 = phi i32 [ %25, %23 ], [ %30, %27 ], [ %22, %20 ], [ 0, %60 ], [ 0, %61 ] %66 = tail call i32 @up_read(ptr noundef %4) #2 br label %67 67: ; preds = %64, %13 %68 = phi i32 [ %15, %13 ], [ %65, %64 ] %69 = tail call i32 @kfree(ptr noundef %9) #2 %70 = tail call i32 @kfree(ptr noundef %7) #2 ret i32 %68 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @down_read(ptr noundef) local_unnamed_addr #1 declare ptr @snd_mixer_oss_test_id(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @up_read(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"snd_mixer_oss_file", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"snd_kcontrol", !8, i64 0, !8, i64 8} !16 = !{!15, !8, i64 8} !17 = !{!18, !13, i64 0} !18 = !{!"snd_mixer_oss", !13, i64 0, !8, i64 8} !19 = !{!18, !8, i64 8} !20 = !{!21, !8, i64 0} !21 = !{!"snd_mixer_oss_slot", !8, i64 0} !22 = !{!23, !24, i64 0} !23 = !{!"slot", !24, i64 0, !13, i64 8, !24, i64 16} !24 = !{!"long", !9, i64 0} !25 = !{!23, !13, i64 8} !26 = !{!23, !24, i64 16} !27 = !{!28, !8, i64 0} !28 = !{!"snd_ctl_elem_value", !29, i64 0} !29 = !{!"TYPE_4__", !30, i64 0} !30 = !{!"TYPE_3__", !8, i64 0} !31 = !{!24, !24, i64 0} !32 = distinct !{!32, !33} !33 = !{!"llvm.loop.mustprogress"}
linux_sound_core_oss_extr_mixer_oss.c_snd_mixer_oss_get_recsrc2
; ModuleID = 'AnghaBench/linux/drivers/iio/adc/extr_ti_am335x_adc.c_tiadc_channel_init.c' source_filename = "AnghaBench/linux/drivers/iio/adc/extr_ti_am335x_adc.c_tiadc_channel_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.iio_chan_spec = type { i32, i64, i32, %struct.TYPE_2__, i32, i32, i32 } %struct.TYPE_2__ = type { i8, i32, i32 } %struct.iio_dev = type { i32, ptr } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @IIO_VOLTAGE = dso_local local_unnamed_addr global i32 0, align 4 @IIO_CHAN_INFO_RAW = dso_local local_unnamed_addr global i32 0, align 4 @chan_name_ain = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @tiadc_channel_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @tiadc_channel_init(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @iio_priv(ptr noundef %0) #2 store i32 %1, ptr %0, align 8, !tbaa !5 %4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11 %5 = tail call ptr @kcalloc(i32 noundef %1, i32 noundef 48, i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %11, label %7 7: ; preds = %2 %8 = icmp sgt i32 %1, 0 br i1 %8, label %9, label %39 9: ; preds = %7 %10 = zext nneg i32 %1 to i64 br label %14 11: ; preds = %2 %12 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %13 = sub nsw i32 0, %12 br label %41 14: ; preds = %9, %14 %15 = phi i64 [ 0, %9 ], [ %36, %14 ] %16 = phi ptr [ %5, %9 ], [ %37, %14 ] %17 = load i32, ptr @IIO_VOLTAGE, align 4, !tbaa !11 %18 = getelementptr inbounds %struct.iio_chan_spec, ptr %16, i64 0, i32 6 store i32 %17, ptr %18, align 8, !tbaa !12 store i32 1, ptr %16, align 8, !tbaa !16 %19 = load ptr, ptr %3, align 8, !tbaa !17 %20 = getelementptr inbounds i64, ptr %19, i64 %15 %21 = load i64, ptr %20, align 8, !tbaa !19 %22 = getelementptr inbounds %struct.iio_chan_spec, ptr %16, i64 0, i32 1 store i64 %21, ptr %22, align 8, !tbaa !20 %23 = load i32, ptr @IIO_CHAN_INFO_RAW, align 4, !tbaa !11 %24 = tail call i32 @BIT(i32 noundef %23) #2 %25 = getelementptr inbounds %struct.iio_chan_spec, ptr %16, i64 0, i32 5 store i32 %24, ptr %25, align 4, !tbaa !21 %26 = load ptr, ptr @chan_name_ain, align 8, !tbaa !22 %27 = load i64, ptr %22, align 8, !tbaa !20 %28 = getelementptr inbounds i32, ptr %26, i64 %27 %29 = load i32, ptr %28, align 4, !tbaa !11 %30 = getelementptr inbounds %struct.iio_chan_spec, ptr %16, i64 0, i32 4 store i32 %29, ptr %30, align 8, !tbaa !23 %31 = getelementptr inbounds %struct.iio_chan_spec, ptr %16, i64 0, i32 2 %32 = trunc i64 %15 to i32 store i32 %32, ptr %31, align 8, !tbaa !24 %33 = getelementptr inbounds %struct.iio_chan_spec, ptr %16, i64 0, i32 3 store i8 117, ptr %33, align 4, !tbaa !25 %34 = getelementptr inbounds %struct.iio_chan_spec, ptr %16, i64 0, i32 3, i32 1 store i32 12, ptr %34, align 4, !tbaa !26 %35 = getelementptr inbounds %struct.iio_chan_spec, ptr %16, i64 0, i32 3, i32 2 store i32 16, ptr %35, align 4, !tbaa !27 %36 = add nuw nsw i64 %15, 1 %37 = getelementptr inbounds %struct.iio_chan_spec, ptr %16, i64 1 %38 = icmp eq i64 %36, %10 br i1 %38, label %39, label %14, !llvm.loop !28 39: ; preds = %14, %7 %40 = getelementptr inbounds %struct.iio_dev, ptr %0, i64 0, i32 1 store ptr %5, ptr %40, align 8, !tbaa !30 br label %41 41: ; preds = %39, %11 %42 = phi i32 [ %13, %11 ], [ 0, %39 ] ret i32 %42 } declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare ptr @kcalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BIT(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 = !{!"iio_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 = !{!7, !7, i64 0} !12 = !{!13, !7, i64 40} !13 = !{!"iio_chan_spec", !7, i64 0, !14, i64 8, !7, i64 16, !15, i64 20, !7, i64 32, !7, i64 36, !7, i64 40} !14 = !{!"long", !8, i64 0} !15 = !{!"TYPE_2__", !8, i64 0, !7, i64 4, !7, i64 8} !16 = !{!13, !7, i64 0} !17 = !{!18, !10, i64 0} !18 = !{!"tiadc_device", !10, i64 0} !19 = !{!14, !14, i64 0} !20 = !{!13, !14, i64 8} !21 = !{!13, !7, i64 36} !22 = !{!10, !10, i64 0} !23 = !{!13, !7, i64 32} !24 = !{!13, !7, i64 16} !25 = !{!13, !8, i64 20} !26 = !{!13, !7, i64 24} !27 = !{!13, !7, i64 28} !28 = distinct !{!28, !29} !29 = !{!"llvm.loop.mustprogress"} !30 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/iio/adc/extr_ti_am335x_adc.c_tiadc_channel_init.c' source_filename = "AnghaBench/linux/drivers/iio/adc/extr_ti_am335x_adc.c_tiadc_channel_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @IIO_VOLTAGE = common local_unnamed_addr global i32 0, align 4 @IIO_CHAN_INFO_RAW = common local_unnamed_addr global i32 0, align 4 @chan_name_ain = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @tiadc_channel_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @tiadc_channel_init(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @iio_priv(ptr noundef %0) #2 store i32 %1, ptr %0, align 8, !tbaa !6 %4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12 %5 = tail call ptr @kcalloc(i32 noundef %1, i32 noundef 48, i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %11, label %7 7: ; preds = %2 %8 = icmp sgt i32 %1, 0 br i1 %8, label %9, label %38 9: ; preds = %7 %10 = zext nneg i32 %1 to i64 br label %14 11: ; preds = %2 %12 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %13 = sub nsw i32 0, %12 br label %40 14: ; preds = %9, %14 %15 = phi i64 [ 0, %9 ], [ %35, %14 ] %16 = phi ptr [ %5, %9 ], [ %36, %14 ] %17 = load i32, ptr @IIO_VOLTAGE, align 4, !tbaa !12 %18 = getelementptr inbounds i8, ptr %16, i64 40 store i32 %17, ptr %18, align 8, !tbaa !13 store i32 1, ptr %16, align 8, !tbaa !17 %19 = load ptr, ptr %3, align 8, !tbaa !18 %20 = getelementptr inbounds i64, ptr %19, i64 %15 %21 = load i64, ptr %20, align 8, !tbaa !20 %22 = getelementptr inbounds i8, ptr %16, i64 8 store i64 %21, ptr %22, align 8, !tbaa !21 %23 = load i32, ptr @IIO_CHAN_INFO_RAW, align 4, !tbaa !12 %24 = tail call i32 @BIT(i32 noundef %23) #2 %25 = getelementptr inbounds i8, ptr %16, i64 36 store i32 %24, ptr %25, align 4, !tbaa !22 %26 = load ptr, ptr @chan_name_ain, align 8, !tbaa !23 %27 = load i64, ptr %22, align 8, !tbaa !21 %28 = getelementptr inbounds i32, ptr %26, i64 %27 %29 = load i32, ptr %28, align 4, !tbaa !12 %30 = getelementptr inbounds i8, ptr %16, i64 32 store i32 %29, ptr %30, align 8, !tbaa !24 %31 = getelementptr inbounds i8, ptr %16, i64 16 %32 = trunc nuw nsw i64 %15 to i32 store i32 %32, ptr %31, align 8, !tbaa !25 %33 = getelementptr inbounds i8, ptr %16, i64 20 store i8 117, ptr %33, align 4, !tbaa !26 %34 = getelementptr inbounds i8, ptr %16, i64 24 store <2 x i32> <i32 12, i32 16>, ptr %34, align 4, !tbaa !12 %35 = add nuw nsw i64 %15, 1 %36 = getelementptr inbounds i8, ptr %16, i64 48 %37 = icmp eq i64 %35, %10 br i1 %37, label %38, label %14, !llvm.loop !27 38: ; preds = %14, %7 %39 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %5, ptr %39, align 8, !tbaa !29 br label %40 40: ; preds = %38, %11 %41 = phi i32 [ %13, %11 ], [ 0, %38 ] ret i32 %41 } declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare ptr @kcalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BIT(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 = !{!"iio_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 = !{!8, !8, i64 0} !13 = !{!14, !8, i64 40} !14 = !{!"iio_chan_spec", !8, i64 0, !15, i64 8, !8, i64 16, !16, i64 20, !8, i64 32, !8, i64 36, !8, i64 40} !15 = !{!"long", !9, i64 0} !16 = !{!"TYPE_2__", !9, i64 0, !8, i64 4, !8, i64 8} !17 = !{!14, !8, i64 0} !18 = !{!19, !11, i64 0} !19 = !{!"tiadc_device", !11, i64 0} !20 = !{!15, !15, i64 0} !21 = !{!14, !15, i64 8} !22 = !{!14, !8, i64 36} !23 = !{!11, !11, i64 0} !24 = !{!14, !8, i64 32} !25 = !{!14, !8, i64 16} !26 = !{!14, !9, i64 20} !27 = distinct !{!27, !28} !28 = !{!"llvm.loop.mustprogress"} !29 = !{!7, !11, i64 8}
linux_drivers_iio_adc_extr_ti_am335x_adc.c_tiadc_channel_init
; ModuleID = 'AnghaBench/linux/drivers/ata/extr_sata_fsl.c_sata_fsl_remove.c' source_filename = "AnghaBench/linux/drivers/ata/extr_sata_fsl.c_sata_fsl_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.sata_fsl_host_priv = type { i32, i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @sata_fsl_remove], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @sata_fsl_remove(ptr noundef %0) #0 { %2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.sata_fsl_host_priv, ptr %3, i64 0, i32 3 %5 = tail call i32 @device_remove_file(ptr noundef %0, ptr noundef nonnull %4) #2 %6 = getelementptr inbounds %struct.sata_fsl_host_priv, ptr %3, i64 0, i32 2 %7 = tail call i32 @device_remove_file(ptr noundef %0, ptr noundef nonnull %6) #2 %8 = tail call i32 @ata_host_detach(ptr noundef nonnull %2) #2 %9 = getelementptr inbounds %struct.sata_fsl_host_priv, ptr %3, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !10 %11 = tail call i32 @irq_dispose_mapping(i32 noundef %10) #2 %12 = load i32, ptr %3, align 4, !tbaa !13 %13 = tail call i32 @iounmap(i32 noundef %12) #2 %14 = tail call i32 @kfree(ptr noundef nonnull %3) #2 ret i32 0 } declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @device_remove_file(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ata_host_detach(ptr noundef) local_unnamed_addr #1 declare i32 @irq_dispose_mapping(i32 noundef) local_unnamed_addr #1 declare i32 @iounmap(i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ata_host", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 4} !11 = !{!"sata_fsl_host_priv", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12} !12 = !{!"int", !8, i64 0} !13 = !{!11, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/ata/extr_sata_fsl.c_sata_fsl_remove.c' source_filename = "AnghaBench/linux/drivers/ata/extr_sata_fsl.c_sata_fsl_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 @sata_fsl_remove], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @sata_fsl_remove(ptr noundef %0) #0 { %2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 12 %5 = tail call i32 @device_remove_file(ptr noundef %0, ptr noundef nonnull %4) #2 %6 = getelementptr inbounds i8, ptr %3, i64 8 %7 = tail call i32 @device_remove_file(ptr noundef %0, ptr noundef nonnull %6) #2 %8 = tail call i32 @ata_host_detach(ptr noundef nonnull %2) #2 %9 = getelementptr inbounds i8, ptr %3, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !11 %11 = tail call i32 @irq_dispose_mapping(i32 noundef %10) #2 %12 = load i32, ptr %3, align 4, !tbaa !14 %13 = tail call i32 @iounmap(i32 noundef %12) #2 %14 = tail call i32 @kfree(ptr noundef nonnull %3) #2 ret i32 0 } declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @device_remove_file(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ata_host_detach(ptr noundef) local_unnamed_addr #1 declare i32 @irq_dispose_mapping(i32 noundef) local_unnamed_addr #1 declare i32 @iounmap(i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ata_host", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 4} !12 = !{!"sata_fsl_host_priv", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12} !13 = !{!"int", !9, i64 0} !14 = !{!12, !13, i64 0}
linux_drivers_ata_extr_sata_fsl.c_sata_fsl_remove
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_exec.c_exec_free_args.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_exec.c_exec_free_args.c" target datalayout = "e-m:e-p270:32:32-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.image_args = type { ptr, ptr, ptr, i32 } @M_TEMP = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @exec_free_args(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.image_args, 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 %9, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.image_args, ptr %0, i64 0, i32 3 %7 = load i32, ptr %6, align 8, !tbaa !11 %8 = tail call i32 @exec_free_args_kva(i32 noundef %7) #2 store ptr null, ptr %2, align 8, !tbaa !5 br label %9 9: ; preds = %5, %1 %10 = getelementptr inbounds %struct.image_args, ptr %0, i64 0, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !12 %12 = icmp eq ptr %11, null br i1 %12, label %16, label %13 13: ; preds = %9 %14 = load i32, ptr @M_TEMP, align 4, !tbaa !13 %15 = tail call i32 @free(ptr noundef nonnull %11, i32 noundef %14) #2 store ptr null, ptr %10, align 8, !tbaa !12 br label %16 16: ; preds = %13, %9 %17 = load ptr, ptr %0, align 8, !tbaa !14 %18 = icmp eq ptr %17, null br i1 %18, label %21, label %19 19: ; preds = %16 %20 = tail call i32 @fdescfree_remapped(ptr noundef nonnull %17) #2 br label %21 21: ; preds = %19, %16 ret void } declare i32 @exec_free_args_kva(i32 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fdescfree_remapped(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 = !{!"image_args", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !10, i64 24} !12 = !{!6, !7, i64 8} !13 = !{!10, !10, i64 0} !14 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_exec.c_exec_free_args.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_exec.c_exec_free_args.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @M_TEMP = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @exec_free_args(ptr nocapture noundef %0) local_unnamed_addr #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 %9, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 24 %7 = load i32, ptr %6, align 8, !tbaa !12 %8 = tail call i32 @exec_free_args_kva(i32 noundef %7) #2 store ptr null, ptr %2, align 8, !tbaa !6 br label %9 9: ; preds = %5, %1 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !13 %12 = icmp eq ptr %11, null br i1 %12, label %16, label %13 13: ; preds = %9 %14 = load i32, ptr @M_TEMP, align 4, !tbaa !14 %15 = tail call i32 @free(ptr noundef nonnull %11, i32 noundef %14) #2 store ptr null, ptr %10, align 8, !tbaa !13 br label %16 16: ; preds = %13, %9 %17 = load ptr, ptr %0, align 8, !tbaa !15 %18 = icmp eq ptr %17, null br i1 %18, label %21, label %19 19: ; preds = %16 %20 = tail call i32 @fdescfree_remapped(ptr noundef nonnull %17) #2 br label %21 21: ; preds = %19, %16 ret void } declare i32 @exec_free_args_kva(i32 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fdescfree_remapped(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 = !{!"image_args", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !11, i64 24} !13 = !{!7, !8, i64 8} !14 = !{!11, !11, i64 0} !15 = !{!7, !8, i64 0}
freebsd_sys_kern_extr_kern_exec.c_exec_free_args
; ModuleID = 'AnghaBench/fastsocket/kernel/net/netfilter/extr_nf_conntrack_netlink.c_ctnetlink_del_conntrack.c' source_filename = "AnghaBench/fastsocket/kernel/net/netfilter/extr_nf_conntrack_netlink.c_ctnetlink_del_conntrack.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.nf_conntrack_tuple = type { i32 } @CTA_TUPLE_ORIG = dso_local local_unnamed_addr global i64 0, align 8 @CTA_TUPLE_REPLY = dso_local local_unnamed_addr global i64 0, align 8 @init_net = dso_local global i32 0, align 4 @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @CTA_ID = dso_local local_unnamed_addr global i64 0, align 8 @IPCT_DESTROY = dso_local local_unnamed_addr global i32 0, align 4 @IPS_DYING_BIT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ctnetlink_del_conntrack], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ctnetlink_del_conntrack(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca %struct.nf_conntrack_tuple, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = tail call ptr @nlmsg_data(ptr noundef %2) #3 %7 = load i32, ptr %6, align 4, !tbaa !5 %8 = load i64, ptr @CTA_TUPLE_ORIG, align 8, !tbaa !10 %9 = getelementptr inbounds ptr, ptr %3, i64 %8 %10 = load ptr, ptr %9, align 8, !tbaa !12 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %21 12: ; preds = %4 %13 = load i64, ptr @CTA_TUPLE_REPLY, align 8, !tbaa !10 %14 = getelementptr inbounds ptr, ptr %3, i64 %13 %15 = load ptr, ptr %14, align 8, !tbaa !12 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %21 17: ; preds = %12 %18 = tail call i32 @NETLINK_CB(ptr noundef %1) #3 %19 = tail call i32 @nlmsg_report(ptr noundef %2) #3 %20 = tail call i32 @nf_conntrack_flush_report(ptr noundef nonnull @init_net, i32 noundef %18, i32 noundef %19) #3 br label %61 21: ; preds = %12, %4 %22 = phi i64 [ %8, %4 ], [ %13, %12 ] %23 = call i32 @ctnetlink_parse_tuple(ptr noundef nonnull %3, ptr noundef nonnull %5, i64 noundef %22, i32 noundef %7) #3 %24 = icmp slt i32 %23, 0 br i1 %24, label %61, label %25 25: ; preds = %21 %26 = call ptr @nf_conntrack_find_get(ptr noundef nonnull @init_net, ptr noundef nonnull %5) #3 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load i32, ptr @ENOENT, align 4, !tbaa !14 %30 = sub nsw i32 0, %29 br label %61 31: ; preds = %25 %32 = call ptr @nf_ct_tuplehash_to_ctrack(ptr noundef nonnull %26) #3 %33 = load i64, ptr @CTA_ID, align 8, !tbaa !10 %34 = getelementptr inbounds ptr, ptr %3, i64 %33 %35 = load ptr, ptr %34, align 8, !tbaa !12 %36 = icmp eq ptr %35, null br i1 %36, label %46, label %37 37: ; preds = %31 %38 = call i32 @nla_get_be32(ptr noundef nonnull %35) #3 %39 = call i64 @ntohl(i32 noundef %38) #3 %40 = ptrtoint ptr %32 to i64 %41 = icmp eq i64 %39, %40 br i1 %41, label %46, label %42 42: ; preds = %37 %43 = call i32 @nf_ct_put(ptr noundef %32) #3 %44 = load i32, ptr @ENOENT, align 4, !tbaa !14 %45 = sub nsw i32 0, %44 br label %61 46: ; preds = %37, %31 %47 = load i32, ptr @IPCT_DESTROY, align 4, !tbaa !14 %48 = call i32 @NETLINK_CB(ptr noundef %1) #3 %49 = call i32 @nlmsg_report(ptr noundef %2) #3 %50 = call i64 @nf_conntrack_event_report(i32 noundef %47, ptr noundef %32, i32 noundef %48, i32 noundef %49) #3 %51 = icmp slt i64 %50, 0 br i1 %51, label %52, label %56 52: ; preds = %46 %53 = call i32 @nf_ct_delete_from_lists(ptr noundef %32) #3 %54 = call i32 @nf_ct_insert_dying_list(ptr noundef %32) #3 %55 = call i32 @nf_ct_put(ptr noundef %32) #3 br label %61 56: ; preds = %46 %57 = load i32, ptr @IPS_DYING_BIT, align 4, !tbaa !14 %58 = call i32 @set_bit(i32 noundef %57, ptr noundef %32) #3 %59 = call i32 @nf_ct_kill(ptr noundef %32) #3 %60 = call i32 @nf_ct_put(ptr noundef %32) #3 br label %61 61: ; preds = %42, %21, %56, %52, %28, %17 %62 = phi i32 [ 0, %52 ], [ 0, %56 ], [ %45, %42 ], [ %30, %28 ], [ 0, %17 ], [ %23, %21 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %62 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @nlmsg_data(ptr noundef) local_unnamed_addr #2 declare i32 @ctnetlink_parse_tuple(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @nf_conntrack_flush_report(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @NETLINK_CB(ptr noundef) local_unnamed_addr #2 declare i32 @nlmsg_report(ptr noundef) local_unnamed_addr #2 declare ptr @nf_conntrack_find_get(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @nf_ct_tuplehash_to_ctrack(ptr noundef) local_unnamed_addr #2 declare i64 @ntohl(i32 noundef) local_unnamed_addr #2 declare i32 @nla_get_be32(ptr noundef) local_unnamed_addr #2 declare i32 @nf_ct_put(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i64 @nf_conntrack_event_report(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @nf_ct_delete_from_lists(ptr noundef) local_unnamed_addr #2 declare i32 @nf_ct_insert_dying_list(ptr noundef) local_unnamed_addr #2 declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @nf_ct_kill(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"nfgenmsg", !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 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/netfilter/extr_nf_conntrack_netlink.c_ctnetlink_del_conntrack.c' source_filename = "AnghaBench/fastsocket/kernel/net/netfilter/extr_nf_conntrack_netlink.c_ctnetlink_del_conntrack.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.nf_conntrack_tuple = type { i32 } @CTA_TUPLE_ORIG = common local_unnamed_addr global i64 0, align 8 @CTA_TUPLE_REPLY = common local_unnamed_addr global i64 0, align 8 @init_net = common global i32 0, align 4 @ENOENT = common local_unnamed_addr global i32 0, align 4 @CTA_ID = common local_unnamed_addr global i64 0, align 8 @IPCT_DESTROY = common local_unnamed_addr global i32 0, align 4 @IPS_DYING_BIT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ctnetlink_del_conntrack], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ctnetlink_del_conntrack(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca %struct.nf_conntrack_tuple, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = tail call ptr @nlmsg_data(ptr noundef %2) #3 %7 = load i32, ptr %6, align 4, !tbaa !6 %8 = load i64, ptr @CTA_TUPLE_ORIG, align 8, !tbaa !11 %9 = getelementptr inbounds ptr, ptr %3, i64 %8 %10 = load ptr, ptr %9, align 8, !tbaa !13 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %21 12: ; preds = %4 %13 = load i64, ptr @CTA_TUPLE_REPLY, align 8, !tbaa !11 %14 = getelementptr inbounds ptr, ptr %3, i64 %13 %15 = load ptr, ptr %14, align 8, !tbaa !13 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %21 17: ; preds = %12 %18 = tail call i32 @NETLINK_CB(ptr noundef %1) #3 %19 = tail call i32 @nlmsg_report(ptr noundef %2) #3 %20 = tail call i32 @nf_conntrack_flush_report(ptr noundef nonnull @init_net, i32 noundef %18, i32 noundef %19) #3 br label %61 21: ; preds = %12, %4 %22 = phi i64 [ %8, %4 ], [ %13, %12 ] %23 = call i32 @ctnetlink_parse_tuple(ptr noundef nonnull %3, ptr noundef nonnull %5, i64 noundef %22, i32 noundef %7) #3 %24 = icmp slt i32 %23, 0 br i1 %24, label %61, label %25 25: ; preds = %21 %26 = call ptr @nf_conntrack_find_get(ptr noundef nonnull @init_net, ptr noundef nonnull %5) #3 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load i32, ptr @ENOENT, align 4, !tbaa !15 %30 = sub nsw i32 0, %29 br label %61 31: ; preds = %25 %32 = call ptr @nf_ct_tuplehash_to_ctrack(ptr noundef nonnull %26) #3 %33 = load i64, ptr @CTA_ID, align 8, !tbaa !11 %34 = getelementptr inbounds ptr, ptr %3, i64 %33 %35 = load ptr, ptr %34, align 8, !tbaa !13 %36 = icmp eq ptr %35, null br i1 %36, label %46, label %37 37: ; preds = %31 %38 = call i32 @nla_get_be32(ptr noundef nonnull %35) #3 %39 = call i64 @ntohl(i32 noundef %38) #3 %40 = ptrtoint ptr %32 to i64 %41 = icmp eq i64 %39, %40 br i1 %41, label %46, label %42 42: ; preds = %37 %43 = call i32 @nf_ct_put(ptr noundef %32) #3 %44 = load i32, ptr @ENOENT, align 4, !tbaa !15 %45 = sub nsw i32 0, %44 br label %61 46: ; preds = %37, %31 %47 = load i32, ptr @IPCT_DESTROY, align 4, !tbaa !15 %48 = call i32 @NETLINK_CB(ptr noundef %1) #3 %49 = call i32 @nlmsg_report(ptr noundef %2) #3 %50 = call i64 @nf_conntrack_event_report(i32 noundef %47, ptr noundef %32, i32 noundef %48, i32 noundef %49) #3 %51 = icmp slt i64 %50, 0 br i1 %51, label %52, label %56 52: ; preds = %46 %53 = call i32 @nf_ct_delete_from_lists(ptr noundef %32) #3 %54 = call i32 @nf_ct_insert_dying_list(ptr noundef %32) #3 %55 = call i32 @nf_ct_put(ptr noundef %32) #3 br label %61 56: ; preds = %46 %57 = load i32, ptr @IPS_DYING_BIT, align 4, !tbaa !15 %58 = call i32 @set_bit(i32 noundef %57, ptr noundef %32) #3 %59 = call i32 @nf_ct_kill(ptr noundef %32) #3 %60 = call i32 @nf_ct_put(ptr noundef %32) #3 br label %61 61: ; preds = %42, %21, %56, %52, %28, %17 %62 = phi i32 [ 0, %52 ], [ 0, %56 ], [ %45, %42 ], [ %30, %28 ], [ 0, %17 ], [ %23, %21 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %62 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @nlmsg_data(ptr noundef) local_unnamed_addr #2 declare i32 @ctnetlink_parse_tuple(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @nf_conntrack_flush_report(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @NETLINK_CB(ptr noundef) local_unnamed_addr #2 declare i32 @nlmsg_report(ptr noundef) local_unnamed_addr #2 declare ptr @nf_conntrack_find_get(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @nf_ct_tuplehash_to_ctrack(ptr noundef) local_unnamed_addr #2 declare i64 @ntohl(i32 noundef) local_unnamed_addr #2 declare i32 @nla_get_be32(ptr noundef) local_unnamed_addr #2 declare i32 @nf_ct_put(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i64 @nf_conntrack_event_report(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @nf_ct_delete_from_lists(ptr noundef) local_unnamed_addr #2 declare i32 @nf_ct_insert_dying_list(ptr noundef) local_unnamed_addr #2 declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @nf_ct_kill(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"nfgenmsg", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !9, i64 0} !15 = !{!8, !8, i64 0}
fastsocket_kernel_net_netfilter_extr_nf_conntrack_netlink.c_ctnetlink_del_conntrack
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/irq/extr_manage.c_set_irq_wake.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/irq/extr_manage.c_set_irq_wake.c" target datalayout = "e-m:e-p270:32:32-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.irq_desc = type { i64, i32, i32 } @IRQ_WAKEUP = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"Unbalanced IRQ %d wake disable\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @set_irq_wake(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @irq_to_desc(i32 noundef %0) #2 %4 = getelementptr inbounds %struct.irq_desc, ptr %3, i64 0, i32 1 %5 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %4, i64 noundef undef) #2 %6 = icmp eq i32 %1, 0 %7 = load i64, ptr %3, align 8, !tbaa !5 br i1 %6, label %20, label %8 8: ; preds = %2 %9 = add nsw i64 %7, 1 store i64 %9, ptr %3, align 8, !tbaa !5 %10 = icmp eq i64 %7, 0 br i1 %10, label %11, label %37 11: ; preds = %8 %12 = tail call i32 @set_irq_wake_real(i32 noundef %0, i32 noundef %1) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %11 store i64 0, ptr %3, align 8, !tbaa !5 br label %37 15: ; preds = %11 %16 = load i32, ptr @IRQ_WAKEUP, align 4, !tbaa !11 %17 = getelementptr inbounds %struct.irq_desc, ptr %3, i64 0, i32 2 %18 = load i32, ptr %17, align 4, !tbaa !12 %19 = or i32 %18, %16 store i32 %19, ptr %17, align 4, !tbaa !12 br label %37 20: ; preds = %2 %21 = icmp eq i64 %7, 0 br i1 %21, label %22, label %24 22: ; preds = %20 %23 = tail call i32 @WARN(i32 noundef 1, ptr noundef nonnull @.str, i32 noundef %0) #2 br label %37 24: ; preds = %20 %25 = add nsw i64 %7, -1 store i64 %25, ptr %3, align 8, !tbaa !5 %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %37 27: ; preds = %24 %28 = tail call i32 @set_irq_wake_real(i32 noundef %0, i32 noundef 0) #2 %29 = icmp eq i32 %28, 0 br i1 %29, label %31, label %30 30: ; preds = %27 store i64 1, ptr %3, align 8, !tbaa !5 br label %37 31: ; preds = %27 %32 = load i32, ptr @IRQ_WAKEUP, align 4, !tbaa !11 %33 = xor i32 %32, -1 %34 = getelementptr inbounds %struct.irq_desc, ptr %3, i64 0, i32 2 %35 = load i32, ptr %34, align 4, !tbaa !12 %36 = and i32 %35, %33 store i32 %36, ptr %34, align 4, !tbaa !12 br label %37 37: ; preds = %22, %30, %31, %24, %8, %15, %14 %38 = phi i32 [ %12, %14 ], [ 0, %15 ], [ 0, %8 ], [ 0, %22 ], [ %28, %30 ], [ 0, %31 ], [ 0, %24 ] %39 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %4, i64 noundef undef) #2 ret i32 %38 } declare ptr @irq_to_desc(i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @set_irq_wake_real(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WARN(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"irq_desc", !7, i64 0, !10, i64 8, !10, i64 12} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!6, !10, i64 12}
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/irq/extr_manage.c_set_irq_wake.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/irq/extr_manage.c_set_irq_wake.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IRQ_WAKEUP = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"Unbalanced IRQ %d wake disable\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @set_irq_wake(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @irq_to_desc(i32 noundef %0) #2 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %4, i64 noundef undef) #2 %6 = icmp eq i32 %1, 0 %7 = load i64, ptr %3, align 8, !tbaa !6 br i1 %6, label %20, label %8 8: ; preds = %2 %9 = add nsw i64 %7, 1 store i64 %9, ptr %3, align 8, !tbaa !6 %10 = icmp eq i64 %7, 0 br i1 %10, label %11, label %37 11: ; preds = %8 %12 = tail call i32 @set_irq_wake_real(i32 noundef %0, i32 noundef %1) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %11 store i64 0, ptr %3, align 8, !tbaa !6 br label %37 15: ; preds = %11 %16 = load i32, ptr @IRQ_WAKEUP, align 4, !tbaa !12 %17 = getelementptr inbounds i8, ptr %3, i64 12 %18 = load i32, ptr %17, align 4, !tbaa !13 %19 = or i32 %18, %16 store i32 %19, ptr %17, align 4, !tbaa !13 br label %37 20: ; preds = %2 %21 = icmp eq i64 %7, 0 br i1 %21, label %22, label %24 22: ; preds = %20 %23 = tail call i32 @WARN(i32 noundef 1, ptr noundef nonnull @.str, i32 noundef %0) #2 br label %37 24: ; preds = %20 %25 = add nsw i64 %7, -1 store i64 %25, ptr %3, align 8, !tbaa !6 %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %37 27: ; preds = %24 %28 = tail call i32 @set_irq_wake_real(i32 noundef %0, i32 noundef 0) #2 %29 = icmp eq i32 %28, 0 br i1 %29, label %31, label %30 30: ; preds = %27 store i64 1, ptr %3, align 8, !tbaa !6 br label %37 31: ; preds = %27 %32 = load i32, ptr @IRQ_WAKEUP, align 4, !tbaa !12 %33 = xor i32 %32, -1 %34 = getelementptr inbounds i8, ptr %3, i64 12 %35 = load i32, ptr %34, align 4, !tbaa !13 %36 = and i32 %35, %33 store i32 %36, ptr %34, align 4, !tbaa !13 br label %37 37: ; preds = %22, %30, %31, %24, %8, %15, %14 %38 = phi i32 [ %12, %14 ], [ 0, %15 ], [ 0, %8 ], [ 0, %22 ], [ %28, %30 ], [ 0, %31 ], [ 0, %24 ] %39 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %4, i64 noundef undef) #2 ret i32 %38 } declare ptr @irq_to_desc(i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @set_irq_wake_real(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WARN(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"irq_desc", !8, i64 0, !11, i64 8, !11, i64 12} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!7, !11, i64 12}
fastsocket_kernel_kernel_irq_extr_manage.c_set_irq_wake
; ModuleID = 'AnghaBench/postgres/src/backend/utils/cache/extr_typcache.c_record_fields_have_equality.c' source_filename = "AnghaBench/postgres/src/backend/utils/cache/extr_typcache.c_record_fields_have_equality.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TCFLAGS_CHECKED_FIELD_PROPERTIES = dso_local local_unnamed_addr global i32 0, align 4 @TCFLAGS_HAVE_FIELD_EQUALITY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @record_fields_have_equality], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @record_fields_have_equality(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @TCFLAGS_CHECKED_FIELD_PROPERTIES, align 4, !tbaa !10 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = tail call i32 @cache_record_field_properties(ptr noundef nonnull %0) #2 %8 = load i32, ptr %0, align 4, !tbaa !5 br label %9 9: ; preds = %6, %1 %10 = phi i32 [ %8, %6 ], [ %2, %1 ] %11 = load i32, ptr @TCFLAGS_HAVE_FIELD_EQUALITY, align 4, !tbaa !10 %12 = and i32 %11, %10 %13 = icmp ne i32 %12, 0 %14 = zext i1 %13 to i32 ret i32 %14 } declare i32 @cache_record_field_properties(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/postgres/src/backend/utils/cache/extr_typcache.c_record_fields_have_equality.c' source_filename = "AnghaBench/postgres/src/backend/utils/cache/extr_typcache.c_record_fields_have_equality.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TCFLAGS_CHECKED_FIELD_PROPERTIES = common local_unnamed_addr global i32 0, align 4 @TCFLAGS_HAVE_FIELD_EQUALITY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @record_fields_have_equality], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @record_fields_have_equality(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @TCFLAGS_CHECKED_FIELD_PROPERTIES, align 4, !tbaa !11 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = tail call i32 @cache_record_field_properties(ptr noundef nonnull %0) #2 %8 = load i32, ptr %0, align 4, !tbaa !6 br label %9 9: ; preds = %6, %1 %10 = phi i32 [ %8, %6 ], [ %2, %1 ] %11 = load i32, ptr @TCFLAGS_HAVE_FIELD_EQUALITY, align 4, !tbaa !11 %12 = and i32 %11, %10 %13 = icmp ne i32 %12, 0 %14 = zext i1 %13 to i32 ret i32 %14 } declare i32 @cache_record_field_properties(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
postgres_src_backend_utils_cache_extr_typcache.c_record_fields_have_equality
; ModuleID = 'AnghaBench/freebsd/sys/fs/tmpfs/extr_tmpfs_subr.c_tmpfs_itimes.c' source_filename = "AnghaBench/freebsd/sys/fs/tmpfs/extr_tmpfs_subr.c_tmpfs_itimes.c" target datalayout = "e-m:e-p270:32:32-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.timespec = type { i32 } %struct.tmpfs_node = type { i32, %struct.timespec, %struct.timespec, %struct.timespec } @.str = private unnamed_addr constant [13 x i8] c"tmpfs_itimes\00", align 1 @TMPFS_NODE_ACCESSED = dso_local local_unnamed_addr global i32 0, align 4 @TMPFS_NODE_MODIFIED = dso_local local_unnamed_addr global i32 0, align 4 @TMPFS_NODE_CHANGED = dso_local local_unnamed_addr global i32 0, align 4 @RANDOM_FS_ATIME = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @tmpfs_itimes(ptr noundef %0, ptr noundef readonly %1, ptr noundef readonly %2) local_unnamed_addr #0 { %4 = alloca %struct.timespec, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = tail call i32 @ASSERT_VOP_LOCKED(ptr noundef %0, ptr noundef nonnull @.str) #3 %6 = tail call ptr @VP_TO_TMPFS_NODE(ptr noundef %0) #3 %7 = load i32, ptr %6, align 4, !tbaa !5 %8 = load i32, ptr @TMPFS_NODE_ACCESSED, align 4, !tbaa !11 %9 = load i32, ptr @TMPFS_NODE_MODIFIED, align 4, !tbaa !11 %10 = or i32 %9, %8 %11 = load i32, ptr @TMPFS_NODE_CHANGED, align 4, !tbaa !11 %12 = or i32 %10, %11 %13 = and i32 %12, %7 %14 = icmp eq i32 %13, 0 br i1 %14, label %51, label %15 15: ; preds = %3 %16 = call i32 @vfs_timestamp(ptr noundef nonnull %4) #3 %17 = call i32 @TMPFS_NODE_LOCK(ptr noundef nonnull %6) #3 %18 = load i32, ptr %6, align 4, !tbaa !5 %19 = load i32, ptr @TMPFS_NODE_ACCESSED, align 4, !tbaa !11 %20 = and i32 %19, %18 %21 = icmp eq i32 %20, 0 br i1 %21, label %27, label %22 22: ; preds = %15 %23 = icmp eq ptr %1, null %24 = select i1 %23, ptr %4, ptr %1 %25 = getelementptr inbounds %struct.tmpfs_node, ptr %6, i64 0, i32 3 %26 = load i32, ptr %24, align 4, !tbaa !11 store i32 %26, ptr %25, align 4, !tbaa !11 br label %27 27: ; preds = %22, %15 %28 = load i32, ptr @TMPFS_NODE_MODIFIED, align 4, !tbaa !11 %29 = and i32 %28, %18 %30 = icmp eq i32 %29, 0 br i1 %30, label %36, label %31 31: ; preds = %27 %32 = icmp eq ptr %2, null %33 = select i1 %32, ptr %4, ptr %2 %34 = getelementptr inbounds %struct.tmpfs_node, ptr %6, i64 0, i32 2 %35 = load i32, ptr %33, align 4, !tbaa !11 store i32 %35, ptr %34, align 4, !tbaa !11 br label %36 36: ; preds = %31, %27 %37 = load i32, ptr @TMPFS_NODE_CHANGED, align 4, !tbaa !11 %38 = and i32 %37, %18 %39 = icmp eq i32 %38, 0 br i1 %39, label %43, label %40 40: ; preds = %36 %41 = getelementptr inbounds %struct.tmpfs_node, ptr %6, i64 0, i32 1 %42 = load i32, ptr %4, align 4, !tbaa !11 store i32 %42, ptr %41, align 4, !tbaa !11 br label %43 43: ; preds = %40, %36 %44 = or i32 %28, %19 %45 = or i32 %44, %37 %46 = xor i32 %45, -1 %47 = and i32 %18, %46 store i32 %47, ptr %6, align 4, !tbaa !5 %48 = call i32 @TMPFS_NODE_UNLOCK(ptr noundef nonnull %6) #3 %49 = load i32, ptr @RANDOM_FS_ATIME, align 4, !tbaa !11 %50 = call i32 @random_harvest_queue(ptr noundef nonnull %6, i32 noundef 16, i32 noundef %49) #3 br label %51 51: ; preds = %3, %43 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ASSERT_VOP_LOCKED(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @VP_TO_TMPFS_NODE(ptr noundef) local_unnamed_addr #2 declare i32 @vfs_timestamp(ptr noundef) local_unnamed_addr #2 declare i32 @TMPFS_NODE_LOCK(ptr noundef) local_unnamed_addr #2 declare i32 @TMPFS_NODE_UNLOCK(ptr noundef) local_unnamed_addr #2 declare i32 @random_harvest_queue(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"tmpfs_node", !7, i64 0, !10, i64 4, !10, i64 8, !10, i64 12} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"timespec", !7, i64 0} !11 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/fs/tmpfs/extr_tmpfs_subr.c_tmpfs_itimes.c' source_filename = "AnghaBench/freebsd/sys/fs/tmpfs/extr_tmpfs_subr.c_tmpfs_itimes.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.timespec = type { i32 } @.str = private unnamed_addr constant [13 x i8] c"tmpfs_itimes\00", align 1 @TMPFS_NODE_ACCESSED = common local_unnamed_addr global i32 0, align 4 @TMPFS_NODE_MODIFIED = common local_unnamed_addr global i32 0, align 4 @TMPFS_NODE_CHANGED = common local_unnamed_addr global i32 0, align 4 @RANDOM_FS_ATIME = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @tmpfs_itimes(ptr noundef %0, ptr noundef readonly %1, ptr noundef readonly %2) local_unnamed_addr #0 { %4 = alloca %struct.timespec, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = tail call i32 @ASSERT_VOP_LOCKED(ptr noundef %0, ptr noundef nonnull @.str) #3 %6 = tail call ptr @VP_TO_TMPFS_NODE(ptr noundef %0) #3 %7 = load i32, ptr %6, align 4, !tbaa !6 %8 = load i32, ptr @TMPFS_NODE_ACCESSED, align 4, !tbaa !12 %9 = load i32, ptr @TMPFS_NODE_MODIFIED, align 4, !tbaa !12 %10 = or i32 %9, %8 %11 = load i32, ptr @TMPFS_NODE_CHANGED, align 4, !tbaa !12 %12 = or i32 %10, %11 %13 = and i32 %12, %7 %14 = icmp eq i32 %13, 0 br i1 %14, label %51, label %15 15: ; preds = %3 %16 = call i32 @vfs_timestamp(ptr noundef nonnull %4) #3 %17 = call i32 @TMPFS_NODE_LOCK(ptr noundef nonnull %6) #3 %18 = load i32, ptr %6, align 4, !tbaa !6 %19 = load i32, ptr @TMPFS_NODE_ACCESSED, align 4, !tbaa !12 %20 = and i32 %19, %18 %21 = icmp eq i32 %20, 0 br i1 %21, label %27, label %22 22: ; preds = %15 %23 = icmp eq ptr %1, null %24 = select i1 %23, ptr %4, ptr %1 %25 = getelementptr inbounds i8, ptr %6, i64 12 %26 = load i32, ptr %24, align 4, !tbaa !12 store i32 %26, ptr %25, align 4, !tbaa !12 br label %27 27: ; preds = %22, %15 %28 = load i32, ptr @TMPFS_NODE_MODIFIED, align 4, !tbaa !12 %29 = and i32 %28, %18 %30 = icmp eq i32 %29, 0 br i1 %30, label %36, label %31 31: ; preds = %27 %32 = icmp eq ptr %2, null %33 = select i1 %32, ptr %4, ptr %2 %34 = getelementptr inbounds i8, ptr %6, i64 8 %35 = load i32, ptr %33, align 4, !tbaa !12 store i32 %35, ptr %34, align 4, !tbaa !12 br label %36 36: ; preds = %31, %27 %37 = load i32, ptr @TMPFS_NODE_CHANGED, align 4, !tbaa !12 %38 = and i32 %37, %18 %39 = icmp eq i32 %38, 0 br i1 %39, label %43, label %40 40: ; preds = %36 %41 = getelementptr inbounds i8, ptr %6, i64 4 %42 = load i32, ptr %4, align 4, !tbaa !12 store i32 %42, ptr %41, align 4, !tbaa !12 br label %43 43: ; preds = %40, %36 %44 = or i32 %28, %19 %45 = or i32 %44, %37 %46 = xor i32 %45, -1 %47 = and i32 %18, %46 store i32 %47, ptr %6, align 4, !tbaa !6 %48 = call i32 @TMPFS_NODE_UNLOCK(ptr noundef nonnull %6) #3 %49 = load i32, ptr @RANDOM_FS_ATIME, align 4, !tbaa !12 %50 = call i32 @random_harvest_queue(ptr noundef nonnull %6, i32 noundef 16, i32 noundef %49) #3 br label %51 51: ; preds = %3, %43 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ASSERT_VOP_LOCKED(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @VP_TO_TMPFS_NODE(ptr noundef) local_unnamed_addr #2 declare i32 @vfs_timestamp(ptr noundef) local_unnamed_addr #2 declare i32 @TMPFS_NODE_LOCK(ptr noundef) local_unnamed_addr #2 declare i32 @TMPFS_NODE_UNLOCK(ptr noundef) local_unnamed_addr #2 declare i32 @random_harvest_queue(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"tmpfs_node", !8, i64 0, !11, i64 4, !11, i64 8, !11, i64 12} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"timespec", !8, i64 0} !12 = !{!8, !8, i64 0}
freebsd_sys_fs_tmpfs_extr_tmpfs_subr.c_tmpfs_itimes
; ModuleID = 'AnghaBench/linux/drivers/crypto/amcc/extr_crypto4xx_core.h_crypto4xx_memcpy_swab32.c' source_filename = "AnghaBench/linux/drivers/crypto/amcc/extr_crypto4xx_core.h_crypto4xx_memcpy_swab32.c" target datalayout = "e-m:e-p270:32:32-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 @crypto4xx_memcpy_swab32], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @crypto4xx_memcpy_swab32(ptr nocapture noundef writeonly %0, ptr noundef %1, i64 noundef %2) #0 { %4 = icmp ugt i64 %2, 3 br i1 %4, label %5, label %14 5: ; preds = %3, %5 %6 = phi ptr [ %10, %5 ], [ %0, %3 ] %7 = phi i64 [ %12, %5 ], [ %2, %3 ] %8 = phi ptr [ %11, %5 ], [ %1, %3 ] %9 = tail call i32 @__swab32p(ptr noundef %8) #2 %10 = getelementptr inbounds i32, ptr %6, i64 1 store i32 %9, ptr %6, align 4, !tbaa !5 %11 = getelementptr inbounds i8, ptr %8, i64 4 %12 = add i64 %7, -4 %13 = icmp ugt i64 %12, 3 br i1 %13, label %5, label %14, !llvm.loop !9 14: ; preds = %5, %3 %15 = phi ptr [ %1, %3 ], [ %11, %5 ] %16 = phi i64 [ %2, %3 ], [ %12, %5 ] %17 = phi ptr [ %0, %3 ], [ %10, %5 ] switch i64 %16, label %36 [ i64 0, label %39 i64 3, label %18 i64 2, label %28 i64 1, label %34 ] 18: ; preds = %14 %19 = getelementptr inbounds i32, ptr %15, i64 2 %20 = load i32, ptr %19, align 4, !tbaa !5 %21 = shl i32 %20, 16 %22 = getelementptr inbounds i32, ptr %15, i64 1 %23 = load i32, ptr %22, align 4, !tbaa !5 %24 = shl i32 %23, 8 %25 = or i32 %24, %21 %26 = load i32, ptr %15, align 4, !tbaa !5 %27 = or i32 %25, %26 br label %37 28: ; preds = %14 %29 = getelementptr inbounds i32, ptr %15, i64 1 %30 = load i32, ptr %29, align 4, !tbaa !5 %31 = shl i32 %30, 8 %32 = load i32, ptr %15, align 4, !tbaa !5 %33 = or i32 %31, %32 br label %37 34: ; preds = %14 %35 = load i32, ptr %15, align 4, !tbaa !5 br label %37 36: ; preds = %14 unreachable 37: ; preds = %34, %28, %18 %38 = phi i32 [ %27, %18 ], [ %33, %28 ], [ %35, %34 ] store i32 %38, ptr %17, align 4, !tbaa !5 br label %39 39: ; preds = %37, %14 ret void } declare i32 @__swab32p(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/crypto/amcc/extr_crypto4xx_core.h_crypto4xx_memcpy_swab32.c' source_filename = "AnghaBench/linux/drivers/crypto/amcc/extr_crypto4xx_core.h_crypto4xx_memcpy_swab32.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 @crypto4xx_memcpy_swab32], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @crypto4xx_memcpy_swab32(ptr nocapture noundef writeonly %0, ptr noundef %1, i64 noundef %2) #0 { %4 = icmp ugt i64 %2, 3 br i1 %4, label %5, label %14 5: ; preds = %3, %5 %6 = phi ptr [ %10, %5 ], [ %0, %3 ] %7 = phi i64 [ %12, %5 ], [ %2, %3 ] %8 = phi ptr [ %11, %5 ], [ %1, %3 ] %9 = tail call i32 @__swab32p(ptr noundef %8) #2 %10 = getelementptr inbounds i8, ptr %6, i64 4 store i32 %9, ptr %6, align 4, !tbaa !6 %11 = getelementptr inbounds i8, ptr %8, i64 4 %12 = add i64 %7, -4 %13 = icmp ugt i64 %12, 3 br i1 %13, label %5, label %14, !llvm.loop !10 14: ; preds = %5, %3 %15 = phi ptr [ %1, %3 ], [ %11, %5 ] %16 = phi i64 [ %2, %3 ], [ %12, %5 ] %17 = phi ptr [ %0, %3 ], [ %10, %5 ] switch i64 %16, label %36 [ i64 0, label %39 i64 3, label %18 i64 2, label %28 i64 1, label %34 ] 18: ; preds = %14 %19 = getelementptr inbounds i8, ptr %15, i64 8 %20 = load i32, ptr %19, align 4, !tbaa !6 %21 = shl i32 %20, 16 %22 = getelementptr inbounds i8, ptr %15, i64 4 %23 = load i32, ptr %22, align 4, !tbaa !6 %24 = shl i32 %23, 8 %25 = or i32 %24, %21 %26 = load i32, ptr %15, align 4, !tbaa !6 %27 = or i32 %25, %26 br label %37 28: ; preds = %14 %29 = getelementptr inbounds i8, ptr %15, i64 4 %30 = load i32, ptr %29, align 4, !tbaa !6 %31 = shl i32 %30, 8 %32 = load i32, ptr %15, align 4, !tbaa !6 %33 = or i32 %31, %32 br label %37 34: ; preds = %14 %35 = load i32, ptr %15, align 4, !tbaa !6 br label %37 36: ; preds = %14 unreachable 37: ; preds = %34, %28, %18 %38 = phi i32 [ %27, %18 ], [ %33, %28 ], [ %35, %34 ] store i32 %38, ptr %17, align 4, !tbaa !6 br label %39 39: ; preds = %37, %14 ret void } declare i32 @__swab32p(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
linux_drivers_crypto_amcc_extr_crypto4xx_core.h_crypto4xx_memcpy_swab32
; ModuleID = 'AnghaBench/freebsd/libexec/rtld-elf/extr_rtld.c_origin_subst_one.c' source_filename = "AnghaBench/freebsd/libexec/rtld-elf/extr_rtld.c_origin_subst_one.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @origin_subst_one], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @origin_subst_one(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = tail call i32 @strlen(ptr noundef %2) #3 %7 = tail call ptr @strstr(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(1) %2) %8 = icmp eq ptr %7, null br i1 %8, label %23, label %9 9: ; preds = %5 %10 = sext i32 %6 to i64 br label %11 11: ; preds = %9, %11 %12 = phi ptr [ %7, %9 ], [ %16, %11 ] %13 = phi i32 [ 0, %9 ], [ %15, %11 ] %14 = getelementptr inbounds i8, ptr %12, i64 %10 %15 = add nuw nsw i32 %13, 1 %16 = tail call ptr @strstr(ptr noundef nonnull dereferenceable(1) %14, ptr noundef nonnull dereferenceable(1) %2) %17 = icmp eq ptr %16, null br i1 %17, label %18, label %11 18: ; preds = %11 %19 = icmp eq ptr %0, null br i1 %19, label %29, label %20 20: ; preds = %18 %21 = tail call i32 @obj_resolve_origin(ptr noundef nonnull %0) #3 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %27 23: ; preds = %5, %20 %24 = icmp eq i32 %4, 0 br i1 %24, label %25, label %65 25: ; preds = %23 %26 = tail call ptr @xstrdup(ptr noundef %1) #3 br label %65 27: ; preds = %20 %28 = load ptr, ptr %0, align 8, !tbaa !5 br label %29 29: ; preds = %18, %27 %30 = phi ptr [ %28, %27 ], [ %3, %18 ] %31 = tail call i32 @strlen(ptr noundef %30) #3 %32 = tail call i32 @strlen(ptr noundef %1) #3 %33 = sub nsw i32 %31, %6 %34 = mul nsw i32 %33, %15 %35 = add i32 %32, 1 %36 = add i32 %35, %34 %37 = tail call ptr @xmalloc(i32 noundef %36) #3 store i8 0, ptr %37, align 1, !tbaa !10 %38 = tail call ptr @strstr(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(1) %2) %39 = icmp eq ptr %38, null br i1 %39, label %58, label %40 40: ; preds = %29 %41 = sext i32 %31 to i64 %42 = sext i32 %6 to i64 br label %43 43: ; preds = %40, %43 %44 = phi ptr [ %38, %40 ], [ %56, %43 ] %45 = phi ptr [ %1, %40 ], [ %55, %43 ] %46 = phi ptr [ %37, %40 ], [ %54, %43 ] %47 = ptrtoint ptr %44 to i64 %48 = ptrtoint ptr %45 to i64 %49 = sub i64 %47, %48 %50 = trunc i64 %49 to i32 %51 = tail call i32 @memcpy(ptr noundef nonnull %46, ptr noundef %45, i32 noundef %50) #3 %52 = getelementptr inbounds i8, ptr %46, i64 %49 %53 = tail call i32 @memcpy(ptr noundef nonnull %52, ptr noundef %30, i32 noundef %31) #3 %54 = getelementptr inbounds i8, ptr %52, i64 %41 store i8 0, ptr %54, align 1, !tbaa !10 %55 = getelementptr inbounds i8, ptr %44, i64 %42 %56 = tail call ptr @strstr(ptr noundef nonnull dereferenceable(1) %55, ptr noundef nonnull dereferenceable(1) %2) %57 = icmp eq ptr %56, null br i1 %57, label %58, label %43 58: ; preds = %43, %29 %59 = phi ptr [ %37, %29 ], [ %54, %43 ] %60 = phi ptr [ %1, %29 ], [ %55, %43 ] %61 = tail call i32 @strcat(ptr noundef nonnull %59, ptr noundef %60) #3 %62 = icmp eq i32 %4, 0 br i1 %62, label %65, label %63 63: ; preds = %58 %64 = tail call i32 @free(ptr noundef %1) #3 br label %65 65: ; preds = %58, %63, %25, %23 %66 = phi ptr [ %26, %25 ], [ %1, %23 ], [ %37, %63 ], [ %37, %58 ] ret ptr %66 } declare i32 @strlen(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare ptr @strstr(ptr noundef, ptr nocapture noundef) local_unnamed_addr #2 declare i32 @obj_resolve_origin(ptr noundef) local_unnamed_addr #1 declare ptr @xstrdup(ptr noundef) local_unnamed_addr #1 declare ptr @xmalloc(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strcat(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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 #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/libexec/rtld-elf/extr_rtld.c_origin_subst_one.c' source_filename = "AnghaBench/freebsd/libexec/rtld-elf/extr_rtld.c_origin_subst_one.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 @origin_subst_one], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @origin_subst_one(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = tail call i32 @strlen(ptr noundef %2) #3 %7 = tail call ptr @strstr(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(1) %2) %8 = icmp eq ptr %7, null br i1 %8, label %23, label %9 9: ; preds = %5 %10 = sext i32 %6 to i64 br label %11 11: ; preds = %9, %11 %12 = phi ptr [ %7, %9 ], [ %16, %11 ] %13 = phi i32 [ 0, %9 ], [ %15, %11 ] %14 = getelementptr inbounds i8, ptr %12, i64 %10 %15 = add nuw nsw i32 %13, 1 %16 = tail call ptr @strstr(ptr noundef nonnull dereferenceable(1) %14, ptr noundef nonnull dereferenceable(1) %2) %17 = icmp eq ptr %16, null br i1 %17, label %18, label %11 18: ; preds = %11 %19 = icmp eq ptr %0, null br i1 %19, label %29, label %20 20: ; preds = %18 %21 = tail call i32 @obj_resolve_origin(ptr noundef nonnull %0) #3 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %27 23: ; preds = %5, %20 %24 = icmp eq i32 %4, 0 br i1 %24, label %25, label %64 25: ; preds = %23 %26 = tail call ptr @xstrdup(ptr noundef %1) #3 br label %64 27: ; preds = %20 %28 = load ptr, ptr %0, align 8, !tbaa !6 br label %29 29: ; preds = %18, %27 %30 = phi ptr [ %28, %27 ], [ %3, %18 ] %31 = tail call i32 @strlen(ptr noundef %30) #3 %32 = tail call i32 @strlen(ptr noundef %1) #3 %33 = sub nsw i32 %31, %6 %34 = mul nsw i32 %33, %15 %35 = add i32 %32, 1 %36 = add i32 %35, %34 %37 = tail call ptr @xmalloc(i32 noundef %36) #3 store i8 0, ptr %37, align 1, !tbaa !11 %38 = tail call ptr @strstr(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(1) %2) %39 = icmp eq ptr %38, null br i1 %39, label %57, label %40 40: ; preds = %29 %41 = sext i32 %31 to i64 br label %42 42: ; preds = %40, %42 %43 = phi ptr [ %38, %40 ], [ %55, %42 ] %44 = phi ptr [ %1, %40 ], [ %54, %42 ] %45 = phi ptr [ %37, %40 ], [ %53, %42 ] %46 = ptrtoint ptr %43 to i64 %47 = ptrtoint ptr %44 to i64 %48 = sub i64 %46, %47 %49 = trunc i64 %48 to i32 %50 = tail call i32 @memcpy(ptr noundef nonnull %45, ptr noundef %44, i32 noundef %49) #3 %51 = getelementptr inbounds i8, ptr %45, i64 %48 %52 = tail call i32 @memcpy(ptr noundef nonnull %51, ptr noundef %30, i32 noundef %31) #3 %53 = getelementptr inbounds i8, ptr %51, i64 %41 store i8 0, ptr %53, align 1, !tbaa !11 %54 = getelementptr inbounds i8, ptr %43, i64 %10 %55 = tail call ptr @strstr(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %2) %56 = icmp eq ptr %55, null br i1 %56, label %57, label %42 57: ; preds = %42, %29 %58 = phi ptr [ %37, %29 ], [ %53, %42 ] %59 = phi ptr [ %1, %29 ], [ %54, %42 ] %60 = tail call i32 @strcat(ptr noundef nonnull %58, ptr noundef %59) #3 %61 = icmp eq i32 %4, 0 br i1 %61, label %64, label %62 62: ; preds = %57 %63 = tail call i32 @free(ptr noundef %1) #3 br label %64 64: ; preds = %57, %62, %25, %23 %65 = phi ptr [ %26, %25 ], [ %1, %23 ], [ %37, %62 ], [ %37, %57 ] ret ptr %65 } declare i32 @strlen(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare ptr @strstr(ptr noundef, ptr nocapture noundef) local_unnamed_addr #2 declare i32 @obj_resolve_origin(ptr noundef) local_unnamed_addr #1 declare ptr @xstrdup(ptr noundef) local_unnamed_addr #1 declare ptr @xmalloc(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strcat(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { 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 #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!9, !9, i64 0}
freebsd_libexec_rtld-elf_extr_rtld.c_origin_subst_one
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers_context/extr_network_ctx.c_gfx_ctx_network_swap_buffers.c' source_filename = "AnghaBench/RetroArch/gfx/drivers_context/extr_network_ctx.c_gfx_ctx_network_swap_buffers.c" target datalayout = "e-m:e-p270:32:32-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 @gfx_ctx_network_swap_buffers], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @gfx_ctx_network_swap_buffers(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/RetroArch/gfx/drivers_context/extr_network_ctx.c_gfx_ctx_network_swap_buffers.c' source_filename = "AnghaBench/RetroArch/gfx/drivers_context/extr_network_ctx.c_gfx_ctx_network_swap_buffers.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 @gfx_ctx_network_swap_buffers], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @gfx_ctx_network_swap_buffers(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)"}
RetroArch_gfx_drivers_context_extr_network_ctx.c_gfx_ctx_network_swap_buffers
; ModuleID = 'AnghaBench/freebsd/sys/dev/ixl/extr_i40e_common.c_i40e_aq_add_rem_control_packet_filter.c' source_filename = "AnghaBench/freebsd/sys/dev/ixl/extr_i40e_common.c_i40e_aq_add_rem_control_packet_filter.c" target datalayout = "e-m:e-p270:32:32-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.i40e_aq_desc = type { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } %struct.i40e_aqc_add_remove_control_packet_filter = type { ptr, ptr, ptr, i32, ptr } %struct.i40e_aqc_add_remove_control_packet_filter_completion = type { i32, i32, i32, i32 } %struct.i40e_control_filter_stats = type { ptr, ptr, ptr, ptr } @I40E_ERR_PARAM = dso_local local_unnamed_addr global i32 0, align 4 @i40e_aqc_opc_add_control_packet_filter = dso_local local_unnamed_addr global i32 0, align 4 @i40e_aqc_opc_remove_control_packet_filter = dso_local local_unnamed_addr global i32 0, align 4 @ETH_ALEN = dso_local local_unnamed_addr global i32 0, align 4 @I40E_NONDMA_TO_NONDMA = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @i40e_aq_add_rem_control_packet_filter(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i32 noundef %6, ptr noundef writeonly %7, ptr noundef %8) local_unnamed_addr #0 { %10 = alloca %struct.i40e_aq_desc, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3 %11 = icmp eq i64 %4, 0 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = load i32, ptr @I40E_ERR_PARAM, align 4, !tbaa !5 br label %56 14: ; preds = %9 %15 = icmp eq i32 %6, 0 br i1 %15, label %21, label %16 16: ; preds = %14 %17 = load i32, ptr @i40e_aqc_opc_add_control_packet_filter, align 4, !tbaa !5 %18 = call i32 @i40e_fill_default_direct_cmd_desc(ptr noundef nonnull %10, i32 noundef %17) #3 %19 = call ptr @CPU_TO_LE16(i64 noundef %5) #3 %20 = getelementptr inbounds %struct.i40e_aqc_add_remove_control_packet_filter, ptr %10, i64 0, i32 4 store ptr %19, ptr %20, align 8, !tbaa !9 br label %24 21: ; preds = %14 %22 = load i32, ptr @i40e_aqc_opc_remove_control_packet_filter, align 4, !tbaa !5 %23 = call i32 @i40e_fill_default_direct_cmd_desc(ptr noundef nonnull %10, i32 noundef %22) #3 br label %24 24: ; preds = %21, %16 %25 = icmp eq ptr %1, null br i1 %25, label %32, label %26 26: ; preds = %24 %27 = getelementptr inbounds %struct.i40e_aqc_add_remove_control_packet_filter, ptr %10, i64 0, i32 3 %28 = load i32, ptr %27, align 8, !tbaa !12 %29 = load i32, ptr @ETH_ALEN, align 4, !tbaa !5 %30 = load i32, ptr @I40E_NONDMA_TO_NONDMA, align 4, !tbaa !5 %31 = call i32 @i40e_memcpy(i32 noundef %28, ptr noundef nonnull %1, i32 noundef %29, i32 noundef %30) #3 br label %32 32: ; preds = %26, %24 %33 = call ptr @CPU_TO_LE16(i64 noundef %2) #3 %34 = getelementptr inbounds %struct.i40e_aqc_add_remove_control_packet_filter, ptr %10, i64 0, i32 2 store ptr %33, ptr %34, align 8, !tbaa !13 %35 = call ptr @CPU_TO_LE16(i64 noundef %3) #3 %36 = getelementptr inbounds %struct.i40e_aqc_add_remove_control_packet_filter, ptr %10, i64 0, i32 1 store ptr %35, ptr %36, align 8, !tbaa !14 %37 = call ptr @CPU_TO_LE16(i64 noundef %4) #3 store ptr %37, ptr %10, align 8, !tbaa !15 %38 = call i32 @i40e_asq_send_command(ptr noundef %0, ptr noundef nonnull %10, ptr noundef null, i32 noundef 0, ptr noundef %8) #3 %39 = icmp eq i32 %38, 0 %40 = icmp ne ptr %7, null %41 = and i1 %40, %39 br i1 %41, label %42, label %56 42: ; preds = %32 %43 = getelementptr inbounds %struct.i40e_aqc_add_remove_control_packet_filter_completion, ptr %10, i64 0, i32 3 %44 = load i32, ptr %43, align 4, !tbaa !16 %45 = call ptr @LE16_TO_CPU(i32 noundef %44) #3 %46 = getelementptr inbounds %struct.i40e_control_filter_stats, ptr %7, i64 0, i32 3 store ptr %45, ptr %46, align 8, !tbaa !18 %47 = load i32, ptr %36, align 4, !tbaa !20 %48 = call ptr @LE16_TO_CPU(i32 noundef %47) #3 %49 = getelementptr inbounds %struct.i40e_control_filter_stats, ptr %7, i64 0, i32 2 store ptr %48, ptr %49, align 8, !tbaa !21 %50 = getelementptr inbounds %struct.i40e_aqc_add_remove_control_packet_filter_completion, ptr %10, i64 0, i32 1 %51 = load i32, ptr %50, align 4, !tbaa !22 %52 = call ptr @LE16_TO_CPU(i32 noundef %51) #3 %53 = getelementptr inbounds %struct.i40e_control_filter_stats, ptr %7, i64 0, i32 1 store ptr %52, ptr %53, align 8, !tbaa !23 %54 = load i32, ptr %10, align 4, !tbaa !24 %55 = call ptr @LE16_TO_CPU(i32 noundef %54) #3 store ptr %55, ptr %7, align 8, !tbaa !25 br label %56 56: ; preds = %32, %42, %12 %57 = phi i32 [ %13, %12 ], [ 0, %42 ], [ %38, %32 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3 ret i32 %57 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @i40e_fill_default_direct_cmd_desc(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @CPU_TO_LE16(i64 noundef) local_unnamed_addr #2 declare i32 @i40e_memcpy(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @i40e_asq_send_command(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @LE16_TO_CPU(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 32} !10 = !{!"i40e_aqc_add_remove_control_packet_filter", !11, i64 0, !11, i64 8, !11, i64 16, !6, i64 24, !11, i64 32} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !6, i64 24} !13 = !{!10, !11, i64 16} !14 = !{!10, !11, i64 8} !15 = !{!10, !11, i64 0} !16 = !{!17, !6, i64 12} !17 = !{!"i40e_aqc_add_remove_control_packet_filter_completion", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12} !18 = !{!19, !11, i64 24} !19 = !{!"i40e_control_filter_stats", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24} !20 = !{!17, !6, i64 8} !21 = !{!19, !11, i64 16} !22 = !{!17, !6, i64 4} !23 = !{!19, !11, i64 8} !24 = !{!17, !6, i64 0} !25 = !{!19, !11, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ixl/extr_i40e_common.c_i40e_aq_add_rem_control_packet_filter.c' source_filename = "AnghaBench/freebsd/sys/dev/ixl/extr_i40e_common.c_i40e_aq_add_rem_control_packet_filter.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.i40e_aq_desc = type { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @I40E_ERR_PARAM = common local_unnamed_addr global i32 0, align 4 @i40e_aqc_opc_add_control_packet_filter = common local_unnamed_addr global i32 0, align 4 @i40e_aqc_opc_remove_control_packet_filter = common local_unnamed_addr global i32 0, align 4 @ETH_ALEN = common local_unnamed_addr global i32 0, align 4 @I40E_NONDMA_TO_NONDMA = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @i40e_aq_add_rem_control_packet_filter(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i32 noundef %6, ptr noundef writeonly %7, ptr noundef %8) local_unnamed_addr #0 { %10 = alloca %struct.i40e_aq_desc, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3 %11 = icmp eq i64 %4, 0 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = load i32, ptr @I40E_ERR_PARAM, align 4, !tbaa !6 br label %56 14: ; preds = %9 %15 = icmp eq i32 %6, 0 br i1 %15, label %21, label %16 16: ; preds = %14 %17 = load i32, ptr @i40e_aqc_opc_add_control_packet_filter, align 4, !tbaa !6 %18 = call i32 @i40e_fill_default_direct_cmd_desc(ptr noundef nonnull %10, i32 noundef %17) #3 %19 = call ptr @CPU_TO_LE16(i64 noundef %5) #3 %20 = getelementptr inbounds i8, ptr %10, i64 32 store ptr %19, ptr %20, align 8, !tbaa !10 br label %24 21: ; preds = %14 %22 = load i32, ptr @i40e_aqc_opc_remove_control_packet_filter, align 4, !tbaa !6 %23 = call i32 @i40e_fill_default_direct_cmd_desc(ptr noundef nonnull %10, i32 noundef %22) #3 br label %24 24: ; preds = %21, %16 %25 = icmp eq ptr %1, null br i1 %25, label %32, label %26 26: ; preds = %24 %27 = getelementptr inbounds i8, ptr %10, i64 24 %28 = load i32, ptr %27, align 8, !tbaa !13 %29 = load i32, ptr @ETH_ALEN, align 4, !tbaa !6 %30 = load i32, ptr @I40E_NONDMA_TO_NONDMA, align 4, !tbaa !6 %31 = call i32 @i40e_memcpy(i32 noundef %28, ptr noundef nonnull %1, i32 noundef %29, i32 noundef %30) #3 br label %32 32: ; preds = %26, %24 %33 = call ptr @CPU_TO_LE16(i64 noundef %2) #3 %34 = getelementptr inbounds i8, ptr %10, i64 16 store ptr %33, ptr %34, align 8, !tbaa !14 %35 = call ptr @CPU_TO_LE16(i64 noundef %3) #3 %36 = getelementptr inbounds i8, ptr %10, i64 8 store ptr %35, ptr %36, align 8, !tbaa !15 %37 = call ptr @CPU_TO_LE16(i64 noundef %4) #3 store ptr %37, ptr %10, align 8, !tbaa !16 %38 = call i32 @i40e_asq_send_command(ptr noundef %0, ptr noundef nonnull %10, ptr noundef null, i32 noundef 0, ptr noundef %8) #3 %39 = icmp eq i32 %38, 0 %40 = icmp ne ptr %7, null %41 = and i1 %40, %39 br i1 %41, label %42, label %56 42: ; preds = %32 %43 = getelementptr inbounds i8, ptr %10, i64 12 %44 = load i32, ptr %43, align 4, !tbaa !17 %45 = call ptr @LE16_TO_CPU(i32 noundef %44) #3 %46 = getelementptr inbounds i8, ptr %7, i64 24 store ptr %45, ptr %46, align 8, !tbaa !19 %47 = load i32, ptr %36, align 4, !tbaa !21 %48 = call ptr @LE16_TO_CPU(i32 noundef %47) #3 %49 = getelementptr inbounds i8, ptr %7, i64 16 store ptr %48, ptr %49, align 8, !tbaa !22 %50 = getelementptr inbounds i8, ptr %10, i64 4 %51 = load i32, ptr %50, align 4, !tbaa !23 %52 = call ptr @LE16_TO_CPU(i32 noundef %51) #3 %53 = getelementptr inbounds i8, ptr %7, i64 8 store ptr %52, ptr %53, align 8, !tbaa !24 %54 = load i32, ptr %10, align 4, !tbaa !25 %55 = call ptr @LE16_TO_CPU(i32 noundef %54) #3 store ptr %55, ptr %7, align 8, !tbaa !26 br label %56 56: ; preds = %32, %42, %12 %57 = phi i32 [ %13, %12 ], [ 0, %42 ], [ %38, %32 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3 ret i32 %57 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @i40e_fill_default_direct_cmd_desc(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @CPU_TO_LE16(i64 noundef) local_unnamed_addr #2 declare i32 @i40e_memcpy(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @i40e_asq_send_command(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @LE16_TO_CPU(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 32} !11 = !{!"i40e_aqc_add_remove_control_packet_filter", !12, i64 0, !12, i64 8, !12, i64 16, !7, i64 24, !12, i64 32} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !7, i64 24} !14 = !{!11, !12, i64 16} !15 = !{!11, !12, i64 8} !16 = !{!11, !12, i64 0} !17 = !{!18, !7, i64 12} !18 = !{!"i40e_aqc_add_remove_control_packet_filter_completion", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !19 = !{!20, !12, i64 24} !20 = !{!"i40e_control_filter_stats", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24} !21 = !{!18, !7, i64 8} !22 = !{!20, !12, i64 16} !23 = !{!18, !7, i64 4} !24 = !{!20, !12, i64 8} !25 = !{!18, !7, i64 0} !26 = !{!20, !12, i64 0}
freebsd_sys_dev_ixl_extr_i40e_common.c_i40e_aq_add_rem_control_packet_filter
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_pci.c_ath10k_pci_request_irq.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_pci.c_ath10k_pci_request_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" @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ath10k_pci_request_irq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ath10k_pci_request_irq(ptr noundef %0) #0 { %2 = tail call ptr @ath10k_pci_priv(ptr noundef %0) #2 %3 = load i32, ptr %2, align 4, !tbaa !5 switch i32 %3, label %8 [ i32 129, label %4 i32 128, label %6 ] 4: ; preds = %1 %5 = tail call i32 @ath10k_pci_request_irq_legacy(ptr noundef %0) #2 br label %11 6: ; preds = %1 %7 = tail call i32 @ath10k_pci_request_irq_msi(ptr noundef %0) #2 br label %11 8: ; preds = %1 %9 = load i32, ptr @EINVAL, align 4, !tbaa !10 %10 = sub nsw i32 0, %9 br label %11 11: ; preds = %8, %6, %4 %12 = phi i32 [ %10, %8 ], [ %7, %6 ], [ %5, %4 ] ret i32 %12 } declare ptr @ath10k_pci_priv(ptr noundef) local_unnamed_addr #1 declare i32 @ath10k_pci_request_irq_legacy(ptr noundef) local_unnamed_addr #1 declare i32 @ath10k_pci_request_irq_msi(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 = !{!"ath10k_pci", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_pci.c_ath10k_pci_request_irq.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_pci.c_ath10k_pci_request_irq.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 @ath10k_pci_request_irq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ath10k_pci_request_irq(ptr noundef %0) #0 { %2 = tail call ptr @ath10k_pci_priv(ptr noundef %0) #2 %3 = load i32, ptr %2, align 4, !tbaa !6 switch i32 %3, label %8 [ i32 129, label %4 i32 128, label %6 ] 4: ; preds = %1 %5 = tail call i32 @ath10k_pci_request_irq_legacy(ptr noundef %0) #2 br label %11 6: ; preds = %1 %7 = tail call i32 @ath10k_pci_request_irq_msi(ptr noundef %0) #2 br label %11 8: ; preds = %1 %9 = load i32, ptr @EINVAL, align 4, !tbaa !11 %10 = sub nsw i32 0, %9 br label %11 11: ; preds = %8, %6, %4 %12 = phi i32 [ %10, %8 ], [ %7, %6 ], [ %5, %4 ] ret i32 %12 } declare ptr @ath10k_pci_priv(ptr noundef) local_unnamed_addr #1 declare i32 @ath10k_pci_request_irq_legacy(ptr noundef) local_unnamed_addr #1 declare i32 @ath10k_pci_request_irq_msi(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 = !{!"ath10k_pci", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_net_wireless_ath_ath10k_extr_pci.c_ath10k_pci_request_irq
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_sp.c_bnx2x_queue_send_cmd_cmn.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_sp.c_bnx2x_queue_send_cmd_cmn.c" target datalayout = "e-m:e-p270:32:32-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 [21 x i8] c"Unknown command: %d\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bnx2x_queue_send_cmd_cmn], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @bnx2x_queue_send_cmd_cmn(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 switch i32 %3, label %24 [ i32 132, label %4 i32 131, label %6 i32 135, label %8 i32 137, label %10 i32 129, label %12 i32 128, label %14 i32 133, label %16 i32 136, label %18 i32 130, label %20 i32 134, label %22 ] 4: ; preds = %2 %5 = tail call i32 @bnx2x_q_init(ptr noundef %0, ptr noundef nonnull %1) #2 br label %28 6: ; preds = %2 %7 = tail call i32 @bnx2x_q_send_setup_tx_only(ptr noundef %0, ptr noundef nonnull %1) #2 br label %28 8: ; preds = %2 %9 = tail call i32 @bnx2x_q_send_deactivate(ptr noundef %0, ptr noundef nonnull %1) #2 br label %28 10: ; preds = %2 %11 = tail call i32 @bnx2x_q_send_activate(ptr noundef %0, ptr noundef nonnull %1) #2 br label %28 12: ; preds = %2 %13 = tail call i32 @bnx2x_q_send_update(ptr noundef %0, ptr noundef nonnull %1) #2 br label %28 14: ; preds = %2 %15 = tail call i32 @bnx2x_q_send_update_tpa(ptr noundef %0, ptr noundef nonnull %1) #2 br label %28 16: ; preds = %2 %17 = tail call i32 @bnx2x_q_send_halt(ptr noundef %0, ptr noundef nonnull %1) #2 br label %28 18: ; preds = %2 %19 = tail call i32 @bnx2x_q_send_cfc_del(ptr noundef %0, ptr noundef nonnull %1) #2 br label %28 20: ; preds = %2 %21 = tail call i32 @bnx2x_q_send_terminate(ptr noundef %0, ptr noundef nonnull %1) #2 br label %28 22: ; preds = %2 %23 = tail call i32 @bnx2x_q_send_empty(ptr noundef %0, ptr noundef nonnull %1) #2 br label %28 24: ; preds = %2 %25 = tail call i32 @BNX2X_ERR(ptr noundef nonnull @.str, i32 noundef %3) #2 %26 = load i32, ptr @EINVAL, align 4, !tbaa !10 %27 = sub nsw i32 0, %26 br label %28 28: ; preds = %24, %22, %20, %18, %16, %14, %12, %10, %8, %6, %4 %29 = phi i32 [ %27, %24 ], [ %23, %22 ], [ %21, %20 ], [ %19, %18 ], [ %17, %16 ], [ %15, %14 ], [ %13, %12 ], [ %11, %10 ], [ %9, %8 ], [ %7, %6 ], [ %5, %4 ] ret i32 %29 } declare i32 @bnx2x_q_init(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bnx2x_q_send_setup_tx_only(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bnx2x_q_send_deactivate(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bnx2x_q_send_activate(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bnx2x_q_send_update(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bnx2x_q_send_update_tpa(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bnx2x_q_send_halt(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bnx2x_q_send_cfc_del(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bnx2x_q_send_terminate(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bnx2x_q_send_empty(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @BNX2X_ERR(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"bnx2x_queue_state_params", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_sp.c_bnx2x_queue_send_cmd_cmn.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_sp.c_bnx2x_queue_send_cmd_cmn.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 [21 x i8] c"Unknown command: %d\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bnx2x_queue_send_cmd_cmn], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @bnx2x_queue_send_cmd_cmn(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 switch i32 %3, label %24 [ i32 132, label %4 i32 131, label %6 i32 135, label %8 i32 137, label %10 i32 129, label %12 i32 128, label %14 i32 133, label %16 i32 136, label %18 i32 130, label %20 i32 134, label %22 ] 4: ; preds = %2 %5 = tail call i32 @bnx2x_q_init(ptr noundef %0, ptr noundef nonnull %1) #2 br label %28 6: ; preds = %2 %7 = tail call i32 @bnx2x_q_send_setup_tx_only(ptr noundef %0, ptr noundef nonnull %1) #2 br label %28 8: ; preds = %2 %9 = tail call i32 @bnx2x_q_send_deactivate(ptr noundef %0, ptr noundef nonnull %1) #2 br label %28 10: ; preds = %2 %11 = tail call i32 @bnx2x_q_send_activate(ptr noundef %0, ptr noundef nonnull %1) #2 br label %28 12: ; preds = %2 %13 = tail call i32 @bnx2x_q_send_update(ptr noundef %0, ptr noundef nonnull %1) #2 br label %28 14: ; preds = %2 %15 = tail call i32 @bnx2x_q_send_update_tpa(ptr noundef %0, ptr noundef nonnull %1) #2 br label %28 16: ; preds = %2 %17 = tail call i32 @bnx2x_q_send_halt(ptr noundef %0, ptr noundef nonnull %1) #2 br label %28 18: ; preds = %2 %19 = tail call i32 @bnx2x_q_send_cfc_del(ptr noundef %0, ptr noundef nonnull %1) #2 br label %28 20: ; preds = %2 %21 = tail call i32 @bnx2x_q_send_terminate(ptr noundef %0, ptr noundef nonnull %1) #2 br label %28 22: ; preds = %2 %23 = tail call i32 @bnx2x_q_send_empty(ptr noundef %0, ptr noundef nonnull %1) #2 br label %28 24: ; preds = %2 %25 = tail call i32 @BNX2X_ERR(ptr noundef nonnull @.str, i32 noundef %3) #2 %26 = load i32, ptr @EINVAL, align 4, !tbaa !11 %27 = sub nsw i32 0, %26 br label %28 28: ; preds = %24, %22, %20, %18, %16, %14, %12, %10, %8, %6, %4 %29 = phi i32 [ %27, %24 ], [ %23, %22 ], [ %21, %20 ], [ %19, %18 ], [ %17, %16 ], [ %15, %14 ], [ %13, %12 ], [ %11, %10 ], [ %9, %8 ], [ %7, %6 ], [ %5, %4 ] ret i32 %29 } declare i32 @bnx2x_q_init(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bnx2x_q_send_setup_tx_only(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bnx2x_q_send_deactivate(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bnx2x_q_send_activate(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bnx2x_q_send_update(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bnx2x_q_send_update_tpa(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bnx2x_q_send_halt(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bnx2x_q_send_cfc_del(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bnx2x_q_send_terminate(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bnx2x_q_send_empty(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @BNX2X_ERR(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"bnx2x_queue_state_params", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_net_bnx2x_extr_bnx2x_sp.c_bnx2x_queue_send_cmd_cmn
; ModuleID = 'AnghaBench/linux/drivers/md/bcache/extr_extents.c_bch_subtract_dirty.c' source_filename = "AnghaBench/linux/drivers/md/bcache/extr_extents.c_bch_subtract_dirty.c" target datalayout = "e-m:e-p270:32:32-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 @bch_subtract_dirty], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bch_subtract_dirty(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = tail call i64 @KEY_DIRTY(ptr noundef %0) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %11, label %7 7: ; preds = %4 %8 = tail call i32 @KEY_INODE(ptr noundef %0) #2 %9 = sub nsw i32 0, %3 %10 = tail call i32 @bcache_dev_sectors_dirty_add(ptr noundef %1, i32 noundef %8, i32 noundef %2, i32 noundef %9) #2 br label %11 11: ; preds = %7, %4 ret void } declare i64 @KEY_DIRTY(ptr noundef) local_unnamed_addr #1 declare i32 @bcache_dev_sectors_dirty_add(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @KEY_INODE(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/md/bcache/extr_extents.c_bch_subtract_dirty.c' source_filename = "AnghaBench/linux/drivers/md/bcache/extr_extents.c_bch_subtract_dirty.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 @bch_subtract_dirty], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bch_subtract_dirty(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = tail call i64 @KEY_DIRTY(ptr noundef %0) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %11, label %7 7: ; preds = %4 %8 = tail call i32 @KEY_INODE(ptr noundef %0) #2 %9 = sub nsw i32 0, %3 %10 = tail call i32 @bcache_dev_sectors_dirty_add(ptr noundef %1, i32 noundef %8, i32 noundef %2, i32 noundef %9) #2 br label %11 11: ; preds = %7, %4 ret void } declare i64 @KEY_DIRTY(ptr noundef) local_unnamed_addr #1 declare i32 @bcache_dev_sectors_dirty_add(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @KEY_INODE(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_md_bcache_extr_extents.c_bch_subtract_dirty
; ModuleID = 'AnghaBench/obs-studio/libobs-opengl/extr_gl-subsystem.c_update_viewproj_matrix.c' source_filename = "AnghaBench/obs-studio/libobs-opengl/extr_gl-subsystem.c_update_viewproj_matrix.c" target datalayout = "e-m:e-p270:32:32-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.matrix4 = type { %struct.TYPE_8__, %struct.TYPE_7__, %struct.TYPE_6__, %struct.TYPE_5__ } %struct.TYPE_8__ = type { i32 } %struct.TYPE_7__ = type { i32 } %struct.TYPE_6__ = type { i32 } %struct.TYPE_5__ = type { i32 } %struct.gs_device = type { i32, i32, i64, i32, ptr } @GL_CW = dso_local local_unnamed_addr global i32 0, align 4 @GL_CCW = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"glFrontFace\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @update_viewproj_matrix], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @update_viewproj_matrix(ptr noundef %0) #0 { %2 = alloca %struct.matrix4, align 16 %3 = getelementptr inbounds %struct.gs_device, ptr %0, i64 0, i32 4 %4 = load ptr, ptr %3, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3 %5 = getelementptr inbounds %struct.gs_device, ptr %0, i64 0, i32 1 %6 = tail call i32 @gs_matrix_get(ptr noundef nonnull %5) #3 %7 = getelementptr inbounds %struct.gs_device, ptr %0, i64 0, i32 3 %8 = call i32 @matrix4_copy(ptr noundef nonnull %2, ptr noundef nonnull %7) #3 %9 = getelementptr inbounds %struct.gs_device, ptr %0, i64 0, i32 2 %10 = load i64, ptr %9, align 8, !tbaa !12 %11 = icmp eq i64 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %1 %13 = load <4 x i32>, ptr %2, align 16, !tbaa !13 %14 = sub nsw <4 x i32> zeroinitializer, %13 store <4 x i32> %14, ptr %2, align 16, !tbaa !13 br label %15 15: ; preds = %1, %12 %16 = phi ptr [ @GL_CW, %12 ], [ @GL_CCW, %1 ] %17 = load i32, ptr %16, align 4, !tbaa !13 %18 = call i32 @glFrontFace(i32 noundef %17) #3 %19 = call i32 @gl_success(ptr noundef nonnull @.str) #3 %20 = call i32 @matrix4_mul(ptr noundef nonnull %0, ptr noundef nonnull %5, ptr noundef nonnull %2) #3 %21 = call i32 @matrix4_transpose(ptr noundef nonnull %0, ptr noundef nonnull %0) #3 %22 = load i64, ptr %4, align 8, !tbaa !14 %23 = icmp eq i64 %22, 0 br i1 %23, label %26, label %24 24: ; preds = %15 %25 = call i32 @gs_shader_set_matrix4(i64 noundef %22, ptr noundef nonnull %0) #3 br label %26 26: ; preds = %24, %15 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @gs_matrix_get(ptr noundef) local_unnamed_addr #2 declare i32 @matrix4_copy(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @glFrontFace(i32 noundef) local_unnamed_addr #2 declare i32 @gl_success(ptr noundef) local_unnamed_addr #2 declare i32 @matrix4_mul(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @matrix4_transpose(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @gs_shader_set_matrix4(i64 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, !11, i64 24} !6 = !{!"gs_device", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !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 = !{!6, !10, i64 8} !13 = !{!7, !7, i64 0} !14 = !{!15, !10, i64 0} !15 = !{!"gs_shader", !10, i64 0}
; ModuleID = 'AnghaBench/obs-studio/libobs-opengl/extr_gl-subsystem.c_update_viewproj_matrix.c' source_filename = "AnghaBench/obs-studio/libobs-opengl/extr_gl-subsystem.c_update_viewproj_matrix.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.matrix4 = type { %struct.TYPE_8__, %struct.TYPE_7__, %struct.TYPE_6__, %struct.TYPE_5__ } %struct.TYPE_8__ = type { i32 } %struct.TYPE_7__ = type { i32 } %struct.TYPE_6__ = type { i32 } %struct.TYPE_5__ = type { i32 } @GL_CW = common local_unnamed_addr global i32 0, align 4 @GL_CCW = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"glFrontFace\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @update_viewproj_matrix], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @update_viewproj_matrix(ptr noundef %0) #0 { %2 = alloca %struct.matrix4, align 16 %3 = getelementptr inbounds i8, ptr %0, i64 24 %4 = load ptr, ptr %3, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = tail call i32 @gs_matrix_get(ptr noundef nonnull %5) #3 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = call i32 @matrix4_copy(ptr noundef nonnull %2, ptr noundef nonnull %7) #3 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load i64, ptr %9, align 8, !tbaa !13 %11 = icmp eq i64 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %1 %13 = load <4 x i32>, ptr %2, align 16, !tbaa !14 %14 = sub nsw <4 x i32> zeroinitializer, %13 store <4 x i32> %14, ptr %2, align 16, !tbaa !14 br label %15 15: ; preds = %1, %12 %16 = phi ptr [ @GL_CW, %12 ], [ @GL_CCW, %1 ] %17 = load i32, ptr %16, align 4, !tbaa !14 %18 = call i32 @glFrontFace(i32 noundef %17) #3 %19 = call i32 @gl_success(ptr noundef nonnull @.str) #3 %20 = call i32 @matrix4_mul(ptr noundef nonnull %0, ptr noundef nonnull %5, ptr noundef nonnull %2) #3 %21 = call i32 @matrix4_transpose(ptr noundef nonnull %0, ptr noundef nonnull %0) #3 %22 = load i64, ptr %4, align 8, !tbaa !15 %23 = icmp eq i64 %22, 0 br i1 %23, label %26, label %24 24: ; preds = %15 %25 = call i32 @gs_shader_set_matrix4(i64 noundef %22, ptr noundef nonnull %0) #3 br label %26 26: ; preds = %24, %15 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @gs_matrix_get(ptr noundef) local_unnamed_addr #2 declare i32 @matrix4_copy(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @glFrontFace(i32 noundef) local_unnamed_addr #2 declare i32 @gl_success(ptr noundef) local_unnamed_addr #2 declare i32 @matrix4_mul(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @matrix4_transpose(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @gs_shader_set_matrix4(i64 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, !12, i64 24} !7 = !{!"gs_device", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !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 = !{!7, !11, i64 8} !14 = !{!8, !8, i64 0} !15 = !{!16, !11, i64 0} !16 = !{!"gs_shader", !11, i64 0}
obs-studio_libobs-opengl_extr_gl-subsystem.c_update_viewproj_matrix
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfad.c_bfad_init_timer.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfad.c_bfad_init_timer.c" target datalayout = "e-m:e-p270:32:32-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, i32 } @bfad_bfa_tmo = dso_local local_unnamed_addr global i32 0, align 4 @jiffies = dso_local local_unnamed_addr global i64 0, align 8 @BFA_TIMER_FREQ = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @bfad_init_timer(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @init_timer(ptr noundef %0) #2 %3 = load i32, ptr @bfad_bfa_tmo, align 4, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 store i32 %3, ptr %4, align 8, !tbaa !9 %5 = ptrtoint ptr %0 to i64 store i64 %5, ptr %0, align 8, !tbaa !13 %6 = load i64, ptr @jiffies, align 8, !tbaa !14 %7 = load i32, ptr @BFA_TIMER_FREQ, align 4, !tbaa !5 %8 = tail call i64 @msecs_to_jiffies(i32 noundef %7) #2 %9 = add nsw i64 %8, %6 %10 = tail call i32 @mod_timer(ptr noundef nonnull %0, i64 noundef %9) #2 ret void } declare i32 @init_timer(ptr noundef) local_unnamed_addr #1 declare i32 @mod_timer(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @msecs_to_jiffies(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 8} !10 = !{!"bfad_s", !11, i64 0} !11 = !{!"TYPE_3__", !12, i64 0, !6, i64 8} !12 = !{!"long", !7, i64 0} !13 = !{!10, !12, i64 0} !14 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfad.c_bfad_init_timer.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfad.c_bfad_init_timer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @bfad_bfa_tmo = common local_unnamed_addr global i32 0, align 4 @jiffies = common local_unnamed_addr global i64 0, align 8 @BFA_TIMER_FREQ = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @bfad_init_timer(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @init_timer(ptr noundef %0) #2 %3 = load i32, ptr @bfad_bfa_tmo, align 4, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %3, ptr %4, align 8, !tbaa !10 %5 = ptrtoint ptr %0 to i64 store i64 %5, ptr %0, align 8, !tbaa !14 %6 = load i64, ptr @jiffies, align 8, !tbaa !15 %7 = load i32, ptr @BFA_TIMER_FREQ, align 4, !tbaa !6 %8 = tail call i64 @msecs_to_jiffies(i32 noundef %7) #2 %9 = add nsw i64 %8, %6 %10 = tail call i32 @mod_timer(ptr noundef nonnull %0, i64 noundef %9) #2 ret void } declare i32 @init_timer(ptr noundef) local_unnamed_addr #1 declare i32 @mod_timer(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @msecs_to_jiffies(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 8} !11 = !{!"bfad_s", !12, i64 0} !12 = !{!"TYPE_3__", !13, i64 0, !7, i64 8} !13 = !{!"long", !8, i64 0} !14 = !{!11, !13, i64 0} !15 = !{!13, !13, i64 0}
fastsocket_kernel_drivers_scsi_bfa_extr_bfad.c_bfad_init_timer
; ModuleID = 'AnghaBench/esp-idf/examples/protocols/http2_request/components/sh2lib/extr_sh2lib.c_sh2lib_do_post.c' source_filename = "AnghaBench/esp-idf/examples/protocols/http2_request/components/sh2lib/extr_sh2lib.c_sh2lib_do_post.c" target datalayout = "e-m:e-p270:32:32-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 [8 x i8] c":method\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"POST\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c":scheme\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"https\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c":authority\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c":path\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @sh2lib_do_post(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca [4 x i32], align 16 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3 %6 = tail call i32 @SH2LIB_MAKE_NV(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #3 store i32 %6, ptr %5, align 16, !tbaa !5 %7 = getelementptr inbounds i32, ptr %5, i64 1 %8 = tail call i32 @SH2LIB_MAKE_NV(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3) #3 store i32 %8, ptr %7, align 4, !tbaa !5 %9 = getelementptr inbounds i32, ptr %5, i64 2 %10 = load ptr, ptr %0, align 8, !tbaa !9 %11 = tail call i32 @SH2LIB_MAKE_NV(ptr noundef nonnull @.str.4, ptr noundef %10) #3 store i32 %11, ptr %9, align 8, !tbaa !5 %12 = getelementptr inbounds i32, ptr %5, i64 3 %13 = tail call i32 @SH2LIB_MAKE_NV(ptr noundef nonnull @.str.5, ptr noundef %1) #3 store i32 %13, ptr %12, align 4, !tbaa !5 %14 = call i32 @sh2lib_do_putpost_with_nv(ptr noundef nonnull %0, ptr noundef nonnull %5, i32 noundef 4, i32 noundef %2, i32 noundef %3) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3 ret i32 %14 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SH2LIB_MAKE_NV(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sh2lib_do_putpost_with_nv(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"sh2lib_handle", !11, i64 0} !11 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/esp-idf/examples/protocols/http2_request/components/sh2lib/extr_sh2lib.c_sh2lib_do_post.c' source_filename = "AnghaBench/esp-idf/examples/protocols/http2_request/components/sh2lib/extr_sh2lib.c_sh2lib_do_post.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 [8 x i8] c":method\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"POST\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c":scheme\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"https\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c":authority\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c":path\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @sh2lib_do_post(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca [4 x i32], align 4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3 %6 = tail call i32 @SH2LIB_MAKE_NV(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #3 store i32 %6, ptr %5, align 4, !tbaa !6 %7 = getelementptr inbounds i8, ptr %5, i64 4 %8 = tail call i32 @SH2LIB_MAKE_NV(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3) #3 store i32 %8, ptr %7, align 4, !tbaa !6 %9 = getelementptr inbounds i8, ptr %5, i64 8 %10 = load ptr, ptr %0, align 8, !tbaa !10 %11 = tail call i32 @SH2LIB_MAKE_NV(ptr noundef nonnull @.str.4, ptr noundef %10) #3 store i32 %11, ptr %9, align 4, !tbaa !6 %12 = getelementptr inbounds i8, ptr %5, i64 12 %13 = tail call i32 @SH2LIB_MAKE_NV(ptr noundef nonnull @.str.5, ptr noundef %1) #3 store i32 %13, ptr %12, align 4, !tbaa !6 %14 = call i32 @sh2lib_do_putpost_with_nv(ptr noundef nonnull %0, ptr noundef nonnull %5, i32 noundef 4, i32 noundef %2, i32 noundef %3) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3 ret i32 %14 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SH2LIB_MAKE_NV(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sh2lib_do_putpost_with_nv(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"sh2lib_handle", !12, i64 0} !12 = !{!"any pointer", !8, i64 0}
esp-idf_examples_protocols_http2_request_components_sh2lib_extr_sh2lib.c_sh2lib_do_post
; ModuleID = 'AnghaBench/obs-studio/deps/jansson/test/suites/api/extr_test_array.c_test_insert.c' source_filename = "AnghaBench/obs-studio/deps/jansson/test/suites/api/extr_test_array.c_test_insert.c" target datalayout = "e-m:e-p270:32:32-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"unable to create array\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"unable to create integer\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"able to insert value out of bounds\00", align 1 @.str.3 = private unnamed_addr constant [41 x i8] c"unable to insert value in an empty array\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"json_array_insert works incorrectly\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"array size is invalid after insertion\00", align 1 @.str.6 = private unnamed_addr constant [46 x i8] c"unable to insert value at the end of an array\00", align 1 @.str.7 = private unnamed_addr constant [49 x i8] c"unable to insert value in the middle of an array\00", align 1 @.str.8 = private unnamed_addr constant [40 x i8] c"json_array_insert_new works incorrectly\00", align 1 @.str.9 = private unnamed_addr constant [51 x i8] c"unable to insert value at the begining of an array\00", align 1 @.str.10 = private unnamed_addr constant [35 x i8] c"json_aray_insert works incorrectly\00", align 1 @.str.11 = private unnamed_addr constant [43 x i8] c"array size is invalid after loop insertion\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @test_insert], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @test_insert() #0 { %1 = tail call ptr (...) @json_array() #2 %2 = tail call ptr @json_integer(i32 noundef 5) #2 %3 = tail call ptr @json_integer(i32 noundef 7) #2 %4 = tail call ptr @json_integer(i32 noundef 11) #2 %5 = icmp eq ptr %1, null br i1 %5, label %6, label %8 6: ; preds = %0 %7 = tail call i32 @fail(ptr noundef nonnull @.str) #2 br label %8 8: ; preds = %6, %0 %9 = icmp ne ptr %2, null %10 = icmp ne ptr %3, null %11 = select i1 %9, i1 %10, i1 false %12 = icmp ne ptr %4, null %13 = select i1 %11, i1 %12, i1 false br i1 %13, label %16, label %14 14: ; preds = %8 %15 = tail call i32 @fail(ptr noundef nonnull @.str.1) #2 br label %16 16: ; preds = %8, %14 %17 = tail call i64 @json_array_insert(ptr noundef %1, i32 noundef 1, ptr noundef %2) #2 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = tail call i32 @fail(ptr noundef nonnull @.str.2) #2 br label %21 21: ; preds = %19, %16 %22 = tail call i64 @json_array_insert(ptr noundef %1, i32 noundef 0, ptr noundef %2) #2 %23 = icmp eq i64 %22, 0 br i1 %23, label %26, label %24 24: ; preds = %21 %25 = tail call i32 @fail(ptr noundef nonnull @.str.3) #2 br label %26 26: ; preds = %24, %21 %27 = tail call ptr @json_array_get(ptr noundef %1, i32 noundef 0) #2 %28 = icmp eq ptr %27, %2 br i1 %28, label %31, label %29 29: ; preds = %26 %30 = tail call i32 @fail(ptr noundef nonnull @.str.4) #2 br label %31 31: ; preds = %29, %26 %32 = tail call i32 @json_array_size(ptr noundef %1) #2 %33 = icmp eq i32 %32, 1 br i1 %33, label %36, label %34 34: ; preds = %31 %35 = tail call i32 @fail(ptr noundef nonnull @.str.5) #2 br label %36 36: ; preds = %34, %31 %37 = tail call i64 @json_array_insert(ptr noundef %1, i32 noundef 1, ptr noundef %3) #2 %38 = icmp eq i64 %37, 0 br i1 %38, label %41, label %39 39: ; preds = %36 %40 = tail call i32 @fail(ptr noundef nonnull @.str.6) #2 br label %41 41: ; preds = %39, %36 %42 = tail call ptr @json_array_get(ptr noundef %1, i32 noundef 0) #2 %43 = icmp eq ptr %42, %2 br i1 %43, label %46, label %44 44: ; preds = %41 %45 = tail call i32 @fail(ptr noundef nonnull @.str.4) #2 br label %46 46: ; preds = %44, %41 %47 = tail call ptr @json_array_get(ptr noundef %1, i32 noundef 1) #2 %48 = icmp eq ptr %47, %3 br i1 %48, label %51, label %49 49: ; preds = %46 %50 = tail call i32 @fail(ptr noundef nonnull @.str.4) #2 br label %51 51: ; preds = %49, %46 %52 = tail call i32 @json_array_size(ptr noundef %1) #2 %53 = icmp eq i32 %52, 2 br i1 %53, label %56, label %54 54: ; preds = %51 %55 = tail call i32 @fail(ptr noundef nonnull @.str.5) #2 br label %56 56: ; preds = %54, %51 %57 = tail call i64 @json_array_insert(ptr noundef %1, i32 noundef 1, ptr noundef %4) #2 %58 = icmp eq i64 %57, 0 br i1 %58, label %61, label %59 59: ; preds = %56 %60 = tail call i32 @fail(ptr noundef nonnull @.str.7) #2 br label %61 61: ; preds = %59, %56 %62 = tail call ptr @json_array_get(ptr noundef %1, i32 noundef 0) #2 %63 = icmp eq ptr %62, %2 br i1 %63, label %66, label %64 64: ; preds = %61 %65 = tail call i32 @fail(ptr noundef nonnull @.str.4) #2 br label %66 66: ; preds = %64, %61 %67 = tail call ptr @json_array_get(ptr noundef %1, i32 noundef 1) #2 %68 = icmp eq ptr %67, %4 br i1 %68, label %71, label %69 69: ; preds = %66 %70 = tail call i32 @fail(ptr noundef nonnull @.str.4) #2 br label %71 71: ; preds = %69, %66 %72 = tail call ptr @json_array_get(ptr noundef %1, i32 noundef 2) #2 %73 = icmp eq ptr %72, %3 br i1 %73, label %76, label %74 74: ; preds = %71 %75 = tail call i32 @fail(ptr noundef nonnull @.str.4) #2 br label %76 76: ; preds = %74, %71 %77 = tail call i32 @json_array_size(ptr noundef %1) #2 %78 = icmp eq i32 %77, 3 br i1 %78, label %81, label %79 79: ; preds = %76 %80 = tail call i32 @fail(ptr noundef nonnull @.str.5) #2 br label %81 81: ; preds = %79, %76 %82 = tail call ptr @json_integer(i32 noundef 123) #2 %83 = tail call i64 @json_array_insert_new(ptr noundef %1, i32 noundef 2, ptr noundef %82) #2 %84 = icmp eq i64 %83, 0 br i1 %84, label %87, label %85 85: ; preds = %81 %86 = tail call i32 @fail(ptr noundef nonnull @.str.7) #2 br label %87 87: ; preds = %85, %81 %88 = tail call ptr @json_array_get(ptr noundef %1, i32 noundef 2) #2 %89 = tail call i32 @json_is_integer(ptr noundef %88) #2 %90 = icmp eq i32 %89, 0 br i1 %90, label %94, label %91 91: ; preds = %87 %92 = tail call i32 @json_integer_value(ptr noundef %88) #2 %93 = icmp eq i32 %92, 123 br i1 %93, label %96, label %94 94: ; preds = %91, %87 %95 = tail call i32 @fail(ptr noundef nonnull @.str.8) #2 br label %96 96: ; preds = %94, %91 %97 = tail call i32 @json_array_size(ptr noundef %1) #2 %98 = icmp eq i32 %97, 4 br i1 %98, label %101, label %99 99: ; preds = %96 %100 = tail call i32 @fail(ptr noundef nonnull @.str.5) #2 br label %101 101: ; preds = %99, %96 br label %102 102: ; preds = %101, %108 %103 = phi i32 [ %109, %108 ], [ 0, %101 ] %104 = tail call i64 @json_array_insert(ptr noundef %1, i32 noundef 0, ptr noundef %3) #2 %105 = icmp eq i64 %104, 0 br i1 %105, label %108, label %106 106: ; preds = %102 %107 = tail call i32 @fail(ptr noundef nonnull @.str.9) #2 br label %108 108: ; preds = %102, %106 %109 = add nuw nsw i32 %103, 1 %110 = icmp eq i32 %109, 20 br i1 %110, label %111, label %102, !llvm.loop !5 111: ; preds = %108, %117 %112 = phi i32 [ %118, %117 ], [ 0, %108 ] %113 = tail call ptr @json_array_get(ptr noundef %1, i32 noundef %112) #2 %114 = icmp eq ptr %113, %3 br i1 %114, label %117, label %115 115: ; preds = %111 %116 = tail call i32 @fail(ptr noundef nonnull @.str.10) #2 br label %117 117: ; preds = %111, %115 %118 = add nuw nsw i32 %112, 1 %119 = icmp eq i32 %118, 20 br i1 %119, label %120, label %111, !llvm.loop !7 120: ; preds = %117 %121 = tail call i32 @json_array_size(ptr noundef %1) #2 %122 = icmp eq i32 %121, 24 br i1 %122, label %125, label %123 123: ; preds = %120 %124 = tail call i32 @fail(ptr noundef nonnull @.str.11) #2 br label %125 125: ; preds = %123, %120 %126 = tail call i32 @json_decref(ptr noundef %2) #2 %127 = tail call i32 @json_decref(ptr noundef %3) #2 %128 = tail call i32 @json_decref(ptr noundef %4) #2 %129 = tail call i32 @json_decref(ptr noundef %1) #2 ret void } declare ptr @json_array(...) local_unnamed_addr #1 declare ptr @json_integer(i32 noundef) local_unnamed_addr #1 declare i32 @fail(ptr noundef) local_unnamed_addr #1 declare i64 @json_array_insert(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @json_array_get(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @json_array_size(ptr noundef) local_unnamed_addr #1 declare i64 @json_array_insert_new(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @json_is_integer(ptr noundef) local_unnamed_addr #1 declare i32 @json_integer_value(ptr noundef) local_unnamed_addr #1 declare i32 @json_decref(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"} !7 = distinct !{!7, !6}
; ModuleID = 'AnghaBench/obs-studio/deps/jansson/test/suites/api/extr_test_array.c_test_insert.c' source_filename = "AnghaBench/obs-studio/deps/jansson/test/suites/api/extr_test_array.c_test_insert.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"unable to create array\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"unable to create integer\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"able to insert value out of bounds\00", align 1 @.str.3 = private unnamed_addr constant [41 x i8] c"unable to insert value in an empty array\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"json_array_insert works incorrectly\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"array size is invalid after insertion\00", align 1 @.str.6 = private unnamed_addr constant [46 x i8] c"unable to insert value at the end of an array\00", align 1 @.str.7 = private unnamed_addr constant [49 x i8] c"unable to insert value in the middle of an array\00", align 1 @.str.8 = private unnamed_addr constant [40 x i8] c"json_array_insert_new works incorrectly\00", align 1 @.str.9 = private unnamed_addr constant [51 x i8] c"unable to insert value at the begining of an array\00", align 1 @.str.10 = private unnamed_addr constant [35 x i8] c"json_aray_insert works incorrectly\00", align 1 @.str.11 = private unnamed_addr constant [43 x i8] c"array size is invalid after loop insertion\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @test_insert], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @test_insert() #0 { %1 = tail call ptr @json_array() #2 %2 = tail call ptr @json_integer(i32 noundef 5) #2 %3 = tail call ptr @json_integer(i32 noundef 7) #2 %4 = tail call ptr @json_integer(i32 noundef 11) #2 %5 = icmp eq ptr %1, null br i1 %5, label %6, label %8 6: ; preds = %0 %7 = tail call i32 @fail(ptr noundef nonnull @.str) #2 br label %8 8: ; preds = %6, %0 %9 = icmp ne ptr %2, null %10 = icmp ne ptr %3, null %11 = select i1 %9, i1 %10, i1 false %12 = icmp ne ptr %4, null %13 = select i1 %11, i1 %12, i1 false br i1 %13, label %16, label %14 14: ; preds = %8 %15 = tail call i32 @fail(ptr noundef nonnull @.str.1) #2 br label %16 16: ; preds = %8, %14 %17 = tail call i64 @json_array_insert(ptr noundef %1, i32 noundef 1, ptr noundef %2) #2 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = tail call i32 @fail(ptr noundef nonnull @.str.2) #2 br label %21 21: ; preds = %19, %16 %22 = tail call i64 @json_array_insert(ptr noundef %1, i32 noundef 0, ptr noundef %2) #2 %23 = icmp eq i64 %22, 0 br i1 %23, label %26, label %24 24: ; preds = %21 %25 = tail call i32 @fail(ptr noundef nonnull @.str.3) #2 br label %26 26: ; preds = %24, %21 %27 = tail call ptr @json_array_get(ptr noundef %1, i32 noundef 0) #2 %28 = icmp eq ptr %27, %2 br i1 %28, label %31, label %29 29: ; preds = %26 %30 = tail call i32 @fail(ptr noundef nonnull @.str.4) #2 br label %31 31: ; preds = %29, %26 %32 = tail call i32 @json_array_size(ptr noundef %1) #2 %33 = icmp eq i32 %32, 1 br i1 %33, label %36, label %34 34: ; preds = %31 %35 = tail call i32 @fail(ptr noundef nonnull @.str.5) #2 br label %36 36: ; preds = %34, %31 %37 = tail call i64 @json_array_insert(ptr noundef %1, i32 noundef 1, ptr noundef %3) #2 %38 = icmp eq i64 %37, 0 br i1 %38, label %41, label %39 39: ; preds = %36 %40 = tail call i32 @fail(ptr noundef nonnull @.str.6) #2 br label %41 41: ; preds = %39, %36 %42 = tail call ptr @json_array_get(ptr noundef %1, i32 noundef 0) #2 %43 = icmp eq ptr %42, %2 br i1 %43, label %46, label %44 44: ; preds = %41 %45 = tail call i32 @fail(ptr noundef nonnull @.str.4) #2 br label %46 46: ; preds = %44, %41 %47 = tail call ptr @json_array_get(ptr noundef %1, i32 noundef 1) #2 %48 = icmp eq ptr %47, %3 br i1 %48, label %51, label %49 49: ; preds = %46 %50 = tail call i32 @fail(ptr noundef nonnull @.str.4) #2 br label %51 51: ; preds = %49, %46 %52 = tail call i32 @json_array_size(ptr noundef %1) #2 %53 = icmp eq i32 %52, 2 br i1 %53, label %56, label %54 54: ; preds = %51 %55 = tail call i32 @fail(ptr noundef nonnull @.str.5) #2 br label %56 56: ; preds = %54, %51 %57 = tail call i64 @json_array_insert(ptr noundef %1, i32 noundef 1, ptr noundef %4) #2 %58 = icmp eq i64 %57, 0 br i1 %58, label %61, label %59 59: ; preds = %56 %60 = tail call i32 @fail(ptr noundef nonnull @.str.7) #2 br label %61 61: ; preds = %59, %56 %62 = tail call ptr @json_array_get(ptr noundef %1, i32 noundef 0) #2 %63 = icmp eq ptr %62, %2 br i1 %63, label %66, label %64 64: ; preds = %61 %65 = tail call i32 @fail(ptr noundef nonnull @.str.4) #2 br label %66 66: ; preds = %64, %61 %67 = tail call ptr @json_array_get(ptr noundef %1, i32 noundef 1) #2 %68 = icmp eq ptr %67, %4 br i1 %68, label %71, label %69 69: ; preds = %66 %70 = tail call i32 @fail(ptr noundef nonnull @.str.4) #2 br label %71 71: ; preds = %69, %66 %72 = tail call ptr @json_array_get(ptr noundef %1, i32 noundef 2) #2 %73 = icmp eq ptr %72, %3 br i1 %73, label %76, label %74 74: ; preds = %71 %75 = tail call i32 @fail(ptr noundef nonnull @.str.4) #2 br label %76 76: ; preds = %74, %71 %77 = tail call i32 @json_array_size(ptr noundef %1) #2 %78 = icmp eq i32 %77, 3 br i1 %78, label %81, label %79 79: ; preds = %76 %80 = tail call i32 @fail(ptr noundef nonnull @.str.5) #2 br label %81 81: ; preds = %79, %76 %82 = tail call ptr @json_integer(i32 noundef 123) #2 %83 = tail call i64 @json_array_insert_new(ptr noundef %1, i32 noundef 2, ptr noundef %82) #2 %84 = icmp eq i64 %83, 0 br i1 %84, label %87, label %85 85: ; preds = %81 %86 = tail call i32 @fail(ptr noundef nonnull @.str.7) #2 br label %87 87: ; preds = %85, %81 %88 = tail call ptr @json_array_get(ptr noundef %1, i32 noundef 2) #2 %89 = tail call i32 @json_is_integer(ptr noundef %88) #2 %90 = icmp eq i32 %89, 0 br i1 %90, label %94, label %91 91: ; preds = %87 %92 = tail call i32 @json_integer_value(ptr noundef %88) #2 %93 = icmp eq i32 %92, 123 br i1 %93, label %96, label %94 94: ; preds = %91, %87 %95 = tail call i32 @fail(ptr noundef nonnull @.str.8) #2 br label %96 96: ; preds = %94, %91 %97 = tail call i32 @json_array_size(ptr noundef %1) #2 %98 = icmp eq i32 %97, 4 br i1 %98, label %101, label %99 99: ; preds = %96 %100 = tail call i32 @fail(ptr noundef nonnull @.str.5) #2 br label %101 101: ; preds = %99, %96 br label %102 102: ; preds = %101, %108 %103 = phi i32 [ %109, %108 ], [ 0, %101 ] %104 = tail call i64 @json_array_insert(ptr noundef %1, i32 noundef 0, ptr noundef %3) #2 %105 = icmp eq i64 %104, 0 br i1 %105, label %108, label %106 106: ; preds = %102 %107 = tail call i32 @fail(ptr noundef nonnull @.str.9) #2 br label %108 108: ; preds = %102, %106 %109 = add nuw nsw i32 %103, 1 %110 = icmp eq i32 %109, 20 br i1 %110, label %111, label %102, !llvm.loop !6 111: ; preds = %108, %117 %112 = phi i32 [ %118, %117 ], [ 0, %108 ] %113 = tail call ptr @json_array_get(ptr noundef %1, i32 noundef %112) #2 %114 = icmp eq ptr %113, %3 br i1 %114, label %117, label %115 115: ; preds = %111 %116 = tail call i32 @fail(ptr noundef nonnull @.str.10) #2 br label %117 117: ; preds = %111, %115 %118 = add nuw nsw i32 %112, 1 %119 = icmp eq i32 %118, 20 br i1 %119, label %120, label %111, !llvm.loop !8 120: ; preds = %117 %121 = tail call i32 @json_array_size(ptr noundef %1) #2 %122 = icmp eq i32 %121, 24 br i1 %122, label %125, label %123 123: ; preds = %120 %124 = tail call i32 @fail(ptr noundef nonnull @.str.11) #2 br label %125 125: ; preds = %123, %120 %126 = tail call i32 @json_decref(ptr noundef %2) #2 %127 = tail call i32 @json_decref(ptr noundef %3) #2 %128 = tail call i32 @json_decref(ptr noundef %4) #2 %129 = tail call i32 @json_decref(ptr noundef %1) #2 ret void } declare ptr @json_array(...) local_unnamed_addr #1 declare ptr @json_integer(i32 noundef) local_unnamed_addr #1 declare i32 @fail(ptr noundef) local_unnamed_addr #1 declare i64 @json_array_insert(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @json_array_get(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @json_array_size(ptr noundef) local_unnamed_addr #1 declare i64 @json_array_insert_new(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @json_is_integer(ptr noundef) local_unnamed_addr #1 declare i32 @json_integer_value(ptr noundef) local_unnamed_addr #1 declare i32 @json_decref(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
obs-studio_deps_jansson_test_suites_api_extr_test_array.c_test_insert
; ModuleID = 'AnghaBench/freebsd/sys/netgraph/extr_ng_sample.c_ng_xxx_disconnect.c' source_filename = "AnghaBench/freebsd/sys/netgraph/extr_ng_sample.c_ng_xxx_disconnect.c" target datalayout = "e-m:e-p270:32:32-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 @ng_xxx_disconnect], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @ng_xxx_disconnect(i32 noundef %0) #0 { %2 = tail call i64 @NG_HOOK_PRIVATE(i32 noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %7, label %4 4: ; preds = %1 %5 = tail call i64 @NG_HOOK_PRIVATE(i32 noundef %0) #2 %6 = inttoptr i64 %5 to ptr store ptr null, ptr %6, align 8, !tbaa !5 br label %7 7: ; preds = %4, %1 %8 = tail call i32 @NG_HOOK_NODE(i32 noundef %0) #2 %9 = tail call i64 @NG_NODE_NUMHOOKS(i32 noundef %8) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %18 11: ; preds = %7 %12 = tail call i32 @NG_HOOK_NODE(i32 noundef %0) #2 %13 = tail call i64 @NG_NODE_IS_VALID(i32 noundef %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %11 %16 = tail call i32 @NG_HOOK_NODE(i32 noundef %0) #2 %17 = tail call i32 @ng_rmnode_self(i32 noundef %16) #2 br label %18 18: ; preds = %15, %11, %7 ret i32 0 } declare i64 @NG_HOOK_PRIVATE(i32 noundef) local_unnamed_addr #1 declare i64 @NG_NODE_NUMHOOKS(i32 noundef) local_unnamed_addr #1 declare i32 @NG_HOOK_NODE(i32 noundef) local_unnamed_addr #1 declare i64 @NG_NODE_IS_VALID(i32 noundef) local_unnamed_addr #1 declare i32 @ng_rmnode_self(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 = !{!"XXX_hookinfo", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/netgraph/extr_ng_sample.c_ng_xxx_disconnect.c' source_filename = "AnghaBench/freebsd/sys/netgraph/extr_ng_sample.c_ng_xxx_disconnect.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 @ng_xxx_disconnect], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @ng_xxx_disconnect(i32 noundef %0) #0 { %2 = tail call i64 @NG_HOOK_PRIVATE(i32 noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %7, label %4 4: ; preds = %1 %5 = tail call i64 @NG_HOOK_PRIVATE(i32 noundef %0) #2 %6 = inttoptr i64 %5 to ptr store ptr null, ptr %6, align 8, !tbaa !6 br label %7 7: ; preds = %4, %1 %8 = tail call i32 @NG_HOOK_NODE(i32 noundef %0) #2 %9 = tail call i64 @NG_NODE_NUMHOOKS(i32 noundef %8) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %18 11: ; preds = %7 %12 = tail call i32 @NG_HOOK_NODE(i32 noundef %0) #2 %13 = tail call i64 @NG_NODE_IS_VALID(i32 noundef %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %11 %16 = tail call i32 @NG_HOOK_NODE(i32 noundef %0) #2 %17 = tail call i32 @ng_rmnode_self(i32 noundef %16) #2 br label %18 18: ; preds = %15, %11, %7 ret i32 0 } declare i64 @NG_HOOK_PRIVATE(i32 noundef) local_unnamed_addr #1 declare i64 @NG_NODE_NUMHOOKS(i32 noundef) local_unnamed_addr #1 declare i32 @NG_HOOK_NODE(i32 noundef) local_unnamed_addr #1 declare i64 @NG_NODE_IS_VALID(i32 noundef) local_unnamed_addr #1 declare i32 @ng_rmnode_self(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 = !{!"XXX_hookinfo", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_sys_netgraph_extr_ng_sample.c_ng_xxx_disconnect
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_mp3dec.c_mp3_read_probe.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_mp3dec.c_mp3_read_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.TYPE_5__ = type { i64 } %struct.TYPE_6__ = type { i32, ptr } @AVPROBE_SCORE_EXTENSION = dso_local local_unnamed_addr global i32 0, align 4 @ID3v2_DEFAULT_MAGIC = dso_local local_unnamed_addr global i32 0, align 4 @PROBE_BUF_MAX = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mp3_read_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mp3_read_probe(ptr nocapture noundef readonly %0) #0 { %2 = alloca %struct.TYPE_5__, align 8 %3 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %0, align 8, !tbaa !11 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds i32, ptr %4, i64 %6 %8 = getelementptr inbounds i32, ptr %7, i64 -4 %9 = icmp ult ptr %4, %8 br i1 %9, label %10, label %17 10: ; preds = %1, %14 %11 = phi ptr [ %15, %14 ], [ %4, %1 ] %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %10 %15 = getelementptr inbounds i32, ptr %11, i64 1 %16 = icmp ult ptr %15, %8 br i1 %16, label %10, label %17, !llvm.loop !13 17: ; preds = %10, %14, %1 %18 = phi ptr [ %4, %1 ], [ %15, %14 ], [ %11, %10 ] %19 = icmp ult ptr %18, %8 br i1 %19, label %20, label %79 20: ; preds = %17, %40 %21 = phi ptr [ %51, %40 ], [ %18, %17 ] %22 = phi i32 [ %44, %40 ], [ 0, %17 ] %23 = phi i32 [ %45, %40 ], [ 0, %17 ] %24 = phi i32 [ %50, %40 ], [ 0, %17 ] %25 = phi i32 [ %49, %40 ], [ 0, %17 ] br label %26 26: ; preds = %20, %34 %27 = phi ptr [ %21, %20 ], [ %37, %34 ] %28 = phi i32 [ 0, %20 ], [ %36, %34 ] %29 = phi i32 [ 0, %20 ], [ %38, %34 ] call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %30 = call i32 @AV_RB32(ptr noundef %27) #3 %31 = call i32 @avpriv_mpegaudio_decode_header(ptr noundef nonnull %2, i32 noundef %30) #3 %32 = icmp eq i32 %31, 0 %33 = load i64, ptr %2, align 8 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 br i1 %32, label %34, label %40 34: ; preds = %26 %35 = trunc i64 %33 to i32 %36 = add i32 %28, %35 %37 = getelementptr inbounds i32, ptr %27, i64 %33 %38 = add nuw nsw i32 %29, 1 %39 = icmp ult ptr %37, %8 br i1 %39, label %26, label %40, !llvm.loop !15 40: ; preds = %26, %34 %41 = phi i32 [ %29, %26 ], [ %38, %34 ] %42 = phi i32 [ %28, %26 ], [ %36, %34 ] %43 = phi ptr [ %27, %26 ], [ %37, %34 ] %44 = call i32 @FFMAX(i32 noundef %22, i32 noundef %41) #3 %45 = call i32 @FFMAX(i32 noundef %23, i32 noundef %42) #3 %46 = icmp eq ptr %21, %18 %47 = icmp eq ptr %43, %7 %48 = and i1 %46, %47 %49 = select i1 %48, i32 1, i32 %25 %50 = select i1 %46, i32 %41, i32 %24 %51 = getelementptr inbounds i32, ptr %43, i64 1 %52 = icmp ult ptr %51, %8 br i1 %52, label %20, label %53, !llvm.loop !16 53: ; preds = %40 %54 = icmp ne i32 %49, 0 %55 = icmp sgt i32 %50, 6 br i1 %55, label %56, label %59 56: ; preds = %53 %57 = load i32, ptr @AVPROBE_SCORE_EXTENSION, align 4, !tbaa !12 %58 = add nsw i32 %57, 1 br label %110 59: ; preds = %53 %60 = icmp sgt i32 %44, 200 br i1 %60, label %61, label %67 61: ; preds = %59 %62 = load i32, ptr %0, align 8, !tbaa !11 %63 = shl nsw i32 %45, 1 %64 = icmp slt i32 %62, %63 br i1 %64, label %65, label %72 65: ; preds = %61 %66 = load i32, ptr @AVPROBE_SCORE_EXTENSION, align 4, !tbaa !12 br label %110 67: ; preds = %59 %68 = icmp sgt i32 %44, 3 br i1 %68, label %69, label %79 69: ; preds = %67 %70 = load i32, ptr %0, align 8, !tbaa !11 %71 = shl nsw i32 %45, 1 br label %72 72: ; preds = %69, %61 %73 = phi i32 [ %71, %69 ], [ %63, %61 ] %74 = phi i32 [ %70, %69 ], [ %62, %61 ] %75 = icmp slt i32 %74, %73 br i1 %75, label %76, label %79 76: ; preds = %72 %77 = load i32, ptr @AVPROBE_SCORE_EXTENSION, align 4, !tbaa !12 %78 = sdiv i32 %77, 2 br label %110 79: ; preds = %17, %72, %67 %80 = phi i1 [ %54, %72 ], [ %54, %67 ], [ false, %17 ] %81 = phi i32 [ %50, %72 ], [ %50, %67 ], [ 0, %17 ] %82 = phi i32 [ %44, %72 ], [ %44, %67 ], [ 0, %17 ] %83 = phi i32 [ %45, %72 ], [ %45, %67 ], [ 0, %17 ] %84 = load i32, ptr @ID3v2_DEFAULT_MAGIC, align 4, !tbaa !12 %85 = call i64 @ff_id3v2_match(ptr noundef %18, i32 noundef %84) #3 %86 = icmp eq i64 %85, 0 br i1 %86, label %100, label %87 87: ; preds = %79 %88 = call i32 @ff_id3v2_tag_len(ptr noundef %18) #3 %89 = shl nsw i32 %88, 1 %90 = load i32, ptr %0, align 8, !tbaa !11 %91 = icmp slt i32 %89, %90 br i1 %91, label %100, label %92 92: ; preds = %87 %93 = load i32, ptr @PROBE_BUF_MAX, align 4, !tbaa !12 %94 = icmp slt i32 %90, %93 %95 = load i32, ptr @AVPROBE_SCORE_EXTENSION, align 4, !tbaa !12 br i1 %94, label %96, label %98 96: ; preds = %92 %97 = sdiv i32 %95, 4 br label %110 98: ; preds = %92 %99 = add nsw i32 %95, -2 br label %110 100: ; preds = %87, %79 %101 = icmp sgt i32 %81, 1 %102 = select i1 %101, i1 %80, i1 false br i1 %102, label %110, label %103 103: ; preds = %100 %104 = icmp sgt i32 %82, 0 br i1 %104, label %105, label %109 105: ; preds = %103 %106 = load i32, ptr %0, align 8, !tbaa !11 %107 = mul nsw i32 %83, 10 %108 = icmp slt i32 %106, %107 br i1 %108, label %110, label %109 109: ; preds = %105, %103 br label %110 110: ; preds = %105, %100, %96, %98, %109, %76, %65, %56 %111 = phi i32 [ %58, %56 ], [ %66, %65 ], [ %78, %76 ], [ 0, %109 ], [ %97, %96 ], [ %99, %98 ], [ 5, %100 ], [ 1, %105 ] ret i32 %111 } ; 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_RB32(ptr noundef) local_unnamed_addr #2 declare i32 @avpriv_mpegaudio_decode_header(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @FFMAX(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @ff_id3v2_match(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ff_id3v2_tag_len(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"TYPE_6__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!7, !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = distinct !{!15, !14} !16 = distinct !{!16, !14}
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_mp3dec.c_mp3_read_probe.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_mp3dec.c_mp3_read_probe.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 { i64 } @AVPROBE_SCORE_EXTENSION = common local_unnamed_addr global i32 0, align 4 @ID3v2_DEFAULT_MAGIC = common local_unnamed_addr global i32 0, align 4 @PROBE_BUF_MAX = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mp3_read_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mp3_read_probe(ptr nocapture noundef readonly %0) #0 { %2 = alloca %struct.TYPE_5__, align 8 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %0, align 8, !tbaa !12 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds i32, ptr %4, i64 %6 %8 = getelementptr inbounds i8, ptr %7, i64 -16 %9 = icmp ult ptr %4, %8 br i1 %9, label %10, label %17 10: ; preds = %1, %14 %11 = phi ptr [ %15, %14 ], [ %4, %1 ] %12 = load i32, ptr %11, align 4, !tbaa !13 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %10 %15 = getelementptr inbounds i8, ptr %11, i64 4 %16 = icmp ult ptr %15, %8 br i1 %16, label %10, label %17, !llvm.loop !14 17: ; preds = %10, %14, %1 %18 = phi ptr [ %4, %1 ], [ %15, %14 ], [ %11, %10 ] %19 = icmp ult ptr %18, %8 br i1 %19, label %20, label %79 20: ; preds = %17, %40 %21 = phi ptr [ %51, %40 ], [ %18, %17 ] %22 = phi i32 [ %44, %40 ], [ 0, %17 ] %23 = phi i32 [ %45, %40 ], [ 0, %17 ] %24 = phi i32 [ %50, %40 ], [ 0, %17 ] %25 = phi i32 [ %49, %40 ], [ 0, %17 ] br label %26 26: ; preds = %20, %34 %27 = phi ptr [ %21, %20 ], [ %37, %34 ] %28 = phi i32 [ 0, %20 ], [ %36, %34 ] %29 = phi i32 [ 0, %20 ], [ %38, %34 ] call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %30 = call i32 @AV_RB32(ptr noundef %27) #3 %31 = call i32 @avpriv_mpegaudio_decode_header(ptr noundef nonnull %2, i32 noundef %30) #3 %32 = icmp eq i32 %31, 0 %33 = load i64, ptr %2, align 8 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 br i1 %32, label %34, label %40 34: ; preds = %26 %35 = trunc i64 %33 to i32 %36 = add i32 %28, %35 %37 = getelementptr inbounds i32, ptr %27, i64 %33 %38 = add nuw nsw i32 %29, 1 %39 = icmp ult ptr %37, %8 br i1 %39, label %26, label %40, !llvm.loop !16 40: ; preds = %26, %34 %41 = phi i32 [ %29, %26 ], [ %38, %34 ] %42 = phi i32 [ %28, %26 ], [ %36, %34 ] %43 = phi ptr [ %27, %26 ], [ %37, %34 ] %44 = call i32 @FFMAX(i32 noundef %22, i32 noundef %41) #3 %45 = call i32 @FFMAX(i32 noundef %23, i32 noundef %42) #3 %46 = icmp eq ptr %21, %18 %47 = icmp eq ptr %43, %7 %48 = and i1 %46, %47 %49 = select i1 %48, i32 1, i32 %25 %50 = select i1 %46, i32 %41, i32 %24 %51 = getelementptr inbounds i8, ptr %43, i64 4 %52 = icmp ult ptr %51, %8 br i1 %52, label %20, label %53, !llvm.loop !17 53: ; preds = %40 %54 = icmp ne i32 %49, 0 %55 = icmp sgt i32 %50, 6 br i1 %55, label %56, label %59 56: ; preds = %53 %57 = load i32, ptr @AVPROBE_SCORE_EXTENSION, align 4, !tbaa !13 %58 = add nsw i32 %57, 1 br label %110 59: ; preds = %53 %60 = icmp sgt i32 %44, 200 br i1 %60, label %61, label %67 61: ; preds = %59 %62 = load i32, ptr %0, align 8, !tbaa !12 %63 = shl nsw i32 %45, 1 %64 = icmp slt i32 %62, %63 br i1 %64, label %65, label %72 65: ; preds = %61 %66 = load i32, ptr @AVPROBE_SCORE_EXTENSION, align 4, !tbaa !13 br label %110 67: ; preds = %59 %68 = icmp sgt i32 %44, 3 br i1 %68, label %69, label %79 69: ; preds = %67 %70 = load i32, ptr %0, align 8, !tbaa !12 %71 = shl nsw i32 %45, 1 br label %72 72: ; preds = %69, %61 %73 = phi i32 [ %71, %69 ], [ %63, %61 ] %74 = phi i32 [ %70, %69 ], [ %62, %61 ] %75 = icmp slt i32 %74, %73 br i1 %75, label %76, label %79 76: ; preds = %72 %77 = load i32, ptr @AVPROBE_SCORE_EXTENSION, align 4, !tbaa !13 %78 = sdiv i32 %77, 2 br label %110 79: ; preds = %17, %72, %67 %80 = phi i1 [ %54, %72 ], [ %54, %67 ], [ false, %17 ] %81 = phi i32 [ %50, %72 ], [ %50, %67 ], [ 0, %17 ] %82 = phi i32 [ %44, %72 ], [ %44, %67 ], [ 0, %17 ] %83 = phi i32 [ %45, %72 ], [ %45, %67 ], [ 0, %17 ] %84 = load i32, ptr @ID3v2_DEFAULT_MAGIC, align 4, !tbaa !13 %85 = call i64 @ff_id3v2_match(ptr noundef %18, i32 noundef %84) #3 %86 = icmp eq i64 %85, 0 br i1 %86, label %100, label %87 87: ; preds = %79 %88 = call i32 @ff_id3v2_tag_len(ptr noundef %18) #3 %89 = shl nsw i32 %88, 1 %90 = load i32, ptr %0, align 8, !tbaa !12 %91 = icmp slt i32 %89, %90 br i1 %91, label %100, label %92 92: ; preds = %87 %93 = load i32, ptr @PROBE_BUF_MAX, align 4, !tbaa !13 %94 = icmp slt i32 %90, %93 %95 = load i32, ptr @AVPROBE_SCORE_EXTENSION, align 4, !tbaa !13 br i1 %94, label %96, label %98 96: ; preds = %92 %97 = sdiv i32 %95, 4 br label %110 98: ; preds = %92 %99 = add nsw i32 %95, -2 br label %110 100: ; preds = %87, %79 %101 = icmp sgt i32 %81, 1 %102 = select i1 %101, i1 %80, i1 false br i1 %102, label %110, label %103 103: ; preds = %100 %104 = icmp sgt i32 %82, 0 br i1 %104, label %105, label %109 105: ; preds = %103 %106 = load i32, ptr %0, align 8, !tbaa !12 %107 = mul nsw i32 %83, 10 %108 = icmp slt i32 %106, %107 br i1 %108, label %110, label %109 109: ; preds = %105, %103 br label %110 110: ; preds = %105, %100, %96, %98, %109, %76, %65, %56 %111 = phi i32 [ %58, %56 ], [ %66, %65 ], [ %78, %76 ], [ 0, %109 ], [ %97, %96 ], [ %99, %98 ], [ 5, %100 ], [ 1, %105 ] ret i32 %111 } ; 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_RB32(ptr noundef) local_unnamed_addr #2 declare i32 @avpriv_mpegaudio_decode_header(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @FFMAX(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @ff_id3v2_match(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ff_id3v2_tag_len(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!8, !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = distinct !{!16, !15} !17 = distinct !{!17, !15}
FFmpeg_libavformat_extr_mp3dec.c_mp3_read_probe
; ModuleID = 'AnghaBench/linux/fs/extr_fcntl.c_rw_hint_valid.c' source_filename = "AnghaBench/linux/fs/extr_fcntl.c_rw_hint_valid.c" target datalayout = "e-m:e-p270:32:32-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 @rw_hint_valid], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @rw_hint_valid(i32 noundef %0) #0 { %2 = add i32 %0, -128 %3 = icmp ult i32 %2, 6 %4 = zext i1 %3 to i32 ret i32 %4 } 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/linux/fs/extr_fcntl.c_rw_hint_valid.c' source_filename = "AnghaBench/linux/fs/extr_fcntl.c_rw_hint_valid.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 @rw_hint_valid], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal range(i32 0, 2) i32 @rw_hint_valid(i32 noundef %0) #0 { %2 = add i32 %0, -128 %3 = icmp ult i32 %2, 6 %4 = zext i1 %3 to i32 ret i32 %4 } 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)"}
linux_fs_extr_fcntl.c_rw_hint_valid
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/angel64/extr_matrix.c_matrix_is_on.c' source_filename = "AnghaBench/qmk_firmware/keyboards/angel64/extr_matrix.c_matrix_is_on.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @matrix = dso_local local_unnamed_addr global ptr null, align 8 !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/angel64/extr_matrix.c_matrix_is_on.c' source_filename = "AnghaBench/qmk_firmware/keyboards/angel64/extr_matrix.c_matrix_is_on.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @matrix = common local_unnamed_addr global ptr null, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
qmk_firmware_keyboards_angel64_extr_matrix.c_matrix_is_on
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_w83781d.c_w83781d_detect.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_w83781d.c_w83781d_detect.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.i2c_client = type { i32, ptr } @I2C_FUNC_SMBUS_BYTE_DATA = dso_local local_unnamed_addr global i32 0, align 4 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @W83781D_REG_CONFIG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [44 x i8] c"Detection of w83781d chip failed at step 3\0A\00", align 1 @W83781D_REG_BANK = dso_local local_unnamed_addr global i32 0, align 4 @W83781D_REG_CHIPMAN = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [44 x i8] c"Detection of w83781d chip failed at step 4\0A\00", align 1 @W83781D_REG_I2C_ADDR = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [44 x i8] c"Detection of w83781d chip failed at step 5\0A\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c"w83781d chip vendor is neither Winbond nor Asus\0A\00", align 1 @W83781D_REG_WCHIPID = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [8 x i8] c"w83781d\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"w83782d\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"w83783s\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"as99127f\00", align 1 @.str.8 = private unnamed_addr constant [55 x i8] c"Device at 0x%02x appears to be the same as ISA device\0A\00", align 1 @I2C_NAME_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @w83781d_detect], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @w83781d_detect(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr (...) @w83781d_data_if_isa() #2 %4 = getelementptr inbounds %struct.i2c_client, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load i32, ptr %0, align 8, !tbaa !11 %7 = load i32, ptr @I2C_FUNC_SMBUS_BYTE_DATA, align 4, !tbaa !12 %8 = tail call i32 @i2c_check_functionality(ptr noundef %5, i32 noundef %7) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i32, ptr @ENODEV, align 4, !tbaa !12 %12 = sub nsw i32 0, %11 br label %102 13: ; preds = %2 %14 = icmp eq ptr %3, null br i1 %14, label %17, label %15 15: ; preds = %13 %16 = tail call i32 @mutex_lock(ptr noundef nonnull %3) #2 br label %17 17: ; preds = %15, %13 %18 = load i32, ptr @W83781D_REG_CONFIG, align 4, !tbaa !12 %19 = tail call i32 @i2c_smbus_read_byte_data(ptr noundef nonnull %0, i32 noundef %18) #2 %20 = and i32 %19, 128 %21 = icmp eq i32 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %17 %23 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %5, ptr noundef nonnull @.str) #2 br label %96 24: ; preds = %17 %25 = load i32, ptr @W83781D_REG_BANK, align 4, !tbaa !12 %26 = tail call i32 @i2c_smbus_read_byte_data(ptr noundef nonnull %0, i32 noundef %25) #2 %27 = freeze i32 %26 %28 = load i32, ptr @W83781D_REG_CHIPMAN, align 4, !tbaa !12 %29 = tail call i32 @i2c_smbus_read_byte_data(ptr noundef nonnull %0, i32 noundef %28) #2 %30 = and i32 %27, 7 %31 = icmp eq i32 %30, 0 %32 = and i32 %27, 128 br i1 %31, label %33, label %39 33: ; preds = %24 %34 = icmp eq i32 %32, 0 br i1 %34, label %35, label %36 35: ; preds = %33 switch i32 %29, label %37 [ i32 195, label %39 i32 163, label %39 ] 36: ; preds = %33 switch i32 %29, label %37 [ i32 92, label %44 i32 18, label %44 ] 37: ; preds = %36, %35 %38 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %5, ptr noundef nonnull @.str.1) #2 br label %96 39: ; preds = %24, %35, %35 %40 = phi i32 [ 0, %35 ], [ 0, %35 ], [ %32, %24 ] %41 = icmp eq i32 %40, 0 %42 = icmp eq i32 %29, 163 %43 = select i1 %41, i1 %42, i1 false br i1 %43, label %49, label %44 44: ; preds = %36, %36, %39 %45 = phi i32 [ %40, %39 ], [ 1, %36 ], [ 1, %36 ] %46 = icmp ne i32 %45, 0 %47 = icmp eq i32 %29, 92 %48 = select i1 %46, i1 %47, i1 false br i1 %48, label %49, label %55 49: ; preds = %44, %39 %50 = load i32, ptr @W83781D_REG_I2C_ADDR, align 4, !tbaa !12 %51 = tail call i32 @i2c_smbus_read_byte_data(ptr noundef nonnull %0, i32 noundef %50) #2 %52 = icmp eq i32 %51, %6 br i1 %52, label %55, label %53 53: ; preds = %49 %54 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %5, ptr noundef nonnull @.str.2) #2 br label %96 55: ; preds = %49, %44 %56 = load i32, ptr @W83781D_REG_BANK, align 4, !tbaa !12 %57 = tail call i32 @i2c_smbus_read_byte_data(ptr noundef nonnull %0, i32 noundef %56) #2 %58 = and i32 %57, 120 %59 = or disjoint i32 %58, 128 %60 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef nonnull %0, i32 noundef %56, i32 noundef %59) #2 %61 = load i32, ptr @W83781D_REG_CHIPMAN, align 4, !tbaa !12 %62 = tail call i32 @i2c_smbus_read_byte_data(ptr noundef nonnull %0, i32 noundef %61) #2 %63 = icmp eq i32 %62, 92 switch i32 %62, label %64 [ i32 92, label %66 i32 18, label %66 ] 64: ; preds = %55 %65 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %5, ptr noundef nonnull @.str.3) #2 br label %96 66: ; preds = %55, %55 %67 = load i32, ptr @W83781D_REG_WCHIPID, align 4, !tbaa !12 %68 = tail call i32 @i2c_smbus_read_byte_data(ptr noundef nonnull %0, i32 noundef %67) #2 %69 = and i32 %68, -2 %70 = icmp eq i32 %69, 16 %71 = and i1 %63, %70 br i1 %71, label %82, label %72 72: ; preds = %66 %73 = icmp eq i32 %68, 48 %74 = and i1 %63, %73 br i1 %74, label %82, label %75 75: ; preds = %72 %76 = icmp eq i32 %68, 64 %77 = and i1 %63, %76 %78 = icmp eq i32 %6, 45 %79 = select i1 %77, i1 %78, i1 false br i1 %79, label %88, label %80 80: ; preds = %75 %81 = icmp eq i32 %68, 49 br i1 %81, label %88, label %96 82: ; preds = %72, %66 %83 = phi ptr [ @.str.5, %72 ], [ @.str.4, %66 ] %84 = tail call i64 @w83781d_alias_detect(ptr noundef nonnull %0, i32 noundef %68) #2 %85 = icmp eq i64 %84, 0 br i1 %85, label %88, label %86 86: ; preds = %82 %87 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %5, ptr noundef nonnull @.str.8, i32 noundef %6) #2 br label %96 88: ; preds = %75, %80, %82 %89 = phi ptr [ %83, %82 ], [ @.str.6, %75 ], [ @.str.7, %80 ] br i1 %14, label %92, label %90 90: ; preds = %88 %91 = tail call i32 @mutex_unlock(ptr noundef nonnull %3) #2 br label %92 92: ; preds = %90, %88 %93 = load i32, ptr %1, align 4, !tbaa !13 %94 = load i32, ptr @I2C_NAME_SIZE, align 4, !tbaa !12 %95 = tail call i32 @strlcpy(i32 noundef %93, ptr noundef nonnull %89, i32 noundef %94) #2 br label %102 96: ; preds = %80, %86, %64, %53, %37, %22 br i1 %14, label %99, label %97 97: ; preds = %96 %98 = tail call i32 @mutex_unlock(ptr noundef nonnull %3) #2 br label %99 99: ; preds = %97, %96 %100 = load i32, ptr @ENODEV, align 4, !tbaa !12 %101 = sub nsw i32 0, %100 br label %102 102: ; preds = %99, %92, %10 %103 = phi i32 [ %101, %99 ], [ 0, %92 ], [ %12, %10 ] ret i32 %103 } declare ptr @w83781d_data_if_isa(...) local_unnamed_addr #1 declare i32 @i2c_check_functionality(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @i2c_smbus_read_byte_data(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @i2c_smbus_write_byte_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @w83781d_alias_detect(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @strlcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"i2c_client", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"i2c_board_info", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_w83781d.c_w83781d_detect.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_w83781d.c_w83781d_detect.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @I2C_FUNC_SMBUS_BYTE_DATA = common local_unnamed_addr global i32 0, align 4 @ENODEV = common local_unnamed_addr global i32 0, align 4 @W83781D_REG_CONFIG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [44 x i8] c"Detection of w83781d chip failed at step 3\0A\00", align 1 @W83781D_REG_BANK = common local_unnamed_addr global i32 0, align 4 @W83781D_REG_CHIPMAN = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [44 x i8] c"Detection of w83781d chip failed at step 4\0A\00", align 1 @W83781D_REG_I2C_ADDR = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [44 x i8] c"Detection of w83781d chip failed at step 5\0A\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c"w83781d chip vendor is neither Winbond nor Asus\0A\00", align 1 @W83781D_REG_WCHIPID = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [8 x i8] c"w83781d\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"w83782d\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"w83783s\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"as99127f\00", align 1 @.str.8 = private unnamed_addr constant [55 x i8] c"Device at 0x%02x appears to be the same as ISA device\0A\00", align 1 @I2C_NAME_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @w83781d_detect], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @w83781d_detect(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @w83781d_data_if_isa() #2 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load i32, ptr %0, align 8, !tbaa !12 %7 = load i32, ptr @I2C_FUNC_SMBUS_BYTE_DATA, align 4, !tbaa !13 %8 = tail call i32 @i2c_check_functionality(ptr noundef %5, i32 noundef %7) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i32, ptr @ENODEV, align 4, !tbaa !13 %12 = sub nsw i32 0, %11 br label %102 13: ; preds = %2 %14 = icmp eq ptr %3, null br i1 %14, label %17, label %15 15: ; preds = %13 %16 = tail call i32 @mutex_lock(ptr noundef nonnull %3) #2 br label %17 17: ; preds = %15, %13 %18 = load i32, ptr @W83781D_REG_CONFIG, align 4, !tbaa !13 %19 = tail call i32 @i2c_smbus_read_byte_data(ptr noundef nonnull %0, i32 noundef %18) #2 %20 = and i32 %19, 128 %21 = icmp eq i32 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %17 %23 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %5, ptr noundef nonnull @.str) #2 br label %96 24: ; preds = %17 %25 = load i32, ptr @W83781D_REG_BANK, align 4, !tbaa !13 %26 = tail call i32 @i2c_smbus_read_byte_data(ptr noundef nonnull %0, i32 noundef %25) #2 %27 = freeze i32 %26 %28 = load i32, ptr @W83781D_REG_CHIPMAN, align 4, !tbaa !13 %29 = tail call i32 @i2c_smbus_read_byte_data(ptr noundef nonnull %0, i32 noundef %28) #2 %30 = and i32 %27, 7 %31 = icmp eq i32 %30, 0 %32 = and i32 %27, 128 br i1 %31, label %33, label %39 33: ; preds = %24 %34 = icmp eq i32 %32, 0 br i1 %34, label %35, label %36 35: ; preds = %33 switch i32 %29, label %37 [ i32 195, label %39 i32 163, label %39 ] 36: ; preds = %33 switch i32 %29, label %37 [ i32 92, label %44 i32 18, label %44 ] 37: ; preds = %36, %35 %38 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %5, ptr noundef nonnull @.str.1) #2 br label %96 39: ; preds = %24, %35, %35 %40 = phi i32 [ 0, %35 ], [ 0, %35 ], [ %32, %24 ] %41 = icmp eq i32 %40, 0 %42 = icmp eq i32 %29, 163 %43 = select i1 %41, i1 %42, i1 false br i1 %43, label %49, label %44 44: ; preds = %36, %36, %39 %45 = phi i32 [ %40, %39 ], [ 1, %36 ], [ 1, %36 ] %46 = icmp ne i32 %45, 0 %47 = icmp eq i32 %29, 92 %48 = select i1 %46, i1 %47, i1 false br i1 %48, label %49, label %55 49: ; preds = %44, %39 %50 = load i32, ptr @W83781D_REG_I2C_ADDR, align 4, !tbaa !13 %51 = tail call i32 @i2c_smbus_read_byte_data(ptr noundef nonnull %0, i32 noundef %50) #2 %52 = icmp eq i32 %51, %6 br i1 %52, label %55, label %53 53: ; preds = %49 %54 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %5, ptr noundef nonnull @.str.2) #2 br label %96 55: ; preds = %49, %44 %56 = load i32, ptr @W83781D_REG_BANK, align 4, !tbaa !13 %57 = tail call i32 @i2c_smbus_read_byte_data(ptr noundef nonnull %0, i32 noundef %56) #2 %58 = and i32 %57, 120 %59 = or disjoint i32 %58, 128 %60 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef nonnull %0, i32 noundef %56, i32 noundef %59) #2 %61 = load i32, ptr @W83781D_REG_CHIPMAN, align 4, !tbaa !13 %62 = tail call i32 @i2c_smbus_read_byte_data(ptr noundef nonnull %0, i32 noundef %61) #2 %63 = icmp eq i32 %62, 92 switch i32 %62, label %64 [ i32 92, label %66 i32 18, label %66 ] 64: ; preds = %55 %65 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %5, ptr noundef nonnull @.str.3) #2 br label %96 66: ; preds = %55, %55 %67 = load i32, ptr @W83781D_REG_WCHIPID, align 4, !tbaa !13 %68 = tail call i32 @i2c_smbus_read_byte_data(ptr noundef nonnull %0, i32 noundef %67) #2 %69 = and i32 %68, -2 %70 = icmp eq i32 %69, 16 %71 = and i1 %63, %70 br i1 %71, label %82, label %72 72: ; preds = %66 %73 = icmp eq i32 %68, 48 %74 = and i1 %63, %73 br i1 %74, label %82, label %75 75: ; preds = %72 %76 = icmp eq i32 %68, 64 %77 = and i1 %63, %76 %78 = icmp eq i32 %6, 45 %79 = select i1 %77, i1 %78, i1 false br i1 %79, label %88, label %80 80: ; preds = %75 %81 = icmp eq i32 %68, 49 br i1 %81, label %88, label %96 82: ; preds = %72, %66 %83 = phi ptr [ @.str.5, %72 ], [ @.str.4, %66 ] %84 = tail call i64 @w83781d_alias_detect(ptr noundef nonnull %0, i32 noundef %68) #2 %85 = icmp eq i64 %84, 0 br i1 %85, label %88, label %86 86: ; preds = %82 %87 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %5, ptr noundef nonnull @.str.8, i32 noundef %6) #2 br label %96 88: ; preds = %75, %80, %82 %89 = phi ptr [ %83, %82 ], [ @.str.6, %75 ], [ @.str.7, %80 ] br i1 %14, label %92, label %90 90: ; preds = %88 %91 = tail call i32 @mutex_unlock(ptr noundef nonnull %3) #2 br label %92 92: ; preds = %90, %88 %93 = load i32, ptr %1, align 4, !tbaa !14 %94 = load i32, ptr @I2C_NAME_SIZE, align 4, !tbaa !13 %95 = tail call i32 @strlcpy(i32 noundef %93, ptr noundef nonnull %89, i32 noundef %94) #2 br label %102 96: ; preds = %80, %86, %64, %53, %37, %22 br i1 %14, label %99, label %97 97: ; preds = %96 %98 = tail call i32 @mutex_unlock(ptr noundef nonnull %3) #2 br label %99 99: ; preds = %97, %96 %100 = load i32, ptr @ENODEV, align 4, !tbaa !13 %101 = sub nsw i32 0, %100 br label %102 102: ; preds = %99, %92, %10 %103 = phi i32 [ %101, %99 ], [ 0, %92 ], [ %12, %10 ] ret i32 %103 } declare ptr @w83781d_data_if_isa(...) local_unnamed_addr #1 declare i32 @i2c_check_functionality(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @i2c_smbus_read_byte_data(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @i2c_smbus_write_byte_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @w83781d_alias_detect(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @strlcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"i2c_client", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"i2c_board_info", !8, i64 0}
linux_drivers_hwmon_extr_w83781d.c_w83781d_detect
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_stv0910.c_read_status.c' source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_stv0910.c_read_status.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.dvb_frontend = type { %struct.dtv_frontend_properties, ptr } %struct.dtv_frontend_properties = type { %struct.TYPE_16__, %struct.TYPE_14__, %struct.TYPE_12__, %struct.TYPE_10__ } %struct.TYPE_16__ = type { ptr } %struct.TYPE_14__ = type { ptr } %struct.TYPE_12__ = type { ptr } %struct.TYPE_10__ = type { ptr } %struct.stv = type { i32, i32, i32, i32, i32, i32, i32, i64, i64, i32, i64, i32 } @RCVMODE_NONE = dso_local local_unnamed_addr global i32 0, align 4 @RSTV0910_P2_DMDSTATE = dso_local local_unnamed_addr global i64 0, align 8 @RSTV0910_P2_DSTATUS = dso_local local_unnamed_addr global i64 0, align 8 @RCVMODE_DVBS = dso_local local_unnamed_addr global i64 0, align 8 @RCVMODE_DVBS2 = dso_local local_unnamed_addr global i64 0, align 8 @FE_SCALE_NOT_AVAILABLE = dso_local local_unnamed_addr global ptr null, align 8 @FE_HAS_SIGNAL = dso_local local_unnamed_addr global i32 0, align 4 @FE_HAS_CARRIER = dso_local local_unnamed_addr global i32 0, align 4 @FE_HAS_VITERBI = dso_local local_unnamed_addr global i32 0, align 4 @FE_HAS_SYNC = dso_local local_unnamed_addr global i32 0, align 4 @jiffies = dso_local local_unnamed_addr global i32 0, align 4 @RSTV0910_P2_TSCFGH = dso_local local_unnamed_addr global i64 0, align 8 @RSTV0910_P2_PDELSTATUS1 = dso_local local_unnamed_addr global i64 0, align 8 @RSTV0910_P2_VSTATUSVIT = dso_local local_unnamed_addr global i64 0, align 8 @FE_HAS_LOCK = dso_local local_unnamed_addr global i32 0, align 4 @RSTV0910_P2_DEMOD = dso_local local_unnamed_addr global i64 0, align 8 @RSTV0910_P2_PDELCTRL2 = dso_local local_unnamed_addr global i64 0, align 8 @RSTV0910_P2_ERRCTRL1 = dso_local local_unnamed_addr global i64 0, align 8 @BER_SRC_S2 = dso_local local_unnamed_addr global i32 0, align 4 @BER_SRC_S = dso_local local_unnamed_addr global i32 0, align 4 @RSTV0910_P2_FBERCPT4 = dso_local local_unnamed_addr global i64 0, align 8 @RSTV0910_P2_ERRCTRL2 = dso_local local_unnamed_addr global i64 0, align 8 @RSTV0910_P2_DMDMODCOD = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @read_status], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @read_status(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = getelementptr inbounds %struct.dvb_frontend, ptr %0, i64 0, i32 1 %10 = load ptr, ptr %9, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 store i32 0, ptr %3, align 4, !tbaa !15 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 0, ptr %4, align 4, !tbaa !15 %11 = load i32, ptr @RCVMODE_NONE, align 4, !tbaa !15 store i32 0, ptr %1, align 4, !tbaa !15 %12 = load i64, ptr @RSTV0910_P2_DMDSTATE, align 8, !tbaa !17 %13 = getelementptr inbounds %struct.stv, ptr %10, i64 0, i32 7 %14 = load i64, ptr %13, align 8, !tbaa !19 %15 = add nsw i64 %14, %12 %16 = call i32 @read_reg(ptr noundef %10, i64 noundef %15, ptr noundef nonnull %3) #3 %17 = load i32, ptr %3, align 4, !tbaa !15 %18 = and i32 %17, 64 %19 = icmp eq i32 %18, 0 br i1 %19, label %36, label %20 20: ; preds = %2 %21 = load i64, ptr @RSTV0910_P2_DSTATUS, align 8, !tbaa !17 %22 = load i64, ptr %13, align 8, !tbaa !19 %23 = add nsw i64 %22, %21 %24 = call i32 @read_reg(ptr noundef nonnull %10, i64 noundef %23, ptr noundef nonnull %4) #3 %25 = load i32, ptr %4, align 4, !tbaa !15 %26 = and i32 %25, 8 %27 = icmp eq i32 %26, 0 br i1 %27, label %36, label %28 28: ; preds = %20 %29 = load i32, ptr %3, align 4, !tbaa !15 %30 = and i32 %29, 32 %31 = icmp eq i32 %30, 0 %32 = load i64, ptr @RCVMODE_DVBS, align 8 %33 = load i64, ptr @RCVMODE_DVBS2, align 8 %34 = select i1 %31, i64 %33, i64 %32 %35 = trunc i64 %34 to i32 br label %36 36: ; preds = %20, %28, %2 %37 = phi i32 [ %35, %28 ], [ %11, %20 ], [ %11, %2 ] %38 = load i32, ptr @RCVMODE_NONE, align 4, !tbaa !15 %39 = icmp eq i32 %37, %38 br i1 %39, label %40, label %51 40: ; preds = %36 %41 = call i32 @set_vth(ptr noundef nonnull %10) #3 %42 = load ptr, ptr @FE_SCALE_NOT_AVAILABLE, align 8, !tbaa !21 %43 = getelementptr inbounds %struct.dtv_frontend_properties, ptr %0, i64 0, i32 3 %44 = load ptr, ptr %43, align 8, !tbaa !22 store ptr %42, ptr %44, align 8, !tbaa !23 %45 = getelementptr inbounds %struct.dtv_frontend_properties, ptr %0, i64 0, i32 2 %46 = load ptr, ptr %45, align 8, !tbaa !25 store ptr %42, ptr %46, align 8, !tbaa !26 %47 = load ptr, ptr @FE_SCALE_NOT_AVAILABLE, align 8, !tbaa !21 %48 = getelementptr inbounds %struct.dtv_frontend_properties, ptr %0, i64 0, i32 1 %49 = load ptr, ptr %48, align 8, !tbaa !28 store ptr %47, ptr %49, align 8, !tbaa !29 %50 = load ptr, ptr %0, align 8, !tbaa !31 store ptr %47, ptr %50, align 8, !tbaa !32 br label %223 51: ; preds = %36 %52 = load i32, ptr @FE_HAS_SIGNAL, align 4, !tbaa !15 %53 = load i32, ptr @FE_HAS_CARRIER, align 4, !tbaa !15 %54 = or i32 %53, %52 %55 = load i32, ptr @FE_HAS_VITERBI, align 4, !tbaa !15 %56 = or i32 %54, %55 %57 = load i32, ptr @FE_HAS_SYNC, align 4, !tbaa !15 %58 = or i32 %56, %57 %59 = load i32, ptr %1, align 4, !tbaa !15 %60 = or i32 %58, %59 store i32 %60, ptr %1, align 4, !tbaa !15 %61 = load i32, ptr %10, align 8, !tbaa !34 %62 = load i32, ptr @RCVMODE_NONE, align 4, !tbaa !15 %63 = icmp eq i32 %61, %62 br i1 %63, label %64, label %88 64: ; preds = %51 store i32 %37, ptr %10, align 8, !tbaa !34 %65 = load i32, ptr @jiffies, align 4, !tbaa !15 %66 = getelementptr inbounds %struct.stv, ptr %10, i64 0, i32 11 store i32 %65, ptr %66, align 8, !tbaa !35 %67 = getelementptr inbounds %struct.stv, ptr %10, i64 0, i32 1 store i32 1, ptr %67, align 4, !tbaa !36 %68 = call i32 @get_signal_parameters(ptr noundef nonnull %10) #3 %69 = call i32 @tracking_optimization(ptr noundef nonnull %10) #3 %70 = load i64, ptr @RSTV0910_P2_TSCFGH, align 8, !tbaa !17 %71 = load i64, ptr %13, align 8, !tbaa !19 %72 = add nsw i64 %71, %70 %73 = getelementptr inbounds %struct.stv, ptr %10, i64 0, i32 2 %74 = load i32, ptr %73, align 8, !tbaa !37 %75 = call i32 @write_reg(ptr noundef nonnull %10, i64 noundef %72, i32 noundef %74) #3 %76 = call i32 @usleep_range(i32 noundef 3000, i32 noundef 4000) #3 %77 = load i64, ptr @RSTV0910_P2_TSCFGH, align 8, !tbaa !17 %78 = load i64, ptr %13, align 8, !tbaa !19 %79 = add nsw i64 %78, %77 %80 = load i32, ptr %73, align 8, !tbaa !37 %81 = or i32 %80, 1 %82 = call i32 @write_reg(ptr noundef nonnull %10, i64 noundef %79, i32 noundef %81) #3 %83 = load i64, ptr @RSTV0910_P2_TSCFGH, align 8, !tbaa !17 %84 = load i64, ptr %13, align 8, !tbaa !19 %85 = add nsw i64 %84, %83 %86 = load i32, ptr %73, align 8, !tbaa !37 %87 = call i32 @write_reg(ptr noundef nonnull %10, i64 noundef %85, i32 noundef %86) #3 br label %88 88: ; preds = %64, %51 %89 = load i32, ptr %3, align 4, !tbaa !15 %90 = and i32 %89, 64 %91 = icmp eq i32 %90, 0 br i1 %91, label %198, label %92 92: ; preds = %88 %93 = load i32, ptr %10, align 8, !tbaa !34 %94 = sext i32 %93 to i64 %95 = load i64, ptr @RCVMODE_DVBS2, align 8, !tbaa !17 %96 = icmp eq i64 %95, %94 br i1 %96, label %97, label %104 97: ; preds = %92 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %98 = load i64, ptr @RSTV0910_P2_PDELSTATUS1, align 8, !tbaa !17 %99 = load i64, ptr %13, align 8, !tbaa !19 %100 = add nsw i64 %99, %98 %101 = call i32 @read_reg(ptr noundef nonnull %10, i64 noundef %100, ptr noundef nonnull %5) #3 %102 = load i32, ptr %5, align 4, !tbaa !15 %103 = lshr i32 %102, 1 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 br label %111 104: ; preds = %92 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %105 = load i64, ptr @RSTV0910_P2_VSTATUSVIT, align 8, !tbaa !17 %106 = load i64, ptr %13, align 8, !tbaa !19 %107 = add nsw i64 %106, %105 %108 = call i32 @read_reg(ptr noundef nonnull %10, i64 noundef %107, ptr noundef nonnull %6) #3 %109 = load i32, ptr %6, align 4, !tbaa !15 %110 = lshr i32 %109, 3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 br label %111 111: ; preds = %97, %104 %112 = phi i32 [ %103, %97 ], [ %110, %104 ] %113 = and i32 %112, 1 %114 = icmp eq i32 %113, 0 br i1 %114, label %198, label %115 115: ; preds = %111 %116 = load i32, ptr @FE_HAS_LOCK, align 4, !tbaa !15 %117 = load i32, ptr %1, align 4, !tbaa !15 %118 = or i32 %117, %116 store i32 %118, ptr %1, align 4, !tbaa !15 %119 = getelementptr inbounds %struct.stv, ptr %10, i64 0, i32 1 %120 = load i32, ptr %119, align 4, !tbaa !36 %121 = icmp eq i32 %120, 0 br i1 %121, label %181, label %122 122: ; preds = %115 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 store i32 0, ptr %119, align 4, !tbaa !36 %123 = call i32 @manage_matype_info(ptr noundef nonnull %10) #3 %124 = load i32, ptr %10, align 8, !tbaa !34 %125 = sext i32 %124 to i64 %126 = load i64, ptr @RCVMODE_DVBS2, align 8, !tbaa !17 %127 = icmp eq i64 %126, %125 br i1 %127, label %128, label %152 128: ; preds = %122 %129 = getelementptr inbounds %struct.stv, ptr %10, i64 0, i32 3 %130 = load i32, ptr %129, align 4, !tbaa !38 %131 = and i32 %130, -133 store i32 %131, ptr %129, align 4, !tbaa !38 %132 = load i64, ptr @RSTV0910_P2_DEMOD, align 8, !tbaa !17 %133 = load i64, ptr %13, align 8, !tbaa !19 %134 = add nsw i64 %133, %132 %135 = call i32 @write_reg(ptr noundef nonnull %10, i64 noundef %134, i32 noundef %131) #3 %136 = load i64, ptr @RSTV0910_P2_PDELCTRL2, align 8, !tbaa !17 %137 = load i64, ptr %13, align 8, !tbaa !19 %138 = add nsw i64 %137, %136 %139 = call i32 @read_reg(ptr noundef nonnull %10, i64 noundef %138, ptr noundef nonnull %7) #3 %140 = load i32, ptr %7, align 4, !tbaa !15 %141 = or i32 %140, 64 store i32 %141, ptr %7, align 4, !tbaa !15 %142 = load i64, ptr @RSTV0910_P2_PDELCTRL2, align 8, !tbaa !17 %143 = load i64, ptr %13, align 8, !tbaa !19 %144 = add nsw i64 %143, %142 %145 = call i32 @write_reg(ptr noundef nonnull %10, i64 noundef %144, i32 noundef %141) #3 %146 = load i32, ptr %7, align 4, !tbaa !15 %147 = and i32 %146, -65 store i32 %147, ptr %7, align 4, !tbaa !15 %148 = load i64, ptr @RSTV0910_P2_PDELCTRL2, align 8, !tbaa !17 %149 = load i64, ptr %13, align 8, !tbaa !19 %150 = add nsw i64 %149, %148 %151 = call i32 @write_reg(ptr noundef nonnull %10, i64 noundef %150, i32 noundef %147) #3 br label %152 152: ; preds = %122, %128 %153 = phi ptr [ @BER_SRC_S2, %128 ], [ @BER_SRC_S, %122 ] %154 = getelementptr inbounds %struct.stv, ptr %10, i64 0, i32 4 store i32 2, ptr %154, align 8, !tbaa !39 %155 = getelementptr inbounds %struct.stv, ptr %10, i64 0, i32 10 store i64 0, ptr %155, align 8, !tbaa !40 %156 = getelementptr inbounds %struct.stv, ptr %10, i64 0, i32 5 store i32 1, ptr %156, align 4, !tbaa !41 %157 = load i64, ptr @RSTV0910_P2_ERRCTRL1, align 8, !tbaa !17 %158 = load i64, ptr %13, align 8, !tbaa !19 %159 = add nsw i64 %158, %157 %160 = load i32, ptr %153, align 4, !tbaa !15 %161 = or i32 %160, 2 %162 = call i32 @write_reg(ptr noundef nonnull %10, i64 noundef %159, i32 noundef %161) #3 %163 = load i64, ptr @RSTV0910_P2_FBERCPT4, align 8, !tbaa !17 %164 = load i64, ptr %13, align 8, !tbaa !19 %165 = add nsw i64 %164, %163 %166 = call i32 @write_reg(ptr noundef nonnull %10, i64 noundef %165, i32 noundef 0) #3 %167 = load i64, ptr @RSTV0910_P2_ERRCTRL2, align 8, !tbaa !17 %168 = load i64, ptr %13, align 8, !tbaa !19 %169 = add nsw i64 %168, %167 %170 = call i32 @write_reg(ptr noundef nonnull %10, i64 noundef %169, i32 noundef 193) #3 %171 = call i32 @set_vth_default(ptr noundef nonnull %10) #3 %172 = load i32, ptr %10, align 8, !tbaa !34 %173 = sext i32 %172 to i64 %174 = load i64, ptr @RCVMODE_DVBS, align 8, !tbaa !17 %175 = icmp eq i64 %174, %173 br i1 %175, label %176, label %180 176: ; preds = %152 %177 = getelementptr inbounds %struct.stv, ptr %10, i64 0, i32 9 %178 = load i32, ptr %177, align 8, !tbaa !42 %179 = call i32 @enable_puncture_rate(ptr noundef nonnull %10, i32 noundef %178) #3 br label %180 180: ; preds = %176, %152 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 br label %181 181: ; preds = %180, %115 %182 = getelementptr inbounds %struct.stv, ptr %10, i64 0, i32 8 %183 = load i64, ptr %182, align 8, !tbaa !43 %184 = icmp eq i64 %183, 0 br i1 %184, label %198, label %185 185: ; preds = %181 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 %186 = load i64, ptr @RSTV0910_P2_DMDMODCOD, align 8, !tbaa !17 %187 = load i64, ptr %13, align 8, !tbaa !19 %188 = add nsw i64 %187, %186 %189 = call i32 @read_reg(ptr noundef nonnull %10, i64 noundef %188, ptr noundef nonnull %8) #3 %190 = load i32, ptr %8, align 4, !tbaa !15 %191 = lshr i32 %190, 2 %192 = and i32 %191, 31 %193 = getelementptr inbounds %struct.stv, ptr %10, i64 0, i32 6 %194 = load i32, ptr %193, align 8, !tbaa !44 %195 = icmp ugt i32 %192, %194 br i1 %195, label %196, label %197 196: ; preds = %185 store i32 %192, ptr %193, align 8, !tbaa !44 br label %197 197: ; preds = %196, %185 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 br label %198 198: ; preds = %88, %181, %197, %111 %199 = call i32 @read_signal_strength(ptr noundef nonnull %0) #3 %200 = load i32, ptr %1, align 4, !tbaa !15 %201 = load i32, ptr @FE_HAS_CARRIER, align 4, !tbaa !15 %202 = and i32 %201, %200 %203 = icmp eq i32 %202, 0 br i1 %203, label %207, label %204 204: ; preds = %198 %205 = call i32 @read_snr(ptr noundef nonnull %0) #3 %206 = load i32, ptr %1, align 4, !tbaa !15 br label %211 207: ; preds = %198 %208 = load ptr, ptr @FE_SCALE_NOT_AVAILABLE, align 8, !tbaa !21 %209 = getelementptr inbounds %struct.dtv_frontend_properties, ptr %0, i64 0, i32 2 %210 = load ptr, ptr %209, align 8, !tbaa !25 store ptr %208, ptr %210, align 8, !tbaa !26 br label %211 211: ; preds = %207, %204 %212 = phi i32 [ %200, %207 ], [ %206, %204 ] %213 = load i32, ptr @FE_HAS_VITERBI, align 4, !tbaa !15 %214 = and i32 %213, %212 %215 = icmp eq i32 %214, 0 br i1 %215, label %218, label %216 216: ; preds = %211 %217 = call i32 @read_ber(ptr noundef nonnull %0) #3 br label %223 218: ; preds = %211 %219 = load ptr, ptr @FE_SCALE_NOT_AVAILABLE, align 8, !tbaa !21 %220 = getelementptr inbounds %struct.dtv_frontend_properties, ptr %0, i64 0, i32 1 %221 = load ptr, ptr %220, align 8, !tbaa !28 store ptr %219, ptr %221, align 8, !tbaa !29 %222 = load ptr, ptr %0, align 8, !tbaa !31 store ptr %219, ptr %222, align 8, !tbaa !32 br label %223 223: ; preds = %216, %218, %40 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret 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 @read_reg(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @set_vth(ptr noundef) local_unnamed_addr #2 declare i32 @get_signal_parameters(ptr noundef) local_unnamed_addr #2 declare i32 @tracking_optimization(ptr noundef) local_unnamed_addr #2 declare i32 @write_reg(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @manage_matype_info(ptr noundef) local_unnamed_addr #2 declare i32 @set_vth_default(ptr noundef) local_unnamed_addr #2 declare i32 @enable_puncture_rate(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @read_signal_strength(ptr noundef) local_unnamed_addr #2 declare i32 @read_snr(ptr noundef) local_unnamed_addr #2 declare i32 @read_ber(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, !9, i64 32} !6 = !{!"dvb_frontend", !7, i64 0, !9, i64 32} !7 = !{!"dtv_frontend_properties", !8, i64 0, !12, i64 8, !13, i64 16, !14, i64 24} !8 = !{!"TYPE_16__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"TYPE_14__", !9, i64 0} !13 = !{!"TYPE_12__", !9, i64 0} !14 = !{!"TYPE_10__", !9, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"int", !10, i64 0} !17 = !{!18, !18, i64 0} !18 = !{!"long", !10, i64 0} !19 = !{!20, !18, i64 32} !20 = !{!"stv", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !18, i64 32, !18, i64 40, !16, i64 48, !18, i64 56, !16, i64 64} !21 = !{!9, !9, i64 0} !22 = !{!7, !9, i64 24} !23 = !{!24, !9, i64 0} !24 = !{!"TYPE_9__", !9, i64 0} !25 = !{!7, !9, i64 16} !26 = !{!27, !9, i64 0} !27 = !{!"TYPE_11__", !9, i64 0} !28 = !{!7, !9, i64 8} !29 = !{!30, !9, i64 0} !30 = !{!"TYPE_13__", !9, i64 0} !31 = !{!7, !9, i64 0} !32 = !{!33, !9, i64 0} !33 = !{!"TYPE_15__", !9, i64 0} !34 = !{!20, !16, i64 0} !35 = !{!20, !16, i64 64} !36 = !{!20, !16, i64 4} !37 = !{!20, !16, i64 8} !38 = !{!20, !16, i64 12} !39 = !{!20, !16, i64 16} !40 = !{!20, !18, i64 56} !41 = !{!20, !16, i64 20} !42 = !{!20, !16, i64 48} !43 = !{!20, !18, i64 40} !44 = !{!20, !16, i64 24}
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_stv0910.c_read_status.c' source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_stv0910.c_read_status.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RCVMODE_NONE = common local_unnamed_addr global i32 0, align 4 @RSTV0910_P2_DMDSTATE = common local_unnamed_addr global i64 0, align 8 @RSTV0910_P2_DSTATUS = common local_unnamed_addr global i64 0, align 8 @RCVMODE_DVBS = common local_unnamed_addr global i64 0, align 8 @RCVMODE_DVBS2 = common local_unnamed_addr global i64 0, align 8 @FE_SCALE_NOT_AVAILABLE = common local_unnamed_addr global ptr null, align 8 @FE_HAS_SIGNAL = common local_unnamed_addr global i32 0, align 4 @FE_HAS_CARRIER = common local_unnamed_addr global i32 0, align 4 @FE_HAS_VITERBI = common local_unnamed_addr global i32 0, align 4 @FE_HAS_SYNC = common local_unnamed_addr global i32 0, align 4 @jiffies = common local_unnamed_addr global i32 0, align 4 @RSTV0910_P2_TSCFGH = common local_unnamed_addr global i64 0, align 8 @RSTV0910_P2_PDELSTATUS1 = common local_unnamed_addr global i64 0, align 8 @RSTV0910_P2_VSTATUSVIT = common local_unnamed_addr global i64 0, align 8 @FE_HAS_LOCK = common local_unnamed_addr global i32 0, align 4 @RSTV0910_P2_DEMOD = common local_unnamed_addr global i64 0, align 8 @RSTV0910_P2_PDELCTRL2 = common local_unnamed_addr global i64 0, align 8 @RSTV0910_P2_ERRCTRL1 = common local_unnamed_addr global i64 0, align 8 @BER_SRC_S2 = common local_unnamed_addr global i32 0, align 4 @BER_SRC_S = common local_unnamed_addr global i32 0, align 4 @RSTV0910_P2_FBERCPT4 = common local_unnamed_addr global i64 0, align 8 @RSTV0910_P2_ERRCTRL2 = common local_unnamed_addr global i64 0, align 8 @RSTV0910_P2_DMDMODCOD = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @read_status], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @read_status(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = getelementptr inbounds i8, ptr %0, i64 32 %10 = load ptr, ptr %9, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 store i32 0, ptr %3, align 4, !tbaa !16 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 0, ptr %4, align 4, !tbaa !16 %11 = load i32, ptr @RCVMODE_NONE, align 4, !tbaa !16 store i32 0, ptr %1, align 4, !tbaa !16 %12 = load i64, ptr @RSTV0910_P2_DMDSTATE, align 8, !tbaa !18 %13 = getelementptr inbounds i8, ptr %10, i64 32 %14 = load i64, ptr %13, align 8, !tbaa !20 %15 = add nsw i64 %14, %12 %16 = call i32 @read_reg(ptr noundef %10, i64 noundef %15, ptr noundef nonnull %3) #3 %17 = load i32, ptr %3, align 4, !tbaa !16 %18 = and i32 %17, 64 %19 = icmp eq i32 %18, 0 br i1 %19, label %36, label %20 20: ; preds = %2 %21 = load i64, ptr @RSTV0910_P2_DSTATUS, align 8, !tbaa !18 %22 = load i64, ptr %13, align 8, !tbaa !20 %23 = add nsw i64 %22, %21 %24 = call i32 @read_reg(ptr noundef nonnull %10, i64 noundef %23, ptr noundef nonnull %4) #3 %25 = load i32, ptr %4, align 4, !tbaa !16 %26 = and i32 %25, 8 %27 = icmp eq i32 %26, 0 br i1 %27, label %36, label %28 28: ; preds = %20 %29 = load i32, ptr %3, align 4, !tbaa !16 %30 = and i32 %29, 32 %31 = icmp eq i32 %30, 0 %32 = load i64, ptr @RCVMODE_DVBS, align 8 %33 = load i64, ptr @RCVMODE_DVBS2, align 8 %34 = select i1 %31, i64 %33, i64 %32 %35 = trunc i64 %34 to i32 br label %36 36: ; preds = %20, %28, %2 %37 = phi i32 [ %35, %28 ], [ %11, %20 ], [ %11, %2 ] %38 = load i32, ptr @RCVMODE_NONE, align 4, !tbaa !16 %39 = icmp eq i32 %37, %38 br i1 %39, label %40, label %51 40: ; preds = %36 %41 = call i32 @set_vth(ptr noundef nonnull %10) #3 %42 = load ptr, ptr @FE_SCALE_NOT_AVAILABLE, align 8, !tbaa !22 %43 = getelementptr inbounds i8, ptr %0, i64 24 %44 = load ptr, ptr %43, align 8, !tbaa !23 store ptr %42, ptr %44, align 8, !tbaa !24 %45 = getelementptr inbounds i8, ptr %0, i64 16 %46 = load ptr, ptr %45, align 8, !tbaa !26 store ptr %42, ptr %46, align 8, !tbaa !27 %47 = load ptr, ptr @FE_SCALE_NOT_AVAILABLE, align 8, !tbaa !22 %48 = getelementptr inbounds i8, ptr %0, i64 8 %49 = load ptr, ptr %48, align 8, !tbaa !29 store ptr %47, ptr %49, align 8, !tbaa !30 %50 = load ptr, ptr %0, align 8, !tbaa !32 store ptr %47, ptr %50, align 8, !tbaa !33 br label %223 51: ; preds = %36 %52 = load i32, ptr @FE_HAS_SIGNAL, align 4, !tbaa !16 %53 = load i32, ptr @FE_HAS_CARRIER, align 4, !tbaa !16 %54 = or i32 %53, %52 %55 = load i32, ptr @FE_HAS_VITERBI, align 4, !tbaa !16 %56 = or i32 %54, %55 %57 = load i32, ptr @FE_HAS_SYNC, align 4, !tbaa !16 %58 = or i32 %56, %57 %59 = load i32, ptr %1, align 4, !tbaa !16 %60 = or i32 %58, %59 store i32 %60, ptr %1, align 4, !tbaa !16 %61 = load i32, ptr %10, align 8, !tbaa !35 %62 = load i32, ptr @RCVMODE_NONE, align 4, !tbaa !16 %63 = icmp eq i32 %61, %62 br i1 %63, label %64, label %88 64: ; preds = %51 store i32 %37, ptr %10, align 8, !tbaa !35 %65 = load i32, ptr @jiffies, align 4, !tbaa !16 %66 = getelementptr inbounds i8, ptr %10, i64 64 store i32 %65, ptr %66, align 8, !tbaa !36 %67 = getelementptr inbounds i8, ptr %10, i64 4 store i32 1, ptr %67, align 4, !tbaa !37 %68 = call i32 @get_signal_parameters(ptr noundef nonnull %10) #3 %69 = call i32 @tracking_optimization(ptr noundef nonnull %10) #3 %70 = load i64, ptr @RSTV0910_P2_TSCFGH, align 8, !tbaa !18 %71 = load i64, ptr %13, align 8, !tbaa !20 %72 = add nsw i64 %71, %70 %73 = getelementptr inbounds i8, ptr %10, i64 8 %74 = load i32, ptr %73, align 8, !tbaa !38 %75 = call i32 @write_reg(ptr noundef nonnull %10, i64 noundef %72, i32 noundef %74) #3 %76 = call i32 @usleep_range(i32 noundef 3000, i32 noundef 4000) #3 %77 = load i64, ptr @RSTV0910_P2_TSCFGH, align 8, !tbaa !18 %78 = load i64, ptr %13, align 8, !tbaa !20 %79 = add nsw i64 %78, %77 %80 = load i32, ptr %73, align 8, !tbaa !38 %81 = or i32 %80, 1 %82 = call i32 @write_reg(ptr noundef nonnull %10, i64 noundef %79, i32 noundef %81) #3 %83 = load i64, ptr @RSTV0910_P2_TSCFGH, align 8, !tbaa !18 %84 = load i64, ptr %13, align 8, !tbaa !20 %85 = add nsw i64 %84, %83 %86 = load i32, ptr %73, align 8, !tbaa !38 %87 = call i32 @write_reg(ptr noundef nonnull %10, i64 noundef %85, i32 noundef %86) #3 br label %88 88: ; preds = %64, %51 %89 = load i32, ptr %3, align 4, !tbaa !16 %90 = and i32 %89, 64 %91 = icmp eq i32 %90, 0 br i1 %91, label %198, label %92 92: ; preds = %88 %93 = load i32, ptr %10, align 8, !tbaa !35 %94 = sext i32 %93 to i64 %95 = load i64, ptr @RCVMODE_DVBS2, align 8, !tbaa !18 %96 = icmp eq i64 %95, %94 br i1 %96, label %97, label %104 97: ; preds = %92 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %98 = load i64, ptr @RSTV0910_P2_PDELSTATUS1, align 8, !tbaa !18 %99 = load i64, ptr %13, align 8, !tbaa !20 %100 = add nsw i64 %99, %98 %101 = call i32 @read_reg(ptr noundef nonnull %10, i64 noundef %100, ptr noundef nonnull %5) #3 %102 = load i32, ptr %5, align 4, !tbaa !16 %103 = lshr i32 %102, 1 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 br label %111 104: ; preds = %92 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %105 = load i64, ptr @RSTV0910_P2_VSTATUSVIT, align 8, !tbaa !18 %106 = load i64, ptr %13, align 8, !tbaa !20 %107 = add nsw i64 %106, %105 %108 = call i32 @read_reg(ptr noundef nonnull %10, i64 noundef %107, ptr noundef nonnull %6) #3 %109 = load i32, ptr %6, align 4, !tbaa !16 %110 = lshr i32 %109, 3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 br label %111 111: ; preds = %97, %104 %112 = phi i32 [ %103, %97 ], [ %110, %104 ] %113 = and i32 %112, 1 %114 = icmp eq i32 %113, 0 br i1 %114, label %198, label %115 115: ; preds = %111 %116 = load i32, ptr @FE_HAS_LOCK, align 4, !tbaa !16 %117 = load i32, ptr %1, align 4, !tbaa !16 %118 = or i32 %117, %116 store i32 %118, ptr %1, align 4, !tbaa !16 %119 = getelementptr inbounds i8, ptr %10, i64 4 %120 = load i32, ptr %119, align 4, !tbaa !37 %121 = icmp eq i32 %120, 0 br i1 %121, label %181, label %122 122: ; preds = %115 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 store i32 0, ptr %119, align 4, !tbaa !37 %123 = call i32 @manage_matype_info(ptr noundef nonnull %10) #3 %124 = load i32, ptr %10, align 8, !tbaa !35 %125 = sext i32 %124 to i64 %126 = load i64, ptr @RCVMODE_DVBS2, align 8, !tbaa !18 %127 = icmp eq i64 %126, %125 br i1 %127, label %128, label %152 128: ; preds = %122 %129 = getelementptr inbounds i8, ptr %10, i64 12 %130 = load i32, ptr %129, align 4, !tbaa !39 %131 = and i32 %130, -133 store i32 %131, ptr %129, align 4, !tbaa !39 %132 = load i64, ptr @RSTV0910_P2_DEMOD, align 8, !tbaa !18 %133 = load i64, ptr %13, align 8, !tbaa !20 %134 = add nsw i64 %133, %132 %135 = call i32 @write_reg(ptr noundef nonnull %10, i64 noundef %134, i32 noundef %131) #3 %136 = load i64, ptr @RSTV0910_P2_PDELCTRL2, align 8, !tbaa !18 %137 = load i64, ptr %13, align 8, !tbaa !20 %138 = add nsw i64 %137, %136 %139 = call i32 @read_reg(ptr noundef nonnull %10, i64 noundef %138, ptr noundef nonnull %7) #3 %140 = load i32, ptr %7, align 4, !tbaa !16 %141 = or i32 %140, 64 store i32 %141, ptr %7, align 4, !tbaa !16 %142 = load i64, ptr @RSTV0910_P2_PDELCTRL2, align 8, !tbaa !18 %143 = load i64, ptr %13, align 8, !tbaa !20 %144 = add nsw i64 %143, %142 %145 = call i32 @write_reg(ptr noundef nonnull %10, i64 noundef %144, i32 noundef %141) #3 %146 = load i32, ptr %7, align 4, !tbaa !16 %147 = and i32 %146, -65 store i32 %147, ptr %7, align 4, !tbaa !16 %148 = load i64, ptr @RSTV0910_P2_PDELCTRL2, align 8, !tbaa !18 %149 = load i64, ptr %13, align 8, !tbaa !20 %150 = add nsw i64 %149, %148 %151 = call i32 @write_reg(ptr noundef nonnull %10, i64 noundef %150, i32 noundef %147) #3 br label %152 152: ; preds = %122, %128 %153 = phi ptr [ @BER_SRC_S2, %128 ], [ @BER_SRC_S, %122 ] %154 = getelementptr inbounds i8, ptr %10, i64 16 store i32 2, ptr %154, align 8, !tbaa !40 %155 = getelementptr inbounds i8, ptr %10, i64 56 store i64 0, ptr %155, align 8, !tbaa !41 %156 = getelementptr inbounds i8, ptr %10, i64 20 store i32 1, ptr %156, align 4, !tbaa !42 %157 = load i64, ptr @RSTV0910_P2_ERRCTRL1, align 8, !tbaa !18 %158 = load i64, ptr %13, align 8, !tbaa !20 %159 = add nsw i64 %158, %157 %160 = load i32, ptr %153, align 4, !tbaa !16 %161 = or i32 %160, 2 %162 = call i32 @write_reg(ptr noundef nonnull %10, i64 noundef %159, i32 noundef %161) #3 %163 = load i64, ptr @RSTV0910_P2_FBERCPT4, align 8, !tbaa !18 %164 = load i64, ptr %13, align 8, !tbaa !20 %165 = add nsw i64 %164, %163 %166 = call i32 @write_reg(ptr noundef nonnull %10, i64 noundef %165, i32 noundef 0) #3 %167 = load i64, ptr @RSTV0910_P2_ERRCTRL2, align 8, !tbaa !18 %168 = load i64, ptr %13, align 8, !tbaa !20 %169 = add nsw i64 %168, %167 %170 = call i32 @write_reg(ptr noundef nonnull %10, i64 noundef %169, i32 noundef 193) #3 %171 = call i32 @set_vth_default(ptr noundef nonnull %10) #3 %172 = load i32, ptr %10, align 8, !tbaa !35 %173 = sext i32 %172 to i64 %174 = load i64, ptr @RCVMODE_DVBS, align 8, !tbaa !18 %175 = icmp eq i64 %174, %173 br i1 %175, label %176, label %180 176: ; preds = %152 %177 = getelementptr inbounds i8, ptr %10, i64 48 %178 = load i32, ptr %177, align 8, !tbaa !43 %179 = call i32 @enable_puncture_rate(ptr noundef nonnull %10, i32 noundef %178) #3 br label %180 180: ; preds = %176, %152 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 br label %181 181: ; preds = %180, %115 %182 = getelementptr inbounds i8, ptr %10, i64 40 %183 = load i64, ptr %182, align 8, !tbaa !44 %184 = icmp eq i64 %183, 0 br i1 %184, label %198, label %185 185: ; preds = %181 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 %186 = load i64, ptr @RSTV0910_P2_DMDMODCOD, align 8, !tbaa !18 %187 = load i64, ptr %13, align 8, !tbaa !20 %188 = add nsw i64 %187, %186 %189 = call i32 @read_reg(ptr noundef nonnull %10, i64 noundef %188, ptr noundef nonnull %8) #3 %190 = load i32, ptr %8, align 4, !tbaa !16 %191 = lshr i32 %190, 2 %192 = and i32 %191, 31 %193 = getelementptr inbounds i8, ptr %10, i64 24 %194 = load i32, ptr %193, align 8, !tbaa !45 %195 = icmp ugt i32 %192, %194 br i1 %195, label %196, label %197 196: ; preds = %185 store i32 %192, ptr %193, align 8, !tbaa !45 br label %197 197: ; preds = %196, %185 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 br label %198 198: ; preds = %88, %181, %197, %111 %199 = call i32 @read_signal_strength(ptr noundef nonnull %0) #3 %200 = load i32, ptr %1, align 4, !tbaa !16 %201 = load i32, ptr @FE_HAS_CARRIER, align 4, !tbaa !16 %202 = and i32 %201, %200 %203 = icmp eq i32 %202, 0 br i1 %203, label %207, label %204 204: ; preds = %198 %205 = call i32 @read_snr(ptr noundef nonnull %0) #3 %206 = load i32, ptr %1, align 4, !tbaa !16 br label %211 207: ; preds = %198 %208 = load ptr, ptr @FE_SCALE_NOT_AVAILABLE, align 8, !tbaa !22 %209 = getelementptr inbounds i8, ptr %0, i64 16 %210 = load ptr, ptr %209, align 8, !tbaa !26 store ptr %208, ptr %210, align 8, !tbaa !27 br label %211 211: ; preds = %207, %204 %212 = phi i32 [ %200, %207 ], [ %206, %204 ] %213 = load i32, ptr @FE_HAS_VITERBI, align 4, !tbaa !16 %214 = and i32 %213, %212 %215 = icmp eq i32 %214, 0 br i1 %215, label %218, label %216 216: ; preds = %211 %217 = call i32 @read_ber(ptr noundef nonnull %0) #3 br label %223 218: ; preds = %211 %219 = load ptr, ptr @FE_SCALE_NOT_AVAILABLE, align 8, !tbaa !22 %220 = getelementptr inbounds i8, ptr %0, i64 8 %221 = load ptr, ptr %220, align 8, !tbaa !29 store ptr %219, ptr %221, align 8, !tbaa !30 %222 = load ptr, ptr %0, align 8, !tbaa !32 store ptr %219, ptr %222, align 8, !tbaa !33 br label %223 223: ; preds = %216, %218, %40 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret 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 @read_reg(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @set_vth(ptr noundef) local_unnamed_addr #2 declare i32 @get_signal_parameters(ptr noundef) local_unnamed_addr #2 declare i32 @tracking_optimization(ptr noundef) local_unnamed_addr #2 declare i32 @write_reg(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @manage_matype_info(ptr noundef) local_unnamed_addr #2 declare i32 @set_vth_default(ptr noundef) local_unnamed_addr #2 declare i32 @enable_puncture_rate(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @read_signal_strength(ptr noundef) local_unnamed_addr #2 declare i32 @read_snr(ptr noundef) local_unnamed_addr #2 declare i32 @read_ber(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, !10, i64 32} !7 = !{!"dvb_frontend", !8, i64 0, !10, i64 32} !8 = !{!"dtv_frontend_properties", !9, i64 0, !13, i64 8, !14, i64 16, !15, i64 24} !9 = !{!"TYPE_16__", !10, i64 0} !10 = !{!"any pointer", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!"TYPE_14__", !10, i64 0} !14 = !{!"TYPE_12__", !10, i64 0} !15 = !{!"TYPE_10__", !10, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"int", !11, i64 0} !18 = !{!19, !19, i64 0} !19 = !{!"long", !11, i64 0} !20 = !{!21, !19, i64 32} !21 = !{!"stv", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12, !17, i64 16, !17, i64 20, !17, i64 24, !19, i64 32, !19, i64 40, !17, i64 48, !19, i64 56, !17, i64 64} !22 = !{!10, !10, i64 0} !23 = !{!8, !10, i64 24} !24 = !{!25, !10, i64 0} !25 = !{!"TYPE_9__", !10, i64 0} !26 = !{!8, !10, i64 16} !27 = !{!28, !10, i64 0} !28 = !{!"TYPE_11__", !10, i64 0} !29 = !{!8, !10, i64 8} !30 = !{!31, !10, i64 0} !31 = !{!"TYPE_13__", !10, i64 0} !32 = !{!8, !10, i64 0} !33 = !{!34, !10, i64 0} !34 = !{!"TYPE_15__", !10, i64 0} !35 = !{!21, !17, i64 0} !36 = !{!21, !17, i64 64} !37 = !{!21, !17, i64 4} !38 = !{!21, !17, i64 8} !39 = !{!21, !17, i64 12} !40 = !{!21, !17, i64 16} !41 = !{!21, !19, i64 56} !42 = !{!21, !17, i64 20} !43 = !{!21, !17, i64 48} !44 = !{!21, !19, i64 40} !45 = !{!21, !17, i64 24}
linux_drivers_media_dvb-frontends_extr_stv0910.c_read_status
; ModuleID = 'AnghaBench/mpv/audio/out/extr_ao_sndio.c_audio_resume.c' source_filename = "AnghaBench/mpv/audio/out/extr_ao_sndio.c_audio_resume.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @audio_resume], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @audio_resume(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/mpv/audio/out/extr_ao_sndio.c_audio_resume.c' source_filename = "AnghaBench/mpv/audio/out/extr_ao_sndio.c_audio_resume.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @audio_resume], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @audio_resume(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
mpv_audio_out_extr_ao_sndio.c_audio_resume
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_hung_task.c_rcu_lock_break.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_hung_task.c_rcu_lock_break.c" target datalayout = "e-m:e-p270:32:32-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 @rcu_lock_break], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @rcu_lock_break(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @get_task_struct(ptr noundef %0) #2 %4 = tail call i32 @get_task_struct(ptr noundef %1) #2 %5 = tail call i32 (...) @rcu_read_unlock() #2 %6 = tail call i32 (...) @cond_resched() #2 %7 = tail call i32 (...) @rcu_read_lock() #2 %8 = tail call i32 @put_task_struct(ptr noundef %1) #2 %9 = tail call i32 @put_task_struct(ptr noundef %0) #2 ret void } declare i32 @get_task_struct(ptr noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) local_unnamed_addr #1 declare i32 @cond_resched(...) local_unnamed_addr #1 declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare i32 @put_task_struct(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_hung_task.c_rcu_lock_break.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_hung_task.c_rcu_lock_break.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 @rcu_lock_break], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @rcu_lock_break(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @get_task_struct(ptr noundef %0) #2 %4 = tail call i32 @get_task_struct(ptr noundef %1) #2 %5 = tail call i32 @rcu_read_unlock() #2 %6 = tail call i32 @cond_resched() #2 %7 = tail call i32 @rcu_read_lock() #2 %8 = tail call i32 @put_task_struct(ptr noundef %1) #2 %9 = tail call i32 @put_task_struct(ptr noundef %0) #2 ret void } declare i32 @get_task_struct(ptr noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) local_unnamed_addr #1 declare i32 @cond_resched(...) local_unnamed_addr #1 declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare i32 @put_task_struct(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_kernel_extr_hung_task.c_rcu_lock_break
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/acpi/extr_sbs.c_acpi_battery_get_state.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/acpi/extr_sbs.c_acpi_battery_get_state.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.acpi_battery = type { i64, ptr } %struct.TYPE_5__ = type { i32, i32, i32 } @jiffies = dso_local local_unnamed_addr global i64 0, align 8 @cache_time = dso_local local_unnamed_addr global i32 0, align 4 @state_readers = dso_local local_unnamed_addr global ptr null, align 8 @ACPI_SBS_BATTERY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @acpi_battery_get_state], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @acpi_battery_get_state(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = icmp eq i64 %2, 0 br i1 %3, label %11, label %4 4: ; preds = %1 %5 = load i64, ptr @jiffies, align 8, !tbaa !11 %6 = load i32, ptr @cache_time, align 4, !tbaa !12 %7 = tail call i64 @msecs_to_jiffies(i32 noundef %6) #2 %8 = add nsw i64 %7, %2 %9 = tail call i64 @time_before(i64 noundef %5, i64 noundef %8) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %41 11: ; preds = %4, %1 %12 = getelementptr inbounds %struct.acpi_battery, ptr %0, i64 0, i32 1 %13 = load ptr, ptr @state_readers, align 8, !tbaa !14 %14 = tail call i32 @ARRAY_SIZE(ptr noundef %13) #2 %15 = icmp sgt i32 %14, 0 br i1 %15, label %22, label %38 16: ; preds = %22 %17 = add nuw nsw i64 %23, 1 %18 = load ptr, ptr @state_readers, align 8, !tbaa !14 %19 = tail call i32 @ARRAY_SIZE(ptr noundef %18) #2 %20 = sext i32 %19 to i64 %21 = icmp slt i64 %17, %20 br i1 %21, label %22, label %38, !llvm.loop !15 22: ; preds = %11, %16 %23 = phi i64 [ %17, %16 ], [ 0, %11 ] %24 = load ptr, ptr %12, align 8, !tbaa !17 %25 = load i32, ptr %24, align 4, !tbaa !18 %26 = load ptr, ptr @state_readers, align 8, !tbaa !14 %27 = getelementptr inbounds %struct.TYPE_5__, ptr %26, i64 %23 %28 = getelementptr inbounds %struct.TYPE_5__, ptr %26, i64 %23, i32 2 %29 = load i32, ptr %28, align 4, !tbaa !20 %30 = load i32, ptr @ACPI_SBS_BATTERY, align 4, !tbaa !12 %31 = getelementptr inbounds %struct.TYPE_5__, ptr %26, i64 %23, i32 1 %32 = load i32, ptr %31, align 4, !tbaa !22 %33 = load i32, ptr %27, align 4, !tbaa !23 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %0, i64 %34 %36 = tail call i32 @acpi_smbus_read(i32 noundef %25, i32 noundef %29, i32 noundef %30, i32 noundef %32, ptr noundef nonnull %35) #2 %37 = icmp eq i32 %36, 0 br i1 %37, label %16, label %38 38: ; preds = %22, %16, %11 %39 = phi i32 [ 0, %11 ], [ 0, %16 ], [ %36, %22 ] %40 = load i64, ptr @jiffies, align 8, !tbaa !11 store i64 %40, ptr %0, align 8, !tbaa !5 br label %41 41: ; preds = %4, %38 %42 = phi i32 [ %39, %38 ], [ 0, %4 ] ret i32 %42 } declare i64 @time_before(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @acpi_smbus_read(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"acpi_battery", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!10, !10, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!6, !10, i64 8} !18 = !{!19, !13, i64 0} !19 = !{!"TYPE_4__", !13, i64 0} !20 = !{!21, !13, i64 8} !21 = !{!"TYPE_5__", !13, i64 0, !13, i64 4, !13, i64 8} !22 = !{!21, !13, i64 4} !23 = !{!21, !13, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/acpi/extr_sbs.c_acpi_battery_get_state.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/acpi/extr_sbs.c_acpi_battery_get_state.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, i32, i32 } @jiffies = common local_unnamed_addr global i64 0, align 8 @cache_time = common local_unnamed_addr global i32 0, align 4 @state_readers = common local_unnamed_addr global ptr null, align 8 @ACPI_SBS_BATTERY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @acpi_battery_get_state], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @acpi_battery_get_state(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = icmp eq i64 %2, 0 br i1 %3, label %11, label %4 4: ; preds = %1 %5 = load i64, ptr @jiffies, align 8, !tbaa !12 %6 = load i32, ptr @cache_time, align 4, !tbaa !13 %7 = tail call i64 @msecs_to_jiffies(i32 noundef %6) #2 %8 = add nsw i64 %7, %2 %9 = tail call i64 @time_before(i64 noundef %5, i64 noundef %8) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %41 11: ; preds = %4, %1 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load ptr, ptr @state_readers, align 8, !tbaa !15 %14 = tail call i32 @ARRAY_SIZE(ptr noundef %13) #2 %15 = icmp sgt i32 %14, 0 br i1 %15, label %22, label %38 16: ; preds = %22 %17 = add nuw nsw i64 %23, 1 %18 = load ptr, ptr @state_readers, align 8, !tbaa !15 %19 = tail call i32 @ARRAY_SIZE(ptr noundef %18) #2 %20 = sext i32 %19 to i64 %21 = icmp slt i64 %17, %20 br i1 %21, label %22, label %38, !llvm.loop !16 22: ; preds = %11, %16 %23 = phi i64 [ %17, %16 ], [ 0, %11 ] %24 = load ptr, ptr %12, align 8, !tbaa !18 %25 = load i32, ptr %24, align 4, !tbaa !19 %26 = load ptr, ptr @state_readers, align 8, !tbaa !15 %27 = getelementptr inbounds %struct.TYPE_5__, ptr %26, i64 %23 %28 = getelementptr inbounds i8, ptr %27, i64 8 %29 = load i32, ptr %28, align 4, !tbaa !21 %30 = load i32, ptr @ACPI_SBS_BATTERY, align 4, !tbaa !13 %31 = getelementptr inbounds i8, ptr %27, i64 4 %32 = load i32, ptr %31, align 4, !tbaa !23 %33 = load i32, ptr %27, align 4, !tbaa !24 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %0, i64 %34 %36 = tail call i32 @acpi_smbus_read(i32 noundef %25, i32 noundef %29, i32 noundef %30, i32 noundef %32, ptr noundef nonnull %35) #2 %37 = icmp eq i32 %36, 0 br i1 %37, label %16, label %38 38: ; preds = %22, %16, %11 %39 = phi i32 [ 0, %11 ], [ 0, %16 ], [ %36, %22 ] %40 = load i64, ptr @jiffies, align 8, !tbaa !12 store i64 %40, ptr %0, align 8, !tbaa !6 br label %41 41: ; preds = %4, %38 %42 = phi i32 [ %39, %38 ], [ 0, %4 ] ret i32 %42 } declare i64 @time_before(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @acpi_smbus_read(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"acpi_battery", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!11, !11, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!7, !11, i64 8} !19 = !{!20, !14, i64 0} !20 = !{!"TYPE_4__", !14, i64 0} !21 = !{!22, !14, i64 8} !22 = !{!"TYPE_5__", !14, i64 0, !14, i64 4, !14, i64 8} !23 = !{!22, !14, i64 4} !24 = !{!22, !14, i64 0}
fastsocket_kernel_drivers_acpi_extr_sbs.c_acpi_battery_get_state
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_ndisc.c_ndisc_update.c' source_filename = "AnghaBench/linux/net/ipv6/extr_ndisc.c_ndisc_update.c" target datalayout = "e-m:e-p270:32:32-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 @ndisc_update(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) local_unnamed_addr #0 { %8 = tail call i32 @neigh_update(ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef 0) #2 %9 = tail call i32 @ndisc_ops_update(ptr noundef %0, ptr noundef %1, i32 noundef %4, i32 noundef %5, ptr noundef %6) #2 ret void } declare i32 @neigh_update(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ndisc_ops_update(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_ndisc.c_ndisc_update.c' source_filename = "AnghaBench/linux/net/ipv6/extr_ndisc.c_ndisc_update.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 @ndisc_update(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) local_unnamed_addr #0 { %8 = tail call i32 @neigh_update(ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef 0) #2 %9 = tail call i32 @ndisc_ops_update(ptr noundef %0, ptr noundef %1, i32 noundef %4, i32 noundef %5, ptr noundef %6) #2 ret void } declare i32 @neigh_update(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ndisc_ops_update(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_net_ipv6_extr_ndisc.c_ndisc_update
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/virtio/virtio-trace/extr_trace-agent-rw.c_rw_thread_run.c' source_filename = "AnghaBench/fastsocket/kernel/tools/virtio/virtio-trace/extr_trace-agent-rw.c_rw_thread_run.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @rw_thread_main = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"Could not create a rw thread(%d)\0A\00", align 1 @EXIT_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @rw_thread_run(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4 %3 = load i32, ptr @rw_thread_main, align 4, !tbaa !5 %4 = call i32 @pthread_create(ptr noundef nonnull %2, ptr noundef null, i32 noundef %3, ptr noundef %0) #4 %5 = icmp eq i32 %4, 0 br i1 %5, label %11, label %6 6: ; preds = %1 %7 = load i32, ptr %0, align 4, !tbaa !9 %8 = call i32 @pr_err(ptr noundef nonnull @.str, i32 noundef %7) #4 %9 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !5 %10 = call i32 @exit(i32 noundef %9) #5 unreachable 11: ; preds = %1 %12 = load i32, ptr %2, align 4, !tbaa !5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4 ret i32 %12 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @pthread_create(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pr_err(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } attributes #5 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"rw_thread_info", !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/virtio/virtio-trace/extr_trace-agent-rw.c_rw_thread_run.c' source_filename = "AnghaBench/fastsocket/kernel/tools/virtio/virtio-trace/extr_trace-agent-rw.c_rw_thread_run.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @rw_thread_main = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"Could not create a rw thread(%d)\0A\00", align 1 @EXIT_FAILURE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @rw_thread_run(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4 %3 = load i32, ptr @rw_thread_main, align 4, !tbaa !6 %4 = call i32 @pthread_create(ptr noundef nonnull %2, ptr noundef null, i32 noundef %3, ptr noundef %0) #4 %5 = icmp eq i32 %4, 0 br i1 %5, label %11, label %6 6: ; preds = %1 %7 = load i32, ptr %0, align 4, !tbaa !10 %8 = call i32 @pr_err(ptr noundef nonnull @.str, i32 noundef %7) #4 %9 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !6 %10 = call i32 @exit(i32 noundef %9) #5 unreachable 11: ; preds = %1 %12 = load i32, ptr %2, align 4, !tbaa !6 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4 ret i32 %12 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @pthread_create(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pr_err(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } attributes #5 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"rw_thread_info", !7, i64 0}
fastsocket_kernel_tools_virtio_virtio-trace_extr_trace-agent-rw.c_rw_thread_run
; ModuleID = 'AnghaBench/Quake-III-Arena/code/cgame/extr_cg_newdraw.c_CG_DrawAreaSystemChat.c' source_filename = "AnghaBench/Quake-III-Arena/code/cgame/extr_cg_newdraw.c_CG_DrawAreaSystemChat.c" target datalayout = "e-m:e-p270:32:32-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 } @systemChat = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @CG_DrawAreaSystemChat], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @CG_DrawAreaSystemChat(ptr nocapture noundef readonly %0, float noundef %1, i32 noundef %2, i32 %3) #0 { %5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %6 = load i32, ptr %5, align 8, !tbaa !5 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %8 = load i64, ptr %7, align 8, !tbaa !11 %9 = load i64, ptr %0, align 8, !tbaa !12 %10 = add nsw i64 %9, %8 %11 = load i32, ptr @systemChat, align 4, !tbaa !13 %12 = tail call i32 @CG_Text_Paint(i32 noundef %6, i64 noundef %10, float noundef %1, i32 noundef %2, i32 noundef %11, i32 noundef 0, i32 noundef 0, i32 noundef 0) #2 ret void } declare i32 @CG_Text_Paint(i32 noundef, i64 noundef, float noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !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, !7, i64 0} !13 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/Quake-III-Arena/code/cgame/extr_cg_newdraw.c_CG_DrawAreaSystemChat.c' source_filename = "AnghaBench/Quake-III-Arena/code/cgame/extr_cg_newdraw.c_CG_DrawAreaSystemChat.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @systemChat = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @CG_DrawAreaSystemChat], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @CG_DrawAreaSystemChat(ptr nocapture noundef readonly %0, float noundef %1, i32 noundef %2, i32 %3) #0 { %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = load i32, ptr %5, align 8, !tbaa !6 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i64, ptr %7, align 8, !tbaa !12 %9 = load i64, ptr %0, align 8, !tbaa !13 %10 = add nsw i64 %9, %8 %11 = load i32, ptr @systemChat, align 4, !tbaa !14 %12 = tail call i32 @CG_Text_Paint(i32 noundef %6, i64 noundef %10, float noundef %1, i32 noundef %2, i32 noundef %11, i32 noundef 0, i32 noundef 0, i32 noundef 0) #2 ret void } declare i32 @CG_Text_Paint(i32 noundef, i64 noundef, float noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !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, !8, i64 0} !14 = !{!11, !11, i64 0}
Quake-III-Arena_code_cgame_extr_cg_newdraw.c_CG_DrawAreaSystemChat
; ModuleID = 'AnghaBench/linux/drivers/staging/wilc1000/extr_wilc_hif.c_host_int_get_assoc_res_info.c' source_filename = "AnghaBench/linux/drivers/staging/wilc1000/extr_wilc_hif.c_host_int_get_assoc_res_info.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.wid = type { i32, ptr, i32, i32 } @WID_ASSOC_RES_INFO = dso_local local_unnamed_addr global i32 0, align 4 @WID_STR = dso_local local_unnamed_addr global i32 0, align 4 @WILC_GET_CFG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"Failed to send association response\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @host_int_get_assoc_res_info], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @host_int_get_assoc_res_info(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #0 { %5 = alloca %struct.wid, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #3 %6 = load i32, ptr @WID_ASSOC_RES_INFO, align 4, !tbaa !5 %7 = getelementptr inbounds %struct.wid, ptr %5, i64 0, i32 3 store i32 %6, ptr %7, align 4, !tbaa !9 %8 = load i32, ptr @WID_STR, align 4, !tbaa !5 %9 = getelementptr inbounds %struct.wid, ptr %5, i64 0, i32 2 store i32 %8, ptr %9, align 8, !tbaa !12 %10 = getelementptr inbounds %struct.wid, ptr %5, i64 0, i32 1 store ptr %1, ptr %10, align 8, !tbaa !13 store i32 %2, ptr %5, align 8, !tbaa !14 %11 = load i32, ptr @WILC_GET_CFG, align 4, !tbaa !5 %12 = call i32 @wilc_send_config_pkt(ptr noundef %0, i32 noundef %11, ptr noundef nonnull %5, i32 noundef 1) #3 %13 = icmp eq i32 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %4 store i32 0, ptr %3, align 4, !tbaa !5 %15 = load i32, ptr %0, align 4, !tbaa !15 %16 = call i32 @netdev_err(i32 noundef %15, ptr noundef nonnull @.str) #3 br label %19 17: ; preds = %4 %18 = load i32, ptr %5, align 8, !tbaa !14 store i32 %18, ptr %3, align 4, !tbaa !5 br label %19 19: ; preds = %17, %14 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @wilc_send_config_pkt(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @netdev_err(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, !6, i64 20} !10 = !{!"wid", !6, i64 0, !11, i64 8, !6, i64 16, !6, i64 20} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !6, i64 16} !13 = !{!10, !11, i64 8} !14 = !{!10, !6, i64 0} !15 = !{!16, !6, i64 0} !16 = !{!"wilc_vif", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/staging/wilc1000/extr_wilc_hif.c_host_int_get_assoc_res_info.c' source_filename = "AnghaBench/linux/drivers/staging/wilc1000/extr_wilc_hif.c_host_int_get_assoc_res_info.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.wid = type { i32, ptr, i32, i32 } @WID_ASSOC_RES_INFO = common local_unnamed_addr global i32 0, align 4 @WID_STR = common local_unnamed_addr global i32 0, align 4 @WILC_GET_CFG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"Failed to send association response\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @host_int_get_assoc_res_info], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @host_int_get_assoc_res_info(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #0 { %5 = alloca %struct.wid, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #3 %6 = load i32, ptr @WID_ASSOC_RES_INFO, align 4, !tbaa !6 %7 = getelementptr inbounds i8, ptr %5, i64 20 store i32 %6, ptr %7, align 4, !tbaa !10 %8 = load i32, ptr @WID_STR, align 4, !tbaa !6 %9 = getelementptr inbounds i8, ptr %5, i64 16 store i32 %8, ptr %9, align 8, !tbaa !13 %10 = getelementptr inbounds i8, ptr %5, i64 8 store ptr %1, ptr %10, align 8, !tbaa !14 store i32 %2, ptr %5, align 8, !tbaa !15 %11 = load i32, ptr @WILC_GET_CFG, align 4, !tbaa !6 %12 = call i32 @wilc_send_config_pkt(ptr noundef %0, i32 noundef %11, ptr noundef nonnull %5, i32 noundef 1) #3 %13 = icmp eq i32 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %4 store i32 0, ptr %3, align 4, !tbaa !6 %15 = load i32, ptr %0, align 4, !tbaa !16 %16 = call i32 @netdev_err(i32 noundef %15, ptr noundef nonnull @.str) #3 br label %19 17: ; preds = %4 %18 = load i32, ptr %5, align 8, !tbaa !15 store i32 %18, ptr %3, align 4, !tbaa !6 br label %19 19: ; preds = %17, %14 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @wilc_send_config_pkt(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @netdev_err(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, !7, i64 20} !11 = !{!"wid", !7, i64 0, !12, i64 8, !7, i64 16, !7, i64 20} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !7, i64 16} !14 = !{!11, !12, i64 8} !15 = !{!11, !7, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"wilc_vif", !7, i64 0}
linux_drivers_staging_wilc1000_extr_wilc_hif.c_host_int_get_assoc_res_info
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/memfd/extr_memfd_test.c_mfd_assert_has_seals.c' source_filename = "AnghaBench/linux/tools/testing/selftests/memfd/extr_memfd_test.c_mfd_assert_has_seals.c" target datalayout = "e-m:e-p270:32:32-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 [26 x i8] c"%u != %u = GET_SEALS(%d)\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @mfd_assert_has_seals], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mfd_assert_has_seals(i32 noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @mfd_assert_get_seals(i32 noundef %0) #3 %4 = icmp eq i32 %3, %1 br i1 %4, label %8, label %5 5: ; preds = %2 %6 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %3, i32 noundef %0) #3 %7 = tail call i32 (...) @abort() #4 unreachable 8: ; preds = %2 ret void } declare i32 @mfd_assert_get_seals(i32 noundef) local_unnamed_addr #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @abort(...) 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)"}
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/memfd/extr_memfd_test.c_mfd_assert_has_seals.c' source_filename = "AnghaBench/linux/tools/testing/selftests/memfd/extr_memfd_test.c_mfd_assert_has_seals.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 [26 x i8] c"%u != %u = GET_SEALS(%d)\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @mfd_assert_has_seals], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mfd_assert_has_seals(i32 noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @mfd_assert_get_seals(i32 noundef %0) #3 %4 = icmp eq i32 %3, %1 br i1 %4, label %8, label %5 5: ; preds = %2 %6 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %3, i32 noundef %0) #3 %7 = tail call i32 @abort() #4 unreachable 8: ; preds = %2 ret void } declare i32 @mfd_assert_get_seals(i32 noundef) local_unnamed_addr #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @abort(...) 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)"}
linux_tools_testing_selftests_memfd_extr_memfd_test.c_mfd_assert_has_seals
; ModuleID = 'AnghaBench/git/refs/extr_..tempfile.h_mks_tempfile_s.c' source_filename = "AnghaBench/git/refs/extr_..tempfile.h_mks_tempfile_s.c" target datalayout = "e-m:e-p270:32:32-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 @mks_tempfile_s], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal ptr @mks_tempfile_s(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @mks_tempfile_sm(ptr noundef %0, i32 noundef %1, i32 noundef 384) #2 ret ptr %3 } declare ptr @mks_tempfile_sm(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/git/refs/extr_..tempfile.h_mks_tempfile_s.c' source_filename = "AnghaBench/git/refs/extr_..tempfile.h_mks_tempfile_s.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 @mks_tempfile_s], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @mks_tempfile_s(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @mks_tempfile_sm(ptr noundef %0, i32 noundef %1, i32 noundef 384) #2 ret ptr %3 } declare ptr @mks_tempfile_sm(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)"}
git_refs_extr_..tempfile.h_mks_tempfile_s
; ModuleID = 'AnghaBench/linux/drivers/tty/extr_sysrq.c_sysrq_handle_crash.c' source_filename = "AnghaBench/linux/drivers/tty/extr_sysrq.c_sysrq_handle_crash.c" target datalayout = "e-m:e-p270:32:32-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"sysrq triggered crash\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @sysrq_handle_crash], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sysrq_handle_crash(i32 %0) #0 { %2 = tail call i32 (...) @rcu_read_unlock() #2 %3 = tail call i32 @panic(ptr noundef nonnull @.str) #2 ret void } declare i32 @rcu_read_unlock(...) local_unnamed_addr #1 declare i32 @panic(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/tty/extr_sysrq.c_sysrq_handle_crash.c' source_filename = "AnghaBench/linux/drivers/tty/extr_sysrq.c_sysrq_handle_crash.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"sysrq triggered crash\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @sysrq_handle_crash], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sysrq_handle_crash(i32 %0) #0 { %2 = tail call i32 @rcu_read_unlock() #2 %3 = tail call i32 @panic(ptr noundef nonnull @.str) #2 ret void } declare i32 @rcu_read_unlock(...) local_unnamed_addr #1 declare i32 @panic(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_tty_extr_sysrq.c_sysrq_handle_crash
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_findReusableFd.c' source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_findReusableFd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.stat = type { i64, i64 } %struct.TYPE_7__ = type { i32, ptr, ptr, %struct.TYPE_6__ } %struct.TYPE_6__ = type { i64, i64 } %struct.TYPE_8__ = type { i32, ptr } @inodeList = dso_local local_unnamed_addr global ptr null, align 8 @SQLITE_OPEN_READONLY = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_OPEN_READWRITE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @findReusableFd], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @findReusableFd(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.stat, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 %4 = tail call i32 (...) @unixEnterMutex() #3 %5 = load ptr, ptr @inodeList, align 8, !tbaa !5 %6 = icmp eq ptr %5, null br i1 %6, label %65, label %7 7: ; preds = %2 %8 = call i64 @osStat(ptr noundef %0, ptr noundef nonnull %3) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %65 10: ; preds = %7 %11 = load ptr, ptr @inodeList, align 8, !tbaa !5 %12 = icmp eq ptr %11, null br i1 %12, label %65, label %13 13: ; preds = %10 %14 = load i64, ptr %3, align 8, !tbaa !9 %15 = getelementptr inbounds %struct.stat, ptr %3, i64 0, i32 1 %16 = load i64, ptr %15, align 8 br label %17 17: ; preds = %13, %26 %18 = phi ptr [ %11, %13 ], [ %28, %26 ] %19 = getelementptr inbounds %struct.TYPE_7__, ptr %18, i64 0, i32 3 %20 = load i64, ptr %19, align 8, !tbaa !12 %21 = icmp eq i64 %20, %14 br i1 %21, label %22, label %26 22: ; preds = %17 %23 = getelementptr inbounds %struct.TYPE_7__, ptr %18, i64 0, i32 3, i32 1 %24 = load i64, ptr %23, align 8, !tbaa !16 %25 = icmp eq i64 %24, %16 br i1 %25, label %30, label %26 26: ; preds = %17, %22 %27 = getelementptr inbounds %struct.TYPE_7__, ptr %18, i64 0, i32 2 %28 = load ptr, ptr %27, align 8, !tbaa !5 %29 = icmp eq ptr %28, null br i1 %29, label %65, label %17, !llvm.loop !17 30: ; preds = %22 %31 = load i32, ptr %18, align 8, !tbaa !19 %32 = call i32 @sqlite3_mutex_notheld(i32 noundef %31) #3 %33 = call i32 @assert(i32 noundef %32) #3 %34 = load i32, ptr %18, align 8, !tbaa !19 %35 = call i32 @sqlite3_mutex_enter(i32 noundef %34) #3 %36 = load i32, ptr @SQLITE_OPEN_READONLY, align 4, !tbaa !20 %37 = load i32, ptr @SQLITE_OPEN_READWRITE, align 4, !tbaa !20 %38 = or i32 %37, %36 %39 = and i32 %38, %1 %40 = getelementptr inbounds %struct.TYPE_7__, ptr %18, i64 0, i32 1 %41 = load ptr, ptr %40, align 8, !tbaa !5 %42 = icmp eq ptr %41, null br i1 %42, label %61, label %43 43: ; preds = %30 %44 = load i32, ptr %41, align 8, !tbaa !21 %45 = icmp eq i32 %44, %39 br i1 %45, label %56, label %49 46: ; preds = %49 %47 = load i32, ptr %52, align 8, !tbaa !21 %48 = icmp eq i32 %47, %39 br i1 %48, label %54, label %49, !llvm.loop !23 49: ; preds = %43, %46 %50 = phi ptr [ %52, %46 ], [ %41, %43 ] %51 = getelementptr inbounds %struct.TYPE_8__, ptr %50, i64 0, i32 1 %52 = load ptr, ptr %51, align 8, !tbaa !5 %53 = icmp eq ptr %52, null br i1 %53, label %61, label %46, !llvm.loop !23 54: ; preds = %46 %55 = getelementptr inbounds %struct.TYPE_8__, ptr %50, i64 0, i32 1 br label %56 56: ; preds = %54, %43 %57 = phi ptr [ %41, %43 ], [ %52, %54 ] %58 = phi ptr [ %40, %43 ], [ %55, %54 ] %59 = getelementptr inbounds %struct.TYPE_8__, ptr %57, i64 0, i32 1 %60 = load ptr, ptr %59, align 8, !tbaa !24 store ptr %60, ptr %58, align 8, !tbaa !5 br label %61 61: ; preds = %49, %30, %56 %62 = phi ptr [ %57, %56 ], [ null, %30 ], [ null, %49 ] %63 = load i32, ptr %18, align 8, !tbaa !19 %64 = call i32 @sqlite3_mutex_leave(i32 noundef %63) #3 br label %65 65: ; preds = %26, %10, %61, %7, %2 %66 = phi ptr [ null, %7 ], [ null, %2 ], [ %62, %61 ], [ null, %10 ], [ null, %26 ] %67 = call i32 (...) @unixLeaveMutex() #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 ret ptr %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 @unixEnterMutex(...) local_unnamed_addr #2 declare i64 @osStat(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3_mutex_notheld(i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3_mutex_enter(i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3_mutex_leave(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @unixLeaveMutex(...) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"stat", !11, i64 0, !11, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!13, !11, i64 24} !13 = !{!"TYPE_7__", !14, i64 0, !6, i64 8, !6, i64 16, !15, i64 24} !14 = !{!"int", !7, i64 0} !15 = !{!"TYPE_6__", !11, i64 0, !11, i64 8} !16 = !{!13, !11, i64 32} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!13, !14, i64 0} !20 = !{!14, !14, i64 0} !21 = !{!22, !14, i64 0} !22 = !{!"TYPE_8__", !14, i64 0, !6, i64 8} !23 = distinct !{!23, !18} !24 = !{!22, !6, i64 8}
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_findReusableFd.c' source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_findReusableFd.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.stat = type { i64, i64 } @inodeList = common local_unnamed_addr global ptr null, align 8 @SQLITE_OPEN_READONLY = common local_unnamed_addr global i32 0, align 4 @SQLITE_OPEN_READWRITE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @findReusableFd], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @findReusableFd(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.stat, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 %4 = tail call i32 @unixEnterMutex() #3 %5 = load ptr, ptr @inodeList, align 8, !tbaa !6 %6 = icmp eq ptr %5, null br i1 %6, label %55, label %7 7: ; preds = %2 %8 = call i64 @osStat(ptr noundef %0, ptr noundef nonnull %3) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %55 10: ; preds = %7 %11 = load ptr, ptr @inodeList, align 8, !tbaa !6 %12 = icmp eq ptr %11, null br i1 %12, label %55, label %13 13: ; preds = %10 %14 = load i64, ptr %3, align 8, !tbaa !10 %15 = getelementptr inbounds i8, ptr %3, i64 8 %16 = load i64, ptr %15, align 8 br label %17 17: ; preds = %13, %26 %18 = phi ptr [ %11, %13 ], [ %28, %26 ] %19 = getelementptr inbounds i8, ptr %18, i64 24 %20 = load i64, ptr %19, align 8, !tbaa !13 %21 = icmp eq i64 %20, %14 br i1 %21, label %22, label %26 22: ; preds = %17 %23 = getelementptr inbounds i8, ptr %18, i64 32 %24 = load i64, ptr %23, align 8, !tbaa !17 %25 = icmp eq i64 %24, %16 br i1 %25, label %30, label %26 26: ; preds = %17, %22 %27 = getelementptr inbounds i8, ptr %18, i64 16 %28 = load ptr, ptr %27, align 8, !tbaa !6 %29 = icmp eq ptr %28, null br i1 %29, label %55, label %17, !llvm.loop !18 30: ; preds = %22 %31 = load i32, ptr %18, align 8, !tbaa !20 %32 = call i32 @sqlite3_mutex_notheld(i32 noundef %31) #3 %33 = call i32 @assert(i32 noundef %32) #3 %34 = load i32, ptr %18, align 8, !tbaa !20 %35 = call i32 @sqlite3_mutex_enter(i32 noundef %34) #3 %36 = load i32, ptr @SQLITE_OPEN_READONLY, align 4, !tbaa !21 %37 = load i32, ptr @SQLITE_OPEN_READWRITE, align 4, !tbaa !21 %38 = or i32 %37, %36 %39 = and i32 %38, %1 br label %40 40: ; preds = %45, %30 %41 = phi ptr [ %18, %30 ], [ %43, %45 ] %42 = getelementptr inbounds i8, ptr %41, i64 8 %43 = load ptr, ptr %42, align 8, !tbaa !6 %44 = icmp eq ptr %43, null br i1 %44, label %52, label %45 45: ; preds = %40 %46 = load i32, ptr %43, align 8, !tbaa !22 %47 = icmp eq i32 %46, %39 br i1 %47, label %48, label %40, !llvm.loop !24 48: ; preds = %45 %49 = getelementptr inbounds i8, ptr %41, i64 8 %50 = getelementptr inbounds i8, ptr %43, i64 8 %51 = load ptr, ptr %50, align 8, !tbaa !25 store ptr %51, ptr %49, align 8, !tbaa !6 br label %52 52: ; preds = %40, %48 %53 = load i32, ptr %18, align 8, !tbaa !20 %54 = call i32 @sqlite3_mutex_leave(i32 noundef %53) #3 br label %55 55: ; preds = %26, %10, %52, %7, %2 %56 = phi ptr [ null, %7 ], [ null, %2 ], [ %43, %52 ], [ null, %10 ], [ null, %26 ] %57 = call i32 @unixLeaveMutex() #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 ret ptr %56 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @unixEnterMutex(...) local_unnamed_addr #2 declare i64 @osStat(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3_mutex_notheld(i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3_mutex_enter(i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3_mutex_leave(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @unixLeaveMutex(...) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"stat", !12, i64 0, !12, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!14, !12, i64 24} !14 = !{!"TYPE_7__", !15, i64 0, !7, i64 8, !7, i64 16, !16, i64 24} !15 = !{!"int", !8, i64 0} !16 = !{!"TYPE_6__", !12, i64 0, !12, i64 8} !17 = !{!14, !12, i64 32} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!14, !15, i64 0} !21 = !{!15, !15, i64 0} !22 = !{!23, !15, i64 0} !23 = !{!"TYPE_8__", !15, i64 0, !7, i64 8} !24 = distinct !{!24, !19} !25 = !{!23, !7, i64 8}
freebsd_contrib_sqlite3_extr_sqlite3.c_findReusableFd
; ModuleID = 'AnghaBench/freebsd/sys/arm/ralink/extr_if_fv.c_fv_ioctl.c' source_filename = "AnghaBench/freebsd/sys/arm/ralink/extr_if_fv.c_fv_ioctl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ifnet = type { i32, i32, i32, i32, i32, ptr } %struct.fv_softc = type { i32, i32, i32, i32 } @IFF_UP = dso_local local_unnamed_addr global i32 0, align 4 @IFF_DRV_RUNNING = dso_local local_unnamed_addr global i32 0, align 4 @IFF_PROMISC = dso_local local_unnamed_addr global i32 0, align 4 @CSR_OPMODE = dso_local local_unnamed_addr global i32 0, align 4 @OPMODE_PM = dso_local local_unnamed_addr global i32 0, align 4 @OPMODE_PR = dso_local local_unnamed_addr global i32 0, align 4 @IFF_ALLMULTI = dso_local local_unnamed_addr global i32 0, align 4 @FV_CSUM_FEATURES = dso_local local_unnamed_addr global i32 0, align 4 @IFCAP_HWCSUM = dso_local local_unnamed_addr global i32 0, align 4 @IFCAP_VLAN_HWTAGGING = dso_local local_unnamed_addr global i32 0, align 4 @mask = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @fv_ioctl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @fv_ioctl(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = getelementptr inbounds %struct.ifnet, ptr %0, i64 0, i32 5 %5 = load ptr, ptr %4, align 8, !tbaa !5 switch i32 %1, label %64 [ i32 129, label %6 i32 133, label %66 i32 132, label %66 i32 131, label %60 i32 128, label %60 i32 130, label %66 ] 6: ; preds = %3 %7 = tail call i32 @FV_LOCK(ptr noundef %5) #2 %8 = load i32, ptr %0, align 8, !tbaa !11 %9 = load i32, ptr @IFF_UP, align 4, !tbaa !12 %10 = and i32 %9, %8 %11 = icmp eq i32 %10, 0 %12 = getelementptr inbounds %struct.ifnet, ptr %0, i64 0, i32 1 %13 = load i32, ptr %12, align 4, !tbaa !13 %14 = load i32, ptr @IFF_DRV_RUNNING, align 4, !tbaa !12 %15 = and i32 %14, %13 %16 = icmp eq i32 %15, 0 br i1 %11, label %54, label %17 17: ; preds = %6 br i1 %16, label %48, label %18 18: ; preds = %17 %19 = load i32, ptr %5, align 4, !tbaa !14 %20 = xor i32 %19, %8 %21 = load i32, ptr @IFF_PROMISC, align 4, !tbaa !12 %22 = and i32 %20, %21 %23 = icmp eq i32 %22, 0 br i1 %23, label %36, label %24 24: ; preds = %18 %25 = load i32, ptr @CSR_OPMODE, align 4, !tbaa !12 %26 = tail call i32 @CSR_READ_4(ptr noundef nonnull %5, i32 noundef %25) #2 %27 = load i32, ptr @CSR_OPMODE, align 4, !tbaa !12 %28 = load i32, ptr @OPMODE_PM, align 4, !tbaa !12 %29 = or i32 %28, %26 %30 = load i32, ptr @OPMODE_PR, align 4, !tbaa !12 %31 = or i32 %29, %30 %32 = tail call i32 @CSR_WRITE_4(ptr noundef nonnull %5, i32 noundef %27, i32 noundef %31) #2 %33 = load i32, ptr %0, align 8, !tbaa !11 %34 = load i32, ptr %5, align 4, !tbaa !14 %35 = xor i32 %34, %33 br label %36 36: ; preds = %24, %18 %37 = phi i32 [ %35, %24 ], [ %20, %18 ] %38 = load i32, ptr @IFF_ALLMULTI, align 4, !tbaa !12 %39 = and i32 %37, %38 %40 = icmp eq i32 %39, 0 br i1 %40, label %57, label %41 41: ; preds = %36 %42 = load i32, ptr @CSR_OPMODE, align 4, !tbaa !12 %43 = tail call i32 @CSR_READ_4(ptr noundef nonnull %5, i32 noundef %42) #2 %44 = load i32, ptr @CSR_OPMODE, align 4, !tbaa !12 %45 = load i32, ptr @OPMODE_PM, align 4, !tbaa !12 %46 = or i32 %45, %43 %47 = tail call i32 @CSR_WRITE_4(ptr noundef nonnull %5, i32 noundef %44, i32 noundef %46) #2 br label %57 48: ; preds = %17 %49 = getelementptr inbounds %struct.fv_softc, ptr %5, i64 0, i32 3 %50 = load i32, ptr %49, align 4, !tbaa !16 %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %57 52: ; preds = %48 %53 = tail call i32 @fv_init_locked(ptr noundef nonnull %5) #2 br label %57 54: ; preds = %6 br i1 %16, label %57, label %55 55: ; preds = %54 %56 = tail call i32 @fv_stop(ptr noundef %5) #2 br label %57 57: ; preds = %54, %55, %41, %36, %52, %48 %58 = load i32, ptr %0, align 8, !tbaa !11 store i32 %58, ptr %5, align 4, !tbaa !14 %59 = tail call i32 @FV_UNLOCK(ptr noundef nonnull %5) #2 br label %66 60: ; preds = %3, %3 %61 = inttoptr i64 %2 to ptr %62 = getelementptr inbounds %struct.fv_softc, ptr %5, i64 0, i32 1 %63 = tail call i32 @ifmedia_ioctl(ptr noundef nonnull %0, ptr noundef %61, ptr noundef nonnull %62, i32 noundef %1) #2 br label %66 64: ; preds = %3 %65 = tail call i32 @ether_ioctl(ptr noundef nonnull %0, i32 noundef %1, i64 noundef %2) #2 br label %66 66: ; preds = %3, %3, %3, %64, %60, %57 %67 = phi i32 [ %65, %64 ], [ %63, %60 ], [ 0, %57 ], [ 0, %3 ], [ 0, %3 ], [ 0, %3 ] ret i32 %67 } declare i32 @FV_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @CSR_READ_4(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CSR_WRITE_4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fv_init_locked(ptr noundef) local_unnamed_addr #1 declare i32 @fv_stop(ptr noundef) local_unnamed_addr #1 declare i32 @FV_UNLOCK(ptr noundef) local_unnamed_addr #1 declare i32 @ifmedia_ioctl(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ether_ioctl(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 24} !6 = !{!"ifnet", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !10, 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 = !{!6, !7, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 4} !14 = !{!15, !7, i64 0} !15 = !{!"fv_softc", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !16 = !{!15, !7, i64 12}
; ModuleID = 'AnghaBench/freebsd/sys/arm/ralink/extr_if_fv.c_fv_ioctl.c' source_filename = "AnghaBench/freebsd/sys/arm/ralink/extr_if_fv.c_fv_ioctl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IFF_UP = common local_unnamed_addr global i32 0, align 4 @IFF_DRV_RUNNING = common local_unnamed_addr global i32 0, align 4 @IFF_PROMISC = common local_unnamed_addr global i32 0, align 4 @CSR_OPMODE = common local_unnamed_addr global i32 0, align 4 @OPMODE_PM = common local_unnamed_addr global i32 0, align 4 @OPMODE_PR = common local_unnamed_addr global i32 0, align 4 @IFF_ALLMULTI = common local_unnamed_addr global i32 0, align 4 @FV_CSUM_FEATURES = common local_unnamed_addr global i32 0, align 4 @IFCAP_HWCSUM = common local_unnamed_addr global i32 0, align 4 @IFCAP_VLAN_HWTAGGING = common local_unnamed_addr global i32 0, align 4 @mask = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @fv_ioctl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @fv_ioctl(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 24 %5 = load ptr, ptr %4, align 8, !tbaa !6 switch i32 %1, label %64 [ i32 129, label %6 i32 133, label %66 i32 132, label %66 i32 131, label %60 i32 128, label %60 i32 130, label %66 ] 6: ; preds = %3 %7 = tail call i32 @FV_LOCK(ptr noundef %5) #2 %8 = load i32, ptr %0, align 8, !tbaa !12 %9 = load i32, ptr @IFF_UP, align 4, !tbaa !13 %10 = and i32 %9, %8 %11 = icmp eq i32 %10, 0 %12 = getelementptr inbounds i8, ptr %0, i64 4 %13 = load i32, ptr %12, align 4, !tbaa !14 %14 = load i32, ptr @IFF_DRV_RUNNING, align 4, !tbaa !13 %15 = and i32 %14, %13 %16 = icmp eq i32 %15, 0 br i1 %11, label %54, label %17 17: ; preds = %6 br i1 %16, label %48, label %18 18: ; preds = %17 %19 = load i32, ptr %5, align 4, !tbaa !15 %20 = xor i32 %19, %8 %21 = load i32, ptr @IFF_PROMISC, align 4, !tbaa !13 %22 = and i32 %20, %21 %23 = icmp eq i32 %22, 0 br i1 %23, label %36, label %24 24: ; preds = %18 %25 = load i32, ptr @CSR_OPMODE, align 4, !tbaa !13 %26 = tail call i32 @CSR_READ_4(ptr noundef nonnull %5, i32 noundef %25) #2 %27 = load i32, ptr @CSR_OPMODE, align 4, !tbaa !13 %28 = load i32, ptr @OPMODE_PM, align 4, !tbaa !13 %29 = or i32 %28, %26 %30 = load i32, ptr @OPMODE_PR, align 4, !tbaa !13 %31 = or i32 %29, %30 %32 = tail call i32 @CSR_WRITE_4(ptr noundef nonnull %5, i32 noundef %27, i32 noundef %31) #2 %33 = load i32, ptr %0, align 8, !tbaa !12 %34 = load i32, ptr %5, align 4, !tbaa !15 %35 = xor i32 %34, %33 br label %36 36: ; preds = %24, %18 %37 = phi i32 [ %35, %24 ], [ %20, %18 ] %38 = load i32, ptr @IFF_ALLMULTI, align 4, !tbaa !13 %39 = and i32 %37, %38 %40 = icmp eq i32 %39, 0 br i1 %40, label %57, label %41 41: ; preds = %36 %42 = load i32, ptr @CSR_OPMODE, align 4, !tbaa !13 %43 = tail call i32 @CSR_READ_4(ptr noundef nonnull %5, i32 noundef %42) #2 %44 = load i32, ptr @CSR_OPMODE, align 4, !tbaa !13 %45 = load i32, ptr @OPMODE_PM, align 4, !tbaa !13 %46 = or i32 %45, %43 %47 = tail call i32 @CSR_WRITE_4(ptr noundef nonnull %5, i32 noundef %44, i32 noundef %46) #2 br label %57 48: ; preds = %17 %49 = getelementptr inbounds i8, ptr %5, i64 12 %50 = load i32, ptr %49, align 4, !tbaa !17 %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %57 52: ; preds = %48 %53 = tail call i32 @fv_init_locked(ptr noundef nonnull %5) #2 br label %57 54: ; preds = %6 br i1 %16, label %57, label %55 55: ; preds = %54 %56 = tail call i32 @fv_stop(ptr noundef %5) #2 br label %57 57: ; preds = %54, %55, %41, %36, %52, %48 %58 = load i32, ptr %0, align 8, !tbaa !12 store i32 %58, ptr %5, align 4, !tbaa !15 %59 = tail call i32 @FV_UNLOCK(ptr noundef nonnull %5) #2 br label %66 60: ; preds = %3, %3 %61 = inttoptr i64 %2 to ptr %62 = getelementptr inbounds i8, ptr %5, i64 4 %63 = tail call i32 @ifmedia_ioctl(ptr noundef nonnull %0, ptr noundef %61, ptr noundef nonnull %62, i32 noundef %1) #2 br label %66 64: ; preds = %3 %65 = tail call i32 @ether_ioctl(ptr noundef nonnull %0, i32 noundef %1, i64 noundef %2) #2 br label %66 66: ; preds = %3, %3, %3, %64, %60, %57 %67 = phi i32 [ %65, %64 ], [ %63, %60 ], [ 0, %57 ], [ 0, %3 ], [ 0, %3 ], [ 0, %3 ] ret i32 %67 } declare i32 @FV_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @CSR_READ_4(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CSR_WRITE_4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fv_init_locked(ptr noundef) local_unnamed_addr #1 declare i32 @fv_stop(ptr noundef) local_unnamed_addr #1 declare i32 @FV_UNLOCK(ptr noundef) local_unnamed_addr #1 declare i32 @ifmedia_ioctl(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ether_ioctl(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 24} !7 = !{!"ifnet", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !11, 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 = !{!7, !8, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 4} !15 = !{!16, !8, i64 0} !16 = !{!"fv_softc", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12} !17 = !{!16, !8, i64 12}
freebsd_sys_arm_ralink_extr_if_fv.c_fv_ioctl
; ModuleID = 'AnghaBench/vlc/modules/video_output/vulkan/extr_display.c_PictureDisplay.c' source_filename = "AnghaBench/vlc/modules/video_output/vulkan/extr_display.c_PictureDisplay.c" target datalayout = "e-m:e-p270:32:32-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 @PictureDisplay], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @PictureDisplay(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = tail call i32 @VLC_UNUSED(ptr noundef %1) #2 %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = tail call i32 @pl_swapchain_swap_buffers(i32 noundef %6) #2 ret void } declare i32 @VLC_UNUSED(ptr noundef) local_unnamed_addr #1 declare i32 @pl_swapchain_swap_buffers(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_7__", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_5__", !14, i64 0} !14 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/vlc/modules/video_output/vulkan/extr_display.c_PictureDisplay.c' source_filename = "AnghaBench/vlc/modules/video_output/vulkan/extr_display.c_PictureDisplay.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 @PictureDisplay], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @PictureDisplay(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = tail call i32 @VLC_UNUSED(ptr noundef %1) #2 %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = load i32, ptr %5, align 4, !tbaa !13 %7 = tail call i32 @pl_swapchain_swap_buffers(i32 noundef %6) #2 ret void } declare i32 @VLC_UNUSED(ptr noundef) local_unnamed_addr #1 declare i32 @pl_swapchain_swap_buffers(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_7__", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_5__", !15, i64 0} !15 = !{!"int", !9, i64 0}
vlc_modules_video_output_vulkan_extr_display.c_PictureDisplay
; ModuleID = 'AnghaBench/linux/drivers/input/touchscreen/extr_ads7846.c_ads7846_read_state.c' source_filename = "AnghaBench/linux/drivers/input/touchscreen/extr_ads7846.c_ads7846_read_state.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ads7846 = type { i32, ptr, i32, ptr, ptr, ptr, ptr } %struct.spi_message = type { i32 } @.str = private unnamed_addr constant [17 x i8] c"spi_sync --> %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ads7846_read_state], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ads7846_read_state(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = getelementptr inbounds %struct.ads7846, ptr %0, i64 0, i32 6 %4 = load ptr, ptr %3, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %5 = getelementptr inbounds %struct.ads7846, ptr %0, i64 0, i32 5 %6 = getelementptr inbounds %struct.ads7846, ptr %0, i64 0, i32 4 %7 = getelementptr inbounds %struct.ads7846, ptr %0, i64 0, i32 3 %8 = getelementptr inbounds %struct.ads7846, ptr %0, i64 0, i32 1 %9 = getelementptr inbounds %struct.ads7846, ptr %0, i64 0, i32 2 br label %10 10: ; preds = %40, %1 %11 = phi i32 [ 0, %1 ], [ %41, %40 ] %12 = sext i32 %11 to i64 br label %13 13: ; preds = %10, %46 br label %14 14: ; preds = %13, %32 %15 = load i32, ptr %0, align 8, !tbaa !11 %16 = icmp slt i32 %11, %15 br i1 %16, label %17, label %50 17: ; preds = %14 %18 = load ptr, ptr %5, align 8, !tbaa !12 %19 = call i32 (...) %18() #3 %20 = load ptr, ptr %6, align 8, !tbaa !13 %21 = getelementptr inbounds %struct.spi_message, ptr %20, i64 %12 %22 = load ptr, ptr %7, align 8, !tbaa !14 %23 = call i32 @spi_sync(ptr noundef %22, ptr noundef %21) #3 %24 = icmp eq i32 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %17 %26 = load ptr, ptr %7, align 8, !tbaa !14 %27 = call i32 @dev_err(ptr noundef %26, ptr noundef nonnull @.str, i32 noundef %23) #3 store i32 1, ptr %4, align 4, !tbaa !15 br label %50 28: ; preds = %17 %29 = load i32, ptr %0, align 8, !tbaa !11 %30 = add nsw i32 %29, -1 %31 = icmp slt i32 %11, %30 br i1 %31, label %32, label %48 32: ; preds = %28 %33 = call i32 @ads7846_get_value(ptr noundef nonnull %0, ptr noundef %21) #3 store i32 %33, ptr %2, align 4, !tbaa !18 %34 = load ptr, ptr %8, align 8, !tbaa !19 %35 = load i32, ptr %9, align 8, !tbaa !20 %36 = call i32 %34(i32 noundef %35, i32 noundef %11, ptr noundef nonnull %2) #3 switch i32 %36, label %46 [ i32 128, label %14 i32 130, label %37 i32 129, label %42 ], !llvm.loop !21 37: ; preds = %32 store i32 1, ptr %4, align 4, !tbaa !15 %38 = load i32, ptr %0, align 8, !tbaa !11 %39 = add nsw i32 %38, -1 br label %40 40: ; preds = %37, %42, %48 %41 = phi i32 [ %49, %48 ], [ %45, %42 ], [ %39, %37 ] br label %10, !llvm.loop !21 42: ; preds = %32 %43 = load i32, ptr %2, align 4, !tbaa !18 %44 = call i32 @ads7846_update_value(ptr noundef %21, i32 noundef %43) #3 store i32 0, ptr %4, align 4, !tbaa !15 %45 = add nsw i32 %11, 1 br label %40 46: ; preds = %32 %47 = call i32 (...) @BUG() #3 br label %13, !llvm.loop !21 48: ; preds = %28 %49 = add nsw i32 %11, 1 br label %40 50: ; preds = %14, %25 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @spi_sync(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ads7846_get_value(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ads7846_update_value(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BUG(...) 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 48} !6 = !{!"ads7846", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!6, !10, i64 40} !13 = !{!6, !10, i64 32} !14 = !{!6, !10, i64 24} !15 = !{!16, !7, i64 0} !16 = !{!"ads7846_packet", !17, i64 0} !17 = !{!"TYPE_3__", !7, i64 0} !18 = !{!7, !7, i64 0} !19 = !{!6, !10, i64 8} !20 = !{!6, !7, i64 16} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/input/touchscreen/extr_ads7846.c_ads7846_read_state.c' source_filename = "AnghaBench/linux/drivers/input/touchscreen/extr_ads7846.c_ads7846_read_state.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.spi_message = type { i32 } @.str = private unnamed_addr constant [17 x i8] c"spi_sync --> %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ads7846_read_state], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ads7846_read_state(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = getelementptr inbounds i8, ptr %0, i64 48 %4 = load ptr, ptr %3, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %5 = getelementptr inbounds i8, ptr %0, i64 40 %6 = getelementptr inbounds i8, ptr %0, i64 32 %7 = getelementptr inbounds i8, ptr %0, i64 24 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = getelementptr inbounds i8, ptr %0, i64 16 br label %10 10: ; preds = %40, %1 %11 = phi i32 [ 0, %1 ], [ %41, %40 ] %12 = sext i32 %11 to i64 br label %13 13: ; preds = %10, %46 br label %14 14: ; preds = %13, %32 %15 = load i32, ptr %0, align 8, !tbaa !12 %16 = icmp slt i32 %11, %15 br i1 %16, label %17, label %50 17: ; preds = %14 %18 = load ptr, ptr %5, align 8, !tbaa !13 %19 = call i32 %18() #3 %20 = load ptr, ptr %6, align 8, !tbaa !14 %21 = getelementptr inbounds %struct.spi_message, ptr %20, i64 %12 %22 = load ptr, ptr %7, align 8, !tbaa !15 %23 = call i32 @spi_sync(ptr noundef %22, ptr noundef %21) #3 %24 = icmp eq i32 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %17 %26 = load ptr, ptr %7, align 8, !tbaa !15 %27 = call i32 @dev_err(ptr noundef %26, ptr noundef nonnull @.str, i32 noundef %23) #3 store i32 1, ptr %4, align 4, !tbaa !16 br label %50 28: ; preds = %17 %29 = load i32, ptr %0, align 8, !tbaa !12 %30 = add nsw i32 %29, -1 %31 = icmp slt i32 %11, %30 br i1 %31, label %32, label %48 32: ; preds = %28 %33 = call i32 @ads7846_get_value(ptr noundef nonnull %0, ptr noundef %21) #3 store i32 %33, ptr %2, align 4, !tbaa !19 %34 = load ptr, ptr %8, align 8, !tbaa !20 %35 = load i32, ptr %9, align 8, !tbaa !21 %36 = call i32 %34(i32 noundef %35, i32 noundef %11, ptr noundef nonnull %2) #3 switch i32 %36, label %46 [ i32 128, label %14 i32 130, label %37 i32 129, label %42 ], !llvm.loop !22 37: ; preds = %32 store i32 1, ptr %4, align 4, !tbaa !16 %38 = load i32, ptr %0, align 8, !tbaa !12 %39 = add nsw i32 %38, -1 br label %40 40: ; preds = %37, %42, %48 %41 = phi i32 [ %49, %48 ], [ %45, %42 ], [ %39, %37 ] br label %10, !llvm.loop !22 42: ; preds = %32 %43 = load i32, ptr %2, align 4, !tbaa !19 %44 = call i32 @ads7846_update_value(ptr noundef %21, i32 noundef %43) #3 store i32 0, ptr %4, align 4, !tbaa !16 %45 = add nsw i32 %11, 1 br label %40 46: ; preds = %32 %47 = call i32 @BUG() #3 br label %13, !llvm.loop !22 48: ; preds = %28 %49 = add nsw i32 %11, 1 br label %40 50: ; preds = %14, %25 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @spi_sync(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ads7846_get_value(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ads7846_update_value(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BUG(...) 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 48} !7 = !{!"ads7846", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!7, !11, i64 40} !14 = !{!7, !11, i64 32} !15 = !{!7, !11, i64 24} !16 = !{!17, !8, i64 0} !17 = !{!"ads7846_packet", !18, i64 0} !18 = !{!"TYPE_3__", !8, i64 0} !19 = !{!8, !8, i64 0} !20 = !{!7, !11, i64 8} !21 = !{!7, !8, i64 16} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"}
linux_drivers_input_touchscreen_extr_ads7846.c_ads7846_read_state
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-core.c_hid_scan_feature_usage.c' source_filename = "AnghaBench/linux/drivers/hid/extr_hid-core.c_hid_scan_feature_usage.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.hid_parser = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32, i32 } @HID_SCAN_FLAG_MT_WIN_8 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hid_scan_feature_usage], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @hid_scan_feature_usage(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = icmp eq i32 %1, -16777019 br i1 %3, label %4, label %16 4: ; preds = %2 %5 = getelementptr inbounds %struct.hid_parser, ptr %0, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = icmp eq i32 %6, 256 br i1 %7, label %8, label %16 8: ; preds = %4 %9 = getelementptr inbounds %struct.hid_parser, ptr %0, i64 0, i32 1, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !11 %11 = icmp eq i32 %10, 8 br i1 %11, label %12, label %16 12: ; preds = %8 %13 = load i32, ptr @HID_SCAN_FLAG_MT_WIN_8, align 4, !tbaa !12 %14 = load i32, ptr %0, align 4, !tbaa !13 %15 = or i32 %14, %13 store i32 %15, ptr %0, align 4, !tbaa !13 br label %16 16: ; preds = %12, %8, %4, %2 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"hid_parser", !7, i64 0, !10, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_2__", !7, i64 0, !7, i64 4} !11 = !{!6, !7, i64 8} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-core.c_hid_scan_feature_usage.c' source_filename = "AnghaBench/linux/drivers/hid/extr_hid-core.c_hid_scan_feature_usage.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HID_SCAN_FLAG_MT_WIN_8 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hid_scan_feature_usage], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @hid_scan_feature_usage(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = icmp eq i32 %1, -16777019 br i1 %3, label %4, label %16 4: ; preds = %2 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = icmp eq i32 %6, 256 br i1 %7, label %8, label %16 8: ; preds = %4 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load i32, ptr %9, align 4, !tbaa !12 %11 = icmp eq i32 %10, 8 br i1 %11, label %12, label %16 12: ; preds = %8 %13 = load i32, ptr @HID_SCAN_FLAG_MT_WIN_8, align 4, !tbaa !13 %14 = load i32, ptr %0, align 4, !tbaa !14 %15 = or i32 %14, %13 store i32 %15, ptr %0, align 4, !tbaa !14 br label %16 16: ; preds = %12, %8, %4, %2 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"hid_parser", !8, i64 0, !11, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_2__", !8, i64 0, !8, i64 4} !12 = !{!7, !8, i64 8} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 0}
linux_drivers_hid_extr_hid-core.c_hid_scan_feature_usage
; ModuleID = 'AnghaBench/kphp-kdb/dhcp/extr_dhcp-engine.c_reopen_logs.c' source_filename = "AnghaBench/kphp-kdb/dhcp/extr_dhcp-engine.c_reopen_logs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @stdout = dso_local local_unnamed_addr global i32 0, align 4 @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1 @O_RDWR = dso_local local_unnamed_addr global i32 0, align 4 @logname = dso_local local_unnamed_addr global ptr null, align 8 @O_WRONLY = dso_local local_unnamed_addr global i32 0, align 4 @O_APPEND = dso_local local_unnamed_addr global i32 0, align 4 @O_CREAT = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"logs reopened.\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @reopen_logs], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @reopen_logs() #0 { %1 = load i32, ptr @stdout, align 4, !tbaa !5 %2 = tail call i32 @fflush(i32 noundef %1) #2 %3 = load i32, ptr @stderr, align 4, !tbaa !5 %4 = tail call i32 @fflush(i32 noundef %3) #2 %5 = load i32, ptr @O_RDWR, align 4, !tbaa !5 %6 = tail call i32 @open(ptr noundef nonnull @.str, i32 noundef %5, i32 noundef 0) #2 %7 = icmp eq i32 %6, -1 br i1 %7, label %15, label %8 8: ; preds = %0 %9 = tail call i32 @dup2(i32 noundef %6, i32 noundef 0) #2 %10 = tail call i32 @dup2(i32 noundef %6, i32 noundef 1) #2 %11 = tail call i32 @dup2(i32 noundef %6, i32 noundef 2) #2 %12 = icmp sgt i32 %6, 2 br i1 %12, label %13, label %15 13: ; preds = %8 %14 = tail call i32 @close(i32 noundef %6) #2 br label %15 15: ; preds = %8, %13, %0 %16 = load ptr, ptr @logname, align 8, !tbaa !9 %17 = icmp eq ptr %16, null br i1 %17, label %32, label %18 18: ; preds = %15 %19 = load i32, ptr @O_WRONLY, align 4, !tbaa !5 %20 = load i32, ptr @O_APPEND, align 4, !tbaa !5 %21 = or i32 %20, %19 %22 = load i32, ptr @O_CREAT, align 4, !tbaa !5 %23 = or i32 %21, %22 %24 = tail call i32 @open(ptr noundef nonnull %16, i32 noundef %23, i32 noundef 416) #2 %25 = icmp eq i32 %24, -1 br i1 %25, label %32, label %26 26: ; preds = %18 %27 = tail call i32 @dup2(i32 noundef %24, i32 noundef 1) #2 %28 = tail call i32 @dup2(i32 noundef %24, i32 noundef 2) #2 %29 = icmp sgt i32 %24, 2 br i1 %29, label %30, label %32 30: ; preds = %26 %31 = tail call i32 @close(i32 noundef %24) #2 br label %32 32: ; preds = %26, %30, %18, %15 %33 = tail call i32 @vkprintf(i32 noundef 1, ptr noundef nonnull @.str.1) #2 ret void } declare i32 @fflush(i32 noundef) local_unnamed_addr #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dup2(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @close(i32 noundef) local_unnamed_addr #1 declare i32 @vkprintf(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/kphp-kdb/dhcp/extr_dhcp-engine.c_reopen_logs.c' source_filename = "AnghaBench/kphp-kdb/dhcp/extr_dhcp-engine.c_reopen_logs.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @stdout = common local_unnamed_addr global i32 0, align 4 @stderr = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1 @O_RDWR = common local_unnamed_addr global i32 0, align 4 @logname = common local_unnamed_addr global ptr null, align 8 @O_WRONLY = common local_unnamed_addr global i32 0, align 4 @O_APPEND = common local_unnamed_addr global i32 0, align 4 @O_CREAT = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"logs reopened.\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @reopen_logs], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @reopen_logs() #0 { %1 = load i32, ptr @stdout, align 4, !tbaa !6 %2 = tail call i32 @fflush(i32 noundef %1) #2 %3 = load i32, ptr @stderr, align 4, !tbaa !6 %4 = tail call i32 @fflush(i32 noundef %3) #2 %5 = load i32, ptr @O_RDWR, align 4, !tbaa !6 %6 = tail call i32 @open(ptr noundef nonnull @.str, i32 noundef %5, i32 noundef 0) #2 %7 = icmp eq i32 %6, -1 br i1 %7, label %15, label %8 8: ; preds = %0 %9 = tail call i32 @dup2(i32 noundef %6, i32 noundef 0) #2 %10 = tail call i32 @dup2(i32 noundef %6, i32 noundef 1) #2 %11 = tail call i32 @dup2(i32 noundef %6, i32 noundef 2) #2 %12 = icmp sgt i32 %6, 2 br i1 %12, label %13, label %15 13: ; preds = %8 %14 = tail call i32 @close(i32 noundef %6) #2 br label %15 15: ; preds = %8, %13, %0 %16 = load ptr, ptr @logname, align 8, !tbaa !10 %17 = icmp eq ptr %16, null br i1 %17, label %32, label %18 18: ; preds = %15 %19 = load i32, ptr @O_WRONLY, align 4, !tbaa !6 %20 = load i32, ptr @O_APPEND, align 4, !tbaa !6 %21 = or i32 %20, %19 %22 = load i32, ptr @O_CREAT, align 4, !tbaa !6 %23 = or i32 %21, %22 %24 = tail call i32 @open(ptr noundef nonnull %16, i32 noundef %23, i32 noundef 416) #2 %25 = icmp eq i32 %24, -1 br i1 %25, label %32, label %26 26: ; preds = %18 %27 = tail call i32 @dup2(i32 noundef %24, i32 noundef 1) #2 %28 = tail call i32 @dup2(i32 noundef %24, i32 noundef 2) #2 %29 = icmp sgt i32 %24, 2 br i1 %29, label %30, label %32 30: ; preds = %26 %31 = tail call i32 @close(i32 noundef %24) #2 br label %32 32: ; preds = %26, %30, %18, %15 %33 = tail call i32 @vkprintf(i32 noundef 1, ptr noundef nonnull @.str.1) #2 ret void } declare i32 @fflush(i32 noundef) local_unnamed_addr #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dup2(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @close(i32 noundef) local_unnamed_addr #1 declare i32 @vkprintf(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}
kphp-kdb_dhcp_extr_dhcp-engine.c_reopen_logs
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/extr_lgc.c_remarkupvals.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/extr_lgc.c_remarkupvals.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_11__ = type { i32, %struct.TYPE_9__ } %struct.TYPE_9__ = type { %struct.TYPE_8__ } %struct.TYPE_8__ = type { ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @remarkupvals], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @remarkupvals(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = icmp eq ptr %3, %0 br i1 %4, label %17, label %5 5: ; preds = %1, %13 %6 = phi ptr [ %15, %13 ], [ %3, %1 ] %7 = tail call i32 @obj2gco(ptr noundef %6) #2 %8 = tail call i64 @isgray(i32 noundef %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %5 %11 = load i32, ptr %6, align 8, !tbaa !13 %12 = tail call i32 @markvalue(ptr noundef %0, i32 noundef %11) #2 br label %13 13: ; preds = %5, %10 %14 = getelementptr inbounds %struct.TYPE_11__, ptr %6, i64 0, i32 1 %15 = load ptr, ptr %14, align 8, !tbaa !5 %16 = icmp eq ptr %15, %0 br i1 %16, label %17, label %5, !llvm.loop !14 17: ; preds = %13, %1 ret void } declare i64 @isgray(i32 noundef) local_unnamed_addr #1 declare i32 @obj2gco(ptr noundef) local_unnamed_addr #1 declare i32 @markvalue(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, !12, i64 8} !6 = !{!"TYPE_11__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_9__", !11, i64 0} !11 = !{!"TYPE_8__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!6, !7, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/extr_lgc.c_remarkupvals.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/extr_lgc.c_remarkupvals.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 @remarkupvals], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @remarkupvals(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = icmp eq ptr %3, %0 br i1 %4, label %17, label %5 5: ; preds = %1, %13 %6 = phi ptr [ %15, %13 ], [ %3, %1 ] %7 = tail call i32 @obj2gco(ptr noundef %6) #2 %8 = tail call i64 @isgray(i32 noundef %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %5 %11 = load i32, ptr %6, align 8, !tbaa !14 %12 = tail call i32 @markvalue(ptr noundef %0, i32 noundef %11) #2 br label %13 13: ; preds = %5, %10 %14 = getelementptr inbounds i8, ptr %6, i64 8 %15 = load ptr, ptr %14, align 8, !tbaa !6 %16 = icmp eq ptr %15, %0 br i1 %16, label %17, label %5, !llvm.loop !15 17: ; preds = %13, %1 ret void } declare i64 @isgray(i32 noundef) local_unnamed_addr #1 declare i32 @obj2gco(ptr noundef) local_unnamed_addr #1 declare i32 @markvalue(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, !13, i64 8} !7 = !{!"TYPE_11__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_9__", !12, i64 0} !12 = !{!"TYPE_8__", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!7, !8, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_lua_extr_lgc.c_remarkupvals
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/mips/extr_h264qpel_mmi.c_ff_avg_h264_qpel16_mc33_mmi.c' source_filename = "AnghaBench/FFmpeg/libavcodec/mips/extr_h264qpel_mmi.c_ff_avg_h264_qpel16_mc33_mmi.c" target datalayout = "e-m:e-p270:32:32-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 @ff_avg_h264_qpel16_mc33_mmi(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca [336 x i32], align 16 %5 = alloca [256 x i32], align 16 %6 = alloca [256 x i32], align 16 call void @llvm.lifetime.start.p0(i64 1344, ptr nonnull %4) #3 %7 = getelementptr inbounds i32, ptr %4, i64 32 call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %6) #3 %8 = sext i32 %2 to i64 %9 = getelementptr inbounds i32, ptr %1, i64 %8 %10 = call i32 @put_h264_qpel16_h_lowpass_mmi(ptr noundef nonnull %5, ptr noundef %9, i32 noundef 16, i32 noundef %2) #3 %11 = shl nsw i32 %2, 1 %12 = sext i32 %11 to i64 %13 = sub nsw i64 0, %12 %14 = getelementptr inbounds i32, ptr %1, i64 %13 %15 = getelementptr inbounds i32, ptr %14, i64 1 %16 = call i32 @copy_block16_mmi(ptr noundef nonnull %4, ptr noundef nonnull %15, i32 noundef 16, i32 noundef %2, i32 noundef 21) #3 %17 = call i32 @put_h264_qpel16_v_lowpass_mmi(ptr noundef nonnull %6, ptr noundef nonnull %7, i32 noundef 16, i32 noundef 16) #3 %18 = call i32 @ff_avg_pixels16_l2_8_mmi(ptr noundef %0, ptr noundef nonnull %5, ptr noundef nonnull %6, i32 noundef %2, i32 noundef 16, i32 noundef 16, i32 noundef 16) #3 call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 1344, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @put_h264_qpel16_h_lowpass_mmi(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @copy_block16_mmi(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @put_h264_qpel16_v_lowpass_mmi(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ff_avg_pixels16_l2_8_mmi(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/mips/extr_h264qpel_mmi.c_ff_avg_h264_qpel16_mc33_mmi.c' source_filename = "AnghaBench/FFmpeg/libavcodec/mips/extr_h264qpel_mmi.c_ff_avg_h264_qpel16_mc33_mmi.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 @ff_avg_h264_qpel16_mc33_mmi(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca [336 x i32], align 4 %5 = alloca [256 x i32], align 4 %6 = alloca [256 x i32], align 4 call void @llvm.lifetime.start.p0(i64 1344, ptr nonnull %4) #3 %7 = getelementptr inbounds i8, ptr %4, i64 128 call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %6) #3 %8 = sext i32 %2 to i64 %9 = getelementptr inbounds i32, ptr %1, i64 %8 %10 = call i32 @put_h264_qpel16_h_lowpass_mmi(ptr noundef nonnull %5, ptr noundef %9, i32 noundef 16, i32 noundef %2) #3 %11 = shl nsw i32 %2, 1 %12 = sext i32 %11 to i64 %13 = sub nsw i64 0, %12 %14 = getelementptr inbounds i32, ptr %1, i64 %13 %15 = getelementptr inbounds i8, ptr %14, i64 4 %16 = call i32 @copy_block16_mmi(ptr noundef nonnull %4, ptr noundef nonnull %15, i32 noundef 16, i32 noundef %2, i32 noundef 21) #3 %17 = call i32 @put_h264_qpel16_v_lowpass_mmi(ptr noundef nonnull %6, ptr noundef nonnull %7, i32 noundef 16, i32 noundef 16) #3 %18 = call i32 @ff_avg_pixels16_l2_8_mmi(ptr noundef %0, ptr noundef nonnull %5, ptr noundef nonnull %6, i32 noundef %2, i32 noundef 16, i32 noundef 16, i32 noundef 16) #3 call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 1344, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @put_h264_qpel16_h_lowpass_mmi(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @copy_block16_mmi(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @put_h264_qpel16_v_lowpass_mmi(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ff_avg_pixels16_l2_8_mmi(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
FFmpeg_libavcodec_mips_extr_h264qpel_mmi.c_ff_avg_h264_qpel16_mc33_mmi
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/lib/isc/extr_timer_api.c_isc_timer_create.c' source_filename = "AnghaBench/freebsd/contrib/ntp/lib/isc/extr_timer_api.c_isc_timer_create.c" target datalayout = "e-m:e-p270:32:32-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 @isc_timer_create(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #0 { %9 = tail call i32 @ISCAPI_TIMERMGR_VALID(ptr noundef %0) #2 %10 = tail call i32 @REQUIRE(i32 noundef %9) #2 %11 = load ptr, ptr %0, align 8, !tbaa !5 %12 = load ptr, ptr %11, align 8, !tbaa !10 %13 = tail call i32 %12(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #2 ret i32 %13 } declare i32 @REQUIRE(i32 noundef) local_unnamed_addr #1 declare i32 @ISCAPI_TIMERMGR_VALID(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_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_6__", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/lib/isc/extr_timer_api.c_isc_timer_create.c' source_filename = "AnghaBench/freebsd/contrib/ntp/lib/isc/extr_timer_api.c_isc_timer_create.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 @isc_timer_create(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #0 { %9 = tail call i32 @ISCAPI_TIMERMGR_VALID(ptr noundef %0) #2 %10 = tail call i32 @REQUIRE(i32 noundef %9) #2 %11 = load ptr, ptr %0, align 8, !tbaa !6 %12 = load ptr, ptr %11, align 8, !tbaa !11 %13 = tail call i32 %12(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #2 ret i32 %13 } declare i32 @REQUIRE(i32 noundef) local_unnamed_addr #1 declare i32 @ISCAPI_TIMERMGR_VALID(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_7__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_6__", !8, i64 0}
freebsd_contrib_ntp_lib_isc_extr_timer_api.c_isc_timer_create
; ModuleID = 'AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_shorthash/siphash24/extr_shorthash_siphashx24.c_crypto_shorthash_siphashx24_keybytes.c' source_filename = "AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_shorthash/siphash24/extr_shorthash_siphashx24.c_crypto_shorthash_siphashx24_keybytes.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @crypto_shorthash_siphashx24_KEYBYTES = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define dso_local i64 @crypto_shorthash_siphashx24_keybytes() local_unnamed_addr #0 { %1 = load i64, ptr @crypto_shorthash_siphashx24_KEYBYTES, align 8, !tbaa !5 ret i64 %1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_shorthash/siphash24/extr_shorthash_siphashx24.c_crypto_shorthash_siphashx24_keybytes.c' source_filename = "AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_shorthash/siphash24/extr_shorthash_siphashx24.c_crypto_shorthash_siphashx24_keybytes.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @crypto_shorthash_siphashx24_KEYBYTES = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define i64 @crypto_shorthash_siphashx24_keybytes() local_unnamed_addr #0 { %1 = load i64, ptr @crypto_shorthash_siphashx24_KEYBYTES, align 8, !tbaa !6 ret i64 %1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_contrib_libsodium_src_libsodium_crypto_shorthash_siphash24_extr_shorthash_siphashx24.c_crypto_shorthash_siphashx24_keybytes
; ModuleID = 'AnghaBench/RetroArch/tasks/extr_task_autodetect.c_input_is_autoconfigured.c' source_filename = "AnghaBench/RetroArch/tasks/extr_task_autodetect.c_input_is_autoconfigured.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @input_autoconfigured = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define dso_local i32 @input_is_autoconfigured(i32 noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @input_autoconfigured, align 8, !tbaa !5 %3 = zext i32 %0 to i64 %4 = getelementptr inbounds i32, ptr %2, i64 %3 %5 = load i32, ptr %4, align 4, !tbaa !9 ret i32 %5 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/RetroArch/tasks/extr_task_autodetect.c_input_is_autoconfigured.c' source_filename = "AnghaBench/RetroArch/tasks/extr_task_autodetect.c_input_is_autoconfigured.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @input_autoconfigured = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define i32 @input_is_autoconfigured(i32 noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @input_autoconfigured, align 8, !tbaa !6 %3 = zext i32 %0 to i64 %4 = getelementptr inbounds i32, ptr %2, i64 %3 %5 = load i32, ptr %4, align 4, !tbaa !10 ret i32 %5 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
RetroArch_tasks_extr_task_autodetect.c_input_is_autoconfigured
; ModuleID = 'AnghaBench/linux/drivers/xen/extr_mcelog.c_xen_mce_chrdev_open.c' source_filename = "AnghaBench/linux/drivers/xen/extr_mcelog.c_xen_mce_chrdev_open.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @xen_mce_chrdev_state_lock = dso_local global i32 0, align 4 @xen_mce_chrdev_open_exclu = dso_local local_unnamed_addr global i32 0, align 4 @xen_mce_chrdev_open_count = dso_local local_unnamed_addr global i64 0, align 8 @O_EXCL = dso_local local_unnamed_addr global i32 0, align 4 @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @xen_mce_chrdev_open], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @xen_mce_chrdev_open(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @spin_lock(ptr noundef nonnull @xen_mce_chrdev_state_lock) #2 %4 = load i32, ptr @xen_mce_chrdev_open_exclu, align 4, !tbaa !5 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %14 6: ; preds = %2 %7 = load i64, ptr @xen_mce_chrdev_open_count, align 8, !tbaa !9 %8 = icmp eq i64 %7, 0 %9 = load i32, ptr %1, align 4, !tbaa !11 %10 = load i32, ptr @O_EXCL, align 4, !tbaa !5 %11 = and i32 %10, %9 %12 = icmp eq i32 %11, 0 br i1 %8, label %18, label %13 13: ; preds = %6 br i1 %12, label %20, label %14 14: ; preds = %13, %2 %15 = tail call i32 @spin_unlock(ptr noundef nonnull @xen_mce_chrdev_state_lock) #2 %16 = load i32, ptr @EBUSY, align 4, !tbaa !5 %17 = sub nsw i32 0, %16 br label %24 18: ; preds = %6 br i1 %12, label %20, label %19 19: ; preds = %18 store i32 1, ptr @xen_mce_chrdev_open_exclu, align 4, !tbaa !5 br label %20 20: ; preds = %13, %19, %18 %21 = add nsw i64 %7, 1 store i64 %21, ptr @xen_mce_chrdev_open_count, align 8, !tbaa !9 %22 = tail call i32 @spin_unlock(ptr noundef nonnull @xen_mce_chrdev_state_lock) #2 %23 = tail call i32 @nonseekable_open(ptr noundef %0, ptr noundef nonnull %1) #2 br label %24 24: ; preds = %20, %14 %25 = phi i32 [ %17, %14 ], [ %23, %20 ] ret i32 %25 } declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @nonseekable_open(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, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"file", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/xen/extr_mcelog.c_xen_mce_chrdev_open.c' source_filename = "AnghaBench/linux/drivers/xen/extr_mcelog.c_xen_mce_chrdev_open.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @xen_mce_chrdev_state_lock = common global i32 0, align 4 @xen_mce_chrdev_open_exclu = common local_unnamed_addr global i32 0, align 4 @xen_mce_chrdev_open_count = common local_unnamed_addr global i64 0, align 8 @O_EXCL = common local_unnamed_addr global i32 0, align 4 @EBUSY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @xen_mce_chrdev_open], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @xen_mce_chrdev_open(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @spin_lock(ptr noundef nonnull @xen_mce_chrdev_state_lock) #2 %4 = load i32, ptr @xen_mce_chrdev_open_exclu, align 4, !tbaa !6 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %14 6: ; preds = %2 %7 = load i64, ptr @xen_mce_chrdev_open_count, align 8, !tbaa !10 %8 = icmp eq i64 %7, 0 %9 = load i32, ptr %1, align 4, !tbaa !12 %10 = load i32, ptr @O_EXCL, align 4, !tbaa !6 %11 = and i32 %10, %9 %12 = icmp eq i32 %11, 0 br i1 %8, label %18, label %13 13: ; preds = %6 br i1 %12, label %20, label %14 14: ; preds = %13, %2 %15 = tail call i32 @spin_unlock(ptr noundef nonnull @xen_mce_chrdev_state_lock) #2 %16 = load i32, ptr @EBUSY, align 4, !tbaa !6 %17 = sub nsw i32 0, %16 br label %24 18: ; preds = %6 br i1 %12, label %20, label %19 19: ; preds = %18 store i32 1, ptr @xen_mce_chrdev_open_exclu, align 4, !tbaa !6 br label %20 20: ; preds = %13, %19, %18 %21 = add nsw i64 %7, 1 store i64 %21, ptr @xen_mce_chrdev_open_count, align 8, !tbaa !10 %22 = tail call i32 @spin_unlock(ptr noundef nonnull @xen_mce_chrdev_state_lock) #2 %23 = tail call i32 @nonseekable_open(ptr noundef %0, ptr noundef nonnull %1) #2 br label %24 24: ; preds = %20, %14 %25 = phi i32 [ %17, %14 ], [ %23, %20 ] ret i32 %25 } declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @nonseekable_open(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, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"file", !7, i64 0}
linux_drivers_xen_extr_mcelog.c_xen_mce_chrdev_open
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/gdbserver/extr_thread-db.c_find_new_threads_callback.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/gdbserver/extr_thread-db.c_find_new_threads_callback.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i64 } @TD_OK = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [27 x i8] c"Cannot get thread info: %s\00", align 1 @TD_THR_UNKNOWN = dso_local local_unnamed_addr global i64 0, align 8 @TD_THR_ZOMBIE = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @find_new_threads_callback], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @find_new_threads_callback(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = alloca %struct.TYPE_4__, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = call i64 @td_thr_get_info(ptr noundef %0, ptr noundef nonnull %3) #3 %5 = load i64, ptr @TD_OK, align 8, !tbaa !5 %6 = icmp eq i64 %4, %5 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = call i32 @thread_db_err_str(i64 noundef %4) #3 %9 = call i32 @error(ptr noundef nonnull @.str, i32 noundef %8) #3 br label %10 10: ; preds = %7, %2 %11 = load i64, ptr %3, align 8, !tbaa !9 %12 = load i64, ptr @TD_THR_UNKNOWN, align 8, !tbaa !5 %13 = icmp eq i64 %11, %12 %14 = load i64, ptr @TD_THR_ZOMBIE, align 8 %15 = icmp eq i64 %11, %14 %16 = select i1 %13, i1 true, i1 %15 br i1 %16, label %19, label %17 17: ; preds = %10 %18 = call i32 @maybe_attach_thread(ptr noundef %0, ptr noundef nonnull %3) #3 br label %19 19: ; preds = %10, %17 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @td_thr_get_info(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @error(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @thread_db_err_str(i64 noundef) local_unnamed_addr #2 declare i32 @maybe_attach_thread(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"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_4__", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/gdbserver/extr_thread-db.c_find_new_threads_callback.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/gdbserver/extr_thread-db.c_find_new_threads_callback.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 } @TD_OK = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [27 x i8] c"Cannot get thread info: %s\00", align 1 @TD_THR_UNKNOWN = common local_unnamed_addr global i64 0, align 8 @TD_THR_ZOMBIE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @find_new_threads_callback], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @find_new_threads_callback(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = alloca %struct.TYPE_4__, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = call i64 @td_thr_get_info(ptr noundef %0, ptr noundef nonnull %3) #3 %5 = load i64, ptr @TD_OK, align 8, !tbaa !6 %6 = icmp eq i64 %4, %5 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = call i32 @thread_db_err_str(i64 noundef %4) #3 %9 = call i32 @error(ptr noundef nonnull @.str, i32 noundef %8) #3 br label %10 10: ; preds = %7, %2 %11 = load i64, ptr %3, align 8, !tbaa !10 %12 = load i64, ptr @TD_THR_UNKNOWN, align 8, !tbaa !6 %13 = icmp eq i64 %11, %12 %14 = load i64, ptr @TD_THR_ZOMBIE, align 8 %15 = icmp eq i64 %11, %14 %16 = select i1 %13, i1 true, i1 %15 br i1 %16, label %19, label %17 17: ; preds = %10 %18 = call i32 @maybe_attach_thread(ptr noundef %0, ptr noundef nonnull %3) #3 br label %19 19: ; preds = %10, %17 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @td_thr_get_info(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @error(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @thread_db_err_str(i64 noundef) local_unnamed_addr #2 declare i32 @maybe_attach_thread(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"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_4__", !7, i64 0}
freebsd_contrib_gdb_gdb_gdbserver_extr_thread-db.c_find_new_threads_callback
; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_msm_iommu.c_msm_iommu_domain_free.c' source_filename = "AnghaBench/linux/drivers/iommu/extr_msm_iommu.c_msm_iommu_domain_free.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @msm_iommu_lock = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @msm_iommu_domain_free], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @msm_iommu_domain_free(ptr noundef %0) #0 { %2 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @msm_iommu_lock, i64 noundef undef) #2 %3 = tail call ptr @to_msm_priv(ptr noundef %0) #2 %4 = tail call i32 @kfree(ptr noundef %3) #2 %5 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @msm_iommu_lock, i64 noundef undef) #2 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @to_msm_priv(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_msm_iommu.c_msm_iommu_domain_free.c' source_filename = "AnghaBench/linux/drivers/iommu/extr_msm_iommu.c_msm_iommu_domain_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @msm_iommu_lock = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @msm_iommu_domain_free], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @msm_iommu_domain_free(ptr noundef %0) #0 { %2 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @msm_iommu_lock, i64 noundef undef) #2 %3 = tail call ptr @to_msm_priv(ptr noundef %0) #2 %4 = tail call i32 @kfree(ptr noundef %3) #2 %5 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @msm_iommu_lock, i64 noundef undef) #2 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @to_msm_priv(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_iommu_extr_msm_iommu.c_msm_iommu_domain_free