IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/gb-studio/buildTools/darwin-x64/gbdk/libc/extr_ltoa.c_ltoa.c' source_filename = "AnghaBench/gb-studio/buildTools/darwin-x64/gbdk/libc/extr_ltoa.c_ltoa.c" target datalayout = "e-m:e-p270:32:32-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 ptr @ltoa(i64 noundef %0, ptr noundef returned %1) local_unnamed_addr #0 { %3 = tail call i64 @llvm.abs.i64(i64 %0, i1 true) br label %4 4: ; preds = %4, %2 %5 = phi i64 [ %10, %4 ], [ 0, %2 ] %6 = phi i64 [ %12, %4 ], [ %3, %2 ] %7 = urem i64 %6, 10 %8 = trunc i64 %7 to i8 %9 = or disjoint i8 %8, 48 %10 = add nuw i64 %5, 1 %11 = getelementptr inbounds i8, ptr %1, i64 %5 store i8 %9, ptr %11, align 1, !tbaa !5 %12 = udiv i64 %6, 10 %13 = icmp ugt i64 %6, 9 br i1 %13, label %4, label %14, !llvm.loop !8 14: ; preds = %4 %15 = icmp sgt i64 %0, -1 br i1 %15, label %20, label %16 16: ; preds = %14 %17 = add i64 %5, 2 %18 = and i64 %10, 4294967295 %19 = getelementptr inbounds i8, ptr %1, i64 %18 store i8 45, ptr %19, align 1, !tbaa !5 br label %20 20: ; preds = %16, %14 %21 = phi i64 [ %17, %16 ], [ %10, %14 ] %22 = shl i64 %21, 32 %23 = ashr exact i64 %22, 32 %24 = getelementptr inbounds i8, ptr %1, i64 %23 store i8 0, ptr %24, align 1, !tbaa !5 %25 = tail call i32 @reverse(ptr noundef nonnull %1) #3 ret ptr %1 } declare i32 @reverse(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.abs.i64(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 nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/gb-studio/buildTools/darwin-x64/gbdk/libc/extr_ltoa.c_ltoa.c' source_filename = "AnghaBench/gb-studio/buildTools/darwin-x64/gbdk/libc/extr_ltoa.c_ltoa.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 ptr @ltoa(i64 noundef %0, ptr noundef returned %1) local_unnamed_addr #0 { %3 = tail call i64 @llvm.abs.i64(i64 %0, i1 true) br label %4 4: ; preds = %4, %2 %5 = phi i64 [ %13, %4 ], [ 0, %2 ] %6 = phi i64 [ %8, %4 ], [ %3, %2 ] %7 = freeze i64 %6 %8 = udiv i64 %7, 10 %9 = mul i64 %8, 10 %10 = sub i64 %7, %9 %11 = trunc nuw nsw i64 %10 to i8 %12 = or disjoint i8 %11, 48 %13 = add nuw nsw i64 %5, 1 %14 = getelementptr inbounds i8, ptr %1, i64 %5 store i8 %12, ptr %14, align 1, !tbaa !6 %15 = icmp ult i64 %6, 10 br i1 %15, label %16, label %4, !llvm.loop !9 16: ; preds = %4 %17 = icmp sgt i64 %0, -1 br i1 %17, label %22, label %18 18: ; preds = %16 %19 = add nuw i64 %5, 2 %20 = and i64 %13, 4294967295 %21 = getelementptr inbounds i8, ptr %1, i64 %20 store i8 45, ptr %21, align 1, !tbaa !6 br label %22 22: ; preds = %18, %16 %23 = phi i64 [ %19, %18 ], [ %13, %16 ] %24 = shl i64 %23, 32 %25 = ashr exact i64 %24, 32 %26 = getelementptr inbounds i8, ptr %1, i64 %25 store i8 0, ptr %26, align 1, !tbaa !6 %27 = tail call i32 @reverse(ptr noundef nonnull %1) #3 ret ptr %1 } declare i32 @reverse(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.abs.i64(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 nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
gb-studio_buildTools_darwin-x64_gbdk_libc_extr_ltoa.c_ltoa
; ModuleID = 'AnghaBench/linux/drivers/mailbox/extr_imx-mailbox.c_imx_mu_probe.c' source_filename = "AnghaBench/linux/drivers/mailbox/extr_imx-mailbox.c_imx_mu_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.imx_mu_priv = type { i64, %struct.TYPE_4__, ptr, i32, i32, ptr, ptr, ptr, ptr } %struct.TYPE_4__ = type { i32, i32, i32, ptr, ptr, ptr } %struct.imx_mu_con_priv = type { i32, i32, i32, ptr } %struct.TYPE_3__ = type { ptr } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"Failed to enable clock\0A\00", align 1 @IMX_MU_CHANS = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"imx_mu_chan[%i-%i]\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"fsl,mu-side-b\00", align 1 @imx_mu_ops = dso_local global i32 0, align 4 @imx_mu_xlate = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @imx_mu_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @imx_mu_probe(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !10 %4 = tail call ptr @devm_kzalloc(ptr noundef nonnull %0, i32 noundef 96, i32 noundef %3) #2 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load i32, ptr @ENOMEM, align 4, !tbaa !10 %8 = sub nsw i32 0, %7 br label %86 9: ; preds = %1 %10 = getelementptr inbounds %struct.imx_mu_priv, ptr %4, i64 0, i32 8 store ptr %0, ptr %10, align 8, !tbaa !12 %11 = tail call ptr @devm_platform_ioremap_resource(ptr noundef nonnull %0, i32 noundef 0) #2 %12 = getelementptr inbounds %struct.imx_mu_priv, ptr %4, i64 0, i32 7 store ptr %11, ptr %12, align 8, !tbaa !16 %13 = tail call i64 @IS_ERR(ptr noundef %11) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %9 %16 = load ptr, ptr %12, align 8, !tbaa !16 %17 = tail call i32 @PTR_ERR(ptr noundef %16) #2 br label %86 18: ; preds = %9 %19 = tail call i64 @platform_get_irq(ptr noundef nonnull %0, i32 noundef 0) #2 store i64 %19, ptr %4, align 8, !tbaa !17 %20 = icmp slt i64 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = trunc i64 %19 to i32 br label %86 23: ; preds = %18 %24 = tail call ptr @devm_clk_get(ptr noundef nonnull %0, ptr noundef null) #2 %25 = getelementptr inbounds %struct.imx_mu_priv, ptr %4, i64 0, i32 6 store ptr %24, ptr %25, align 8, !tbaa !18 %26 = tail call i64 @IS_ERR(ptr noundef %24) #2 %27 = icmp eq i64 %26, 0 %28 = load ptr, ptr %25, align 8, !tbaa !18 br i1 %27, label %38, label %29 29: ; preds = %23 %30 = tail call i32 @PTR_ERR(ptr noundef %28) #2 %31 = load i32, ptr @ENOENT, align 4, !tbaa !10 %32 = sub nsw i32 0, %31 %33 = icmp eq i32 %30, %32 br i1 %33, label %37, label %34 34: ; preds = %29 %35 = load ptr, ptr %25, align 8, !tbaa !18 %36 = tail call i32 @PTR_ERR(ptr noundef %35) #2 br label %86 37: ; preds = %29 store ptr null, ptr %25, align 8, !tbaa !18 br label %38 38: ; preds = %37, %23 %39 = phi ptr [ null, %37 ], [ %28, %23 ] %40 = tail call i32 @clk_prepare_enable(ptr noundef %39) #2 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %48 42: ; preds = %38 %43 = load i32, ptr @IMX_MU_CHANS, align 4, !tbaa !10 %44 = icmp eq i32 %43, 0 br i1 %44, label %68, label %45 45: ; preds = %42 %46 = getelementptr inbounds %struct.imx_mu_priv, ptr %4, i64 0, i32 5 %47 = getelementptr inbounds %struct.imx_mu_priv, ptr %4, i64 0, i32 2 br label %50 48: ; preds = %38 %49 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2 br label %86 50: ; preds = %45, %50 %51 = phi i64 [ 0, %45 ], [ %64, %50 ] %52 = load ptr, ptr %46, align 8, !tbaa !19 %53 = getelementptr inbounds %struct.imx_mu_con_priv, ptr %52, i64 %51 %54 = trunc i64 %51 to i32 %55 = and i32 %54, 3 store i32 %55, ptr %53, align 8, !tbaa !20 %56 = lshr i32 %54, 2 %57 = getelementptr inbounds %struct.imx_mu_con_priv, ptr %52, i64 %51, i32 1 store i32 %56, ptr %57, align 4, !tbaa !22 %58 = load ptr, ptr %47, align 8, !tbaa !23 %59 = getelementptr inbounds %struct.TYPE_3__, ptr %58, i64 %51 %60 = getelementptr inbounds %struct.imx_mu_con_priv, ptr %52, i64 %51, i32 3 store ptr %59, ptr %60, align 8, !tbaa !24 store ptr %53, ptr %59, align 8, !tbaa !25 %61 = getelementptr inbounds %struct.imx_mu_con_priv, ptr %52, i64 %51, i32 2 %62 = load i32, ptr %61, align 8, !tbaa !27 %63 = tail call i32 @snprintf(i32 noundef %62, i32 noundef 4, ptr noundef nonnull @.str.1, i32 noundef %56, i32 noundef %55) #2 %64 = add nuw nsw i64 %51, 1 %65 = load i32, ptr @IMX_MU_CHANS, align 4, !tbaa !10 %66 = zext i32 %65 to i64 %67 = icmp ult i64 %64, %66 br i1 %67, label %50, label %68, !llvm.loop !28 68: ; preds = %50, %42 %69 = tail call i32 @of_property_read_bool(ptr noundef %2, ptr noundef nonnull @.str.2) #2 %70 = getelementptr inbounds %struct.imx_mu_priv, ptr %4, i64 0, i32 4 store i32 %69, ptr %70, align 4, !tbaa !30 %71 = getelementptr inbounds %struct.imx_mu_priv, ptr %4, i64 0, i32 3 %72 = tail call i32 @spin_lock_init(ptr noundef nonnull %71) #2 %73 = getelementptr inbounds %struct.imx_mu_priv, ptr %4, i64 0, i32 1 %74 = getelementptr inbounds %struct.imx_mu_priv, ptr %4, i64 0, i32 1, i32 5 store ptr %0, ptr %74, align 8, !tbaa !31 %75 = getelementptr inbounds %struct.imx_mu_priv, ptr %4, i64 0, i32 1, i32 4 store ptr @imx_mu_ops, ptr %75, align 8, !tbaa !32 %76 = getelementptr inbounds %struct.imx_mu_priv, ptr %4, i64 0, i32 2 %77 = load ptr, ptr %76, align 8, !tbaa !23 %78 = getelementptr inbounds %struct.imx_mu_priv, ptr %4, i64 0, i32 1, i32 3 store ptr %77, ptr %78, align 8, !tbaa !33 %79 = load i32, ptr @IMX_MU_CHANS, align 4, !tbaa !10 store i32 %79, ptr %73, align 8, !tbaa !34 %80 = load i32, ptr @imx_mu_xlate, align 4, !tbaa !10 %81 = getelementptr inbounds %struct.imx_mu_priv, ptr %4, i64 0, i32 1, i32 2 store i32 %80, ptr %81, align 8, !tbaa !35 %82 = getelementptr inbounds %struct.imx_mu_priv, ptr %4, i64 0, i32 1, i32 1 store i32 1, ptr %82, align 4, !tbaa !36 %83 = tail call i32 @platform_set_drvdata(ptr noundef nonnull %0, ptr noundef nonnull %4) #2 %84 = tail call i32 @imx_mu_init_generic(ptr noundef nonnull %4) #2 %85 = tail call i32 @devm_mbox_controller_register(ptr noundef nonnull %0, ptr noundef nonnull %73) #2 br label %86 86: ; preds = %68, %48, %34, %21, %15, %6 %87 = phi i32 [ %17, %15 ], [ %22, %21 ], [ %36, %34 ], [ %40, %48 ], [ %85, %68 ], [ %8, %6 ] ret i32 %87 } declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @devm_platform_ioremap_resource(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i64 @platform_get_irq(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @devm_clk_get(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @clk_prepare_enable(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @of_property_read_bool(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @platform_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @imx_mu_init_generic(ptr noundef) local_unnamed_addr #1 declare i32 @devm_mbox_controller_register(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"device", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !7, i64 88} !13 = !{!"imx_mu_priv", !14, i64 0, !15, i64 8, !7, i64 48, !11, i64 56, !11, i64 60, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88} !14 = !{!"long", !8, i64 0} !15 = !{!"TYPE_4__", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 16, !7, i64 24, !7, i64 32} !16 = !{!13, !7, i64 80} !17 = !{!13, !14, i64 0} !18 = !{!13, !7, i64 72} !19 = !{!13, !7, i64 64} !20 = !{!21, !11, i64 0} !21 = !{!"imx_mu_con_priv", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 16} !22 = !{!21, !11, i64 4} !23 = !{!13, !7, i64 48} !24 = !{!21, !7, i64 16} !25 = !{!26, !7, i64 0} !26 = !{!"TYPE_3__", !7, i64 0} !27 = !{!21, !11, i64 8} !28 = distinct !{!28, !29} !29 = !{!"llvm.loop.mustprogress"} !30 = !{!13, !11, i64 60} !31 = !{!13, !7, i64 40} !32 = !{!13, !7, i64 32} !33 = !{!13, !7, i64 24} !34 = !{!13, !11, i64 8} !35 = !{!13, !11, i64 16} !36 = !{!13, !11, i64 12}
; ModuleID = 'AnghaBench/linux/drivers/mailbox/extr_imx-mailbox.c_imx_mu_probe.c' source_filename = "AnghaBench/linux/drivers/mailbox/extr_imx-mailbox.c_imx_mu_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.imx_mu_con_priv = type { i32, i32, i32, ptr } %struct.TYPE_3__ = type { ptr } @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @ENOENT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"Failed to enable clock\0A\00", align 1 @IMX_MU_CHANS = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"imx_mu_chan[%i-%i]\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"fsl,mu-side-b\00", align 1 @imx_mu_ops = common global i32 0, align 4 @imx_mu_xlate = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @imx_mu_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @imx_mu_probe(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11 %4 = tail call ptr @devm_kzalloc(ptr noundef nonnull %0, i32 noundef 96, i32 noundef %3) #2 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %8 = sub nsw i32 0, %7 br label %86 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %4, i64 88 store ptr %0, ptr %10, align 8, !tbaa !13 %11 = tail call ptr @devm_platform_ioremap_resource(ptr noundef nonnull %0, i32 noundef 0) #2 %12 = getelementptr inbounds i8, ptr %4, i64 80 store ptr %11, ptr %12, align 8, !tbaa !17 %13 = tail call i64 @IS_ERR(ptr noundef %11) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %9 %16 = load ptr, ptr %12, align 8, !tbaa !17 %17 = tail call i32 @PTR_ERR(ptr noundef %16) #2 br label %86 18: ; preds = %9 %19 = tail call i64 @platform_get_irq(ptr noundef nonnull %0, i32 noundef 0) #2 store i64 %19, ptr %4, align 8, !tbaa !18 %20 = icmp slt i64 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = trunc i64 %19 to i32 br label %86 23: ; preds = %18 %24 = tail call ptr @devm_clk_get(ptr noundef nonnull %0, ptr noundef null) #2 %25 = getelementptr inbounds i8, ptr %4, i64 72 store ptr %24, ptr %25, align 8, !tbaa !19 %26 = tail call i64 @IS_ERR(ptr noundef %24) #2 %27 = icmp eq i64 %26, 0 %28 = load ptr, ptr %25, align 8, !tbaa !19 br i1 %27, label %38, label %29 29: ; preds = %23 %30 = tail call i32 @PTR_ERR(ptr noundef %28) #2 %31 = load i32, ptr @ENOENT, align 4, !tbaa !11 %32 = sub nsw i32 0, %31 %33 = icmp eq i32 %30, %32 br i1 %33, label %37, label %34 34: ; preds = %29 %35 = load ptr, ptr %25, align 8, !tbaa !19 %36 = tail call i32 @PTR_ERR(ptr noundef %35) #2 br label %86 37: ; preds = %29 store ptr null, ptr %25, align 8, !tbaa !19 br label %38 38: ; preds = %37, %23 %39 = phi ptr [ null, %37 ], [ %28, %23 ] %40 = tail call i32 @clk_prepare_enable(ptr noundef %39) #2 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %48 42: ; preds = %38 %43 = load i32, ptr @IMX_MU_CHANS, align 4, !tbaa !11 %44 = icmp eq i32 %43, 0 br i1 %44, label %68, label %45 45: ; preds = %42 %46 = getelementptr inbounds i8, ptr %4, i64 64 %47 = getelementptr inbounds i8, ptr %4, i64 48 br label %50 48: ; preds = %38 %49 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2 br label %86 50: ; preds = %45, %50 %51 = phi i64 [ 0, %45 ], [ %64, %50 ] %52 = load ptr, ptr %46, align 8, !tbaa !20 %53 = getelementptr inbounds %struct.imx_mu_con_priv, ptr %52, i64 %51 %54 = trunc nuw i64 %51 to i32 %55 = and i32 %54, 3 store i32 %55, ptr %53, align 8, !tbaa !21 %56 = lshr i32 %54, 2 %57 = getelementptr inbounds i8, ptr %53, i64 4 store i32 %56, ptr %57, align 4, !tbaa !23 %58 = load ptr, ptr %47, align 8, !tbaa !24 %59 = getelementptr inbounds %struct.TYPE_3__, ptr %58, i64 %51 %60 = getelementptr inbounds i8, ptr %53, i64 16 store ptr %59, ptr %60, align 8, !tbaa !25 store ptr %53, ptr %59, align 8, !tbaa !26 %61 = getelementptr inbounds i8, ptr %53, i64 8 %62 = load i32, ptr %61, align 8, !tbaa !28 %63 = tail call i32 @snprintf(i32 noundef %62, i32 noundef 4, ptr noundef nonnull @.str.1, i32 noundef %56, i32 noundef %55) #2 %64 = add nuw nsw i64 %51, 1 %65 = load i32, ptr @IMX_MU_CHANS, align 4, !tbaa !11 %66 = zext i32 %65 to i64 %67 = icmp ult i64 %64, %66 br i1 %67, label %50, label %68, !llvm.loop !29 68: ; preds = %50, %42 %69 = tail call i32 @of_property_read_bool(ptr noundef %2, ptr noundef nonnull @.str.2) #2 %70 = getelementptr inbounds i8, ptr %4, i64 60 store i32 %69, ptr %70, align 4, !tbaa !31 %71 = getelementptr inbounds i8, ptr %4, i64 56 %72 = tail call i32 @spin_lock_init(ptr noundef nonnull %71) #2 %73 = getelementptr inbounds i8, ptr %4, i64 8 %74 = getelementptr inbounds i8, ptr %4, i64 40 store ptr %0, ptr %74, align 8, !tbaa !32 %75 = getelementptr inbounds i8, ptr %4, i64 32 store ptr @imx_mu_ops, ptr %75, align 8, !tbaa !33 %76 = getelementptr inbounds i8, ptr %4, i64 48 %77 = load ptr, ptr %76, align 8, !tbaa !24 %78 = getelementptr inbounds i8, ptr %4, i64 24 store ptr %77, ptr %78, align 8, !tbaa !34 %79 = load i32, ptr @IMX_MU_CHANS, align 4, !tbaa !11 store i32 %79, ptr %73, align 8, !tbaa !35 %80 = load i32, ptr @imx_mu_xlate, align 4, !tbaa !11 %81 = getelementptr inbounds i8, ptr %4, i64 16 store i32 %80, ptr %81, align 8, !tbaa !36 %82 = getelementptr inbounds i8, ptr %4, i64 12 store i32 1, ptr %82, align 4, !tbaa !37 %83 = tail call i32 @platform_set_drvdata(ptr noundef nonnull %0, ptr noundef nonnull %4) #2 %84 = tail call i32 @imx_mu_init_generic(ptr noundef nonnull %4) #2 %85 = tail call i32 @devm_mbox_controller_register(ptr noundef nonnull %0, ptr noundef nonnull %73) #2 br label %86 86: ; preds = %68, %48, %34, %21, %15, %6 %87 = phi i32 [ %17, %15 ], [ %22, %21 ], [ %36, %34 ], [ %40, %48 ], [ %85, %68 ], [ %8, %6 ] ret i32 %87 } declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @devm_platform_ioremap_resource(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i64 @platform_get_irq(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @devm_clk_get(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @clk_prepare_enable(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @of_property_read_bool(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @platform_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @imx_mu_init_generic(ptr noundef) local_unnamed_addr #1 declare i32 @devm_mbox_controller_register(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"device", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !8, i64 88} !14 = !{!"imx_mu_priv", !15, i64 0, !16, i64 8, !8, i64 48, !12, i64 56, !12, i64 60, !8, i64 64, !8, i64 72, !8, i64 80, !8, i64 88} !15 = !{!"long", !9, i64 0} !16 = !{!"TYPE_4__", !12, i64 0, !12, i64 4, !12, i64 8, !8, i64 16, !8, i64 24, !8, i64 32} !17 = !{!14, !8, i64 80} !18 = !{!14, !15, i64 0} !19 = !{!14, !8, i64 72} !20 = !{!14, !8, i64 64} !21 = !{!22, !12, i64 0} !22 = !{!"imx_mu_con_priv", !12, i64 0, !12, i64 4, !12, i64 8, !8, i64 16} !23 = !{!22, !12, i64 4} !24 = !{!14, !8, i64 48} !25 = !{!22, !8, i64 16} !26 = !{!27, !8, i64 0} !27 = !{!"TYPE_3__", !8, i64 0} !28 = !{!22, !12, i64 8} !29 = distinct !{!29, !30} !30 = !{!"llvm.loop.mustprogress"} !31 = !{!14, !12, i64 60} !32 = !{!14, !8, i64 40} !33 = !{!14, !8, i64 32} !34 = !{!14, !8, i64 24} !35 = !{!14, !12, i64 8} !36 = !{!14, !12, i64 16} !37 = !{!14, !12, i64 12}
linux_drivers_mailbox_extr_imx-mailbox.c_imx_mu_probe
; ModuleID = 'AnghaBench/libgit2/tests/refs/extr_rename.c_test_refs_rename__name_collision.c' source_filename = "AnghaBench/libgit2/tests/refs/extr_rename.c_test_refs_rename__name_collision.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @g_repo = dso_local local_unnamed_addr global i32 0, align 4 @packed_head_name = dso_local local_unnamed_addr global i32 0, align 4 @packed_test_head_name = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @test_refs_rename__name_collision() local_unnamed_addr #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = load i32, ptr @g_repo, align 4, !tbaa !5 %4 = load i32, ptr @packed_head_name, align 4, !tbaa !5 %5 = call i32 @git_reference_lookup(ptr noundef nonnull %1, i32 noundef %3, i32 noundef %4) #3 %6 = call i32 @cl_git_pass(i32 noundef %5) #3 %7 = load ptr, ptr %1, align 8, !tbaa !9 %8 = load i32, ptr @packed_test_head_name, align 4, !tbaa !5 %9 = call i32 @git_reference_rename(ptr noundef nonnull %2, ptr noundef %7, i32 noundef %8, i32 noundef 0, ptr noundef null) #3 %10 = call i32 @cl_git_fail(i32 noundef %9) #3 %11 = load ptr, ptr %1, align 8, !tbaa !9 %12 = call i32 @git_reference_free(ptr noundef %11) #3 %13 = load i32, ptr @g_repo, align 4, !tbaa !5 %14 = load i32, ptr @packed_head_name, align 4, !tbaa !5 %15 = call i32 @git_reference_lookup(ptr noundef nonnull %1, i32 noundef %13, i32 noundef %14) #3 %16 = call i32 @cl_git_pass(i32 noundef %15) #3 %17 = load ptr, ptr %1, align 8, !tbaa !9 %18 = load i32, ptr %17, align 4, !tbaa !11 %19 = load i32, ptr @packed_head_name, align 4, !tbaa !5 %20 = call i32 @cl_assert_equal_s(i32 noundef %18, i32 noundef %19) #3 %21 = load ptr, ptr %1, align 8, !tbaa !9 %22 = call i32 @git_reference_free(ptr noundef %21) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #2 declare i32 @git_reference_lookup(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cl_git_fail(i32 noundef) local_unnamed_addr #2 declare i32 @git_reference_rename(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_reference_free(ptr noundef) local_unnamed_addr #2 declare i32 @cl_assert_equal_s(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, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_6__", !6, i64 0}
; ModuleID = 'AnghaBench/libgit2/tests/refs/extr_rename.c_test_refs_rename__name_collision.c' source_filename = "AnghaBench/libgit2/tests/refs/extr_rename.c_test_refs_rename__name_collision.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @g_repo = common local_unnamed_addr global i32 0, align 4 @packed_head_name = common local_unnamed_addr global i32 0, align 4 @packed_test_head_name = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @test_refs_rename__name_collision() local_unnamed_addr #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = load i32, ptr @g_repo, align 4, !tbaa !6 %4 = load i32, ptr @packed_head_name, align 4, !tbaa !6 %5 = call i32 @git_reference_lookup(ptr noundef nonnull %1, i32 noundef %3, i32 noundef %4) #3 %6 = call i32 @cl_git_pass(i32 noundef %5) #3 %7 = load ptr, ptr %1, align 8, !tbaa !10 %8 = load i32, ptr @packed_test_head_name, align 4, !tbaa !6 %9 = call i32 @git_reference_rename(ptr noundef nonnull %2, ptr noundef %7, i32 noundef %8, i32 noundef 0, ptr noundef null) #3 %10 = call i32 @cl_git_fail(i32 noundef %9) #3 %11 = load ptr, ptr %1, align 8, !tbaa !10 %12 = call i32 @git_reference_free(ptr noundef %11) #3 %13 = load i32, ptr @g_repo, align 4, !tbaa !6 %14 = load i32, ptr @packed_head_name, align 4, !tbaa !6 %15 = call i32 @git_reference_lookup(ptr noundef nonnull %1, i32 noundef %13, i32 noundef %14) #3 %16 = call i32 @cl_git_pass(i32 noundef %15) #3 %17 = load ptr, ptr %1, align 8, !tbaa !10 %18 = load i32, ptr %17, align 4, !tbaa !12 %19 = load i32, ptr @packed_head_name, align 4, !tbaa !6 %20 = call i32 @cl_assert_equal_s(i32 noundef %18, i32 noundef %19) #3 %21 = load ptr, ptr %1, align 8, !tbaa !10 %22 = call i32 @git_reference_free(ptr noundef %21) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #2 declare i32 @git_reference_lookup(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cl_git_fail(i32 noundef) local_unnamed_addr #2 declare i32 @git_reference_rename(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_reference_free(ptr noundef) local_unnamed_addr #2 declare i32 @cl_assert_equal_s(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, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_6__", !7, i64 0}
libgit2_tests_refs_extr_rename.c_test_refs_rename__name_collision
; ModuleID = 'AnghaBench/freebsd/sys/x86/x86/extr_mca.c_mca_scan.c' source_filename = "AnghaBench/freebsd/sys/x86/x86/extr_mca.c_mca_scan.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.mca_record = type { i32 } @MC_STATUS_UC = dso_local local_unnamed_addr global i32 0, align 4 @MC_STATUS_PCC = dso_local local_unnamed_addr global i32 0, align 4 @MCE = dso_local local_unnamed_addr global i32 0, align 4 @MC_STATUS_OVER = dso_local local_unnamed_addr global i32 0, align 4 @MSR_MCG_CAP = dso_local local_unnamed_addr global i32 0, align 4 @MCG_CAP_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @mca_lock = dso_local global i32 0, align 4 @CMCI = dso_local local_unnamed_addr global i32 0, align 4 @cmc_state = dso_local local_unnamed_addr global ptr null, align 8 @cmci_mask = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mca_scan], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mca_scan(i32 noundef %0, ptr noundef writeonly %1) #0 { %3 = alloca %struct.mca_record, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = load i32, ptr @MC_STATUS_UC, align 4, !tbaa !5 %5 = load i32, ptr @MC_STATUS_PCC, align 4, !tbaa !5 %6 = or i32 %5, %4 %7 = load i32, ptr @MCE, align 4, !tbaa !5 %8 = icmp eq i32 %7, %0 %9 = load i32, ptr @MC_STATUS_OVER, align 4 %10 = select i1 %8, i32 %9, i32 0 %11 = or i32 %6, %10 %12 = load i32, ptr @MSR_MCG_CAP, align 4, !tbaa !5 %13 = tail call i32 @rdmsr(i32 noundef %12) #3 %14 = load i32, ptr @MCG_CAP_COUNT, align 4, !tbaa !5 %15 = and i32 %14, %13 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %42 17: ; preds = %2, %35 %18 = phi i32 [ %37, %35 ], [ 1, %2 ] %19 = phi i32 [ %38, %35 ], [ 0, %2 ] %20 = phi i32 [ %36, %35 ], [ 0, %2 ] %21 = call i32 @mca_check_status(i32 noundef %19, ptr noundef nonnull %3) #3 %22 = icmp eq i32 %21, 0 br i1 %22, label %35, label %23 23: ; preds = %17 %24 = add nsw i32 %20, 1 %25 = load i32, ptr %3, align 4, !tbaa !9 %26 = and i32 %25, %11 %27 = icmp eq i32 %26, 0 br i1 %27, label %32, label %28 28: ; preds = %23 %29 = call i32 @mtx_lock_spin(ptr noundef nonnull @mca_lock) #3 %30 = call i32 @mca_log(ptr noundef nonnull %3) #3 %31 = call i32 @mtx_unlock_spin(ptr noundef nonnull @mca_lock) #3 br label %32 32: ; preds = %28, %23 %33 = phi i32 [ 0, %28 ], [ %18, %23 ] %34 = call i32 @mca_record_entry(i32 noundef %0, ptr noundef nonnull %3) #3 br label %35 35: ; preds = %17, %32 %36 = phi i32 [ %24, %32 ], [ %20, %17 ] %37 = phi i32 [ %33, %32 ], [ %18, %17 ] %38 = add nuw nsw i32 %19, 1 %39 = load i32, ptr @MCG_CAP_COUNT, align 4, !tbaa !5 %40 = and i32 %39, %13 %41 = icmp slt i32 %38, %40 br i1 %41, label %17, label %42, !llvm.loop !11 42: ; preds = %35, %2 %43 = phi i32 [ 0, %2 ], [ %36, %35 ] %44 = phi i32 [ 1, %2 ], [ %37, %35 ] %45 = icmp eq ptr %1, null br i1 %45, label %47, label %46 46: ; preds = %42 store i32 %44, ptr %1, align 4, !tbaa !5 br label %47 47: ; preds = %46, %42 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %43 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @rdmsr(i32 noundef) local_unnamed_addr #2 declare i32 @mca_check_status(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mtx_lock_spin(ptr noundef) local_unnamed_addr #2 declare i32 @mca_log(ptr noundef) local_unnamed_addr #2 declare i32 @mtx_unlock_spin(ptr noundef) local_unnamed_addr #2 declare i32 @mca_record_entry(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 0} !10 = !{!"mca_record", !6, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/x86/x86/extr_mca.c_mca_scan.c' source_filename = "AnghaBench/freebsd/sys/x86/x86/extr_mca.c_mca_scan.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.mca_record = type { i32 } @MC_STATUS_UC = common local_unnamed_addr global i32 0, align 4 @MC_STATUS_PCC = common local_unnamed_addr global i32 0, align 4 @MCE = common local_unnamed_addr global i32 0, align 4 @MC_STATUS_OVER = common local_unnamed_addr global i32 0, align 4 @MSR_MCG_CAP = common local_unnamed_addr global i32 0, align 4 @MCG_CAP_COUNT = common local_unnamed_addr global i32 0, align 4 @mca_lock = common global i32 0, align 4 @CMCI = common local_unnamed_addr global i32 0, align 4 @cmc_state = common local_unnamed_addr global ptr null, align 8 @cmci_mask = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mca_scan], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mca_scan(i32 noundef %0, ptr noundef writeonly %1) #0 { %3 = alloca %struct.mca_record, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = load i32, ptr @MC_STATUS_UC, align 4, !tbaa !6 %5 = load i32, ptr @MC_STATUS_PCC, align 4, !tbaa !6 %6 = or i32 %5, %4 %7 = load i32, ptr @MCE, align 4, !tbaa !6 %8 = icmp eq i32 %7, %0 %9 = load i32, ptr @MC_STATUS_OVER, align 4 %10 = select i1 %8, i32 %9, i32 0 %11 = or i32 %6, %10 %12 = load i32, ptr @MSR_MCG_CAP, align 4, !tbaa !6 %13 = tail call i32 @rdmsr(i32 noundef %12) #3 %14 = load i32, ptr @MCG_CAP_COUNT, align 4, !tbaa !6 %15 = and i32 %14, %13 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %42 17: ; preds = %2, %35 %18 = phi i32 [ %37, %35 ], [ 1, %2 ] %19 = phi i32 [ %38, %35 ], [ 0, %2 ] %20 = phi i32 [ %36, %35 ], [ 0, %2 ] %21 = call i32 @mca_check_status(i32 noundef %19, ptr noundef nonnull %3) #3 %22 = icmp eq i32 %21, 0 br i1 %22, label %35, label %23 23: ; preds = %17 %24 = add nsw i32 %20, 1 %25 = load i32, ptr %3, align 4, !tbaa !10 %26 = and i32 %25, %11 %27 = icmp eq i32 %26, 0 br i1 %27, label %32, label %28 28: ; preds = %23 %29 = call i32 @mtx_lock_spin(ptr noundef nonnull @mca_lock) #3 %30 = call i32 @mca_log(ptr noundef nonnull %3) #3 %31 = call i32 @mtx_unlock_spin(ptr noundef nonnull @mca_lock) #3 br label %32 32: ; preds = %28, %23 %33 = phi i32 [ 0, %28 ], [ %18, %23 ] %34 = call i32 @mca_record_entry(i32 noundef %0, ptr noundef nonnull %3) #3 br label %35 35: ; preds = %17, %32 %36 = phi i32 [ %24, %32 ], [ %20, %17 ] %37 = phi i32 [ %33, %32 ], [ %18, %17 ] %38 = add nuw nsw i32 %19, 1 %39 = load i32, ptr @MCG_CAP_COUNT, align 4, !tbaa !6 %40 = and i32 %39, %13 %41 = icmp slt i32 %38, %40 br i1 %41, label %17, label %42, !llvm.loop !12 42: ; preds = %35, %2 %43 = phi i32 [ 0, %2 ], [ %36, %35 ] %44 = phi i32 [ 1, %2 ], [ %37, %35 ] %45 = icmp eq ptr %1, null br i1 %45, label %47, label %46 46: ; preds = %42 store i32 %44, ptr %1, align 4, !tbaa !6 br label %47 47: ; preds = %46, %42 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %43 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @rdmsr(i32 noundef) local_unnamed_addr #2 declare i32 @mca_check_status(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mtx_lock_spin(ptr noundef) local_unnamed_addr #2 declare i32 @mca_log(ptr noundef) local_unnamed_addr #2 declare i32 @mtx_unlock_spin(ptr noundef) local_unnamed_addr #2 declare i32 @mca_record_entry(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 0} !11 = !{!"mca_record", !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
freebsd_sys_x86_x86_extr_mca.c_mca_scan
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_common.c_il_get_lowest_plcp.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_common.c_il_get_lowest_plcp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @RXON_FLG_BAND_24G_MSK = dso_local local_unnamed_addr global i32 0, align 4 @RATE_1M_PLCP = dso_local local_unnamed_addr global i32 0, align 4 @RATE_6M_PLCP = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define dso_local i32 @il_get_lowest_plcp(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @RXON_FLG_BAND_24G_MSK, align 4, !tbaa !11 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 %6 = load i32, ptr @RATE_6M_PLCP, align 4 %7 = load i32, ptr @RATE_1M_PLCP, align 4 %8 = select i1 %5, i32 %6, i32 %7 ret i32 %8 } 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, !8, i64 0} !6 = !{!"il_priv", !7, 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 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_common.c_il_get_lowest_plcp.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_common.c_il_get_lowest_plcp.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RXON_FLG_BAND_24G_MSK = common local_unnamed_addr global i32 0, align 4 @RATE_1M_PLCP = common local_unnamed_addr global i32 0, align 4 @RATE_6M_PLCP = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define i32 @il_get_lowest_plcp(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @RXON_FLG_BAND_24G_MSK, align 4, !tbaa !12 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 %6 = load i32, ptr @RATE_6M_PLCP, align 4 %7 = load i32, ptr @RATE_1M_PLCP, align 4 %8 = select i1 %5, i32 %6, i32 %7 ret i32 %8 } 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, !9, i64 0} !7 = !{!"il_priv", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!9, !9, i64 0}
fastsocket_kernel_drivers_net_wireless_iwlegacy_extr_common.c_il_get_lowest_plcp
; ModuleID = 'AnghaBench/freebsd/lib/libc/uuid/extr_uuid_stream.c_uuid_enc_le.c' source_filename = "AnghaBench/freebsd/lib/libc/uuid/extr_uuid_stream.c_uuid_enc_le.c" target datalayout = "e-m:e-p270:32:32-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, i32, i32 } @_UUID_NODE_LEN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @uuid_enc_le(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 5 %4 = load i32, ptr %3, align 8, !tbaa !5 %5 = tail call i32 @le32enc(ptr noundef %0, i32 noundef %4) #2 %6 = getelementptr inbounds i32, ptr %0, i64 4 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 4 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = tail call i32 @le16enc(ptr noundef nonnull %6, i32 noundef %8) #2 %10 = getelementptr inbounds i32, ptr %0, i64 6 %11 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 3 %12 = load i32, ptr %11, align 8, !tbaa !12 %13 = tail call i32 @le16enc(ptr noundef nonnull %10, i32 noundef %12) #2 %14 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 2 %15 = load i32, ptr %14, align 4, !tbaa !13 %16 = getelementptr inbounds i32, ptr %0, i64 8 store i32 %15, ptr %16, align 4, !tbaa !14 %17 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1 %18 = load i32, ptr %17, align 8, !tbaa !15 %19 = getelementptr inbounds i32, ptr %0, i64 9 store i32 %18, ptr %19, align 4, !tbaa !14 %20 = getelementptr i32, ptr %0, i64 10 %21 = load i32, ptr @_UUID_NODE_LEN, align 4, !tbaa !14 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %34 23: ; preds = %2 %24 = load ptr, ptr %1, align 8, !tbaa !16 br label %25 25: ; preds = %23, %25 %26 = phi i64 [ 0, %23 ], [ %30, %25 ] %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4, !tbaa !14 %29 = getelementptr i32, ptr %20, i64 %26 store i32 %28, ptr %29, align 4, !tbaa !14 %30 = add nuw nsw i64 %26, 1 %31 = load i32, ptr @_UUID_NODE_LEN, align 4, !tbaa !14 %32 = sext i32 %31 to i64 %33 = icmp slt i64 %30, %32 br i1 %33, label %25, label %34, !llvm.loop !17 34: ; preds = %25, %2 ret void } declare i32 @le32enc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @le16enc(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 24} !6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !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 20} !12 = !{!6, !10, i64 16} !13 = !{!6, !10, i64 12} !14 = !{!10, !10, i64 0} !15 = !{!6, !10, i64 8} !16 = !{!6, !7, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/lib/libc/uuid/extr_uuid_stream.c_uuid_enc_le.c' source_filename = "AnghaBench/freebsd/lib/libc/uuid/extr_uuid_stream.c_uuid_enc_le.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @_UUID_NODE_LEN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @uuid_enc_le(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %1, i64 24 %4 = load i32, ptr %3, align 8, !tbaa !6 %5 = tail call i32 @le32enc(ptr noundef %0, i32 noundef %4) #2 %6 = getelementptr inbounds i8, ptr %0, i64 16 %7 = getelementptr inbounds i8, ptr %1, i64 20 %8 = load i32, ptr %7, align 4, !tbaa !12 %9 = tail call i32 @le16enc(ptr noundef nonnull %6, i32 noundef %8) #2 %10 = getelementptr inbounds i8, ptr %0, i64 24 %11 = getelementptr inbounds i8, ptr %1, i64 16 %12 = load i32, ptr %11, align 8, !tbaa !13 %13 = tail call i32 @le16enc(ptr noundef nonnull %10, i32 noundef %12) #2 %14 = getelementptr inbounds i8, ptr %1, i64 12 %15 = load i32, ptr %14, align 4, !tbaa !14 %16 = getelementptr inbounds i8, ptr %0, i64 32 store i32 %15, ptr %16, align 4, !tbaa !15 %17 = getelementptr inbounds i8, ptr %1, i64 8 %18 = load i32, ptr %17, align 8, !tbaa !16 %19 = getelementptr inbounds i8, ptr %0, i64 36 store i32 %18, ptr %19, align 4, !tbaa !15 %20 = getelementptr inbounds i8, ptr %0, i64 40 %21 = load i32, ptr @_UUID_NODE_LEN, align 4, !tbaa !15 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %34 23: ; preds = %2 %24 = load ptr, ptr %1, align 8, !tbaa !17 br label %25 25: ; preds = %23, %25 %26 = phi i64 [ 0, %23 ], [ %30, %25 ] %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4, !tbaa !15 %29 = getelementptr inbounds i32, ptr %20, i64 %26 store i32 %28, ptr %29, align 4, !tbaa !15 %30 = add nuw nsw i64 %26, 1 %31 = load i32, ptr @_UUID_NODE_LEN, align 4, !tbaa !15 %32 = sext i32 %31 to i64 %33 = icmp slt i64 %30, %32 br i1 %33, label %25, label %34, !llvm.loop !18 34: ; preds = %25, %2 ret void } declare i32 @le32enc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @le16enc(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 24} !7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !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 20} !13 = !{!7, !11, i64 16} !14 = !{!7, !11, i64 12} !15 = !{!11, !11, i64 0} !16 = !{!7, !11, i64 8} !17 = !{!7, !8, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
freebsd_lib_libc_uuid_extr_uuid_stream.c_uuid_enc_le
; ModuleID = 'AnghaBench/linux/arch/s390/kvm/extr_vsie.c_unpin_scb.c' source_filename = "AnghaBench/linux/arch/s390/kvm/extr_vsie.c_unpin_scb.c" target datalayout = "e-m:e-p270:32:32-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 @unpin_scb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @unpin_scb(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %1, align 8, !tbaa !5 %5 = icmp eq ptr %4, null br i1 %5, label %10, label %6 6: ; preds = %3 %7 = ptrtoint ptr %4 to i64 %8 = load i32, ptr %0, align 4, !tbaa !10 %9 = tail call i32 @unpin_guest_page(i32 noundef %8, i32 noundef %2, i64 noundef %7) #2 br label %10 10: ; preds = %6, %3 store ptr null, ptr %1, align 8, !tbaa !5 ret void } declare i32 @unpin_guest_page(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"vsie_page", !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 = !{!"kvm_vcpu", !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/arch/s390/kvm/extr_vsie.c_unpin_scb.c' source_filename = "AnghaBench/linux/arch/s390/kvm/extr_vsie.c_unpin_scb.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 @unpin_scb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @unpin_scb(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %1, align 8, !tbaa !6 %5 = icmp eq ptr %4, null br i1 %5, label %10, label %6 6: ; preds = %3 %7 = ptrtoint ptr %4 to i64 %8 = load i32, ptr %0, align 4, !tbaa !11 %9 = tail call i32 @unpin_guest_page(i32 noundef %8, i32 noundef %2, i64 noundef %7) #2 br label %10 10: ; preds = %6, %3 store ptr null, ptr %1, align 8, !tbaa !6 ret void } declare i32 @unpin_guest_page(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"vsie_page", !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 = !{!"kvm_vcpu", !13, i64 0} !13 = !{!"int", !9, i64 0}
linux_arch_s390_kvm_extr_vsie.c_unpin_scb
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_fec_mpc52xx.c_mpc52xx_fec_get_drvinfo.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_fec_mpc52xx.c_mpc52xx_fec_get_drvinfo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DRIVER_NAME = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mpc52xx_fec_get_drvinfo], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mpc52xx_fec_get_drvinfo(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = load i32, ptr @DRIVER_NAME, align 4, !tbaa !10 %5 = tail call i32 @strcpy(i32 noundef %3, i32 noundef %4) #2 ret void } declare i32 @strcpy(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 = !{!"ethtool_drvinfo", !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/extr_fec_mpc52xx.c_mpc52xx_fec_get_drvinfo.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_fec_mpc52xx.c_mpc52xx_fec_get_drvinfo.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DRIVER_NAME = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mpc52xx_fec_get_drvinfo], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mpc52xx_fec_get_drvinfo(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = load i32, ptr @DRIVER_NAME, align 4, !tbaa !11 %5 = tail call i32 @strcpy(i32 noundef %3, i32 noundef %4) #2 ret void } declare i32 @strcpy(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 = !{!"ethtool_drvinfo", !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_extr_fec_mpc52xx.c_mpc52xx_fec_get_drvinfo
; ModuleID = 'AnghaBench/postgres/contrib/btree_gist/extr_btree_oid.c_gbt_oidge.c' source_filename = "AnghaBench/postgres/contrib/btree_gist/extr_btree_oid.c_gbt_oidge.c" target datalayout = "e-m:e-p270:32:32-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 @gbt_oidge], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i32 @gbt_oidge(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture readnone %2) #0 { %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = load i64, ptr %1, align 8, !tbaa !5 %6 = icmp sge i64 %4, %5 %7 = zext i1 %6 to i32 ret i32 %7 } 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, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/postgres/contrib/btree_gist/extr_btree_oid.c_gbt_oidge.c' source_filename = "AnghaBench/postgres/contrib/btree_gist/extr_btree_oid.c_gbt_oidge.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 @gbt_oidge], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal range(i32 0, 2) i32 @gbt_oidge(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture readnone %2) #0 { %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = load i64, ptr %1, align 8, !tbaa !6 %6 = icmp sge i64 %4, %5 %7 = zext i1 %6 to i32 ret i32 %7 } 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, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
postgres_contrib_btree_gist_extr_btree_oid.c_gbt_oidge
; ModuleID = 'AnghaBench/darwin-xnu/bsd/netinet6/extr_in6_mcast.c_in6_joingroup.c' source_filename = "AnghaBench/darwin-xnu/bsd/netinet6/extr_in6_mcast.c_in6_joingroup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @M_WAITOK = dso_local local_unnamed_addr global i32 0, align 4 @ENOBUFS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @in6_joingroup(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3) local_unnamed_addr #0 { store i32 0, ptr %2, align 4, !tbaa !5 %5 = load i32, ptr @M_WAITOK, align 4, !tbaa !5 %6 = tail call ptr @in6_multi_mship_alloc(i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %4 %9 = load i32, ptr @ENOBUFS, align 4, !tbaa !5 store i32 %9, ptr %2, align 4, !tbaa !5 br label %15 10: ; preds = %4 %11 = tail call i32 @in6_mc_join(ptr noundef %0, ptr noundef %1, ptr noundef null, ptr noundef nonnull %6, i32 noundef %3) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %10 store i32 %11, ptr %2, align 4, !tbaa !5 %14 = tail call i32 @in6_multi_mship_free(ptr noundef nonnull %6) #2 br label %15 15: ; preds = %10, %13, %8 %16 = phi ptr [ null, %8 ], [ null, %13 ], [ %6, %10 ] ret ptr %16 } declare ptr @in6_multi_mship_alloc(i32 noundef) local_unnamed_addr #1 declare i32 @in6_mc_join(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @in6_multi_mship_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/netinet6/extr_in6_mcast.c_in6_joingroup.c' source_filename = "AnghaBench/darwin-xnu/bsd/netinet6/extr_in6_mcast.c_in6_joingroup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @M_WAITOK = common local_unnamed_addr global i32 0, align 4 @ENOBUFS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @in6_joingroup(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3) local_unnamed_addr #0 { store i32 0, ptr %2, align 4, !tbaa !6 %5 = load i32, ptr @M_WAITOK, align 4, !tbaa !6 %6 = tail call ptr @in6_multi_mship_alloc(i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %4 %9 = load i32, ptr @ENOBUFS, align 4, !tbaa !6 store i32 %9, ptr %2, align 4, !tbaa !6 br label %15 10: ; preds = %4 %11 = tail call i32 @in6_mc_join(ptr noundef %0, ptr noundef %1, ptr noundef null, ptr noundef nonnull %6, i32 noundef %3) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %10 store i32 %11, ptr %2, align 4, !tbaa !6 %14 = tail call i32 @in6_multi_mship_free(ptr noundef nonnull %6) #2 br label %15 15: ; preds = %10, %13, %8 %16 = phi ptr [ null, %8 ], [ null, %13 ], [ %6, %10 ] ret ptr %16 } declare ptr @in6_multi_mship_alloc(i32 noundef) local_unnamed_addr #1 declare i32 @in6_mc_join(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @in6_multi_mship_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
darwin-xnu_bsd_netinet6_extr_in6_mcast.c_in6_joingroup
; ModuleID = 'AnghaBench/freebsd/contrib/libpcap/extr_gencode.c_gen_arth.c' source_filename = "AnghaBench/freebsd/contrib/libpcap/extr_gencode.c_gen_arth.c" target datalayout = "e-m:e-p270:32:32-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.arth = type { i64, ptr } %struct.TYPE_2__ = type { i32, i64 } @BPF_DIV = dso_local local_unnamed_addr global i32 0, align 4 @BPF_LD = dso_local local_unnamed_addr global i32 0, align 4 @BPF_IMM = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"division by zero\00", align 1 @BPF_MOD = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"modulus by zero\00", align 1 @BPF_ALU = dso_local local_unnamed_addr global i32 0, align 4 @BPF_X = dso_local local_unnamed_addr global i32 0, align 4 @BPF_ST = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef ptr @gen_arth(ptr noundef %0, i32 noundef %1, ptr noundef returned %2, ptr noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @BPF_DIV, align 4, !tbaa !5 %6 = icmp eq i32 %5, %1 br i1 %6, label %7, label %19 7: ; preds = %4 %8 = getelementptr inbounds %struct.arth, ptr %3, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !9 %10 = load i32, ptr %9, align 8, !tbaa !13 %11 = load i32, ptr @BPF_LD, align 4, !tbaa !5 %12 = load i32, ptr @BPF_IMM, align 4, !tbaa !5 %13 = or i32 %12, %11 %14 = icmp eq i32 %10, %13 br i1 %14, label %15, label %37 15: ; preds = %7 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 0, i32 1 %17 = load i64, ptr %16, align 8, !tbaa !16 %18 = icmp eq i64 %17, 0 br i1 %18, label %34, label %37 19: ; preds = %4 %20 = load i32, ptr @BPF_MOD, align 4, !tbaa !5 %21 = icmp eq i32 %20, %1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = getelementptr inbounds %struct.arth, ptr %3, i64 0, i32 1 %24 = load ptr, ptr %23, align 8, !tbaa !9 %25 = load i32, ptr %24, align 8, !tbaa !13 %26 = load i32, ptr @BPF_LD, align 4, !tbaa !5 %27 = load i32, ptr @BPF_IMM, align 4, !tbaa !5 %28 = or i32 %27, %26 %29 = icmp eq i32 %25, %28 br i1 %29, label %30, label %37 30: ; preds = %22 %31 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i64 0, i32 1 %32 = load i64, ptr %31, align 8, !tbaa !16 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %37 34: ; preds = %30, %15 %35 = phi ptr [ @.str, %15 ], [ @.str.1, %30 ] %36 = tail call i32 @bpf_error(ptr noundef %0, ptr noundef nonnull %35) #2 br label %37 37: ; preds = %34, %19, %30, %22, %7, %15 %38 = tail call ptr @xfer_to_x(ptr noundef %0, ptr noundef %3) #2 %39 = tail call ptr @xfer_to_a(ptr noundef %0, ptr noundef %2) #2 %40 = load i32, ptr @BPF_ALU, align 4, !tbaa !5 %41 = load i32, ptr @BPF_X, align 4, !tbaa !5 %42 = or i32 %40, %41 %43 = or i32 %42, %1 %44 = tail call ptr @new_stmt(ptr noundef %0, i32 noundef %43) #2 %45 = tail call i32 @sappend(ptr noundef %39, ptr noundef %44) #2 %46 = tail call i32 @sappend(ptr noundef %38, ptr noundef %39) #2 %47 = getelementptr inbounds %struct.arth, ptr %3, i64 0, i32 1 %48 = load ptr, ptr %47, align 8, !tbaa !9 %49 = tail call i32 @sappend(ptr noundef %48, ptr noundef %38) #2 %50 = getelementptr inbounds %struct.arth, ptr %2, i64 0, i32 1 %51 = load ptr, ptr %50, align 8, !tbaa !9 %52 = load ptr, ptr %47, align 8, !tbaa !9 %53 = tail call i32 @sappend(ptr noundef %51, ptr noundef %52) #2 %54 = load i64, ptr %2, align 8, !tbaa !17 %55 = tail call i32 @free_reg(ptr noundef %0, i64 noundef %54) #2 %56 = load i64, ptr %3, align 8, !tbaa !17 %57 = tail call i32 @free_reg(ptr noundef %0, i64 noundef %56) #2 %58 = load i32, ptr @BPF_ST, align 4, !tbaa !5 %59 = tail call ptr @new_stmt(ptr noundef %0, i32 noundef %58) #2 %60 = tail call i64 @alloc_reg(ptr noundef %0) #2 %61 = getelementptr inbounds %struct.TYPE_2__, ptr %59, i64 0, i32 1 store i64 %60, ptr %61, align 8, !tbaa !16 store i64 %60, ptr %2, align 8, !tbaa !17 %62 = load ptr, ptr %50, align 8, !tbaa !9 %63 = tail call i32 @sappend(ptr noundef %62, ptr noundef %59) #2 ret ptr %2 } declare i32 @bpf_error(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @xfer_to_x(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @xfer_to_a(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @new_stmt(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sappend(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @free_reg(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @alloc_reg(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, !12, i64 8} !10 = !{!"arth", !11, i64 0, !12, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"slist", !15, i64 0} !15 = !{!"TYPE_2__", !6, i64 0, !11, i64 8} !16 = !{!14, !11, i64 8} !17 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/libpcap/extr_gencode.c_gen_arth.c' source_filename = "AnghaBench/freebsd/contrib/libpcap/extr_gencode.c_gen_arth.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BPF_DIV = common local_unnamed_addr global i32 0, align 4 @BPF_LD = common local_unnamed_addr global i32 0, align 4 @BPF_IMM = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"division by zero\00", align 1 @BPF_MOD = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"modulus by zero\00", align 1 @BPF_ALU = common local_unnamed_addr global i32 0, align 4 @BPF_X = common local_unnamed_addr global i32 0, align 4 @BPF_ST = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @gen_arth(ptr noundef %0, i32 noundef %1, ptr noundef returned %2, ptr noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @BPF_DIV, align 4, !tbaa !6 %6 = icmp eq i32 %5, %1 br i1 %6, label %7, label %19 7: ; preds = %4 %8 = getelementptr inbounds i8, ptr %3, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !10 %10 = load i32, ptr %9, align 8, !tbaa !14 %11 = load i32, ptr @BPF_LD, align 4, !tbaa !6 %12 = load i32, ptr @BPF_IMM, align 4, !tbaa !6 %13 = or i32 %12, %11 %14 = icmp eq i32 %10, %13 br i1 %14, label %15, label %37 15: ; preds = %7 %16 = getelementptr inbounds i8, ptr %9, i64 8 %17 = load i64, ptr %16, align 8, !tbaa !17 %18 = icmp eq i64 %17, 0 br i1 %18, label %34, label %37 19: ; preds = %4 %20 = load i32, ptr @BPF_MOD, align 4, !tbaa !6 %21 = icmp eq i32 %20, %1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = getelementptr inbounds i8, ptr %3, i64 8 %24 = load ptr, ptr %23, align 8, !tbaa !10 %25 = load i32, ptr %24, align 8, !tbaa !14 %26 = load i32, ptr @BPF_LD, align 4, !tbaa !6 %27 = load i32, ptr @BPF_IMM, align 4, !tbaa !6 %28 = or i32 %27, %26 %29 = icmp eq i32 %25, %28 br i1 %29, label %30, label %37 30: ; preds = %22 %31 = getelementptr inbounds i8, ptr %24, i64 8 %32 = load i64, ptr %31, align 8, !tbaa !17 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %37 34: ; preds = %30, %15 %35 = phi ptr [ @.str, %15 ], [ @.str.1, %30 ] %36 = tail call i32 @bpf_error(ptr noundef %0, ptr noundef nonnull %35) #2 br label %37 37: ; preds = %34, %19, %30, %22, %7, %15 %38 = tail call ptr @xfer_to_x(ptr noundef %0, ptr noundef %3) #2 %39 = tail call ptr @xfer_to_a(ptr noundef %0, ptr noundef %2) #2 %40 = load i32, ptr @BPF_ALU, align 4, !tbaa !6 %41 = load i32, ptr @BPF_X, align 4, !tbaa !6 %42 = or i32 %40, %41 %43 = or i32 %42, %1 %44 = tail call ptr @new_stmt(ptr noundef %0, i32 noundef %43) #2 %45 = tail call i32 @sappend(ptr noundef %39, ptr noundef %44) #2 %46 = tail call i32 @sappend(ptr noundef %38, ptr noundef %39) #2 %47 = getelementptr inbounds i8, ptr %3, i64 8 %48 = load ptr, ptr %47, align 8, !tbaa !10 %49 = tail call i32 @sappend(ptr noundef %48, ptr noundef %38) #2 %50 = getelementptr inbounds i8, ptr %2, i64 8 %51 = load ptr, ptr %50, align 8, !tbaa !10 %52 = load ptr, ptr %47, align 8, !tbaa !10 %53 = tail call i32 @sappend(ptr noundef %51, ptr noundef %52) #2 %54 = load i64, ptr %2, align 8, !tbaa !18 %55 = tail call i32 @free_reg(ptr noundef %0, i64 noundef %54) #2 %56 = load i64, ptr %3, align 8, !tbaa !18 %57 = tail call i32 @free_reg(ptr noundef %0, i64 noundef %56) #2 %58 = load i32, ptr @BPF_ST, align 4, !tbaa !6 %59 = tail call ptr @new_stmt(ptr noundef %0, i32 noundef %58) #2 %60 = tail call i64 @alloc_reg(ptr noundef %0) #2 %61 = getelementptr inbounds i8, ptr %59, i64 8 store i64 %60, ptr %61, align 8, !tbaa !17 store i64 %60, ptr %2, align 8, !tbaa !18 %62 = load ptr, ptr %50, align 8, !tbaa !10 %63 = tail call i32 @sappend(ptr noundef %62, ptr noundef %59) #2 ret ptr %2 } declare i32 @bpf_error(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @xfer_to_x(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @xfer_to_a(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @new_stmt(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sappend(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @free_reg(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @alloc_reg(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, !13, i64 8} !11 = !{!"arth", !12, i64 0, !13, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"slist", !16, i64 0} !16 = !{!"TYPE_2__", !7, i64 0, !12, i64 8} !17 = !{!15, !12, i64 8} !18 = !{!11, !12, i64 0}
freebsd_contrib_libpcap_extr_gencode.c_gen_arth
; ModuleID = 'AnghaBench/freebsd/sys/mips/beri/extr_beri_pic.c_beri_pic_enable_intr.c' source_filename = "AnghaBench/freebsd/sys/mips/beri/extr_beri_pic.c_beri_pic_enable_intr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.beri_pic_isrc = type { i32, i32 } @BP_CFG_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @BP_CFG_IRQ_S = dso_local local_unnamed_addr global i32 0, align 4 @BP_CFG = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @beri_pic_enable_intr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @beri_pic_enable_intr(i32 noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @device_get_softc(i32 noundef %0) #2 %4 = load i32, ptr @BP_CFG_ENABLE, align 4, !tbaa !5 %5 = load i32, ptr %1, align 4, !tbaa !9 %6 = load i32, ptr @BP_CFG_IRQ_S, align 4, !tbaa !5 %7 = shl i32 %5, %6 %8 = or i32 %7, %4 %9 = load ptr, ptr %3, align 8, !tbaa !11 %10 = load i64, ptr @BP_CFG, align 8, !tbaa !14 %11 = getelementptr inbounds i32, ptr %9, i64 %10 %12 = load i32, ptr %11, align 4, !tbaa !5 %13 = getelementptr inbounds %struct.beri_pic_isrc, ptr %1, i64 0, i32 1 %14 = load i32, ptr %13, align 4, !tbaa !16 %15 = shl nsw i32 %14, 3 %16 = tail call i32 @bus_write_8(i32 noundef %12, i32 noundef %15, i32 noundef %8) #2 ret void } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @bus_write_8(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"beri_pic_isrc", !6, i64 0, !6, i64 4} !11 = !{!12, !13, i64 0} !12 = !{!"beripic_softc", !13, i64 0} !13 = !{!"any pointer", !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !7, i64 0} !16 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/freebsd/sys/mips/beri/extr_beri_pic.c_beri_pic_enable_intr.c' source_filename = "AnghaBench/freebsd/sys/mips/beri/extr_beri_pic.c_beri_pic_enable_intr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BP_CFG_ENABLE = common local_unnamed_addr global i32 0, align 4 @BP_CFG_IRQ_S = common local_unnamed_addr global i32 0, align 4 @BP_CFG = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @beri_pic_enable_intr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @beri_pic_enable_intr(i32 noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @device_get_softc(i32 noundef %0) #2 %4 = load i32, ptr @BP_CFG_ENABLE, align 4, !tbaa !6 %5 = load i32, ptr %1, align 4, !tbaa !10 %6 = load i32, ptr @BP_CFG_IRQ_S, align 4, !tbaa !6 %7 = shl i32 %5, %6 %8 = or i32 %7, %4 %9 = load ptr, ptr %3, align 8, !tbaa !12 %10 = load i64, ptr @BP_CFG, align 8, !tbaa !15 %11 = getelementptr inbounds i32, ptr %9, i64 %10 %12 = load i32, ptr %11, align 4, !tbaa !6 %13 = getelementptr inbounds i8, ptr %1, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !17 %15 = shl nsw i32 %14, 3 %16 = tail call i32 @bus_write_8(i32 noundef %12, i32 noundef %15, i32 noundef %8) #2 ret void } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @bus_write_8(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"beri_pic_isrc", !7, i64 0, !7, i64 4} !12 = !{!13, !14, i64 0} !13 = !{!"beripic_softc", !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"long", !8, i64 0} !17 = !{!11, !7, i64 4}
freebsd_sys_mips_beri_extr_beri_pic.c_beri_pic_enable_intr
; ModuleID = 'AnghaBench/linux/drivers/scsi/isci/extr_port_config.c_sci_port_configuration_agent_construct.c' source_filename = "AnghaBench/linux/drivers/scsi/isci/extr_port_config.c_sci_port_configuration_agent_construct.c" target datalayout = "e-m:e-p270:32:32-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.sci_port_configuration_agent = type { i32, i32, i32, ptr, ptr, ptr } %struct.TYPE_2__ = type { i64, i64 } @SCI_MAX_PORTS = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable define dso_local void @sci_port_configuration_agent_construct(ptr nocapture noundef %0) local_unnamed_addr #0 { store i32 0, ptr %0, align 8, !tbaa !5 %2 = getelementptr inbounds %struct.sci_port_configuration_agent, ptr %0, i64 0, i32 1 store i32 0, ptr %2, align 4, !tbaa !11 %3 = getelementptr inbounds %struct.sci_port_configuration_agent, ptr %0, i64 0, i32 4 %4 = getelementptr inbounds %struct.sci_port_configuration_agent, ptr %0, i64 0, i32 2 store i32 0, ptr %4, align 8, !tbaa !12 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, i8 0, i64 16, i1 false) %5 = load i64, ptr @SCI_MAX_PORTS, align 8, !tbaa !13 %6 = icmp eq i64 %5, 0 br i1 %6, label %47, label %7 7: ; preds = %1 %8 = getelementptr inbounds %struct.sci_port_configuration_agent, ptr %0, i64 0, i32 3 %9 = load ptr, ptr %8, align 8, !tbaa !15 %10 = load i64, ptr @SCI_MAX_PORTS, align 8, !tbaa !13 %11 = tail call i64 @llvm.umax.i64(i64 %10, i64 1) %12 = and i64 %11, 7 %13 = icmp ult i64 %10, 8 br i1 %13, label %37, label %14 14: ; preds = %7 %15 = and i64 %11, -8 br label %16 16: ; preds = %16, %14 %17 = phi i64 [ 0, %14 ], [ %34, %16 ] %18 = phi i64 [ 0, %14 ], [ %35, %16 ] %19 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %17 %20 = or disjoint i64 %17, 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %19, i8 0, i64 16, i1 false) %21 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %20 %22 = or disjoint i64 %17, 2 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %21, i8 0, i64 16, i1 false) %23 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %22 %24 = or disjoint i64 %17, 3 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %23, i8 0, i64 16, i1 false) %25 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %24 %26 = or disjoint i64 %17, 4 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %25, i8 0, i64 16, i1 false) %27 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %26 %28 = or disjoint i64 %17, 5 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %27, i8 0, i64 16, i1 false) %29 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %28 %30 = or disjoint i64 %17, 6 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %29, i8 0, i64 16, i1 false) %31 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %30 %32 = or disjoint i64 %17, 7 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %31, i8 0, i64 16, i1 false) %33 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %32 %34 = add nuw i64 %17, 8 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %33, i8 0, i64 16, i1 false) %35 = add i64 %18, 8 %36 = icmp eq i64 %35, %15 br i1 %36, label %37, label %16, !llvm.loop !16 37: ; preds = %16, %7 %38 = phi i64 [ 0, %7 ], [ %34, %16 ] %39 = icmp eq i64 %12, 0 br i1 %39, label %47, label %40 40: ; preds = %37, %40 %41 = phi i64 [ %44, %40 ], [ %38, %37 ] %42 = phi i64 [ %45, %40 ], [ 0, %37 ] %43 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %41 %44 = add nuw i64 %41, 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %43, i8 0, i64 16, i1 false) %45 = add i64 %42, 1 %46 = icmp eq i64 %45, %12 br i1 %46, label %47, label %40, !llvm.loop !18 47: ; preds = %37, %40, %1 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umax.i64(i64, i64) #2 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" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"sci_port_configuration_agent", !7, i64 0, !7, i64 4, !7, i64 8, !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 4} !12 = !{!6, !7, i64 8} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!6, !10, i64 16} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.unroll.disable"}
; ModuleID = 'AnghaBench/linux/drivers/scsi/isci/extr_port_config.c_sci_port_configuration_agent_construct.c' source_filename = "AnghaBench/linux/drivers/scsi/isci/extr_port_config.c_sci_port_configuration_agent_construct.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i64, i64 } @SCI_MAX_PORTS = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) define void @sci_port_configuration_agent_construct(ptr nocapture noundef %0) local_unnamed_addr #0 { store <2 x i32> zeroinitializer, ptr %0, align 8, !tbaa !6 %2 = getelementptr inbounds i8, ptr %0, i64 24 %3 = getelementptr inbounds i8, ptr %0, i64 8 store i32 0, ptr %3, align 8, !tbaa !10 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false) %4 = load i64, ptr @SCI_MAX_PORTS, align 8, !tbaa !13 %5 = icmp eq i64 %4, 0 br i1 %5, label %15, label %6 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = load ptr, ptr %7, align 8, !tbaa !15 br label %9 9: ; preds = %6, %9 %10 = phi i64 [ 0, %6 ], [ %12, %9 ] %11 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 %10 %12 = add nuw i64 %10, 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %11, i8 0, i64 16, i1 false) %13 = load i64, ptr @SCI_MAX_PORTS, align 8, !tbaa !13 %14 = icmp ult i64 %12, %13 br i1 %14, label %9, label %15, !llvm.loop !16 15: ; preds = %9, %1 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 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" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"sci_port_configuration_agent", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16, !12, i64 24, !12, i64 32} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!11, !12, i64 16} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
linux_drivers_scsi_isci_extr_port_config.c_sci_port_configuration_agent_construct
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_i2c.c_r100_hw_i2c_xfer.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_i2c.c_r100_hw_i2c_xfer.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.radeon_i2c_chan = type { %struct.radeon_i2c_bus_rec, ptr } %struct.radeon_i2c_bus_rec = type { i32, i64 } %struct.radeon_device = type { i32, i32, %struct.TYPE_4__, i64 } %struct.TYPE_4__ = type { i32 } %struct.i2c_msg = type { i32, i32, i32, ptr } @RADEON_I2C_PRESCALE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @RADEON_I2C_DRIVE_EN = dso_local local_unnamed_addr global i32 0, align 4 @RADEON_I2C_START = dso_local local_unnamed_addr global i32 0, align 4 @RADEON_I2C_STOP = dso_local local_unnamed_addr global i32 0, align 4 @RADEON_I2C_GO = dso_local local_unnamed_addr global i32 0, align 4 @RADEON_BIOS_6_SCRATCH = dso_local local_unnamed_addr global i32 0, align 4 @ATOM_S6_HW_I2C_BUSY_STATE = dso_local local_unnamed_addr global i32 0, align 4 @RADEON_I2C_CNTL_0 = dso_local local_unnamed_addr global i32 0, align 4 @RADEON_I2C_CNTL_1 = dso_local local_unnamed_addr global i32 0, align 4 @RADEON_I2C_DATA = dso_local local_unnamed_addr global i32 0, align 4 @RADEON_DVI_I2C_CNTL_0 = dso_local local_unnamed_addr global i32 0, align 4 @RADEON_DVI_I2C_CNTL_1 = dso_local local_unnamed_addr global i32 0, align 4 @RADEON_DVI_I2C_DATA = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"gpio not supported with hw i2c\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @R200_SEL_DDC1 = dso_local local_unnamed_addr global i32 0, align 4 @R200_SEL_DDC3 = dso_local local_unnamed_addr global i32 0, align 4 @R200_SEL_DDC2 = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [18 x i8] c"unsupported asic\0A\00", align 1 @RADEON_I2C_DONE = dso_local local_unnamed_addr global i32 0, align 4 @RADEON_I2C_NACK = dso_local local_unnamed_addr global i32 0, align 4 @RADEON_I2C_HALT = dso_local local_unnamed_addr global i32 0, align 4 @RADEON_I2C_SOFT_RST = dso_local local_unnamed_addr global i32 0, align 4 @RADEON_I2C_DATA_COUNT_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @RADEON_I2C_ADDR_COUNT_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @RADEON_I2C_EN = dso_local local_unnamed_addr global i32 0, align 4 @RADEON_I2C_TIME_LIMIT_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [24 x i8] c"i2c write error 0x%08x\0A\00", align 1 @RADEON_I2C_ABORT = dso_local local_unnamed_addr global i32 0, align 4 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @I2C_M_RD = dso_local local_unnamed_addr global i32 0, align 4 @RADEON_I2C_RECEIVE = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [23 x i8] c"i2c read error 0x%08x\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @r100_hw_i2c_xfer], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @r100_hw_i2c_xfer(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = tail call ptr @i2c_get_adapdata(ptr noundef %0) #2 %5 = getelementptr inbounds %struct.radeon_i2c_chan, ptr %4, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = load ptr, ptr %6, align 8, !tbaa !13 %8 = getelementptr inbounds %struct.radeon_device, ptr %7, i64 0, i32 1 %9 = tail call i32 @mutex_lock(ptr noundef nonnull %8) #2 %10 = getelementptr inbounds %struct.radeon_device, ptr %7, i64 0, i32 2 %11 = tail call i32 @mutex_lock(ptr noundef nonnull %10) #2 %12 = tail call i32 @radeon_get_i2c_prescale(ptr noundef %7) #2 %13 = load i32, ptr @RADEON_I2C_PRESCALE_SHIFT, align 4, !tbaa !15 %14 = shl i32 %12, %13 %15 = load i32, ptr @RADEON_I2C_DRIVE_EN, align 4, !tbaa !15 %16 = or i32 %14, %15 %17 = load i32, ptr @RADEON_I2C_START, align 4, !tbaa !15 %18 = or i32 %16, %17 %19 = load i32, ptr @RADEON_I2C_STOP, align 4, !tbaa !15 %20 = or i32 %18, %19 %21 = load i32, ptr @RADEON_I2C_GO, align 4, !tbaa !15 %22 = or i32 %20, %21 %23 = getelementptr inbounds %struct.radeon_device, ptr %7, i64 0, i32 3 %24 = load i64, ptr %23, align 8, !tbaa !16 %25 = icmp eq i64 %24, 0 br i1 %25, label %33, label %26 26: ; preds = %3 %27 = load i32, ptr @RADEON_BIOS_6_SCRATCH, align 4, !tbaa !15 %28 = tail call i32 @RREG32(i32 noundef %27) #2 %29 = load i32, ptr @RADEON_BIOS_6_SCRATCH, align 4, !tbaa !15 %30 = load i32, ptr @ATOM_S6_HW_I2C_BUSY_STATE, align 4, !tbaa !15 %31 = or i32 %30, %28 %32 = tail call i32 @WREG32(i32 noundef %29, i32 noundef %31) #2 br label %33 33: ; preds = %26, %3 %34 = getelementptr inbounds %struct.radeon_i2c_bus_rec, ptr %4, i64 0, i32 1 %35 = load i64, ptr %34, align 8, !tbaa !19 %36 = icmp eq i64 %35, 0 br i1 %36, label %41, label %37 37: ; preds = %33 %38 = load i32, ptr @RADEON_I2C_CNTL_0, align 4, !tbaa !15 %39 = load i32, ptr @RADEON_I2C_CNTL_1, align 4, !tbaa !15 %40 = load i32, ptr @RADEON_I2C_DATA, align 4, !tbaa !15 br label %121 41: ; preds = %33 %42 = load i32, ptr @RADEON_DVI_I2C_CNTL_0, align 4, !tbaa !15 %43 = load i32, ptr @RADEON_DVI_I2C_CNTL_1, align 4, !tbaa !15 %44 = load i32, ptr @RADEON_DVI_I2C_DATA, align 4, !tbaa !15 %45 = load i32, ptr %7, align 8, !tbaa !20 switch i32 %45, label %117 [ i32 149, label %46 i32 138, label %46 i32 143, label %46 i32 137, label %46 i32 142, label %46 i32 141, label %46 i32 148, label %53 i32 136, label %67 i32 135, label %67 i32 147, label %85 i32 146, label %85 i32 134, label %99 i32 133, label %99 i32 145, label %99 i32 144, label %99 i32 132, label %99 i32 140, label %99 i32 139, label %99 ] 46: ; preds = %41, %41, %41, %41, %41, %41 %47 = load i32, ptr %4, align 8, !tbaa !21 %48 = icmp eq i32 %47, 130 br i1 %48, label %121, label %49 49: ; preds = %46 %50 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str) #2 %51 = load i32, ptr @EINVAL, align 4, !tbaa !15 %52 = sub nsw i32 0, %51 br label %301 53: ; preds = %41 %54 = load i32, ptr %4, align 8, !tbaa !21 switch i32 %54, label %63 [ i32 130, label %55 i32 129, label %59 ] 55: ; preds = %53 %56 = load i32, ptr @R200_SEL_DDC1, align 4, !tbaa !15 %57 = tail call i32 @R200_DVI_I2C_PIN_SEL(i32 noundef %56) #2 %58 = or i32 %57, %22 br label %121 59: ; preds = %53 %60 = load i32, ptr @R200_SEL_DDC3, align 4, !tbaa !15 %61 = tail call i32 @R200_DVI_I2C_PIN_SEL(i32 noundef %60) #2 %62 = or i32 %61, %22 br label %121 63: ; preds = %53 %64 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str) #2 %65 = load i32, ptr @EINVAL, align 4, !tbaa !15 %66 = sub nsw i32 0, %65 br label %301 67: ; preds = %41, %41 %68 = load i32, ptr %4, align 8, !tbaa !21 switch i32 %68, label %81 [ i32 130, label %69 i32 128, label %73 i32 131, label %77 ] 69: ; preds = %67 %70 = load i32, ptr @R200_SEL_DDC1, align 4, !tbaa !15 %71 = tail call i32 @R200_DVI_I2C_PIN_SEL(i32 noundef %70) #2 %72 = or i32 %71, %22 br label %121 73: ; preds = %67 %74 = load i32, ptr @R200_SEL_DDC2, align 4, !tbaa !15 %75 = tail call i32 @R200_DVI_I2C_PIN_SEL(i32 noundef %74) #2 %76 = or i32 %75, %22 br label %121 77: ; preds = %67 %78 = load i32, ptr @R200_SEL_DDC3, align 4, !tbaa !15 %79 = tail call i32 @R200_DVI_I2C_PIN_SEL(i32 noundef %78) #2 %80 = or i32 %79, %22 br label %121 81: ; preds = %67 %82 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str) #2 %83 = load i32, ptr @EINVAL, align 4, !tbaa !15 %84 = sub nsw i32 0, %83 br label %301 85: ; preds = %41, %41 %86 = load i32, ptr %4, align 8, !tbaa !21 switch i32 %86, label %95 [ i32 128, label %87 i32 130, label %91 ] 87: ; preds = %85 %88 = load i32, ptr @R200_SEL_DDC1, align 4, !tbaa !15 %89 = tail call i32 @R200_DVI_I2C_PIN_SEL(i32 noundef %88) #2 %90 = or i32 %89, %22 br label %121 91: ; preds = %85 %92 = load i32, ptr @R200_SEL_DDC3, align 4, !tbaa !15 %93 = tail call i32 @R200_DVI_I2C_PIN_SEL(i32 noundef %92) #2 %94 = or i32 %93, %22 br label %121 95: ; preds = %85 %96 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str) #2 %97 = load i32, ptr @EINVAL, align 4, !tbaa !15 %98 = sub nsw i32 0, %97 br label %301 99: ; preds = %41, %41, %41, %41, %41, %41, %41 %100 = load i32, ptr %4, align 8, !tbaa !21 switch i32 %100, label %113 [ i32 128, label %101 i32 130, label %105 i32 129, label %109 ] 101: ; preds = %99 %102 = load i32, ptr @R200_SEL_DDC1, align 4, !tbaa !15 %103 = tail call i32 @R200_DVI_I2C_PIN_SEL(i32 noundef %102) #2 %104 = or i32 %103, %22 br label %121 105: ; preds = %99 %106 = load i32, ptr @R200_SEL_DDC2, align 4, !tbaa !15 %107 = tail call i32 @R200_DVI_I2C_PIN_SEL(i32 noundef %106) #2 %108 = or i32 %107, %22 br label %121 109: ; preds = %99 %110 = load i32, ptr @R200_SEL_DDC3, align 4, !tbaa !15 %111 = tail call i32 @R200_DVI_I2C_PIN_SEL(i32 noundef %110) #2 %112 = or i32 %111, %22 br label %121 113: ; preds = %99 %114 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str) #2 %115 = load i32, ptr @EINVAL, align 4, !tbaa !15 %116 = sub nsw i32 0, %115 br label %301 117: ; preds = %41 %118 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.1) #2 %119 = load i32, ptr @EINVAL, align 4, !tbaa !15 %120 = sub nsw i32 0, %119 br label %301 121: ; preds = %46, %59, %55, %77, %73, %69, %91, %87, %109, %105, %101, %37 %122 = phi i32 [ %38, %37 ], [ %42, %109 ], [ %42, %105 ], [ %42, %101 ], [ %42, %91 ], [ %42, %87 ], [ %42, %77 ], [ %42, %73 ], [ %42, %69 ], [ %42, %59 ], [ %42, %55 ], [ %42, %46 ] %123 = phi i32 [ %39, %37 ], [ %43, %109 ], [ %43, %105 ], [ %43, %101 ], [ %43, %91 ], [ %43, %87 ], [ %43, %77 ], [ %43, %73 ], [ %43, %69 ], [ %43, %59 ], [ %43, %55 ], [ %43, %46 ] %124 = phi i32 [ %40, %37 ], [ %44, %109 ], [ %44, %105 ], [ %44, %101 ], [ %44, %91 ], [ %44, %87 ], [ %44, %77 ], [ %44, %73 ], [ %44, %69 ], [ %44, %59 ], [ %44, %55 ], [ %44, %46 ] %125 = phi i32 [ %22, %37 ], [ %112, %109 ], [ %108, %105 ], [ %104, %101 ], [ %94, %91 ], [ %90, %87 ], [ %80, %77 ], [ %76, %73 ], [ %72, %69 ], [ %62, %59 ], [ %58, %55 ], [ %22, %46 ] %126 = icmp eq i32 %2, 1 br i1 %126, label %127, label %179 127: ; preds = %121 %128 = load i32, ptr %1, align 8, !tbaa !22 %129 = icmp eq i32 %128, 0 br i1 %129, label %130, label %181 130: ; preds = %127 %131 = load i32, ptr @RADEON_I2C_DONE, align 4, !tbaa !15 %132 = load i32, ptr @RADEON_I2C_NACK, align 4, !tbaa !15 %133 = or i32 %132, %131 %134 = load i32, ptr @RADEON_I2C_HALT, align 4, !tbaa !15 %135 = or i32 %133, %134 %136 = load i32, ptr @RADEON_I2C_SOFT_RST, align 4, !tbaa !15 %137 = or i32 %135, %136 %138 = tail call i32 @WREG32(i32 noundef %122, i32 noundef %137) #2 %139 = getelementptr inbounds %struct.i2c_msg, ptr %1, i64 0, i32 1 %140 = load i32, ptr %139, align 4, !tbaa !24 %141 = shl i32 %140, 1 %142 = and i32 %141, 254 %143 = tail call i32 @WREG32(i32 noundef %124, i32 noundef %142) #2 %144 = tail call i32 @WREG32(i32 noundef %124, i32 noundef 0) #2 %145 = load i32, ptr @RADEON_I2C_DATA_COUNT_SHIFT, align 4, !tbaa !15 %146 = shl nuw i32 1, %145 %147 = load i32, ptr @RADEON_I2C_ADDR_COUNT_SHIFT, align 4, !tbaa !15 %148 = shl nuw i32 1, %147 %149 = or i32 %148, %146 %150 = load i32, ptr @RADEON_I2C_EN, align 4, !tbaa !15 %151 = or i32 %149, %150 %152 = load i32, ptr @RADEON_I2C_TIME_LIMIT_SHIFT, align 4, !tbaa !15 %153 = shl i32 48, %152 %154 = or i32 %151, %153 %155 = tail call i32 @WREG32(i32 noundef %123, i32 noundef %154) #2 %156 = tail call i32 @WREG32(i32 noundef %122, i32 noundef %125) #2 br label %160 157: ; preds = %160 %158 = add nuw nsw i32 %161, 1 %159 = icmp eq i32 %158, 32 br i1 %159, label %301, label %160, !llvm.loop !25 160: ; preds = %130, %157 %161 = phi i32 [ 0, %130 ], [ %158, %157 ] %162 = tail call i32 @udelay(i32 noundef 10) #2 %163 = tail call i32 @RREG32(i32 noundef %122) #2 %164 = load i32, ptr @RADEON_I2C_GO, align 4, !tbaa !15 %165 = and i32 %164, %163 %166 = icmp eq i32 %165, 0 br i1 %166, label %167, label %157 167: ; preds = %160 %168 = tail call i32 @RREG32(i32 noundef %122) #2 %169 = load i32, ptr @RADEON_I2C_DONE, align 4, !tbaa !15 %170 = and i32 %169, %168 %171 = icmp eq i32 %170, 0 br i1 %171, label %172, label %301 172: ; preds = %167 %173 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str.2, i32 noundef %168) #2 %174 = load i32, ptr @RADEON_I2C_ABORT, align 4, !tbaa !15 %175 = or i32 %174, %168 %176 = tail call i32 @WREG32(i32 noundef %122, i32 noundef %175) #2 %177 = load i32, ptr @EIO, align 4, !tbaa !15 %178 = sub nsw i32 0, %177 br label %301 179: ; preds = %121 %180 = icmp sgt i32 %2, 0 br i1 %180, label %181, label %301 181: ; preds = %127, %179 %182 = zext nneg i32 %2 to i64 br label %183 183: ; preds = %181, %298 %184 = phi i64 [ 0, %181 ], [ %299, %298 ] %185 = getelementptr inbounds %struct.i2c_msg, ptr %1, i64 %184 %186 = load i32, ptr %185, align 8, !tbaa !22 %187 = icmp sgt i32 %186, 0 br i1 %187, label %188, label %298 188: ; preds = %183 %189 = getelementptr inbounds %struct.i2c_msg, ptr %1, i64 %184, i32 2 %190 = getelementptr inbounds %struct.i2c_msg, ptr %1, i64 %184, i32 1 %191 = getelementptr inbounds %struct.i2c_msg, ptr %1, i64 %184, i32 3 br label %192 192: ; preds = %188, %293 %193 = phi i64 [ 0, %188 ], [ %294, %293 ] %194 = load i32, ptr %189, align 8, !tbaa !27 %195 = load i32, ptr @I2C_M_RD, align 4, !tbaa !15 %196 = and i32 %195, %194 %197 = icmp eq i32 %196, 0 %198 = load i32, ptr @RADEON_I2C_DONE, align 4, !tbaa !15 %199 = load i32, ptr @RADEON_I2C_NACK, align 4, !tbaa !15 %200 = or i32 %199, %198 %201 = load i32, ptr @RADEON_I2C_HALT, align 4, !tbaa !15 %202 = or i32 %200, %201 %203 = load i32, ptr @RADEON_I2C_SOFT_RST, align 4, !tbaa !15 %204 = or i32 %202, %203 %205 = tail call i32 @WREG32(i32 noundef %122, i32 noundef %204) #2 %206 = load i32, ptr %190, align 4, !tbaa !24 %207 = shl i32 %206, 1 %208 = and i32 %207, 254 br i1 %197, label %253, label %209 209: ; preds = %192 %210 = or disjoint i32 %208, 1 %211 = tail call i32 @WREG32(i32 noundef %124, i32 noundef %210) #2 %212 = load i32, ptr @RADEON_I2C_DATA_COUNT_SHIFT, align 4, !tbaa !15 %213 = shl nuw i32 1, %212 %214 = load i32, ptr @RADEON_I2C_ADDR_COUNT_SHIFT, align 4, !tbaa !15 %215 = shl nuw i32 1, %214 %216 = or i32 %215, %213 %217 = load i32, ptr @RADEON_I2C_EN, align 4, !tbaa !15 %218 = or i32 %216, %217 %219 = load i32, ptr @RADEON_I2C_TIME_LIMIT_SHIFT, align 4, !tbaa !15 %220 = shl i32 48, %219 %221 = or i32 %218, %220 %222 = tail call i32 @WREG32(i32 noundef %123, i32 noundef %221) #2 %223 = load i32, ptr @RADEON_I2C_RECEIVE, align 4, !tbaa !15 %224 = or i32 %223, %125 %225 = tail call i32 @WREG32(i32 noundef %122, i32 noundef %224) #2 br label %229 226: ; preds = %229 %227 = add nuw nsw i32 %230, 1 %228 = icmp eq i32 %227, 32 br i1 %228, label %248, label %229, !llvm.loop !28 229: ; preds = %209, %226 %230 = phi i32 [ 0, %209 ], [ %227, %226 ] %231 = tail call i32 @udelay(i32 noundef 10) #2 %232 = tail call i32 @RREG32(i32 noundef %122) #2 %233 = load i32, ptr @RADEON_I2C_GO, align 4, !tbaa !15 %234 = and i32 %233, %232 %235 = icmp eq i32 %234, 0 br i1 %235, label %236, label %226 236: ; preds = %229 %237 = tail call i32 @RREG32(i32 noundef %122) #2 %238 = load i32, ptr @RADEON_I2C_DONE, align 4, !tbaa !15 %239 = and i32 %238, %237 %240 = icmp eq i32 %239, 0 br i1 %240, label %241, label %248 241: ; preds = %236 %242 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str.3, i32 noundef %237) #2 %243 = load i32, ptr @RADEON_I2C_ABORT, align 4, !tbaa !15 %244 = or i32 %243, %237 %245 = tail call i32 @WREG32(i32 noundef %122, i32 noundef %244) #2 %246 = load i32, ptr @EIO, align 4, !tbaa !15 %247 = sub nsw i32 0, %246 br label %301 248: ; preds = %226, %236 %249 = tail call i32 @RREG32(i32 noundef %124) #2 %250 = and i32 %249, 255 %251 = load ptr, ptr %191, align 8, !tbaa !29 %252 = getelementptr inbounds i32, ptr %251, i64 %193 store i32 %250, ptr %252, align 4, !tbaa !15 br label %293 253: ; preds = %192 %254 = tail call i32 @WREG32(i32 noundef %124, i32 noundef %208) #2 %255 = load ptr, ptr %191, align 8, !tbaa !29 %256 = getelementptr inbounds i32, ptr %255, i64 %193 %257 = load i32, ptr %256, align 4, !tbaa !15 %258 = tail call i32 @WREG32(i32 noundef %124, i32 noundef %257) #2 %259 = load i32, ptr @RADEON_I2C_DATA_COUNT_SHIFT, align 4, !tbaa !15 %260 = shl nuw i32 1, %259 %261 = load i32, ptr @RADEON_I2C_ADDR_COUNT_SHIFT, align 4, !tbaa !15 %262 = shl nuw i32 1, %261 %263 = or i32 %262, %260 %264 = load i32, ptr @RADEON_I2C_EN, align 4, !tbaa !15 %265 = or i32 %263, %264 %266 = load i32, ptr @RADEON_I2C_TIME_LIMIT_SHIFT, align 4, !tbaa !15 %267 = shl i32 48, %266 %268 = or i32 %265, %267 %269 = tail call i32 @WREG32(i32 noundef %123, i32 noundef %268) #2 %270 = tail call i32 @WREG32(i32 noundef %122, i32 noundef %125) #2 br label %274 271: ; preds = %274 %272 = add nuw nsw i32 %275, 1 %273 = icmp eq i32 %272, 32 br i1 %273, label %293, label %274, !llvm.loop !30 274: ; preds = %253, %271 %275 = phi i32 [ 0, %253 ], [ %272, %271 ] %276 = tail call i32 @udelay(i32 noundef 10) #2 %277 = tail call i32 @RREG32(i32 noundef %122) #2 %278 = load i32, ptr @RADEON_I2C_GO, align 4, !tbaa !15 %279 = and i32 %278, %277 %280 = icmp eq i32 %279, 0 br i1 %280, label %281, label %271 281: ; preds = %274 %282 = tail call i32 @RREG32(i32 noundef %122) #2 %283 = load i32, ptr @RADEON_I2C_DONE, align 4, !tbaa !15 %284 = and i32 %283, %282 %285 = icmp eq i32 %284, 0 br i1 %285, label %286, label %293 286: ; preds = %281 %287 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str.2, i32 noundef %282) #2 %288 = load i32, ptr @RADEON_I2C_ABORT, align 4, !tbaa !15 %289 = or i32 %288, %282 %290 = tail call i32 @WREG32(i32 noundef %122, i32 noundef %289) #2 %291 = load i32, ptr @EIO, align 4, !tbaa !15 %292 = sub nsw i32 0, %291 br label %301 293: ; preds = %271, %248, %281 %294 = add nuw nsw i64 %193, 1 %295 = load i32, ptr %185, align 8, !tbaa !22 %296 = sext i32 %295 to i64 %297 = icmp slt i64 %294, %296 br i1 %297, label %192, label %298, !llvm.loop !31 298: ; preds = %293, %183 %299 = add nuw nsw i64 %184, 1 %300 = icmp eq i64 %299, %182 br i1 %300, label %301, label %183, !llvm.loop !32 301: ; preds = %298, %157, %179, %167, %286, %241, %172, %117, %113, %95, %81, %63, %49 %302 = phi i32 [ 1, %167 ], [ %178, %172 ], [ %247, %241 ], [ %292, %286 ], [ %120, %117 ], [ %116, %113 ], [ %98, %95 ], [ %84, %81 ], [ %66, %63 ], [ %52, %49 ], [ %2, %179 ], [ 1, %157 ], [ %2, %298 ] %303 = phi i32 [ %122, %167 ], [ %122, %172 ], [ %122, %241 ], [ %122, %286 ], [ %42, %117 ], [ %42, %113 ], [ %42, %95 ], [ %42, %81 ], [ %42, %63 ], [ %42, %49 ], [ %122, %179 ], [ %122, %157 ], [ %122, %298 ] %304 = phi i32 [ %123, %167 ], [ %123, %172 ], [ %123, %241 ], [ %123, %286 ], [ %43, %117 ], [ %43, %113 ], [ %43, %95 ], [ %43, %81 ], [ %43, %63 ], [ %43, %49 ], [ %123, %179 ], [ %123, %157 ], [ %123, %298 ] %305 = tail call i32 @WREG32(i32 noundef %303, i32 noundef 0) #2 %306 = tail call i32 @WREG32(i32 noundef %304, i32 noundef 0) #2 %307 = load i32, ptr @RADEON_I2C_DONE, align 4, !tbaa !15 %308 = load i32, ptr @RADEON_I2C_NACK, align 4, !tbaa !15 %309 = or i32 %308, %307 %310 = load i32, ptr @RADEON_I2C_HALT, align 4, !tbaa !15 %311 = or i32 %309, %310 %312 = load i32, ptr @RADEON_I2C_SOFT_RST, align 4, !tbaa !15 %313 = or i32 %311, %312 %314 = tail call i32 @WREG32(i32 noundef %303, i32 noundef %313) #2 %315 = load i64, ptr %23, align 8, !tbaa !16 %316 = icmp eq i64 %315, 0 br i1 %316, label %325, label %317 317: ; preds = %301 %318 = load i32, ptr @RADEON_BIOS_6_SCRATCH, align 4, !tbaa !15 %319 = tail call i32 @RREG32(i32 noundef %318) #2 %320 = load i32, ptr @ATOM_S6_HW_I2C_BUSY_STATE, align 4, !tbaa !15 %321 = xor i32 %320, -1 %322 = and i32 %319, %321 %323 = load i32, ptr @RADEON_BIOS_6_SCRATCH, align 4, !tbaa !15 %324 = tail call i32 @WREG32(i32 noundef %323, i32 noundef %322) #2 br label %325 325: ; preds = %317, %301 %326 = tail call i32 @mutex_unlock(ptr noundef nonnull %10) #2 %327 = tail call i32 @mutex_unlock(ptr noundef nonnull %8) #2 ret i32 %302 } declare ptr @i2c_get_adapdata(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_get_i2c_prescale(ptr noundef) local_unnamed_addr #1 declare i32 @RREG32(i32 noundef) local_unnamed_addr #1 declare i32 @WREG32(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DRM_ERROR(ptr noundef) local_unnamed_addr #1 declare i32 @R200_DVI_I2C_PIN_SEL(i32 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i32 @DRM_DEBUG(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !12, i64 16} !6 = !{!"radeon_i2c_chan", !7, i64 0, !12, i64 16} !7 = !{!"radeon_i2c_bus_rec", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_3__", !12, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!17, !11, i64 16} !17 = !{!"radeon_device", !8, i64 0, !8, i64 4, !18, i64 8, !11, i64 16} !18 = !{!"TYPE_4__", !8, i64 0} !19 = !{!7, !11, i64 8} !20 = !{!17, !8, i64 0} !21 = !{!7, !8, i64 0} !22 = !{!23, !8, i64 0} !23 = !{!"i2c_msg", !8, i64 0, !8, i64 4, !8, i64 8, !12, i64 16} !24 = !{!23, !8, i64 4} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"} !27 = !{!23, !8, i64 8} !28 = distinct !{!28, !26} !29 = !{!23, !12, i64 16} !30 = distinct !{!30, !26} !31 = distinct !{!31, !26} !32 = distinct !{!32, !26}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_i2c.c_r100_hw_i2c_xfer.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_i2c.c_r100_hw_i2c_xfer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.i2c_msg = type { i32, i32, i32, ptr } @RADEON_I2C_PRESCALE_SHIFT = common local_unnamed_addr global i32 0, align 4 @RADEON_I2C_DRIVE_EN = common local_unnamed_addr global i32 0, align 4 @RADEON_I2C_START = common local_unnamed_addr global i32 0, align 4 @RADEON_I2C_STOP = common local_unnamed_addr global i32 0, align 4 @RADEON_I2C_GO = common local_unnamed_addr global i32 0, align 4 @RADEON_BIOS_6_SCRATCH = common local_unnamed_addr global i32 0, align 4 @ATOM_S6_HW_I2C_BUSY_STATE = common local_unnamed_addr global i32 0, align 4 @RADEON_I2C_CNTL_0 = common local_unnamed_addr global i32 0, align 4 @RADEON_I2C_CNTL_1 = common local_unnamed_addr global i32 0, align 4 @RADEON_I2C_DATA = common local_unnamed_addr global i32 0, align 4 @RADEON_DVI_I2C_CNTL_0 = common local_unnamed_addr global i32 0, align 4 @RADEON_DVI_I2C_CNTL_1 = common local_unnamed_addr global i32 0, align 4 @RADEON_DVI_I2C_DATA = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"gpio not supported with hw i2c\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @R200_SEL_DDC1 = common local_unnamed_addr global i32 0, align 4 @R200_SEL_DDC3 = common local_unnamed_addr global i32 0, align 4 @R200_SEL_DDC2 = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [18 x i8] c"unsupported asic\0A\00", align 1 @RADEON_I2C_DONE = common local_unnamed_addr global i32 0, align 4 @RADEON_I2C_NACK = common local_unnamed_addr global i32 0, align 4 @RADEON_I2C_HALT = common local_unnamed_addr global i32 0, align 4 @RADEON_I2C_SOFT_RST = common local_unnamed_addr global i32 0, align 4 @RADEON_I2C_DATA_COUNT_SHIFT = common local_unnamed_addr global i32 0, align 4 @RADEON_I2C_ADDR_COUNT_SHIFT = common local_unnamed_addr global i32 0, align 4 @RADEON_I2C_EN = common local_unnamed_addr global i32 0, align 4 @RADEON_I2C_TIME_LIMIT_SHIFT = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [24 x i8] c"i2c write error 0x%08x\0A\00", align 1 @RADEON_I2C_ABORT = common local_unnamed_addr global i32 0, align 4 @EIO = common local_unnamed_addr global i32 0, align 4 @I2C_M_RD = common local_unnamed_addr global i32 0, align 4 @RADEON_I2C_RECEIVE = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [23 x i8] c"i2c read error 0x%08x\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @r100_hw_i2c_xfer], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @r100_hw_i2c_xfer(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = tail call ptr @i2c_get_adapdata(ptr noundef %0) #2 %5 = getelementptr inbounds i8, ptr %4, i64 16 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = load ptr, ptr %6, align 8, !tbaa !14 %8 = getelementptr inbounds i8, ptr %7, i64 4 %9 = tail call i32 @mutex_lock(ptr noundef nonnull %8) #2 %10 = getelementptr inbounds i8, ptr %7, i64 8 %11 = tail call i32 @mutex_lock(ptr noundef nonnull %10) #2 %12 = tail call i32 @radeon_get_i2c_prescale(ptr noundef %7) #2 %13 = load i32, ptr @RADEON_I2C_PRESCALE_SHIFT, align 4, !tbaa !16 %14 = shl i32 %12, %13 %15 = load i32, ptr @RADEON_I2C_DRIVE_EN, align 4, !tbaa !16 %16 = or i32 %14, %15 %17 = load i32, ptr @RADEON_I2C_START, align 4, !tbaa !16 %18 = or i32 %16, %17 %19 = load i32, ptr @RADEON_I2C_STOP, align 4, !tbaa !16 %20 = or i32 %18, %19 %21 = load i32, ptr @RADEON_I2C_GO, align 4, !tbaa !16 %22 = or i32 %20, %21 %23 = getelementptr inbounds i8, ptr %7, i64 16 %24 = load i64, ptr %23, align 8, !tbaa !17 %25 = icmp eq i64 %24, 0 br i1 %25, label %33, label %26 26: ; preds = %3 %27 = load i32, ptr @RADEON_BIOS_6_SCRATCH, align 4, !tbaa !16 %28 = tail call i32 @RREG32(i32 noundef %27) #2 %29 = load i32, ptr @RADEON_BIOS_6_SCRATCH, align 4, !tbaa !16 %30 = load i32, ptr @ATOM_S6_HW_I2C_BUSY_STATE, align 4, !tbaa !16 %31 = or i32 %30, %28 %32 = tail call i32 @WREG32(i32 noundef %29, i32 noundef %31) #2 br label %33 33: ; preds = %26, %3 %34 = getelementptr inbounds i8, ptr %4, i64 8 %35 = load i64, ptr %34, align 8, !tbaa !20 %36 = icmp eq i64 %35, 0 br i1 %36, label %41, label %37 37: ; preds = %33 %38 = load i32, ptr @RADEON_I2C_CNTL_0, align 4, !tbaa !16 %39 = load i32, ptr @RADEON_I2C_CNTL_1, align 4, !tbaa !16 %40 = load i32, ptr @RADEON_I2C_DATA, align 4, !tbaa !16 br label %121 41: ; preds = %33 %42 = load i32, ptr @RADEON_DVI_I2C_CNTL_0, align 4, !tbaa !16 %43 = load i32, ptr @RADEON_DVI_I2C_CNTL_1, align 4, !tbaa !16 %44 = load i32, ptr @RADEON_DVI_I2C_DATA, align 4, !tbaa !16 %45 = load i32, ptr %7, align 8, !tbaa !21 switch i32 %45, label %117 [ i32 149, label %46 i32 138, label %46 i32 143, label %46 i32 137, label %46 i32 142, label %46 i32 141, label %46 i32 148, label %53 i32 136, label %67 i32 135, label %67 i32 147, label %85 i32 146, label %85 i32 134, label %99 i32 133, label %99 i32 145, label %99 i32 144, label %99 i32 132, label %99 i32 140, label %99 i32 139, label %99 ] 46: ; preds = %41, %41, %41, %41, %41, %41 %47 = load i32, ptr %4, align 8, !tbaa !22 %48 = icmp eq i32 %47, 130 br i1 %48, label %121, label %49 49: ; preds = %46 %50 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str) #2 %51 = load i32, ptr @EINVAL, align 4, !tbaa !16 %52 = sub nsw i32 0, %51 br label %301 53: ; preds = %41 %54 = load i32, ptr %4, align 8, !tbaa !22 switch i32 %54, label %63 [ i32 130, label %55 i32 129, label %59 ] 55: ; preds = %53 %56 = load i32, ptr @R200_SEL_DDC1, align 4, !tbaa !16 %57 = tail call i32 @R200_DVI_I2C_PIN_SEL(i32 noundef %56) #2 %58 = or i32 %57, %22 br label %121 59: ; preds = %53 %60 = load i32, ptr @R200_SEL_DDC3, align 4, !tbaa !16 %61 = tail call i32 @R200_DVI_I2C_PIN_SEL(i32 noundef %60) #2 %62 = or i32 %61, %22 br label %121 63: ; preds = %53 %64 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str) #2 %65 = load i32, ptr @EINVAL, align 4, !tbaa !16 %66 = sub nsw i32 0, %65 br label %301 67: ; preds = %41, %41 %68 = load i32, ptr %4, align 8, !tbaa !22 switch i32 %68, label %81 [ i32 130, label %69 i32 128, label %73 i32 131, label %77 ] 69: ; preds = %67 %70 = load i32, ptr @R200_SEL_DDC1, align 4, !tbaa !16 %71 = tail call i32 @R200_DVI_I2C_PIN_SEL(i32 noundef %70) #2 %72 = or i32 %71, %22 br label %121 73: ; preds = %67 %74 = load i32, ptr @R200_SEL_DDC2, align 4, !tbaa !16 %75 = tail call i32 @R200_DVI_I2C_PIN_SEL(i32 noundef %74) #2 %76 = or i32 %75, %22 br label %121 77: ; preds = %67 %78 = load i32, ptr @R200_SEL_DDC3, align 4, !tbaa !16 %79 = tail call i32 @R200_DVI_I2C_PIN_SEL(i32 noundef %78) #2 %80 = or i32 %79, %22 br label %121 81: ; preds = %67 %82 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str) #2 %83 = load i32, ptr @EINVAL, align 4, !tbaa !16 %84 = sub nsw i32 0, %83 br label %301 85: ; preds = %41, %41 %86 = load i32, ptr %4, align 8, !tbaa !22 switch i32 %86, label %95 [ i32 128, label %87 i32 130, label %91 ] 87: ; preds = %85 %88 = load i32, ptr @R200_SEL_DDC1, align 4, !tbaa !16 %89 = tail call i32 @R200_DVI_I2C_PIN_SEL(i32 noundef %88) #2 %90 = or i32 %89, %22 br label %121 91: ; preds = %85 %92 = load i32, ptr @R200_SEL_DDC3, align 4, !tbaa !16 %93 = tail call i32 @R200_DVI_I2C_PIN_SEL(i32 noundef %92) #2 %94 = or i32 %93, %22 br label %121 95: ; preds = %85 %96 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str) #2 %97 = load i32, ptr @EINVAL, align 4, !tbaa !16 %98 = sub nsw i32 0, %97 br label %301 99: ; preds = %41, %41, %41, %41, %41, %41, %41 %100 = load i32, ptr %4, align 8, !tbaa !22 switch i32 %100, label %113 [ i32 128, label %101 i32 130, label %105 i32 129, label %109 ] 101: ; preds = %99 %102 = load i32, ptr @R200_SEL_DDC1, align 4, !tbaa !16 %103 = tail call i32 @R200_DVI_I2C_PIN_SEL(i32 noundef %102) #2 %104 = or i32 %103, %22 br label %121 105: ; preds = %99 %106 = load i32, ptr @R200_SEL_DDC2, align 4, !tbaa !16 %107 = tail call i32 @R200_DVI_I2C_PIN_SEL(i32 noundef %106) #2 %108 = or i32 %107, %22 br label %121 109: ; preds = %99 %110 = load i32, ptr @R200_SEL_DDC3, align 4, !tbaa !16 %111 = tail call i32 @R200_DVI_I2C_PIN_SEL(i32 noundef %110) #2 %112 = or i32 %111, %22 br label %121 113: ; preds = %99 %114 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str) #2 %115 = load i32, ptr @EINVAL, align 4, !tbaa !16 %116 = sub nsw i32 0, %115 br label %301 117: ; preds = %41 %118 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.1) #2 %119 = load i32, ptr @EINVAL, align 4, !tbaa !16 %120 = sub nsw i32 0, %119 br label %301 121: ; preds = %46, %59, %55, %77, %73, %69, %91, %87, %109, %105, %101, %37 %122 = phi i32 [ %38, %37 ], [ %42, %109 ], [ %42, %105 ], [ %42, %101 ], [ %42, %91 ], [ %42, %87 ], [ %42, %77 ], [ %42, %73 ], [ %42, %69 ], [ %42, %59 ], [ %42, %55 ], [ %42, %46 ] %123 = phi i32 [ %39, %37 ], [ %43, %109 ], [ %43, %105 ], [ %43, %101 ], [ %43, %91 ], [ %43, %87 ], [ %43, %77 ], [ %43, %73 ], [ %43, %69 ], [ %43, %59 ], [ %43, %55 ], [ %43, %46 ] %124 = phi i32 [ %40, %37 ], [ %44, %109 ], [ %44, %105 ], [ %44, %101 ], [ %44, %91 ], [ %44, %87 ], [ %44, %77 ], [ %44, %73 ], [ %44, %69 ], [ %44, %59 ], [ %44, %55 ], [ %44, %46 ] %125 = phi i32 [ %22, %37 ], [ %112, %109 ], [ %108, %105 ], [ %104, %101 ], [ %94, %91 ], [ %90, %87 ], [ %80, %77 ], [ %76, %73 ], [ %72, %69 ], [ %62, %59 ], [ %58, %55 ], [ %22, %46 ] %126 = icmp eq i32 %2, 1 br i1 %126, label %127, label %179 127: ; preds = %121 %128 = load i32, ptr %1, align 8, !tbaa !23 %129 = icmp eq i32 %128, 0 br i1 %129, label %130, label %181 130: ; preds = %127 %131 = load i32, ptr @RADEON_I2C_DONE, align 4, !tbaa !16 %132 = load i32, ptr @RADEON_I2C_NACK, align 4, !tbaa !16 %133 = or i32 %132, %131 %134 = load i32, ptr @RADEON_I2C_HALT, align 4, !tbaa !16 %135 = or i32 %133, %134 %136 = load i32, ptr @RADEON_I2C_SOFT_RST, align 4, !tbaa !16 %137 = or i32 %135, %136 %138 = tail call i32 @WREG32(i32 noundef %122, i32 noundef %137) #2 %139 = getelementptr inbounds i8, ptr %1, i64 4 %140 = load i32, ptr %139, align 4, !tbaa !25 %141 = shl i32 %140, 1 %142 = and i32 %141, 254 %143 = tail call i32 @WREG32(i32 noundef %124, i32 noundef %142) #2 %144 = tail call i32 @WREG32(i32 noundef %124, i32 noundef 0) #2 %145 = load i32, ptr @RADEON_I2C_DATA_COUNT_SHIFT, align 4, !tbaa !16 %146 = shl nuw i32 1, %145 %147 = load i32, ptr @RADEON_I2C_ADDR_COUNT_SHIFT, align 4, !tbaa !16 %148 = shl nuw i32 1, %147 %149 = or i32 %148, %146 %150 = load i32, ptr @RADEON_I2C_EN, align 4, !tbaa !16 %151 = or i32 %149, %150 %152 = load i32, ptr @RADEON_I2C_TIME_LIMIT_SHIFT, align 4, !tbaa !16 %153 = shl i32 48, %152 %154 = or i32 %151, %153 %155 = tail call i32 @WREG32(i32 noundef %123, i32 noundef %154) #2 %156 = tail call i32 @WREG32(i32 noundef %122, i32 noundef %125) #2 br label %160 157: ; preds = %160 %158 = add nuw nsw i32 %161, 1 %159 = icmp eq i32 %158, 32 br i1 %159, label %301, label %160, !llvm.loop !26 160: ; preds = %130, %157 %161 = phi i32 [ 0, %130 ], [ %158, %157 ] %162 = tail call i32 @udelay(i32 noundef 10) #2 %163 = tail call i32 @RREG32(i32 noundef %122) #2 %164 = load i32, ptr @RADEON_I2C_GO, align 4, !tbaa !16 %165 = and i32 %164, %163 %166 = icmp eq i32 %165, 0 br i1 %166, label %167, label %157 167: ; preds = %160 %168 = tail call i32 @RREG32(i32 noundef %122) #2 %169 = load i32, ptr @RADEON_I2C_DONE, align 4, !tbaa !16 %170 = and i32 %169, %168 %171 = icmp eq i32 %170, 0 br i1 %171, label %172, label %301 172: ; preds = %167 %173 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str.2, i32 noundef %168) #2 %174 = load i32, ptr @RADEON_I2C_ABORT, align 4, !tbaa !16 %175 = or i32 %174, %168 %176 = tail call i32 @WREG32(i32 noundef %122, i32 noundef %175) #2 %177 = load i32, ptr @EIO, align 4, !tbaa !16 %178 = sub nsw i32 0, %177 br label %301 179: ; preds = %121 %180 = icmp sgt i32 %2, 0 br i1 %180, label %181, label %301 181: ; preds = %127, %179 %182 = zext nneg i32 %2 to i64 br label %183 183: ; preds = %181, %298 %184 = phi i64 [ 0, %181 ], [ %299, %298 ] %185 = getelementptr inbounds %struct.i2c_msg, ptr %1, i64 %184 %186 = load i32, ptr %185, align 8, !tbaa !23 %187 = icmp sgt i32 %186, 0 br i1 %187, label %188, label %298 188: ; preds = %183 %189 = getelementptr inbounds i8, ptr %185, i64 8 %190 = getelementptr inbounds i8, ptr %185, i64 4 %191 = getelementptr inbounds i8, ptr %185, i64 16 br label %192 192: ; preds = %188, %293 %193 = phi i64 [ 0, %188 ], [ %294, %293 ] %194 = load i32, ptr %189, align 8, !tbaa !28 %195 = load i32, ptr @I2C_M_RD, align 4, !tbaa !16 %196 = and i32 %195, %194 %197 = icmp eq i32 %196, 0 %198 = load i32, ptr @RADEON_I2C_DONE, align 4, !tbaa !16 %199 = load i32, ptr @RADEON_I2C_NACK, align 4, !tbaa !16 %200 = or i32 %199, %198 %201 = load i32, ptr @RADEON_I2C_HALT, align 4, !tbaa !16 %202 = or i32 %200, %201 %203 = load i32, ptr @RADEON_I2C_SOFT_RST, align 4, !tbaa !16 %204 = or i32 %202, %203 %205 = tail call i32 @WREG32(i32 noundef %122, i32 noundef %204) #2 %206 = load i32, ptr %190, align 4, !tbaa !25 %207 = shl i32 %206, 1 %208 = and i32 %207, 254 br i1 %197, label %253, label %209 209: ; preds = %192 %210 = or disjoint i32 %208, 1 %211 = tail call i32 @WREG32(i32 noundef %124, i32 noundef %210) #2 %212 = load i32, ptr @RADEON_I2C_DATA_COUNT_SHIFT, align 4, !tbaa !16 %213 = shl nuw i32 1, %212 %214 = load i32, ptr @RADEON_I2C_ADDR_COUNT_SHIFT, align 4, !tbaa !16 %215 = shl nuw i32 1, %214 %216 = or i32 %215, %213 %217 = load i32, ptr @RADEON_I2C_EN, align 4, !tbaa !16 %218 = or i32 %216, %217 %219 = load i32, ptr @RADEON_I2C_TIME_LIMIT_SHIFT, align 4, !tbaa !16 %220 = shl i32 48, %219 %221 = or i32 %218, %220 %222 = tail call i32 @WREG32(i32 noundef %123, i32 noundef %221) #2 %223 = load i32, ptr @RADEON_I2C_RECEIVE, align 4, !tbaa !16 %224 = or i32 %223, %125 %225 = tail call i32 @WREG32(i32 noundef %122, i32 noundef %224) #2 br label %229 226: ; preds = %229 %227 = add nuw nsw i32 %230, 1 %228 = icmp eq i32 %227, 32 br i1 %228, label %248, label %229, !llvm.loop !29 229: ; preds = %209, %226 %230 = phi i32 [ 0, %209 ], [ %227, %226 ] %231 = tail call i32 @udelay(i32 noundef 10) #2 %232 = tail call i32 @RREG32(i32 noundef %122) #2 %233 = load i32, ptr @RADEON_I2C_GO, align 4, !tbaa !16 %234 = and i32 %233, %232 %235 = icmp eq i32 %234, 0 br i1 %235, label %236, label %226 236: ; preds = %229 %237 = tail call i32 @RREG32(i32 noundef %122) #2 %238 = load i32, ptr @RADEON_I2C_DONE, align 4, !tbaa !16 %239 = and i32 %238, %237 %240 = icmp eq i32 %239, 0 br i1 %240, label %241, label %248 241: ; preds = %236 %242 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str.3, i32 noundef %237) #2 %243 = load i32, ptr @RADEON_I2C_ABORT, align 4, !tbaa !16 %244 = or i32 %243, %237 %245 = tail call i32 @WREG32(i32 noundef %122, i32 noundef %244) #2 %246 = load i32, ptr @EIO, align 4, !tbaa !16 %247 = sub nsw i32 0, %246 br label %301 248: ; preds = %226, %236 %249 = tail call i32 @RREG32(i32 noundef %124) #2 %250 = and i32 %249, 255 %251 = load ptr, ptr %191, align 8, !tbaa !30 %252 = getelementptr inbounds i32, ptr %251, i64 %193 store i32 %250, ptr %252, align 4, !tbaa !16 br label %293 253: ; preds = %192 %254 = tail call i32 @WREG32(i32 noundef %124, i32 noundef %208) #2 %255 = load ptr, ptr %191, align 8, !tbaa !30 %256 = getelementptr inbounds i32, ptr %255, i64 %193 %257 = load i32, ptr %256, align 4, !tbaa !16 %258 = tail call i32 @WREG32(i32 noundef %124, i32 noundef %257) #2 %259 = load i32, ptr @RADEON_I2C_DATA_COUNT_SHIFT, align 4, !tbaa !16 %260 = shl nuw i32 1, %259 %261 = load i32, ptr @RADEON_I2C_ADDR_COUNT_SHIFT, align 4, !tbaa !16 %262 = shl nuw i32 1, %261 %263 = or i32 %262, %260 %264 = load i32, ptr @RADEON_I2C_EN, align 4, !tbaa !16 %265 = or i32 %263, %264 %266 = load i32, ptr @RADEON_I2C_TIME_LIMIT_SHIFT, align 4, !tbaa !16 %267 = shl i32 48, %266 %268 = or i32 %265, %267 %269 = tail call i32 @WREG32(i32 noundef %123, i32 noundef %268) #2 %270 = tail call i32 @WREG32(i32 noundef %122, i32 noundef %125) #2 br label %274 271: ; preds = %274 %272 = add nuw nsw i32 %275, 1 %273 = icmp eq i32 %272, 32 br i1 %273, label %293, label %274, !llvm.loop !31 274: ; preds = %253, %271 %275 = phi i32 [ 0, %253 ], [ %272, %271 ] %276 = tail call i32 @udelay(i32 noundef 10) #2 %277 = tail call i32 @RREG32(i32 noundef %122) #2 %278 = load i32, ptr @RADEON_I2C_GO, align 4, !tbaa !16 %279 = and i32 %278, %277 %280 = icmp eq i32 %279, 0 br i1 %280, label %281, label %271 281: ; preds = %274 %282 = tail call i32 @RREG32(i32 noundef %122) #2 %283 = load i32, ptr @RADEON_I2C_DONE, align 4, !tbaa !16 %284 = and i32 %283, %282 %285 = icmp eq i32 %284, 0 br i1 %285, label %286, label %293 286: ; preds = %281 %287 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str.2, i32 noundef %282) #2 %288 = load i32, ptr @RADEON_I2C_ABORT, align 4, !tbaa !16 %289 = or i32 %288, %282 %290 = tail call i32 @WREG32(i32 noundef %122, i32 noundef %289) #2 %291 = load i32, ptr @EIO, align 4, !tbaa !16 %292 = sub nsw i32 0, %291 br label %301 293: ; preds = %271, %248, %281 %294 = add nuw nsw i64 %193, 1 %295 = load i32, ptr %185, align 8, !tbaa !23 %296 = sext i32 %295 to i64 %297 = icmp slt i64 %294, %296 br i1 %297, label %192, label %298, !llvm.loop !32 298: ; preds = %293, %183 %299 = add nuw nsw i64 %184, 1 %300 = icmp eq i64 %299, %182 br i1 %300, label %301, label %183, !llvm.loop !33 301: ; preds = %298, %157, %179, %167, %286, %241, %172, %117, %113, %95, %81, %63, %49 %302 = phi i32 [ 1, %167 ], [ %178, %172 ], [ %247, %241 ], [ %292, %286 ], [ %120, %117 ], [ %116, %113 ], [ %98, %95 ], [ %84, %81 ], [ %66, %63 ], [ %52, %49 ], [ %2, %179 ], [ 1, %157 ], [ %2, %298 ] %303 = phi i32 [ %122, %167 ], [ %122, %172 ], [ %122, %241 ], [ %122, %286 ], [ %42, %117 ], [ %42, %113 ], [ %42, %95 ], [ %42, %81 ], [ %42, %63 ], [ %42, %49 ], [ %122, %179 ], [ %122, %157 ], [ %122, %298 ] %304 = phi i32 [ %123, %167 ], [ %123, %172 ], [ %123, %241 ], [ %123, %286 ], [ %43, %117 ], [ %43, %113 ], [ %43, %95 ], [ %43, %81 ], [ %43, %63 ], [ %43, %49 ], [ %123, %179 ], [ %123, %157 ], [ %123, %298 ] %305 = tail call i32 @WREG32(i32 noundef %303, i32 noundef 0) #2 %306 = tail call i32 @WREG32(i32 noundef %304, i32 noundef 0) #2 %307 = load i32, ptr @RADEON_I2C_DONE, align 4, !tbaa !16 %308 = load i32, ptr @RADEON_I2C_NACK, align 4, !tbaa !16 %309 = or i32 %308, %307 %310 = load i32, ptr @RADEON_I2C_HALT, align 4, !tbaa !16 %311 = or i32 %309, %310 %312 = load i32, ptr @RADEON_I2C_SOFT_RST, align 4, !tbaa !16 %313 = or i32 %311, %312 %314 = tail call i32 @WREG32(i32 noundef %303, i32 noundef %313) #2 %315 = load i64, ptr %23, align 8, !tbaa !17 %316 = icmp eq i64 %315, 0 br i1 %316, label %325, label %317 317: ; preds = %301 %318 = load i32, ptr @RADEON_BIOS_6_SCRATCH, align 4, !tbaa !16 %319 = tail call i32 @RREG32(i32 noundef %318) #2 %320 = load i32, ptr @ATOM_S6_HW_I2C_BUSY_STATE, align 4, !tbaa !16 %321 = xor i32 %320, -1 %322 = and i32 %319, %321 %323 = load i32, ptr @RADEON_BIOS_6_SCRATCH, align 4, !tbaa !16 %324 = tail call i32 @WREG32(i32 noundef %323, i32 noundef %322) #2 br label %325 325: ; preds = %317, %301 %326 = tail call i32 @mutex_unlock(ptr noundef nonnull %10) #2 %327 = tail call i32 @mutex_unlock(ptr noundef nonnull %8) #2 ret i32 %302 } declare ptr @i2c_get_adapdata(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @radeon_get_i2c_prescale(ptr noundef) local_unnamed_addr #1 declare i32 @RREG32(i32 noundef) local_unnamed_addr #1 declare i32 @WREG32(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DRM_ERROR(ptr noundef) local_unnamed_addr #1 declare i32 @R200_DVI_I2C_PIN_SEL(i32 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i32 @DRM_DEBUG(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !13, i64 16} !7 = !{!"radeon_i2c_chan", !8, i64 0, !13, i64 16} !8 = !{!"radeon_i2c_bus_rec", !9, i64 0, !12, i64 8} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"long", !10, i64 0} !13 = !{!"any pointer", !10, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_3__", !13, i64 0} !16 = !{!9, !9, i64 0} !17 = !{!18, !12, i64 16} !18 = !{!"radeon_device", !9, i64 0, !9, i64 4, !19, i64 8, !12, i64 16} !19 = !{!"TYPE_4__", !9, i64 0} !20 = !{!8, !12, i64 8} !21 = !{!18, !9, i64 0} !22 = !{!8, !9, i64 0} !23 = !{!24, !9, i64 0} !24 = !{!"i2c_msg", !9, i64 0, !9, i64 4, !9, i64 8, !13, i64 16} !25 = !{!24, !9, i64 4} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"} !28 = !{!24, !9, i64 8} !29 = distinct !{!29, !27} !30 = !{!24, !13, i64 16} !31 = distinct !{!31, !27} !32 = distinct !{!32, !27} !33 = distinct !{!33, !27}
linux_drivers_gpu_drm_radeon_extr_radeon_i2c.c_r100_hw_i2c_xfer
; ModuleID = 'AnghaBench/linux/drivers/mailbox/extr_pl320-ipc.c_clear_destination.c' source_filename = "AnghaBench/linux/drivers/mailbox/extr_pl320-ipc.c_clear_destination.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ipc_base = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @clear_destination], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @clear_destination(i32 noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @CHAN_MASK(i32 noundef %0) #2 %4 = load i64, ptr @ipc_base, align 8, !tbaa !5 %5 = tail call i64 @IPCMxDCLEAR(i32 noundef %1) #2 %6 = add nsw i64 %5, %4 %7 = tail call i32 @writel_relaxed(i32 noundef %3, i64 noundef %6) #2 %8 = tail call i32 @CHAN_MASK(i32 noundef %0) #2 %9 = load i64, ptr @ipc_base, align 8, !tbaa !5 %10 = tail call i64 @IPCMxMCLEAR(i32 noundef %1) #2 %11 = add nsw i64 %10, %9 %12 = tail call i32 @writel_relaxed(i32 noundef %8, i64 noundef %11) #2 ret void } declare i32 @writel_relaxed(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @CHAN_MASK(i32 noundef) local_unnamed_addr #1 declare i64 @IPCMxDCLEAR(i32 noundef) local_unnamed_addr #1 declare i64 @IPCMxMCLEAR(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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/mailbox/extr_pl320-ipc.c_clear_destination.c' source_filename = "AnghaBench/linux/drivers/mailbox/extr_pl320-ipc.c_clear_destination.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ipc_base = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @clear_destination], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @clear_destination(i32 noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @CHAN_MASK(i32 noundef %0) #2 %4 = load i64, ptr @ipc_base, align 8, !tbaa !6 %5 = tail call i64 @IPCMxDCLEAR(i32 noundef %1) #2 %6 = add nsw i64 %5, %4 %7 = tail call i32 @writel_relaxed(i32 noundef %3, i64 noundef %6) #2 %8 = tail call i32 @CHAN_MASK(i32 noundef %0) #2 %9 = load i64, ptr @ipc_base, align 8, !tbaa !6 %10 = tail call i64 @IPCMxMCLEAR(i32 noundef %1) #2 %11 = add nsw i64 %10, %9 %12 = tail call i32 @writel_relaxed(i32 noundef %8, i64 noundef %11) #2 ret void } declare i32 @writel_relaxed(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @CHAN_MASK(i32 noundef) local_unnamed_addr #1 declare i64 @IPCMxDCLEAR(i32 noundef) local_unnamed_addr #1 declare i64 @IPCMxMCLEAR(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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_mailbox_extr_pl320-ipc.c_clear_destination
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_BusLogic.h_BusLogic_StartMailboxCommand.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_BusLogic.h_BusLogic_StartMailboxCommand.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BusLogic_ExecuteMailboxCommand = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @BusLogic_StartMailboxCommand], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @BusLogic_StartMailboxCommand(ptr noundef %0) #0 { %2 = load i32, ptr @BusLogic_ExecuteMailboxCommand, align 4, !tbaa !5 %3 = tail call i32 @BusLogic_WriteCommandParameterRegister(ptr noundef %0, i32 noundef %2) #2 ret void } declare i32 @BusLogic_WriteCommandParameterRegister(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_BusLogic.h_BusLogic_StartMailboxCommand.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_BusLogic.h_BusLogic_StartMailboxCommand.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BusLogic_ExecuteMailboxCommand = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @BusLogic_StartMailboxCommand], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @BusLogic_StartMailboxCommand(ptr noundef %0) #0 { %2 = load i32, ptr @BusLogic_ExecuteMailboxCommand, align 4, !tbaa !6 %3 = tail call i32 @BusLogic_WriteCommandParameterRegister(ptr noundef %0, i32 noundef %2) #2 ret void } declare i32 @BusLogic_WriteCommandParameterRegister(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_scsi_extr_BusLogic.h_BusLogic_StartMailboxCommand
; ModuleID = 'AnghaBench/linux/drivers/media/usb/uvc/extr_uvc_queue.c_uvc_buffer_queue.c' source_filename = "AnghaBench/linux/drivers/media/usb/uvc/extr_uvc_queue.c_uvc_buffer_queue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.uvc_video_queue = type { i32, i32, i32 } %struct.uvc_buffer = type { i32, i32, i32 } @UVC_QUEUE_DISCONNECTED = dso_local local_unnamed_addr global i32 0, align 4 @UVC_BUF_STATE_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @VB2_BUF_STATE_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @uvc_buffer_queue], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @uvc_buffer_queue(ptr noundef %0) #0 { %2 = tail call ptr @to_vb2_v4l2_buffer(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call ptr @vb2_get_drv_priv(i32 noundef %3) #2 %5 = tail call ptr @uvc_vbuf_to_buffer(ptr noundef %2) #2 %6 = getelementptr inbounds %struct.uvc_video_queue, ptr %4, i64 0, i32 1 %7 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %6, i64 noundef undef) #2 %8 = load i32, ptr %4, align 4, !tbaa !10 %9 = load i32, ptr @UVC_QUEUE_DISCONNECTED, align 4, !tbaa !12 %10 = and i32 %9, %8 %11 = icmp eq i32 %10, 0 %12 = zext i1 %11 to i32 %13 = tail call i64 @likely(i32 noundef %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %21, label %15 15: ; preds = %1 %16 = getelementptr inbounds %struct.uvc_buffer, ptr %5, i64 0, i32 2 %17 = tail call i32 @kref_init(ptr noundef nonnull %16) #2 %18 = getelementptr inbounds %struct.uvc_buffer, ptr %5, i64 0, i32 1 %19 = getelementptr inbounds %struct.uvc_video_queue, ptr %4, i64 0, i32 2 %20 = tail call i32 @list_add_tail(ptr noundef nonnull %18, ptr noundef nonnull %19) #2 br label %25 21: ; preds = %1 %22 = load i32, ptr @UVC_BUF_STATE_ERROR, align 4, !tbaa !12 store i32 %22, ptr %5, align 4, !tbaa !13 %23 = load i32, ptr @VB2_BUF_STATE_ERROR, align 4, !tbaa !12 %24 = tail call i32 @vb2_buffer_done(ptr noundef nonnull %0, i32 noundef %23) #2 br label %25 25: ; preds = %21, %15 %26 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %6, i64 noundef undef) #2 ret void } declare ptr @to_vb2_v4l2_buffer(ptr noundef) local_unnamed_addr #1 declare ptr @vb2_get_drv_priv(i32 noundef) local_unnamed_addr #1 declare ptr @uvc_vbuf_to_buffer(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @likely(i32 noundef) local_unnamed_addr #1 declare i32 @kref_init(ptr noundef) local_unnamed_addr #1 declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vb2_buffer_done(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 = !{!"vb2_buffer", !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 = !{!"uvc_video_queue", !7, i64 0, !7, i64 4, !7, i64 8} !12 = !{!7, !7, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"uvc_buffer", !7, i64 0, !7, i64 4, !7, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/media/usb/uvc/extr_uvc_queue.c_uvc_buffer_queue.c' source_filename = "AnghaBench/linux/drivers/media/usb/uvc/extr_uvc_queue.c_uvc_buffer_queue.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @UVC_QUEUE_DISCONNECTED = common local_unnamed_addr global i32 0, align 4 @UVC_BUF_STATE_ERROR = common local_unnamed_addr global i32 0, align 4 @VB2_BUF_STATE_ERROR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @uvc_buffer_queue], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @uvc_buffer_queue(ptr noundef %0) #0 { %2 = tail call ptr @to_vb2_v4l2_buffer(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call ptr @vb2_get_drv_priv(i32 noundef %3) #2 %5 = tail call ptr @uvc_vbuf_to_buffer(ptr noundef %2) #2 %6 = getelementptr inbounds i8, ptr %4, i64 4 %7 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %6, i64 noundef undef) #2 %8 = load i32, ptr %4, align 4, !tbaa !11 %9 = load i32, ptr @UVC_QUEUE_DISCONNECTED, align 4, !tbaa !13 %10 = and i32 %9, %8 %11 = icmp eq i32 %10, 0 %12 = zext i1 %11 to i32 %13 = tail call i64 @likely(i32 noundef %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %21, label %15 15: ; preds = %1 %16 = getelementptr inbounds i8, ptr %5, i64 8 %17 = tail call i32 @kref_init(ptr noundef nonnull %16) #2 %18 = getelementptr inbounds i8, ptr %5, i64 4 %19 = getelementptr inbounds i8, ptr %4, i64 8 %20 = tail call i32 @list_add_tail(ptr noundef nonnull %18, ptr noundef nonnull %19) #2 br label %25 21: ; preds = %1 %22 = load i32, ptr @UVC_BUF_STATE_ERROR, align 4, !tbaa !13 store i32 %22, ptr %5, align 4, !tbaa !14 %23 = load i32, ptr @VB2_BUF_STATE_ERROR, align 4, !tbaa !13 %24 = tail call i32 @vb2_buffer_done(ptr noundef nonnull %0, i32 noundef %23) #2 br label %25 25: ; preds = %21, %15 %26 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %6, i64 noundef undef) #2 ret void } declare ptr @to_vb2_v4l2_buffer(ptr noundef) local_unnamed_addr #1 declare ptr @vb2_get_drv_priv(i32 noundef) local_unnamed_addr #1 declare ptr @uvc_vbuf_to_buffer(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @likely(i32 noundef) local_unnamed_addr #1 declare i32 @kref_init(ptr noundef) local_unnamed_addr #1 declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vb2_buffer_done(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 = !{!"vb2_buffer", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"uvc_video_queue", !8, i64 0, !8, i64 4, !8, i64 8} !13 = !{!8, !8, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"uvc_buffer", !8, i64 0, !8, i64 4, !8, i64 8}
linux_drivers_media_usb_uvc_extr_uvc_queue.c_uvc_buffer_queue
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bonding/extr_bond_3ad.c___update_lacpdu_from_port.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bonding/extr_bond_3ad.c___update_lacpdu_from_port.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.port = type { i32, i32, i32, i32, i32, i32, %struct.port_params, %struct.lacpdu } %struct.port_params = type { i32, i32, i32, i32, i32, i32 } %struct.lacpdu = type { i32, ptr, ptr, ptr, i32, ptr, i32, ptr, ptr, ptr, i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @__update_lacpdu_from_port], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @__update_lacpdu_from_port(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 7 %3 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 6 %4 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 5 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call ptr @htons(i32 noundef %5) #2 %7 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 7, i32 11 store ptr %6, ptr %7, align 8, !tbaa !13 %8 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 4 %9 = load i32, ptr %8, align 8, !tbaa !14 %10 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 7, i32 10 store i32 %9, ptr %10, align 8, !tbaa !15 %11 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 3 %12 = load i32, ptr %11, align 4, !tbaa !16 %13 = tail call ptr @htons(i32 noundef %12) #2 %14 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 7, i32 9 store ptr %13, ptr %14, align 8, !tbaa !17 %15 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 2 %16 = load i32, ptr %15, align 8, !tbaa !18 %17 = tail call ptr @htons(i32 noundef %16) #2 %18 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 7, i32 8 store ptr %17, ptr %18, align 8, !tbaa !19 %19 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 1 %20 = load i32, ptr %19, align 4, !tbaa !20 %21 = tail call ptr @htons(i32 noundef %20) #2 %22 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 7, i32 7 store ptr %21, ptr %22, align 8, !tbaa !21 %23 = load i32, ptr %0, align 8, !tbaa !22 %24 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 7, i32 6 store i32 %23, ptr %24, align 8, !tbaa !23 %25 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 6, i32 5 %26 = load i32, ptr %25, align 4, !tbaa !24 %27 = tail call ptr @htons(i32 noundef %26) #2 %28 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 7, i32 5 store ptr %27, ptr %28, align 8, !tbaa !25 %29 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 6, i32 4 %30 = load i32, ptr %29, align 4, !tbaa !26 %31 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 7, i32 4 store i32 %30, ptr %31, align 8, !tbaa !27 %32 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 6, i32 3 %33 = load i32, ptr %32, align 4, !tbaa !28 %34 = tail call ptr @htons(i32 noundef %33) #2 %35 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 7, i32 3 store ptr %34, ptr %35, align 8, !tbaa !29 %36 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 6, i32 2 %37 = load i32, ptr %36, align 4, !tbaa !30 %38 = tail call ptr @htons(i32 noundef %37) #2 %39 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 7, i32 2 store ptr %38, ptr %39, align 8, !tbaa !31 %40 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 6, i32 1 %41 = load i32, ptr %40, align 4, !tbaa !32 %42 = tail call ptr @htons(i32 noundef %41) #2 %43 = getelementptr inbounds %struct.port, ptr %0, i64 0, i32 7, i32 1 store ptr %42, ptr %43, align 8, !tbaa !33 %44 = load i32, ptr %3, align 4, !tbaa !34 store i32 %44, ptr %2, align 8, !tbaa !35 ret void } declare ptr @htons(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 20} !6 = !{!"port", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !10, i64 24, !11, i64 48} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"port_params", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20} !11 = !{!"lacpdu", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !7, i64 32, !12, i64 40, !7, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !7, i64 80, !12, i64 88} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 88} !14 = !{!6, !7, i64 16} !15 = !{!11, !7, i64 80} !16 = !{!6, !7, i64 12} !17 = !{!11, !12, i64 72} !18 = !{!6, !7, i64 8} !19 = !{!11, !12, i64 64} !20 = !{!6, !7, i64 4} !21 = !{!11, !12, i64 56} !22 = !{!6, !7, i64 0} !23 = !{!11, !7, i64 48} !24 = !{!10, !7, i64 20} !25 = !{!11, !12, i64 40} !26 = !{!10, !7, i64 16} !27 = !{!11, !7, i64 32} !28 = !{!10, !7, i64 12} !29 = !{!11, !12, i64 24} !30 = !{!10, !7, i64 8} !31 = !{!11, !12, i64 16} !32 = !{!10, !7, i64 4} !33 = !{!11, !12, i64 8} !34 = !{!10, !7, i64 0} !35 = !{!11, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bonding/extr_bond_3ad.c___update_lacpdu_from_port.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bonding/extr_bond_3ad.c___update_lacpdu_from_port.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 @__update_lacpdu_from_port], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @__update_lacpdu_from_port(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 48 %3 = getelementptr inbounds i8, ptr %0, i64 24 %4 = getelementptr inbounds i8, ptr %0, i64 20 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call ptr @htons(i32 noundef %5) #2 %7 = getelementptr inbounds i8, ptr %0, i64 136 store ptr %6, ptr %7, align 8, !tbaa !14 %8 = getelementptr inbounds i8, ptr %0, i64 16 %9 = load i32, ptr %8, align 8, !tbaa !15 %10 = getelementptr inbounds i8, ptr %0, i64 128 store i32 %9, ptr %10, align 8, !tbaa !16 %11 = getelementptr inbounds i8, ptr %0, i64 12 %12 = load i32, ptr %11, align 4, !tbaa !17 %13 = tail call ptr @htons(i32 noundef %12) #2 %14 = getelementptr inbounds i8, ptr %0, i64 120 store ptr %13, ptr %14, align 8, !tbaa !18 %15 = getelementptr inbounds i8, ptr %0, i64 8 %16 = load i32, ptr %15, align 8, !tbaa !19 %17 = tail call ptr @htons(i32 noundef %16) #2 %18 = getelementptr inbounds i8, ptr %0, i64 112 store ptr %17, ptr %18, align 8, !tbaa !20 %19 = getelementptr inbounds i8, ptr %0, i64 4 %20 = load i32, ptr %19, align 4, !tbaa !21 %21 = tail call ptr @htons(i32 noundef %20) #2 %22 = getelementptr inbounds i8, ptr %0, i64 104 store ptr %21, ptr %22, align 8, !tbaa !22 %23 = load i32, ptr %0, align 8, !tbaa !23 %24 = getelementptr inbounds i8, ptr %0, i64 96 store i32 %23, ptr %24, align 8, !tbaa !24 %25 = getelementptr inbounds i8, ptr %0, i64 44 %26 = load i32, ptr %25, align 4, !tbaa !25 %27 = tail call ptr @htons(i32 noundef %26) #2 %28 = getelementptr inbounds i8, ptr %0, i64 88 store ptr %27, ptr %28, align 8, !tbaa !26 %29 = getelementptr inbounds i8, ptr %0, i64 40 %30 = load i32, ptr %29, align 4, !tbaa !27 %31 = getelementptr inbounds i8, ptr %0, i64 80 store i32 %30, ptr %31, align 8, !tbaa !28 %32 = getelementptr inbounds i8, ptr %0, i64 36 %33 = load i32, ptr %32, align 4, !tbaa !29 %34 = tail call ptr @htons(i32 noundef %33) #2 %35 = getelementptr inbounds i8, ptr %0, i64 72 store ptr %34, ptr %35, align 8, !tbaa !30 %36 = getelementptr inbounds i8, ptr %0, i64 32 %37 = load i32, ptr %36, align 4, !tbaa !31 %38 = tail call ptr @htons(i32 noundef %37) #2 %39 = getelementptr inbounds i8, ptr %0, i64 64 store ptr %38, ptr %39, align 8, !tbaa !32 %40 = getelementptr inbounds i8, ptr %0, i64 28 %41 = load i32, ptr %40, align 4, !tbaa !33 %42 = tail call ptr @htons(i32 noundef %41) #2 %43 = getelementptr inbounds i8, ptr %0, i64 56 store ptr %42, ptr %43, align 8, !tbaa !34 %44 = load i32, ptr %3, align 4, !tbaa !35 store i32 %44, ptr %2, align 8, !tbaa !36 ret void } declare ptr @htons(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 20} !7 = !{!"port", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !11, i64 24, !12, i64 48} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"port_params", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20} !12 = !{!"lacpdu", !8, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !8, i64 32, !13, i64 40, !8, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !8, i64 80, !13, i64 88} !13 = !{!"any pointer", !9, i64 0} !14 = !{!12, !13, i64 88} !15 = !{!7, !8, i64 16} !16 = !{!12, !8, i64 80} !17 = !{!7, !8, i64 12} !18 = !{!12, !13, i64 72} !19 = !{!7, !8, i64 8} !20 = !{!12, !13, i64 64} !21 = !{!7, !8, i64 4} !22 = !{!12, !13, i64 56} !23 = !{!7, !8, i64 0} !24 = !{!12, !8, i64 48} !25 = !{!11, !8, i64 20} !26 = !{!12, !13, i64 40} !27 = !{!11, !8, i64 16} !28 = !{!12, !8, i64 32} !29 = !{!11, !8, i64 12} !30 = !{!12, !13, i64 24} !31 = !{!11, !8, i64 8} !32 = !{!12, !13, i64 16} !33 = !{!11, !8, i64 4} !34 = !{!12, !13, i64 8} !35 = !{!11, !8, i64 0} !36 = !{!12, !8, i64 0}
fastsocket_kernel_drivers_net_bonding_extr_bond_3ad.c___update_lacpdu_from_port
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/idb_60/keymaps/default/extr_keymap.c_layer_state_set_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/idb_60/keymaps/default/extr_keymap.c_layer_state_set_user.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local noundef i32 @layer_state_set_user(i32 noundef returned %0) local_unnamed_addr #0 { %2 = tail call i64 @layer_state_cmp(i32 noundef %0, i32 noundef 1) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 (...) @_idb_60_esc_led_on() #2 br label %8 6: ; preds = %1 %7 = tail call i32 (...) @_idb_60_esc_led_off() #2 br label %8 8: ; preds = %6, %4 ret i32 %0 } declare i64 @layer_state_cmp(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @_idb_60_esc_led_on(...) local_unnamed_addr #1 declare i32 @_idb_60_esc_led_off(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/idb_60/keymaps/default/extr_keymap.c_layer_state_set_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/idb_60/keymaps/default/extr_keymap.c_layer_state_set_user.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @layer_state_set_user(i32 noundef returned %0) local_unnamed_addr #0 { %2 = tail call i64 @layer_state_cmp(i32 noundef %0, i32 noundef 1) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @_idb_60_esc_led_on() #2 br label %8 6: ; preds = %1 %7 = tail call i32 @_idb_60_esc_led_off() #2 br label %8 8: ; preds = %6, %4 ret i32 %0 } declare i64 @layer_state_cmp(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @_idb_60_esc_led_on(...) local_unnamed_addr #1 declare i32 @_idb_60_esc_led_off(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{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_idb_60_keymaps_default_extr_keymap.c_layer_state_set_user
; ModuleID = 'AnghaBench/RetroArch/ps2/compat_files/extr_compat_ctype.c_rename.c' source_filename = "AnghaBench/RetroArch/ps2/compat_files/extr_compat_ctype.c_rename.c" target datalayout = "e-m:e-p270:32:32-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 @rename(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @fileXioRename(ptr noundef %0, ptr noundef %1) #2 ret i32 %3 } declare i32 @fileXioRename(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/RetroArch/ps2/compat_files/extr_compat_ctype.c_rename.c' source_filename = "AnghaBench/RetroArch/ps2/compat_files/extr_compat_ctype.c_rename.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 @rename(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @fileXioRename(ptr noundef %0, ptr noundef %1) #2 ret i32 %3 } declare i32 @fileXioRename(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)"}
RetroArch_ps2_compat_files_extr_compat_ctype.c_rename
; ModuleID = 'AnghaBench/esp-idf/components/wpa_supplicant/src/tls/extr_rsa.c_crypto_rsa_free.c' source_filename = "AnghaBench/esp-idf/components/wpa_supplicant/src/tls/extr_rsa.c_crypto_rsa_free.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.crypto_rsa_key = type { i32, i32, i32, i32, i32, i32, i32, i32 } ; Function Attrs: nounwind uwtable define dso_local void @crypto_rsa_free(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %28, label %3 3: ; preds = %1 %4 = getelementptr inbounds %struct.crypto_rsa_key, ptr %0, i64 0, i32 7 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call i32 @bignum_deinit(i32 noundef %5) #2 %7 = getelementptr inbounds %struct.crypto_rsa_key, ptr %0, i64 0, i32 6 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = tail call i32 @bignum_deinit(i32 noundef %8) #2 %10 = getelementptr inbounds %struct.crypto_rsa_key, ptr %0, i64 0, i32 5 %11 = load i32, ptr %10, align 4, !tbaa !11 %12 = tail call i32 @bignum_deinit(i32 noundef %11) #2 %13 = getelementptr inbounds %struct.crypto_rsa_key, ptr %0, i64 0, i32 4 %14 = load i32, ptr %13, align 4, !tbaa !12 %15 = tail call i32 @bignum_deinit(i32 noundef %14) #2 %16 = getelementptr inbounds %struct.crypto_rsa_key, ptr %0, i64 0, i32 3 %17 = load i32, ptr %16, align 4, !tbaa !13 %18 = tail call i32 @bignum_deinit(i32 noundef %17) #2 %19 = getelementptr inbounds %struct.crypto_rsa_key, ptr %0, i64 0, i32 2 %20 = load i32, ptr %19, align 4, !tbaa !14 %21 = tail call i32 @bignum_deinit(i32 noundef %20) #2 %22 = getelementptr inbounds %struct.crypto_rsa_key, ptr %0, i64 0, i32 1 %23 = load i32, ptr %22, align 4, !tbaa !15 %24 = tail call i32 @bignum_deinit(i32 noundef %23) #2 %25 = load i32, ptr %0, align 4, !tbaa !16 %26 = tail call i32 @bignum_deinit(i32 noundef %25) #2 %27 = tail call i32 @os_free(ptr noundef nonnull %0) #2 br label %28 28: ; preds = %3, %1 ret void } declare i32 @bignum_deinit(i32 noundef) local_unnamed_addr #1 declare i32 @os_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 28} !6 = !{!"crypto_rsa_key", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 24} !11 = !{!6, !7, i64 20} !12 = !{!6, !7, i64 16} !13 = !{!6, !7, i64 12} !14 = !{!6, !7, i64 8} !15 = !{!6, !7, i64 4} !16 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/esp-idf/components/wpa_supplicant/src/tls/extr_rsa.c_crypto_rsa_free.c' source_filename = "AnghaBench/esp-idf/components/wpa_supplicant/src/tls/extr_rsa.c_crypto_rsa_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define void @crypto_rsa_free(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %28, label %3 3: ; preds = %1 %4 = getelementptr inbounds i8, ptr %0, i64 28 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call i32 @bignum_deinit(i32 noundef %5) #2 %7 = getelementptr inbounds i8, ptr %0, i64 24 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = tail call i32 @bignum_deinit(i32 noundef %8) #2 %10 = getelementptr inbounds i8, ptr %0, i64 20 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = tail call i32 @bignum_deinit(i32 noundef %11) #2 %13 = getelementptr inbounds i8, ptr %0, i64 16 %14 = load i32, ptr %13, align 4, !tbaa !13 %15 = tail call i32 @bignum_deinit(i32 noundef %14) #2 %16 = getelementptr inbounds i8, ptr %0, i64 12 %17 = load i32, ptr %16, align 4, !tbaa !14 %18 = tail call i32 @bignum_deinit(i32 noundef %17) #2 %19 = getelementptr inbounds i8, ptr %0, i64 8 %20 = load i32, ptr %19, align 4, !tbaa !15 %21 = tail call i32 @bignum_deinit(i32 noundef %20) #2 %22 = getelementptr inbounds i8, ptr %0, i64 4 %23 = load i32, ptr %22, align 4, !tbaa !16 %24 = tail call i32 @bignum_deinit(i32 noundef %23) #2 %25 = load i32, ptr %0, align 4, !tbaa !17 %26 = tail call i32 @bignum_deinit(i32 noundef %25) #2 %27 = tail call i32 @os_free(ptr noundef nonnull %0) #2 br label %28 28: ; preds = %3, %1 ret void } declare i32 @bignum_deinit(i32 noundef) local_unnamed_addr #1 declare i32 @os_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 28} !7 = !{!"crypto_rsa_key", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 24} !12 = !{!7, !8, i64 20} !13 = !{!7, !8, i64 16} !14 = !{!7, !8, i64 12} !15 = !{!7, !8, i64 8} !16 = !{!7, !8, i64 4} !17 = !{!7, !8, i64 0}
esp-idf_components_wpa_supplicant_src_tls_extr_rsa.c_crypto_rsa_free
; ModuleID = 'AnghaBench/linux/fs/extr_eventfd.c_eventfd_signal.c' source_filename = "AnghaBench/linux/fs/extr_eventfd.c_eventfd_signal.c" target datalayout = "e-m:e-p270:32:32-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.eventfd_ctx = type { i64, %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } @ULLONG_MAX = dso_local local_unnamed_addr global i64 0, align 8 @EPOLLIN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i64 @eventfd_signal(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.eventfd_ctx, ptr %0, i64 0, i32 1 %4 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %3, i64 noundef undef) #3 %5 = load i64, ptr @ULLONG_MAX, align 8, !tbaa !5 %6 = load i64, ptr %0, align 8, !tbaa !9 %7 = sub nsw i64 %5, %6 %8 = tail call i64 @llvm.smin.i64(i64 %7, i64 %1) %9 = add nsw i64 %8, %6 store i64 %9, ptr %0, align 8, !tbaa !9 %10 = tail call i64 @waitqueue_active(ptr noundef nonnull %3) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %2 %13 = load i32, ptr @EPOLLIN, align 4, !tbaa !13 %14 = tail call i32 @wake_up_locked_poll(ptr noundef nonnull %3, i32 noundef %13) #3 br label %15 15: ; preds = %12, %2 %16 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %3, i64 noundef undef) #3 ret i64 %8 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @waitqueue_active(ptr noundef) local_unnamed_addr #1 declare i32 @wake_up_locked_poll(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smin.i64(i64, i64) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"eventfd_ctx", !6, i64 0, !11, i64 8} !11 = !{!"TYPE_3__", !12, i64 0} !12 = !{!"int", !7, i64 0} !13 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/linux/fs/extr_eventfd.c_eventfd_signal.c' source_filename = "AnghaBench/linux/fs/extr_eventfd.c_eventfd_signal.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ULLONG_MAX = common local_unnamed_addr global i64 0, align 8 @EPOLLIN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @eventfd_signal(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %3, i64 noundef undef) #3 %5 = load i64, ptr @ULLONG_MAX, align 8, !tbaa !6 %6 = load i64, ptr %0, align 8, !tbaa !10 %7 = sub nsw i64 %5, %6 %8 = tail call i64 @llvm.smin.i64(i64 %7, i64 %1) %9 = add nsw i64 %8, %6 store i64 %9, ptr %0, align 8, !tbaa !10 %10 = tail call i64 @waitqueue_active(ptr noundef nonnull %3) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %2 %13 = load i32, ptr @EPOLLIN, align 4, !tbaa !14 %14 = tail call i32 @wake_up_locked_poll(ptr noundef nonnull %3, i32 noundef %13) #3 br label %15 15: ; preds = %12, %2 %16 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %3, i64 noundef undef) #3 ret i64 %8 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @waitqueue_active(ptr noundef) local_unnamed_addr #1 declare i32 @wake_up_locked_poll(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smin.i64(i64, i64) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"eventfd_ctx", !7, i64 0, !12, i64 8} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!13, !13, i64 0}
linux_fs_extr_eventfd.c_eventfd_signal
; ModuleID = 'AnghaBench/linux/drivers/input/touchscreen/extr_wm9705.c_is_pden.c' source_filename = "AnghaBench/linux/drivers/input/touchscreen/extr_wm9705.c_is_pden.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @WM9705_PDEN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @is_pden], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @is_pden(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = getelementptr inbounds i32, ptr %2, i64 2 %4 = load i32, ptr %3, align 4, !tbaa !10 %5 = load i32, ptr @WM9705_PDEN, align 4, !tbaa !10 %6 = and i32 %5, %4 ret i32 %6 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"wm97xx", !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/input/touchscreen/extr_wm9705.c_is_pden.c' source_filename = "AnghaBench/linux/drivers/input/touchscreen/extr_wm9705.c_is_pden.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WM9705_PDEN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @is_pden], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @is_pden(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %2, i64 8 %4 = load i32, ptr %3, align 4, !tbaa !11 %5 = load i32, ptr @WM9705_PDEN, align 4, !tbaa !11 %6 = and i32 %5, %4 ret i32 %6 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"wm97xx", !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_input_touchscreen_extr_wm9705.c_is_pden
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_dell-smbios-base.c_dell_laptop_unregister_notifier.c' source_filename = "AnghaBench/linux/drivers/platform/x86/extr_dell-smbios-base.c_dell_laptop_unregister_notifier.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @dell_laptop_chain_head = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @dell_laptop_unregister_notifier(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @blocking_notifier_chain_unregister(ptr noundef nonnull @dell_laptop_chain_head, ptr noundef %0) #2 ret i32 %2 } declare i32 @blocking_notifier_chain_unregister(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_dell-smbios-base.c_dell_laptop_unregister_notifier.c' source_filename = "AnghaBench/linux/drivers/platform/x86/extr_dell-smbios-base.c_dell_laptop_unregister_notifier.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @dell_laptop_chain_head = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @dell_laptop_unregister_notifier(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @blocking_notifier_chain_unregister(ptr noundef nonnull @dell_laptop_chain_head, ptr noundef %0) #2 ret i32 %2 } declare i32 @blocking_notifier_chain_unregister(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)"}
linux_drivers_platform_x86_extr_dell-smbios-base.c_dell_laptop_unregister_notifier
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bhyve/extr_pci_virtio_rnd.c_pci_vtrnd_reset.c' source_filename = "AnghaBench/freebsd/usr.sbin/bhyve/extr_pci_virtio_rnd.c_pci_vtrnd_reset.c" target datalayout = "e-m:e-p270:32:32-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 [33 x i8] c"vtrnd: device reset requested !\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @pci_vtrnd_reset], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @pci_vtrnd_reset(ptr noundef %0) #0 { %2 = tail call i32 @DPRINTF(ptr noundef nonnull @.str) #2 %3 = tail call i32 @vi_reset_dev(ptr noundef %0) #2 ret void } declare i32 @DPRINTF(ptr noundef) local_unnamed_addr #1 declare i32 @vi_reset_dev(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bhyve/extr_pci_virtio_rnd.c_pci_vtrnd_reset.c' source_filename = "AnghaBench/freebsd/usr.sbin/bhyve/extr_pci_virtio_rnd.c_pci_vtrnd_reset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [33 x i8] c"vtrnd: device reset requested !\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @pci_vtrnd_reset], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @pci_vtrnd_reset(ptr noundef %0) #0 { %2 = tail call i32 @DPRINTF(ptr noundef nonnull @.str) #2 %3 = tail call i32 @vi_reset_dev(ptr noundef %0) #2 ret void } declare i32 @DPRINTF(ptr noundef) local_unnamed_addr #1 declare i32 @vi_reset_dev(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_usr.sbin_bhyve_extr_pci_virtio_rnd.c_pci_vtrnd_reset
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_mvumi.c_mvumi_send_command.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_mvumi.c_mvumi_send_command.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.mvumi_cmd = type { i32, ptr, i64 } %struct.mvumi_hba = type { i64, i32, ptr, i32, i32, ptr } %struct.mvumi_msg_frame = type { i64, i32, i64 } %struct.mvumi_dyn_list_entry = type { i32, ptr, ptr } @FW_STATE_STARTED = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [21 x i8] c"firmware not ready.\0A\00", align 1 @MV_QUEUE_COMMAND_RESULT_NO_RESOURCE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"no free tag.\0A\00", align 1 @HS_CAPABILITY_SUPPORT_DYN_SRC = dso_local local_unnamed_addr global i32 0, align 4 @MV_QUEUE_COMMAND_RESULT_SENT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mvumi_send_command], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mvumi_send_command(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = getelementptr inbounds %struct.mvumi_cmd, ptr %1, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load i64, ptr %0, align 8, !tbaa !12 %7 = load i64, ptr @FW_STATE_STARTED, align 8, !tbaa !14 %8 = icmp ne i64 %6, %7 %9 = zext i1 %8 to i32 %10 = tail call i64 @unlikely(i32 noundef %9) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %2 %13 = getelementptr inbounds %struct.mvumi_hba, ptr %0, i64 0, i32 5 %14 = load ptr, ptr %13, align 8, !tbaa !15 %15 = tail call i32 @dev_dbg(ptr noundef %14, ptr noundef nonnull @.str) #3 br label %60 16: ; preds = %2 %17 = getelementptr inbounds %struct.mvumi_hba, ptr %0, i64 0, i32 4 %18 = tail call i64 @tag_is_empty(ptr noundef nonnull %17) #3 %19 = icmp eq i64 %18, 0 br i1 %19, label %24, label %20 20: ; preds = %16 %21 = getelementptr inbounds %struct.mvumi_hba, ptr %0, i64 0, i32 5 %22 = load ptr, ptr %21, align 8, !tbaa !15 %23 = tail call i32 @dev_dbg(ptr noundef %22, ptr noundef nonnull @.str.1) #3 br label %60 24: ; preds = %16 %25 = call i32 @mvumi_get_ib_list_entry(ptr noundef nonnull %0, ptr noundef nonnull %3) #3 %26 = call i64 @tag_get_one(ptr noundef nonnull %0, ptr noundef nonnull %17) #3 %27 = load ptr, ptr %4, align 8, !tbaa !5 store i64 %26, ptr %27, align 8, !tbaa !16 %28 = getelementptr inbounds %struct.mvumi_hba, ptr %0, i64 0, i32 3 %29 = load i32, ptr %28, align 8, !tbaa !18 %30 = add nsw i32 %29, 1 store i32 %30, ptr %28, align 8, !tbaa !18 %31 = sext i32 %29 to i64 %32 = getelementptr inbounds %struct.mvumi_msg_frame, ptr %27, i64 0, i32 2 store i64 %31, ptr %32, align 8, !tbaa !19 %33 = getelementptr inbounds %struct.mvumi_cmd, ptr %1, i64 0, i32 2 store i64 %31, ptr %33, align 8, !tbaa !20 %34 = getelementptr inbounds %struct.mvumi_hba, ptr %0, i64 0, i32 2 %35 = load ptr, ptr %34, align 8, !tbaa !21 %36 = getelementptr inbounds ptr, ptr %35, i64 %26 store ptr %1, ptr %36, align 8, !tbaa !22 %37 = getelementptr inbounds %struct.mvumi_msg_frame, ptr %5, i64 0, i32 1 %38 = load i32, ptr %37, align 8, !tbaa !23 %39 = shl i32 %38, 2 %40 = add i32 %39, 20 %41 = getelementptr inbounds %struct.mvumi_hba, ptr %0, i64 0, i32 1 %42 = load i32, ptr %41, align 8, !tbaa !24 %43 = load i32, ptr @HS_CAPABILITY_SUPPORT_DYN_SRC, align 4, !tbaa !25 %44 = and i32 %43, %42 %45 = icmp eq i32 %44, 0 %46 = load ptr, ptr %3, align 8, !tbaa !22 br i1 %45, label %58, label %47 47: ; preds = %24 %48 = load i32, ptr %1, align 8, !tbaa !26 %49 = call i32 @lower_32_bits(i32 noundef %48) #3 %50 = call ptr @cpu_to_le32(i32 noundef %49) #3 %51 = getelementptr inbounds %struct.mvumi_dyn_list_entry, ptr %46, i64 0, i32 2 store ptr %50, ptr %51, align 8, !tbaa !27 %52 = load i32, ptr %1, align 8, !tbaa !26 %53 = call i32 @upper_32_bits(i32 noundef %52) #3 %54 = call ptr @cpu_to_le32(i32 noundef %53) #3 %55 = getelementptr inbounds %struct.mvumi_dyn_list_entry, ptr %46, i64 0, i32 1 store ptr %54, ptr %55, align 8, !tbaa !29 %56 = lshr exact i32 %40, 2 %57 = and i32 %56, 4095 store i32 %57, ptr %46, align 8, !tbaa !30 br label %60 58: ; preds = %24 %59 = call i32 @memcpy(ptr noundef %46, ptr noundef nonnull %5, i32 noundef %40) #3 br label %60 60: ; preds = %47, %58, %20, %12 %61 = phi ptr [ @MV_QUEUE_COMMAND_RESULT_NO_RESOURCE, %12 ], [ @MV_QUEUE_COMMAND_RESULT_NO_RESOURCE, %20 ], [ @MV_QUEUE_COMMAND_RESULT_SENT, %58 ], [ @MV_QUEUE_COMMAND_RESULT_SENT, %47 ] %62 = load i32, ptr %61, align 4, !tbaa !25 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #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 i64 @unlikely(i32 noundef) local_unnamed_addr #2 declare i32 @dev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @tag_is_empty(ptr noundef) local_unnamed_addr #2 declare i32 @mvumi_get_ib_list_entry(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @tag_get_one(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare i32 @lower_32_bits(i32 noundef) local_unnamed_addr #2 declare i32 @upper_32_bits(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 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"mvumi_cmd", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"mvumi_hba", !11, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !7, i64 28, !10, i64 32} !14 = !{!11, !11, i64 0} !15 = !{!13, !10, i64 32} !16 = !{!17, !11, i64 0} !17 = !{!"mvumi_msg_frame", !11, i64 0, !7, i64 8, !11, i64 16} !18 = !{!13, !7, i64 24} !19 = !{!17, !11, i64 16} !20 = !{!6, !11, i64 16} !21 = !{!13, !10, i64 16} !22 = !{!10, !10, i64 0} !23 = !{!17, !7, i64 8} !24 = !{!13, !7, i64 8} !25 = !{!7, !7, i64 0} !26 = !{!6, !7, i64 0} !27 = !{!28, !10, i64 16} !28 = !{!"mvumi_dyn_list_entry", !7, i64 0, !10, i64 8, !10, i64 16} !29 = !{!28, !10, i64 8} !30 = !{!28, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_mvumi.c_mvumi_send_command.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_mvumi.c_mvumi_send_command.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FW_STATE_STARTED = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [21 x i8] c"firmware not ready.\0A\00", align 1 @MV_QUEUE_COMMAND_RESULT_NO_RESOURCE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"no free tag.\0A\00", align 1 @HS_CAPABILITY_SUPPORT_DYN_SRC = common local_unnamed_addr global i32 0, align 4 @MV_QUEUE_COMMAND_RESULT_SENT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mvumi_send_command], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mvumi_send_command(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = getelementptr inbounds i8, ptr %1, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load i64, ptr %0, align 8, !tbaa !13 %7 = load i64, ptr @FW_STATE_STARTED, align 8, !tbaa !15 %8 = icmp ne i64 %6, %7 %9 = zext i1 %8 to i32 %10 = tail call i64 @unlikely(i32 noundef %9) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %2 %13 = getelementptr inbounds i8, ptr %0, i64 32 %14 = load ptr, ptr %13, align 8, !tbaa !16 %15 = tail call i32 @dev_dbg(ptr noundef %14, ptr noundef nonnull @.str) #3 br label %60 16: ; preds = %2 %17 = getelementptr inbounds i8, ptr %0, i64 28 %18 = tail call i64 @tag_is_empty(ptr noundef nonnull %17) #3 %19 = icmp eq i64 %18, 0 br i1 %19, label %24, label %20 20: ; preds = %16 %21 = getelementptr inbounds i8, ptr %0, i64 32 %22 = load ptr, ptr %21, align 8, !tbaa !16 %23 = tail call i32 @dev_dbg(ptr noundef %22, ptr noundef nonnull @.str.1) #3 br label %60 24: ; preds = %16 %25 = call i32 @mvumi_get_ib_list_entry(ptr noundef nonnull %0, ptr noundef nonnull %3) #3 %26 = call i64 @tag_get_one(ptr noundef nonnull %0, ptr noundef nonnull %17) #3 %27 = load ptr, ptr %4, align 8, !tbaa !6 store i64 %26, ptr %27, align 8, !tbaa !17 %28 = getelementptr inbounds i8, ptr %0, i64 24 %29 = load i32, ptr %28, align 8, !tbaa !19 %30 = add nsw i32 %29, 1 store i32 %30, ptr %28, align 8, !tbaa !19 %31 = sext i32 %29 to i64 %32 = getelementptr inbounds i8, ptr %27, i64 16 store i64 %31, ptr %32, align 8, !tbaa !20 %33 = getelementptr inbounds i8, ptr %1, i64 16 store i64 %31, ptr %33, align 8, !tbaa !21 %34 = getelementptr inbounds i8, ptr %0, i64 16 %35 = load ptr, ptr %34, align 8, !tbaa !22 %36 = getelementptr inbounds ptr, ptr %35, i64 %26 store ptr %1, ptr %36, align 8, !tbaa !23 %37 = getelementptr inbounds i8, ptr %5, i64 8 %38 = load i32, ptr %37, align 8, !tbaa !24 %39 = shl i32 %38, 2 %40 = add i32 %39, 20 %41 = getelementptr inbounds i8, ptr %0, i64 8 %42 = load i32, ptr %41, align 8, !tbaa !25 %43 = load i32, ptr @HS_CAPABILITY_SUPPORT_DYN_SRC, align 4, !tbaa !26 %44 = and i32 %43, %42 %45 = icmp eq i32 %44, 0 %46 = load ptr, ptr %3, align 8, !tbaa !23 br i1 %45, label %58, label %47 47: ; preds = %24 %48 = load i32, ptr %1, align 8, !tbaa !27 %49 = call i32 @lower_32_bits(i32 noundef %48) #3 %50 = call ptr @cpu_to_le32(i32 noundef %49) #3 %51 = getelementptr inbounds i8, ptr %46, i64 16 store ptr %50, ptr %51, align 8, !tbaa !28 %52 = load i32, ptr %1, align 8, !tbaa !27 %53 = call i32 @upper_32_bits(i32 noundef %52) #3 %54 = call ptr @cpu_to_le32(i32 noundef %53) #3 %55 = getelementptr inbounds i8, ptr %46, i64 8 store ptr %54, ptr %55, align 8, !tbaa !30 %56 = lshr exact i32 %40, 2 %57 = and i32 %56, 4095 store i32 %57, ptr %46, align 8, !tbaa !31 br label %60 58: ; preds = %24 %59 = call i32 @memcpy(ptr noundef %46, ptr noundef nonnull %5, i32 noundef %40) #3 br label %60 60: ; preds = %47, %58, %20, %12 %61 = phi ptr [ @MV_QUEUE_COMMAND_RESULT_NO_RESOURCE, %12 ], [ @MV_QUEUE_COMMAND_RESULT_NO_RESOURCE, %20 ], [ @MV_QUEUE_COMMAND_RESULT_SENT, %58 ], [ @MV_QUEUE_COMMAND_RESULT_SENT, %47 ] %62 = load i32, ptr %61, align 4, !tbaa !26 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #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 i64 @unlikely(i32 noundef) local_unnamed_addr #2 declare i32 @dev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @tag_is_empty(ptr noundef) local_unnamed_addr #2 declare i32 @mvumi_get_ib_list_entry(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @tag_get_one(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare i32 @lower_32_bits(i32 noundef) local_unnamed_addr #2 declare i32 @upper_32_bits(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 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"mvumi_cmd", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"mvumi_hba", !12, i64 0, !8, i64 8, !11, i64 16, !8, i64 24, !8, i64 28, !11, i64 32} !15 = !{!12, !12, i64 0} !16 = !{!14, !11, i64 32} !17 = !{!18, !12, i64 0} !18 = !{!"mvumi_msg_frame", !12, i64 0, !8, i64 8, !12, i64 16} !19 = !{!14, !8, i64 24} !20 = !{!18, !12, i64 16} !21 = !{!7, !12, i64 16} !22 = !{!14, !11, i64 16} !23 = !{!11, !11, i64 0} !24 = !{!18, !8, i64 8} !25 = !{!14, !8, i64 8} !26 = !{!8, !8, i64 0} !27 = !{!7, !8, i64 0} !28 = !{!29, !11, i64 16} !29 = !{!"mvumi_dyn_list_entry", !8, i64 0, !11, i64 8, !11, i64 16} !30 = !{!29, !11, i64 8} !31 = !{!29, !8, i64 0}
linux_drivers_scsi_extr_mvumi.c_mvumi_send_command
; ModuleID = 'AnghaBench/linux/drivers/usb/host/extr_uhci-hcd.h_cpu_to_hc32.c' source_filename = "AnghaBench/linux/drivers/usb/host/extr_uhci-hcd.h_cpu_to_hc32.c" target datalayout = "e-m:e-p270:32:32-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 @cpu_to_hc32], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @cpu_to_hc32(ptr nocapture readnone %0, i32 noundef %1) #0 { %3 = tail call i32 @cpu_to_le32(i32 noundef %1) #2 ret i32 %3 } declare i32 @cpu_to_le32(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/usb/host/extr_uhci-hcd.h_cpu_to_hc32.c' source_filename = "AnghaBench/linux/drivers/usb/host/extr_uhci-hcd.h_cpu_to_hc32.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 @cpu_to_hc32], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @cpu_to_hc32(ptr nocapture readnone %0, i32 noundef %1) #0 { %3 = tail call i32 @cpu_to_le32(i32 noundef %1) #2 ret i32 %3 } declare i32 @cpu_to_le32(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_usb_host_extr_uhci-hcd.h_cpu_to_hc32
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/md/extr_dm-snap.c_origin_resume.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/md/extr_dm-snap.c_origin_resume.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.dm_target = type { i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @origin_resume], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @origin_resume(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds %struct.dm_target, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr %3, align 4, !tbaa !11 %5 = tail call i32 @get_origin_minimum_chunksize(i32 noundef %4) #2 store i32 %5, ptr %0, align 8, !tbaa !13 ret void } declare i32 @get_origin_minimum_chunksize(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 = !{!"dm_target", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"dm_dev", !7, i64 0} !13 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/md/extr_dm-snap.c_origin_resume.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/md/extr_dm-snap.c_origin_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 @origin_resume], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @origin_resume(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr %3, align 4, !tbaa !12 %5 = tail call i32 @get_origin_minimum_chunksize(i32 noundef %4) #2 store i32 %5, ptr %0, align 8, !tbaa !14 ret void } declare i32 @get_origin_minimum_chunksize(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 = !{!"dm_target", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"dm_dev", !8, i64 0} !14 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_md_extr_dm-snap.c_origin_resume
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_sp.c_bnx2x_vlan_mac_set_cfg_entry_e1x.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_sp.c_bnx2x_vlan_mac_set_cfg_entry_e1x.c" target datalayout = "e-m:e-p270:32:32-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.mac_configuration_entry = type { i32, i32, i32, i32, i32, i32, i32 } %struct.bnx2x_raw_obj = type { i32, i32 } @MAC_CONFIGURATION_ENTRY_ACTION_TYPE = dso_local local_unnamed_addr global i32 0, align 4 @T_ETH_MAC_COMMAND_SET = dso_local local_unnamed_addr global i32 0, align 4 @MAC_CONFIGURATION_ENTRY_VLAN_FILTERING_MODE = dso_local local_unnamed_addr global i32 0, align 4 @T_ETH_MAC_COMMAND_INVALIDATE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bnx2x_vlan_mac_set_cfg_entry_e1x], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @bnx2x_vlan_mac_set_cfg_entry_e1x(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6) #0 { %8 = load i32, ptr %1, align 4, !tbaa !5 %9 = shl nuw i32 1, %8 %10 = tail call i32 @cpu_to_le32(i32 noundef %9) #2 %11 = getelementptr inbounds %struct.mac_configuration_entry, ptr %6, i64 0, i32 6 store i32 %10, ptr %11, align 4, !tbaa !10 %12 = getelementptr inbounds %struct.bnx2x_raw_obj, ptr %1, i64 0, i32 1 %13 = load i32, ptr %12, align 4, !tbaa !12 %14 = getelementptr inbounds %struct.mac_configuration_entry, ptr %6, i64 0, i32 5 store i32 %13, ptr %14, align 4, !tbaa !13 %15 = tail call i32 @cpu_to_le16(i32 noundef %5) #2 %16 = getelementptr inbounds %struct.mac_configuration_entry, ptr %6, i64 0, i32 4 store i32 %15, ptr %16, align 4, !tbaa !14 %17 = icmp eq i32 %2, 0 %18 = load i32, ptr %6, align 4, !tbaa !15 %19 = load i32, ptr @MAC_CONFIGURATION_ENTRY_ACTION_TYPE, align 4, !tbaa !16 br i1 %17, label %30, label %20 20: ; preds = %7 %21 = load i32, ptr @T_ETH_MAC_COMMAND_SET, align 4, !tbaa !16 %22 = tail call i32 @SET_FLAG(i32 noundef %18, i32 noundef %19, i32 noundef %21) #2 %23 = load i32, ptr %6, align 4, !tbaa !15 %24 = load i32, ptr @MAC_CONFIGURATION_ENTRY_VLAN_FILTERING_MODE, align 4, !tbaa !16 %25 = tail call i32 @SET_FLAG(i32 noundef %23, i32 noundef %24, i32 noundef %3) #2 %26 = getelementptr inbounds %struct.mac_configuration_entry, ptr %6, i64 0, i32 3 %27 = getelementptr inbounds %struct.mac_configuration_entry, ptr %6, i64 0, i32 2 %28 = getelementptr inbounds %struct.mac_configuration_entry, ptr %6, i64 0, i32 1 %29 = tail call i32 @bnx2x_set_fw_mac_addr(ptr noundef nonnull %26, ptr noundef nonnull %27, ptr noundef nonnull %28, ptr noundef %4) #2 br label %33 30: ; preds = %7 %31 = load i32, ptr @T_ETH_MAC_COMMAND_INVALIDATE, align 4, !tbaa !16 %32 = tail call i32 @SET_FLAG(i32 noundef %18, i32 noundef %19, i32 noundef %31) #2 br label %33 33: ; preds = %30, %20 ret void } declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1 declare i32 @cpu_to_le16(i32 noundef) local_unnamed_addr #1 declare i32 @SET_FLAG(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bnx2x_set_fw_mac_addr(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"bnx2x_raw_obj", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 24} !11 = !{!"mac_configuration_entry", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24} !12 = !{!6, !7, i64 4} !13 = !{!11, !7, i64 20} !14 = !{!11, !7, i64 16} !15 = !{!11, !7, i64 0} !16 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_sp.c_bnx2x_vlan_mac_set_cfg_entry_e1x.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_sp.c_bnx2x_vlan_mac_set_cfg_entry_e1x.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAC_CONFIGURATION_ENTRY_ACTION_TYPE = common local_unnamed_addr global i32 0, align 4 @T_ETH_MAC_COMMAND_SET = common local_unnamed_addr global i32 0, align 4 @MAC_CONFIGURATION_ENTRY_VLAN_FILTERING_MODE = common local_unnamed_addr global i32 0, align 4 @T_ETH_MAC_COMMAND_INVALIDATE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bnx2x_vlan_mac_set_cfg_entry_e1x], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @bnx2x_vlan_mac_set_cfg_entry_e1x(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6) #0 { %8 = load i32, ptr %1, align 4, !tbaa !6 %9 = shl nuw i32 1, %8 %10 = tail call i32 @cpu_to_le32(i32 noundef %9) #2 %11 = getelementptr inbounds i8, ptr %6, i64 24 store i32 %10, ptr %11, align 4, !tbaa !11 %12 = getelementptr inbounds i8, ptr %1, i64 4 %13 = load i32, ptr %12, align 4, !tbaa !13 %14 = getelementptr inbounds i8, ptr %6, i64 20 store i32 %13, ptr %14, align 4, !tbaa !14 %15 = tail call i32 @cpu_to_le16(i32 noundef %5) #2 %16 = getelementptr inbounds i8, ptr %6, i64 16 store i32 %15, ptr %16, align 4, !tbaa !15 %17 = icmp eq i32 %2, 0 %18 = load i32, ptr %6, align 4, !tbaa !16 %19 = load i32, ptr @MAC_CONFIGURATION_ENTRY_ACTION_TYPE, align 4, !tbaa !17 br i1 %17, label %30, label %20 20: ; preds = %7 %21 = load i32, ptr @T_ETH_MAC_COMMAND_SET, align 4, !tbaa !17 %22 = tail call i32 @SET_FLAG(i32 noundef %18, i32 noundef %19, i32 noundef %21) #2 %23 = load i32, ptr %6, align 4, !tbaa !16 %24 = load i32, ptr @MAC_CONFIGURATION_ENTRY_VLAN_FILTERING_MODE, align 4, !tbaa !17 %25 = tail call i32 @SET_FLAG(i32 noundef %23, i32 noundef %24, i32 noundef %3) #2 %26 = getelementptr inbounds i8, ptr %6, i64 12 %27 = getelementptr inbounds i8, ptr %6, i64 8 %28 = getelementptr inbounds i8, ptr %6, i64 4 %29 = tail call i32 @bnx2x_set_fw_mac_addr(ptr noundef nonnull %26, ptr noundef nonnull %27, ptr noundef nonnull %28, ptr noundef %4) #2 br label %33 30: ; preds = %7 %31 = load i32, ptr @T_ETH_MAC_COMMAND_INVALIDATE, align 4, !tbaa !17 %32 = tail call i32 @SET_FLAG(i32 noundef %18, i32 noundef %19, i32 noundef %31) #2 br label %33 33: ; preds = %30, %20 ret void } declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1 declare i32 @cpu_to_le16(i32 noundef) local_unnamed_addr #1 declare i32 @SET_FLAG(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bnx2x_set_fw_mac_addr(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"bnx2x_raw_obj", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 24} !12 = !{!"mac_configuration_entry", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24} !13 = !{!7, !8, i64 4} !14 = !{!12, !8, i64 20} !15 = !{!12, !8, i64 16} !16 = !{!12, !8, i64 0} !17 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_net_bnx2x_extr_bnx2x_sp.c_bnx2x_vlan_mac_set_cfg_entry_e1x
; ModuleID = 'AnghaBench/linux/drivers/infiniband/sw/siw/extr_iwarp.h___ddp_get_version.c' source_filename = "AnghaBench/linux/drivers/infiniband/sw/siw/extr_iwarp.h___ddp_get_version.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DDP_MASK_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__ddp_get_version], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @__ddp_get_version(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @DDP_MASK_VERSION, align 4, !tbaa !10 %4 = and i32 %3, %2 %5 = tail call i32 @be16_to_cpu(i32 noundef %4) #2 %6 = ashr i32 %5, 8 ret i32 %6 } declare i32 @be16_to_cpu(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"iwarp_ctrl", !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/infiniband/sw/siw/extr_iwarp.h___ddp_get_version.c' source_filename = "AnghaBench/linux/drivers/infiniband/sw/siw/extr_iwarp.h___ddp_get_version.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DDP_MASK_VERSION = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__ddp_get_version], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 -8388608, 8388608) i32 @__ddp_get_version(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @DDP_MASK_VERSION, align 4, !tbaa !11 %4 = and i32 %3, %2 %5 = tail call i32 @be16_to_cpu(i32 noundef %4) #2 %6 = ashr i32 %5, 8 ret i32 %6 } declare i32 @be16_to_cpu(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"iwarp_ctrl", !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_infiniband_sw_siw_extr_iwarp.h___ddp_get_version
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/lima/extr_lima_sched.c_lima_sched_pipe_task_done.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/lima/extr_lima_sched.c_lima_sched_pipe_task_done.c" target datalayout = "e-m:e-p270:32:32-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.lima_sched_pipe = type { ptr, ptr, i32, i64 } ; Function Attrs: nounwind uwtable define dso_local void @lima_sched_pipe_task_done(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.lima_sched_pipe, ptr %0, i64 0, i32 3 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %8, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.lima_sched_pipe, ptr %0, i64 0, i32 2 %7 = tail call i32 @schedule_work(ptr noundef nonnull %6) #2 br label %15 8: ; preds = %1 %9 = getelementptr inbounds %struct.lima_sched_pipe, ptr %0, i64 0, i32 1 %10 = load ptr, ptr %9, align 8, !tbaa !12 %11 = load ptr, ptr %0, align 8, !tbaa !13 %12 = tail call i32 %11(ptr noundef nonnull %0) #2 %13 = load i32, ptr %10, align 4, !tbaa !14 %14 = tail call i32 @dma_fence_signal(i32 noundef %13) #2 br label %15 15: ; preds = %8, %5 ret void } declare i32 @schedule_work(ptr noundef) local_unnamed_addr #1 declare i32 @dma_fence_signal(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 24} !6 = !{!"lima_sched_pipe", !7, i64 0, !7, i64 8, !10, i64 16, !11, 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 = !{!"long", !8, i64 0} !12 = !{!6, !7, i64 8} !13 = !{!6, !7, i64 0} !14 = !{!15, !10, i64 0} !15 = !{!"lima_sched_task", !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/lima/extr_lima_sched.c_lima_sched_pipe_task_done.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/lima/extr_lima_sched.c_lima_sched_pipe_task_done.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 @lima_sched_pipe_task_done(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 24 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %8, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 16 %7 = tail call i32 @schedule_work(ptr noundef nonnull %6) #2 br label %15 8: ; preds = %1 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !13 %11 = load ptr, ptr %0, align 8, !tbaa !14 %12 = tail call i32 %11(ptr noundef nonnull %0) #2 %13 = load i32, ptr %10, align 4, !tbaa !15 %14 = tail call i32 @dma_fence_signal(i32 noundef %13) #2 br label %15 15: ; preds = %8, %5 ret void } declare i32 @schedule_work(ptr noundef) local_unnamed_addr #1 declare i32 @dma_fence_signal(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 24} !7 = !{!"lima_sched_pipe", !8, i64 0, !8, i64 8, !11, i64 16, !12, 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 = !{!"long", !9, i64 0} !13 = !{!7, !8, i64 8} !14 = !{!7, !8, i64 0} !15 = !{!16, !11, i64 0} !16 = !{!"lima_sched_task", !11, i64 0}
linux_drivers_gpu_drm_lima_extr_lima_sched.c_lima_sched_pipe_task_done
; ModuleID = 'AnghaBench/freebsd/sys/net/extr_if_spppsubr.c_sppp_ipcp_scr.c' source_filename = "AnghaBench/freebsd/sys/net/extr_if_spppsubr.c_sppp_ipcp_scr.c" target datalayout = "e-m:e-p270:32:32-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 @sppp_ipcp_scr], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @sppp_ipcp_scr(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/net/extr_if_spppsubr.c_sppp_ipcp_scr.c' source_filename = "AnghaBench/freebsd/sys/net/extr_if_spppsubr.c_sppp_ipcp_scr.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 @sppp_ipcp_scr], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @sppp_ipcp_scr(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_net_extr_if_spppsubr.c_sppp_ipcp_scr
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_scsi_lib.c_scsi_vpd_tpg_id.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_scsi_lib.c_scsi_vpd_tpg_id.c" target datalayout = "e-m:e-p270:32:32-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.scsi_vpd = type { ptr, i32 } @EAGAIN = 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 @scsi_vpd_tpg_id(ptr nocapture noundef readonly %0, ptr noundef writeonly %1) local_unnamed_addr #0 { %3 = load i32, ptr @EAGAIN, align 4, !tbaa !5 %4 = tail call i32 (...) @rcu_read_lock() #2 %5 = load i32, ptr %0, align 4, !tbaa !9 %6 = tail call ptr @rcu_dereference(i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %12 8: ; preds = %2 %9 = tail call i32 (...) @rcu_read_unlock() #2 %10 = load i32, ptr @ENXIO, align 4, !tbaa !5 %11 = sub nsw i32 0, %10 br label %56 12: ; preds = %2 %13 = sub nsw i32 0, %3 %14 = getelementptr inbounds %struct.scsi_vpd, ptr %6, i64 0, i32 1 %15 = load i32, ptr %14, align 8, !tbaa !11 %16 = icmp sgt i32 %15, 4 br i1 %16, label %17, label %46 17: ; preds = %12 %18 = load ptr, ptr %6, align 8, !tbaa !14 %19 = getelementptr inbounds i8, ptr %18, i64 4 br label %20 20: ; preds = %17, %33 %21 = phi i32 [ %35, %33 ], [ -1, %17 ] %22 = phi i32 [ %34, %33 ], [ %13, %17 ] %23 = phi ptr [ %40, %33 ], [ %19, %17 ] %24 = getelementptr inbounds i8, ptr %23, i64 1 %25 = load i8, ptr %24, align 1, !tbaa !15 %26 = and i8 %25, 15 switch i8 %26, label %33 [ i8 4, label %27 i8 5, label %30 ] 27: ; preds = %20 %28 = getelementptr inbounds i8, ptr %23, i64 6 %29 = tail call i32 @get_unaligned_be16(ptr noundef nonnull %28) #2 br label %33 30: ; preds = %20 %31 = getelementptr inbounds i8, ptr %23, i64 6 %32 = tail call i32 @get_unaligned_be16(ptr noundef nonnull %31) #2 br label %33 33: ; preds = %20, %30, %27 %34 = phi i32 [ %22, %20 ], [ %32, %30 ], [ %22, %27 ] %35 = phi i32 [ %21, %20 ], [ %21, %30 ], [ %29, %27 ] %36 = getelementptr inbounds i8, ptr %23, i64 3 %37 = load i8, ptr %36, align 1, !tbaa !15 %38 = zext i8 %37 to i64 %39 = add nuw nsw i64 %38, 4 %40 = getelementptr inbounds i8, ptr %23, i64 %39 %41 = load ptr, ptr %6, align 8, !tbaa !14 %42 = load i32, ptr %14, align 8, !tbaa !11 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = icmp ult ptr %40, %44 br i1 %45, label %20, label %46, !llvm.loop !16 46: ; preds = %33, %12 %47 = phi i32 [ %13, %12 ], [ %34, %33 ] %48 = phi i32 [ -1, %12 ], [ %35, %33 ] %49 = tail call i32 (...) @rcu_read_unlock() #2 %50 = icmp sgt i32 %47, -1 %51 = icmp ne ptr %1, null %52 = and i1 %51, %50 %53 = icmp ne i32 %48, -1 %54 = select i1 %52, i1 %53, i1 false br i1 %54, label %55, label %56 55: ; preds = %46 store i32 %48, ptr %1, align 4, !tbaa !5 br label %56 56: ; preds = %46, %55, %8 %57 = phi i32 [ %11, %8 ], [ %47, %55 ], [ %47, %46 ] ret i32 %57 } declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare ptr @rcu_dereference(i32 noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) local_unnamed_addr #1 declare i32 @get_unaligned_be16(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 = !{!"scsi_device", !6, i64 0} !11 = !{!12, !6, i64 8} !12 = !{!"scsi_vpd", !13, i64 0, !6, i64 8} !13 = !{!"any pointer", !7, i64 0} !14 = !{!12, !13, i64 0} !15 = !{!7, !7, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_scsi_lib.c_scsi_vpd_tpg_id.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_scsi_lib.c_scsi_vpd_tpg_id.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EAGAIN = 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 @scsi_vpd_tpg_id(ptr nocapture noundef readonly %0, ptr noundef writeonly %1) local_unnamed_addr #0 { %3 = load i32, ptr @EAGAIN, align 4, !tbaa !6 %4 = tail call i32 @rcu_read_lock() #2 %5 = load i32, ptr %0, align 4, !tbaa !10 %6 = tail call ptr @rcu_dereference(i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %12 8: ; preds = %2 %9 = tail call i32 @rcu_read_unlock() #2 %10 = load i32, ptr @ENXIO, align 4, !tbaa !6 %11 = sub nsw i32 0, %10 br label %56 12: ; preds = %2 %13 = sub nsw i32 0, %3 %14 = getelementptr inbounds i8, ptr %6, i64 8 %15 = load i32, ptr %14, align 8, !tbaa !12 %16 = icmp sgt i32 %15, 4 br i1 %16, label %17, label %46 17: ; preds = %12 %18 = load ptr, ptr %6, align 8, !tbaa !15 %19 = getelementptr inbounds i8, ptr %18, i64 4 br label %20 20: ; preds = %17, %33 %21 = phi i32 [ %35, %33 ], [ -1, %17 ] %22 = phi i32 [ %34, %33 ], [ %13, %17 ] %23 = phi ptr [ %40, %33 ], [ %19, %17 ] %24 = getelementptr inbounds i8, ptr %23, i64 1 %25 = load i8, ptr %24, align 1, !tbaa !16 %26 = and i8 %25, 15 switch i8 %26, label %33 [ i8 4, label %27 i8 5, label %30 ] 27: ; preds = %20 %28 = getelementptr inbounds i8, ptr %23, i64 6 %29 = tail call i32 @get_unaligned_be16(ptr noundef nonnull %28) #2 br label %33 30: ; preds = %20 %31 = getelementptr inbounds i8, ptr %23, i64 6 %32 = tail call i32 @get_unaligned_be16(ptr noundef nonnull %31) #2 br label %33 33: ; preds = %20, %30, %27 %34 = phi i32 [ %22, %20 ], [ %32, %30 ], [ %22, %27 ] %35 = phi i32 [ %21, %20 ], [ %21, %30 ], [ %29, %27 ] %36 = getelementptr inbounds i8, ptr %23, i64 3 %37 = load i8, ptr %36, align 1, !tbaa !16 %38 = zext i8 %37 to i64 %39 = add nuw nsw i64 %38, 4 %40 = getelementptr inbounds i8, ptr %23, i64 %39 %41 = load ptr, ptr %6, align 8, !tbaa !15 %42 = load i32, ptr %14, align 8, !tbaa !12 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = icmp ult ptr %40, %44 br i1 %45, label %20, label %46, !llvm.loop !17 46: ; preds = %33, %12 %47 = phi i32 [ %13, %12 ], [ %34, %33 ] %48 = phi i32 [ -1, %12 ], [ %35, %33 ] %49 = tail call i32 @rcu_read_unlock() #2 %50 = icmp sgt i32 %47, -1 %51 = icmp ne ptr %1, null %52 = and i1 %51, %50 %53 = icmp ne i32 %48, -1 %54 = select i1 %52, i1 %53, i1 false br i1 %54, label %55, label %56 55: ; preds = %46 store i32 %48, ptr %1, align 4, !tbaa !6 br label %56 56: ; preds = %46, %55, %8 %57 = phi i32 [ %11, %8 ], [ %47, %55 ], [ %47, %46 ] ret i32 %57 } declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare ptr @rcu_dereference(i32 noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) local_unnamed_addr #1 declare i32 @get_unaligned_be16(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 = !{!"scsi_device", !7, i64 0} !12 = !{!13, !7, i64 8} !13 = !{!"scsi_vpd", !14, i64 0, !7, i64 8} !14 = !{!"any pointer", !8, i64 0} !15 = !{!13, !14, i64 0} !16 = !{!8, !8, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
linux_drivers_scsi_extr_scsi_lib.c_scsi_vpd_tpg_id
; ModuleID = 'AnghaBench/linux/drivers/dma-buf/extr_dma-buf.c_dmabuffs_dname.c' source_filename = "AnghaBench/linux/drivers/dma-buf/extr_dma-buf.c_dmabuffs_dname.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.dentry = type { %struct.TYPE_2__, ptr } %struct.TYPE_2__ = type { i32 } %struct.dma_buf = type { i32, i64 } @DMA_BUF_NAME_LEN = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"/%s:%s\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @dmabuffs_dname], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @dmabuffs_dname(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @DMA_BUF_NAME_LEN, align 4, !tbaa !5 %5 = zext i32 %4 to i64 %6 = alloca i8, i64 %5, align 16 %7 = getelementptr inbounds %struct.dentry, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !9 %9 = tail call i32 @mutex_lock(ptr noundef %8) #2 %10 = getelementptr inbounds %struct.dma_buf, ptr %8, i64 0, i32 1 %11 = load i64, ptr %10, align 8, !tbaa !13 %12 = icmp eq i64 %11, 0 br i1 %12, label %18, label %13 13: ; preds = %3 %14 = load i32, ptr @DMA_BUF_NAME_LEN, align 4, !tbaa !5 %15 = call i64 @strlcpy(ptr noundef nonnull %6, i64 noundef %11, i32 noundef %14) #2 %16 = icmp eq i64 %15, 0 %17 = select i1 %16, ptr @.str.1, ptr %6 br label %18 18: ; preds = %13, %3 %19 = phi ptr [ %17, %13 ], [ @.str.1, %3 ] %20 = call i32 @mutex_unlock(ptr noundef nonnull %8) #2 %21 = load i32, ptr %0, align 8, !tbaa !16 %22 = call ptr @dynamic_dname(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2, ptr noundef nonnull @.str, i32 noundef %21, ptr noundef %19) #2 ret ptr %22 } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i64 @strlcpy(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 declare ptr @dynamic_dname(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 8} !10 = !{!"dentry", !11, i64 0, !12, i64 8} !11 = !{!"TYPE_2__", !6, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !15, i64 8} !14 = !{!"dma_buf", !6, i64 0, !15, i64 8} !15 = !{!"long", !7, i64 0} !16 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/dma-buf/extr_dma-buf.c_dmabuffs_dname.c' source_filename = "AnghaBench/linux/drivers/dma-buf/extr_dma-buf.c_dmabuffs_dname.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DMA_BUF_NAME_LEN = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"/%s:%s\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @llvm.used = appending global [1 x ptr] [ptr @dmabuffs_dname], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @dmabuffs_dname(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @DMA_BUF_NAME_LEN, align 4, !tbaa !6 %5 = zext i32 %4 to i64 %6 = alloca i8, i64 %5, align 1 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !10 %9 = tail call i32 @mutex_lock(ptr noundef %8) #2 %10 = getelementptr inbounds i8, ptr %8, i64 8 %11 = load i64, ptr %10, align 8, !tbaa !14 %12 = icmp eq i64 %11, 0 br i1 %12, label %18, label %13 13: ; preds = %3 %14 = load i32, ptr @DMA_BUF_NAME_LEN, align 4, !tbaa !6 %15 = call i64 @strlcpy(ptr noundef nonnull %6, i64 noundef %11, i32 noundef %14) #2 %16 = icmp eq i64 %15, 0 %17 = select i1 %16, ptr @.str.1, ptr %6 br label %18 18: ; preds = %13, %3 %19 = phi ptr [ %17, %13 ], [ @.str.1, %3 ] %20 = call i32 @mutex_unlock(ptr noundef nonnull %8) #2 %21 = load i32, ptr %0, align 8, !tbaa !17 %22 = call ptr @dynamic_dname(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2, ptr noundef nonnull @.str, i32 noundef %21, ptr noundef %19) #2 ret ptr %22 } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i64 @strlcpy(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 declare ptr @dynamic_dname(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 8} !11 = !{!"dentry", !12, i64 0, !13, i64 8} !12 = !{!"TYPE_2__", !7, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !16, i64 8} !15 = !{!"dma_buf", !7, i64 0, !16, i64 8} !16 = !{!"long", !8, i64 0} !17 = !{!11, !7, i64 0}
linux_drivers_dma-buf_extr_dma-buf.c_dmabuffs_dname
; ModuleID = 'AnghaBench/linux/fs/fat/extr_namei_msdos.c_msdos_find.c' source_filename = "AnghaBench/linux/fs/fat/extr_namei_msdos.c_msdos_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.fat_slot_info = type { i32, ptr } @MSDOS_NAME = dso_local local_unnamed_addr global i32 0, align 4 @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @ATTR_HIDDEN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @msdos_find], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @msdos_find(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = tail call ptr @MSDOS_SB(i32 noundef %5) #2 %7 = load i32, ptr @MSDOS_NAME, align 4, !tbaa !10 %8 = zext i32 %7 to i64 %9 = alloca i8, i64 %8, align 16 %10 = call i32 @msdos_format_name(ptr noundef %1, i32 noundef %2, ptr noundef nonnull %9, ptr noundef %6) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %4 %13 = load i32, ptr @ENOENT, align 4, !tbaa !10 %14 = sub nsw i32 0, %13 br label %39 15: ; preds = %4 %16 = call i32 @fat_scan(ptr noundef nonnull %0, ptr noundef nonnull %9, ptr noundef %3) #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %39 18: ; preds = %15 %19 = load i64, ptr %6, align 8, !tbaa !11 %20 = icmp eq i64 %19, 0 br i1 %20, label %39, label %21 21: ; preds = %18 %22 = load i8, ptr %1, align 1, !tbaa !15 %23 = icmp eq i8 %22, 46 %24 = getelementptr inbounds %struct.fat_slot_info, ptr %3, i64 0, i32 1 %25 = load ptr, ptr %24, align 8, !tbaa !16 %26 = load i32, ptr %25, align 4, !tbaa !19 %27 = load i32, ptr @ATTR_HIDDEN, align 4, !tbaa !10 %28 = and i32 %27, %26 %29 = icmp eq i32 %28, 0 br i1 %23, label %30, label %31 30: ; preds = %21 br i1 %29, label %32, label %39 31: ; preds = %21 br i1 %29, label %39, label %32 32: ; preds = %31, %30 %33 = load i32, ptr @ENOENT, align 4, !tbaa !10 %34 = icmp eq i32 %33, 0 br i1 %34, label %39, label %35 35: ; preds = %32 %36 = sub nsw i32 0, %33 %37 = load i32, ptr %3, align 8, !tbaa !21 %38 = call i32 @brelse(i32 noundef %37) #2 br label %39 39: ; preds = %31, %30, %15, %18, %35, %32, %12 %40 = phi i32 [ %14, %12 ], [ %16, %15 ], [ %36, %35 ], [ 0, %32 ], [ 0, %18 ], [ 0, %30 ], [ 0, %31 ] ret i32 %40 } declare ptr @MSDOS_SB(i32 noundef) local_unnamed_addr #1 declare i32 @msdos_format_name(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @fat_scan(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @brelse(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 = !{!"inode", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !14, i64 0} !12 = !{!"msdos_sb_info", !13, i64 0} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!17, !18, i64 8} !17 = !{!"fat_slot_info", !7, i64 0, !18, i64 8} !18 = !{!"any pointer", !8, i64 0} !19 = !{!20, !7, i64 0} !20 = !{!"TYPE_3__", !7, i64 0} !21 = !{!17, !7, i64 0}
; ModuleID = 'AnghaBench/linux/fs/fat/extr_namei_msdos.c_msdos_find.c' source_filename = "AnghaBench/linux/fs/fat/extr_namei_msdos.c_msdos_find.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MSDOS_NAME = common local_unnamed_addr global i32 0, align 4 @ENOENT = common local_unnamed_addr global i32 0, align 4 @ATTR_HIDDEN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @msdos_find], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @msdos_find(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = tail call ptr @MSDOS_SB(i32 noundef %5) #2 %7 = load i32, ptr @MSDOS_NAME, align 4, !tbaa !11 %8 = zext i32 %7 to i64 %9 = alloca i8, i64 %8, align 1 %10 = call i32 @msdos_format_name(ptr noundef %1, i32 noundef %2, ptr noundef nonnull %9, ptr noundef %6) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %4 %13 = load i32, ptr @ENOENT, align 4, !tbaa !11 %14 = sub nsw i32 0, %13 br label %39 15: ; preds = %4 %16 = call i32 @fat_scan(ptr noundef nonnull %0, ptr noundef nonnull %9, ptr noundef %3) #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %39 18: ; preds = %15 %19 = load i64, ptr %6, align 8, !tbaa !12 %20 = icmp eq i64 %19, 0 br i1 %20, label %39, label %21 21: ; preds = %18 %22 = load i8, ptr %1, align 1, !tbaa !16 %23 = icmp eq i8 %22, 46 %24 = getelementptr inbounds i8, ptr %3, i64 8 %25 = load ptr, ptr %24, align 8, !tbaa !17 %26 = load i32, ptr %25, align 4, !tbaa !20 %27 = load i32, ptr @ATTR_HIDDEN, align 4, !tbaa !11 %28 = and i32 %27, %26 %29 = icmp eq i32 %28, 0 br i1 %23, label %30, label %31 30: ; preds = %21 br i1 %29, label %32, label %39 31: ; preds = %21 br i1 %29, label %39, label %32 32: ; preds = %31, %30 %33 = load i32, ptr @ENOENT, align 4, !tbaa !11 %34 = icmp eq i32 %33, 0 br i1 %34, label %39, label %35 35: ; preds = %32 %36 = sub nsw i32 0, %33 %37 = load i32, ptr %3, align 8, !tbaa !22 %38 = call i32 @brelse(i32 noundef %37) #2 br label %39 39: ; preds = %31, %30, %15, %18, %35, %32, %12 %40 = phi i32 [ %14, %12 ], [ %16, %15 ], [ %36, %35 ], [ 0, %32 ], [ 0, %18 ], [ 0, %30 ], [ 0, %31 ] ret i32 %40 } declare ptr @MSDOS_SB(i32 noundef) local_unnamed_addr #1 declare i32 @msdos_format_name(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @fat_scan(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @brelse(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 = !{!"inode", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !15, i64 0} !13 = !{!"msdos_sb_info", !14, i64 0} !14 = !{!"TYPE_4__", !15, i64 0} !15 = !{!"long", !9, i64 0} !16 = !{!9, !9, i64 0} !17 = !{!18, !19, i64 8} !18 = !{!"fat_slot_info", !8, i64 0, !19, i64 8} !19 = !{!"any pointer", !9, i64 0} !20 = !{!21, !8, i64 0} !21 = !{!"TYPE_3__", !8, i64 0} !22 = !{!18, !8, i64 0}
linux_fs_fat_extr_namei_msdos.c_msdos_find
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/ia64/sn/kernel/sn2/extr_sn_hwperf.c_sn_topology_open.c' source_filename = "AnghaBench/fastsocket/kernel/arch/ia64/sn/kernel/sn2/extr_sn_hwperf.c_sn_topology_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" @sn_topology_seq_ops = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @sn_topology_open(ptr nocapture noundef readnone %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = call i32 @sn_hwperf_enum_objects(ptr noundef nonnull %4, ptr noundef nonnull %3) #3 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %2 %8 = call i32 @seq_open(ptr noundef %1, ptr noundef nonnull @sn_topology_seq_ops) #3 %9 = load ptr, ptr %1, align 8, !tbaa !5 %10 = load ptr, ptr %3, align 8, !tbaa !10 store ptr %10, ptr %9, align 8, !tbaa !11 br label %11 11: ; preds = %7, %2 %12 = phi i32 [ %8, %7 ], [ %5, %2 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 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 @sn_hwperf_enum_objects(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @seq_open(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"file", !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, !7, i64 0} !12 = !{!"seq_file", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/ia64/sn/kernel/sn2/extr_sn_hwperf.c_sn_topology_open.c' source_filename = "AnghaBench/fastsocket/kernel/arch/ia64/sn/kernel/sn2/extr_sn_hwperf.c_sn_topology_open.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @sn_topology_seq_ops = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @sn_topology_open(ptr nocapture noundef readnone %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = call i32 @sn_hwperf_enum_objects(ptr noundef nonnull %4, ptr noundef nonnull %3) #3 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %2 %8 = call i32 @seq_open(ptr noundef %1, ptr noundef nonnull @sn_topology_seq_ops) #3 %9 = load ptr, ptr %1, align 8, !tbaa !6 %10 = load ptr, ptr %3, align 8, !tbaa !11 store ptr %10, ptr %9, align 8, !tbaa !12 br label %11 11: ; preds = %7, %2 %12 = phi i32 [ %8, %7 ], [ %5, %2 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 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 @sn_hwperf_enum_objects(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @seq_open(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"file", !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, !8, i64 0} !13 = !{!"seq_file", !8, i64 0}
fastsocket_kernel_arch_ia64_sn_kernel_sn2_extr_sn_hwperf.c_sn_topology_open
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/util/extr_tg.c_delay.c' source_filename = "AnghaBench/freebsd/contrib/ntp/util/extr_tg.c_delay.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @buffer = dso_local local_unnamed_addr global i32 0, align 4 @BUFLNG = dso_local local_unnamed_addr global i32 0, align 4 @fd = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @delay(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @buffer, align 4, !tbaa !5 %3 = load i32, ptr @BUFLNG, align 4, !tbaa !5 %4 = tail call i32 @memset(i32 noundef %2, i32 noundef 0, i32 noundef %3) #2 %5 = load i32, ptr @BUFLNG, align 4, !tbaa !5 %6 = icmp sgt i32 %5, %0 br i1 %6, label %16, label %7 7: ; preds = %1, %7 %8 = phi i32 [ %13, %7 ], [ %5, %1 ] %9 = phi i32 [ %14, %7 ], [ %0, %1 ] %10 = load i32, ptr @fd, align 4, !tbaa !5 %11 = load i32, ptr @buffer, align 4, !tbaa !5 %12 = tail call i32 @write(i32 noundef %10, i32 noundef %11, i32 noundef %8) #2 %13 = load i32, ptr @BUFLNG, align 4, !tbaa !5 %14 = sub nsw i32 %9, %13 %15 = icmp slt i32 %14, %13 br i1 %15, label %16, label %7, !llvm.loop !9 16: ; preds = %7, %1 %17 = phi i32 [ %0, %1 ], [ %14, %7 ] %18 = load i32, ptr @fd, align 4, !tbaa !5 %19 = load i32, ptr @buffer, align 4, !tbaa !5 %20 = tail call i32 @write(i32 noundef %18, i32 noundef %19, i32 noundef %17) #2 ret void } declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/util/extr_tg.c_delay.c' source_filename = "AnghaBench/freebsd/contrib/ntp/util/extr_tg.c_delay.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @buffer = common local_unnamed_addr global i32 0, align 4 @BUFLNG = common local_unnamed_addr global i32 0, align 4 @fd = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @delay(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @buffer, align 4, !tbaa !6 %3 = load i32, ptr @BUFLNG, align 4, !tbaa !6 %4 = tail call i32 @memset(i32 noundef %2, i32 noundef 0, i32 noundef %3) #2 %5 = load i32, ptr @BUFLNG, align 4, !tbaa !6 %6 = icmp sgt i32 %5, %0 br i1 %6, label %16, label %7 7: ; preds = %1, %7 %8 = phi i32 [ %13, %7 ], [ %5, %1 ] %9 = phi i32 [ %14, %7 ], [ %0, %1 ] %10 = load i32, ptr @fd, align 4, !tbaa !6 %11 = load i32, ptr @buffer, align 4, !tbaa !6 %12 = tail call i32 @write(i32 noundef %10, i32 noundef %11, i32 noundef %8) #2 %13 = load i32, ptr @BUFLNG, align 4, !tbaa !6 %14 = sub nsw i32 %9, %13 %15 = icmp slt i32 %14, %13 br i1 %15, label %16, label %7, !llvm.loop !10 16: ; preds = %7, %1 %17 = phi i32 [ %0, %1 ], [ %14, %7 ] %18 = load i32, ptr @fd, align 4, !tbaa !6 %19 = load i32, ptr @buffer, align 4, !tbaa !6 %20 = tail call i32 @write(i32 noundef %18, i32 noundef %19, i32 noundef %17) #2 ret void } declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_ntp_util_extr_tg.c_delay
; ModuleID = 'AnghaBench/FFmpeg/fftools/extr_ffprobe.c_csv_escape_str.c' source_filename = "AnghaBench/FFmpeg/fftools/extr_ffprobe.c_csv_escape_str.c" target datalayout = "e-m:e-p270:32:32-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 @csv_escape_str], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @csv_escape_str(ptr noundef %0, ptr nocapture noundef readonly %1, i8 noundef signext %2, ptr nocapture readnone %3) #0 { %5 = alloca [5 x i8], align 1 call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %5) #4 store i8 %2, ptr %5, align 1, !tbaa !5 %6 = getelementptr inbounds i8, ptr %5, i64 1 store <4 x i8> <i8 34, i8 10, i8 13, i8 0>, ptr %6, align 1, !tbaa !5 %7 = call i64 @strcspn(ptr noundef %1, ptr noundef nonnull %5) %8 = getelementptr inbounds i8, ptr %1, i64 %7 %9 = load i8, ptr %8, align 1, !tbaa !5 %10 = icmp eq i8 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %4 %12 = tail call i32 @av_bprint_chars(ptr noundef %0, i8 noundef signext 34, i32 noundef 1) #4 br label %13 13: ; preds = %11, %4 br label %14 14: ; preds = %13, %20 %15 = phi ptr [ %23, %20 ], [ %1, %13 ] %16 = load i8, ptr %15, align 1, !tbaa !5 switch i8 %16, label %20 [ i8 0, label %24 i8 34, label %17 ] 17: ; preds = %14 %18 = tail call i32 @av_bprint_chars(ptr noundef %0, i8 noundef signext 34, i32 noundef 1) #4 %19 = load i8, ptr %15, align 1, !tbaa !5 br label %20 20: ; preds = %14, %17 %21 = phi i8 [ %16, %14 ], [ %19, %17 ] %22 = tail call i32 @av_bprint_chars(ptr noundef %0, i8 noundef signext %21, i32 noundef 1) #4 %23 = getelementptr inbounds i8, ptr %15, i64 1 br label %14, !llvm.loop !8 24: ; preds = %14 br i1 %10, label %27, label %25 25: ; preds = %24 %26 = tail call i32 @av_bprint_chars(ptr noundef %0, i8 noundef signext 34, i32 noundef 1) #4 br label %27 27: ; preds = %25, %24 %28 = load ptr, ptr %0, align 8, !tbaa !10 call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %5) #4 ret ptr %28 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strcspn(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2 declare i32 @av_bprint_chars(ptr noundef, i8 noundef signext, 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 = { 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 = { "no-trapping-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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"any pointer", !6, i64 0}
; ModuleID = 'AnghaBench/FFmpeg/fftools/extr_ffprobe.c_csv_escape_str.c' source_filename = "AnghaBench/FFmpeg/fftools/extr_ffprobe.c_csv_escape_str.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 @csv_escape_str], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @csv_escape_str(ptr noundef %0, ptr nocapture noundef readonly %1, i8 noundef signext %2, ptr nocapture readnone %3) #0 { %5 = alloca [5 x i8], align 1 call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %5) #4 store i8 %2, ptr %5, align 1, !tbaa !6 %6 = getelementptr inbounds i8, ptr %5, i64 1 store <4 x i8> <i8 34, i8 10, i8 13, i8 0>, ptr %6, align 1, !tbaa !6 %7 = call i64 @strcspn(ptr noundef %1, ptr noundef nonnull %5) %8 = getelementptr inbounds i8, ptr %1, i64 %7 %9 = load i8, ptr %8, align 1, !tbaa !6 %10 = icmp eq i8 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %4 %12 = tail call i32 @av_bprint_chars(ptr noundef %0, i8 noundef signext 34, i32 noundef 1) #4 br label %13 13: ; preds = %11, %4 br label %14 14: ; preds = %13, %20 %15 = phi ptr [ %23, %20 ], [ %1, %13 ] %16 = load i8, ptr %15, align 1, !tbaa !6 switch i8 %16, label %20 [ i8 0, label %24 i8 34, label %17 ] 17: ; preds = %14 %18 = tail call i32 @av_bprint_chars(ptr noundef %0, i8 noundef signext 34, i32 noundef 1) #4 %19 = load i8, ptr %15, align 1, !tbaa !6 br label %20 20: ; preds = %14, %17 %21 = phi i8 [ %16, %14 ], [ %19, %17 ] %22 = tail call i32 @av_bprint_chars(ptr noundef %0, i8 noundef signext %21, i32 noundef 1) #4 %23 = getelementptr inbounds i8, ptr %15, i64 1 br label %14, !llvm.loop !9 24: ; preds = %14 br i1 %10, label %27, label %25 25: ; preds = %24 %26 = tail call i32 @av_bprint_chars(ptr noundef %0, i8 noundef signext 34, i32 noundef 1) #4 br label %27 27: ; preds = %25, %24 %28 = load ptr, ptr %0, align 8, !tbaa !11 call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %5) #4 ret ptr %28 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strcspn(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2 declare i32 @av_bprint_chars(ptr noundef, i8 noundef signext, 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 = { 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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"any pointer", !7, i64 0}
FFmpeg_fftools_extr_ffprobe.c_csv_escape_str
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/extr_ar9300_misc.c_ar9300_ppm_get_rssi_dump.c' source_filename = "AnghaBench/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/extr_ar9300_misc.c_ar9300_ppm_get_rssi_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" @AR_PHY_ANALOG_SWAP = dso_local local_unnamed_addr global i64 0, align 8 @AR_PHY_SWAP_ALT_CHAIN = dso_local local_unnamed_addr global i32 0, align 4 @AR_PHY_CHAN_INFO_GAIN_0 = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @ar9300_ppm_get_rssi_dump(ptr noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr @AR_PHY_ANALOG_SWAP, align 8, !tbaa !5 %3 = tail call i32 @OS_REG_READ(ptr noundef %0, i64 noundef %2) #2 %4 = load i32, ptr @AR_PHY_SWAP_ALT_CHAIN, align 4, !tbaa !9 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 %7 = select i1 %6, i64 4096, i64 8192 %8 = select i1 %6, i64 8192, i64 4096 %9 = load i64, ptr @AR_PHY_CHAN_INFO_GAIN_0, align 8, !tbaa !5 %10 = tail call i32 @OS_REG_READ(ptr noundef %0, i64 noundef %9) #2 %11 = and i32 %10, 255 %12 = load i64, ptr @AR_PHY_CHAN_INFO_GAIN_0, align 8, !tbaa !5 %13 = add nsw i64 %12, %7 %14 = tail call i32 @OS_REG_READ(ptr noundef %0, i64 noundef %13) #2 %15 = shl i32 %14, 8 %16 = and i32 %15, 65280 %17 = or disjoint i32 %16, %11 %18 = load i64, ptr @AR_PHY_CHAN_INFO_GAIN_0, align 8, !tbaa !5 %19 = add nsw i64 %18, %8 %20 = tail call i32 @OS_REG_READ(ptr noundef %0, i64 noundef %19) #2 %21 = shl i32 %20, 16 %22 = and i32 %21, 16711680 %23 = or disjoint i32 %17, %22 ret i32 %23 } declare i32 @OS_REG_READ(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/extr_ar9300_misc.c_ar9300_ppm_get_rssi_dump.c' source_filename = "AnghaBench/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/extr_ar9300_misc.c_ar9300_ppm_get_rssi_dump.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AR_PHY_ANALOG_SWAP = common local_unnamed_addr global i64 0, align 8 @AR_PHY_SWAP_ALT_CHAIN = common local_unnamed_addr global i32 0, align 4 @AR_PHY_CHAN_INFO_GAIN_0 = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 16777216) i32 @ar9300_ppm_get_rssi_dump(ptr noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr @AR_PHY_ANALOG_SWAP, align 8, !tbaa !6 %3 = tail call i32 @OS_REG_READ(ptr noundef %0, i64 noundef %2) #2 %4 = load i32, ptr @AR_PHY_SWAP_ALT_CHAIN, align 4, !tbaa !10 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 %7 = select i1 %6, i64 4096, i64 8192 %8 = select i1 %6, i64 8192, i64 4096 %9 = load i64, ptr @AR_PHY_CHAN_INFO_GAIN_0, align 8, !tbaa !6 %10 = tail call i32 @OS_REG_READ(ptr noundef %0, i64 noundef %9) #2 %11 = and i32 %10, 255 %12 = load i64, ptr @AR_PHY_CHAN_INFO_GAIN_0, align 8, !tbaa !6 %13 = add nsw i64 %12, %7 %14 = tail call i32 @OS_REG_READ(ptr noundef %0, i64 noundef %13) #2 %15 = shl i32 %14, 8 %16 = and i32 %15, 65280 %17 = or disjoint i32 %16, %11 %18 = load i64, ptr @AR_PHY_CHAN_INFO_GAIN_0, align 8, !tbaa !6 %19 = add nsw i64 %18, %8 %20 = tail call i32 @OS_REG_READ(ptr noundef %0, i64 noundef %19) #2 %21 = shl i32 %20, 16 %22 = and i32 %21, 16711680 %23 = or disjoint i32 %17, %22 ret i32 %23 } declare i32 @OS_REG_READ(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
freebsd_sys_contrib_dev_ath_ath_hal_ar9300_extr_ar9300_misc.c_ar9300_ppm_get_rssi_dump
; ModuleID = 'AnghaBench/linux/tools/perf/pmu-events/extr_jevents.c_add_topic.c' source_filename = "AnghaBench/linux/tools/perf/pmu-events/extr_jevents.c_add_topic.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @topic = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"%s: strdup() error %s for file %s\0A\00", align 1 @prog = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @add_topic], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @add_topic(ptr noundef %0) #0 { %2 = load i32, ptr @topic, align 4, !tbaa !5 %3 = tail call i32 @free(i32 noundef %2) #2 %4 = tail call i32 @strdup(ptr noundef %0) #2 store i32 %4, ptr @topic, align 4, !tbaa !5 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %13 6: ; preds = %1 %7 = load i32, ptr @prog, align 4, !tbaa !5 %8 = load i32, ptr @errno, align 4, !tbaa !5 %9 = tail call i32 @strerror(i32 noundef %8) #2 %10 = tail call i32 @pr_info(ptr noundef nonnull @.str, i32 noundef %7, i32 noundef %9, ptr noundef %0) #2 %11 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %12 = sub nsw i32 0, %11 br label %13 13: ; preds = %1, %6 %14 = phi i32 [ %12, %6 ], [ 0, %1 ] ret i32 %14 } declare i32 @free(i32 noundef) local_unnamed_addr #1 declare i32 @strdup(ptr noundef) local_unnamed_addr #1 declare i32 @pr_info(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @strerror(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/tools/perf/pmu-events/extr_jevents.c_add_topic.c' source_filename = "AnghaBench/linux/tools/perf/pmu-events/extr_jevents.c_add_topic.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @topic = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"%s: strdup() error %s for file %s\0A\00", align 1 @prog = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @add_topic], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @add_topic(ptr noundef %0) #0 { %2 = load i32, ptr @topic, align 4, !tbaa !6 %3 = tail call i32 @free(i32 noundef %2) #2 %4 = tail call i32 @strdup(ptr noundef %0) #2 store i32 %4, ptr @topic, align 4, !tbaa !6 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %13 6: ; preds = %1 %7 = load i32, ptr @prog, align 4, !tbaa !6 %8 = load i32, ptr @errno, align 4, !tbaa !6 %9 = tail call i32 @strerror(i32 noundef %8) #2 %10 = tail call i32 @pr_info(ptr noundef nonnull @.str, i32 noundef %7, i32 noundef %9, ptr noundef %0) #2 %11 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %12 = sub nsw i32 0, %11 br label %13 13: ; preds = %1, %6 %14 = phi i32 [ %12, %6 ], [ 0, %1 ] ret i32 %14 } declare i32 @free(i32 noundef) local_unnamed_addr #1 declare i32 @strdup(ptr noundef) local_unnamed_addr #1 declare i32 @pr_info(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @strerror(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_tools_perf_pmu-events_extr_jevents.c_add_topic
; ModuleID = 'AnghaBench/linux/arch/arm/mach-omap2/extr_omap4-common.c_gic_dist_disabled.c' source_filename = "AnghaBench/linux/arch/arm/mach-omap2/extr_omap4-common.c_gic_dist_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" @gic_dist_base_addr = dso_local local_unnamed_addr global i64 0, align 8 @GIC_DIST_CTRL = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @gic_dist_disabled() local_unnamed_addr #0 { %1 = load i64, ptr @gic_dist_base_addr, align 8, !tbaa !5 %2 = load i64, ptr @GIC_DIST_CTRL, align 8, !tbaa !5 %3 = add nsw i64 %2, %1 %4 = tail call i32 @readl_relaxed(i64 noundef %3) #2 %5 = and i32 %4, 1 %6 = xor i32 %5, 1 ret i32 %6 } declare i32 @readl_relaxed(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/linux/arch/arm/mach-omap2/extr_omap4-common.c_gic_dist_disabled.c' source_filename = "AnghaBench/linux/arch/arm/mach-omap2/extr_omap4-common.c_gic_dist_disabled.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @gic_dist_base_addr = common local_unnamed_addr global i64 0, align 8 @GIC_DIST_CTRL = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @gic_dist_disabled() local_unnamed_addr #0 { %1 = load i64, ptr @gic_dist_base_addr, align 8, !tbaa !6 %2 = load i64, ptr @GIC_DIST_CTRL, align 8, !tbaa !6 %3 = add nsw i64 %2, %1 %4 = tail call i32 @readl_relaxed(i64 noundef %3) #2 %5 = and i32 %4, 1 %6 = xor i32 %5, 1 ret i32 %6 } declare i32 @readl_relaxed(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"}
linux_arch_arm_mach-omap2_extr_omap4-common.c_gic_dist_disabled
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/omapdrm/dss/extr_dsi.c_dsi_handle_framedone.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/omapdrm/dss/extr_dsi.c_dsi_handle_framedone.c" target datalayout = "e-m:e-p270:32:32-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.dsi_data = type { i32, ptr, i64, ptr } @DSI_TIMING2 = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"DISPC\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @dsi_handle_framedone], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @dsi_handle_framedone(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.dsi_data, ptr %0, i64 0, i32 3 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %4, align 4, !tbaa !12 %6 = tail call i32 @dispc_enable_sidle(i32 noundef %5) #2 %7 = getelementptr inbounds %struct.dsi_data, ptr %0, i64 0, i32 2 %8 = load i64, ptr %7, align 8, !tbaa !14 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %2 %11 = load i32, ptr @DSI_TIMING2, align 4, !tbaa !15 %12 = tail call i32 @REG_FLD_MOD(ptr noundef nonnull %0, i32 noundef %11, i32 noundef 1, i32 noundef 15, i32 noundef 15) #2 br label %13 13: ; preds = %10, %2 %14 = getelementptr inbounds %struct.dsi_data, ptr %0, i64 0, i32 1 %15 = load ptr, ptr %14, align 8, !tbaa !16 %16 = load i32, ptr %0, align 8, !tbaa !17 %17 = tail call i32 %15(i32 noundef %1, i32 noundef %16) #2 %18 = icmp eq i32 %1, 0 br i1 %18, label %19, label %21 19: ; preds = %13 %20 = tail call i32 @dsi_perf_show(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2 br label %21 21: ; preds = %19, %13 ret void } declare i32 @dispc_enable_sidle(i32 noundef) local_unnamed_addr #1 declare i32 @REG_FLD_MOD(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dsi_perf_show(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 24} !6 = !{!"dsi_data", !7, i64 0, !10, i64 8, !11, 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 = !{!"long", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_2__", !7, i64 0} !14 = !{!6, !11, i64 16} !15 = !{!7, !7, i64 0} !16 = !{!6, !10, i64 8} !17 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/omapdrm/dss/extr_dsi.c_dsi_handle_framedone.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/omapdrm/dss/extr_dsi.c_dsi_handle_framedone.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DSI_TIMING2 = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"DISPC\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @dsi_handle_framedone], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @dsi_handle_framedone(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 24 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %4, align 4, !tbaa !13 %6 = tail call i32 @dispc_enable_sidle(i32 noundef %5) #2 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = load i64, ptr %7, align 8, !tbaa !15 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %2 %11 = load i32, ptr @DSI_TIMING2, align 4, !tbaa !16 %12 = tail call i32 @REG_FLD_MOD(ptr noundef nonnull %0, i32 noundef %11, i32 noundef 1, i32 noundef 15, i32 noundef 15) #2 br label %13 13: ; preds = %10, %2 %14 = getelementptr inbounds i8, ptr %0, i64 8 %15 = load ptr, ptr %14, align 8, !tbaa !17 %16 = load i32, ptr %0, align 8, !tbaa !18 %17 = tail call i32 %15(i32 noundef %1, i32 noundef %16) #2 %18 = icmp eq i32 %1, 0 br i1 %18, label %19, label %21 19: ; preds = %13 %20 = tail call i32 @dsi_perf_show(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2 br label %21 21: ; preds = %19, %13 ret void } declare i32 @dispc_enable_sidle(i32 noundef) local_unnamed_addr #1 declare i32 @REG_FLD_MOD(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dsi_perf_show(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 24} !7 = !{!"dsi_data", !8, i64 0, !11, i64 8, !12, 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 = !{!"long", !9, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_2__", !8, i64 0} !15 = !{!7, !12, i64 16} !16 = !{!8, !8, i64 0} !17 = !{!7, !11, i64 8} !18 = !{!7, !8, i64 0}
linux_drivers_gpu_drm_omapdrm_dss_extr_dsi.c_dsi_handle_framedone
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Virtual.c_PoolingNatUdp.c' source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Virtual.c_PoolingNatUdp.c" target datalayout = "e-m:e-p270:32:32-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, i32, i32, i32, ptr } %struct.TYPE_12__ = type { i32, i32, i32 } ; Function Attrs: nounwind uwtable define dso_local void @PoolingNatUdp(ptr noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 { %3 = icmp eq ptr %0, null %4 = icmp eq ptr %1, null %5 = or i1 %3, %4 br i1 %5, label %41, label %6 6: ; preds = %2 %7 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 4 %8 = load ptr, ptr %7, align 8, !tbaa !5 %9 = load i64, ptr %8, align 8, !tbaa !11 %10 = icmp eq i64 %9, 0 br i1 %10, label %41, label %11 11: ; preds = %6 %12 = tail call ptr @GetNext(ptr noundef nonnull %8) #2 %13 = icmp eq ptr %12, null br i1 %13, label %41, label %14 14: ; preds = %11 %15 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 3 %16 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 2 %17 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 1 br label %18 18: ; preds = %14, %24 %19 = phi ptr [ %12, %14 ], [ %39, %24 ] %20 = load i32, ptr %1, align 8, !tbaa !14 %21 = icmp eq i32 %20, -1 br i1 %21, label %22, label %24 22: ; preds = %18 %23 = load i32, ptr %0, align 4, !tbaa !15 br label %24 24: ; preds = %22, %18 %25 = phi i32 [ %23, %22 ], [ %20, %18 ] %26 = load i32, ptr %19, align 4, !tbaa !17 %27 = icmp eq i32 %26, 0 %28 = select i1 %27, i32 %25, i32 %26 %29 = load i32, ptr %15, align 4, !tbaa !19 %30 = load i32, ptr %16, align 8, !tbaa !20 %31 = load i32, ptr %17, align 4, !tbaa !21 %32 = getelementptr inbounds %struct.TYPE_12__, ptr %19, i64 0, i32 2 %33 = load i32, ptr %32, align 4, !tbaa !22 %34 = getelementptr inbounds %struct.TYPE_12__, ptr %19, i64 0, i32 1 %35 = load i32, ptr %34, align 4, !tbaa !23 %36 = tail call i32 @SendUdp(ptr noundef %0, i32 noundef %29, i32 noundef %30, i32 noundef %28, i32 noundef %31, i32 noundef %33, i32 noundef %35) #2 %37 = tail call i32 @FreeBlock(ptr noundef nonnull %19) #2 %38 = load ptr, ptr %7, align 8, !tbaa !5 %39 = tail call ptr @GetNext(ptr noundef %38) #2 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %18, !llvm.loop !24 41: ; preds = %24, %11, %2, %6 ret void } declare ptr @GetNext(ptr noundef) local_unnamed_addr #1 declare i32 @SendUdp(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @FreeBlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"TYPE_11__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_13__", !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!6, !7, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_10__", !7, i64 0} !17 = !{!18, !7, i64 0} !18 = !{!"TYPE_12__", !7, i64 0, !7, i64 4, !7, i64 8} !19 = !{!6, !7, i64 12} !20 = !{!6, !7, i64 8} !21 = !{!6, !7, i64 4} !22 = !{!18, !7, i64 8} !23 = !{!18, !7, i64 4} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Virtual.c_PoolingNatUdp.c' source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Virtual.c_PoolingNatUdp.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 @PoolingNatUdp(ptr noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 { %3 = icmp eq ptr %0, null %4 = icmp eq ptr %1, null %5 = or i1 %3, %4 br i1 %5, label %41, label %6 6: ; preds = %2 %7 = getelementptr inbounds i8, ptr %1, i64 16 %8 = load ptr, ptr %7, align 8, !tbaa !6 %9 = load i64, ptr %8, align 8, !tbaa !12 %10 = icmp eq i64 %9, 0 br i1 %10, label %41, label %11 11: ; preds = %6 %12 = tail call ptr @GetNext(ptr noundef nonnull %8) #2 %13 = icmp eq ptr %12, null br i1 %13, label %41, label %14 14: ; preds = %11 %15 = getelementptr inbounds i8, ptr %1, i64 12 %16 = getelementptr inbounds i8, ptr %1, i64 8 %17 = getelementptr inbounds i8, ptr %1, i64 4 br label %18 18: ; preds = %14, %24 %19 = phi ptr [ %12, %14 ], [ %39, %24 ] %20 = load i32, ptr %1, align 8, !tbaa !15 %21 = icmp eq i32 %20, -1 br i1 %21, label %22, label %24 22: ; preds = %18 %23 = load i32, ptr %0, align 4, !tbaa !16 br label %24 24: ; preds = %22, %18 %25 = phi i32 [ %23, %22 ], [ %20, %18 ] %26 = load i32, ptr %19, align 4, !tbaa !18 %27 = icmp eq i32 %26, 0 %28 = select i1 %27, i32 %25, i32 %26 %29 = load i32, ptr %15, align 4, !tbaa !20 %30 = load i32, ptr %16, align 8, !tbaa !21 %31 = load i32, ptr %17, align 4, !tbaa !22 %32 = getelementptr inbounds i8, ptr %19, i64 8 %33 = load i32, ptr %32, align 4, !tbaa !23 %34 = getelementptr inbounds i8, ptr %19, i64 4 %35 = load i32, ptr %34, align 4, !tbaa !24 %36 = tail call i32 @SendUdp(ptr noundef %0, i32 noundef %29, i32 noundef %30, i32 noundef %28, i32 noundef %31, i32 noundef %33, i32 noundef %35) #2 %37 = tail call i32 @FreeBlock(ptr noundef nonnull %19) #2 %38 = load ptr, ptr %7, align 8, !tbaa !6 %39 = tail call ptr @GetNext(ptr noundef %38) #2 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %18, !llvm.loop !25 41: ; preds = %24, %11, %2, %6 ret void } declare ptr @GetNext(ptr noundef) local_unnamed_addr #1 declare i32 @SendUdp(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @FreeBlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"TYPE_11__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_13__", !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!7, !8, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_10__", !8, i64 0} !18 = !{!19, !8, i64 0} !19 = !{!"TYPE_12__", !8, i64 0, !8, i64 4, !8, i64 8} !20 = !{!7, !8, i64 12} !21 = !{!7, !8, i64 8} !22 = !{!7, !8, i64 4} !23 = !{!19, !8, i64 8} !24 = !{!19, !8, i64 4} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"}
SoftEtherVPN_src_Cedar_extr_Virtual.c_PoolingNatUdp
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_host.c_host_set_multiuser_config_flags.c' source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_host.c_host_set_multiuser_config_flags.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @KERN_NOT_SUPPORTED = dso_local local_unnamed_addr global i32 0, align 4 @HOST_PRIV_NULL = dso_local local_unnamed_addr global ptr null, align 8 @KERN_INVALID_ARGUMENT = dso_local local_unnamed_addr global i32 0, align 4 @KERN_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @kIsMultiUserDevice = dso_local local_unnamed_addr global i32 0, align 4 @realhost = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define dso_local i32 @host_set_multiuser_config_flags(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @KERN_NOT_SUPPORTED, align 4, !tbaa !5 ret i32 %3 } 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/darwin-xnu/osfmk/kern/extr_host.c_host_set_multiuser_config_flags.c' source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_host.c_host_set_multiuser_config_flags.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @KERN_NOT_SUPPORTED = common local_unnamed_addr global i32 0, align 4 @HOST_PRIV_NULL = common local_unnamed_addr global ptr null, align 8 @KERN_INVALID_ARGUMENT = common local_unnamed_addr global i32 0, align 4 @KERN_SUCCESS = common local_unnamed_addr global i32 0, align 4 @kIsMultiUserDevice = common local_unnamed_addr global i32 0, align 4 @realhost = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define i32 @host_set_multiuser_config_flags(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @KERN_NOT_SUPPORTED, align 4, !tbaa !6 ret i32 %3 } 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"}
darwin-xnu_osfmk_kern_extr_host.c_host_set_multiuser_config_flags
; ModuleID = 'AnghaBench/freebsd/sys/cam/ata/extr_ata_all.c_ata_physical_sector_size.c' source_filename = "AnghaBench/freebsd/sys/cam/ata/extr_ata_all.c_ata_physical_sector_size.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ATA_PSS_VALID_MASK = dso_local local_unnamed_addr global i32 0, align 4 @ATA_PSS_VALID_VALUE = dso_local local_unnamed_addr global i32 0, align 4 @ATA_PSS_MULTLS = dso_local local_unnamed_addr global i32 0, align 4 @ATA_PSS_LSPPS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ata_physical_sector_size(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @ATA_PSS_VALID_MASK, align 4, !tbaa !10 %4 = and i32 %3, %2 %5 = load i32, ptr @ATA_PSS_VALID_VALUE, align 4, !tbaa !10 %6 = icmp eq i32 %4, %5 br i1 %6, label %7, label %18 7: ; preds = %1 %8 = load i32, ptr @ATA_PSS_MULTLS, align 4, !tbaa !10 %9 = and i32 %8, %2 %10 = icmp eq i32 %9, 0 %11 = tail call i64 @ata_logical_sector_size(ptr noundef nonnull %0) #2 %12 = trunc i64 %11 to i32 br i1 %10, label %18, label %13 13: ; preds = %7 %14 = load i32, ptr %0, align 4, !tbaa !5 %15 = load i32, ptr @ATA_PSS_LSPPS, align 4, !tbaa !10 %16 = and i32 %15, %14 %17 = shl i32 %12, %16 br label %18 18: ; preds = %7, %1, %13 %19 = phi i32 [ %17, %13 ], [ 512, %1 ], [ %12, %7 ] ret i32 %19 } declare i64 @ata_logical_sector_size(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_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/freebsd/sys/cam/ata/extr_ata_all.c_ata_physical_sector_size.c' source_filename = "AnghaBench/freebsd/sys/cam/ata/extr_ata_all.c_ata_physical_sector_size.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ATA_PSS_VALID_MASK = common local_unnamed_addr global i32 0, align 4 @ATA_PSS_VALID_VALUE = common local_unnamed_addr global i32 0, align 4 @ATA_PSS_MULTLS = common local_unnamed_addr global i32 0, align 4 @ATA_PSS_LSPPS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ata_physical_sector_size(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @ATA_PSS_VALID_MASK, align 4, !tbaa !11 %4 = and i32 %3, %2 %5 = load i32, ptr @ATA_PSS_VALID_VALUE, align 4, !tbaa !11 %6 = icmp eq i32 %4, %5 br i1 %6, label %7, label %18 7: ; preds = %1 %8 = load i32, ptr @ATA_PSS_MULTLS, align 4, !tbaa !11 %9 = and i32 %8, %2 %10 = icmp eq i32 %9, 0 %11 = tail call i64 @ata_logical_sector_size(ptr noundef nonnull %0) #2 %12 = trunc i64 %11 to i32 br i1 %10, label %18, label %13 13: ; preds = %7 %14 = load i32, ptr %0, align 4, !tbaa !6 %15 = load i32, ptr @ATA_PSS_LSPPS, align 4, !tbaa !11 %16 = and i32 %15, %14 %17 = shl i32 %12, %16 br label %18 18: ; preds = %7, %1, %13 %19 = phi i32 [ %17, %13 ], [ 512, %1 ], [ %12, %7 ] ret i32 %19 } declare i64 @ata_logical_sector_size(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_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}
freebsd_sys_cam_ata_extr_ata_all.c_ata_physical_sector_size
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/lib/traceevent/extr_event-parse.c_eval_type.c' source_filename = "AnghaBench/fastsocket/kernel/tools/lib/traceevent/extr_event-parse.c_eval_type.c" target datalayout = "e-m:e-p270:32:32-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.print_arg = type { i64, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @PRINT_TYPE = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [23 x i8] c"expected type argument\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @eval_type], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @eval_type(i64 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = load i64, ptr %1, align 8, !tbaa !5 %5 = load i64, ptr @PRINT_TYPE, align 8, !tbaa !12 %6 = icmp eq i64 %4, %5 br i1 %6, label %9, label %7 7: ; preds = %3 %8 = tail call i32 @do_warning(ptr noundef nonnull @.str) #2 br label %13 9: ; preds = %3 %10 = getelementptr inbounds %struct.print_arg, ptr %1, i64 0, i32 1 %11 = load i32, ptr %10, align 8, !tbaa !13 %12 = tail call i64 @eval_type_str(i64 noundef %0, i32 noundef %11, i32 noundef %2) #2 br label %13 13: ; preds = %9, %7 %14 = phi i64 [ 0, %7 ], [ %12, %9 ] ret i64 %14 } declare i32 @do_warning(ptr noundef) local_unnamed_addr #1 declare i64 @eval_type_str(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"print_arg", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_2__", !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !11, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/lib/traceevent/extr_event-parse.c_eval_type.c' source_filename = "AnghaBench/fastsocket/kernel/tools/lib/traceevent/extr_event-parse.c_eval_type.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PRINT_TYPE = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [23 x i8] c"expected type argument\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @eval_type], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @eval_type(i64 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = load i64, ptr %1, align 8, !tbaa !6 %5 = load i64, ptr @PRINT_TYPE, align 8, !tbaa !13 %6 = icmp eq i64 %4, %5 br i1 %6, label %9, label %7 7: ; preds = %3 %8 = tail call i32 @do_warning(ptr noundef nonnull @.str) #2 br label %13 9: ; preds = %3 %10 = getelementptr inbounds i8, ptr %1, i64 8 %11 = load i32, ptr %10, align 8, !tbaa !14 %12 = tail call i64 @eval_type_str(i64 noundef %0, i32 noundef %11, i32 noundef %2) #2 br label %13 13: ; preds = %9, %7 %14 = phi i64 [ 0, %7 ], [ %12, %9 ] ret i64 %14 } declare i32 @do_warning(ptr noundef) local_unnamed_addr #1 declare i64 @eval_type_str(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"print_arg", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !12, i64 8}
fastsocket_kernel_tools_lib_traceevent_extr_event-parse.c_eval_type
; ModuleID = 'AnghaBench/kphp-kdb/mutual-friends/extr_hash_table.c_htbl_del.c' source_filename = "AnghaBench/kphp-kdb/mutual-friends/extr_hash_table.c_htbl_del.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i32, ptr } %struct.TYPE_6__ = type { i32, i32, ptr } @htbl_free_entries = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable define dso_local i32 @htbl_del(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = srem i32 %1, %3 %5 = icmp slt i32 %4, 0 %6 = select i1 %5, i32 %3, i32 0 %7 = add nsw i32 %6, %4 %8 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !11 %10 = sext i32 %7 to i64 %11 = getelementptr inbounds ptr, ptr %9, i64 %10 %12 = load ptr, ptr %11, align 8, !tbaa !12 %13 = icmp eq ptr %12, null br i1 %13, label %35, label %14 14: ; preds = %2 %15 = load i32, ptr %12, align 8, !tbaa !13 %16 = icmp eq i32 %15, %1 br i1 %16, label %22, label %30 17: ; preds = %30 %18 = load i32, ptr %33, align 8, !tbaa !13 %19 = icmp eq i32 %18, %1 br i1 %19, label %20, label %30, !llvm.loop !15 20: ; preds = %17 %21 = getelementptr inbounds %struct.TYPE_6__, ptr %31, i64 0, i32 2 br label %22 22: ; preds = %20, %14 %23 = phi ptr [ %12, %14 ], [ %33, %20 ] %24 = phi ptr [ %11, %14 ], [ %21, %20 ] %25 = getelementptr inbounds %struct.TYPE_6__, ptr %23, i64 0, i32 2 %26 = load ptr, ptr %25, align 8, !tbaa !17 store ptr %26, ptr %24, align 8, !tbaa !12 %27 = getelementptr inbounds %struct.TYPE_6__, ptr %23, i64 0, i32 1 %28 = load i32, ptr %27, align 4, !tbaa !18 store i32 0, ptr %27, align 4, !tbaa !18 %29 = load ptr, ptr @htbl_free_entries, align 8, !tbaa !12 store ptr %29, ptr %25, align 8, !tbaa !17 store ptr %23, ptr @htbl_free_entries, align 8, !tbaa !12 br label %35 30: ; preds = %14, %17 %31 = phi ptr [ %33, %17 ], [ %12, %14 ] %32 = getelementptr inbounds %struct.TYPE_6__, ptr %31, i64 0, i32 2 %33 = load ptr, ptr %32, align 8, !tbaa !12 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %17, !llvm.loop !15 35: ; preds = %30, %2, %22 %36 = phi i32 [ %28, %22 ], [ 0, %2 ], [ 0, %30 ] ret i32 %36 } 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, !7, i64 0} !6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!10, !10, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !10, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!14, !10, i64 8} !18 = !{!14, !7, i64 4}
; ModuleID = 'AnghaBench/kphp-kdb/mutual-friends/extr_hash_table.c_htbl_del.c' source_filename = "AnghaBench/kphp-kdb/mutual-friends/extr_hash_table.c_htbl_del.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @htbl_free_entries = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) define i32 @htbl_del(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = srem i32 %1, %3 %5 = icmp slt i32 %4, 0 %6 = select i1 %5, i32 %3, i32 0 %7 = add nsw i32 %6, %4 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !12 %10 = sext i32 %7 to i64 %11 = getelementptr inbounds ptr, ptr %9, i64 %10 %12 = load ptr, ptr %11, align 8, !tbaa !13 %13 = icmp eq ptr %12, null br i1 %13, label %35, label %14 14: ; preds = %2 %15 = load i32, ptr %12, align 8, !tbaa !14 %16 = icmp eq i32 %15, %1 br i1 %16, label %22, label %30 17: ; preds = %30 %18 = load i32, ptr %33, align 8, !tbaa !14 %19 = icmp eq i32 %18, %1 br i1 %19, label %20, label %30, !llvm.loop !16 20: ; preds = %17 %21 = getelementptr inbounds i8, ptr %31, i64 8 br label %22 22: ; preds = %20, %14 %23 = phi ptr [ %12, %14 ], [ %33, %20 ] %24 = phi ptr [ %11, %14 ], [ %21, %20 ] %25 = getelementptr inbounds i8, ptr %23, i64 8 %26 = load ptr, ptr %25, align 8, !tbaa !18 store ptr %26, ptr %24, align 8, !tbaa !13 %27 = getelementptr inbounds i8, ptr %23, i64 4 %28 = load i32, ptr %27, align 4, !tbaa !19 store i32 0, ptr %27, align 4, !tbaa !19 %29 = load ptr, ptr @htbl_free_entries, align 8, !tbaa !13 store ptr %29, ptr %25, align 8, !tbaa !18 store ptr %23, ptr @htbl_free_entries, align 8, !tbaa !13 br label %35 30: ; preds = %14, %17 %31 = phi ptr [ %33, %17 ], [ %12, %14 ] %32 = getelementptr inbounds i8, ptr %31, i64 8 %33 = load ptr, ptr %32, align 8, !tbaa !13 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %17, !llvm.loop !16 35: ; preds = %30, %2, %22 %36 = phi i32 [ %28, %22 ], [ 0, %2 ], [ 0, %30 ] ret i32 %36 } 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, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!11, !11, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !11, i64 8} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!15, !11, i64 8} !19 = !{!15, !8, i64 4}
kphp-kdb_mutual-friends_extr_hash_table.c_htbl_del
; ModuleID = 'AnghaBench/linux/drivers/pcmcia/extr_i82365.c__check_irq.c' source_filename = "AnghaBench/linux/drivers/pcmcia/extr_i82365.c__check_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" @i365_count_irq = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"x\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @_check_irq], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal noundef i32 @_check_irq(i32 noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @i365_count_irq, align 4, !tbaa !5 %4 = tail call i64 @request_irq(i32 noundef %0, i32 noundef %3, i32 noundef %1, ptr noundef nonnull @.str, i32 noundef %3) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load i32, ptr @i365_count_irq, align 4, !tbaa !5 %8 = tail call i32 @free_irq(i32 noundef %0, i32 noundef %7) #2 br label %9 9: ; preds = %2, %6 %10 = phi i32 [ 0, %6 ], [ -1, %2 ] ret i32 %10 } declare i64 @request_irq(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free_irq(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/pcmcia/extr_i82365.c__check_irq.c' source_filename = "AnghaBench/linux/drivers/pcmcia/extr_i82365.c__check_irq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @i365_count_irq = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"x\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @_check_irq], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @_check_irq(i32 noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @i365_count_irq, align 4, !tbaa !6 %4 = tail call i64 @request_irq(i32 noundef %0, i32 noundef %3, i32 noundef %1, ptr noundef nonnull @.str, i32 noundef %3) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load i32, ptr @i365_count_irq, align 4, !tbaa !6 %8 = tail call i32 @free_irq(i32 noundef %0, i32 noundef %7) #2 br label %9 9: ; preds = %2, %6 %10 = phi i32 [ 0, %6 ], [ -1, %2 ] ret i32 %10 } declare i64 @request_irq(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free_irq(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_pcmcia_extr_i82365.c__check_irq
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/cifs/extr_cifsacl.c_cifs_copy_sid.c' source_filename = "AnghaBench/fastsocket/kernel/fs/cifs/extr_cifsacl.c_cifs_copy_sid.c" target datalayout = "e-m:e-p270:32:32-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.cifs_sid = type { i32, ptr, ptr, i32 } @u8 = dso_local local_unnamed_addr global i32 0, align 4 @SID_MAX_SUB_AUTHORITIES = dso_local local_unnamed_addr global i32 0, align 4 @NUM_AUTHS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cifs_copy_sid], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @cifs_copy_sid(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds %struct.cifs_sid, ptr %1, i64 0, i32 3 %4 = load i32, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.cifs_sid, ptr %0, i64 0, i32 3 store i32 %4, ptr %5, align 8, !tbaa !5 %6 = load i32, ptr @u8, align 4, !tbaa !11 %7 = load i32, ptr %1, align 8, !tbaa !12 %8 = load i32, ptr @SID_MAX_SUB_AUTHORITIES, align 4, !tbaa !11 %9 = tail call i32 @min_t(i32 noundef %6, i32 noundef %7, i32 noundef %8) #2 store i32 %9, ptr %0, align 8, !tbaa !12 %10 = load i32, ptr @NUM_AUTHS, align 4, !tbaa !11 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %19 12: ; preds = %2 %13 = getelementptr inbounds %struct.cifs_sid, ptr %1, i64 0, i32 2 %14 = load ptr, ptr %13, align 8, !tbaa !13 %15 = getelementptr inbounds %struct.cifs_sid, ptr %0, i64 0, i32 2 %16 = load ptr, ptr %15, align 8, !tbaa !13 br label %27 17: ; preds = %27 %18 = load i32, ptr %0, align 8, !tbaa !12 br label %19 19: ; preds = %17, %2 %20 = phi i32 [ %18, %17 ], [ %9, %2 ] %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %45 22: ; preds = %19 %23 = getelementptr inbounds %struct.cifs_sid, ptr %1, i64 0, i32 1 %24 = load ptr, ptr %23, align 8, !tbaa !14 %25 = getelementptr inbounds %struct.cifs_sid, ptr %0, i64 0, i32 1 %26 = load ptr, ptr %25, align 8, !tbaa !14 br label %36 27: ; preds = %12, %27 %28 = phi i64 [ 0, %12 ], [ %32, %27 ] %29 = getelementptr inbounds i32, ptr %14, i64 %28 %30 = load i32, ptr %29, align 4, !tbaa !11 %31 = getelementptr inbounds i32, ptr %16, i64 %28 store i32 %30, ptr %31, align 4, !tbaa !11 %32 = add nuw nsw i64 %28, 1 %33 = load i32, ptr @NUM_AUTHS, align 4, !tbaa !11 %34 = sext i32 %33 to i64 %35 = icmp slt i64 %32, %34 br i1 %35, label %27, label %17, !llvm.loop !15 36: ; preds = %22, %36 %37 = phi i64 [ 0, %22 ], [ %41, %36 ] %38 = getelementptr inbounds i32, ptr %24, i64 %37 %39 = load i32, ptr %38, align 4, !tbaa !11 %40 = getelementptr inbounds i32, ptr %26, i64 %37 store i32 %39, ptr %40, align 4, !tbaa !11 %41 = add nuw nsw i64 %37, 1 %42 = load i32, ptr %0, align 8, !tbaa !12 %43 = sext i32 %42 to i64 %44 = icmp slt i64 %41, %43 br i1 %44, label %36, label %45, !llvm.loop !17 45: ; preds = %36, %19 ret void } declare i32 @min_t(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 24} !6 = !{!"cifs_sid", !7, i64 0, !10, i64 8, !10, i64 16, !7, 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 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!6, !10, i64 16} !14 = !{!6, !10, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = distinct !{!17, !16}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/cifs/extr_cifsacl.c_cifs_copy_sid.c' source_filename = "AnghaBench/fastsocket/kernel/fs/cifs/extr_cifsacl.c_cifs_copy_sid.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @u8 = common local_unnamed_addr global i32 0, align 4 @SID_MAX_SUB_AUTHORITIES = common local_unnamed_addr global i32 0, align 4 @NUM_AUTHS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cifs_copy_sid], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @cifs_copy_sid(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 24 %4 = load i32, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 24 store i32 %4, ptr %5, align 8, !tbaa !6 %6 = load i32, ptr @u8, align 4, !tbaa !12 %7 = load i32, ptr %1, align 8, !tbaa !13 %8 = load i32, ptr @SID_MAX_SUB_AUTHORITIES, align 4, !tbaa !12 %9 = tail call i32 @min_t(i32 noundef %6, i32 noundef %7, i32 noundef %8) #2 store i32 %9, ptr %0, align 8, !tbaa !13 %10 = load i32, ptr @NUM_AUTHS, align 4, !tbaa !12 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %19 12: ; preds = %2 %13 = getelementptr inbounds i8, ptr %1, i64 16 %14 = load ptr, ptr %13, align 8, !tbaa !14 %15 = getelementptr inbounds i8, ptr %0, i64 16 %16 = load ptr, ptr %15, align 8, !tbaa !14 br label %27 17: ; preds = %27 %18 = load i32, ptr %0, align 8, !tbaa !13 br label %19 19: ; preds = %17, %2 %20 = phi i32 [ %18, %17 ], [ %9, %2 ] %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %45 22: ; preds = %19 %23 = getelementptr inbounds i8, ptr %1, i64 8 %24 = load ptr, ptr %23, align 8, !tbaa !15 %25 = getelementptr inbounds i8, ptr %0, i64 8 %26 = load ptr, ptr %25, align 8, !tbaa !15 br label %36 27: ; preds = %12, %27 %28 = phi i64 [ 0, %12 ], [ %32, %27 ] %29 = getelementptr inbounds i32, ptr %14, i64 %28 %30 = load i32, ptr %29, align 4, !tbaa !12 %31 = getelementptr inbounds i32, ptr %16, i64 %28 store i32 %30, ptr %31, align 4, !tbaa !12 %32 = add nuw nsw i64 %28, 1 %33 = load i32, ptr @NUM_AUTHS, align 4, !tbaa !12 %34 = sext i32 %33 to i64 %35 = icmp slt i64 %32, %34 br i1 %35, label %27, label %17, !llvm.loop !16 36: ; preds = %22, %36 %37 = phi i64 [ 0, %22 ], [ %41, %36 ] %38 = getelementptr inbounds i32, ptr %24, i64 %37 %39 = load i32, ptr %38, align 4, !tbaa !12 %40 = getelementptr inbounds i32, ptr %26, i64 %37 store i32 %39, ptr %40, align 4, !tbaa !12 %41 = add nuw nsw i64 %37, 1 %42 = load i32, ptr %0, align 8, !tbaa !13 %43 = sext i32 %42 to i64 %44 = icmp slt i64 %41, %43 br i1 %44, label %36, label %45, !llvm.loop !18 45: ; preds = %36, %19 ret void } declare i32 @min_t(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 24} !7 = !{!"cifs_sid", !8, i64 0, !11, i64 8, !11, i64 16, !8, 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 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!7, !11, i64 16} !15 = !{!7, !11, i64 8} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = distinct !{!18, !17}
fastsocket_kernel_fs_cifs_extr_cifsacl.c_cifs_copy_sid
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_l3dss1.c_l3dss1_message_cause.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_l3dss1.c_l3dss1_message_cause.c" target datalayout = "e-m:e-p270:32:32-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.l3_process = type { i32, i32 } @IE_CAUSE = dso_local local_unnamed_addr global i32 0, align 4 @DL_DATA = dso_local local_unnamed_addr global i32 0, align 4 @REQUEST = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @l3dss1_message_cause], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @l3dss1_message_cause(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca [16 x i32], align 16 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #3 %5 = getelementptr inbounds %struct.l3_process, ptr %0, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = call i32 @MsgHead(ptr noundef nonnull %4, i32 noundef %6, i32 noundef %1) #3 %8 = load i32, ptr @IE_CAUSE, align 4, !tbaa !10 %9 = getelementptr inbounds i32, ptr %4, i64 1 store i32 %8, ptr %4, align 16, !tbaa !10 %10 = getelementptr inbounds i32, ptr %4, i64 2 store i32 2, ptr %9, align 4, !tbaa !10 %11 = getelementptr inbounds i32, ptr %4, i64 3 store i32 128, ptr %10, align 8, !tbaa !10 %12 = or i32 %2, 128 store i32 %12, ptr %11, align 4, !tbaa !10 %13 = call ptr @l3_alloc_skb(i32 noundef 4) #3 %14 = icmp eq ptr %13, null br i1 %14, label %23, label %15 15: ; preds = %3 %16 = call i32 @skb_put(ptr noundef nonnull %13, i32 noundef 4) #3 %17 = call i32 @memcpy(i32 noundef %16, ptr noundef nonnull %4, i32 noundef 4) #3 %18 = load i32, ptr %0, align 4, !tbaa !11 %19 = load i32, ptr @DL_DATA, align 4, !tbaa !10 %20 = load i32, ptr @REQUEST, align 4, !tbaa !10 %21 = or i32 %20, %19 %22 = call i32 @l3_msg(i32 noundef %18, i32 noundef %21, ptr noundef nonnull %13) #3 br label %23 23: ; preds = %3, %15 call void @llvm.lifetime.end.p0(i64 64, 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 @MsgHead(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @l3_alloc_skb(i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @l3_msg(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"l3_process", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_l3dss1.c_l3dss1_message_cause.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_l3dss1.c_l3dss1_message_cause.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IE_CAUSE = common local_unnamed_addr global i32 0, align 4 @DL_DATA = common local_unnamed_addr global i32 0, align 4 @REQUEST = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @l3dss1_message_cause], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @l3dss1_message_cause(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca [16 x i32], align 4 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #3 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = call i32 @MsgHead(ptr noundef nonnull %4, i32 noundef %6, i32 noundef %1) #3 %8 = load i32, ptr @IE_CAUSE, align 4, !tbaa !11 %9 = getelementptr inbounds i8, ptr %4, i64 4 store i32 %8, ptr %4, align 4, !tbaa !11 %10 = getelementptr inbounds i8, ptr %4, i64 12 store <2 x i32> <i32 2, i32 128>, ptr %9, align 4, !tbaa !11 %11 = or i32 %2, 128 store i32 %11, ptr %10, align 4, !tbaa !11 %12 = call ptr @l3_alloc_skb(i32 noundef 4) #3 %13 = icmp eq ptr %12, null br i1 %13, label %22, label %14 14: ; preds = %3 %15 = call i32 @skb_put(ptr noundef nonnull %12, i32 noundef 4) #3 %16 = call i32 @memcpy(i32 noundef %15, ptr noundef nonnull %4, i32 noundef 4) #3 %17 = load i32, ptr %0, align 4, !tbaa !12 %18 = load i32, ptr @DL_DATA, align 4, !tbaa !11 %19 = load i32, ptr @REQUEST, align 4, !tbaa !11 %20 = or i32 %19, %18 %21 = call i32 @l3_msg(i32 noundef %17, i32 noundef %20, ptr noundef nonnull %12) #3 br label %22 22: ; preds = %3, %14 call void @llvm.lifetime.end.p0(i64 64, 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 @MsgHead(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @l3_alloc_skb(i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @l3_msg(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"l3_process", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_isdn_hisax_extr_l3dss1.c_l3dss1_message_cause
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_ddt.c_ddt_bp_fill.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_ddt.c_ddt_bp_fill.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i32, ptr } @SPA_DVAS_PER_BP = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ddt_bp_fill(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = icmp ne i64 %2, 0 %5 = zext i1 %4 to i32 %6 = tail call i32 @ASSERT(i32 noundef %5) #2 %7 = load i32, ptr @SPA_DVAS_PER_BP, align 4, !tbaa !5 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %3 %10 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !9 %12 = load ptr, ptr %1, align 8, !tbaa !12 br label %16 13: ; preds = %16, %3 %14 = load i32, ptr %0, align 8, !tbaa !14 %15 = tail call i32 @BP_SET_BIRTH(ptr noundef %1, i64 noundef %2, i32 noundef %14) #2 ret void 16: ; preds = %9, %16 %17 = phi i64 [ 0, %9 ], [ %21, %16 ] %18 = getelementptr inbounds i32, ptr %11, i64 %17 %19 = load i32, ptr %18, align 4, !tbaa !5 %20 = getelementptr inbounds i32, ptr %12, i64 %17 store i32 %19, ptr %20, align 4, !tbaa !5 %21 = add nuw nsw i64 %17, 1 %22 = load i32, ptr @SPA_DVAS_PER_BP, align 4, !tbaa !5 %23 = sext i32 %22 to i64 %24 = icmp slt i64 %21, %23 br i1 %24, label %16, label %13, !llvm.loop !15 } declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @BP_SET_BIRTH(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"TYPE_6__", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_7__", !11, i64 0} !14 = !{!10, !6, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_ddt.c_ddt_bp_fill.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_ddt.c_ddt_bp_fill.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SPA_DVAS_PER_BP = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ddt_bp_fill(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = icmp ne i64 %2, 0 %5 = zext i1 %4 to i32 %6 = tail call i32 @ASSERT(i32 noundef %5) #2 %7 = load i32, ptr @SPA_DVAS_PER_BP, align 4, !tbaa !6 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %3 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !10 %12 = load ptr, ptr %1, align 8, !tbaa !13 br label %16 13: ; preds = %16, %3 %14 = load i32, ptr %0, align 8, !tbaa !15 %15 = tail call i32 @BP_SET_BIRTH(ptr noundef %1, i64 noundef %2, i32 noundef %14) #2 ret void 16: ; preds = %9, %16 %17 = phi i64 [ 0, %9 ], [ %21, %16 ] %18 = getelementptr inbounds i32, ptr %11, i64 %17 %19 = load i32, ptr %18, align 4, !tbaa !6 %20 = getelementptr inbounds i32, ptr %12, i64 %17 store i32 %19, ptr %20, align 4, !tbaa !6 %21 = add nuw nsw i64 %17, 1 %22 = load i32, ptr @SPA_DVAS_PER_BP, align 4, !tbaa !6 %23 = sext i32 %22 to i64 %24 = icmp slt i64 %21, %23 br i1 %24, label %16, label %13, !llvm.loop !16 } declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @BP_SET_BIRTH(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"TYPE_6__", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_7__", !12, i64 0} !15 = !{!11, !7, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_extr_ddt.c_ddt_bp_fill
; ModuleID = 'AnghaBench/kphp-kdb/lists/extr_lists-data.c_list_sum_x_prefix.c' source_filename = "AnghaBench/kphp-kdb/lists/extr_lists-data.c_list_sum_x_prefix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @LA = dso_local local_unnamed_addr global ptr null, align 8 @LE = dso_local local_unnamed_addr global ptr null, align 8 @object_id_ints_adjusted = dso_local local_unnamed_addr global i32 0, align 4 @MAX_OBJECT_ID = dso_local local_unnamed_addr global i64 0, align 8 @__have_weights = dso_local local_unnamed_addr global i64 0, align 8 @Sum = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @list_sum_x_prefix], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal noundef i32 @list_sum_x_prefix(i32 noundef %0) #0 { %2 = load ptr, ptr @LA, align 8, !tbaa !5 %3 = load ptr, ptr @LE, align 8, !tbaa !5 %4 = icmp ult ptr %2, %3 %5 = zext i1 %4 to i32 %6 = tail call i64 @IF_LISTS_Z(i32 noundef %5) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %43, label %8 8: ; preds = %1, %13 %9 = load ptr, ptr @LA, align 8, !tbaa !5 %10 = tail call i32 @OARR_ENTRY(ptr noundef %9, i32 noundef 0) #2 %11 = tail call i32 @object_id_compare_prefix(i32 noundef %10, i32 noundef %0) #2 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %23 13: ; preds = %8 %14 = load i32, ptr @object_id_ints_adjusted, align 4, !tbaa !9 %15 = load ptr, ptr @LA, align 8, !tbaa !5 %16 = sext i32 %14 to i64 %17 = getelementptr inbounds i64, ptr %15, i64 %16 store ptr %17, ptr @LA, align 8, !tbaa !5 %18 = load ptr, ptr @LE, align 8, !tbaa !5 %19 = icmp ult ptr %17, %18 %20 = zext i1 %19 to i32 %21 = tail call i64 @IF_LISTS_Z(i32 noundef %20) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %43, label %8, !llvm.loop !11 23: ; preds = %8 %24 = load ptr, ptr @LA, align 8, !tbaa !5 %25 = load i64, ptr %24, align 8, !tbaa !13 %26 = load i64, ptr @MAX_OBJECT_ID, align 8, !tbaa !13 %27 = icmp ne i64 %25, %26 %28 = icmp eq i32 %11, 0 %29 = and i1 %28, %27 br i1 %29, label %30, label %43 30: ; preds = %23 %31 = load i64, ptr @__have_weights, align 8, !tbaa !13 %32 = icmp eq i64 %31, 0 br i1 %32, label %39, label %33 33: ; preds = %30 %34 = load i32, ptr @object_id_ints_adjusted, align 4, !tbaa !9 %35 = sext i32 %34 to i64 %36 = getelementptr i64, ptr %24, i64 %35 %37 = getelementptr i64, ptr %36, i64 -1 %38 = load i64, ptr %37, align 8, !tbaa !13 br label %39 39: ; preds = %30, %33 %40 = phi i64 [ %38, %33 ], [ 1, %30 ] %41 = load i64, ptr @Sum, align 8, !tbaa !13 %42 = add nsw i64 %41, %40 store i64 %42, ptr @Sum, align 8, !tbaa !13 br label %43 43: ; preds = %13, %1, %39, %23 ret i32 0 } declare i64 @IF_LISTS_Z(i32 noundef) local_unnamed_addr #1 declare i32 @object_id_compare_prefix(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @OARR_ENTRY(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!14, !14, i64 0} !14 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/kphp-kdb/lists/extr_lists-data.c_list_sum_x_prefix.c' source_filename = "AnghaBench/kphp-kdb/lists/extr_lists-data.c_list_sum_x_prefix.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LA = common local_unnamed_addr global ptr null, align 8 @LE = common local_unnamed_addr global ptr null, align 8 @object_id_ints_adjusted = common local_unnamed_addr global i32 0, align 4 @MAX_OBJECT_ID = common local_unnamed_addr global i64 0, align 8 @__have_weights = common local_unnamed_addr global i64 0, align 8 @Sum = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @list_sum_x_prefix], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal noundef i32 @list_sum_x_prefix(i32 noundef %0) #0 { %2 = load ptr, ptr @LA, align 8, !tbaa !6 %3 = load ptr, ptr @LE, align 8, !tbaa !6 %4 = icmp ult ptr %2, %3 %5 = zext i1 %4 to i32 %6 = tail call i64 @IF_LISTS_Z(i32 noundef %5) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %43, label %8 8: ; preds = %1, %13 %9 = load ptr, ptr @LA, align 8, !tbaa !6 %10 = tail call i32 @OARR_ENTRY(ptr noundef %9, i32 noundef 0) #2 %11 = tail call i32 @object_id_compare_prefix(i32 noundef %10, i32 noundef %0) #2 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %23 13: ; preds = %8 %14 = load i32, ptr @object_id_ints_adjusted, align 4, !tbaa !10 %15 = load ptr, ptr @LA, align 8, !tbaa !6 %16 = sext i32 %14 to i64 %17 = getelementptr inbounds i64, ptr %15, i64 %16 store ptr %17, ptr @LA, align 8, !tbaa !6 %18 = load ptr, ptr @LE, align 8, !tbaa !6 %19 = icmp ult ptr %17, %18 %20 = zext i1 %19 to i32 %21 = tail call i64 @IF_LISTS_Z(i32 noundef %20) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %43, label %8, !llvm.loop !12 23: ; preds = %8 %24 = load ptr, ptr @LA, align 8, !tbaa !6 %25 = load i64, ptr %24, align 8, !tbaa !14 %26 = load i64, ptr @MAX_OBJECT_ID, align 8, !tbaa !14 %27 = icmp ne i64 %25, %26 %28 = icmp eq i32 %11, 0 %29 = and i1 %28, %27 br i1 %29, label %30, label %43 30: ; preds = %23 %31 = load i64, ptr @__have_weights, align 8, !tbaa !14 %32 = icmp eq i64 %31, 0 br i1 %32, label %39, label %33 33: ; preds = %30 %34 = load i32, ptr @object_id_ints_adjusted, align 4, !tbaa !10 %35 = sext i32 %34 to i64 %36 = getelementptr i64, ptr %24, i64 %35 %37 = getelementptr i8, ptr %36, i64 -8 %38 = load i64, ptr %37, align 8, !tbaa !14 br label %39 39: ; preds = %30, %33 %40 = phi i64 [ %38, %33 ], [ 1, %30 ] %41 = load i64, ptr @Sum, align 8, !tbaa !14 %42 = add nsw i64 %41, %40 store i64 %42, ptr @Sum, align 8, !tbaa !14 br label %43 43: ; preds = %13, %1, %39, %23 ret i32 0 } declare i64 @IF_LISTS_Z(i32 noundef) local_unnamed_addr #1 declare i32 @object_id_compare_prefix(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @OARR_ENTRY(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!15, !15, i64 0} !15 = !{!"long", !8, i64 0}
kphp-kdb_lists_extr_lists-data.c_list_sum_x_prefix
; ModuleID = 'AnghaBench/linux/sound/oss/dmasound/extr_dmasound_q40.c_Q40Alloc.c' source_filename = "AnghaBench/linux/sound/oss/dmasound/extr_dmasound_q40.c_Q40Alloc.c" target datalayout = "e-m:e-p270:32:32-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 @Q40Alloc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @Q40Alloc(i32 noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @kmalloc(i32 noundef %0, i32 noundef %1) #2 ret ptr %3 } declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/sound/oss/dmasound/extr_dmasound_q40.c_Q40Alloc.c' source_filename = "AnghaBench/linux/sound/oss/dmasound/extr_dmasound_q40.c_Q40Alloc.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 @Q40Alloc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @Q40Alloc(i32 noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @kmalloc(i32 noundef %0, i32 noundef %1) #2 ret ptr %3 } declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_sound_oss_dmasound_extr_dmasound_q40.c_Q40Alloc
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_repos/extr_commit.c_move_cb.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_repos/extr_commit.c_move_cb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @move_cb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @move_cb(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr nocapture readnone %5) #0 { %7 = load i32, ptr %0, align 4, !tbaa !5 %8 = tail call i32 @svn_editor_move(i32 noundef %7, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #2 %9 = tail call i32 @SVN_ERR(i32 noundef %8) #2 %10 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !10 ret ptr %10 } declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @svn_editor_move(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ev2_baton", !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}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_repos/extr_commit.c_move_cb.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_repos/extr_commit.c_move_cb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @move_cb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @move_cb(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr nocapture readnone %5) #0 { %7 = load i32, ptr %0, align 4, !tbaa !6 %8 = tail call i32 @svn_editor_move(i32 noundef %7, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #2 %9 = tail call i32 @SVN_ERR(i32 noundef %8) #2 %10 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !11 ret ptr %10 } declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @svn_editor_move(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ev2_baton", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !9, i64 0}
freebsd_contrib_subversion_subversion_libsvn_repos_extr_commit.c_move_cb
; ModuleID = 'AnghaBench/linux/drivers/nvme/host/extr_fabrics.c_nvmf_host_default.c' source_filename = "AnghaBench/linux/drivers/nvme/host/extr_fabrics.c_nvmf_host_default.c" target datalayout = "e-m:e-p270:32:32-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.nvmf_host = type { i32, i32, i32, i32 } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @NVMF_NQN_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"nqn.2014-08.org.nvmexpress:uuid:%pUb\00", align 1 @nvmf_hosts_mutex = dso_local global i32 0, align 4 @nvmf_hosts = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nvmf_host_default], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @nvmf_host_default() #0 { %1 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %2 = tail call ptr @kmalloc(i32 noundef 16, i32 noundef %1) #2 %3 = icmp eq ptr %2, null br i1 %3, label %16, label %4 4: ; preds = %0 %5 = getelementptr inbounds %struct.nvmf_host, ptr %2, i64 0, i32 3 %6 = tail call i32 @kref_init(ptr noundef nonnull %5) #2 %7 = getelementptr inbounds %struct.nvmf_host, ptr %2, i64 0, i32 2 %8 = tail call i32 @uuid_gen(ptr noundef nonnull %7) #2 %9 = getelementptr inbounds %struct.nvmf_host, ptr %2, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !9 %11 = load i32, ptr @NVMF_NQN_SIZE, align 4, !tbaa !5 %12 = tail call i32 @snprintf(i32 noundef %10, i32 noundef %11, ptr noundef nonnull @.str, ptr noundef nonnull %7) #2 %13 = tail call i32 @mutex_lock(ptr noundef nonnull @nvmf_hosts_mutex) #2 %14 = tail call i32 @list_add_tail(ptr noundef nonnull %2, ptr noundef nonnull @nvmf_hosts) #2 %15 = tail call i32 @mutex_unlock(ptr noundef nonnull @nvmf_hosts_mutex) #2 br label %16 16: ; preds = %0, %4 ret ptr %2 } declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kref_init(ptr noundef) local_unnamed_addr #1 declare i32 @uuid_gen(ptr noundef) local_unnamed_addr #1 declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 4} !10 = !{!"nvmf_host", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
; ModuleID = 'AnghaBench/linux/drivers/nvme/host/extr_fabrics.c_nvmf_host_default.c' source_filename = "AnghaBench/linux/drivers/nvme/host/extr_fabrics.c_nvmf_host_default.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 @NVMF_NQN_SIZE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"nqn.2014-08.org.nvmexpress:uuid:%pUb\00", align 1 @nvmf_hosts_mutex = common global i32 0, align 4 @nvmf_hosts = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nvmf_host_default], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @nvmf_host_default() #0 { %1 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %2 = tail call ptr @kmalloc(i32 noundef 16, i32 noundef %1) #2 %3 = icmp eq ptr %2, null br i1 %3, label %16, label %4 4: ; preds = %0 %5 = getelementptr inbounds i8, ptr %2, i64 12 %6 = tail call i32 @kref_init(ptr noundef nonnull %5) #2 %7 = getelementptr inbounds i8, ptr %2, i64 8 %8 = tail call i32 @uuid_gen(ptr noundef nonnull %7) #2 %9 = getelementptr inbounds i8, ptr %2, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !10 %11 = load i32, ptr @NVMF_NQN_SIZE, align 4, !tbaa !6 %12 = tail call i32 @snprintf(i32 noundef %10, i32 noundef %11, ptr noundef nonnull @.str, ptr noundef nonnull %7) #2 %13 = tail call i32 @mutex_lock(ptr noundef nonnull @nvmf_hosts_mutex) #2 %14 = tail call i32 @list_add_tail(ptr noundef nonnull %2, ptr noundef nonnull @nvmf_hosts) #2 %15 = tail call i32 @mutex_unlock(ptr noundef nonnull @nvmf_hosts_mutex) #2 br label %16 16: ; preds = %0, %4 ret ptr %2 } declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kref_init(ptr noundef) local_unnamed_addr #1 declare i32 @uuid_gen(ptr noundef) local_unnamed_addr #1 declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 4} !11 = !{!"nvmf_host", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
linux_drivers_nvme_host_extr_fabrics.c_nvmf_host_default
; ModuleID = 'AnghaBench/Craft/deps/lodepng/extr_lodepng.c_deflate.c' source_filename = "AnghaBench/Craft/deps/lodepng/extr_lodepng.c_deflate.c" target datalayout = "e-m:e-p270:32:32-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 @deflate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @deflate(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = load ptr, ptr %4, align 8, !tbaa !5 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %5 %9 = tail call i32 %6(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef nonnull %4) #2 br label %12 10: ; preds = %5 %11 = tail call i32 @lodepng_deflate(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef nonnull %4) #2 br label %12 12: ; preds = %10, %8 %13 = phi i32 [ %9, %8 ], [ %11, %10 ] ret i32 %13 } declare i32 @lodepng_deflate(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/Craft/deps/lodepng/extr_lodepng.c_deflate.c' source_filename = "AnghaBench/Craft/deps/lodepng/extr_lodepng.c_deflate.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 @deflate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @deflate(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = load ptr, ptr %4, align 8, !tbaa !6 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %5 %9 = tail call i32 %6(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef nonnull %4) #2 br label %12 10: ; preds = %5 %11 = tail call i32 @lodepng_deflate(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef nonnull %4) #2 br label %12 12: ; preds = %10, %8 %13 = phi i32 [ %9, %8 ], [ %11, %10 ] ret i32 %13 } declare i32 @lodepng_deflate(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
Craft_deps_lodepng_extr_lodepng.c_deflate
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_enxdp.h_mlx5e_xdp_tx_is_enabled.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_enxdp.h_mlx5e_xdp_tx_is_enabled.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MLX5E_STATE_XDP_TX_ENABLED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mlx5e_xdp_tx_is_enabled], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @mlx5e_xdp_tx_is_enabled(ptr noundef %0) #0 { %2 = load i32, ptr @MLX5E_STATE_XDP_TX_ENABLED, align 4, !tbaa !5 %3 = tail call i32 @test_bit(i32 noundef %2, ptr noundef %0) #2 ret i32 %3 } declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_enxdp.h_mlx5e_xdp_tx_is_enabled.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_enxdp.h_mlx5e_xdp_tx_is_enabled.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MLX5E_STATE_XDP_TX_ENABLED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mlx5e_xdp_tx_is_enabled], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @mlx5e_xdp_tx_is_enabled(ptr noundef %0) #0 { %2 = load i32, ptr @MLX5E_STATE_XDP_TX_ENABLED, align 4, !tbaa !6 %3 = tail call i32 @test_bit(i32 noundef %2, ptr noundef %0) #2 ret i32 %3 } declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_mellanox_mlx5_core_extr_enxdp.h_mlx5e_xdp_tx_is_enabled
; ModuleID = 'AnghaBench/freebsd/contrib/tcsh/extr_sh.misc.c_number.c' source_filename = "AnghaBench/freebsd/contrib/tcsh/extr_sh.misc.c_number.c" target datalayout = "e-m:e-p270:32:32-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 @number(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %31, label %3 3: ; preds = %1 %4 = load i8, ptr %0, align 1, !tbaa !5 %5 = icmp eq i8 %4, 45 br i1 %5, label %6, label %14 6: ; preds = %3 %7 = getelementptr inbounds i8, ptr %0, i64 1 %8 = load i8, ptr %7, align 1, !tbaa !5 %9 = tail call i64 @Isdigit(i8 noundef signext %8) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %31, label %11 11: ; preds = %6 %12 = getelementptr inbounds i8, ptr %0, i64 2 %13 = load i8, ptr %12, align 1, !tbaa !5 br label %14 14: ; preds = %11, %3 %15 = phi i8 [ %13, %11 ], [ %4, %3 ] %16 = phi ptr [ %12, %11 ], [ %0, %3 ] %17 = icmp eq i8 %15, 0 br i1 %17, label %31, label %18 18: ; preds = %14, %27 %19 = phi i8 [ %29, %27 ], [ %15, %14 ] %20 = phi ptr [ %28, %27 ], [ %16, %14 ] %21 = tail call i64 @Isdigit(i8 noundef signext %19) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %27 23: ; preds = %18 %24 = load i8, ptr %20, align 1, !tbaa !5 %25 = icmp eq i8 %24, 0 %26 = zext i1 %25 to i32 br label %31 27: ; preds = %18 %28 = getelementptr inbounds i8, ptr %20, i64 1 %29 = load i8, ptr %28, align 1, !tbaa !5 %30 = icmp eq i8 %29, 0 br i1 %30, label %31, label %18, !llvm.loop !8 31: ; preds = %27, %14, %23, %6, %1 %32 = phi i32 [ 0, %1 ], [ 0, %6 ], [ 1, %14 ], [ %26, %23 ], [ 1, %27 ] ret i32 %32 } declare i64 @Isdigit(i8 noundef signext) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/tcsh/extr_sh.misc.c_number.c' source_filename = "AnghaBench/freebsd/contrib/tcsh/extr_sh.misc.c_number.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @number(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %31, label %3 3: ; preds = %1 %4 = load i8, ptr %0, align 1, !tbaa !6 %5 = icmp eq i8 %4, 45 br i1 %5, label %6, label %14 6: ; preds = %3 %7 = getelementptr inbounds i8, ptr %0, i64 1 %8 = load i8, ptr %7, align 1, !tbaa !6 %9 = tail call i64 @Isdigit(i8 noundef signext %8) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %31, label %11 11: ; preds = %6 %12 = getelementptr inbounds i8, ptr %0, i64 2 %13 = load i8, ptr %12, align 1, !tbaa !6 br label %14 14: ; preds = %11, %3 %15 = phi i8 [ %13, %11 ], [ %4, %3 ] %16 = phi ptr [ %12, %11 ], [ %0, %3 ] %17 = icmp eq i8 %15, 0 br i1 %17, label %31, label %18 18: ; preds = %14, %27 %19 = phi i8 [ %29, %27 ], [ %15, %14 ] %20 = phi ptr [ %28, %27 ], [ %16, %14 ] %21 = tail call i64 @Isdigit(i8 noundef signext %19) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %27 23: ; preds = %18 %24 = load i8, ptr %20, align 1, !tbaa !6 %25 = icmp eq i8 %24, 0 %26 = zext i1 %25 to i32 br label %31 27: ; preds = %18 %28 = getelementptr inbounds i8, ptr %20, i64 1 %29 = load i8, ptr %28, align 1, !tbaa !6 %30 = icmp eq i8 %29, 0 br i1 %30, label %31, label %18, !llvm.loop !9 31: ; preds = %27, %14, %23, %6, %1 %32 = phi i32 [ 0, %1 ], [ 0, %6 ], [ 1, %14 ], [ %26, %23 ], [ 1, %27 ] ret i32 %32 } declare i64 @Isdigit(i8 noundef signext) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_tcsh_extr_sh.misc.c_number
; ModuleID = 'AnghaBench/php-src/ext/openssl/extr_xp_ssl.c_php_openssl_get_proto_version_flags.c' source_filename = "AnghaBench/php-src/ext/openssl/extr_xp_ssl.c_php_openssl_get_proto_version_flags.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PHP_OPENSSL_MIN_PROTO_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @PHP_OPENSSL_MAX_PROTO_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @php_openssl_get_proto_version_flags], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @php_openssl_get_proto_version_flags(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = icmp eq i32 %1, 0 br i1 %4, label %5, label %7 5: ; preds = %3 %6 = tail call i32 @php_openssl_get_min_proto_version_flag(i32 noundef %0) #2 br label %7 7: ; preds = %5, %3 %8 = phi i32 [ %1, %3 ], [ %6, %5 ] %9 = icmp eq i32 %2, 0 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = tail call i32 @php_openssl_get_max_proto_version_flag(i32 noundef %0) #2 br label %12 12: ; preds = %10, %7 %13 = phi i32 [ %2, %7 ], [ %11, %10 ] %14 = load i32, ptr @PHP_OPENSSL_MIN_PROTO_VERSION, align 4, !tbaa !5 %15 = load i32, ptr @PHP_OPENSSL_MAX_PROTO_VERSION, align 4, !tbaa !5 %16 = icmp sgt i32 %14, %15 br i1 %16, label %36, label %17 17: ; preds = %12, %32 %18 = phi i32 [ %34, %32 ], [ %14, %12 ] %19 = phi i32 [ %33, %32 ], [ %0, %12 ] %20 = icmp slt i32 %18, %8 %21 = icmp sgt i32 %18, %13 %22 = select i1 %20, i1 true, i1 %21 %23 = and i32 %18, %19 %24 = icmp eq i32 %23, 0 br i1 %22, label %28, label %25 25: ; preds = %17 %26 = select i1 %24, i32 %18, i32 0 %27 = or i32 %26, %19 br label %32 28: ; preds = %17 br i1 %24, label %32, label %29 29: ; preds = %28 %30 = xor i32 %18, -1 %31 = and i32 %19, %30 br label %32 32: ; preds = %25, %29, %28 %33 = phi i32 [ %31, %29 ], [ %19, %28 ], [ %27, %25 ] %34 = shl i32 %18, 1 %35 = icmp sgt i32 %34, %15 br i1 %35, label %36, label %17, !llvm.loop !9 36: ; preds = %32, %12 %37 = phi i32 [ %0, %12 ], [ %33, %32 ] ret i32 %37 } declare i32 @php_openssl_get_min_proto_version_flag(i32 noundef) local_unnamed_addr #1 declare i32 @php_openssl_get_max_proto_version_flag(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/php-src/ext/openssl/extr_xp_ssl.c_php_openssl_get_proto_version_flags.c' source_filename = "AnghaBench/php-src/ext/openssl/extr_xp_ssl.c_php_openssl_get_proto_version_flags.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PHP_OPENSSL_MIN_PROTO_VERSION = common local_unnamed_addr global i32 0, align 4 @PHP_OPENSSL_MAX_PROTO_VERSION = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @php_openssl_get_proto_version_flags], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @php_openssl_get_proto_version_flags(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = icmp eq i32 %1, 0 br i1 %4, label %5, label %7 5: ; preds = %3 %6 = tail call i32 @php_openssl_get_min_proto_version_flag(i32 noundef %0) #2 br label %7 7: ; preds = %5, %3 %8 = phi i32 [ %1, %3 ], [ %6, %5 ] %9 = icmp eq i32 %2, 0 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = tail call i32 @php_openssl_get_max_proto_version_flag(i32 noundef %0) #2 br label %12 12: ; preds = %10, %7 %13 = phi i32 [ %2, %7 ], [ %11, %10 ] %14 = load i32, ptr @PHP_OPENSSL_MIN_PROTO_VERSION, align 4, !tbaa !6 %15 = load i32, ptr @PHP_OPENSSL_MAX_PROTO_VERSION, align 4, !tbaa !6 %16 = icmp sgt i32 %14, %15 br i1 %16, label %36, label %17 17: ; preds = %12, %32 %18 = phi i32 [ %34, %32 ], [ %14, %12 ] %19 = phi i32 [ %33, %32 ], [ %0, %12 ] %20 = icmp slt i32 %18, %8 %21 = icmp sgt i32 %18, %13 %22 = select i1 %20, i1 true, i1 %21 %23 = and i32 %18, %19 %24 = icmp eq i32 %23, 0 br i1 %22, label %28, label %25 25: ; preds = %17 %26 = select i1 %24, i32 %18, i32 0 %27 = or i32 %26, %19 br label %32 28: ; preds = %17 br i1 %24, label %32, label %29 29: ; preds = %28 %30 = xor i32 %18, -1 %31 = and i32 %19, %30 br label %32 32: ; preds = %25, %29, %28 %33 = phi i32 [ %31, %29 ], [ %19, %28 ], [ %27, %25 ] %34 = shl i32 %18, 1 %35 = icmp sgt i32 %34, %15 br i1 %35, label %36, label %17, !llvm.loop !10 36: ; preds = %32, %12 %37 = phi i32 [ %0, %12 ], [ %33, %32 ] ret i32 %37 } declare i32 @php_openssl_get_min_proto_version_flag(i32 noundef) local_unnamed_addr #1 declare i32 @php_openssl_get_max_proto_version_flag(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
php-src_ext_openssl_extr_xp_ssl.c_php_openssl_get_proto_version_flags
; ModuleID = 'AnghaBench/libgit2/tests/online/extr_clone.c_test_online_clone__bitbucket_uses_creds_in_url.c' source_filename = "AnghaBench/libgit2/tests/online/extr_clone.c_test_online_clone__bitbucket_uses_creds_in_url.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { ptr, ptr } %struct.TYPE_9__ = type { %struct.TYPE_7__ } %struct.TYPE_7__ = type { %struct.TYPE_6__ } %struct.TYPE_6__ = type { ptr, i32 } @.str = private unnamed_addr constant [8 x i8] c"libgit2\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"wrong\00", align 1 @__const.test_online_clone__bitbucket_uses_creds_in_url.user_pass = private unnamed_addr constant %struct.TYPE_8__ { ptr @.str, ptr @.str.1 }, align 8 @git_cred_userpass = dso_local local_unnamed_addr global i32 0, align 4 @g_options = dso_local global %struct.TYPE_9__ zeroinitializer, align 8 @g_repo = dso_local global ptr null, align 8 @BB_REPO_URL_WITH_PASS = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"./foo\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @test_online_clone__bitbucket_uses_creds_in_url() local_unnamed_addr #0 { %1 = alloca %struct.TYPE_8__, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(16) @__const.test_online_clone__bitbucket_uses_creds_in_url.user_pass, i64 16, i1 false) %2 = load i32, ptr @git_cred_userpass, align 4, !tbaa !5 store i32 %2, ptr getelementptr inbounds (%struct.TYPE_9__, ptr @g_options, i64 0, i32 0, i32 0, i32 1), align 8, !tbaa !9 store ptr %1, ptr @g_options, align 8, !tbaa !14 %3 = load i32, ptr @BB_REPO_URL_WITH_PASS, align 4, !tbaa !5 %4 = call i32 @git_clone(ptr noundef nonnull @g_repo, i32 noundef %3, ptr noundef nonnull @.str.2, ptr noundef nonnull @g_options) #4 %5 = call i32 @cl_git_pass(i32 noundef %4) #4 %6 = load ptr, ptr @g_repo, align 8, !tbaa !15 %7 = call i32 @git_repository_free(ptr noundef %6) #4 store ptr null, ptr @g_repo, align 8, !tbaa !15 %8 = call i32 @cl_fixture_cleanup(ptr noundef nonnull @.str.2) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #3 declare i32 @git_clone(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @git_repository_free(ptr noundef) local_unnamed_addr #3 declare i32 @cl_fixture_cleanup(ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"TYPE_9__", !11, i64 0} !11 = !{!"TYPE_7__", !12, i64 0} !12 = !{!"TYPE_6__", !13, i64 0, !6, i64 8} !13 = !{!"any pointer", !7, i64 0} !14 = !{!10, !13, i64 0} !15 = !{!13, !13, i64 0}
; ModuleID = 'AnghaBench/libgit2/tests/online/extr_clone.c_test_online_clone__bitbucket_uses_creds_in_url.c' source_filename = "AnghaBench/libgit2/tests/online/extr_clone.c_test_online_clone__bitbucket_uses_creds_in_url.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_8__ = type { ptr, ptr } %struct.TYPE_9__ = type { %struct.TYPE_7__ } %struct.TYPE_7__ = type { %struct.TYPE_6__ } %struct.TYPE_6__ = type { ptr, i32 } @.str = private unnamed_addr constant [8 x i8] c"libgit2\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"wrong\00", align 1 @__const.test_online_clone__bitbucket_uses_creds_in_url.user_pass = private unnamed_addr constant %struct.TYPE_8__ { ptr @.str, ptr @.str.1 }, align 8 @git_cred_userpass = common local_unnamed_addr global i32 0, align 4 @g_options = common global %struct.TYPE_9__ zeroinitializer, align 8 @g_repo = common global ptr null, align 8 @BB_REPO_URL_WITH_PASS = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"./foo\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @test_online_clone__bitbucket_uses_creds_in_url() local_unnamed_addr #0 { %1 = alloca %struct.TYPE_8__, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(16) @__const.test_online_clone__bitbucket_uses_creds_in_url.user_pass, i64 16, i1 false) %2 = load i32, ptr @git_cred_userpass, align 4, !tbaa !6 store i32 %2, ptr getelementptr inbounds (i8, ptr @g_options, i64 8), align 8, !tbaa !10 store ptr %1, ptr @g_options, align 8, !tbaa !15 %3 = load i32, ptr @BB_REPO_URL_WITH_PASS, align 4, !tbaa !6 %4 = call i32 @git_clone(ptr noundef nonnull @g_repo, i32 noundef %3, ptr noundef nonnull @.str.2, ptr noundef nonnull @g_options) #4 %5 = call i32 @cl_git_pass(i32 noundef %4) #4 %6 = load ptr, ptr @g_repo, align 8, !tbaa !16 %7 = call i32 @git_repository_free(ptr noundef %6) #4 store ptr null, ptr @g_repo, align 8, !tbaa !16 %8 = call i32 @cl_fixture_cleanup(ptr noundef nonnull @.str.2) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #3 declare i32 @git_clone(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @git_repository_free(ptr noundef) local_unnamed_addr #3 declare i32 @cl_fixture_cleanup(ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"TYPE_9__", !12, i64 0} !12 = !{!"TYPE_7__", !13, i64 0} !13 = !{!"TYPE_6__", !14, i64 0, !7, i64 8} !14 = !{!"any pointer", !8, i64 0} !15 = !{!11, !14, i64 0} !16 = !{!14, !14, i64 0}
libgit2_tests_online_extr_clone.c_test_online_clone__bitbucket_uses_creds_in_url
; ModuleID = 'AnghaBench/xLua/WebGLPlugins/extr_lparser.c_searchupvalue.c' source_filename = "AnghaBench/xLua/WebGLPlugins/extr_lparser.c_searchupvalue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { i32, ptr } %struct.TYPE_6__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @searchupvalue], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @searchupvalue(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = load i32, ptr %0, align 8, !tbaa !13 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %21 8: ; preds = %2, %14 %9 = phi i64 [ %15, %14 ], [ 0, %2 ] %10 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 %9 %11 = load i32, ptr %10, align 4, !tbaa !14 %12 = tail call i64 @eqstr(i32 noundef %11, ptr noundef %1) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %19 14: ; preds = %8 %15 = add nuw nsw i64 %9, 1 %16 = load i32, ptr %0, align 8, !tbaa !13 %17 = sext i32 %16 to i64 %18 = icmp slt i64 %15, %17 br i1 %18, label %8, label %21, !llvm.loop !16 19: ; preds = %8 %20 = trunc i64 %9 to i32 br label %21 21: ; preds = %14, %19, %2 %22 = phi i32 [ -1, %2 ], [ %20, %19 ], [ -1, %14 ] ret i32 %22 } declare i64 @eqstr(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"TYPE_7__", !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_5__", !10, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_6__", !7, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/xLua/WebGLPlugins/extr_lparser.c_searchupvalue.c' source_filename = "AnghaBench/xLua/WebGLPlugins/extr_lparser.c_searchupvalue.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_6__ = type { i32 } @llvm.used = appending global [1 x ptr] [ptr @searchupvalue], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @searchupvalue(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = load i32, ptr %0, align 8, !tbaa !14 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %21 8: ; preds = %2, %14 %9 = phi i64 [ %15, %14 ], [ 0, %2 ] %10 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 %9 %11 = load i32, ptr %10, align 4, !tbaa !15 %12 = tail call i64 @eqstr(i32 noundef %11, ptr noundef %1) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %19 14: ; preds = %8 %15 = add nuw nsw i64 %9, 1 %16 = load i32, ptr %0, align 8, !tbaa !14 %17 = sext i32 %16 to i64 %18 = icmp slt i64 %15, %17 br i1 %18, label %8, label %21, !llvm.loop !17 19: ; preds = %8 %20 = trunc nuw nsw i64 %9 to i32 br label %21 21: ; preds = %14, %19, %2 %22 = phi i32 [ -1, %2 ], [ %20, %19 ], [ -1, %14 ] ret i32 %22 } declare i64 @eqstr(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"TYPE_7__", !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_5__", !11, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_6__", !8, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
xLua_WebGLPlugins_extr_lparser.c_searchupvalue
; ModuleID = 'AnghaBench/vlc/modules/codec/avcodec/extr_va_surface.c_va_pool_AddRef.c' source_filename = "AnghaBench/vlc/modules/codec/avcodec/extr_va_surface.c_va_pool_AddRef.c" target datalayout = "e-m:e-p270:32:32-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 @va_pool_AddRef], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @va_pool_AddRef(ptr noundef %0) #0 { %2 = tail call i32 @atomic_fetch_add(ptr noundef %0, i32 noundef 1) #2 ret void } declare i32 @atomic_fetch_add(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/vlc/modules/codec/avcodec/extr_va_surface.c_va_pool_AddRef.c' source_filename = "AnghaBench/vlc/modules/codec/avcodec/extr_va_surface.c_va_pool_AddRef.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 @va_pool_AddRef], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @va_pool_AddRef(ptr noundef %0) #0 { %2 = tail call i32 @atomic_fetch_add(ptr noundef %0, i32 noundef 1) #2 ret void } declare i32 @atomic_fetch_add(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)"}
vlc_modules_codec_avcodec_extr_va_surface.c_va_pool_AddRef
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/qla4xxx/extr_ql4_83xx.c_qla4_83xx_queue_mbox_cmd.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/qla4xxx/extr_ql4_83xx.c_qla4_83xx_queue_mbox_cmd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, ptr } @HINT_MBX_INT_PENDING = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @qla4_83xx_queue_mbox_cmd(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp sgt i32 %2, 1 br i1 %4, label %5, label %18 5: ; preds = %3 %6 = zext nneg i32 %2 to i64 br label %7 7: ; preds = %5, %7 %8 = phi i64 [ 1, %5 ], [ %16, %7 ] %9 = getelementptr inbounds i32, ptr %1, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !5 %11 = load ptr, ptr %0, align 8, !tbaa !9 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 0, i32 1 %13 = load ptr, ptr %12, align 8, !tbaa !12 %14 = getelementptr inbounds i32, ptr %13, i64 %8 %15 = tail call i32 @writel(i32 noundef %10, ptr noundef nonnull %14) #2 %16 = add nuw nsw i64 %8, 1 %17 = icmp eq i64 %16, %6 br i1 %17, label %18, label %7, !llvm.loop !14 18: ; preds = %7, %3 %19 = load i32, ptr %1, align 4, !tbaa !5 %20 = load ptr, ptr %0, align 8, !tbaa !9 %21 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 0, i32 1 %22 = load ptr, ptr %21, align 8, !tbaa !12 %23 = tail call i32 @writel(i32 noundef %19, ptr noundef %22) #2 %24 = load i32, ptr @HINT_MBX_INT_PENDING, align 4, !tbaa !5 %25 = load ptr, ptr %0, align 8, !tbaa !9 %26 = tail call i32 @writel(i32 noundef %24, ptr noundef %25) #2 ret void } declare i32 @writel(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"scsi_qla_host", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"TYPE_2__", !6, i64 0, !11, i64 8} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/qla4xxx/extr_ql4_83xx.c_qla4_83xx_queue_mbox_cmd.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/qla4xxx/extr_ql4_83xx.c_qla4_83xx_queue_mbox_cmd.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HINT_MBX_INT_PENDING = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @qla4_83xx_queue_mbox_cmd(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp sgt i32 %2, 1 br i1 %4, label %5, label %18 5: ; preds = %3 %6 = zext nneg i32 %2 to i64 br label %7 7: ; preds = %5, %7 %8 = phi i64 [ 1, %5 ], [ %16, %7 ] %9 = getelementptr inbounds i32, ptr %1, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !6 %11 = load ptr, ptr %0, align 8, !tbaa !10 %12 = getelementptr inbounds i8, ptr %11, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !13 %14 = getelementptr inbounds i32, ptr %13, i64 %8 %15 = tail call i32 @writel(i32 noundef %10, ptr noundef nonnull %14) #2 %16 = add nuw nsw i64 %8, 1 %17 = icmp eq i64 %16, %6 br i1 %17, label %18, label %7, !llvm.loop !15 18: ; preds = %7, %3 %19 = load i32, ptr %1, align 4, !tbaa !6 %20 = load ptr, ptr %0, align 8, !tbaa !10 %21 = getelementptr inbounds i8, ptr %20, i64 8 %22 = load ptr, ptr %21, align 8, !tbaa !13 %23 = tail call i32 @writel(i32 noundef %19, ptr noundef %22) #2 %24 = load i32, ptr @HINT_MBX_INT_PENDING, align 4, !tbaa !6 %25 = load ptr, ptr %0, align 8, !tbaa !10 %26 = tail call i32 @writel(i32 noundef %24, ptr noundef %25) #2 ret void } declare i32 @writel(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"scsi_qla_host", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 8} !14 = !{!"TYPE_2__", !7, i64 0, !12, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_scsi_qla4xxx_extr_ql4_83xx.c_qla4_83xx_queue_mbox_cmd
; ModuleID = 'AnghaBench/esp-idf/examples/bluetooth/bluedroid/hci/controller_vhci_ble_adv/main/extr_app_bt.c_make_cmd_ble_set_adv_param.c' source_filename = "AnghaBench/esp-idf/examples/bluetooth/bluedroid/hci/controller_vhci_ble_adv/main/extr_app_bt.c_make_cmd_ble_set_adv_param.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @H4_TYPE_COMMAND = dso_local local_unnamed_addr global i64 0, align 8 @HCI_BLE_WRITE_ADV_PARAMS = dso_local local_unnamed_addr global i64 0, align 8 @HCIC_PARAM_SIZE_BLE_WRITE_ADV_PARAMS = dso_local local_unnamed_addr global i64 0, align 8 @HCI_H4_CMD_PREAMBLE_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @make_cmd_ble_set_adv_param], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @make_cmd_ble_set_adv_param(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i32 noundef %6, i64 noundef %7, i64 noundef %8) #0 { %10 = load i64, ptr @H4_TYPE_COMMAND, align 8, !tbaa !5 %11 = tail call i32 @UINT8_TO_STREAM(ptr noundef %0, i64 noundef %10) #2 %12 = load i64, ptr @HCI_BLE_WRITE_ADV_PARAMS, align 8, !tbaa !5 %13 = tail call i32 @UINT16_TO_STREAM(ptr noundef %0, i64 noundef %12) #2 %14 = load i64, ptr @HCIC_PARAM_SIZE_BLE_WRITE_ADV_PARAMS, align 8, !tbaa !5 %15 = tail call i32 @UINT8_TO_STREAM(ptr noundef %0, i64 noundef %14) #2 %16 = tail call i32 @UINT16_TO_STREAM(ptr noundef %0, i64 noundef %1) #2 %17 = tail call i32 @UINT16_TO_STREAM(ptr noundef %0, i64 noundef %2) #2 %18 = tail call i32 @UINT8_TO_STREAM(ptr noundef %0, i64 noundef %3) #2 %19 = tail call i32 @UINT8_TO_STREAM(ptr noundef %0, i64 noundef %4) #2 %20 = tail call i32 @UINT8_TO_STREAM(ptr noundef %0, i64 noundef %5) #2 %21 = tail call i32 @BDADDR_TO_STREAM(ptr noundef %0, i32 noundef %6) #2 %22 = tail call i32 @UINT8_TO_STREAM(ptr noundef %0, i64 noundef %7) #2 %23 = tail call i32 @UINT8_TO_STREAM(ptr noundef %0, i64 noundef %8) #2 %24 = load i64, ptr @HCI_H4_CMD_PREAMBLE_SIZE, align 8, !tbaa !5 %25 = load i64, ptr @HCIC_PARAM_SIZE_BLE_WRITE_ADV_PARAMS, align 8, !tbaa !5 %26 = add nsw i64 %25, %24 ret i64 %26 } declare i32 @UINT8_TO_STREAM(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @UINT16_TO_STREAM(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @BDADDR_TO_STREAM(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/esp-idf/examples/bluetooth/bluedroid/hci/controller_vhci_ble_adv/main/extr_app_bt.c_make_cmd_ble_set_adv_param.c' source_filename = "AnghaBench/esp-idf/examples/bluetooth/bluedroid/hci/controller_vhci_ble_adv/main/extr_app_bt.c_make_cmd_ble_set_adv_param.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @H4_TYPE_COMMAND = common local_unnamed_addr global i64 0, align 8 @HCI_BLE_WRITE_ADV_PARAMS = common local_unnamed_addr global i64 0, align 8 @HCIC_PARAM_SIZE_BLE_WRITE_ADV_PARAMS = common local_unnamed_addr global i64 0, align 8 @HCI_H4_CMD_PREAMBLE_SIZE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @make_cmd_ble_set_adv_param], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @make_cmd_ble_set_adv_param(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i32 noundef %6, i64 noundef %7, i64 noundef %8) #0 { %10 = load i64, ptr @H4_TYPE_COMMAND, align 8, !tbaa !6 %11 = tail call i32 @UINT8_TO_STREAM(ptr noundef %0, i64 noundef %10) #2 %12 = load i64, ptr @HCI_BLE_WRITE_ADV_PARAMS, align 8, !tbaa !6 %13 = tail call i32 @UINT16_TO_STREAM(ptr noundef %0, i64 noundef %12) #2 %14 = load i64, ptr @HCIC_PARAM_SIZE_BLE_WRITE_ADV_PARAMS, align 8, !tbaa !6 %15 = tail call i32 @UINT8_TO_STREAM(ptr noundef %0, i64 noundef %14) #2 %16 = tail call i32 @UINT16_TO_STREAM(ptr noundef %0, i64 noundef %1) #2 %17 = tail call i32 @UINT16_TO_STREAM(ptr noundef %0, i64 noundef %2) #2 %18 = tail call i32 @UINT8_TO_STREAM(ptr noundef %0, i64 noundef %3) #2 %19 = tail call i32 @UINT8_TO_STREAM(ptr noundef %0, i64 noundef %4) #2 %20 = tail call i32 @UINT8_TO_STREAM(ptr noundef %0, i64 noundef %5) #2 %21 = tail call i32 @BDADDR_TO_STREAM(ptr noundef %0, i32 noundef %6) #2 %22 = tail call i32 @UINT8_TO_STREAM(ptr noundef %0, i64 noundef %7) #2 %23 = tail call i32 @UINT8_TO_STREAM(ptr noundef %0, i64 noundef %8) #2 %24 = load i64, ptr @HCI_H4_CMD_PREAMBLE_SIZE, align 8, !tbaa !6 %25 = load i64, ptr @HCIC_PARAM_SIZE_BLE_WRITE_ADV_PARAMS, align 8, !tbaa !6 %26 = add nsw i64 %25, %24 ret i64 %26 } declare i32 @UINT8_TO_STREAM(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @UINT16_TO_STREAM(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @BDADDR_TO_STREAM(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
esp-idf_examples_bluetooth_bluedroid_hci_controller_vhci_ble_adv_main_extr_app_bt.c_make_cmd_ble_set_adv_param
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_indeo5.c_decode_band_hdr.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_indeo5.c_decode_band_hdr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i32, i32 } %struct.TYPE_5__ = type { i32, i32, i32, i32, i32, ptr, i32, i32, i32, i64, i32, i32 } @AV_LOG_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"Too many corrections: %d\0A\00", align 1 @AVERROR_INVALIDDATA = dso_local local_unnamed_addr global i32 0, align 4 @IVI_BLK_HUFF = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @decode_band_hdr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @decode_band_hdr(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %5 = tail call i32 @get_bits(ptr noundef nonnull %4, i32 noundef 8) #2 %6 = and i32 %5, 1 %7 = icmp eq i32 %6, 0 br i1 %7, label %9, label %8 8: ; preds = %3 store i32 1, ptr %1, align 8, !tbaa !5 br label %81 9: ; preds = %3 %10 = load i32, ptr %0, align 4, !tbaa !12 %11 = and i32 %10, 128 %12 = icmp eq i32 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %9 %14 = tail call i32 @get_bits_long(ptr noundef nonnull %4, i32 noundef 24) #2 br label %15 15: ; preds = %9, %13 %16 = phi i32 [ %14, %13 ], [ 0, %9 ] %17 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 11 store i32 %16, ptr %17, align 4, !tbaa !14 %18 = and i32 %5, 2 %19 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 1 store i32 %18, ptr %19, align 4, !tbaa !15 %20 = and i32 %5, 8 %21 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 2 store i32 %20, ptr %21, align 8, !tbaa !16 %22 = and i32 %5, 4 %23 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 3 store i32 %22, ptr %23, align 4, !tbaa !17 %24 = icmp eq i32 %22, 0 br i1 %24, label %25, label %26 25: ; preds = %15 store i32 1, ptr %21, align 8, !tbaa !16 br label %26 26: ; preds = %25, %15 %27 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 4 store i32 0, ptr %27, align 8, !tbaa !18 %28 = and i32 %5, 16 %29 = icmp eq i32 %28, 0 br i1 %29, label %51, label %30 30: ; preds = %26 %31 = tail call i32 @get_bits(ptr noundef nonnull %4, i32 noundef 8) #2 store i32 %31, ptr %27, align 8, !tbaa !18 %32 = icmp sgt i32 %31, 61 br i1 %32, label %37, label %33 33: ; preds = %30 %34 = icmp sgt i32 %31, 0 br i1 %34, label %35, label %51 35: ; preds = %33 %36 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 5 br label %41 37: ; preds = %30 %38 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !19 %39 = tail call i32 @av_log(ptr noundef %2, i32 noundef %38, ptr noundef nonnull @.str, i32 noundef %31) #2 %40 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !19 br label %81 41: ; preds = %35, %41 %42 = phi i64 [ 0, %35 ], [ %46, %41 ] %43 = tail call i32 @get_bits(ptr noundef nonnull %4, i32 noundef 8) #2 %44 = load ptr, ptr %36, align 8, !tbaa !20 %45 = getelementptr inbounds i32, ptr %44, i64 %42 store i32 %43, ptr %45, align 4, !tbaa !19 %46 = add nuw nsw i64 %42, 1 %47 = load i32, ptr %27, align 8, !tbaa !18 %48 = shl nsw i32 %47, 1 %49 = sext i32 %48 to i64 %50 = icmp slt i64 %46, %49 br i1 %50, label %41, label %51, !llvm.loop !21 51: ; preds = %41, %33, %26 %52 = and i32 %5, 64 %53 = icmp eq i32 %52, 0 br i1 %53, label %56, label %54 54: ; preds = %51 %55 = tail call i32 @get_bits(ptr noundef nonnull %4, i32 noundef 3) #2 br label %56 56: ; preds = %51, %54 %57 = phi i32 [ %55, %54 ], [ 8, %51 ] %58 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 6 store i32 %57, ptr %58, align 8, !tbaa !23 %59 = and i32 %5, 128 %60 = load i32, ptr @IVI_BLK_HUFF, align 4, !tbaa !19 %61 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 10 %62 = tail call i32 @ff_ivi_dec_huff_desc(ptr noundef nonnull %4, i32 noundef %59, i32 noundef %60, ptr noundef nonnull %61, ptr noundef %2) #2 %63 = icmp slt i32 %62, 0 br i1 %63, label %81, label %64 64: ; preds = %56 %65 = tail call i64 @get_bits1(ptr noundef nonnull %4) #2 %66 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 9 store i64 %65, ptr %66, align 8, !tbaa !24 %67 = icmp eq i64 %65, 0 br i1 %67, label %71, label %68 68: ; preds = %64 %69 = tail call i32 @get_bits(ptr noundef nonnull %4, i32 noundef 16) #2 %70 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 7 store i32 %69, ptr %70, align 4, !tbaa !25 br label %71 71: ; preds = %68, %64 %72 = tail call i32 @get_bits(ptr noundef nonnull %4, i32 noundef 5) #2 %73 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 8 store i32 %72, ptr %73, align 8, !tbaa !26 %74 = and i32 %5, 32 %75 = icmp eq i32 %74, 0 br i1 %75, label %79, label %76 76: ; preds = %71 %77 = tail call i32 @align_get_bits(ptr noundef nonnull %4) #2 %78 = tail call i32 @skip_hdr_extension(ptr noundef nonnull %4) #2 br label %79 79: ; preds = %76, %71 %80 = tail call i32 @align_get_bits(ptr noundef nonnull %4) #2 br label %81 81: ; preds = %56, %79, %37, %8 %82 = phi i32 [ 0, %8 ], [ %40, %37 ], [ 0, %79 ], [ %62, %56 ] ret i32 %82 } declare i32 @get_bits(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_bits_long(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ff_ivi_dec_huff_desc(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @get_bits1(ptr noundef) local_unnamed_addr #1 declare i32 @align_get_bits(ptr noundef) local_unnamed_addr #1 declare i32 @skip_hdr_extension(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_5__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !11, i64 48, !7, i64 56, !7, i64 60} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_6__", !7, i64 0, !7, i64 4} !14 = !{!6, !7, i64 60} !15 = !{!6, !7, i64 4} !16 = !{!6, !7, i64 8} !17 = !{!6, !7, i64 12} !18 = !{!6, !7, i64 16} !19 = !{!7, !7, i64 0} !20 = !{!6, !10, i64 24} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!6, !7, i64 32} !24 = !{!6, !11, i64 48} !25 = !{!6, !7, i64 36} !26 = !{!6, !7, i64 40}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_indeo5.c_decode_band_hdr.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_indeo5.c_decode_band_hdr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AV_LOG_ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"Too many corrections: %d\0A\00", align 1 @AVERROR_INVALIDDATA = common local_unnamed_addr global i32 0, align 4 @IVI_BLK_HUFF = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @decode_band_hdr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @decode_band_hdr(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = tail call i32 @get_bits(ptr noundef nonnull %4, i32 noundef 8) #2 %6 = and i32 %5, 1 %7 = icmp eq i32 %6, 0 br i1 %7, label %9, label %8 8: ; preds = %3 store i32 1, ptr %1, align 8, !tbaa !6 br label %82 9: ; preds = %3 %10 = load i32, ptr %0, align 4, !tbaa !13 %11 = and i32 %10, 128 %12 = icmp eq i32 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %9 %14 = tail call i32 @get_bits_long(ptr noundef nonnull %4, i32 noundef 24) #2 br label %15 15: ; preds = %9, %13 %16 = phi i32 [ %14, %13 ], [ 0, %9 ] %17 = getelementptr inbounds i8, ptr %1, i64 60 store i32 %16, ptr %17, align 4, !tbaa !15 %18 = insertelement <2 x i32> poison, i32 %5, i64 0 %19 = shufflevector <2 x i32> %18, <2 x i32> poison, <2 x i32> zeroinitializer %20 = and <2 x i32> %19, <i32 2, i32 8> %21 = getelementptr inbounds i8, ptr %1, i64 4 store <2 x i32> %20, ptr %21, align 4, !tbaa !16 %22 = and i32 %5, 4 %23 = getelementptr inbounds i8, ptr %1, i64 12 store i32 %22, ptr %23, align 4, !tbaa !17 %24 = icmp eq i32 %22, 0 br i1 %24, label %25, label %27 25: ; preds = %15 %26 = getelementptr inbounds i8, ptr %1, i64 8 store i32 1, ptr %26, align 8, !tbaa !18 br label %27 27: ; preds = %25, %15 %28 = getelementptr inbounds i8, ptr %1, i64 16 store i32 0, ptr %28, align 8, !tbaa !19 %29 = and i32 %5, 16 %30 = icmp eq i32 %29, 0 br i1 %30, label %52, label %31 31: ; preds = %27 %32 = tail call i32 @get_bits(ptr noundef nonnull %4, i32 noundef 8) #2 store i32 %32, ptr %28, align 8, !tbaa !19 %33 = icmp sgt i32 %32, 61 br i1 %33, label %38, label %34 34: ; preds = %31 %35 = icmp sgt i32 %32, 0 br i1 %35, label %36, label %52 36: ; preds = %34 %37 = getelementptr inbounds i8, ptr %1, i64 24 br label %42 38: ; preds = %31 %39 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !16 %40 = tail call i32 @av_log(ptr noundef %2, i32 noundef %39, ptr noundef nonnull @.str, i32 noundef %32) #2 %41 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !16 br label %82 42: ; preds = %36, %42 %43 = phi i64 [ 0, %36 ], [ %47, %42 ] %44 = tail call i32 @get_bits(ptr noundef nonnull %4, i32 noundef 8) #2 %45 = load ptr, ptr %37, align 8, !tbaa !20 %46 = getelementptr inbounds i32, ptr %45, i64 %43 store i32 %44, ptr %46, align 4, !tbaa !16 %47 = add nuw nsw i64 %43, 1 %48 = load i32, ptr %28, align 8, !tbaa !19 %49 = shl nsw i32 %48, 1 %50 = sext i32 %49 to i64 %51 = icmp slt i64 %47, %50 br i1 %51, label %42, label %52, !llvm.loop !21 52: ; preds = %42, %34, %27 %53 = and i32 %5, 64 %54 = icmp eq i32 %53, 0 br i1 %54, label %57, label %55 55: ; preds = %52 %56 = tail call i32 @get_bits(ptr noundef nonnull %4, i32 noundef 3) #2 br label %57 57: ; preds = %52, %55 %58 = phi i32 [ %56, %55 ], [ 8, %52 ] %59 = getelementptr inbounds i8, ptr %1, i64 32 store i32 %58, ptr %59, align 8, !tbaa !23 %60 = and i32 %5, 128 %61 = load i32, ptr @IVI_BLK_HUFF, align 4, !tbaa !16 %62 = getelementptr inbounds i8, ptr %1, i64 56 %63 = tail call i32 @ff_ivi_dec_huff_desc(ptr noundef nonnull %4, i32 noundef %60, i32 noundef %61, ptr noundef nonnull %62, ptr noundef %2) #2 %64 = icmp slt i32 %63, 0 br i1 %64, label %82, label %65 65: ; preds = %57 %66 = tail call i64 @get_bits1(ptr noundef nonnull %4) #2 %67 = getelementptr inbounds i8, ptr %1, i64 48 store i64 %66, ptr %67, align 8, !tbaa !24 %68 = icmp eq i64 %66, 0 br i1 %68, label %72, label %69 69: ; preds = %65 %70 = tail call i32 @get_bits(ptr noundef nonnull %4, i32 noundef 16) #2 %71 = getelementptr inbounds i8, ptr %1, i64 36 store i32 %70, ptr %71, align 4, !tbaa !25 br label %72 72: ; preds = %69, %65 %73 = tail call i32 @get_bits(ptr noundef nonnull %4, i32 noundef 5) #2 %74 = getelementptr inbounds i8, ptr %1, i64 40 store i32 %73, ptr %74, align 8, !tbaa !26 %75 = and i32 %5, 32 %76 = icmp eq i32 %75, 0 br i1 %76, label %80, label %77 77: ; preds = %72 %78 = tail call i32 @align_get_bits(ptr noundef nonnull %4) #2 %79 = tail call i32 @skip_hdr_extension(ptr noundef nonnull %4) #2 br label %80 80: ; preds = %77, %72 %81 = tail call i32 @align_get_bits(ptr noundef nonnull %4) #2 br label %82 82: ; preds = %57, %80, %38, %8 %83 = phi i32 [ 0, %8 ], [ %41, %38 ], [ 0, %80 ], [ %63, %57 ] ret i32 %83 } declare i32 @get_bits(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_bits_long(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ff_ivi_dec_huff_desc(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @get_bits1(ptr noundef) local_unnamed_addr #1 declare i32 @align_get_bits(ptr noundef) local_unnamed_addr #1 declare i32 @skip_hdr_extension(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_5__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !11, i64 24, !8, i64 32, !8, i64 36, !8, i64 40, !12, i64 48, !8, i64 56, !8, i64 60} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_6__", !8, i64 0, !8, i64 4} !15 = !{!7, !8, i64 60} !16 = !{!8, !8, i64 0} !17 = !{!7, !8, i64 12} !18 = !{!7, !8, i64 8} !19 = !{!7, !8, i64 16} !20 = !{!7, !11, i64 24} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!7, !8, i64 32} !24 = !{!7, !12, i64 48} !25 = !{!7, !8, i64 36} !26 = !{!7, !8, i64 40}
FFmpeg_libavcodec_extr_indeo5.c_decode_band_hdr
; ModuleID = 'AnghaBench/freebsd/sys/netinet/libalias/extr_alias_proxy.c_ProxyModify.c' source_filename = "AnghaBench/freebsd/sys/netinet/libalias/extr_alias_proxy.c_ProxyModify.c" target datalayout = "e-m:e-p270:32:32-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 @ProxyModify(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = tail call i32 @LIBALIAS_LOCK_ASSERT(ptr noundef %0) #2 switch i32 %4, label %11 [ i32 129, label %7 i32 128, label %9 ] 7: ; preds = %5 %8 = tail call i32 @ProxyEncodeIpHeader(ptr noundef %2, i32 noundef %3) #2 br label %11 9: ; preds = %5 %10 = tail call i32 @ProxyEncodeTcpStream(ptr noundef %1, ptr noundef %2, i32 noundef %3) #2 br label %11 11: ; preds = %5, %9, %7 ret void } declare i32 @LIBALIAS_LOCK_ASSERT(ptr noundef) local_unnamed_addr #1 declare i32 @ProxyEncodeIpHeader(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ProxyEncodeTcpStream(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/netinet/libalias/extr_alias_proxy.c_ProxyModify.c' source_filename = "AnghaBench/freebsd/sys/netinet/libalias/extr_alias_proxy.c_ProxyModify.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 @ProxyModify(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = tail call i32 @LIBALIAS_LOCK_ASSERT(ptr noundef %0) #2 switch i32 %4, label %11 [ i32 129, label %7 i32 128, label %9 ] 7: ; preds = %5 %8 = tail call i32 @ProxyEncodeIpHeader(ptr noundef %2, i32 noundef %3) #2 br label %11 9: ; preds = %5 %10 = tail call i32 @ProxyEncodeTcpStream(ptr noundef %1, ptr noundef %2, i32 noundef %3) #2 br label %11 11: ; preds = %5, %9, %7 ret void } declare i32 @LIBALIAS_LOCK_ASSERT(ptr noundef) local_unnamed_addr #1 declare i32 @ProxyEncodeIpHeader(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ProxyEncodeTcpStream(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_netinet_libalias_extr_alias_proxy.c_ProxyModify
; ModuleID = 'AnghaBench/linux/drivers/misc/mei/extr_hbm.c_mei_hbm_start_req.c' source_filename = "AnghaBench/linux/drivers/misc/mei/extr_hbm.c_mei_hbm_start_req.c" target datalayout = "e-m:e-p270:32:32-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.mei_msg_hdr = type { i32 } %struct.hbm_host_version_request = type { %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32, i32 } %struct.mei_device = type { i32, i32, i32 } @HOST_START_REQ_CMD = dso_local local_unnamed_addr global i32 0, align 4 @HBM_MAJOR_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @HBM_MINOR_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @MEI_HBM_IDLE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [40 x i8] c"version message write failed: ret = %d\0A\00", align 1 @MEI_HBM_STARTING = dso_local local_unnamed_addr global i32 0, align 4 @MEI_CLIENTS_INIT_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @mei_hbm_start_req(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.mei_msg_hdr, align 4 %3 = alloca %struct.hbm_host_version_request, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #3 %4 = tail call i32 @mei_hbm_reset(ptr noundef %0) #3 %5 = call i32 @mei_hbm_hdr(ptr noundef nonnull %2, i64 noundef 12) #3 %6 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i64 noundef 12) #3 %7 = load i32, ptr @HOST_START_REQ_CMD, align 4, !tbaa !5 %8 = getelementptr inbounds %struct.hbm_host_version_request, ptr %3, i64 0, i32 1 store i32 %7, ptr %8, align 4, !tbaa !9 %9 = load i32, ptr @HBM_MAJOR_VERSION, align 4, !tbaa !5 %10 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 1 store i32 %9, ptr %10, align 4, !tbaa !12 %11 = load i32, ptr @HBM_MINOR_VERSION, align 4, !tbaa !5 store i32 %11, ptr %3, align 4, !tbaa !13 %12 = load i32, ptr @MEI_HBM_IDLE, align 4, !tbaa !5 %13 = getelementptr inbounds %struct.mei_device, ptr %0, i64 0, i32 1 store i32 %12, ptr %13, align 4, !tbaa !14 %14 = call i32 @mei_hbm_write_message(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3) #3 %15 = icmp eq i32 %14, 0 br i1 %15, label %20, label %16 16: ; preds = %1 %17 = getelementptr inbounds %struct.mei_device, ptr %0, i64 0, i32 2 %18 = load i32, ptr %17, align 4, !tbaa !16 %19 = call i32 @dev_err(i32 noundef %18, ptr noundef nonnull @.str, i32 noundef %14) #3 br label %24 20: ; preds = %1 %21 = load i32, ptr @MEI_HBM_STARTING, align 4, !tbaa !5 store i32 %21, ptr %13, align 4, !tbaa !14 %22 = load i32, ptr @MEI_CLIENTS_INIT_TIMEOUT, align 4, !tbaa !5 store i32 %22, ptr %0, align 4, !tbaa !17 %23 = call i32 @mei_schedule_stall_timer(ptr noundef nonnull %0) #3 br label %24 24: ; preds = %20, %16 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #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 @mei_hbm_reset(ptr noundef) local_unnamed_addr #2 declare i32 @mei_hbm_hdr(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @mei_hbm_write_message(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mei_schedule_stall_timer(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 8} !10 = !{!"hbm_host_version_request", !11, i64 0, !6, i64 8} !11 = !{!"TYPE_2__", !6, i64 0, !6, i64 4} !12 = !{!10, !6, i64 4} !13 = !{!10, !6, i64 0} !14 = !{!15, !6, i64 4} !15 = !{!"mei_device", !6, i64 0, !6, i64 4, !6, i64 8} !16 = !{!15, !6, i64 8} !17 = !{!15, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/misc/mei/extr_hbm.c_mei_hbm_start_req.c' source_filename = "AnghaBench/linux/drivers/misc/mei/extr_hbm.c_mei_hbm_start_req.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.mei_msg_hdr = type { i32 } %struct.hbm_host_version_request = type { %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32, i32 } @HOST_START_REQ_CMD = common local_unnamed_addr global i32 0, align 4 @HBM_MAJOR_VERSION = common local_unnamed_addr global i32 0, align 4 @HBM_MINOR_VERSION = common local_unnamed_addr global i32 0, align 4 @MEI_HBM_IDLE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [40 x i8] c"version message write failed: ret = %d\0A\00", align 1 @MEI_HBM_STARTING = common local_unnamed_addr global i32 0, align 4 @MEI_CLIENTS_INIT_TIMEOUT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @mei_hbm_start_req(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.mei_msg_hdr, align 4 %3 = alloca %struct.hbm_host_version_request, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #3 %4 = tail call i32 @mei_hbm_reset(ptr noundef %0) #3 %5 = call i32 @mei_hbm_hdr(ptr noundef nonnull %2, i64 noundef 12) #3 %6 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i64 noundef 12) #3 %7 = load i32, ptr @HOST_START_REQ_CMD, align 4, !tbaa !6 %8 = getelementptr inbounds i8, ptr %3, i64 8 store i32 %7, ptr %8, align 4, !tbaa !10 %9 = load i32, ptr @HBM_MAJOR_VERSION, align 4, !tbaa !6 %10 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %9, ptr %10, align 4, !tbaa !13 %11 = load i32, ptr @HBM_MINOR_VERSION, align 4, !tbaa !6 store i32 %11, ptr %3, align 4, !tbaa !14 %12 = load i32, ptr @MEI_HBM_IDLE, align 4, !tbaa !6 %13 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %12, ptr %13, align 4, !tbaa !15 %14 = call i32 @mei_hbm_write_message(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3) #3 %15 = icmp eq i32 %14, 0 br i1 %15, label %20, label %16 16: ; preds = %1 %17 = getelementptr inbounds i8, ptr %0, i64 8 %18 = load i32, ptr %17, align 4, !tbaa !17 %19 = call i32 @dev_err(i32 noundef %18, ptr noundef nonnull @.str, i32 noundef %14) #3 br label %24 20: ; preds = %1 %21 = load i32, ptr @MEI_HBM_STARTING, align 4, !tbaa !6 store i32 %21, ptr %13, align 4, !tbaa !15 %22 = load i32, ptr @MEI_CLIENTS_INIT_TIMEOUT, align 4, !tbaa !6 store i32 %22, ptr %0, align 4, !tbaa !18 %23 = call i32 @mei_schedule_stall_timer(ptr noundef nonnull %0) #3 br label %24 24: ; preds = %20, %16 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #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 @mei_hbm_reset(ptr noundef) local_unnamed_addr #2 declare i32 @mei_hbm_hdr(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @mei_hbm_write_message(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mei_schedule_stall_timer(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 8} !11 = !{!"hbm_host_version_request", !12, i64 0, !7, i64 8} !12 = !{!"TYPE_2__", !7, i64 0, !7, i64 4} !13 = !{!11, !7, i64 4} !14 = !{!11, !7, i64 0} !15 = !{!16, !7, i64 4} !16 = !{!"mei_device", !7, i64 0, !7, i64 4, !7, i64 8} !17 = !{!16, !7, i64 8} !18 = !{!16, !7, i64 0}
linux_drivers_misc_mei_extr_hbm.c_mei_hbm_start_req
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/rsxx/extr_dma.c_get_tracker_dma.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/block/rsxx/extr_dma.c_get_tracker_dma.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @get_tracker_dma], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal ptr @get_tracker_dma(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = sext i32 %1 to i64 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 %4 %6 = load ptr, ptr %5, align 8, !tbaa !10 ret ptr %6 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"dma_tracker_list", !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}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/rsxx/extr_dma.c_get_tracker_dma.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/block/rsxx/extr_dma.c_get_tracker_dma.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { ptr } @llvm.used = appending global [1 x ptr] [ptr @get_tracker_dma], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal ptr @get_tracker_dma(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = sext i32 %1 to i64 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 %4 %6 = load ptr, ptr %5, align 8, !tbaa !11 ret ptr %6 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"dma_tracker_list", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_2__", !8, i64 0}
fastsocket_kernel_drivers_block_rsxx_extr_dma.c_get_tracker_dma
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-tpo-td043mtea1.c_td043mtea1_unprepare.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-tpo-td043mtea1.c_td043mtea1_unprepare.c" target datalayout = "e-m:e-p270:32:32-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 @td043mtea1_unprepare], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @td043mtea1_unprepare(ptr noundef %0) #0 { %2 = tail call ptr @to_td043mtea1_device(ptr noundef %0) #2 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = tail call i32 @td043mtea1_power_off(ptr noundef nonnull %2) #2 br label %7 7: ; preds = %5, %1 ret i32 0 } declare ptr @to_td043mtea1_device(ptr noundef) local_unnamed_addr #1 declare i32 @td043mtea1_power_off(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 = !{!"td043mtea1_panel", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-tpo-td043mtea1.c_td043mtea1_unprepare.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-tpo-td043mtea1.c_td043mtea1_unprepare.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 @td043mtea1_unprepare], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @td043mtea1_unprepare(ptr noundef %0) #0 { %2 = tail call ptr @to_td043mtea1_device(ptr noundef %0) #2 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = tail call i32 @td043mtea1_power_off(ptr noundef nonnull %2) #2 br label %7 7: ; preds = %5, %1 ret i32 0 } declare ptr @to_td043mtea1_device(ptr noundef) local_unnamed_addr #1 declare i32 @td043mtea1_power_off(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 = !{!"td043mtea1_panel", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_panel_extr_panel-tpo-td043mtea1.c_td043mtea1_unprepare
; ModuleID = 'AnghaBench/openssl/ssl/statem/extr_extensions_clnt.c_tls_construct_ctos_cookie.c' source_filename = "AnghaBench/openssl/ssl/statem/extr_extensions_clnt.c_tls_construct_ctos_cookie.c" target datalayout = "e-m:e-p270:32:32-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, ptr } @EXT_RETURN_FAIL = dso_local local_unnamed_addr global i32 0, align 4 @EXT_RETURN_NOT_SENT = dso_local local_unnamed_addr global i32 0, align 4 @TLSEXT_TYPE_cookie = dso_local local_unnamed_addr global i32 0, align 4 @SSL_AD_INTERNAL_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @SSL_F_TLS_CONSTRUCT_CTOS_COOKIE = dso_local local_unnamed_addr global i32 0, align 4 @ERR_R_INTERNAL_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @EXT_RETURN_SENT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @tls_construct_ctos_cookie(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef readnone %3, i64 noundef %4) local_unnamed_addr #0 { %6 = load i32, ptr @EXT_RETURN_FAIL, align 4, !tbaa !5 %7 = load i64, ptr %0, align 8, !tbaa !9 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %5 %10 = load i32, ptr @EXT_RETURN_NOT_SENT, align 4, !tbaa !5 br label %39 11: ; preds = %5 %12 = load i32, ptr @TLSEXT_TYPE_cookie, align 4, !tbaa !5 %13 = tail call i32 @WPACKET_put_bytes_u16(ptr noundef %1, i32 noundef %12) #3 %14 = icmp eq i32 %13, 0 br i1 %14, label %27, label %15 15: ; preds = %11 %16 = tail call i32 @WPACKET_start_sub_packet_u16(ptr noundef %1) #3 %17 = icmp eq i32 %16, 0 br i1 %17, label %27, label %18 18: ; preds = %15 %19 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %20 = load ptr, ptr %19, align 8, !tbaa !14 %21 = load i64, ptr %0, align 8, !tbaa !9 %22 = tail call i32 @WPACKET_sub_memcpy_u16(ptr noundef %1, ptr noundef %20, i64 noundef %21) #3 %23 = icmp eq i32 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %18 %25 = tail call i32 @WPACKET_close(ptr noundef %1) #3 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %32 27: ; preds = %24, %18, %15, %11 %28 = load i32, ptr @SSL_AD_INTERNAL_ERROR, align 4, !tbaa !5 %29 = load i32, ptr @SSL_F_TLS_CONSTRUCT_CTOS_COOKIE, align 4, !tbaa !5 %30 = load i32, ptr @ERR_R_INTERNAL_ERROR, align 4, !tbaa !5 %31 = tail call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %28, i32 noundef %29, i32 noundef %30) #3 br label %34 32: ; preds = %24 %33 = load i32, ptr @EXT_RETURN_SENT, align 4, !tbaa !5 br label %34 34: ; preds = %32, %27 %35 = phi i32 [ %33, %32 ], [ %6, %27 ] %36 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %37 = load ptr, ptr %36, align 8, !tbaa !14 %38 = tail call i32 @OPENSSL_free(ptr noundef %37) #3 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false) br label %39 39: ; preds = %34, %9 %40 = phi i32 [ %10, %9 ], [ %35, %34 ] ret i32 %40 } declare i32 @WPACKET_put_bytes_u16(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WPACKET_start_sub_packet_u16(ptr noundef) local_unnamed_addr #1 declare i32 @WPACKET_sub_memcpy_u16(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @WPACKET_close(ptr noundef) local_unnamed_addr #1 declare i32 @SSLfatal(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @OPENSSL_free(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 0} !10 = !{!"TYPE_6__", !11, i64 0} !11 = !{!"TYPE_5__", !12, i64 0, !13, i64 8} !12 = !{!"long", !7, i64 0} !13 = !{!"any pointer", !7, i64 0} !14 = !{!10, !13, i64 8}
; ModuleID = 'AnghaBench/openssl/ssl/statem/extr_extensions_clnt.c_tls_construct_ctos_cookie.c' source_filename = "AnghaBench/openssl/ssl/statem/extr_extensions_clnt.c_tls_construct_ctos_cookie.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EXT_RETURN_FAIL = common local_unnamed_addr global i32 0, align 4 @EXT_RETURN_NOT_SENT = common local_unnamed_addr global i32 0, align 4 @TLSEXT_TYPE_cookie = common local_unnamed_addr global i32 0, align 4 @SSL_AD_INTERNAL_ERROR = common local_unnamed_addr global i32 0, align 4 @SSL_F_TLS_CONSTRUCT_CTOS_COOKIE = common local_unnamed_addr global i32 0, align 4 @ERR_R_INTERNAL_ERROR = common local_unnamed_addr global i32 0, align 4 @EXT_RETURN_SENT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @tls_construct_ctos_cookie(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef readnone %3, i64 noundef %4) local_unnamed_addr #0 { %6 = load i32, ptr @EXT_RETURN_FAIL, align 4, !tbaa !6 %7 = load i64, ptr %0, align 8, !tbaa !10 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %5 %10 = load i32, ptr @EXT_RETURN_NOT_SENT, align 4, !tbaa !6 br label %39 11: ; preds = %5 %12 = load i32, ptr @TLSEXT_TYPE_cookie, align 4, !tbaa !6 %13 = tail call i32 @WPACKET_put_bytes_u16(ptr noundef %1, i32 noundef %12) #3 %14 = icmp eq i32 %13, 0 br i1 %14, label %27, label %15 15: ; preds = %11 %16 = tail call i32 @WPACKET_start_sub_packet_u16(ptr noundef %1) #3 %17 = icmp eq i32 %16, 0 br i1 %17, label %27, label %18 18: ; preds = %15 %19 = getelementptr inbounds i8, ptr %0, i64 8 %20 = load ptr, ptr %19, align 8, !tbaa !15 %21 = load i64, ptr %0, align 8, !tbaa !10 %22 = tail call i32 @WPACKET_sub_memcpy_u16(ptr noundef %1, ptr noundef %20, i64 noundef %21) #3 %23 = icmp eq i32 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %18 %25 = tail call i32 @WPACKET_close(ptr noundef %1) #3 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %32 27: ; preds = %24, %18, %15, %11 %28 = load i32, ptr @SSL_AD_INTERNAL_ERROR, align 4, !tbaa !6 %29 = load i32, ptr @SSL_F_TLS_CONSTRUCT_CTOS_COOKIE, align 4, !tbaa !6 %30 = load i32, ptr @ERR_R_INTERNAL_ERROR, align 4, !tbaa !6 %31 = tail call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %28, i32 noundef %29, i32 noundef %30) #3 br label %34 32: ; preds = %24 %33 = load i32, ptr @EXT_RETURN_SENT, align 4, !tbaa !6 br label %34 34: ; preds = %32, %27 %35 = phi i32 [ %33, %32 ], [ %6, %27 ] %36 = getelementptr inbounds i8, ptr %0, i64 8 %37 = load ptr, ptr %36, align 8, !tbaa !15 %38 = tail call i32 @OPENSSL_free(ptr noundef %37) #3 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false) br label %39 39: ; preds = %34, %9 %40 = phi i32 [ %10, %9 ], [ %35, %34 ] ret i32 %40 } declare i32 @WPACKET_put_bytes_u16(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WPACKET_start_sub_packet_u16(ptr noundef) local_unnamed_addr #1 declare i32 @WPACKET_sub_memcpy_u16(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @WPACKET_close(ptr noundef) local_unnamed_addr #1 declare i32 @SSLfatal(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @OPENSSL_free(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 0} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"TYPE_5__", !13, i64 0, !14, i64 8} !13 = !{!"long", !8, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!11, !14, i64 8}
openssl_ssl_statem_extr_extensions_clnt.c_tls_construct_ctos_cookie
; ModuleID = 'AnghaBench/freebsd/sys/dev/xen/netfront/extr_netfront.c_xn_ifmedia_sts.c' source_filename = "AnghaBench/freebsd/sys/dev/xen/netfront/extr_netfront.c_xn_ifmedia_sts.c" target datalayout = "e-m:e-p270:32:32-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.ifmediareq = type { i32, i32 } @IFM_AVALID = dso_local local_unnamed_addr global i32 0, align 4 @IFM_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4 @IFM_ETHER = dso_local local_unnamed_addr global i32 0, align 4 @IFM_MANUAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @xn_ifmedia_sts], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable define internal void @xn_ifmedia_sts(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr @IFM_AVALID, align 4, !tbaa !5 %4 = load i32, ptr @IFM_ACTIVE, align 4, !tbaa !5 %5 = or i32 %4, %3 store i32 %5, ptr %1, align 4, !tbaa !9 %6 = load i32, ptr @IFM_ETHER, align 4, !tbaa !5 %7 = load i32, ptr @IFM_MANUAL, align 4, !tbaa !5 %8 = or i32 %7, %6 %9 = getelementptr inbounds %struct.ifmediareq, ptr %1, i64 0, i32 1 store i32 %8, ptr %9, align 4, !tbaa !11 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"ifmediareq", !6, i64 0, !6, i64 4} !11 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/freebsd/sys/dev/xen/netfront/extr_netfront.c_xn_ifmedia_sts.c' source_filename = "AnghaBench/freebsd/sys/dev/xen/netfront/extr_netfront.c_xn_ifmedia_sts.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IFM_AVALID = common local_unnamed_addr global i32 0, align 4 @IFM_ACTIVE = common local_unnamed_addr global i32 0, align 4 @IFM_ETHER = common local_unnamed_addr global i32 0, align 4 @IFM_MANUAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @xn_ifmedia_sts], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) define internal void @xn_ifmedia_sts(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr @IFM_AVALID, align 4, !tbaa !6 %4 = load i32, ptr @IFM_ACTIVE, align 4, !tbaa !6 %5 = or i32 %4, %3 store i32 %5, ptr %1, align 4, !tbaa !10 %6 = load i32, ptr @IFM_ETHER, align 4, !tbaa !6 %7 = load i32, ptr @IFM_MANUAL, align 4, !tbaa !6 %8 = or i32 %7, %6 %9 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %8, ptr %9, align 4, !tbaa !12 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"ifmediareq", !7, i64 0, !7, i64 4} !12 = !{!11, !7, i64 4}
freebsd_sys_dev_xen_netfront_extr_netfront.c_xn_ifmedia_sts
; ModuleID = 'AnghaBench/freebsd/sys/dev/adb/extr_adb_buttons.c_abtn_probe.c' source_filename = "AnghaBench/freebsd/sys/dev/adb/extr_adb_buttons.c_abtn_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" @ADB_DEVICE_MISC = dso_local local_unnamed_addr global i64 0, align 8 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"ADB Brightness/Volume/Eject Buttons\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @abtn_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @abtn_probe(i32 noundef %0) #0 { %2 = tail call i64 @adb_get_device_type(i32 noundef %0) #2 %3 = load i64, ptr @ADB_DEVICE_MISC, align 8, !tbaa !5 %4 = icmp eq i64 %2, %3 br i1 %4, label %7, label %5 5: ; preds = %1 %6 = load i32, ptr @ENXIO, align 4, !tbaa !9 br label %9 7: ; preds = %1 %8 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str) #2 br label %9 9: ; preds = %7, %5 %10 = phi i32 [ %6, %5 ], [ 0, %7 ] ret i32 %10 } declare i64 @adb_get_device_type(i32 noundef) local_unnamed_addr #1 declare i32 @device_set_desc(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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/adb/extr_adb_buttons.c_abtn_probe.c' source_filename = "AnghaBench/freebsd/sys/dev/adb/extr_adb_buttons.c_abtn_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ADB_DEVICE_MISC = common local_unnamed_addr global i64 0, align 8 @ENXIO = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"ADB Brightness/Volume/Eject Buttons\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @abtn_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @abtn_probe(i32 noundef %0) #0 { %2 = tail call i64 @adb_get_device_type(i32 noundef %0) #2 %3 = load i64, ptr @ADB_DEVICE_MISC, align 8, !tbaa !6 %4 = icmp eq i64 %2, %3 br i1 %4, label %7, label %5 5: ; preds = %1 %6 = load i32, ptr @ENXIO, align 4, !tbaa !10 br label %9 7: ; preds = %1 %8 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str) #2 br label %9 9: ; preds = %7, %5 %10 = phi i32 [ %6, %5 ], [ 0, %7 ] ret i32 %10 } declare i64 @adb_get_device_type(i32 noundef) local_unnamed_addr #1 declare i32 @device_set_desc(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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
freebsd_sys_dev_adb_extr_adb_buttons.c_abtn_probe
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/target/tcm_fc/extr_tfc_conf.c_ft_get_default_depth.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/target/tcm_fc/extr_tfc_conf.c_ft_get_default_depth.c" target datalayout = "e-m:e-p270:32:32-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 @ft_get_default_depth], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @ft_get_default_depth(ptr nocapture readnone %0) #0 { ret i32 1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/target/tcm_fc/extr_tfc_conf.c_ft_get_default_depth.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/target/tcm_fc/extr_tfc_conf.c_ft_get_default_depth.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 @ft_get_default_depth], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @ft_get_default_depth(ptr nocapture readnone %0) #0 { ret i32 1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_target_tcm_fc_extr_tfc_conf.c_ft_get_default_depth
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_vc1.c_decode_rowskip.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_vc1.c_decode_rowskip.c" target datalayout = "e-m:e-p270:32:32-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 @decode_rowskip], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @decode_rowskip(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = icmp sgt i32 %2, 0 br i1 %6, label %7, label %29 7: ; preds = %5 %8 = icmp sgt i32 %1, 0 %9 = sext i32 %3 to i64 %10 = zext nneg i32 %1 to i64 br label %11 11: ; preds = %7, %25 %12 = phi i32 [ 0, %7 ], [ %27, %25 ] %13 = phi ptr [ %0, %7 ], [ %26, %25 ] %14 = tail call i64 @get_bits1(ptr noundef %4) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %17, label %16 16: ; preds = %11 br i1 %8, label %19, label %25 17: ; preds = %11 %18 = tail call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef %1) #2 br label %25 19: ; preds = %16, %19 %20 = phi i64 [ %23, %19 ], [ 0, %16 ] %21 = tail call i64 @get_bits1(ptr noundef %4) #2 %22 = getelementptr inbounds i64, ptr %13, i64 %20 store i64 %21, ptr %22, align 8, !tbaa !5 %23 = add nuw nsw i64 %20, 1 %24 = icmp eq i64 %23, %10 br i1 %24, label %25, label %19, !llvm.loop !9 25: ; preds = %19, %16, %17 %26 = getelementptr inbounds i64, ptr %13, i64 %9 %27 = add nuw nsw i32 %12, 1 %28 = icmp eq i32 %27, %2 br i1 %28, label %29, label %11, !llvm.loop !11 29: ; preds = %25, %5 ret void } declare i64 @get_bits1(ptr noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = distinct !{!11, !10}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_vc1.c_decode_rowskip.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_vc1.c_decode_rowskip.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 @decode_rowskip], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @decode_rowskip(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = icmp sgt i32 %2, 0 br i1 %6, label %7, label %29 7: ; preds = %5 %8 = icmp sgt i32 %1, 0 %9 = sext i32 %3 to i64 %10 = zext nneg i32 %1 to i64 br label %11 11: ; preds = %7, %25 %12 = phi i32 [ 0, %7 ], [ %27, %25 ] %13 = phi ptr [ %0, %7 ], [ %26, %25 ] %14 = tail call i64 @get_bits1(ptr noundef %4) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %17, label %16 16: ; preds = %11 br i1 %8, label %19, label %25 17: ; preds = %11 %18 = tail call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef %1) #2 br label %25 19: ; preds = %16, %19 %20 = phi i64 [ %23, %19 ], [ 0, %16 ] %21 = tail call i64 @get_bits1(ptr noundef %4) #2 %22 = getelementptr inbounds i64, ptr %13, i64 %20 store i64 %21, ptr %22, align 8, !tbaa !6 %23 = add nuw nsw i64 %20, 1 %24 = icmp eq i64 %23, %10 br i1 %24, label %25, label %19, !llvm.loop !10 25: ; preds = %19, %16, %17 %26 = getelementptr inbounds i64, ptr %13, i64 %9 %27 = add nuw nsw i32 %12, 1 %28 = icmp eq i32 %27, %2 br i1 %28, label %29, label %11, !llvm.loop !12 29: ; preds = %25, %5 ret void } declare i64 @get_bits1(ptr noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = distinct !{!12, !11}
FFmpeg_libavcodec_extr_vc1.c_decode_rowskip
; ModuleID = 'AnghaBench/linux/drivers/acpi/extr_utils.c_acpi_execute_simple_method.c' source_filename = "AnghaBench/linux/drivers/acpi/extr_utils.c_acpi_execute_simple_method.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %union.acpi_object = type { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } %struct.acpi_object_list = type { i32, ptr } @ACPI_TYPE_INTEGER = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @acpi_execute_simple_method(i32 noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca %union.acpi_object, align 4 %5 = alloca %struct.acpi_object_list, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3 store i32 1, ptr %5, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.acpi_object_list, ptr %5, i64 0, i32 1 store ptr %4, ptr %6, align 8, !tbaa !11 store i32 %2, ptr %4, align 4, !tbaa !12 %7 = call i32 @acpi_evaluate_object(i32 noundef %0, ptr noundef %1, ptr noundef nonnull %5, ptr noundef null) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %7 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @acpi_evaluate_object(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"acpi_object_list", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/acpi/extr_utils.c_acpi_execute_simple_method.c' source_filename = "AnghaBench/linux/drivers/acpi/extr_utils.c_acpi_execute_simple_method.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %union.acpi_object = type { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } %struct.acpi_object_list = type { i32, ptr } @ACPI_TYPE_INTEGER = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @acpi_execute_simple_method(i32 noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca %union.acpi_object, align 4 %5 = alloca %struct.acpi_object_list, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3 store i32 1, ptr %5, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %5, i64 8 store ptr %4, ptr %6, align 8, !tbaa !12 store i32 %2, ptr %4, align 4, !tbaa !13 %7 = call i32 @acpi_evaluate_object(i32 noundef %0, ptr noundef %1, ptr noundef nonnull %5, ptr noundef null) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %7 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @acpi_evaluate_object(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"acpi_object_list", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!9, !9, i64 0}
linux_drivers_acpi_extr_utils.c_acpi_execute_simple_method
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_treeview.c_TREEVIEW_ComputeItemInternalMetrics.c' source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_treeview.c_TREEVIEW_ComputeItemInternalMetrics.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i32, i32, i64, i32, i64 } %struct.TYPE_5__ = type { i32, i64, i64, i32, i64, i64 } @TVS_LINESATROOT = dso_local local_unnamed_addr global i32 0, align 4 @TVS_HASLINES = dso_local local_unnamed_addr global i32 0, align 4 @TVS_HASBUTTONS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @TREEVIEW_ComputeItemInternalMetrics], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @TREEVIEW_ComputeItemInternalMetrics(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = load i32, ptr @TVS_LINESATROOT, align 4, !tbaa !11 %5 = load i32, ptr @TVS_HASLINES, align 4, !tbaa !11 %6 = load i32, ptr @TVS_HASBUTTONS, align 4, !tbaa !11 %7 = or i32 %5, %6 %8 = or i32 %7, %4 %9 = and i32 %8, %3 %10 = icmp sle i32 %9, %4 %11 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = load i32, ptr %1, align 8, !tbaa !13 %14 = sext i1 %10 to i32 %15 = add nsw i32 %13, %14 %16 = mul nsw i32 %15, %12 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 4 %19 = load i64, ptr %18, align 8, !tbaa !15 %20 = sub nsw i64 %17, %19 %21 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 5 store i64 %20, ptr %21, align 8, !tbaa !16 %22 = sext i32 %12 to i64 %23 = add nsw i64 %20, %22 %24 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 4 store i64 %23, ptr %24, align 8, !tbaa !17 %25 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 3 %26 = load i32, ptr %25, align 8, !tbaa !18 %27 = tail call i64 @STATEIMAGEINDEX(i32 noundef %26) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %33, label %29 29: ; preds = %2 %30 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 3 %31 = load i32, ptr %30, align 8, !tbaa !19 %32 = sext i32 %31 to i64 br label %33 33: ; preds = %2, %29 %34 = phi i64 [ %32, %29 ], [ 0, %2 ] %35 = add nsw i64 %34, %23 %36 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 1 store i64 %35, ptr %36, align 8, !tbaa !20 %37 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2 %38 = load i64, ptr %37, align 8, !tbaa !21 %39 = add nsw i64 %38, %35 %40 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 2 store i64 %39, ptr %40, align 8, !tbaa !22 ret i32 undef } declare i64 @STATEIMAGEINDEX(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !10, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 4} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_5__", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !10, i64 32, !10, i64 40} !15 = !{!6, !10, i64 24} !16 = !{!14, !10, i64 40} !17 = !{!14, !10, i64 32} !18 = !{!14, !7, i64 24} !19 = !{!6, !7, i64 16} !20 = !{!14, !10, i64 8} !21 = !{!6, !10, i64 8} !22 = !{!14, !10, i64 16}
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_treeview.c_TREEVIEW_ComputeItemInternalMetrics.c' source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_treeview.c_TREEVIEW_ComputeItemInternalMetrics.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TVS_LINESATROOT = common local_unnamed_addr global i32 0, align 4 @TVS_HASLINES = common local_unnamed_addr global i32 0, align 4 @TVS_HASBUTTONS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @TREEVIEW_ComputeItemInternalMetrics], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @TREEVIEW_ComputeItemInternalMetrics(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = load i32, ptr @TVS_LINESATROOT, align 4, !tbaa !12 %5 = load i32, ptr @TVS_HASLINES, align 4, !tbaa !12 %6 = load i32, ptr @TVS_HASBUTTONS, align 4, !tbaa !12 %7 = or i32 %5, %6 %8 = or i32 %7, %4 %9 = and i32 %8, %3 %10 = icmp sle i32 %9, %4 %11 = getelementptr inbounds i8, ptr %0, i64 4 %12 = load i32, ptr %11, align 4, !tbaa !13 %13 = load i32, ptr %1, align 8, !tbaa !14 %14 = sext i1 %10 to i32 %15 = add nsw i32 %13, %14 %16 = mul nsw i32 %15, %12 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %0, i64 24 %19 = load i64, ptr %18, align 8, !tbaa !16 %20 = sub nsw i64 %17, %19 %21 = getelementptr inbounds i8, ptr %1, i64 40 store i64 %20, ptr %21, align 8, !tbaa !17 %22 = sext i32 %12 to i64 %23 = add nsw i64 %20, %22 %24 = getelementptr inbounds i8, ptr %1, i64 32 store i64 %23, ptr %24, align 8, !tbaa !18 %25 = getelementptr inbounds i8, ptr %1, i64 24 %26 = load i32, ptr %25, align 8, !tbaa !19 %27 = tail call i64 @STATEIMAGEINDEX(i32 noundef %26) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %33, label %29 29: ; preds = %2 %30 = getelementptr inbounds i8, ptr %0, i64 16 %31 = load i32, ptr %30, align 8, !tbaa !20 %32 = sext i32 %31 to i64 br label %33 33: ; preds = %2, %29 %34 = phi i64 [ %32, %29 ], [ 0, %2 ] %35 = add nsw i64 %34, %23 %36 = getelementptr inbounds i8, ptr %1, i64 8 store i64 %35, ptr %36, align 8, !tbaa !21 %37 = getelementptr inbounds i8, ptr %0, i64 8 %38 = load i64, ptr %37, align 8, !tbaa !22 %39 = add nsw i64 %38, %35 %40 = getelementptr inbounds i8, ptr %1, i64 16 store i64 %39, ptr %40, align 8, !tbaa !23 ret i32 undef } declare i64 @STATEIMAGEINDEX(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !11, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 4} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_5__", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !11, i64 32, !11, i64 40} !16 = !{!7, !11, i64 24} !17 = !{!15, !11, i64 40} !18 = !{!15, !11, i64 32} !19 = !{!15, !8, i64 24} !20 = !{!7, !8, i64 16} !21 = !{!15, !11, i64 8} !22 = !{!7, !11, i64 8} !23 = !{!15, !11, i64 16}
reactos_dll_win32_comctl32_extr_treeview.c_TREEVIEW_ComputeItemInternalMetrics
; ModuleID = 'AnghaBench/linux/scripts/dtc/libfdt/extr_fdt_sw.c_fdt_begin_node.c' source_filename = "AnghaBench/linux/scripts/dtc/libfdt/extr_fdt_sw.c_fdt_begin_node.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.fdt_node_header = type { i32, i32 } @FDT_ERR_NOSPACE = dso_local local_unnamed_addr global i32 0, align 4 @FDT_BEGIN_NODE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @fdt_begin_node(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @FDT_SW_PROBE_STRUCT(ptr noundef %0) #2 %4 = tail call i32 @strlen(ptr noundef %1) #2 %5 = add nsw i32 %4, 1 %6 = tail call i64 @FDT_TAGALIGN(i32 noundef %5) #2 %7 = add i64 %6, 8 %8 = tail call ptr @fdt_grab_space_(ptr noundef %0, i64 noundef %7) #2 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i32, ptr @FDT_ERR_NOSPACE, align 4, !tbaa !5 %12 = sub nsw i32 0, %11 br label %19 13: ; preds = %2 %14 = load i32, ptr @FDT_BEGIN_NODE, align 4, !tbaa !5 %15 = tail call i32 @cpu_to_fdt32(i32 noundef %14) #2 %16 = getelementptr inbounds %struct.fdt_node_header, ptr %8, i64 0, i32 1 store i32 %15, ptr %16, align 4, !tbaa !9 %17 = load i32, ptr %8, align 4, !tbaa !11 %18 = tail call i32 @memcpy(i32 noundef %17, ptr noundef %1, i32 noundef %5) #2 br label %19 19: ; preds = %13, %10 %20 = phi i32 [ 0, %13 ], [ %12, %10 ] ret i32 %20 } declare i32 @FDT_SW_PROBE_STRUCT(ptr noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare ptr @fdt_grab_space_(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @FDT_TAGALIGN(i32 noundef) local_unnamed_addr #1 declare i32 @cpu_to_fdt32(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 4} !10 = !{!"fdt_node_header", !6, i64 0, !6, i64 4} !11 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/linux/scripts/dtc/libfdt/extr_fdt_sw.c_fdt_begin_node.c' source_filename = "AnghaBench/linux/scripts/dtc/libfdt/extr_fdt_sw.c_fdt_begin_node.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FDT_ERR_NOSPACE = common local_unnamed_addr global i32 0, align 4 @FDT_BEGIN_NODE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @fdt_begin_node(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @FDT_SW_PROBE_STRUCT(ptr noundef %0) #2 %4 = tail call i32 @strlen(ptr noundef %1) #2 %5 = add nsw i32 %4, 1 %6 = tail call i64 @FDT_TAGALIGN(i32 noundef %5) #2 %7 = add i64 %6, 8 %8 = tail call ptr @fdt_grab_space_(ptr noundef %0, i64 noundef %7) #2 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i32, ptr @FDT_ERR_NOSPACE, align 4, !tbaa !6 %12 = sub nsw i32 0, %11 br label %19 13: ; preds = %2 %14 = load i32, ptr @FDT_BEGIN_NODE, align 4, !tbaa !6 %15 = tail call i32 @cpu_to_fdt32(i32 noundef %14) #2 %16 = getelementptr inbounds i8, ptr %8, i64 4 store i32 %15, ptr %16, align 4, !tbaa !10 %17 = load i32, ptr %8, align 4, !tbaa !12 %18 = tail call i32 @memcpy(i32 noundef %17, ptr noundef %1, i32 noundef %5) #2 br label %19 19: ; preds = %13, %10 %20 = phi i32 [ 0, %13 ], [ %12, %10 ] ret i32 %20 } declare i32 @FDT_SW_PROBE_STRUCT(ptr noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare ptr @fdt_grab_space_(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @FDT_TAGALIGN(i32 noundef) local_unnamed_addr #1 declare i32 @cpu_to_fdt32(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 4} !11 = !{!"fdt_node_header", !7, i64 0, !7, i64 4} !12 = !{!11, !7, i64 0}
linux_scripts_dtc_libfdt_extr_fdt_sw.c_fdt_begin_node
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/misc/extr_ics932s401.c_show_value.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/misc/extr_ics932s401.c_show_value.c" target datalayout = "e-m:e-p270:32:32-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.device_attribute = type { i32 } @dev_attr_usb_clock = dso_local global %struct.device_attribute zeroinitializer, align 4 @dev_attr_ref_clock = dso_local global %struct.device_attribute zeroinitializer, align 4 @BASE_CLOCK = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @show_value], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @show_value(ptr nocapture readnone %0, ptr noundef readnone %1, ptr noundef %2) #0 { %4 = icmp eq ptr %1, @dev_attr_usb_clock br i1 %4, label %11, label %5 5: ; preds = %3 %6 = icmp eq ptr %1, @dev_attr_ref_clock br i1 %6, label %7, label %9 7: ; preds = %5 %8 = load i32, ptr @BASE_CLOCK, align 4, !tbaa !5 br label %11 9: ; preds = %5 %10 = tail call i32 (...) @BUG() #2 unreachable 11: ; preds = %3, %7 %12 = phi i32 [ %8, %7 ], [ 48000, %3 ] %13 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %12) #2 ret i32 %13 } declare i32 @BUG(...) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/misc/extr_ics932s401.c_show_value.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/misc/extr_ics932s401.c_show_value.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.device_attribute = type { i32 } @dev_attr_usb_clock = common global %struct.device_attribute zeroinitializer, align 4 @dev_attr_ref_clock = common global %struct.device_attribute zeroinitializer, align 4 @BASE_CLOCK = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @show_value], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @show_value(ptr nocapture readnone %0, ptr noundef readnone %1, ptr noundef %2) #0 { %4 = icmp eq ptr %1, @dev_attr_usb_clock br i1 %4, label %11, label %5 5: ; preds = %3 %6 = icmp eq ptr %1, @dev_attr_ref_clock br i1 %6, label %7, label %9 7: ; preds = %5 %8 = load i32, ptr @BASE_CLOCK, align 4, !tbaa !6 br label %11 9: ; preds = %5 %10 = tail call i32 @BUG() #2 unreachable 11: ; preds = %3, %7 %12 = phi i32 [ %8, %7 ], [ 48000, %3 ] %13 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %12) #2 ret i32 %13 } declare i32 @BUG(...) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_misc_extr_ics932s401.c_show_value
; ModuleID = 'AnghaBench/freebsd/sys/dev/hyperv/netvsc/extr_hn_nvs.c_hn_nvs_disconn_chim.c' source_filename = "AnghaBench/freebsd/sys/dev/hyperv/netvsc/extr_hn_nvs.c_hn_nvs_disconn_chim.c" target datalayout = "e-m:e-p270:32:32-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.hn_nvs_chim_disconn = type { i32, i32 } %struct.hn_softc = type { i32, i64, i64, ptr, i32, i32 } @HN_FLAG_CHIM_CONNECTED = dso_local local_unnamed_addr global i32 0, align 4 @HN_NVS_TYPE_CHIM_DISCONN = dso_local local_unnamed_addr global i32 0, align 4 @HN_NVS_CHIM_SIG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"send nvs chim disconn failed: %d\0A\00", align 1 @HN_FLAG_CHIM_REF = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"waittx\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"lingtx\00", align 1 @hz = dso_local local_unnamed_addr global i32 0, align 4 @vmbus_current_version = dso_local local_unnamed_addr global i64 0, align 8 @VMBUS_VERSION_WIN10 = dso_local local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [31 x i8] c"chim gpadl disconn failed: %d\0A\00", align 1 @M_DEVBUF = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hn_nvs_disconn_chim], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @hn_nvs_disconn_chim(ptr noundef %0) #0 { %2 = alloca %struct.hn_nvs_chim_disconn, align 4 %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = load i32, ptr @HN_FLAG_CHIM_CONNECTED, align 4, !tbaa !12 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %50, label %7 7: ; preds = %1 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4 %8 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 8) #4 %9 = load i32, ptr @HN_NVS_TYPE_CHIM_DISCONN, align 4, !tbaa !12 %10 = getelementptr inbounds %struct.hn_nvs_chim_disconn, ptr %2, i64 0, i32 1 store i32 %9, ptr %10, align 4, !tbaa !13 %11 = load i32, ptr @HN_NVS_CHIM_SIG, align 4, !tbaa !12 store i32 %11, ptr %2, align 4, !tbaa !15 %12 = call i32 @hn_nvs_req_send(ptr noundef nonnull %0, ptr noundef nonnull %2, i32 noundef 8) #4 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %7 %15 = load i32, ptr %0, align 8, !tbaa !5 br label %28 16: ; preds = %7 %17 = getelementptr inbounds %struct.hn_softc, ptr %0, i64 0, i32 4 %18 = load i32, ptr %17, align 8, !tbaa !16 %19 = call i32 @if_printf(i32 noundef %18, ptr noundef nonnull @.str, i32 noundef %12) #4 %20 = getelementptr inbounds %struct.hn_softc, ptr %0, i64 0, i32 5 %21 = load i32, ptr %20, align 4, !tbaa !17 %22 = call i32 @vmbus_chan_is_revoked(i32 noundef %21) #4 %23 = icmp eq i32 %22, 0 %24 = load i32, ptr %0, align 8, !tbaa !5 br i1 %23, label %25, label %28 25: ; preds = %16 %26 = load i32, ptr @HN_FLAG_CHIM_REF, align 4, !tbaa !12 %27 = or i32 %24, %26 store i32 %27, ptr %0, align 8, !tbaa !5 br label %28 28: ; preds = %14, %16, %25 %29 = phi i32 [ %15, %14 ], [ %24, %16 ], [ %27, %25 ] %30 = load i32, ptr @HN_FLAG_CHIM_CONNECTED, align 4, !tbaa !12 %31 = xor i32 %30, -1 %32 = and i32 %29, %31 store i32 %32, ptr %0, align 8, !tbaa !5 %33 = getelementptr inbounds %struct.hn_softc, ptr %0, i64 0, i32 5 %34 = load i32, ptr %33, align 4, !tbaa !17 %35 = call i32 @vmbus_chan_tx_empty(i32 noundef %34) #4 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %46 37: ; preds = %28, %41 %38 = load i32, ptr %33, align 4, !tbaa !17 %39 = call i32 @vmbus_chan_is_revoked(i32 noundef %38) #4 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %46 41: ; preds = %37 %42 = call i32 @pause(ptr noundef nonnull @.str.1, i32 noundef 1) #4 %43 = load i32, ptr %33, align 4, !tbaa !17 %44 = call i32 @vmbus_chan_tx_empty(i32 noundef %43) #4 %45 = icmp eq i32 %44, 0 br i1 %45, label %37, label %46, !llvm.loop !18 46: ; preds = %37, %41, %28 %47 = load i32, ptr @hz, align 4, !tbaa !12 %48 = sdiv i32 %47, 5 %49 = call i32 @pause(ptr noundef nonnull @.str.2, i32 noundef %48) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4 br label %50 50: ; preds = %46, %1 %51 = load i64, ptr @vmbus_current_version, align 8, !tbaa !20 %52 = load i64, ptr @VMBUS_VERSION_WIN10, align 8, !tbaa !20 %53 = icmp slt i64 %51, %52 br i1 %53, label %54, label %71 54: ; preds = %50 %55 = getelementptr inbounds %struct.hn_softc, ptr %0, i64 0, i32 1 %56 = load i64, ptr %55, align 8, !tbaa !21 %57 = icmp eq i64 %56, 0 br i1 %57, label %71, label %58 58: ; preds = %54 %59 = getelementptr inbounds %struct.hn_softc, ptr %0, i64 0, i32 5 %60 = load i32, ptr %59, align 4, !tbaa !17 %61 = call i32 @vmbus_chan_gpadl_disconnect(i32 noundef %60, i64 noundef %56) #4 %62 = icmp eq i32 %61, 0 br i1 %62, label %70, label %63 63: ; preds = %58 %64 = getelementptr inbounds %struct.hn_softc, ptr %0, i64 0, i32 4 %65 = load i32, ptr %64, align 8, !tbaa !16 %66 = call i32 @if_printf(i32 noundef %65, ptr noundef nonnull @.str.3, i32 noundef %61) #4 %67 = load i32, ptr @HN_FLAG_CHIM_REF, align 4, !tbaa !12 %68 = load i32, ptr %0, align 8, !tbaa !5 %69 = or i32 %68, %67 store i32 %69, ptr %0, align 8, !tbaa !5 br label %70 70: ; preds = %63, %58 store i64 0, ptr %55, align 8, !tbaa !21 br label %71 71: ; preds = %70, %54, %50 %72 = getelementptr inbounds %struct.hn_softc, ptr %0, i64 0, i32 3 %73 = load ptr, ptr %72, align 8, !tbaa !22 %74 = icmp eq ptr %73, null br i1 %74, label %79, label %75 75: ; preds = %71 %76 = load i32, ptr @M_DEVBUF, align 4, !tbaa !12 %77 = call i32 @free(ptr noundef nonnull %73, i32 noundef %76) #4 %78 = getelementptr inbounds %struct.hn_softc, ptr %0, i64 0, i32 2 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %78, i8 0, i64 16, i1 false) br label %79 79: ; preds = %75, %71 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 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @hn_nvs_req_send(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @if_printf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @vmbus_chan_is_revoked(i32 noundef) local_unnamed_addr #2 declare i32 @vmbus_chan_tx_empty(i32 noundef) local_unnamed_addr #2 declare i32 @pause(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 @vmbus_chan_gpadl_disconnect(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"hn_softc", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !7, i64 32, !7, i64 36} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!14, !7, i64 4} !14 = !{!"hn_nvs_chim_disconn", !7, i64 0, !7, i64 4} !15 = !{!14, !7, i64 0} !16 = !{!6, !7, i64 32} !17 = !{!6, !7, i64 36} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!10, !10, i64 0} !21 = !{!6, !10, i64 8} !22 = !{!6, !11, i64 24}
; ModuleID = 'AnghaBench/freebsd/sys/dev/hyperv/netvsc/extr_hn_nvs.c_hn_nvs_disconn_chim.c' source_filename = "AnghaBench/freebsd/sys/dev/hyperv/netvsc/extr_hn_nvs.c_hn_nvs_disconn_chim.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.hn_nvs_chim_disconn = type { i32, i32 } @HN_FLAG_CHIM_CONNECTED = common local_unnamed_addr global i32 0, align 4 @HN_NVS_TYPE_CHIM_DISCONN = common local_unnamed_addr global i32 0, align 4 @HN_NVS_CHIM_SIG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"send nvs chim disconn failed: %d\0A\00", align 1 @HN_FLAG_CHIM_REF = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"waittx\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"lingtx\00", align 1 @hz = common local_unnamed_addr global i32 0, align 4 @vmbus_current_version = common local_unnamed_addr global i64 0, align 8 @VMBUS_VERSION_WIN10 = common local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [31 x i8] c"chim gpadl disconn failed: %d\0A\00", align 1 @M_DEVBUF = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hn_nvs_disconn_chim], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @hn_nvs_disconn_chim(ptr noundef %0) #0 { %2 = alloca %struct.hn_nvs_chim_disconn, align 4 %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = load i32, ptr @HN_FLAG_CHIM_CONNECTED, align 4, !tbaa !13 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %50, label %7 7: ; preds = %1 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4 %8 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 8) #4 %9 = load i32, ptr @HN_NVS_TYPE_CHIM_DISCONN, align 4, !tbaa !13 %10 = getelementptr inbounds i8, ptr %2, i64 4 store i32 %9, ptr %10, align 4, !tbaa !14 %11 = load i32, ptr @HN_NVS_CHIM_SIG, align 4, !tbaa !13 store i32 %11, ptr %2, align 4, !tbaa !16 %12 = call i32 @hn_nvs_req_send(ptr noundef nonnull %0, ptr noundef nonnull %2, i32 noundef 8) #4 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %7 %15 = load i32, ptr %0, align 8, !tbaa !6 br label %28 16: ; preds = %7 %17 = getelementptr inbounds i8, ptr %0, i64 32 %18 = load i32, ptr %17, align 8, !tbaa !17 %19 = call i32 @if_printf(i32 noundef %18, ptr noundef nonnull @.str, i32 noundef %12) #4 %20 = getelementptr inbounds i8, ptr %0, i64 36 %21 = load i32, ptr %20, align 4, !tbaa !18 %22 = call i32 @vmbus_chan_is_revoked(i32 noundef %21) #4 %23 = icmp eq i32 %22, 0 %24 = load i32, ptr %0, align 8, !tbaa !6 br i1 %23, label %25, label %28 25: ; preds = %16 %26 = load i32, ptr @HN_FLAG_CHIM_REF, align 4, !tbaa !13 %27 = or i32 %24, %26 store i32 %27, ptr %0, align 8, !tbaa !6 br label %28 28: ; preds = %14, %16, %25 %29 = phi i32 [ %15, %14 ], [ %24, %16 ], [ %27, %25 ] %30 = load i32, ptr @HN_FLAG_CHIM_CONNECTED, align 4, !tbaa !13 %31 = xor i32 %30, -1 %32 = and i32 %29, %31 store i32 %32, ptr %0, align 8, !tbaa !6 %33 = getelementptr inbounds i8, ptr %0, i64 36 %34 = load i32, ptr %33, align 4, !tbaa !18 %35 = call i32 @vmbus_chan_tx_empty(i32 noundef %34) #4 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %46 37: ; preds = %28, %41 %38 = load i32, ptr %33, align 4, !tbaa !18 %39 = call i32 @vmbus_chan_is_revoked(i32 noundef %38) #4 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %46 41: ; preds = %37 %42 = call i32 @pause(ptr noundef nonnull @.str.1, i32 noundef 1) #4 %43 = load i32, ptr %33, align 4, !tbaa !18 %44 = call i32 @vmbus_chan_tx_empty(i32 noundef %43) #4 %45 = icmp eq i32 %44, 0 br i1 %45, label %37, label %46, !llvm.loop !19 46: ; preds = %37, %41, %28 %47 = load i32, ptr @hz, align 4, !tbaa !13 %48 = sdiv i32 %47, 5 %49 = call i32 @pause(ptr noundef nonnull @.str.2, i32 noundef %48) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4 br label %50 50: ; preds = %46, %1 %51 = load i64, ptr @vmbus_current_version, align 8, !tbaa !21 %52 = load i64, ptr @VMBUS_VERSION_WIN10, align 8, !tbaa !21 %53 = icmp slt i64 %51, %52 br i1 %53, label %54, label %71 54: ; preds = %50 %55 = getelementptr inbounds i8, ptr %0, i64 8 %56 = load i64, ptr %55, align 8, !tbaa !22 %57 = icmp eq i64 %56, 0 br i1 %57, label %71, label %58 58: ; preds = %54 %59 = getelementptr inbounds i8, ptr %0, i64 36 %60 = load i32, ptr %59, align 4, !tbaa !18 %61 = call i32 @vmbus_chan_gpadl_disconnect(i32 noundef %60, i64 noundef %56) #4 %62 = icmp eq i32 %61, 0 br i1 %62, label %70, label %63 63: ; preds = %58 %64 = getelementptr inbounds i8, ptr %0, i64 32 %65 = load i32, ptr %64, align 8, !tbaa !17 %66 = call i32 @if_printf(i32 noundef %65, ptr noundef nonnull @.str.3, i32 noundef %61) #4 %67 = load i32, ptr @HN_FLAG_CHIM_REF, align 4, !tbaa !13 %68 = load i32, ptr %0, align 8, !tbaa !6 %69 = or i32 %68, %67 store i32 %69, ptr %0, align 8, !tbaa !6 br label %70 70: ; preds = %63, %58 store i64 0, ptr %55, align 8, !tbaa !22 br label %71 71: ; preds = %70, %54, %50 %72 = getelementptr inbounds i8, ptr %0, i64 24 %73 = load ptr, ptr %72, align 8, !tbaa !23 %74 = icmp eq ptr %73, null br i1 %74, label %79, label %75 75: ; preds = %71 %76 = load i32, ptr @M_DEVBUF, align 4, !tbaa !13 %77 = call i32 @free(ptr noundef nonnull %73, i32 noundef %76) #4 %78 = getelementptr inbounds i8, ptr %0, i64 16 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %78, i8 0, i64 16, i1 false) br label %79 79: ; preds = %75, %71 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 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @hn_nvs_req_send(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @if_printf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @vmbus_chan_is_revoked(i32 noundef) local_unnamed_addr #2 declare i32 @vmbus_chan_tx_empty(i32 noundef) local_unnamed_addr #2 declare i32 @pause(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 @vmbus_chan_gpadl_disconnect(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"hn_softc", !8, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !8, i64 32, !8, i64 36} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!15, !8, i64 4} !15 = !{!"hn_nvs_chim_disconn", !8, i64 0, !8, i64 4} !16 = !{!15, !8, i64 0} !17 = !{!7, !8, i64 32} !18 = !{!7, !8, i64 36} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!11, !11, i64 0} !22 = !{!7, !11, i64 8} !23 = !{!7, !12, i64 24}
freebsd_sys_dev_hyperv_netvsc_extr_hn_nvs.c_hn_nvs_disconn_chim
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/net/extr_if_rue.c_rue_csr_read_1.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/net/extr_if_rue.c_rue_csr_read_1.c" target datalayout = "e-m:e-p270:32:32-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 @rue_csr_read_1], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rue_csr_read_1(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = call i32 @rue_read_mem(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %3, i32 noundef 1) #3 %5 = load i32, ptr %3, align 4, !tbaa !5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %5 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @rue_read_mem(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)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/net/extr_if_rue.c_rue_csr_read_1.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/net/extr_if_rue.c_rue_csr_read_1.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 @rue_csr_read_1], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @rue_csr_read_1(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = call i32 @rue_read_mem(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %3, i32 noundef 1) #3 %5 = load i32, ptr %3, align 4, !tbaa !6 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %5 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @rue_read_mem(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)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_usb_net_extr_if_rue.c_rue_csr_read_1
; ModuleID = 'AnghaBench/hashcat/src/extr_convert.c_ab64_to_int.c' source_filename = "AnghaBench/hashcat/src/extr_convert.c_ab64_to_int.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @__const.ab64_to_int.tbl = private unnamed_addr constant <{ [123 x i32], [133 x i32] }> <{ [123 x i32] [i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 62, i32 63, i32 52, i32 53, i32 54, i32 55, i32 56, i32 57, i32 58, i32 59, i32 60, i32 61, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31, i32 32, i32 33, i32 34, i32 35, i32 36, i32 37, i32 38, i32 39, i32 40, i32 41, i32 42, i32 43, i32 44, i32 45, i32 46, i32 47, i32 48, i32 49, i32 50, i32 51], [133 x i32] zeroinitializer }>, align 16 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local i32 @ab64_to_int(i32 noundef %0) local_unnamed_addr #0 { %2 = sext i32 %0 to i64 %3 = getelementptr inbounds [256 x i32], ptr @__const.ab64_to_int.tbl, i64 0, i64 %2 %4 = load i32, ptr %3, align 4, !tbaa !5 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)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/hashcat/src/extr_convert.c_ab64_to_int.c' source_filename = "AnghaBench/hashcat/src/extr_convert.c_ab64_to_int.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @__const.ab64_to_int.tbl = private unnamed_addr constant <{ [123 x i32], [133 x i32] }> <{ [123 x i32] [i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 62, i32 63, i32 52, i32 53, i32 54, i32 55, i32 56, i32 57, i32 58, i32 59, i32 60, i32 61, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31, i32 32, i32 33, i32 34, i32 35, i32 36, i32 37, i32 38, i32 39, i32 40, i32 41, i32 42, i32 43, i32 44, i32 45, i32 46, i32 47, i32 48, i32 49, i32 50, i32 51], [133 x i32] zeroinitializer }>, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define i32 @ab64_to_int(i32 noundef %0) local_unnamed_addr #0 { %2 = sext i32 %0 to i64 %3 = getelementptr inbounds [256 x i32], ptr @__const.ab64_to_int.tbl, i64 0, i64 %2 %4 = load i32, ptr %3, align 4, !tbaa !6 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)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
hashcat_src_extr_convert.c_ab64_to_int
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.3/src/extr_loadlib.c_checkload.c' source_filename = "AnghaBench/xLua/build/lua-5.3.3/src/extr_loadlib.c_checkload.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"error loading module '%s' from file '%s':\0A\09%s\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @checkload], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @checkload(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = icmp eq i32 %1, 0 br i1 %4, label %7, label %5 5: ; preds = %3 %6 = tail call i32 @lua_pushstring(ptr noundef %0, ptr noundef %2) #2 br label %11 7: ; preds = %3 %8 = tail call i32 @lua_tostring(ptr noundef %0, i32 noundef 1) #2 %9 = tail call i32 @lua_tostring(ptr noundef %0, i32 noundef -1) #2 %10 = tail call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %8, ptr noundef %2, i32 noundef %9) #2 br label %11 11: ; preds = %7, %5 %12 = phi i32 [ 2, %5 ], [ %10, %7 ] ret i32 %12 } declare i32 @lua_pushstring(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @luaL_error(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_tostring(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/lua-5.3.3/src/extr_loadlib.c_checkload.c' source_filename = "AnghaBench/xLua/build/lua-5.3.3/src/extr_loadlib.c_checkload.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [46 x i8] c"error loading module '%s' from file '%s':\0A\09%s\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @checkload], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @checkload(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = icmp eq i32 %1, 0 br i1 %4, label %7, label %5 5: ; preds = %3 %6 = tail call i32 @lua_pushstring(ptr noundef %0, ptr noundef %2) #2 br label %11 7: ; preds = %3 %8 = tail call i32 @lua_tostring(ptr noundef %0, i32 noundef 1) #2 %9 = tail call i32 @lua_tostring(ptr noundef %0, i32 noundef -1) #2 %10 = tail call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %8, ptr noundef %2, i32 noundef %9) #2 br label %11 11: ; preds = %7, %5 %12 = phi i32 [ 2, %5 ], [ %10, %7 ] ret i32 %12 } declare i32 @lua_pushstring(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @luaL_error(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_tostring(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_lua-5.3.3_src_extr_loadlib.c_checkload
; ModuleID = 'AnghaBench/RetroArch/extr_retroarch.c_dir_init_shader.c' source_filename = "AnghaBench/RetroArch/extr_retroarch.c_dir_init_shader.c" target datalayout = "e-m:e-p270:32:32-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_8__ = type { i32 } @dir_shader_list = dso_local local_unnamed_addr global i32 0, align 4 @configuration_settings = dso_local local_unnamed_addr global ptr null, align 8 @DIR_LIST_SHADERS = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"%s \22%s\22\0A\00", align 1 @MSG_FOUND_SHADER = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dir_init_shader], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @dir_init_shader() #0 { %1 = load ptr, ptr @configuration_settings, align 8, !tbaa !5 %2 = icmp eq ptr %1, null br i1 %2, label %36, label %3 3: ; preds = %0 %4 = load ptr, ptr %1, align 8, !tbaa !9 %5 = load i32, ptr %4, align 4, !tbaa !12 %6 = icmp eq i32 %5, 0 br i1 %6, label %36, label %7 7: ; preds = %3 %8 = load i32, ptr @DIR_LIST_SHADERS, align 4, !tbaa !12 %9 = tail call ptr @dir_list_new_special(ptr noundef nonnull %4, i32 noundef %8, ptr noundef null) #2 store ptr %9, ptr @dir_shader_list, align 8, !tbaa !14 %10 = icmp eq ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %7 %12 = load i32, ptr %9, align 8, !tbaa !17 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %11, %7 %15 = tail call i32 (...) @dir_free_shader() #2 br label %36 16: ; preds = %11 store i64 0, ptr getelementptr inbounds (i32, ptr @dir_shader_list, i64 2), align 8, !tbaa !19 %17 = tail call i32 @dir_list_sort(ptr noundef nonnull %9, i32 noundef 0) #2 %18 = load ptr, ptr @dir_shader_list, align 8, !tbaa !14 %19 = load i32, ptr %18, align 8, !tbaa !17 %20 = icmp eq i32 %19, 0 br i1 %20, label %36, label %21 21: ; preds = %16, %21 %22 = phi i64 [ %31, %21 ], [ 0, %16 ] %23 = load i32, ptr @MSG_FOUND_SHADER, align 4, !tbaa !12 %24 = tail call i32 @msg_hash_to_str(i32 noundef %23) #2 %25 = load ptr, ptr @dir_shader_list, align 8, !tbaa !14 %26 = getelementptr inbounds %struct.TYPE_10__, ptr %25, i64 0, i32 1 %27 = load ptr, ptr %26, align 8, !tbaa !20 %28 = getelementptr inbounds %struct.TYPE_8__, ptr %27, i64 %22 %29 = load i32, ptr %28, align 4, !tbaa !21 %30 = tail call i32 @RARCH_LOG(ptr noundef nonnull @.str, i32 noundef %24, i32 noundef %29) #2 %31 = add nuw nsw i64 %22, 1 %32 = load ptr, ptr @dir_shader_list, align 8, !tbaa !14 %33 = load i32, ptr %32, align 8, !tbaa !17 %34 = zext i32 %33 to i64 %35 = icmp ult i64 %31, %34 br i1 %35, label %21, label %36, !llvm.loop !23 36: ; preds = %21, %16, %0, %3, %14 %37 = phi i32 [ 0, %14 ], [ 0, %3 ], [ 0, %0 ], [ 1, %16 ], [ 1, %21 ] ret i32 %37 } declare ptr @dir_list_new_special(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dir_free_shader(...) local_unnamed_addr #1 declare i32 @dir_list_sort(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RARCH_LOG(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msg_hash_to_str(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_9__", !11, i64 0} !11 = !{!"TYPE_7__", !6, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !7, i64 0} !14 = !{!15, !6, i64 0} !15 = !{!"rarch_dir_list", !6, i64 0, !16, i64 8} !16 = !{!"long", !7, i64 0} !17 = !{!18, !13, i64 0} !18 = !{!"TYPE_10__", !13, i64 0, !6, i64 8} !19 = !{!15, !16, i64 8} !20 = !{!18, !6, i64 8} !21 = !{!22, !13, i64 0} !22 = !{!"TYPE_8__", !13, i64 0} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/RetroArch/extr_retroarch.c_dir_init_shader.c' source_filename = "AnghaBench/RetroArch/extr_retroarch.c_dir_init_shader.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_8__ = type { i32 } @dir_shader_list = common local_unnamed_addr global i32 0, align 4 @configuration_settings = common local_unnamed_addr global ptr null, align 8 @DIR_LIST_SHADERS = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"%s \22%s\22\0A\00", align 1 @MSG_FOUND_SHADER = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dir_init_shader], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @dir_init_shader() #0 { %1 = load ptr, ptr @configuration_settings, align 8, !tbaa !6 %2 = icmp eq ptr %1, null br i1 %2, label %36, label %3 3: ; preds = %0 %4 = load ptr, ptr %1, align 8, !tbaa !10 %5 = load i32, ptr %4, align 4, !tbaa !13 %6 = icmp eq i32 %5, 0 br i1 %6, label %36, label %7 7: ; preds = %3 %8 = load i32, ptr @DIR_LIST_SHADERS, align 4, !tbaa !13 %9 = tail call ptr @dir_list_new_special(ptr noundef nonnull %4, i32 noundef %8, ptr noundef null) #2 store ptr %9, ptr @dir_shader_list, align 8, !tbaa !15 %10 = icmp eq ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %7 %12 = load i32, ptr %9, align 8, !tbaa !18 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %11, %7 %15 = tail call i32 @dir_free_shader() #2 br label %36 16: ; preds = %11 store i64 0, ptr getelementptr inbounds (i8, ptr @dir_shader_list, i64 8), align 8, !tbaa !20 %17 = tail call i32 @dir_list_sort(ptr noundef nonnull %9, i32 noundef 0) #2 %18 = load ptr, ptr @dir_shader_list, align 8, !tbaa !15 %19 = load i32, ptr %18, align 8, !tbaa !18 %20 = icmp eq i32 %19, 0 br i1 %20, label %36, label %21 21: ; preds = %16, %21 %22 = phi i64 [ %31, %21 ], [ 0, %16 ] %23 = load i32, ptr @MSG_FOUND_SHADER, align 4, !tbaa !13 %24 = tail call i32 @msg_hash_to_str(i32 noundef %23) #2 %25 = load ptr, ptr @dir_shader_list, align 8, !tbaa !15 %26 = getelementptr inbounds i8, ptr %25, i64 8 %27 = load ptr, ptr %26, align 8, !tbaa !21 %28 = getelementptr inbounds %struct.TYPE_8__, ptr %27, i64 %22 %29 = load i32, ptr %28, align 4, !tbaa !22 %30 = tail call i32 @RARCH_LOG(ptr noundef nonnull @.str, i32 noundef %24, i32 noundef %29) #2 %31 = add nuw nsw i64 %22, 1 %32 = load ptr, ptr @dir_shader_list, align 8, !tbaa !15 %33 = load i32, ptr %32, align 8, !tbaa !18 %34 = zext i32 %33 to i64 %35 = icmp ult i64 %31, %34 br i1 %35, label %21, label %36, !llvm.loop !24 36: ; preds = %21, %16, %0, %3, %14 %37 = phi i32 [ 0, %14 ], [ 0, %3 ], [ 0, %0 ], [ 1, %16 ], [ 1, %21 ] ret i32 %37 } declare ptr @dir_list_new_special(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dir_free_shader(...) local_unnamed_addr #1 declare i32 @dir_list_sort(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RARCH_LOG(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msg_hash_to_str(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_9__", !12, i64 0} !12 = !{!"TYPE_7__", !7, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"rarch_dir_list", !7, i64 0, !17, i64 8} !17 = !{!"long", !8, i64 0} !18 = !{!19, !14, i64 0} !19 = !{!"TYPE_10__", !14, i64 0, !7, i64 8} !20 = !{!16, !17, i64 8} !21 = !{!19, !7, i64 8} !22 = !{!23, !14, i64 0} !23 = !{!"TYPE_8__", !14, i64 0} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"}
RetroArch_extr_retroarch.c_dir_init_shader
; ModuleID = 'AnghaBench/openwrt/tools/wrt350nv2-builder/src/extr_md5.c_md5_append.c' source_filename = "AnghaBench/openwrt/tools/wrt350nv2-builder/src/extr_md5.c_md5_append.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { ptr, ptr } ; Function Attrs: nounwind uwtable define dso_local void @md5_append(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = lshr i32 %5, 3 %7 = and i32 %6, 63 %8 = icmp slt i32 %2, 1 br i1 %8, label %58, label %9 9: ; preds = %3 %10 = shl i32 %2, 3 %11 = lshr i32 %2, 29 %12 = getelementptr inbounds i32, ptr %4, i64 1 %13 = load i32, ptr %12, align 4, !tbaa !10 %14 = add nsw i32 %13, %11 store i32 %14, ptr %12, align 4, !tbaa !10 %15 = add i32 %5, %10 store i32 %15, ptr %4, align 4, !tbaa !10 %16 = icmp slt i32 %15, %10 br i1 %16, label %17, label %19 17: ; preds = %9 %18 = add nsw i32 %14, 1 store i32 %18, ptr %12, align 4, !tbaa !10 br label %19 19: ; preds = %17, %9 %20 = icmp eq i32 %7, 0 br i1 %20, label %39, label %21 21: ; preds = %19 %22 = add nuw nsw i32 %7, %2 %23 = icmp ugt i32 %22, 64 %24 = sub nuw nsw i32 64, %7 %25 = select i1 %23, i32 %24, i32 %2 %26 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %27 = load ptr, ptr %26, align 8, !tbaa !12 %28 = zext nneg i32 %7 to i64 %29 = getelementptr inbounds i32, ptr %27, i64 %28 %30 = tail call i32 @memcpy(ptr noundef nonnull %29, ptr noundef %1, i32 noundef %25) #2 %31 = add nuw nsw i32 %25, %7 %32 = icmp ugt i32 %31, 63 br i1 %32, label %33, label %58 33: ; preds = %21 %34 = zext nneg i32 %25 to i64 %35 = getelementptr inbounds i32, ptr %1, i64 %34 %36 = sub nsw i32 %2, %25 %37 = load ptr, ptr %26, align 8, !tbaa !12 %38 = tail call i32 @md5_process(ptr noundef nonnull %0, ptr noundef %37) #2 br label %39 39: ; preds = %33, %19 %40 = phi i32 [ %2, %19 ], [ %36, %33 ] %41 = phi ptr [ %1, %19 ], [ %35, %33 ] %42 = icmp sgt i32 %40, 63 br i1 %42, label %43, label %50 43: ; preds = %39, %43 %44 = phi ptr [ %47, %43 ], [ %41, %39 ] %45 = phi i32 [ %48, %43 ], [ %40, %39 ] %46 = tail call i32 @md5_process(ptr noundef nonnull %0, ptr noundef %44) #2 %47 = getelementptr inbounds i32, ptr %44, i64 64 %48 = add nsw i32 %45, -64 %49 = icmp ugt i32 %45, 127 br i1 %49, label %43, label %50, !llvm.loop !13 50: ; preds = %43, %39 %51 = phi i32 [ %40, %39 ], [ %48, %43 ] %52 = phi ptr [ %41, %39 ], [ %47, %43 ] %53 = icmp eq i32 %51, 0 br i1 %53, label %58, label %54 54: ; preds = %50 %55 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %56 = load ptr, ptr %55, align 8, !tbaa !12 %57 = tail call i32 @memcpy(ptr noundef %56, ptr noundef %52, i32 noundef %51) #2 br label %58 58: ; preds = %21, %50, %54, %3 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @md5_process(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!6, !7, i64 8} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/openwrt/tools/wrt350nv2-builder/src/extr_md5.c_md5_append.c' source_filename = "AnghaBench/openwrt/tools/wrt350nv2-builder/src/extr_md5.c_md5_append.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 @md5_append(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = lshr i32 %5, 3 %7 = and i32 %6, 63 %8 = icmp slt i32 %2, 1 br i1 %8, label %58, label %9 9: ; preds = %3 %10 = shl i32 %2, 3 %11 = lshr i32 %2, 29 %12 = getelementptr inbounds i8, ptr %4, i64 4 %13 = load i32, ptr %12, align 4, !tbaa !11 %14 = add nsw i32 %13, %11 store i32 %14, ptr %12, align 4, !tbaa !11 %15 = add i32 %5, %10 store i32 %15, ptr %4, align 4, !tbaa !11 %16 = icmp slt i32 %15, %10 br i1 %16, label %17, label %19 17: ; preds = %9 %18 = add nsw i32 %14, 1 store i32 %18, ptr %12, align 4, !tbaa !11 br label %19 19: ; preds = %17, %9 %20 = icmp eq i32 %7, 0 br i1 %20, label %39, label %21 21: ; preds = %19 %22 = add nuw nsw i32 %7, %2 %23 = icmp ugt i32 %22, 64 %24 = sub nuw nsw i32 64, %7 %25 = select i1 %23, i32 %24, i32 %2 %26 = getelementptr inbounds i8, ptr %0, i64 8 %27 = load ptr, ptr %26, align 8, !tbaa !13 %28 = zext nneg i32 %7 to i64 %29 = getelementptr inbounds i32, ptr %27, i64 %28 %30 = tail call i32 @memcpy(ptr noundef nonnull %29, ptr noundef %1, i32 noundef %25) #2 %31 = add nuw nsw i32 %25, %7 %32 = icmp ugt i32 %31, 63 br i1 %32, label %33, label %58 33: ; preds = %21 %34 = zext nneg i32 %25 to i64 %35 = getelementptr inbounds i32, ptr %1, i64 %34 %36 = sub nsw i32 %2, %25 %37 = load ptr, ptr %26, align 8, !tbaa !13 %38 = tail call i32 @md5_process(ptr noundef nonnull %0, ptr noundef %37) #2 br label %39 39: ; preds = %33, %19 %40 = phi i32 [ %2, %19 ], [ %36, %33 ] %41 = phi ptr [ %1, %19 ], [ %35, %33 ] %42 = icmp sgt i32 %40, 63 br i1 %42, label %43, label %50 43: ; preds = %39, %43 %44 = phi ptr [ %47, %43 ], [ %41, %39 ] %45 = phi i32 [ %48, %43 ], [ %40, %39 ] %46 = tail call i32 @md5_process(ptr noundef nonnull %0, ptr noundef %44) #2 %47 = getelementptr inbounds i8, ptr %44, i64 256 %48 = add nsw i32 %45, -64 %49 = icmp ugt i32 %45, 127 br i1 %49, label %43, label %50, !llvm.loop !14 50: ; preds = %43, %39 %51 = phi i32 [ %40, %39 ], [ %48, %43 ] %52 = phi ptr [ %41, %39 ], [ %47, %43 ] %53 = icmp eq i32 %51, 0 br i1 %53, label %58, label %54 54: ; preds = %50 %55 = getelementptr inbounds i8, ptr %0, i64 8 %56 = load ptr, ptr %55, align 8, !tbaa !13 %57 = tail call i32 @memcpy(ptr noundef %56, ptr noundef %52, i32 noundef %51) #2 br label %58 58: ; preds = %21, %50, %54, %3 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @md5_process(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!7, !8, i64 8} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
openwrt_tools_wrt350nv2-builder_src_extr_md5.c_md5_append
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_output.c_fz_close_output.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_output.c_fz_close_output.c" target datalayout = "e-m:e-p270:32:32-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, i32 } ; Function Attrs: nounwind uwtable define dso_local void @fz_close_output(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = icmp eq ptr %1, null br i1 %3, label %13, label %4 4: ; preds = %2 %5 = tail call i32 @fz_flush_output(ptr noundef %0, ptr noundef nonnull %1) #2 %6 = load ptr, ptr %1, align 8, !tbaa !5 %7 = icmp eq ptr %6, null br i1 %7, label %12, label %8 8: ; preds = %4 %9 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1 %10 = load i32, ptr %9, align 8, !tbaa !11 %11 = tail call i32 %6(ptr noundef %0, i32 noundef %10) #2 br label %12 12: ; preds = %8, %4 store ptr null, ptr %1, align 8, !tbaa !5 br label %13 13: ; preds = %2, %12 ret void } declare i32 @fz_flush_output(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_output.c_fz_close_output.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_output.c_fz_close_output.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 @fz_close_output(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = icmp eq ptr %1, null br i1 %3, label %13, label %4 4: ; preds = %2 %5 = tail call i32 @fz_flush_output(ptr noundef %0, ptr noundef nonnull %1) #2 %6 = load ptr, ptr %1, align 8, !tbaa !6 %7 = icmp eq ptr %6, null br i1 %7, label %12, label %8 8: ; preds = %4 %9 = getelementptr inbounds i8, ptr %1, i64 8 %10 = load i32, ptr %9, align 8, !tbaa !12 %11 = tail call i32 %6(ptr noundef %0, i32 noundef %10) #2 br label %12 12: ; preds = %8, %4 store ptr null, ptr %1, align 8, !tbaa !6 br label %13 13: ; preds = %2, %12 ret void } declare i32 @fz_flush_output(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !11, i64 8}
sumatrapdf_mupdf_source_fitz_extr_output.c_fz_close_output
; ModuleID = 'AnghaBench/linux/sound/core/extr_pcm_native.c_snd_pcm_release_substream.c' source_filename = "AnghaBench/linux/sound/core/extr_pcm_native.c_snd_pcm_release_substream.c" target datalayout = "e-m:e-p270:32:32-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_pcm_substream = type { i64, ptr, i32, i64, ptr, ptr } %struct.TYPE_6__ = type { ptr, ptr } @SNDRV_PCM_STATE_OPEN = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @snd_pcm_release_substream(ptr noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = add nsw i64 %2, -1 store i64 %3, ptr %0, align 8, !tbaa !5 %4 = icmp sgt i64 %2, 1 br i1 %4, label %44, label %5 5: ; preds = %1 %6 = tail call i32 @snd_pcm_drop(ptr noundef nonnull %0) #2 %7 = getelementptr inbounds %struct.snd_pcm_substream, ptr %0, i64 0, i32 3 %8 = load i64, ptr %7, align 8, !tbaa !12 %9 = icmp eq i64 %8, 0 br i1 %9, label %30, label %10 10: ; preds = %5 %11 = getelementptr inbounds %struct.snd_pcm_substream, ptr %0, i64 0, i32 4 %12 = load ptr, ptr %11, align 8, !tbaa !13 %13 = getelementptr inbounds %struct.TYPE_6__, ptr %12, i64 0, i32 1 %14 = load ptr, ptr %13, align 8, !tbaa !14 %15 = icmp eq ptr %14, null br i1 %15, label %26, label %16 16: ; preds = %10 %17 = getelementptr inbounds %struct.snd_pcm_substream, ptr %0, i64 0, i32 5 %18 = load ptr, ptr %17, align 8, !tbaa !16 %19 = load ptr, ptr %18, align 8, !tbaa !17 %20 = load i64, ptr %19, align 8, !tbaa !19 %21 = load i64, ptr @SNDRV_PCM_STATE_OPEN, align 8, !tbaa !21 %22 = icmp eq i64 %20, %21 br i1 %22, label %26, label %23 23: ; preds = %16 %24 = tail call i32 %14(ptr noundef nonnull %0) #2 %25 = load ptr, ptr %11, align 8, !tbaa !13 br label %26 26: ; preds = %23, %16, %10 %27 = phi ptr [ %25, %23 ], [ %12, %16 ], [ %12, %10 ] %28 = load ptr, ptr %27, align 8, !tbaa !22 %29 = tail call i32 %28(ptr noundef nonnull %0) #2 store i64 0, ptr %7, align 8, !tbaa !12 br label %30 30: ; preds = %26, %5 %31 = getelementptr inbounds %struct.snd_pcm_substream, ptr %0, i64 0, i32 2 %32 = tail call i64 @pm_qos_request_active(ptr noundef nonnull %31) #2 %33 = icmp eq i64 %32, 0 br i1 %33, label %36, label %34 34: ; preds = %30 %35 = tail call i32 @pm_qos_remove_request(ptr noundef nonnull %31) #2 br label %36 36: ; preds = %34, %30 %37 = getelementptr inbounds %struct.snd_pcm_substream, ptr %0, i64 0, i32 1 %38 = load ptr, ptr %37, align 8, !tbaa !23 %39 = icmp eq ptr %38, null br i1 %39, label %42, label %40 40: ; preds = %36 %41 = tail call i32 %38(ptr noundef nonnull %0) #2 store ptr null, ptr %37, align 8, !tbaa !23 br label %42 42: ; preds = %40, %36 %43 = tail call i32 @snd_pcm_detach_substream(ptr noundef nonnull %0) #2 br label %44 44: ; preds = %1, %42 ret void } declare i32 @snd_pcm_drop(ptr noundef) local_unnamed_addr #1 declare i64 @pm_qos_request_active(ptr noundef) local_unnamed_addr #1 declare i32 @pm_qos_remove_request(ptr noundef) local_unnamed_addr #1 declare i32 @snd_pcm_detach_substream(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 = !{!"snd_pcm_substream", !7, i64 0, !10, i64 8, !11, i64 16, !7, i64 24, !10, i64 32, !10, i64 40} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!6, !7, i64 24} !13 = !{!6, !10, i64 32} !14 = !{!15, !10, i64 8} !15 = !{!"TYPE_6__", !10, i64 0, !10, i64 8} !16 = !{!6, !10, i64 40} !17 = !{!18, !10, i64 0} !18 = !{!"TYPE_5__", !10, i64 0} !19 = !{!20, !7, i64 0} !20 = !{!"TYPE_4__", !7, i64 0} !21 = !{!7, !7, i64 0} !22 = !{!15, !10, i64 0} !23 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/linux/sound/core/extr_pcm_native.c_snd_pcm_release_substream.c' source_filename = "AnghaBench/linux/sound/core/extr_pcm_native.c_snd_pcm_release_substream.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SNDRV_PCM_STATE_OPEN = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @snd_pcm_release_substream(ptr noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = add nsw i64 %2, -1 store i64 %3, ptr %0, align 8, !tbaa !6 %4 = icmp sgt i64 %2, 1 br i1 %4, label %44, label %5 5: ; preds = %1 %6 = tail call i32 @snd_pcm_drop(ptr noundef nonnull %0) #2 %7 = getelementptr inbounds i8, ptr %0, i64 24 %8 = load i64, ptr %7, align 8, !tbaa !13 %9 = icmp eq i64 %8, 0 br i1 %9, label %30, label %10 10: ; preds = %5 %11 = getelementptr inbounds i8, ptr %0, i64 32 %12 = load ptr, ptr %11, align 8, !tbaa !14 %13 = getelementptr inbounds i8, ptr %12, i64 8 %14 = load ptr, ptr %13, align 8, !tbaa !15 %15 = icmp eq ptr %14, null br i1 %15, label %26, label %16 16: ; preds = %10 %17 = getelementptr inbounds i8, ptr %0, i64 40 %18 = load ptr, ptr %17, align 8, !tbaa !17 %19 = load ptr, ptr %18, align 8, !tbaa !18 %20 = load i64, ptr %19, align 8, !tbaa !20 %21 = load i64, ptr @SNDRV_PCM_STATE_OPEN, align 8, !tbaa !22 %22 = icmp eq i64 %20, %21 br i1 %22, label %26, label %23 23: ; preds = %16 %24 = tail call i32 %14(ptr noundef nonnull %0) #2 %25 = load ptr, ptr %11, align 8, !tbaa !14 br label %26 26: ; preds = %23, %16, %10 %27 = phi ptr [ %25, %23 ], [ %12, %16 ], [ %12, %10 ] %28 = load ptr, ptr %27, align 8, !tbaa !23 %29 = tail call i32 %28(ptr noundef nonnull %0) #2 store i64 0, ptr %7, align 8, !tbaa !13 br label %30 30: ; preds = %26, %5 %31 = getelementptr inbounds i8, ptr %0, i64 16 %32 = tail call i64 @pm_qos_request_active(ptr noundef nonnull %31) #2 %33 = icmp eq i64 %32, 0 br i1 %33, label %36, label %34 34: ; preds = %30 %35 = tail call i32 @pm_qos_remove_request(ptr noundef nonnull %31) #2 br label %36 36: ; preds = %34, %30 %37 = getelementptr inbounds i8, ptr %0, i64 8 %38 = load ptr, ptr %37, align 8, !tbaa !24 %39 = icmp eq ptr %38, null br i1 %39, label %42, label %40 40: ; preds = %36 %41 = tail call i32 %38(ptr noundef nonnull %0) #2 store ptr null, ptr %37, align 8, !tbaa !24 br label %42 42: ; preds = %40, %36 %43 = tail call i32 @snd_pcm_detach_substream(ptr noundef nonnull %0) #2 br label %44 44: ; preds = %1, %42 ret void } declare i32 @snd_pcm_drop(ptr noundef) local_unnamed_addr #1 declare i64 @pm_qos_request_active(ptr noundef) local_unnamed_addr #1 declare i32 @pm_qos_remove_request(ptr noundef) local_unnamed_addr #1 declare i32 @snd_pcm_detach_substream(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 = !{!"snd_pcm_substream", !8, i64 0, !11, i64 8, !12, i64 16, !8, i64 24, !11, i64 32, !11, i64 40} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!7, !8, i64 24} !14 = !{!7, !11, i64 32} !15 = !{!16, !11, i64 8} !16 = !{!"TYPE_6__", !11, i64 0, !11, i64 8} !17 = !{!7, !11, i64 40} !18 = !{!19, !11, i64 0} !19 = !{!"TYPE_5__", !11, i64 0} !20 = !{!21, !8, i64 0} !21 = !{!"TYPE_4__", !8, i64 0} !22 = !{!8, !8, i64 0} !23 = !{!16, !11, i64 0} !24 = !{!7, !11, i64 8}
linux_sound_core_extr_pcm_native.c_snd_pcm_release_substream
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/extr_lzio.c_luaZ_fill.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/extr_lzio.c_luaZ_fill.c" target datalayout = "e-m:e-p270:32:32-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, i64, ptr, i32, ptr } @EOZ = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @luaZ_fill(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = tail call i32 @lua_unlock(ptr noundef %4) #3 %6 = load ptr, ptr %0, align 8, !tbaa !12 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3 %8 = load i32, ptr %7, align 8, !tbaa !13 %9 = call ptr %6(ptr noundef %4, i32 noundef %8, ptr noundef nonnull %2) #3 %10 = call i32 @lua_lock(ptr noundef %4) #3 %11 = icmp eq ptr %9, null %12 = load i64, ptr %2, align 8 %13 = icmp eq i64 %12, 0 %14 = select i1 %11, i1 true, i1 %13 br i1 %14, label %15, label %17 15: ; preds = %1 %16 = load i32, ptr @EOZ, align 4, !tbaa !14 br label %25 17: ; preds = %1 %18 = add i64 %12, -1 %19 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 store i64 %18, ptr %19, align 8, !tbaa !15 %20 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %21 = getelementptr inbounds i8, ptr %9, i64 1 store ptr %21, ptr %20, align 8, !tbaa !16 %22 = load i8, ptr %9, align 1, !tbaa !17 %23 = sext i8 %22 to i32 %24 = call i32 @cast_uchar(i32 noundef %23) #3 br label %25 25: ; preds = %17, %15 %26 = phi i32 [ %16, %15 ], [ %24, %17 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %26 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @lua_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @lua_lock(ptr noundef) local_unnamed_addr #2 declare i32 @cast_uchar(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 32} !6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !7, i64 16, !11, i64 24, !7, i64 32} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!6, !11, i64 24} !14 = !{!11, !11, i64 0} !15 = !{!6, !10, i64 8} !16 = !{!6, !7, i64 16} !17 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/extr_lzio.c_luaZ_fill.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/extr_lzio.c_luaZ_fill.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EOZ = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @luaZ_fill(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = getelementptr inbounds i8, ptr %0, i64 32 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = tail call i32 @lua_unlock(ptr noundef %4) #3 %6 = load ptr, ptr %0, align 8, !tbaa !13 %7 = getelementptr inbounds i8, ptr %0, i64 24 %8 = load i32, ptr %7, align 8, !tbaa !14 %9 = call ptr %6(ptr noundef %4, i32 noundef %8, ptr noundef nonnull %2) #3 %10 = call i32 @lua_lock(ptr noundef %4) #3 %11 = icmp eq ptr %9, null %12 = load i64, ptr %2, align 8 %13 = icmp eq i64 %12, 0 %14 = select i1 %11, i1 true, i1 %13 br i1 %14, label %15, label %17 15: ; preds = %1 %16 = load i32, ptr @EOZ, align 4, !tbaa !15 br label %25 17: ; preds = %1 %18 = add i64 %12, -1 %19 = getelementptr inbounds i8, ptr %0, i64 8 store i64 %18, ptr %19, align 8, !tbaa !16 %20 = getelementptr inbounds i8, ptr %0, i64 16 %21 = getelementptr inbounds i8, ptr %9, i64 1 store ptr %21, ptr %20, align 8, !tbaa !17 %22 = load i8, ptr %9, align 1, !tbaa !18 %23 = sext i8 %22 to i32 %24 = call i32 @cast_uchar(i32 noundef %23) #3 br label %25 25: ; preds = %17, %15 %26 = phi i32 [ %16, %15 ], [ %24, %17 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %26 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @lua_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @lua_lock(ptr noundef) local_unnamed_addr #2 declare i32 @cast_uchar(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 32} !7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !8, i64 16, !12, i64 24, !8, i64 32} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!7, !12, i64 24} !15 = !{!12, !12, i64 0} !16 = !{!7, !11, i64 8} !17 = !{!7, !8, i64 16} !18 = !{!9, !9, i64 0}
freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_lua_extr_lzio.c_luaZ_fill
; ModuleID = 'AnghaBench/freebsd/contrib/libpcap/extr_gencode.c_gen_neg.c' source_filename = "AnghaBench/freebsd/contrib/libpcap/extr_gencode.c_gen_neg.c" target datalayout = "e-m:e-p270:32:32-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.arth = type { i32, i64 } @BPF_ALU = dso_local local_unnamed_addr global i32 0, align 4 @BPF_NEG = dso_local local_unnamed_addr global i32 0, align 4 @BPF_ST = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef ptr @gen_neg(ptr noundef %0, ptr noundef returned %1) local_unnamed_addr #0 { %3 = tail call ptr @xfer_to_a(ptr noundef %0, ptr noundef %1) #2 %4 = load i32, ptr %1, align 8, !tbaa !5 %5 = tail call i32 @sappend(i32 noundef %4, ptr noundef %3) #2 %6 = load i32, ptr @BPF_ALU, align 4, !tbaa !11 %7 = load i32, ptr @BPF_NEG, align 4, !tbaa !11 %8 = or i32 %7, %6 %9 = tail call ptr @new_stmt(ptr noundef %0, i32 noundef %8) #2 store i64 0, ptr %9, align 8, !tbaa !12 %10 = load i32, ptr %1, align 8, !tbaa !5 %11 = tail call i32 @sappend(i32 noundef %10, ptr noundef nonnull %9) #2 %12 = load i32, ptr @BPF_ST, align 4, !tbaa !11 %13 = tail call ptr @new_stmt(ptr noundef %0, i32 noundef %12) #2 %14 = getelementptr inbounds %struct.arth, ptr %1, i64 0, i32 1 %15 = load i64, ptr %14, align 8, !tbaa !15 store i64 %15, ptr %13, align 8, !tbaa !12 %16 = load i32, ptr %1, align 8, !tbaa !5 %17 = tail call i32 @sappend(i32 noundef %16, ptr noundef nonnull %13) #2 ret ptr %1 } declare ptr @xfer_to_a(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sappend(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @new_stmt(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"arth", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !10, i64 0} !13 = !{!"slist", !14, i64 0} !14 = !{!"TYPE_2__", !10, i64 0} !15 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/freebsd/contrib/libpcap/extr_gencode.c_gen_neg.c' source_filename = "AnghaBench/freebsd/contrib/libpcap/extr_gencode.c_gen_neg.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BPF_ALU = common local_unnamed_addr global i32 0, align 4 @BPF_NEG = common local_unnamed_addr global i32 0, align 4 @BPF_ST = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @gen_neg(ptr noundef %0, ptr noundef returned %1) local_unnamed_addr #0 { %3 = tail call ptr @xfer_to_a(ptr noundef %0, ptr noundef %1) #2 %4 = load i32, ptr %1, align 8, !tbaa !6 %5 = tail call i32 @sappend(i32 noundef %4, ptr noundef %3) #2 %6 = load i32, ptr @BPF_ALU, align 4, !tbaa !12 %7 = load i32, ptr @BPF_NEG, align 4, !tbaa !12 %8 = or i32 %7, %6 %9 = tail call ptr @new_stmt(ptr noundef %0, i32 noundef %8) #2 store i64 0, ptr %9, align 8, !tbaa !13 %10 = load i32, ptr %1, align 8, !tbaa !6 %11 = tail call i32 @sappend(i32 noundef %10, ptr noundef nonnull %9) #2 %12 = load i32, ptr @BPF_ST, align 4, !tbaa !12 %13 = tail call ptr @new_stmt(ptr noundef %0, i32 noundef %12) #2 %14 = getelementptr inbounds i8, ptr %1, i64 8 %15 = load i64, ptr %14, align 8, !tbaa !16 store i64 %15, ptr %13, align 8, !tbaa !13 %16 = load i32, ptr %1, align 8, !tbaa !6 %17 = tail call i32 @sappend(i32 noundef %16, ptr noundef nonnull %13) #2 ret ptr %1 } declare ptr @xfer_to_a(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sappend(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @new_stmt(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"arth", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"slist", !15, i64 0} !15 = !{!"TYPE_2__", !11, i64 0} !16 = !{!7, !11, i64 8}
freebsd_contrib_libpcap_extr_gencode.c_gen_neg
; ModuleID = 'AnghaBench/exploitdb/exploits/solaris_x86/local/extr_42270.c_is_suid_root.c' source_filename = "AnghaBench/exploitdb/exploits/solaris_x86/local/extr_42270.c_is_suid_root.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.stat = type { i32, i64 } @is_suid_root.sbuf = internal global %struct.stat zeroinitializer, align 8 @S_ISUID = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @is_suid_root], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @is_suid_root(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %3, label %5 3: ; preds = %1 %4 = tail call i32 (...) @die() #2 br label %5 5: ; preds = %3, %1 %6 = tail call i64 @stat(ptr noundef %0, ptr noundef nonnull @is_suid_root.sbuf) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %5 %9 = tail call i32 (...) @die() #2 br label %10 10: ; preds = %8, %5 %11 = load i32, ptr @is_suid_root.sbuf, align 8, !tbaa !5 %12 = tail call i32 @S_ISREG(i32 noundef %11) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %10 %15 = tail call i32 (...) @die() #2 br label %16 16: ; preds = %14, %10 %17 = load i64, ptr getelementptr inbounds (%struct.stat, ptr @is_suid_root.sbuf, i64 0, i32 1), align 8, !tbaa !11 %18 = icmp eq i64 %17, 0 %19 = load i32, ptr @is_suid_root.sbuf, align 8 %20 = load i32, ptr @S_ISUID, align 4 %21 = and i32 %20, %19 %22 = icmp ne i32 %21, 0 %23 = select i1 %18, i1 %22, i1 false %24 = zext i1 %23 to i32 ret i32 %24 } declare i32 @die(...) local_unnamed_addr #1 declare i64 @stat(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @S_ISREG(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 = !{!"stat", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/exploitdb/exploits/solaris_x86/local/extr_42270.c_is_suid_root.c' source_filename = "AnghaBench/exploitdb/exploits/solaris_x86/local/extr_42270.c_is_suid_root.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.stat = type { i32, i64 } @is_suid_root.sbuf = internal global %struct.stat zeroinitializer, align 8 @S_ISUID = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @is_suid_root], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @is_suid_root(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %3, label %5 3: ; preds = %1 %4 = tail call i32 @die() #2 br label %5 5: ; preds = %3, %1 %6 = tail call i64 @stat(ptr noundef %0, ptr noundef nonnull @is_suid_root.sbuf) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %5 %9 = tail call i32 @die() #2 br label %10 10: ; preds = %8, %5 %11 = load i32, ptr @is_suid_root.sbuf, align 8, !tbaa !6 %12 = tail call i32 @S_ISREG(i32 noundef %11) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %10 %15 = tail call i32 @die() #2 br label %16 16: ; preds = %14, %10 %17 = load i64, ptr getelementptr inbounds (i8, ptr @is_suid_root.sbuf, i64 8), align 8, !tbaa !12 %18 = icmp eq i64 %17, 0 %19 = load i32, ptr @is_suid_root.sbuf, align 8 %20 = load i32, ptr @S_ISUID, align 4 %21 = and i32 %20, %19 %22 = icmp ne i32 %21, 0 %23 = select i1 %18, i1 %22, i1 false %24 = zext i1 %23 to i32 ret i32 %24 } declare i32 @die(...) local_unnamed_addr #1 declare i64 @stat(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @S_ISREG(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 = !{!"stat", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !11, i64 8}
exploitdb_exploits_solaris_x86_local_extr_42270.c_is_suid_root
; ModuleID = 'AnghaBench/linux/net/core/extr_dev_ioctl.c_dev_ifname.c' source_filename = "AnghaBench/linux/net/core/extr_dev_ioctl.c_dev_ifname.c" target datalayout = "e-m:e-p270:32:32-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.ifreq = type { i32, ptr } @IFNAMSIZ = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dev_ifname], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @dev_ifname(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds %struct.ifreq, ptr %1, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr @IFNAMSIZ, align 4, !tbaa !11 %6 = sext i32 %5 to i64 %7 = getelementptr i64, ptr %4, i64 %6 %8 = getelementptr i64, ptr %7, i64 -1 store i64 0, ptr %8, align 8, !tbaa !12 %9 = load i32, ptr %1, align 8, !tbaa !14 %10 = tail call i32 @netdev_get_name(ptr noundef %0, ptr noundef %4, i32 noundef %9) #2 ret i32 %10 } declare i32 @netdev_get_name(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"ifreq", !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, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/net/core/extr_dev_ioctl.c_dev_ifname.c' source_filename = "AnghaBench/linux/net/core/extr_dev_ioctl.c_dev_ifname.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IFNAMSIZ = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dev_ifname], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @dev_ifname(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr @IFNAMSIZ, align 4, !tbaa !12 %6 = sext i32 %5 to i64 %7 = getelementptr i64, ptr %4, i64 %6 %8 = getelementptr i8, ptr %7, i64 -8 store i64 0, ptr %8, align 8, !tbaa !13 %9 = load i32, ptr %1, align 8, !tbaa !15 %10 = tail call i32 @netdev_get_name(ptr noundef %0, ptr noundef %4, i32 noundef %9) #2 ret i32 %10 } declare i32 @netdev_get_name(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"ifreq", !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, !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!7, !8, i64 0}
linux_net_core_extr_dev_ioctl.c_dev_ifname
; ModuleID = 'AnghaBench/linux/drivers/clk/pxa/extr_clk-pxa3xx.c_clk_pxa3xx_smemc_get_rate.c' source_filename = "AnghaBench/linux/drivers/clk/pxa/extr_clk-pxa3xx.c_clk_pxa3xx_smemc_get_rate.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ACSR = dso_local local_unnamed_addr global i64 0, align 8 @MEMCLKCFG = dso_local local_unnamed_addr global i32 0, align 4 @smcfs_mult = dso_local local_unnamed_addr global ptr null, align 8 @df_clkdiv = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @clk_pxa3xx_smemc_get_rate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @clk_pxa3xx_smemc_get_rate(ptr nocapture readnone %0, i64 noundef %1) #0 { %3 = load i64, ptr @ACSR, align 8, !tbaa !5 %4 = load i32, ptr @MEMCLKCFG, align 4, !tbaa !9 %5 = tail call i64 @__raw_readl(i32 noundef %4) #2 %6 = udiv i64 %1, 48 %7 = load ptr, ptr @smcfs_mult, align 8, !tbaa !11 %8 = lshr i64 %3, 23 %9 = and i64 %8, 7 %10 = getelementptr inbounds i64, ptr %7, i64 %9 %11 = load i64, ptr %10, align 8, !tbaa !5 %12 = mul i64 %11, %6 %13 = load ptr, ptr @df_clkdiv, align 8, !tbaa !11 %14 = lshr i64 %5, 16 %15 = and i64 %14, 3 %16 = getelementptr inbounds i64, ptr %13, i64 %15 %17 = load i64, ptr %16, align 8, !tbaa !5 %18 = udiv i64 %12, %17 ret i64 %18 } declare i64 @__raw_readl(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/clk/pxa/extr_clk-pxa3xx.c_clk_pxa3xx_smemc_get_rate.c' source_filename = "AnghaBench/linux/drivers/clk/pxa/extr_clk-pxa3xx.c_clk_pxa3xx_smemc_get_rate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ACSR = common local_unnamed_addr global i64 0, align 8 @MEMCLKCFG = common local_unnamed_addr global i32 0, align 4 @smcfs_mult = common local_unnamed_addr global ptr null, align 8 @df_clkdiv = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @clk_pxa3xx_smemc_get_rate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @clk_pxa3xx_smemc_get_rate(ptr nocapture readnone %0, i64 noundef %1) #0 { %3 = load i64, ptr @ACSR, align 8, !tbaa !6 %4 = load i32, ptr @MEMCLKCFG, align 4, !tbaa !10 %5 = tail call i64 @__raw_readl(i32 noundef %4) #2 %6 = udiv i64 %1, 48 %7 = load ptr, ptr @smcfs_mult, align 8, !tbaa !12 %8 = lshr i64 %3, 23 %9 = and i64 %8, 7 %10 = getelementptr inbounds i64, ptr %7, i64 %9 %11 = load i64, ptr %10, align 8, !tbaa !6 %12 = mul i64 %11, %6 %13 = load ptr, ptr @df_clkdiv, align 8, !tbaa !12 %14 = lshr i64 %5, 16 %15 = and i64 %14, 3 %16 = getelementptr inbounds i64, ptr %13, i64 %15 %17 = load i64, ptr %16, align 8, !tbaa !6 %18 = udiv i64 %12, %17 ret i64 %18 } declare i64 @__raw_readl(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0}
linux_drivers_clk_pxa_extr_clk-pxa3xx.c_clk_pxa3xx_smemc_get_rate
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/freescale/extr_..pinconf.h_pinconf_apply_setting.c' source_filename = "AnghaBench/linux/drivers/pinctrl/freescale/extr_..pinconf.h_pinconf_apply_setting.c" target datalayout = "e-m:e-p270:32:32-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 @pinconf_apply_setting], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @pinconf_apply_setting(ptr nocapture readnone %0) #0 { ret i32 0 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/freescale/extr_..pinconf.h_pinconf_apply_setting.c' source_filename = "AnghaBench/linux/drivers/pinctrl/freescale/extr_..pinconf.h_pinconf_apply_setting.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 @pinconf_apply_setting], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @pinconf_apply_setting(ptr nocapture readnone %0) #0 { ret i32 0 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_pinctrl_freescale_extr_..pinconf.h_pinconf_apply_setting
; ModuleID = 'AnghaBench/linux/tools/testing/nvdimm/test/extr_nfit.c_fail_cmd_code_store.c' source_filename = "AnghaBench/linux/tools/testing/nvdimm/test/extr_nfit.c_fail_cmd_code_store.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @dimm_fail_cmd_code = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @fail_cmd_code_store], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @fail_cmd_code_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = tail call i32 @dimm_name_to_id(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %7 = icmp slt i32 %6, 0 br i1 %7, label %17, label %8 8: ; preds = %4 %9 = call i32 @kstrtol(ptr noundef %2, i32 noundef 0, ptr noundef nonnull %5) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %8 %12 = load i64, ptr %5, align 8, !tbaa !5 %13 = load ptr, ptr @dimm_fail_cmd_code, align 8, !tbaa !9 %14 = zext nneg i32 %6 to i64 %15 = getelementptr inbounds i64, ptr %13, i64 %14 store i64 %12, ptr %15, align 8, !tbaa !5 %16 = trunc i64 %3 to i32 br label %17 17: ; preds = %8, %4, %11 %18 = phi i32 [ %16, %11 ], [ %6, %4 ], [ %9, %8 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %18 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @dimm_name_to_id(ptr noundef) local_unnamed_addr #2 declare i32 @kstrtol(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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/linux/tools/testing/nvdimm/test/extr_nfit.c_fail_cmd_code_store.c' source_filename = "AnghaBench/linux/tools/testing/nvdimm/test/extr_nfit.c_fail_cmd_code_store.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @dimm_fail_cmd_code = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @fail_cmd_code_store], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @fail_cmd_code_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = tail call i32 @dimm_name_to_id(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %7 = icmp slt i32 %6, 0 br i1 %7, label %17, label %8 8: ; preds = %4 %9 = call i32 @kstrtol(ptr noundef %2, i32 noundef 0, ptr noundef nonnull %5) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %8 %12 = load i64, ptr %5, align 8, !tbaa !6 %13 = load ptr, ptr @dimm_fail_cmd_code, align 8, !tbaa !10 %14 = zext nneg i32 %6 to i64 %15 = getelementptr inbounds i64, ptr %13, i64 %14 store i64 %12, ptr %15, align 8, !tbaa !6 %16 = trunc i64 %3 to i32 br label %17 17: ; preds = %8, %4, %11 %18 = phi i32 [ %16, %11 ], [ %6, %4 ], [ %9, %8 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %18 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @dimm_name_to_id(ptr noundef) local_unnamed_addr #2 declare i32 @kstrtol(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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0}
linux_tools_testing_nvdimm_test_extr_nfit.c_fail_cmd_code_store
; ModuleID = 'AnghaBench/fastsocket/kernel/net/wireless/extr_util.c_set_mandatory_flags_band.c' source_filename = "AnghaBench/fastsocket/kernel/net/wireless/extr_util.c_set_mandatory_flags_band.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ieee80211_supported_band = type { i32, %struct.TYPE_6__, ptr } %struct.TYPE_6__ = type { %struct.TYPE_5__, i32 } %struct.TYPE_5__ = type { ptr } %struct.TYPE_4__ = type { i32, i32 } @IEEE80211_RATE_MANDATORY_A = dso_local local_unnamed_addr global i32 0, align 4 @IEEE80211_RATE_MANDATORY_B = dso_local local_unnamed_addr global i32 0, align 4 @IEEE80211_RATE_MANDATORY_G = dso_local local_unnamed_addr global i32 0, align 4 @IEEE80211_RATE_ERP_G = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @set_mandatory_flags_band], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @set_mandatory_flags_band(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { switch i32 %1, label %113 [ i32 130, label %10 i32 131, label %3 i32 129, label %84 i32 128, label %110 ] 3: ; preds = %2 %4 = load i32, ptr %0, align 8, !tbaa !5 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %80 6: ; preds = %3 %7 = getelementptr inbounds %struct.ieee80211_supported_band, ptr %0, i64 0, i32 2 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = zext nneg i32 %4 to i64 br label %49 10: ; preds = %2 %11 = load i32, ptr %0, align 8, !tbaa !5 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %110 13: ; preds = %10 %14 = getelementptr inbounds %struct.ieee80211_supported_band, ptr %0, i64 0, i32 2 %15 = load ptr, ptr %14, align 8, !tbaa !13 %16 = zext nneg i32 %11 to i64 %17 = and i64 %16, 1 %18 = icmp eq i32 %11, 1 br i1 %18, label %96, label %19 19: ; preds = %13 %20 = and i64 %16, 2147483646 br label %21 21: ; preds = %44, %19 %22 = phi i64 [ 0, %19 ], [ %46, %44 ] %23 = phi i32 [ 3, %19 ], [ %45, %44 ] %24 = phi i64 [ 0, %19 ], [ %47, %44 ] %25 = getelementptr inbounds %struct.TYPE_4__, ptr %15, i64 %22 %26 = load i32, ptr %25, align 4, !tbaa !14 switch i32 %26, label %33 [ i32 60, label %27 i32 120, label %27 i32 240, label %27 ] 27: ; preds = %21, %21, %21 %28 = load i32, ptr @IEEE80211_RATE_MANDATORY_A, align 4, !tbaa !16 %29 = getelementptr inbounds %struct.TYPE_4__, ptr %15, i64 %22, i32 1 %30 = load i32, ptr %29, align 4, !tbaa !17 %31 = or i32 %30, %28 store i32 %31, ptr %29, align 4, !tbaa !17 %32 = add nsw i32 %23, -1 br label %33 33: ; preds = %21, %27 %34 = phi i32 [ %32, %27 ], [ %23, %21 ] %35 = or disjoint i64 %22, 1 %36 = getelementptr inbounds %struct.TYPE_4__, ptr %15, i64 %35 %37 = load i32, ptr %36, align 4, !tbaa !14 switch i32 %37, label %44 [ i32 60, label %38 i32 120, label %38 i32 240, label %38 ] 38: ; preds = %33, %33, %33 %39 = load i32, ptr @IEEE80211_RATE_MANDATORY_A, align 4, !tbaa !16 %40 = getelementptr inbounds %struct.TYPE_4__, ptr %15, i64 %35, i32 1 %41 = load i32, ptr %40, align 4, !tbaa !17 %42 = or i32 %41, %39 store i32 %42, ptr %40, align 4, !tbaa !17 %43 = add nsw i32 %34, -1 br label %44 44: ; preds = %38, %33 %45 = phi i32 [ %43, %38 ], [ %34, %33 ] %46 = add nuw nsw i64 %22, 2 %47 = add i64 %24, 2 %48 = icmp eq i64 %47, %20 br i1 %48, label %96, label %21, !llvm.loop !18 49: ; preds = %6, %75 %50 = phi i64 [ 0, %6 ], [ %77, %75 ] %51 = phi i32 [ 7, %6 ], [ %76, %75 ] %52 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i64 %50 %53 = load i32, ptr %52, align 4, !tbaa !14 switch i32 %53, label %68 [ i32 10, label %54 i32 20, label %62 i32 55, label %62 i32 110, label %62 i32 60, label %62 i32 120, label %62 i32 240, label %62 ] 54: ; preds = %49 %55 = load i32, ptr @IEEE80211_RATE_MANDATORY_B, align 4, !tbaa !16 %56 = load i32, ptr @IEEE80211_RATE_MANDATORY_G, align 4, !tbaa !16 %57 = or i32 %56, %55 %58 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i64 %50, i32 1 %59 = load i32, ptr %58, align 4, !tbaa !17 %60 = or i32 %57, %59 store i32 %60, ptr %58, align 4, !tbaa !17 %61 = add nsw i32 %51, -1 br label %75 62: ; preds = %49, %49, %49, %49, %49, %49 %63 = load i32, ptr @IEEE80211_RATE_MANDATORY_G, align 4, !tbaa !16 %64 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i64 %50, i32 1 %65 = load i32, ptr %64, align 4, !tbaa !17 %66 = or i32 %65, %63 store i32 %66, ptr %64, align 4, !tbaa !17 %67 = add nsw i32 %51, -1 br label %68 68: ; preds = %49, %62 %69 = phi i32 [ %67, %62 ], [ %51, %49 ] switch i32 %53, label %70 [ i32 110, label %75 i32 20, label %75 i32 55, label %75 ] 70: ; preds = %68 %71 = load i32, ptr @IEEE80211_RATE_ERP_G, align 4, !tbaa !16 %72 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i64 %50, i32 1 %73 = load i32, ptr %72, align 4, !tbaa !17 %74 = or i32 %73, %71 store i32 %74, ptr %72, align 4, !tbaa !17 br label %75 75: ; preds = %68, %54, %68, %68, %70 %76 = phi i32 [ %61, %54 ], [ %69, %68 ], [ %69, %68 ], [ %69, %68 ], [ %69, %70 ] %77 = add nuw nsw i64 %50, 1 %78 = icmp eq i64 %77, %9 br i1 %78, label %79, label %49, !llvm.loop !20 79: ; preds = %75 switch i32 %76, label %80 [ i32 3, label %110 i32 0, label %110 ] 80: ; preds = %3, %79 %81 = phi i32 [ %76, %79 ], [ 7, %3 ] %82 = icmp ne i32 %81, 6 %83 = zext i1 %82 to i32 br label %110 84: ; preds = %2 %85 = getelementptr inbounds %struct.ieee80211_supported_band, ptr %0, i64 0, i32 1 %86 = getelementptr inbounds %struct.ieee80211_supported_band, ptr %0, i64 0, i32 1, i32 1 %87 = load i32, ptr %86, align 8, !tbaa !21 %88 = icmp eq i32 %87, 0 %89 = zext i1 %88 to i32 %90 = tail call i32 @WARN_ON(i32 noundef %89) #2 %91 = load ptr, ptr %85, align 8, !tbaa !22 %92 = load i32, ptr %91, align 4, !tbaa !16 %93 = and i32 %92, 30 %94 = icmp ne i32 %93, 30 %95 = zext i1 %94 to i32 br label %110 96: ; preds = %44, %13 %97 = phi i32 [ undef, %13 ], [ %45, %44 ] %98 = phi i64 [ 0, %13 ], [ %46, %44 ] %99 = phi i32 [ 3, %13 ], [ %45, %44 ] %100 = icmp eq i64 %17, 0 br i1 %100, label %110, label %101 101: ; preds = %96 %102 = getelementptr inbounds %struct.TYPE_4__, ptr %15, i64 %98 %103 = load i32, ptr %102, align 4, !tbaa !14 switch i32 %103, label %110 [ i32 60, label %104 i32 120, label %104 i32 240, label %104 ] 104: ; preds = %101, %101, %101 %105 = load i32, ptr @IEEE80211_RATE_MANDATORY_A, align 4, !tbaa !16 %106 = getelementptr inbounds %struct.TYPE_4__, ptr %15, i64 %98, i32 1 %107 = load i32, ptr %106, align 4, !tbaa !17 %108 = or i32 %107, %105 store i32 %108, ptr %106, align 4, !tbaa !17 %109 = add nsw i32 %99, -1 br label %110 110: ; preds = %96, %104, %101, %2, %80, %79, %79, %10, %84 %111 = phi i32 [ %95, %84 ], [ 3, %10 ], [ 0, %79 ], [ %83, %80 ], [ 0, %79 ], [ 1, %2 ], [ %97, %96 ], [ %109, %104 ], [ %99, %101 ] %112 = tail call i32 @WARN_ON(i32 noundef %111) #2 br label %113 113: ; preds = %110, %2 ret void } declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ieee80211_supported_band", !7, i64 0, !10, i64 8, !12, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_6__", !11, i64 0, !7, i64 8} !11 = !{!"TYPE_5__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!6, !12, i64 24} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_4__", !7, i64 0, !7, i64 4} !16 = !{!7, !7, i64 0} !17 = !{!15, !7, i64 4} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = distinct !{!20, !19} !21 = !{!6, !7, i64 16} !22 = !{!6, !12, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/wireless/extr_util.c_set_mandatory_flags_band.c' source_filename = "AnghaBench/fastsocket/kernel/net/wireless/extr_util.c_set_mandatory_flags_band.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i32, i32 } @IEEE80211_RATE_MANDATORY_A = common local_unnamed_addr global i32 0, align 4 @IEEE80211_RATE_MANDATORY_B = common local_unnamed_addr global i32 0, align 4 @IEEE80211_RATE_MANDATORY_G = common local_unnamed_addr global i32 0, align 4 @IEEE80211_RATE_ERP_G = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @set_mandatory_flags_band], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @set_mandatory_flags_band(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { switch i32 %1, label %82 [ i32 130, label %10 i32 131, label %3 i32 129, label %67 i32 128, label %79 ] 3: ; preds = %2 %4 = load i32, ptr %0, align 8, !tbaa !6 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %63 6: ; preds = %3 %7 = getelementptr inbounds i8, ptr %0, i64 24 %8 = load ptr, ptr %7, align 8, !tbaa !14 %9 = zext nneg i32 %4 to i64 br label %32 10: ; preds = %2 %11 = load i32, ptr %0, align 8, !tbaa !6 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %79 13: ; preds = %10 %14 = getelementptr inbounds i8, ptr %0, i64 24 %15 = load ptr, ptr %14, align 8, !tbaa !14 %16 = zext nneg i32 %11 to i64 br label %17 17: ; preds = %13, %28 %18 = phi i64 [ 0, %13 ], [ %30, %28 ] %19 = phi i32 [ 3, %13 ], [ %29, %28 ] %20 = getelementptr inbounds %struct.TYPE_4__, ptr %15, i64 %18 %21 = load i32, ptr %20, align 4, !tbaa !15 switch i32 %21, label %28 [ i32 60, label %22 i32 120, label %22 i32 240, label %22 ] 22: ; preds = %17, %17, %17 %23 = load i32, ptr @IEEE80211_RATE_MANDATORY_A, align 4, !tbaa !17 %24 = getelementptr inbounds %struct.TYPE_4__, ptr %15, i64 %18, i32 1 %25 = load i32, ptr %24, align 4, !tbaa !18 %26 = or i32 %25, %23 store i32 %26, ptr %24, align 4, !tbaa !18 %27 = add nsw i32 %19, -1 br label %28 28: ; preds = %17, %22 %29 = phi i32 [ %27, %22 ], [ %19, %17 ] %30 = add nuw nsw i64 %18, 1 %31 = icmp eq i64 %30, %16 br i1 %31, label %79, label %17, !llvm.loop !19 32: ; preds = %6, %58 %33 = phi i64 [ 0, %6 ], [ %60, %58 ] %34 = phi i32 [ 7, %6 ], [ %59, %58 ] %35 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i64 %33 %36 = load i32, ptr %35, align 4, !tbaa !15 switch i32 %36, label %51 [ i32 10, label %37 i32 20, label %45 i32 55, label %45 i32 110, label %45 i32 60, label %45 i32 120, label %45 i32 240, label %45 ] 37: ; preds = %32 %38 = load i32, ptr @IEEE80211_RATE_MANDATORY_B, align 4, !tbaa !17 %39 = load i32, ptr @IEEE80211_RATE_MANDATORY_G, align 4, !tbaa !17 %40 = or i32 %39, %38 %41 = getelementptr inbounds i8, ptr %35, i64 4 %42 = load i32, ptr %41, align 4, !tbaa !18 %43 = or i32 %40, %42 store i32 %43, ptr %41, align 4, !tbaa !18 %44 = add nsw i32 %34, -1 br label %58 45: ; preds = %32, %32, %32, %32, %32, %32 %46 = load i32, ptr @IEEE80211_RATE_MANDATORY_G, align 4, !tbaa !17 %47 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i64 %33, i32 1 %48 = load i32, ptr %47, align 4, !tbaa !18 %49 = or i32 %48, %46 store i32 %49, ptr %47, align 4, !tbaa !18 %50 = add nsw i32 %34, -1 br label %51 51: ; preds = %32, %45 %52 = phi i32 [ %50, %45 ], [ %34, %32 ] switch i32 %36, label %53 [ i32 110, label %58 i32 20, label %58 i32 55, label %58 ] 53: ; preds = %51 %54 = load i32, ptr @IEEE80211_RATE_ERP_G, align 4, !tbaa !17 %55 = getelementptr inbounds i8, ptr %35, i64 4 %56 = load i32, ptr %55, align 4, !tbaa !18 %57 = or i32 %56, %54 store i32 %57, ptr %55, align 4, !tbaa !18 br label %58 58: ; preds = %51, %37, %51, %51, %53 %59 = phi i32 [ %44, %37 ], [ %52, %51 ], [ %52, %51 ], [ %52, %51 ], [ %52, %53 ] %60 = add nuw nsw i64 %33, 1 %61 = icmp eq i64 %60, %9 br i1 %61, label %62, label %32, !llvm.loop !21 62: ; preds = %58 switch i32 %59, label %63 [ i32 3, label %79 i32 0, label %79 ] 63: ; preds = %3, %62 %64 = phi i32 [ %59, %62 ], [ 7, %3 ] %65 = icmp ne i32 %64, 6 %66 = zext i1 %65 to i32 br label %79 67: ; preds = %2 %68 = getelementptr inbounds i8, ptr %0, i64 8 %69 = getelementptr inbounds i8, ptr %0, i64 16 %70 = load i32, ptr %69, align 8, !tbaa !22 %71 = icmp eq i32 %70, 0 %72 = zext i1 %71 to i32 %73 = tail call i32 @WARN_ON(i32 noundef %72) #2 %74 = load ptr, ptr %68, align 8, !tbaa !23 %75 = load i32, ptr %74, align 4, !tbaa !17 %76 = and i32 %75, 30 %77 = icmp ne i32 %76, 30 %78 = zext i1 %77 to i32 br label %79 79: ; preds = %28, %2, %63, %62, %62, %10, %67 %80 = phi i32 [ %78, %67 ], [ 3, %10 ], [ 0, %62 ], [ %66, %63 ], [ 0, %62 ], [ 1, %2 ], [ %29, %28 ] %81 = tail call i32 @WARN_ON(i32 noundef %80) #2 br label %82 82: ; preds = %79, %2 ret void } declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ieee80211_supported_band", !8, i64 0, !11, i64 8, !13, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_6__", !12, i64 0, !8, i64 8} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!7, !13, i64 24} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_4__", !8, i64 0, !8, i64 4} !17 = !{!8, !8, i64 0} !18 = !{!16, !8, i64 4} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = distinct !{!21, !20} !22 = !{!7, !8, i64 16} !23 = !{!7, !13, i64 8}
fastsocket_kernel_net_wireless_extr_util.c_set_mandatory_flags_band
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_fb.c_radeon_fb_remove_connector.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_fb.c_radeon_fb_remove_connector.c" target datalayout = "e-m:e-p270:32:32-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 @radeon_fb_remove_connector(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 @drm_fb_helper_remove_one_connector(ptr noundef nonnull %3, ptr noundef %1) #2 br label %7 7: ; preds = %5, %2 ret void } declare i32 @drm_fb_helper_remove_one_connector(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, !8, i64 0} !6 = !{!"radeon_device", !7, 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"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_fb.c_radeon_fb_remove_connector.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_fb.c_radeon_fb_remove_connector.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 @radeon_fb_remove_connector(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 @drm_fb_helper_remove_one_connector(ptr noundef nonnull %3, ptr noundef %1) #2 br label %7 7: ; preds = %5, %2 ret void } declare i32 @drm_fb_helper_remove_one_connector(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, !9, i64 0} !7 = !{!"radeon_device", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_radeon_extr_radeon_fb.c_radeon_fb_remove_connector
; ModuleID = 'AnghaBench/freebsd/sbin/hastd/extr_proto_tcp.c_tcp_wrap.c' source_filename = "AnghaBench/freebsd/sbin/hastd/extr_proto_tcp.c_tcp_wrap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TCP_SIDE_CLIENT = dso_local local_unnamed_addr global i32 0, align 4 @TCP_SIDE_SERVER_WORK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tcp_wrap], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @tcp_wrap(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = icmp eq i32 %1, 0 %5 = load i32, ptr @TCP_SIDE_CLIENT, align 4 %6 = load i32, ptr @TCP_SIDE_SERVER_WORK, align 4 %7 = select i1 %4, i32 %6, i32 %5 %8 = tail call i32 @tcp_setup_wrap(i32 noundef %0, i32 noundef %7, ptr noundef %2) #2 ret i32 %8 } declare i32 @tcp_setup_wrap(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/freebsd/sbin/hastd/extr_proto_tcp.c_tcp_wrap.c' source_filename = "AnghaBench/freebsd/sbin/hastd/extr_proto_tcp.c_tcp_wrap.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TCP_SIDE_CLIENT = common local_unnamed_addr global i32 0, align 4 @TCP_SIDE_SERVER_WORK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tcp_wrap], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @tcp_wrap(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = icmp eq i32 %1, 0 %5 = load i32, ptr @TCP_SIDE_CLIENT, align 4 %6 = load i32, ptr @TCP_SIDE_SERVER_WORK, align 4 %7 = select i1 %4, i32 %6, i32 %5 %8 = tail call i32 @tcp_setup_wrap(i32 noundef %0, i32 noundef %7, ptr noundef %2) #2 ret i32 %8 } declare i32 @tcp_setup_wrap(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)"}
freebsd_sbin_hastd_extr_proto_tcp.c_tcp_wrap
; ModuleID = 'AnghaBench/reactos/modules/rostests/apitests/gdi32/extr_EngAcquireSemaphore.c_Test_EngAcquireSemaphore.c' source_filename = "AnghaBench/reactos/modules/rostests/apitests/gdi32/extr_EngAcquireSemaphore.c_Test_EngAcquireSemaphore.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32, i32, i32, ptr } %struct.TYPE_3__ = type { i32, i32, i32, i32 } @.str = private unnamed_addr constant [27 x i8] c"EngCreateSemaphore failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"lpcrit->RecursionCount=%ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"lpcrit->OwningThread=%p\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"lpcrit->LockSemaphore=%p\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"lpcrit->SpinCount=%ld\0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"no DebugInfo\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"DebugInfo->Type=%d\0A\00", align 1 @.str.7 = private unnamed_addr constant [37 x i8] c"DebugInfo->CreatorBackTraceIndex=%d\0A\00", align 1 @.str.8 = private unnamed_addr constant [27 x i8] c"DebugInfo->EntryCount=%ld\0A\00", align 1 @.str.9 = private unnamed_addr constant [32 x i8] c"DebugInfo->ContentionCount=%ld\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @Test_EngAcquireSemaphore() local_unnamed_addr #0 { %1 = tail call ptr (...) @EngCreateSemaphore() #2 %2 = icmp ne ptr %1, null %3 = zext i1 %2 to i32 %4 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %3, ptr noundef nonnull @.str) #2 br i1 %2, label %5, label %59 5: ; preds = %0 %6 = tail call i32 @EngAcquireSemaphore(ptr noundef nonnull %1) #2 %7 = load i32, ptr %1, align 8, !tbaa !5 %8 = icmp eq i32 %7, 1 %9 = zext i1 %8 to i32 %10 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %9, ptr noundef nonnull @.str.1, i32 noundef %7) #2 %11 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !11 %13 = icmp ne i32 %12, 0 %14 = zext i1 %13 to i32 %15 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %14, ptr noundef nonnull @.str.2, i32 noundef %12) #2 %16 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2 %17 = load i32, ptr %16, align 8, !tbaa !12 %18 = icmp eq i32 %17, 0 %19 = zext i1 %18 to i32 %20 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %19, ptr noundef nonnull @.str.3, i32 noundef %17) #2 %21 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 3 %22 = load i32, ptr %21, align 4, !tbaa !13 %23 = icmp eq i32 %22, 0 %24 = zext i1 %23 to i32 %25 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %24, ptr noundef nonnull @.str.4, i32 noundef %22) #2 %26 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 4 %27 = load ptr, ptr %26, align 8, !tbaa !14 %28 = icmp ne ptr %27, null %29 = zext i1 %28 to i32 %30 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %29, ptr noundef nonnull @.str.5) #2 %31 = load ptr, ptr %26, align 8, !tbaa !14 %32 = icmp eq ptr %31, null br i1 %32, label %56, label %33 33: ; preds = %5 %34 = load i32, ptr %31, align 4, !tbaa !15 %35 = icmp eq i32 %34, 0 %36 = zext i1 %35 to i32 %37 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %36, ptr noundef nonnull @.str.6, i32 noundef %34) #2 %38 = load ptr, ptr %26, align 8, !tbaa !14 %39 = getelementptr inbounds %struct.TYPE_3__, ptr %38, i64 0, i32 1 %40 = load i32, ptr %39, align 4, !tbaa !17 %41 = icmp eq i32 %40, 0 %42 = zext i1 %41 to i32 %43 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %42, ptr noundef nonnull @.str.7, i32 noundef %40) #2 %44 = load ptr, ptr %26, align 8, !tbaa !14 %45 = getelementptr inbounds %struct.TYPE_3__, ptr %44, i64 0, i32 2 %46 = load i32, ptr %45, align 4, !tbaa !18 %47 = icmp eq i32 %46, 0 %48 = zext i1 %47 to i32 %49 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %48, ptr noundef nonnull @.str.8, i32 noundef %46) #2 %50 = load ptr, ptr %26, align 8, !tbaa !14 %51 = getelementptr inbounds %struct.TYPE_3__, ptr %50, i64 0, i32 3 %52 = load i32, ptr %51, align 4, !tbaa !19 %53 = icmp eq i32 %52, 0 %54 = zext i1 %53 to i32 %55 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %54, ptr noundef nonnull @.str.9, i32 noundef %52) #2 br label %56 56: ; preds = %33, %5 %57 = tail call i32 @EngReleaseSemaphore(ptr noundef nonnull %1) #2 %58 = tail call i32 @EngDeleteSemaphore(ptr noundef nonnull %1) #2 br label %59 59: ; preds = %0, %56 ret void } declare ptr @EngCreateSemaphore(...) local_unnamed_addr #1 declare i32 @ok(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @EngAcquireSemaphore(ptr noundef) local_unnamed_addr #1 declare i32 @EngReleaseSemaphore(ptr noundef) local_unnamed_addr #1 declare i32 @EngDeleteSemaphore(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, i64 4, !7, i64 8, !7, i64 12, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 4} !12 = !{!6, !7, i64 8} !13 = !{!6, !7, i64 12} !14 = !{!6, !10, i64 16} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !17 = !{!16, !7, i64 4} !18 = !{!16, !7, i64 8} !19 = !{!16, !7, i64 12}
; ModuleID = 'AnghaBench/reactos/modules/rostests/apitests/gdi32/extr_EngAcquireSemaphore.c_Test_EngAcquireSemaphore.c' source_filename = "AnghaBench/reactos/modules/rostests/apitests/gdi32/extr_EngAcquireSemaphore.c_Test_EngAcquireSemaphore.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [27 x i8] c"EngCreateSemaphore failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"lpcrit->RecursionCount=%ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"lpcrit->OwningThread=%p\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"lpcrit->LockSemaphore=%p\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"lpcrit->SpinCount=%ld\0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"no DebugInfo\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"DebugInfo->Type=%d\0A\00", align 1 @.str.7 = private unnamed_addr constant [37 x i8] c"DebugInfo->CreatorBackTraceIndex=%d\0A\00", align 1 @.str.8 = private unnamed_addr constant [27 x i8] c"DebugInfo->EntryCount=%ld\0A\00", align 1 @.str.9 = private unnamed_addr constant [32 x i8] c"DebugInfo->ContentionCount=%ld\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @Test_EngAcquireSemaphore() local_unnamed_addr #0 { %1 = tail call ptr @EngCreateSemaphore() #2 %2 = icmp ne ptr %1, null %3 = zext i1 %2 to i32 %4 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %3, ptr noundef nonnull @.str) #2 br i1 %2, label %5, label %59 5: ; preds = %0 %6 = tail call i32 @EngAcquireSemaphore(ptr noundef nonnull %1) #2 %7 = load i32, ptr %1, align 8, !tbaa !6 %8 = icmp eq i32 %7, 1 %9 = zext i1 %8 to i32 %10 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %9, ptr noundef nonnull @.str.1, i32 noundef %7) #2 %11 = getelementptr inbounds i8, ptr %1, i64 4 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = icmp ne i32 %12, 0 %14 = zext i1 %13 to i32 %15 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %14, ptr noundef nonnull @.str.2, i32 noundef %12) #2 %16 = getelementptr inbounds i8, ptr %1, i64 8 %17 = load i32, ptr %16, align 8, !tbaa !13 %18 = icmp eq i32 %17, 0 %19 = zext i1 %18 to i32 %20 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %19, ptr noundef nonnull @.str.3, i32 noundef %17) #2 %21 = getelementptr inbounds i8, ptr %1, i64 12 %22 = load i32, ptr %21, align 4, !tbaa !14 %23 = icmp eq i32 %22, 0 %24 = zext i1 %23 to i32 %25 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %24, ptr noundef nonnull @.str.4, i32 noundef %22) #2 %26 = getelementptr inbounds i8, ptr %1, i64 16 %27 = load ptr, ptr %26, align 8, !tbaa !15 %28 = icmp ne ptr %27, null %29 = zext i1 %28 to i32 %30 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %29, ptr noundef nonnull @.str.5) #2 %31 = load ptr, ptr %26, align 8, !tbaa !15 %32 = icmp eq ptr %31, null br i1 %32, label %56, label %33 33: ; preds = %5 %34 = load i32, ptr %31, align 4, !tbaa !16 %35 = icmp eq i32 %34, 0 %36 = zext i1 %35 to i32 %37 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %36, ptr noundef nonnull @.str.6, i32 noundef %34) #2 %38 = load ptr, ptr %26, align 8, !tbaa !15 %39 = getelementptr inbounds i8, ptr %38, i64 4 %40 = load i32, ptr %39, align 4, !tbaa !18 %41 = icmp eq i32 %40, 0 %42 = zext i1 %41 to i32 %43 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %42, ptr noundef nonnull @.str.7, i32 noundef %40) #2 %44 = load ptr, ptr %26, align 8, !tbaa !15 %45 = getelementptr inbounds i8, ptr %44, i64 8 %46 = load i32, ptr %45, align 4, !tbaa !19 %47 = icmp eq i32 %46, 0 %48 = zext i1 %47 to i32 %49 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %48, ptr noundef nonnull @.str.8, i32 noundef %46) #2 %50 = load ptr, ptr %26, align 8, !tbaa !15 %51 = getelementptr inbounds i8, ptr %50, i64 12 %52 = load i32, ptr %51, align 4, !tbaa !20 %53 = icmp eq i32 %52, 0 %54 = zext i1 %53 to i32 %55 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %54, ptr noundef nonnull @.str.9, i32 noundef %52) #2 br label %56 56: ; preds = %33, %5 %57 = tail call i32 @EngReleaseSemaphore(ptr noundef nonnull %1) #2 %58 = tail call i32 @EngDeleteSemaphore(ptr noundef nonnull %1) #2 br label %59 59: ; preds = %0, %56 ret void } declare ptr @EngCreateSemaphore(...) local_unnamed_addr #1 declare i32 @ok(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @EngAcquireSemaphore(ptr noundef) local_unnamed_addr #1 declare i32 @EngReleaseSemaphore(ptr noundef) local_unnamed_addr #1 declare i32 @EngDeleteSemaphore(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, i64 4, !8, i64 8, !8, i64 12, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 4} !13 = !{!7, !8, i64 8} !14 = !{!7, !8, i64 12} !15 = !{!7, !11, i64 16} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12} !18 = !{!17, !8, i64 4} !19 = !{!17, !8, i64 8} !20 = !{!17, !8, i64 12}
reactos_modules_rostests_apitests_gdi32_extr_EngAcquireSemaphore.c_Test_EngAcquireSemaphore
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/smbfs/extr_dir.c_smb_rename.c' source_filename = "AnghaBench/fastsocket/kernel/fs/smbfs/extr_dir.c_smb_rename.c" target datalayout = "e-m:e-p270:32:32-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 [24 x i8] c"unlink %s/%s, error=%d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @smb_rename], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @smb_rename(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = tail call i32 (...) @lock_kernel() #2 %6 = load i64, ptr %1, align 8, !tbaa !5 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %4 %9 = tail call i32 @smb_close(i64 noundef %6) #2 br label %10 10: ; preds = %8, %4 %11 = load i64, ptr %3, align 8, !tbaa !5 %12 = icmp eq i64 %11, 0 br i1 %12, label %22, label %13 13: ; preds = %10 %14 = tail call i32 @smb_close(i64 noundef %11) #2 %15 = tail call i32 @smb_proc_unlink(ptr noundef nonnull %3) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %13 %18 = tail call i32 @DENTRY_PATH(ptr noundef nonnull %3) #2 %19 = tail call i32 @VERBOSE(ptr noundef nonnull @.str, i32 noundef %18, i32 noundef %15) #2 br label %30 20: ; preds = %13 %21 = tail call i32 @d_delete(ptr noundef nonnull %3) #2 br label %22 22: ; preds = %20, %10 %23 = tail call i32 @smb_invalid_dir_cache(ptr noundef %0) #2 %24 = tail call i32 @smb_invalid_dir_cache(ptr noundef %2) #2 %25 = tail call i32 @smb_proc_mv(ptr noundef nonnull %1, ptr noundef nonnull %3) #2 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %22 %28 = tail call i32 @smb_renew_times(ptr noundef nonnull %1) #2 %29 = tail call i32 @smb_renew_times(ptr noundef nonnull %3) #2 br label %30 30: ; preds = %22, %27, %17 %31 = phi i32 [ %15, %17 ], [ %25, %22 ], [ 0, %27 ] %32 = tail call i32 (...) @unlock_kernel() #2 ret i32 %31 } declare i32 @lock_kernel(...) local_unnamed_addr #1 declare i32 @smb_close(i64 noundef) local_unnamed_addr #1 declare i32 @smb_proc_unlink(ptr noundef) local_unnamed_addr #1 declare i32 @VERBOSE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DENTRY_PATH(ptr noundef) local_unnamed_addr #1 declare i32 @d_delete(ptr noundef) local_unnamed_addr #1 declare i32 @smb_invalid_dir_cache(ptr noundef) local_unnamed_addr #1 declare i32 @smb_proc_mv(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @smb_renew_times(ptr noundef) local_unnamed_addr #1 declare i32 @unlock_kernel(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"dentry", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/smbfs/extr_dir.c_smb_rename.c' source_filename = "AnghaBench/fastsocket/kernel/fs/smbfs/extr_dir.c_smb_rename.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 [24 x i8] c"unlink %s/%s, error=%d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @smb_rename], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @smb_rename(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = tail call i32 @lock_kernel() #2 %6 = load i64, ptr %1, align 8, !tbaa !6 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %4 %9 = tail call i32 @smb_close(i64 noundef %6) #2 br label %10 10: ; preds = %8, %4 %11 = load i64, ptr %3, align 8, !tbaa !6 %12 = icmp eq i64 %11, 0 br i1 %12, label %22, label %13 13: ; preds = %10 %14 = tail call i32 @smb_close(i64 noundef %11) #2 %15 = tail call i32 @smb_proc_unlink(ptr noundef nonnull %3) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %13 %18 = tail call i32 @DENTRY_PATH(ptr noundef nonnull %3) #2 %19 = tail call i32 @VERBOSE(ptr noundef nonnull @.str, i32 noundef %18, i32 noundef %15) #2 br label %30 20: ; preds = %13 %21 = tail call i32 @d_delete(ptr noundef nonnull %3) #2 br label %22 22: ; preds = %20, %10 %23 = tail call i32 @smb_invalid_dir_cache(ptr noundef %0) #2 %24 = tail call i32 @smb_invalid_dir_cache(ptr noundef %2) #2 %25 = tail call i32 @smb_proc_mv(ptr noundef nonnull %1, ptr noundef nonnull %3) #2 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %22 %28 = tail call i32 @smb_renew_times(ptr noundef nonnull %1) #2 %29 = tail call i32 @smb_renew_times(ptr noundef nonnull %3) #2 br label %30 30: ; preds = %22, %27, %17 %31 = phi i32 [ %15, %17 ], [ %25, %22 ], [ 0, %27 ] %32 = tail call i32 @unlock_kernel() #2 ret i32 %31 } declare i32 @lock_kernel(...) local_unnamed_addr #1 declare i32 @smb_close(i64 noundef) local_unnamed_addr #1 declare i32 @smb_proc_unlink(ptr noundef) local_unnamed_addr #1 declare i32 @VERBOSE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DENTRY_PATH(ptr noundef) local_unnamed_addr #1 declare i32 @d_delete(ptr noundef) local_unnamed_addr #1 declare i32 @smb_invalid_dir_cache(ptr noundef) local_unnamed_addr #1 declare i32 @smb_proc_mv(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @smb_renew_times(ptr noundef) local_unnamed_addr #1 declare i32 @unlock_kernel(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"dentry", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_fs_smbfs_extr_dir.c_smb_rename
; ModuleID = 'AnghaBench/nginx-rtmp-module/hls/extr_ngx_rtmp_hls_module.c_ngx_rtmp_hls_close_fragment.c' source_filename = "AnghaBench/nginx-rtmp-module/hls/extr_ngx_rtmp_hls_module.c_ngx_rtmp_hls_close_fragment.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_10__ = type { %struct.TYPE_9__* } %struct.TYPE_9__ = type { i32 } %struct.TYPE_11__ = type { i64, i32, i32 } @ngx_rtmp_hls_module = dso_local local_unnamed_addr global i32 0, align 4 @NGX_OK = dso_local local_unnamed_addr global i32 0, align 4 @NGX_LOG_DEBUG_RTMP = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"hls: close fragment n=%uL\00", align 1 @llvm.compiler.used = appending global [1 x i8*] [i8* bitcast (i32 (%struct.TYPE_10__*)* @ngx_rtmp_hls_close_fragment to i8*)], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ngx_rtmp_hls_close_fragment(%struct.TYPE_10__* noundef %0) #0 { %2 = load i32, i32* @ngx_rtmp_hls_module, align 4, !tbaa !5 %3 = tail call %struct.TYPE_11__* @ngx_rtmp_get_module_ctx(%struct.TYPE_10__* noundef %0, i32 noundef %2) #2 %4 = icmp eq %struct.TYPE_11__* %3, null br i1 %4, label %22, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.TYPE_11__, %struct.TYPE_11__* %3, i64 0, i32 0 %7 = load i64, i64* %6, align 8, !tbaa !9 %8 = icmp eq i64 %7, 0 br i1 %8, label %22, label %9 9: ; preds = %5 %10 = load i32, i32* @NGX_LOG_DEBUG_RTMP, align 4, !tbaa !5 %11 = getelementptr inbounds %struct.TYPE_10__, %struct.TYPE_10__* %0, i64 0, i32 0 %12 = load %struct.TYPE_9__*, %struct.TYPE_9__** %11, align 8, !tbaa !12 %13 = getelementptr inbounds %struct.TYPE_9__, %struct.TYPE_9__* %12, i64 0, i32 0 %14 = load i32, i32* %13, align 4, !tbaa !15 %15 = getelementptr inbounds %struct.TYPE_11__, %struct.TYPE_11__* %3, i64 0, i32 2 %16 = load i32, i32* %15, align 4, !tbaa !17 %17 = tail call i32 @ngx_log_debug1(i32 noundef %10, i32 noundef %14, i32 noundef 0, i8* noundef getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0), i32 noundef %16) #2 %18 = getelementptr inbounds %struct.TYPE_11__, %struct.TYPE_11__* %3, i64 0, i32 1 %19 = tail call i32 @ngx_rtmp_mpegts_close_file(i32* noundef nonnull %18) #2 store i64 0, i64* %6, align 8, !tbaa !9 %20 = tail call i32 @ngx_rtmp_hls_next_frag(%struct.TYPE_10__* noundef %0) #2 %21 = tail call i32 @ngx_rtmp_hls_write_playlist(%struct.TYPE_10__* noundef %0) #2 br label %22 22: ; preds = %1, %5, %9 %23 = load i32, i32* @NGX_OK, align 4, !tbaa !5 ret i32 %23 } declare %struct.TYPE_11__* @ngx_rtmp_get_module_ctx(%struct.TYPE_10__* noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ngx_log_debug1(i32 noundef, i32 noundef, i32 noundef, i8* noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ngx_rtmp_mpegts_close_file(i32* noundef) local_unnamed_addr #1 declare i32 @ngx_rtmp_hls_next_frag(%struct.TYPE_10__* noundef) local_unnamed_addr #1 declare i32 @ngx_rtmp_hls_write_playlist(%struct.TYPE_10__* noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 7, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"} !5 = !{!6, !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_11__", !11, i64 0, !6, i64 8, !6, i64 12} !11 = !{!"long", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_10__", !14, i64 0} !14 = !{!"any pointer", !7, i64 0} !15 = !{!16, !6, i64 0} !16 = !{!"TYPE_9__", !6, i64 0} !17 = !{!10, !6, i64 12}
; ModuleID = 'AnghaBench/nginx-rtmp-module/hls/extr_ngx_rtmp_hls_module.c_ngx_rtmp_hls_close_fragment.c' source_filename = "AnghaBench/nginx-rtmp-module/hls/extr_ngx_rtmp_hls_module.c_ngx_rtmp_hls_close_fragment.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ngx_rtmp_hls_module = common local_unnamed_addr global i32 0, align 4 @NGX_OK = common local_unnamed_addr global i32 0, align 4 @NGX_LOG_DEBUG_RTMP = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"hls: close fragment n=%uL\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ngx_rtmp_hls_close_fragment], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ngx_rtmp_hls_close_fragment(ptr noundef %0) #0 { %2 = load i32, ptr @ngx_rtmp_hls_module, align 4, !tbaa !6 %3 = tail call ptr @ngx_rtmp_get_module_ctx(ptr noundef %0, i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %19, label %5 5: ; preds = %1 %6 = load i64, ptr %3, align 8, !tbaa !10 %7 = icmp eq i64 %6, 0 br i1 %7, label %19, label %8 8: ; preds = %5 %9 = load i32, ptr @NGX_LOG_DEBUG_RTMP, align 4, !tbaa !6 %10 = load ptr, ptr %0, align 8, !tbaa !13 %11 = load i32, ptr %10, align 4, !tbaa !16 %12 = getelementptr inbounds i8, ptr %3, i64 12 %13 = load i32, ptr %12, align 4, !tbaa !18 %14 = tail call i32 @ngx_log_debug1(i32 noundef %9, i32 noundef %11, i32 noundef 0, ptr noundef nonnull @.str, i32 noundef %13) #2 %15 = getelementptr inbounds i8, ptr %3, i64 8 %16 = tail call i32 @ngx_rtmp_mpegts_close_file(ptr noundef nonnull %15) #2 store i64 0, ptr %3, align 8, !tbaa !10 %17 = tail call i32 @ngx_rtmp_hls_next_frag(ptr noundef nonnull %0) #2 %18 = tail call i32 @ngx_rtmp_hls_write_playlist(ptr noundef nonnull %0) #2 br label %19 19: ; preds = %1, %5, %8 %20 = load i32, ptr @NGX_OK, align 4, !tbaa !6 ret i32 %20 } declare ptr @ngx_rtmp_get_module_ctx(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ngx_log_debug1(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ngx_rtmp_mpegts_close_file(ptr noundef) local_unnamed_addr #1 declare i32 @ngx_rtmp_hls_next_frag(ptr noundef) local_unnamed_addr #1 declare i32 @ngx_rtmp_hls_write_playlist(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_11__", !12, i64 0, !7, i64 8, !7, i64 12} !12 = !{!"long", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_10__", !15, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_9__", !7, i64 0} !18 = !{!11, !7, i64 12}
nginx-rtmp-module_hls_extr_ngx_rtmp_hls_module.c_ngx_rtmp_hls_close_fragment
; ModuleID = 'AnghaBench/mpv/video/extr_csputils.c_mp_chroma_location_to_av.c' source_filename = "AnghaBench/mpv/video/extr_csputils.c_mp_chroma_location_to_av.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AVCHROMA_LOC_LEFT = dso_local local_unnamed_addr global i32 0, align 4 @AVCHROMA_LOC_CENTER = dso_local local_unnamed_addr global i32 0, align 4 @AVCHROMA_LOC_UNSPECIFIED = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define dso_local i32 @mp_chroma_location_to_av(i32 noundef %0) local_unnamed_addr #0 { %2 = icmp eq i32 %0, 129 %3 = icmp eq i32 %0, 128 %4 = load i32, ptr @AVCHROMA_LOC_LEFT, align 4 %5 = load i32, ptr @AVCHROMA_LOC_CENTER, align 4 %6 = load i32, ptr @AVCHROMA_LOC_UNSPECIFIED, align 4 %7 = select i1 %2, i32 %5, i32 %6 %8 = select i1 %3, i32 %4, i32 %7 ret i32 %8 } 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)"}
; ModuleID = 'AnghaBench/mpv/video/extr_csputils.c_mp_chroma_location_to_av.c' source_filename = "AnghaBench/mpv/video/extr_csputils.c_mp_chroma_location_to_av.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AVCHROMA_LOC_LEFT = common local_unnamed_addr global i32 0, align 4 @AVCHROMA_LOC_CENTER = common local_unnamed_addr global i32 0, align 4 @AVCHROMA_LOC_UNSPECIFIED = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define i32 @mp_chroma_location_to_av(i32 noundef %0) local_unnamed_addr #0 { %2 = icmp eq i32 %0, 129 %3 = icmp eq i32 %0, 128 %4 = load i32, ptr @AVCHROMA_LOC_LEFT, align 4 %5 = load i32, ptr @AVCHROMA_LOC_CENTER, align 4 %6 = load i32, ptr @AVCHROMA_LOC_UNSPECIFIED, align 4 %7 = select i1 %2, i32 %5, i32 %6 %8 = select i1 %3, i32 %4, i32 %7 ret i32 %8 } 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)"}
mpv_video_extr_csputils.c_mp_chroma_location_to_av